/*
Theme Name:   FK Žalgiris Child
Theme URI:    https://fkzalgiris.lt/
Description:  FK Žalgiris vaikinė tema. Perima viską iš pagrindinės „FK Žalgiris“ temos ir prideda firminį standartinio puslapio dizainą (page.php). Senas puslapio vaizdas pasiekiamas per šabloną „Klasikinis (senas dizainas)“.
Author:       FK Žalgiris
Template:     fkzalgiris
Version:      1.0.0
Requires PHP: 7.4
Text Domain:  fkzalgiris-child
*/

/* ==========================================================================
   Bendri visos svetainės stiliai (kraunami visur).
   Firminio puslapio, naujienos straipsnio stiliai – assets/page.css.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Naujienų pavadinimai – Barlow Condensed (ne Tomorrow)
   -------------------------------------------------------------------------- */
body .slider-news-front .slider-news-front-content-wrapper .swiper-wrapper .swiper-slide .content-wrapper .title {
	font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
	font-weight: 700;
	font-size: clamp(34px, 3.8vw, 58px);
	line-height: 1.02;
	letter-spacing: 0;
}
body .post-box .title {
	font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
	font-weight: 700;
	letter-spacing: 0;
}

/* --------------------------------------------------------------------------
   2. Firminė antraštė senesniems šablonams
      (Naujienos, Stadionai, Logotipas, Nuotraukų albumai, Apie) – body.fkzt-on
      Tamsiai žalia viršuje pereina į juostas, kaip partnerių sekcijoje.
   -------------------------------------------------------------------------- */
body.fkzt-on .dark-knife { display: none; }
body.fkzt-on .main-content { display: flow-root; background: #09140e; overflow: clip; } /* flow-root – kad paskutinio bloko paraštė neišlįstų pilka juosta prieš partnerius */
body.fkzt-on .main-content::before,
body.fkzt-on .main-content::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	z-index: 0;
	height: 560px;
	pointer-events: none;
}
body.fkzt-on .main-content::before {
	background:
		radial-gradient(900px 460px at 28% 0%, rgba(30, 170, 90, .42), rgba(30, 170, 90, 0) 70%),
		linear-gradient(180deg, #0b6034 0%, #0a4526 26%, #0b2a19 56%, #09140e 100%);
}
body.fkzt-on .main-content::after {
	background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .03) 0 80px, rgba(255, 255, 255, 0) 80px 160px);
	-webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .35) 28%, #000 58%, transparent 100%);
	mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .35) 28%, #000 58%, transparent 100%);
}
body.fkzt-on .main-content > * { position: relative; z-index: 1; }

body.fkzt-on .main-content > .container > h1,
body.fkzt-on .logo-container > h1,
body.fkzt-on .photosets > h1,
body.fkzt-on .photosets > .container > h1 {
	margin: 0 0 clamp(32px, 4vw, 52px) !important;
	padding-top: clamp(56px, 7vw, 96px) !important;
	font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
	font-weight: 700;
	font-size: clamp(42px, 6.2vw, 92px);
	line-height: .95;
	letter-spacing: 0;
	text-transform: uppercase;
	color: #fff;
}
body.fkzt-on .main-content > .container > h1::after,
body.fkzt-on .logo-container > h1::after,
body.fkzt-on .photosets > h1::after,
body.fkzt-on .photosets > .container > h1::after {
	content: "";
	display: block;
	width: 64px;
	height: 4px;
	margin-top: 22px;
	border-radius: 2px;
	background: #43d17f;
}
@media (min-width: 992px) {
	body.fkzt-on .main-content-wrapper { margin-top: 0; }
	body.fkzt-on .main-content::before,
	body.fkzt-on .main-content::after { height: 700px; }
	body.fkzt-on .main-content > .container > h1,
	body.fkzt-on .logo-container > h1,
	body.fkzt-on .photosets > h1,
body.fkzt-on .photosets > .container > h1 { padding-top: calc(142px + 96px) !important; }
}

/* Bendri elementai */
body.fkzt-on .post-wrapper,
body.fkzt-on .post-content { background: none; }
body.fkzt-on .bg-dark-special { display: none; }
body.fkzt-on .fkzt-h,
body.page-template-logo .post-content > h3 {
	position: relative;
	margin: clamp(44px, 5vw, 72px) 0 24px !important;
	padding-top: 18px;
	font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
	font-weight: 700;
	font-size: clamp(28px, 3vw, 40px);
	line-height: 1;
	text-transform: uppercase;
	color: #fff;
}
body.page-template-logo .post-content > h3::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 40px;
	height: 4px;
	border-radius: 2px;
	background: #43d17f;
}

/* --------------------------------------------------------------------------
   3. Naujienos (/naujienos/)
   -------------------------------------------------------------------------- */
body.blog .post-box,
body.fkzc-list-on .post-box {
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, .08) !important;
	border-radius: 16px !important;
	background: #101d16 !important;
	transition: transform .25s, border-color .25s, box-shadow .25s;
}
body.blog .post-box:hover,
body.fkzc-list-on .post-box:hover {
	transform: translateY(-4px);
	border-color: rgba(67, 209, 127, .45) !important;
	box-shadow: 0 20px 40px rgba(0, 0, 0, .35);
}
body.blog .post-box img,
body.fkzc-list-on .post-box img { transition: transform .5s; }
body.blog .post-box:hover img,
body.fkzc-list-on .post-box:hover img { transform: scale(1.04); }
body.blog .post-box a:hover,
body.fkzc-list-on .post-box a:hover { text-decoration: none; }
body.blog .load-more-wrapper .btn,
body.page-template-schedule .load-more-wrapper .btn,
body.page-template-results .load-more-wrapper .btn {
	border-radius: 999px !important;
	padding: 14px 34px !important;
	transition: background .2s, color .2s;
}
body.blog .load-more-wrapper .btn:hover,
body.page-template-schedule .load-more-wrapper .btn:hover,
body.page-template-results .load-more-wrapper .btn:hover { background: #43d17f !important; border-color: #43d17f !important; color: #06130b !important; }

/* --------------------------------------------------------------------------
   4. Stadionai
   -------------------------------------------------------------------------- */
body.page-template-stadiums .stadium {
	overflow: hidden;
	margin-bottom: clamp(28px, 4vw, 48px) !important;
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 20px;
	background: linear-gradient(180deg, #112019, #0d1912);
}
body.page-template-stadiums .stadium .photo-wrapper { position: relative; }
body.page-template-stadiums .stadium .photo-wrapper img {
	display: block;
	width: 100%;
	aspect-ratio: 21 / 9;
	object-fit: cover;
}
body.page-template-stadiums .stadium .photo-wrapper::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(9, 20, 14, 0) 40%, rgba(9, 20, 14, .92) 100%);
	pointer-events: none;
}
body.page-template-stadiums .stadium .stadium-title {
	position: absolute;
	left: clamp(20px, 3vw, 40px);
	right: clamp(20px, 3vw, 40px);
	bottom: clamp(14px, 2.2vw, 30px);
	z-index: 2;
	width: auto;
	margin: 0;
	padding: 0 !important;
	font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
	font-weight: 700;
	font-size: clamp(28px, 3.6vw, 54px);
	line-height: 1;
	text-transform: uppercase;
	color: #fff;
	background: none !important;
	text-shadow: 0 4px 24px rgba(0, 0, 0, .5);
}
body.page-template-stadiums .stadium .stadium-title { display: block !important; }
body.page-template-stadiums .stadium .stadium-title::before { display: none !important; }
body.page-template-stadiums .stadium .stadium-title::after {
	content: "";
	display: block;
	width: 56px;
	height: 4px;
	margin-top: 14px;
	border-radius: 2px;
	background: #43d17f;
}
body.page-template-stadiums .stadium > .row { margin: 0; padding: clamp(14px, 2.6vw, 30px); }
body.page-template-stadiums .stadium > .row > [class*="col-"] { padding: clamp(6px, 1vw, 10px); }
body.page-template-stadiums .stadium > .row > [class*="col-"] > div { padding: 0 !important; }
body.page-template-stadiums .stadium .embed-responsive {
	height: 100%;
	min-height: 260px;
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 14px;
}
body.page-template-stadiums .stadium .embed-responsive iframe { filter: invert(.9) hue-rotate(180deg) saturate(.6) brightness(.95); }
body.page-template-stadiums .stadium > .row > .col-md-5 > div {
	display: grid !important;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	align-content: center;
	width: 100%;
}
body.page-template-stadiums .stadium .my-2 {
	margin: 0 !important;
	padding: 14px 16px;
	border: 1px solid rgba(255, 255, 255, .07);
	border-radius: 12px;
	background: rgba(255, 255, 255, .03);
}
body.page-template-stadiums .stadium .my-2:first-child { grid-column: 1 / -1; }
body.fkzt-on .detail-name {
	margin: 0 0 6px !important;
	font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
	font-weight: 600;
	font-size: 13px;
	letter-spacing: .1em;
	color: #62c987 !important;
}
body.fkzt-on .detail-value { font-size: 17px; font-weight: 600; line-height: 1.4; color: #fff; }
body.fkzt-on .detail-value a { color: #8be0a7 !important; text-decoration: none; }
body.fkzt-on .detail-desc { margin-top: 6px; font-size: 14.5px; line-height: 1.6; color: rgba(236, 244, 239, .62); }

/* --------------------------------------------------------------------------
   5. Logotipas
   -------------------------------------------------------------------------- */
body.page-template-logo .logo-download,
body.page-template-logo .image-download {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 18px;
	background: linear-gradient(180deg, #112019, #0d1912);
	transition: border-color .25s, transform .25s;
}
body.page-template-logo .logo-download:hover,
body.page-template-logo .image-download:hover { transform: translateY(-3px); border-color: rgba(67, 209, 127, .4); }
body.page-template-logo .logo-download .title {
	margin: 0;
	padding: 26px 20px 0;
	font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
	font-weight: 700;
	font-size: 22px;
	letter-spacing: .02em;
	text-align: center;
	text-transform: uppercase;
	color: #fff;
}
body.page-template-logo .logo-download img {
	display: block;
	width: auto;
	max-height: 170px;
	margin: 28px auto;
}
/* Juodas logotipas – šviesiame fone, kad matytųsi */
body.page-template-logo .logos .row > :nth-child(3) .logo-download img {
	padding: 14px 22px;
	border-radius: 14px;
	background: #eef3f0;
}
body.page-template-logo .logo-files,
body.page-template-logo .image-files {
	display: flex;
	flex-grow: 0 !important;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: auto 0 0 !important;
	padding: 18px !important;
	border-top: 1px solid rgba(255, 255, 255, .07);
	background: rgba(255, 255, 255, .03) !important;
}
body.page-template-logo .logo-files .file,
body.page-template-logo .image-files .file {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 64px;
	height: 40px;
	margin: 0 !important;
	padding: 0 14px;
	border: 1px solid rgba(67, 209, 127, .45);
	border-radius: 10px;
	font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: .08em;
	text-transform: uppercase;
	text-decoration: none;
	color: #fff !important;
	background: rgba(67, 209, 127, .08) !important;
	transition: background .2s, color .2s;
}
body.page-template-logo .logo-files .file:hover,
body.page-template-logo .image-files .file:hover { color: #06130b !important; background: #43d17f !important; }
body.page-template-logo .logo-files .file span,
body.page-template-logo .image-files .file span { color: inherit; }
body.page-template-logo .color-download {
	overflow: hidden;
	padding: clamp(22px, 2.6vw, 34px) !important;
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: 18px;
}
body.page-template-logo .color-download .title { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-size: 28px; text-transform: uppercase; }
body.page-template-logo .image-download { padding: 0 !important; }
body.page-template-logo .image-download .img-wrapper {
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin: 0 !important;
	padding: 28px;
	background: #fff;
}
/* Šablone tarp mygtukų likęs atsitiktinis „>“ simbolis – paslepiamas */
body.page-template-logo .logo-download,
body.page-template-logo .logo-files,
body.page-template-logo .image-files,
body.page-template-logo .image-download .img-wrapper { font-size: 0; }
body.page-template-logo .image-download .img-wrapper img { flex: 0 1 auto; min-width: 0; max-width: 100%; height: auto; }
body.page-template-logo .logo-files .file,
body.page-template-logo .image-files .file { position: static; transform: none; }

/* --------------------------------------------------------------------------
   6. Nuotraukų albumai
   -------------------------------------------------------------------------- */
body.page-template-photosets .photoset-thumb {
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 16px;
	transition: transform .25s, border-color .25s, box-shadow .25s;
}
body.page-template-photosets .photoset-thumb:hover { transform: translateY(-4px); border-color: rgba(67, 209, 127, .45); box-shadow: 0 20px 40px rgba(0, 0, 0, .35); }
body.page-template-photosets .photoset-thumb .bg-img { transition: transform .5s; }
body.page-template-photosets .photoset-thumb:hover .bg-img { transform: scale(1.05); }
body.page-template-photosets .photoset-thumb .caption { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-size: 22px; line-height: 1.15; }
body.page-template-photosets .pagination { gap: 8px; margin: 24px 0 clamp(48px, 6vw, 88px); }
body.page-template-photosets .pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 999px;
	font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
	font-weight: 700;
	font-size: 16px;
	color: #fff;
	background: rgba(255, 255, 255, .03);
	text-decoration: none;
}
body.page-template-photosets .pagination .page-numbers.current,
body.page-template-photosets .pagination a.page-numbers:hover { border-color: #43d17f; color: #06130b; background: #43d17f; }
body.page-template-photosets .pagination .page-numbers.dots { border: 0; background: none; }

/* --------------------------------------------------------------------------
   7. Apie
   -------------------------------------------------------------------------- */
body.page-template-about .about-header {
	padding: clamp(24px, 3.4vw, 48px);
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 20px;
	background: linear-gradient(180deg, #112019, #0d1912);
}
body.page-template-about .about-subtitle {
	position: relative;
	display: block;
	margin: 0 0 clamp(18px, 2.4vw, 30px) !important;
	padding: 0 !important;
	font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
	font-weight: 700;
	font-size: clamp(26px, 2.8vw, 40px);
	line-height: 1.05;
	text-transform: uppercase;
	color: #fff;
	background: none !important;
	clip-path: none !important;
}
body.page-template-about .about-subtitle::before,
body.page-template-about .about-subtitle::after { display: none !important; }
body.page-template-about .about-details,
body.page-template-about .about-details > .row { background: none !important; }
body.page-template-about .detail-row { padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .07); }
body.page-template-about .detail-row:last-child { border-bottom: 0; }
body.page-template-about .logo-wrapper { position: relative; padding: 20px; }
body.page-template-about .logo-wrapper::before {
	content: "";
	position: absolute;
	inset: 10% 0;
	z-index: -1;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(30, 170, 90, .35), rgba(30, 170, 90, 0));
}

/* --------------------------------------------------------------------------
   8. Tvarkaraštis, Rezultatai, Turnyro lentelė – juostuotas fonas kaip „Trofėjai“
   -------------------------------------------------------------------------- */
body.page-template-schedule .dark-knife,
body.page-template-results .dark-knife,
body.page-template-standings .dark-knife { display: none; }
body.page-template-schedule .main-content,
body.page-template-results .main-content,
body.page-template-standings .main-content {
	display: flow-root;
	background-color: #09140e;
	background-image:
		linear-gradient(#1e1f1f 0, rgba(30, 31, 31, .78) 70px, rgba(30, 31, 31, .35) 160px, rgba(30, 31, 31, 0) 280px),
		radial-gradient(1100px 600px at 85% -5%, rgba(11, 122, 63, .3), rgba(0, 0, 0, 0) 60%),
		radial-gradient(800px 600px at 0% 45%, rgba(2, 76, 38, .3), rgba(0, 0, 0, 0) 60%),
		repeating-linear-gradient(90deg, rgba(255, 255, 255, .016) 0 80px, rgba(0, 0, 0, 0) 80px 160px);
}

/* --------------------------------------------------------------------------
   9. Išskleidžiami sąrašai formose – tokie patys kaip „Žaidėjai“ puslapyje
      (bootstrap-select įjungiamas functions.php 8 punkte)
   -------------------------------------------------------------------------- */
.wpcf7 .bootstrap-select { width: 100% !important; margin-bottom: 18px; }
body:not(#fkz-x):not(.wp-admin) .wpcf7-form .bootstrap-select > .dropdown-menu { min-width: 100% !important; }

/* --------------------------------------------------------------------------
   10. Varžybų blokai: tvarkaraštis, rezultatai, turnyro lentelė, rungtynių puslapis
   -------------------------------------------------------------------------- */
body.page-template-schedule,
body.page-template-results,
body.page-template-standings,
body.single-match {
	--fzm-card: repeating-linear-gradient(90deg, rgba(255, 255, 255, .018) 0 20px, rgba(0, 0, 0, 0) 20px 40px), linear-gradient(170deg, #13281c 0%, #0e1d15 50%, #0a1610 100%);
	--fzm-line: rgba(98, 201, 135, .16);
	--fzm-green: #62c987;
}

/* Rungtynių puslapio fonas – kaip „Trofėjai“ */
body.single-match .main-content {
	display: flow-root;
	background-color: #09140e;
	background-image:
		linear-gradient(#1e1f1f 0, rgba(30, 31, 31, .78) 70px, rgba(30, 31, 31, .35) 160px, rgba(30, 31, 31, 0) 280px),
		radial-gradient(1100px 600px at 85% -5%, rgba(11, 122, 63, .3), rgba(0, 0, 0, 0) 60%),
		radial-gradient(800px 600px at 0% 45%, rgba(2, 76, 38, .3), rgba(0, 0, 0, 0) 60%),
		repeating-linear-gradient(90deg, rgba(255, 255, 255, .016) 0 80px, rgba(0, 0, 0, 0) 80px 160px);
}
body.single-match .main-content .gradient-bg,
body.single-match .main-content .darkest-knife { display: none; }

/* Rungtynių kortelės (sąrašai ir rungtynių puslapio viršus) */
body.page-template-schedule .matches-wrapper .match,
body.page-template-results .matches-wrapper .match,
body.single-match .main-content .match {
	background: var(--fzm-card) !important;
	border: 1px solid var(--fzm-line);
	border-radius: 16px;
	overflow: hidden;
	transition: border-color .2s ease, box-shadow .2s ease;
}
body.page-template-schedule .matches-wrapper .match,
body.page-template-results .matches-wrapper .match { margin-bottom: 12px; }
body.page-template-schedule .matches-wrapper .match:hover,
body.page-template-results .matches-wrapper .match:hover {
	border-color: rgba(98, 201, 135, .45);
	box-shadow: 0 14px 34px rgba(0, 0, 0, .35);
}
body.page-template-schedule .matches-wrapper .match .additional-info,
body.page-template-results .matches-wrapper .match .additional-info {
	background: rgba(6, 15, 10, .94) !important;
	border-top: 1px solid var(--fzm-line);
}
body.page-template-schedule .match .additional-info .btn,
body.page-template-results .match .additional-info .btn {
	background: #0b7a3f;
	border-color: #0b7a3f;
}
body.page-template-schedule .match .additional-info .btn:hover,
body.page-template-results .match .additional-info .btn:hover { background: #0e9149; border-color: #0e9149; }
body.page-template-schedule .load-more-wrapper .btn-ash,
body.page-template-results .load-more-wrapper .btn-ash {
	background: rgba(11, 122, 63, .14);
	border: 1px solid rgba(98, 201, 135, .45);
}
body.page-template-schedule .match .result,
body.page-template-results .match .result,
body.single-match .match .result { text-shadow: 0 4px 24px rgba(0, 0, 0, .45); }

/* Rungtynių puslapis: įvarčių autoriai prisijungia prie kortelės */
body.single-match .position-relative:has(+ .container .scorers-wrapper) .match {
	border-bottom: 0;
	border-radius: 16px 16px 0 0;
}
body.single-match .scorers-wrapper {
	background: linear-gradient(180deg, #0e1d15, #0a1610) !important;
	border: 1px solid var(--fzm-line);
	border-top: 1px solid rgba(255, 255, 255, .06);
	border-radius: 0 0 16px 16px;
}
body.single-match .scorers-wrapper .row > div + div { border-color: rgba(255, 255, 255, .1) !important; }

/* Skirtukai ir jų turinys */
body.single-match .tab-wrapper .nav-tabs .nav-link { color: rgba(255, 255, 255, .55); }
body.single-match .tab-wrapper .nav-tabs .nav-link.active,
body.single-match .tab-wrapper .nav-tabs .nav-link:hover { color: #fff;  background: transparent !important; }
body.single-match .tab-wrapper .nav-tabs .nav-link.active::before { background: #0b7a3f !important; }
body.single-match .tab-wrapper > .bg-dark { background: transparent !important; }
body.single-match .tab-wrapper > .bg-dark > .container > .tab-content {
	background: #0d1b13 !important;
	border: 1px solid var(--fzm-line);
	border-radius: 16px;
	padding: 0 24px;
}
body.single-match .tab-content .liney span { background: #0d1b13 !important; }
body.single-match .tab-content .lined-top,
body.single-match .tab-content .lined-bottom { border-color: rgba(255, 255, 255, .08) !important; }

/* Statistika */
body.single-match .tab-content .progress {
	background: rgba(255, 255, 255, .06) !important;
	border-radius: 10px;
	overflow: hidden;
}
body.single-match .tab-content .progress-bar.bg-ash { background: rgba(255, 255, 255, .07) !important; }
body.single-match .tab-content .progress-bar.bg-secondary { background: linear-gradient(90deg, #024c26, #0b7a3f) !important; }

/* Sudėtys */
body.single-match .tab-content .number-box {
	border-radius: 8px;
	background: rgba(255, 255, 255, .08) !important;
}
body.single-match .our-team-home .lineup-home .number-box,
body.single-match .our-team-away .lineup-away .number-box { background: #0b7a3f !important; }
body.single-match .tab-content .player-line { border-color: rgba(255, 255, 255, .06) !important; }

/* Turnyro lentelė */
body.page-template-standings .card.standings {
	background: var(--fzm-card) !important;
	border: 1px solid var(--fzm-line);
	border-radius: 18px;
	overflow: hidden;
}
body.page-template-standings .card.standings .card-header {
	background: none !important;
	border-bottom: 1px solid var(--fzm-line);
}
body.page-template-standings .card.standings .standing > .row { transition: background-color .15s ease; }
body.page-template-standings .card.standings .standing + .standing > .row { border-top: 1px solid rgba(255, 255, 255, .05); }
body.page-template-standings .card.standings .standing:not(.highlight):hover > .row { background: rgba(255, 255, 255, .03); }
body.page-template-standings .card.standings .standing.highlight > .row {
	background: linear-gradient(90deg, rgba(98, 201, 135, .2), rgba(98, 201, 135, .08)) !important;
	box-shadow: inset 3px 0 0 var(--fzm-green);
}
body.page-template-standings .card.standings .team-form .square { border-radius: 3px; }
/* Antraštė „Komanda“ – virš komandų pavadinimų (už logotipo pločio: 50 px, nuo 576 px – 64 px) */
body.page-template-standings .card.standings .card-body > div:first-child .row > div:nth-child(2) { padding-left: 50px !important; }
@media (min-width: 576px) {
	body.page-template-standings .card.standings .card-body > div:first-child .row > div:nth-child(2) { padding-left: 64px !important; }
}

/* --------------------------------------------------------------------------
   11. Paieška, naujienų archyvai ir 404
   -------------------------------------------------------------------------- */
.fkzc-search {
	display: flex;
	gap: 10px;
	max-width: 620px;
	margin: 0 0 36px;
}
.fkzc-search input {
	flex: 1;
	min-width: 0;
	height: 52px;
	padding: 0 20px;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 999px;
	background: rgba(255, 255, 255, .05);
	color: #fff;
	font: inherit;
	outline: none;
	transition: border-color .2s, background .2s;
}
.fkzc-search input::placeholder { color: rgba(255, 255, 255, .45); }
.fkzc-search input:focus { border-color: #43d17f; background: rgba(255, 255, 255, .08); }
.fkzc-search button,
.fkzc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 52px;
	padding: 0 30px;
	border: 1px solid #0b7a3f;
	border-radius: 999px;
	background: #0b7a3f;
	color: #fff !important;
	font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
	font-weight: 700;
	font-size: 17px;
	letter-spacing: .04em;
	text-transform: uppercase;
	text-decoration: none !important;
	cursor: pointer;
	transition: background .2s, border-color .2s, color .2s;
}
.fkzc-search button:hover,
.fkzc-btn:hover { background: #43d17f; border-color: #43d17f; color: #06130b !important; }
.fkzc-btn--ghost { background: transparent; border-color: rgba(98, 201, 135, .5); }

.fkzc-list .fkzc-empty {
	padding: 40px 0 90px;
	color: rgba(236, 244, 239, .7);
	font-size: 17px;
}
.fkzc-pagination { padding: 20px 0 90px; }
.fkzc-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}
.fkzc-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 46px;
	height: 46px;
	padding: 0 14px;
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 999px;
	color: #fff;
	font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
	font-weight: 700;
	font-size: 18px;
	text-decoration: none !important;
	transition: border-color .2s, background .2s;
}
.fkzc-pagination a.page-numbers:hover { border-color: #43d17f; }
.fkzc-pagination .page-numbers.current { background: #0b7a3f; border-color: #0b7a3f; }
.fkzc-pagination .page-numbers.dots { border-color: transparent; }

.fkzc-404 {
	position: relative;
	overflow: hidden;
	margin-bottom: 90px;
	padding: clamp(32px, 5vw, 60px);
	border: 1px solid rgba(98, 201, 135, .16);
	border-radius: 20px;
	background:
		repeating-linear-gradient(90deg, rgba(255, 255, 255, .018) 0 20px, rgba(0, 0, 0, 0) 20px 40px),
		linear-gradient(170deg, #13281c 0%, #0e1d15 50%, #0a1610 100%);
}
.fkzc-404-code {
	font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
	font-weight: 800;
	font-size: clamp(90px, 14vw, 170px);
	line-height: .85;
	color: transparent;
	-webkit-text-stroke: 2px rgba(98, 201, 135, .55);
	margin-bottom: 22px;
}
.fkzc-404 p {
	max-width: 560px;
	margin-bottom: 28px;
	color: rgba(236, 244, 239, .78);
	font-size: 17px;
	line-height: 1.6;
}
.fkzc-404-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 34px;
}
.fkzc-404 .fkzc-search { margin: 0; }

/* --------------------------------------------------------------------------
   12. Pradinis puslapis: naujienų blokas viršuje
   -------------------------------------------------------------------------- */
body.home .slider-news-front .slide-bg-fx.fx-gradient {
	background:
		linear-gradient(180deg, rgba(9, 20, 14, .55) 0%, rgba(9, 20, 14, 0) 22%, rgba(9, 20, 14, 0) 45%, rgba(9, 20, 14, .72) 72%, #09140e 100%),
		linear-gradient(90deg, rgba(9, 20, 14, .78) 0%, rgba(9, 20, 14, .35) 42%, rgba(9, 20, 14, 0) 70%) !important;
}
body.home .slider-news-front .slide-bg-fx.fx-shade {
	background:
		radial-gradient(900px 520px at 12% 100%, rgba(11, 122, 63, .32), rgba(0, 0, 0, 0) 65%),
		repeating-linear-gradient(90deg, rgba(255, 255, 255, .022) 0 80px, rgba(0, 0, 0, 0) 80px 160px) !important;
}
body.home .slider-news-front .swiper-slide .title {
	max-width: 15em;
	font-family: "Barlow Condensed", "Arial Narrow", sans-serif !important;
	font-weight: 700;
	font-size: clamp(38px, 4.3vw, 74px) !important;
	line-height: .96 !important;
	letter-spacing: .005em;
	text-transform: uppercase;
	text-wrap: balance;
	text-shadow: 0 6px 34px rgba(0, 0, 0, .5);
	margin-bottom: 30px !important;
}
body.home .slider-news-front .swiper-slide .title::before {
	content: "";
	display: block;
	width: 56px;
	height: 4px;
	margin-bottom: 22px;
	border-radius: 2px;
	background: #43d17f;
}
body.home .slider-news-front .swiper-slide a.text-white:hover { text-decoration: none; }
body.home .slider-news-front .swiper-slide a.text-white:hover .title { color: #e9fff1; }

body.home .slider-news-front .swiper-slide .btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 52px;
	padding: 0 28px !important;
	border-radius: 999px !important;
	font-family: "Barlow Condensed", "Arial Narrow", sans-serif !important;
	font-weight: 700 !important;
	font-size: 17px !important;
	letter-spacing: .06em;
	text-transform: uppercase;
	transition: background .2s, border-color .2s, color .2s, transform .2s;
}
body.home .slider-news-front .swiper-slide .btn-primary {
	background: #0b7a3f !important;
	border: 1px solid #0b7a3f !important;
	color: #fff !important;
	box-shadow: 0 10px 28px rgba(11, 122, 63, .35);
}
body.home .slider-news-front .swiper-slide .btn-primary::after {
	content: "→";
	font-size: 18px;
	line-height: 1;
	transition: transform .2s;
}
body.home .slider-news-front .swiper-slide .btn-primary:hover {
	background: #43d17f !important;
	border-color: #43d17f !important;
	color: #06130b !important;
}
body.home .slider-news-front .swiper-slide .btn-primary:hover::after { transform: translateX(4px); }
body.home .slider-news-front .swiper-slide .btn-outline-light {
	background: rgba(255, 255, 255, .06) !important;
	border: 1px solid rgba(255, 255, 255, .45) !important;
	color: #fff !important;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}
body.home .slider-news-front .swiper-slide .btn-outline-light:hover {
	background: #fff !important;
	border-color: #fff !important;
	color: #06130b !important;
}

/* Eiga: numeruoti segmentai */
body.home .slider-news-front .zab-prog { counter-reset: fzp; }
body.home .slider-news-front .zab-prog__seg { counter-increment: fzp; }
body.home .slider-news-front .zab-prog__seg::after {
	content: counter(fzp, decimal-leading-zero);
	position: absolute;
	left: 0;
	top: -12px;
	font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: .08em;
	color: rgba(255, 255, 255, .4);
	transition: color .3s;
}
body.home .slider-news-front .zab-prog__seg.is-on::after { color: #fff; }
body.home .slider-news-front .zab-prog__seg:hover::after { color: #43d17f; }
body.home .slider-news-front .zab-prog__seg::before { background: rgba(255, 255, 255, .16) !important; }
body.home .slider-news-front .zab-prog__seg.is-done i { background: rgba(255, 255, 255, .55) !important; }
body.home .slider-news-front .zab-prog__seg.is-on i { background: #43d17f !important; box-shadow: 0 0 12px rgba(67, 209, 127, .55); }

@media (max-width: 767.98px) {
	body.home .slider-news-front .swiper-slide .title { font-size: clamp(30px, 8.6vw, 40px) !important; margin-bottom: 22px !important; }
	body.home .slider-news-front .swiper-slide .title::before { width: 40px; margin-bottom: 16px; }
	body.home .slider-news-front .swiper-slide .btn { height: 46px; padding: 0 20px !important; font-size: 15px !important; }
	body.home .slider-news-front .zab-prog__seg::after { display: none; }
}

/* Lentelės bloko apačia: be rėmėjo „Pilna lentelė“ lieka dešinėje */
body.home .fkz-std-foot .fkz-hb { margin-left: auto; }

/* --------------------------------------------------------------------------
   13. Nuotraukų peržiūra (paspaudus nuotrauką albume ar naujienoje)
   -------------------------------------------------------------------------- */
.lg-backdrop {
	background-color: #070f0b !important;
	background-image:
		radial-gradient(1100px 700px at 50% 120%, rgba(11, 122, 63, .28), rgba(0, 0, 0, 0) 65%),
		repeating-linear-gradient(90deg, rgba(255, 255, 255, .018) 0 80px, rgba(0, 0, 0, 0) 80px 160px) !important;
}
.lg-backdrop.in { opacity: .98 !important; }
.lg-outer .lg-object.lg-image {
	border-radius: 12px;
	box-shadow: 0 30px 90px rgba(0, 0, 0, .6);
}
.lg-outer .lg-toolbar {
	display: flex;
	flex-direction: row-reverse;
	align-items: center;
	gap: 10px;
	height: 76px;
	padding: 0 24px;
	background: linear-gradient(180deg, rgba(7, 15, 11, .85), rgba(7, 15, 11, 0)) !important;
}
.lg-outer .lg-toolbar .lg-icon {
	float: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 50%;
	background: rgba(255, 255, 255, .07);
	color: #fff !important;
	font-size: 20px;
	line-height: 1;
	text-decoration: none;
	transition: background .2s, border-color .2s, color .2s;
}
.lg-outer .lg-toolbar .lg-icon:hover {
	background: #0b7a3f;
	border-color: #0b7a3f;
}
.lg-outer #lg-counter {
	margin-right: auto;
	padding: 0;
	color: rgba(255, 255, 255, .6) !important;
	font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
	font-weight: 700;
	font-size: 20px;
	letter-spacing: .06em;
}
.lg-outer #lg-counter-current { color: #fff; }
.lg-outer .lg-actions .lg-prev,
.lg-outer .lg-actions .lg-next {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin-top: -28px;
	padding: 0;
	border: 1px solid rgba(98, 201, 135, .35);
	border-radius: 50%;
	background: rgba(9, 20, 14, .65) !important;
	color: #fff !important;
	font-size: 22px;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	transition: background .2s, border-color .2s, transform .2s, opacity .35s;
}
.lg-outer .lg-actions .lg-prev { left: 24px; }
.lg-outer .lg-actions .lg-next { right: 24px; }
.lg-outer .lg-actions .lg-prev:hover,
.lg-outer .lg-actions .lg-next:hover {
	background: #0b7a3f !important;
	border-color: #0b7a3f;
	color: #fff !important;
}
.lg-outer .lg-sub-html {
	background: linear-gradient(0deg, rgba(7, 15, 11, .9), rgba(7, 15, 11, 0)) !important;
	color: rgba(236, 244, 239, .85);
}
@media (max-width: 767.98px) {
	.lg-outer .lg-toolbar { height: 64px; padding: 0 12px; }
	.lg-outer .lg-toolbar .lg-icon { width: 40px; height: 40px; font-size: 18px; }
	.lg-outer .lg-actions .lg-prev,
	.lg-outer .lg-actions .lg-next { width: 44px; height: 44px; margin-top: -22px; font-size: 18px; }
	.lg-outer .lg-actions .lg-prev { left: 10px; }
	.lg-outer .lg-actions .lg-next { right: 10px; }
	.lg-outer .lg-object.lg-image { border-radius: 6px; }
}

/* --------------------------------------------------------------------------
   Telefonas
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
	body.page-template-stadiums .stadium .photo-wrapper img { aspect-ratio: 4 / 3; }
	body.page-template-stadiums .stadium > .row > .col-md-5 > div { grid-template-columns: 1fr; }
}
