* {
	margin: 0;
	padding: 0;
}
body {
	background: #141414;
	color: #F0F0F0;
	font-family: 'Inter', sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 16px;
}
a {
	text-decoration: none;
	color: #F0F0F0;
}
header {
	position: sticky;
	top: 0;
	left: 0;
	width: 100%;
	height: 80px;
	background: rgba(20, 20, 20, 0.8);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	padding: 0 40px;
	box-sizing: border-box;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	z-index: 999;
}

div.mod_tracksranking table {
  
}

div.mod_tracksranking table th {
  font-weight:500!important;
  color:#888;
  text-transform:uppercase;
  font-size:0.75em;
  border:0!important;
}
div.mod_tracksranking table td {
	padding: 12px;
}
div.mod_tracksranking table tr:nth-child(odd) td {
	background:#303030;
}
div.mod_tracksranking table tr td:first-child {
	border-radius: 8px 0 0 8px;
  padding-right:0!important;
}
div.mod_tracksranking table tr td:last-child {
	border-radius: 0 8px 8px 0;
}

div.mod_tracksranking table .points {
  text-align:right;
}
div.mod_tracksranking table .rank {
  color:#888;
  font-weight:500;
  text-align:right;
}

div.mod_tracksranking .team-name {
  color:#888;
}



div.mod_tracksranking div.project-name {
  text-align:left!important;
  font-weight:500!important;
  font-size:1.25em!important;
}

.rightsidecol {
  display:flex;
  flex-direction:column;
  gap:40px;
}

footer {
  padding: 2.5em;
  text-align:center;
  color:#888;
}

ul.latestnews {
  list-style-type:none;
}

ul.latestnews li {
  margin-bottom:1.5em;
}

ul.latestnews li span.latest-date {
	width:100;
  display:block;
  font-size:0.75em;
  color:#888;
  margin-bottom:0.5em;
}

ul.latestnews li span.latest-title {
	font-weight:500;
  font-size:1em;
}

ul.latestnews li a {
  padding: 1.5em;
  border-radius:1em;
	box-sizing:border-box;
  width:100%;
  display:block;
	border: 1px solid rgba(255, 255, 255, 0.1);
	transition: cubic-bezier(0.645, 0.045, 0.355, 1.000) all .15s;
}
ul.latestnews li a:hover {
	background: #404040;
	color:#f0f0f0;
	transform: scale(0.99);
}

.morearticles {
	grid-column-start: 3;
	grid-column-end: 4;
  grid-row-start:1;
}
.morearticles h3 {
  	font-size: 1em;
	color: #888888;
	display: inline-block;
	margin-bottom: 2.5em;
  font-weight:400;
}
.articleblock {
	grid-column-start: 1;
	grid-column-end: 3;
  grid-row-start:1;
}
.articleblock img {
  width: 100%;
  border-radius:0.5em;
}
.articleblock article {
  max-width:720px;
	display:flex;
  flex-direction:column;
  gap:1.5em;
  margin:0 auto;
  padding:2.5em 0;
}

.articleblock article h1 {
  font-size:2.5em;
  font-weight:500;
}
.articleblock article h3 {
  font-weight:500;
  font-size:1.5em;
  margin-top:1em;
}
.articleblock article p {
  font-size:1em;
  line-height:1.75;
}

.articleblock article p a {
  text-decoration: underline;
}
.articleblock article p a:hover {
	opacity:0.5;
}

.citysubpage .newsflash {
  grid-column-start: 2;
  grid-column-end: 4;
  grid-row-start:2;
}

.city-events {
  grid-column-start: 1;
  grid-column-end: 2;
  grid-row-start:2;
}

.infoblock p {
  margin-bottom:1em;
}


ul.events-calendar {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  list-style-type: none;
  display:flex;
  flex-direction:column;
  gap:2em;
}
ul.events-calendar li a {
  display: flex;
  align-items:center;
  gap: 2em;
  padding: 2em;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-sizing: border-box;
  border-radius: 1em;
  transition: cubic-bezier(0.645, 0.045, 0.355, 1.000) all .15s;
  overflow:hidden;
  position:relative;
}
ul.events-calendar li a:hover {
  border: 1px solid rgba(255, 255, 255, 0.3);
	transform: scale(0.99);
}

ul.events-calendar li a:after {
	opacity: 0;
	content: 'Więcej informacji ->';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
  text-align:right;
	justify-content: center;
	border-radius: 1em;
	background: rgba(30, 30, 30, .9);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	transition: cubic-bezier(0.645, 0.045, 0.355, 1.000) all .15s;
}
ul.events-calendar li a:hover:after {
	opacity: 1;
}


ul.events-calendar li div.events-calendar-date span {
  font-size: 1em;
  display: inline;
  padding: 0.5em 1em;
  border-radius: 0.5em;
  background: #303030;
  height:100%;
}
ul.events-calendar li div.events-calendar-date {
  flex: 1 1 0;
}
ul.events-calendar li div > img {
  width:auto;
  align-self:flex-start;
  height:1.5em;
  margin-bottom:0.25em;
}
ul.events-calendar li div.events-calendar-content {
	display:flex;
  	flex-direction:column;
  gap:0.25em;
  flex: 3 1 0;
}
span.events-calendar-title {
  font-size: 1.5em;
  font-weight: 500;
 
}
span.events-calendar-place {
  color: #888888;
}




h1 {
	font-weight: 500;
	font-size: 3em;
}
h1.componentheading {
	font-weight: 500;
	font-size: 2em;
    margin-bottom: 1em;
}
span.hero-year {
	color: #464646;
	letter-spacing: 0.5em;
}
figure.hero-vertical {
	width: 1px;
	display: block;
	background: #464646;
	height: auto;
	margin: 2em 0 1em 0;
	flex-grow: 1;
	min-height: 1em;
}
a.button {
	font-size: 1em;
	line-height: 1em;
	padding: 1em 1.5em;
	border-radius: 1em;
	display: inline-block;
	box-sizing: border-box;
	border: 1px solid rgba(255, 255, 255, 0.1);
	transition: cubic-bezier(0.645, 0.045, 0.355, 1.000) all .15s;
}
a.button:hover {
	background: #404040;
	transform: scale(0.99);
	/*transform: translateY(-2px);*/
}
a.button:active {
	transform: scale(0.97);
	opacity: .7;
}

a.button.wide {
	width: 100%!important;
	text-align: center;
}
.main-nav ul {
	list-style: none;
}
.main-nav ul li {
	display: inline;
	margin-left: 0.5em;
}
.main-nav a {
	font-size: 1em;
	padding: .5em 1em;
	border-radius: .5em;
	transition: cubic-bezier(0.645, 0.045, 0.355, 1.000) all .15s;
}
.main-nav a:hover {
	background: #1E1E1E;
}
.grid-container {
	padding: 0 2.5em;
	display: grid;
	gap: 2.5em;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}


.roundedblock {
	background: #1E1E1E;
	border-radius: 1em;
	padding: 2.5em;
}

/* homepage */

.hero {
	grid-column-start: 1;
	grid-column-end: 3;
	grid-row: 1;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	align-items: flex-start;
	flex-direction: column;
}
.upcoming {
	grid-column-start: 3;
	grid-column-end: 4;
	grid-row: 1;
	height: auto;
	display: flex;
	flex-direction: column;
} 
.cities {
	grid-row: 2;
	grid-column-start: 1;
	grid-column-end: 4;
}
.newsflash {
	grid-row-start: 3;
	grid-column-start: 1;
	grid-column-end: 3;
}
.item4 {
	grid-row-start: 3;
	grid-column-start: 3;
	grid-column-end: 4;
}




.cities ul {
	list-style: none;
	display: inline-flex;
	gap: 2.5em;
	width: 100%;
}
.cities ul li {
	display: inline;
  	flex-grow: 1;
  	flex-basis: 0;
}


.cities ul li a {
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 1em;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 500;
	gap: 1em;
	padding: 2em;
	font-size: 1.25em;
	flex: 1 1 0;
	transition: cubic-bezier(0.645, 0.045, 0.355, 1.000) all .15s;
}
.cities ul li a:hover {
	background: #1E1E1E;
	transform: scale(0.99);
	/*transform: translateY(-2px);*/
}
.cities ul li a:active {
	transform: scale(0.97);
	opacity: .7;
}
.cities ul li a img {
	max-height: 2.5em;
	width: auto;
}




/* subpage - city */


.sub-hero {
	grid-column-start: 1;
	grid-column-end: 3;
	grid-row: 2;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	align-items: flex-start;
	flex-direction: column;
}


.sub-info {
	grid-column-start: 3;
	grid-column-end: 4;
	grid-row: 2;
	height: auto;
	display: flex;
	flex-direction: column;
} 
.sub-upcoming {
	grid-column-start: 1;
	grid-column-end: 2;
	grid-row-start: 3;
	height: auto;
	display: flex;
	flex-direction: column;
}
.sub-upcoming a:last-child {
	margin-bottom: 0!important;
}


.sub-cities ul {
	list-style: none;
	display: inline-flex;
	gap: 2.5em;
    padding: 0 2.5em;
	width: 100%;
  box-sizing:border-box;
  margin-bottom:2.5em;
}
.sub-cities ul li {
    flex-grow: 1;
  	flex-basis: 0;
}
.sub-cities ul li a {
	gap: .5em;
	padding: 1em;
	font-size: 1em;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 1em;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 500;
	flex: 1 1 0;
	transition: cubic-bezier(0.645, 0.045, 0.355, 1.000) all .15s;
}
.sub-cities ul li a img {
	max-height: 1.25em;
}


.sub-cities ul li a:hover {
	background: #1E1E1E;
	transform: scale(0.99);
	/*transform: translateY(-2px);*/
}
.sub-cities ul li a:active {
	transform: scale(0.97);
	opacity: .7;
}







span.block-title {
	font-size: 1em;
	color: #888888;
	display: inline-block;
	margin-bottom: 2.5em;
}

div.upcoming-logo {
	width: 100%;
	height: auto;
	/*max-height: 180px;*/
	/*aspect-ratio: 5 / 2;*/
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 16px;
	background: #f0f0f0;
	overflow: hidden;
	padding: 16px;
	box-sizing: border-box;
	margin-bottom: 24px;
}
div.upcoming-logo > img {
	width: 100%;
	height: auto;
}
div.upcoming-date {
	width: 88px;
	height: 88px;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	background: #303030;
	border-radius: 16px;
	flex-shrink: 0;
	transition: cubic-bezier(0.645, 0.045, 0.355, 1.000) all .15s;
}
span.upcoming-day {
	font-size: 2.5em;
	font-weight: 500;
}
span.upcoming-month {
	font-size: 0.75em;
	font-weight: 500;
	color: #909090;
	text-transform: uppercase;
	transition: cubic-bezier(0.645, 0.045, 0.355, 1.000) all .15s;
}
div.upcoming-title {
	display: flex;
	align-items: flex-start;
	flex-direction: column;
	/*flex-grow: 1;*/
	gap: 4px;
	min-width: 0;
	width: 100%;
}
span.upcoming-name {
	flex: 1;
	font-size: 1.5em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	width: inherit;
}
span.upcoming-city {
	font-size: 1em;
	color: #888888;
	display: inline;
}

a.link {

}


a.upcoming-event {
	display: flex;
	align-items: center;
	gap: 16px;
	/*margin: 24px 0;*/
	transition: cubic-bezier(0.645, 0.045, 0.355, 1.000) all .15s;
	margin-bottom: 24px;
	position: relative;
	border-radius: 16px;
	overflow: hidden;
}


/*

a.upcoming-event:after {
	content: '';
	width: 16px;
	height: 16px;
	display: inline-block;
	transform: translate(-10px, 5px);
	background: url(link-arrow-large.svg);
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0;
	transition: cubic-bezier(0.645, 0.045, 0.355, 1.000) all .15s;
}

a.upcoming-event:hover:after {
	transform: translate(0px, -5px);
	opacity: 1;
}

a.upcoming-event:hover .upcoming-date {
	background: #FF0000;
}

a.upcoming-event:hover .upcoming-month {
	color: #FFF;
}

*/

table.league-info tr td {
	padding: 16px 0;
	vertical-align: text-top;
	border-bottom: 1px solid #303030;
}
table.league-info tr td:first-child {
	padding-right: 24px;
	color: #888888;
}
table.league-info tr:last-child td {
	border-bottom: none;
}

table.league-info a {
	padding-bottom: 2px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.3);
	transition: cubic-bezier(0.645, 0.045, 0.355, 1.000) all .15s;
}
table.league-info a:hover {
	border-bottom: 1px solid rgba(255, 255, 255, 1);
}

.buttons-wrapper {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 2em;
}

a.upcoming-event:after {
	opacity: 0;
	content: 'Więcej informacji ->';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 1em;
	background: rgba(30, 30, 30, .9);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	transition: cubic-bezier(0.645, 0.045, 0.355, 1.000) all .15s;
}
a.upcoming-event:hover:after {
	opacity: 1;
}
a.upcoming-event:hover {
	transform: scale(0.99);
}
a.upcoming-event:active {
	transform: scale(0.97);
	opacity: .7;
}


.item2 .button {
	margin-top: auto;
}

span.upcoming-minilogo > img {

}

.ext {
	opacity: 0.5;
	transform: translate(3px, -3px);
	transition: cubic-bezier(0.645, 0.045, 0.355, 1.000) all .15s;
}
a:hover .ext {
	opacity: 1;
	transform: translate(6px, -6px);
}

span.caption {
	color: #888888;
	font-size: 1em;
	margin-top: .5em;
}
span.caption img {
	vertical-align: -2px;
}
span.caption a {
	color: #888;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	transition: cubic-bezier(0.645, 0.045, 0.355, 1.000) all .15s;
}
span.caption a:hover {
	color: #fff;
	border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

div.league-logo {
	width: 10em;
	height: 10em;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border-radius: 1em;
	padding: 2em;
	box-sizing: border-box;
	flex-shrink: 0;
}
div.league-logo > img {
	width: 100%;
	height: auto;
	object-fit: cover!;
}

div.grow {
	flex-grow: 1;
}


.content p {
	line-height: 150%;
	margin-bottom: 1em;
}

/*
.news {
	display: flex;
	gap: 2.5em;
	flex-wrap: wrap;
}

a.news-article {
	aspect-ratio: 16 / 9;
	border-radius: 1.5em;
	overflow: hidden;
	background: #000;
	display: flex;
	flex-direction: column;
	width: calc(50% - 1.25em);
	height: 240px;
	padding: 2.5em;
	box-sizing: border-box;
}
*/

.newsflash {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: repeat(2, min-content);
	gap: 2.5em;
}

a.news-article {
	aspect-ratio: 16 / 9;
	width: 100%;
	padding: 2.5em;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	border-radius: 1.5em;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	overflow: hidden;
	position: relative;
	/*border: 1px solid rgba(255, 255, 255, 0);*/
	transition: cubic-bezier(0.645, 0.045, 0.355, 1.000) all .15s;
}
a.news-article:hover {
	transform: scale(0.99);
	/*border: 1px solid rgba(255, 255, 255, 0.2);*/
}

.news-article-bg {
	opacity: 0.1;
	position: absolute;
	z-index: 1;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
  object-fit:cover;
	transition: cubic-bezier(0.645, 0.045, 0.355, 1.000) all .15s;
}

a.news-article:hover .news-article-bg {
	opacity: 0.05;
	/*filter: blur(1em);*/
}

a.news-article span.news-article-link {
  height:0px;
  color:#888;
  overflow:hidden;
  opacity:0;
  padding-top:1em;
	transition: cubic-bezier(0.645, 0.045, 0.355, 1.000) all .15s;
}
a.news-article:hover span.news-article-link {
  height:2em;
  opacity:1;
}

span.news-article-caption {
	font-size: 1em;
	font-weight: 500;
	color: #888888;
	margin-top: auto;
	display: inline-block;
	margin-bottom: 1em;
	z-index: 2;
}
span.news-article-title {
	display: inline-block;
	font-size: 1.5em;
	color: #fff;
	z-index: 2;
}



.sub-news {
	grid-column-start: 2;
	grid-column-end: 4;
	grid-row-start: 3;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: repeat(2, min-content);
	gap: 2.5em;
}


.containerwide {
  grid-column-start:1;
  grid-column-end:4;
}



@media (max-width: 1279px) {
	.grid-container {
		display: flex;
		flex-direction: column;
		gap: 1em;
		padding: 0 1em;
	}
	.newsflash, .sub-news {
		display: flex;
		flex-direction: column;
		gap: 1em;
	}

	.cities {
		flex-direction: column;
		gap: 1em;
	}
	.sub-cities {
		overflow: auto;
		gap: 0.5em;
	}
	.sub-cities a {
		width: auto;
	}

	h1 {
		font-size: 2em;
	}
	.roundedblock {
		padding: 1.5em 1em;
	}
	a.news-article {
		padding: 1em;
	}
}








