/* =====================================================================
   skin_3 „Boční menu“ – načítá se PO skin_1/style.css a custom.css.
   Barvy jen z --base-* (renderColorStyleVars) a odvozených tokenů --s-*.
   Desktop ≥ 1200 px: fixní boční lišta + obsah vpravo. < 1200 px: sticky hlavička + .mobile-menu (beze změny).
   ===================================================================== */

/* ---------- odvozené tokeny ---------- */
:root {
	--s-side-w: 248px;
	--s-bg: #ffffff;
	--s-surface: #ffffff;
	--s-soft: #F6F6F6;
	--s-text: var(--base-dark);
	--s-muted: var(--base-dark2);
	--s-line: var(--base-light);
	--s-accent-text: var(--base-primary);
	--s-accent-text: var(--base-primary-text, color-mix(in oklab, var(--base-primary) 80%, #000));
	--s-tint: rgba(0, 0, 0, 0.04);
	--s-tint: color-mix(in srgb, var(--base-primary) 9%, transparent);
	--s-side-bg: #ffffff;
}
body.mode-dark {
	--s-bg: var(--base-dark);
	--s-surface: var(--base-dark3);
	--s-soft: var(--base-dark4);
	--s-text: #ffffff;
	--s-muted: rgba(255, 255, 255, 0.62);
	--s-line: var(--base-dark4);
	--s-accent-text: var(--base-primary);
	--s-accent-text: color-mix(in oklab, var(--base-primary) 60%, #fff);
	--s-tint: rgba(255, 255, 255, 0.06);
	--s-tint: color-mix(in srgb, var(--base-primary) 24%, transparent);
	--s-side-bg: var(--base-dark3);
}
@media (min-width: 1464px) {
	:root { --s-side-w: 280px; }
}

body.skin-3 {
	background: var(--s-bg);
}
.skin-3 .s3-main {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}
.skin-3 .s3-main > .footer {
	margin-top: auto;
}

/* ====================== BOČNÍ LIŠTA (desktop ≥ 1200) ====================== */
.s3-side {
	display: none;
}
@media (min-width: 1200px) {
	/* lišta nemá vlastní posuvník: je vysoká jako její obsah (aspoň výška okna); když je delší než okno,
	   JS ji při scrollu stránky posouvá, dokud se neukáže její spodek (pak zůstane stát) */
	.s3-side {
		position: fixed;
		top: 0;
		left: 0;
		width: var(--s-side-w);
		min-height: 100vh;
		background: var(--s-side-bg);
		border-right: 1px solid var(--s-line);
		display: flex;
		flex-direction: column;
		overflow: hidden;
		z-index: 900;
		color: var(--s-text);
		will-change: transform;
	}
	.s3-side::before {
		content: "";
		display: block;
		height: 4px;
		background: var(--base-primary);
		flex-shrink: 0;
	}
	.skin-3 .s3-main {
		margin-left: var(--s-side-w);
	}
	/* obsah navazuje na lištu (zarovnaný vlevo, stejné odsazení jako horní řádek);
	   na velkém monitoru se rozšíří, volné místo zbude nanejvýš vpravo – ne pruhy na obou stranách */
	.skin-3 .s3-main .container {
		max-width: 1264px;
		margin-left: 0;
		margin-right: auto;
		padding-left: 32px;
		padding-right: 32px;
	}
}

/* značka klubu: logo vedle nadtitulu a názvu, podtitul pod logem; široké logo (víc než ~1,25:1) se samo zalomí nad název (flex-wrap) */
.s3-side-brand {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 14px;
	padding: 20px 20px 20px 24px;
	color: var(--s-text);
	text-decoration: none;
}
.s3-side-brand:hover {
	color: var(--s-text);
}
.s3-side-logo {
	display: block;
	flex: 0 0 auto;
	height: 64px;
	width: auto;
	max-width: 100%;
	object-fit: contain;
	object-position: left center;
}
.s3-side-brand.is-logo-only .s3-side-logo {
	height: 80px;
}
.s3-side-titles {
	display: flex;
	flex-direction: column;
	flex: 1 1 104px;
	min-width: 104px;
}
.s3-side-pre,
.s3-side-sub {
	font-size: 11.5px;
	line-height: 1.25;
	color: var(--s-muted);
	text-wrap: balance;
}
.s3-side-name {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.15;
	margin: 1px 0;
	overflow-wrap: anywhere;
	hyphens: manual;
	text-wrap: balance;
}
.s3-side-sub {
	flex: 0 0 100%;
}
.s3-side-titles .s3-side-pre {
	margin-bottom: 4px;
}
/* délka názvu vedle loga (třídy počítá @layout.latte) */
.s3-side-brand.is-name-l .s3-side-name {
	font-size: 16px;
}
.s3-side-brand.is-name-xl .s3-side-name {
	font-size: 15px;
	line-height: 1.2;
}
.s3-side-brand.is-name-xxl .s3-side-name {
	font-size: 14px;
	line-height: 1.2;
}
.s3-side-brand.is-name-xxl .s3-side-logo {
	height: 48px;
}
/* slovo delší než sloupec vedle loga → název pod logo přes celou šířku */
.s3-side-brand.is-name-below .s3-side-titles {
	flex-basis: 100%;
}
.s3-side-brand.is-name-below .s3-side-name {
	font-size: 16px;
}
/* bez loga je název jediným nositelem značky → větší */
.s3-side-brand.is-no-logo .s3-side-name {
	font-size: 21px;
}
.s3-side-brand.is-no-logo.is-name-l .s3-side-name {
	font-size: 19px;
}
.s3-side-brand.is-no-logo.is-name-xl .s3-side-name,
.s3-side-brand.is-no-logo.is-name-xxl .s3-side-name,
.s3-side-brand.is-no-logo.is-name-below .s3-side-name {
	font-size: 17px;
	line-height: 1.2;
}

/* menu – akordeon: text = odkaz, šipka = tlačítko */
.s3-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.s3-nav-l1 {
	padding: 8px 0 !important;
	border-top: 1px solid var(--s-line);
}
.s3-nav-row {
	display: flex;
	align-items: stretch;
}
.s3-nav-row > a,
.s3-nav-row > .s3-nav-text {
	flex: 1;
	min-width: 0;
	display: flex;
	align-items: center;
	min-height: 42px;
	padding: 8px 8px 8px 24px;
	font-weight: 600;
	font-size: 15px;
	line-height: 1.25;
	color: var(--s-text);
	text-decoration: none;
	background: none;
	border: 0;
	text-align: left;
	font-family: inherit;
	cursor: pointer;
	transition: color 0.2s;
}
.s3-nav-row > a:hover,
.s3-nav-row > .s3-nav-text:hover {
	color: var(--s-accent-text);
}
.s3-nav-tog {
	flex: 0 0 44px;
	border: 0;
	background: none;
	color: var(--s-muted);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}
.s3-nav-tog:hover {
	color: var(--s-text);
}
.s3-nav-tog svg {
	width: 12px;
	height: 12px;
	transition: transform 0.2s;
}
.s3-nav li.open > .s3-nav-row .s3-nav-tog svg {
	transform: rotate(180deg);
}
.s3-nav li.active > .s3-nav-row {
	background: var(--s-tint);
	box-shadow: inset 4px 0 0 var(--base-primary);
}
.s3-nav li.active > .s3-nav-row > a {
	color: var(--s-accent-text);
}
.s3-nav li > ul {
	display: none;
	padding-bottom: 6px;
}
.s3-nav li.open > ul {
	display: block;
}
.s3-nav li li .s3-nav-row > a,
.s3-nav li li .s3-nav-row > .s3-nav-text {
	padding-left: 40px;
	font-weight: 500;
	font-size: 14px;
	min-height: 36px;
}
.s3-nav li li li .s3-nav-row > a {
	padding-left: 56px;
	font-size: 13.5px;
	min-height: 32px;
	color: var(--s-muted);
	font-weight: 500;
}
.s3-nav li li li .s3-nav-row > a::before {
	content: "";
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--s-line);
	margin-right: 10px;
	flex-shrink: 0;
}
.s3-nav li li li .s3-nav-row > a:hover {
	color: var(--s-accent-text);
}
.s3-nav li li li.active > .s3-nav-row {
	box-shadow: none;
	background: none;
}
.s3-nav li li li.active > .s3-nav-row > a {
	color: var(--s-accent-text);
	font-weight: 600;
}
.s3-nav li li li.active > .s3-nav-row > a::before {
	background: var(--base-primary);
}
.s3-nav a:focus-visible,
.s3-nav button:focus-visible,
.s3-side-brand:focus-visible {
	outline: 2px solid var(--base-primary);
	outline-offset: -2px;
}

/* spodní část lišty: odkazy, jazyky, sítě, kontakt */
.s3-side-util {
	margin-top: auto;
	padding: 20px 24px 24px;
	border-top: 1px solid var(--s-line);
	display: flex;
	flex-direction: column;
	gap: 14px;
	font-size: 13px;
}
.s3-side-links {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 14px;
}
.s3-side-links a {
	color: var(--s-muted);
	text-decoration: none;
}
.s3-side-links a:hover {
	color: var(--s-text);
}
.s3-side-row {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
}
.s3-side-row:not(:has(*)) {
	display: none;
}
.s3-side-lang {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	min-width: 0;
}
.s3-side-lang a {
	padding: 3px 8px;
	border: 1px solid var(--s-line);
	font-size: 12px;
	font-weight: 600;
	color: var(--s-muted);
	text-decoration: none;
	text-transform: uppercase;
}
.s3-side-lang a.active,
.s3-side-lang a:hover {
	background: var(--s-text);
	color: var(--s-bg);
	border-color: var(--s-text);
}
.s3-side-social {
	display: flex;
	gap: 12px;
}
.s3-side-social a {
	display: flex;
	color: var(--s-text);
}
.s3-side-social .icon {
	width: 20px;
	height: 20px;
	fill: var(--s-text);
	transition: fill 0.2s;
}
.s3-side-social a:hover .icon {
	fill: var(--s-accent-text);
}
.s3-side-contact {
	display: flex;
	flex-direction: column;
	color: var(--s-muted);
	line-height: 1.5;
}
.s3-side-contact a {
	color: var(--s-text);
	font-weight: 500;
	text-decoration: none;
	overflow-wrap: anywhere;
}
.s3-side-contact a:hover {
	color: var(--s-accent-text);
}

/* ====================== HORNÍ ŘÁDEK OBSAHU (desktop) ====================== */
.s3-topbar {
	display: none;
}
@media (min-width: 1200px) {
	.s3-topbar {
		display: flex;
		align-items: center;
		gap: 24px;
		min-height: 64px;
		padding: 8px 32px;
		border-bottom: 1px solid var(--s-line);
		background: var(--s-surface);
	}
}
.s3-topbar-partners {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	flex: 0 1 auto;
	overflow: hidden;
}
/* na podstránkách je vpravo i příští zápas => méně log (1. dítě je popisek), ať se nic nepřekrývá */
.s3-topbar.has-match .s3-plogo:nth-child(n+5) {
	display: none;
}
@media (max-width: 1463px) {
	.s3-topbar.has-match .s3-plogo:nth-child(n+4) {
		display: none;
	}
}
@media (max-width: 1339px) {
	.s3-topbar.has-match .s3-topbar-label {
		display: none;
	}
}
.s3-topbar-label {
	font-size: 12px;
	color: var(--s-muted);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-weight: 600;
	white-space: nowrap;
}
.s3-plogo {
	height: 36px;
	padding: 0 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #ffffff;
	border: 1px solid var(--base-light);
	flex-shrink: 0;
}
.s3-plogo a {
	display: flex;
	align-items: center;
}
.s3-plogo img {
	max-height: 26px;
	max-width: 110px;
	width: auto;
	height: auto;
}
.s3-topbar-right {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 20px;
	min-width: 0;
}
.s3-topbar-match {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	padding: 6px 12px;
	border: 1px solid var(--s-line);
	color: var(--s-text);
	text-decoration: none;
	min-width: 0;
	white-space: nowrap;
}
.s3-topbar-match:hover {
	color: var(--s-text);
	border-color: var(--base-primary);
}
.s3-topbar-match-label {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-weight: 700;
	color: var(--s-accent-text);
}
.s3-topbar-match strong {
	font-weight: 600;
	overflow: hidden;
	text-overflow: ellipsis;
}
.s3-topbar-cart a {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	font-size: 14px;
	color: var(--s-text);
	text-decoration: none;
	white-space: nowrap;
}
.s3-topbar-cart .icon,
.s3-mhead-cart .icon {
	fill: var(--s-text);
}
.s3-topbar-cart .s3-cart-num {
	left: 12px;
	top: -8px;
}
.s3-cart-num {
	position: absolute;
	background: var(--base-primary);
	color: var(--base-btn-text);
	font-size: 10px;
	font-weight: 700;
	border-radius: 8px;
	padding: 0 5px;
	line-height: 14px;
	min-width: 14px;
	text-align: center;
}

/* ====================== MOBIL / TABLET (< 1200): sticky hlavička ====================== */
.s3-mhead {
	display: none;
}
@media (max-width: 1199px) {
	.s3-mhead {
		display: flex;
		align-items: center;
		gap: 12px;
		position: sticky;
		top: 0;
		z-index: 1000;
		background: var(--s-surface);
		border-bottom: 1px solid var(--s-line);
		padding: 10px 16px;
		min-height: 64px;
	}
	.s3-mhead::before {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		top: 0;
		height: 3px;
		background: var(--base-primary);
	}
}
.s3-mhead-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	color: var(--s-text);
	text-decoration: none;
}
.s3-mhead-brand:hover {
	color: var(--s-text);
}
.s3-mhead-logo {
	max-width: 56px;
	max-height: 44px;
	width: auto;
	height: auto;
	flex-shrink: 0;
}
.s3-mhead-name {
	font-weight: 700;
	font-size: 16px;
	line-height: 1.15;
	hyphens: manual;
	text-wrap: balance;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.s3-mhead-acts {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
}
.s3-mhead-cart {
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}
.s3-mhead-cart .s3-cart-num {
	right: 4px;
	top: 4px;
}
.s3-mhead .header-menu-toggle {
	position: relative;
	top: auto;
	right: auto;
	width: 44px;
	height: 44px;
	display: block;
	flex-shrink: 0;
}
.s3-mhead .header-menu-toggle span {
	left: 10px;
}
.s3-mhead .header-menu-toggle span:nth-child(1) { top: 14px; }
.s3-mhead .header-menu-toggle span:nth-child(2) { top: 21px; }
.s3-mhead .header-menu-toggle span:nth-child(3) { top: 28px; }
.s3-mhead .header-menu-toggle.open span:nth-child(1),
.s3-mhead .header-menu-toggle.open span:nth-child(3) { top: 21px; }
@media (min-width: 1200px) {
	.skin-3 .mobile-menu {
		display: none !important;
	}
}
/* skin_1 pravidlo pro fixní hlavičku (body.scroll) skin_3 nepoužívá */
body.skin-3.scroll {
	padding-top: 0 !important;
}

/* ====================== ÚVOD ====================== */
.s3-hp {
	padding: 28px 0 8px;
}
@media (max-width: 1199px) {
	.s3-hp {
		padding-top: 16px;
	}
}

/* ---------- akordeon novinek ---------- */
.s3-acc {
	container-type: inline-size;
	container-name: s3acc;
}
.s3-acc-in {
	display: flex;
	gap: 4px;
	height: clamp(380px, 34vw, 470px);
}
.s3-acc-i {
	--strip: clamp(104px, 11cqi, 210px);
	position: relative;
	flex: 0 0 var(--strip);
	min-width: 0;
	overflow: hidden;
	background: var(--base-dark);
	color: #ffffff;
	text-decoration: none;
	outline: none;
	transition: flex 0.38s cubic-bezier(0.3, 0.7, 0.2, 1);
}
.s3-acc-i:hover,
.s3-acc-i:focus {
	color: #ffffff;
}
.s3-acc-i.on {
	flex: 1 1 0;
}
.s3-acc-i:focus-visible {
	box-shadow: inset 0 0 0 3px var(--base-primary);
}
/* fotka má pevnou šířku podle kontejneru => při rozbalení se jen odkrývá, nepřeskakuje do jiného výřezu */
.s3-acc-i > img {
	position: absolute;
	top: 0;
	left: 50%;
	height: 100%;
	width: max(100%, 62cqi);
	max-width: none;
	transform: translateX(-50%);
	object-fit: cover;
	display: block;
}
.s3-acc-noimg {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: max(100%, 62cqi);
	transform: translateX(-50%);
	background: var(--base-primary);
	background: linear-gradient(135deg, var(--base-primary), color-mix(in oklab, var(--base-primary) 40%, #000));
}
.s3-acc-noimg img {
	position: absolute;
	right: 6%;
	top: 50%;
	transform: translateY(-50%);
	width: 44%;
	max-width: 360px;
	max-height: 80%;
	object-fit: contain;
	opacity: 0.16;
	filter: grayscale(1) brightness(10);
}
.s3-acc-i::after {
	content: "";
	position: absolute;
	inset: 0;
	/* ztmavení + silnější spodek, ať je datum a štítek čitelný i na světlých plakátech */
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.5) 45%, rgba(0, 0, 0, 0.5) 100%);
	transition: opacity 0.3s;
}
.s3-acc-i:not(.on):hover::after {
	opacity: 0.75;
}
.s3-acc-i.on::after {
	/* silnější spodek: titulek musí být čitelný i přes plakát nebo pozvánku s textem */
	background: linear-gradient(30deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.7) 40%, rgba(0, 0, 0, 0.1) 78%);
	background: linear-gradient(30deg, color-mix(in oklab, var(--base-primary) 25%, var(--base-dark)) 0%, rgba(0, 0, 0, 0.72) 40%, rgba(0, 0, 0, 0.1) 78%);
}
.s3-acc-i::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 4px;
	background: var(--base-primary);
	z-index: 3;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.38s;
}
.s3-acc-i.on::before {
	transform: scaleX(1);
}
/* úzký pruh: datum + štítek (kategorie > tým > Aktuality) */
.s3-acc-strip {
	position: absolute;
	left: 12px;
	right: 8px;
	bottom: 18px;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 6px;
	transition: opacity 0.2s;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}
.s3-acc-sd {
	font-size: 12.5px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.75);
}
.s3-acc-st {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	line-height: 1.2;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	hyphens: auto;
	-webkit-hyphens: auto;
	overflow-wrap: anywhere;
}
.s3-acc-st::before {
	content: "";
	display: block;
	width: 20px;
	height: 3px;
	background: var(--base-primary);
	margin-bottom: 8px;
}
.s3-acc-tt {
	display: none;
}
.s3-acc-i.on .s3-acc-strip {
	opacity: 0;
}
/* rozbalená položka: pevná šířka popisku => text se při animaci nepřelévá */
.s3-acc-cap {
	position: absolute;
	left: 32px;
	bottom: 30px;
	z-index: 2;
	width: min(560px, calc(100cqi - 5 * var(--strip) - 64px));
	min-width: 300px;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 0.2s, transform 0.2s;
	pointer-events: none;
	display: block;
	text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45);
}
.s3-acc-i.on .s3-acc-cap {
	opacity: 1;
	transform: none;
	transition-delay: 0.18s;
}
.s3-acc-tagline {
	display: flex;
	gap: 10px;
	align-items: center;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 10px;
}
.s3-acc-tag {
	background: var(--base-primary);
	color: var(--base-btn-text);
	padding: 3px 9px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	max-width: 70%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.s3-acc-title {
	display: block;
	font-size: 36px;
	line-height: 1.1;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: #ffffff;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
	/* těsné řádkování + ořez: rezerva pro spodní část g, y, j, p na posledním řádku */
	padding-bottom: 0.05em;
}
.s3-acc-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 18px;
	min-height: 42px;
	padding: 0 18px;
	border: 1px solid rgba(255, 255, 255, 0.7);
	font-weight: 600;
	font-size: 15px;
	transition: background 0.2s, color 0.2s;
}
.s3-acc-btn svg,
.s3-allm svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}
.s3-acc-i.on:hover .s3-acc-btn {
	background: #ffffff;
	color: var(--base-dark);
}
.s3-acc-n1 .s3-acc-i {
	flex: 1 1 0;
}
/* 2 novinky: druhá není osamělý proužek, ale náhled s titulkem (30 %) */
.s3-acc-n2 .s3-acc-i {
	flex: 0 0 30%;
}
.s3-acc-n2 .s3-acc-i.on {
	flex: 1 1 0;
}
.s3-acc-n2 .s3-acc-strip {
	right: 16px;
}
.s3-acc-n2 .s3-acc-tt {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-weight: 600;
	font-size: 17px;
	line-height: 1.25;
	color: #ffffff;
}
.s3-acc-n2 .s3-acc-cap {
	width: min(560px, calc(100cqi - 30cqi - 64px));
}
/* úzký kontejner (lišta + 1200–1339 px, tablet): max. 4, pod 760 px max. 3 */
@container s3acc (max-width: 1000px) {
	.s3-acc-i:nth-child(n+5) {
		display: none;
	}
}
@container s3acc (max-width: 760px) {
	.s3-acc-i:nth-child(n+4) {
		display: none;
	}
	.s3-acc-title {
		font-size: 28px;
	}
}
/* mobil: stejný akordeon otočený o 90° – svislé pásy */
@container s3acc (max-width: 600px) {
	.s3-acc-in {
		flex-direction: column;
		height: auto;
	}
	.s3-acc-i,
	.s3-acc-i:nth-child(n+4),
	.s3-acc-n2 .s3-acc-i {
		display: block;
		flex: 0 0 68px;
		transition: flex-basis 0.38s cubic-bezier(0.3, 0.7, 0.2, 1);
	}
	.s3-acc-i.on,
	.s3-acc-n2 .s3-acc-i.on,
	.s3-acc-n1 .s3-acc-i {
		flex: 0 0 clamp(230px, 68cqi, 300px);
	}
	.s3-acc-i > img,
	.s3-acc-noimg {
		width: 100%;
		left: 0;
		transform: none;
	}
	.s3-acc-strip,
	.s3-acc-n2 .s3-acc-strip {
		left: 14px;
		right: 14px;
		bottom: auto;
		top: 50%;
		transform: translateY(-50%);
		flex-direction: row;
		align-items: center;
		gap: 10px;
	}
	.s3-acc-i.on .s3-acc-strip {
		display: none;
	}
	.s3-acc-st::before {
		display: none;
	}
	.s3-acc-st {
		flex-shrink: 0;
		max-width: 40%;
		font-size: 11.5px;
		background: var(--base-primary);
		color: var(--base-btn-text);
		padding: 2px 6px;
		-webkit-line-clamp: 1;
		white-space: nowrap;
		text-overflow: ellipsis;
		display: block;
	}
	.s3-acc-sd {
		flex-shrink: 0;
		font-size: 12px;
	}
	.s3-acc-tt,
	.s3-acc-n2 .s3-acc-tt {
		display: block;
		font-weight: 600;
		font-size: 14.5px;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		min-width: 0;
		color: #ffffff;
	}
	.s3-acc-cap,
	.s3-acc-n2 .s3-acc-cap {
		left: 16px;
		right: 16px;
		bottom: 16px;
		width: auto;
		min-width: 0;
	}
	.s3-acc-title {
		font-size: 22px;
		-webkit-line-clamp: 3;
	}
	/* rozbalená novinka na mobilu: titulek leží přes spodní polovinu fotky – plakáty s textem potřebují silné ztmavení */
	.s3-acc-i.on::after {
		background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.78) 50%, rgba(0, 0, 0, 0.15) 100%);
	}
	/* rozbalená novinka na mobilu: tlačítko napoví, že další ťuknutí otevře článek */
	.s3-acc-btn {
		margin-top: 10px;
		min-height: 34px;
		padding: 0 12px;
		font-size: 13.5px;
	}
	.s3-acc-i:not(.on) .s3-acc-btn {
		display: none;
	}
}
@media (prefers-reduced-motion: reduce) {
	.s3-acc-i,
	.s3-acc-i::before,
	.s3-acc-i::after,
	.s3-acc-cap,
	.s3-acc-strip,
	.s3-nav-tog svg {
		transition: none !important;
	}
}

/* ---------- zápasy ---------- */
.s3-matches {
	padding: 36px 0 8px;
}
.s3-hp > .container > .s3-matches:first-child {
	padding-top: 0;
}
.s3-m-head {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-bottom: 16px;
}
.s3-m-title {
	font-size: 28px;
	line-height: 1.2;
	font-weight: 700;
	margin: 0;
	color: var(--s-text);
	flex-shrink: 0;
}
.s3-tabs {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	scrollbar-width: none;
	flex: 1;
	min-width: 0;
}
.s3-tabs::-webkit-scrollbar {
	display: none;
}
.s3-tabs.has-more {
	-webkit-mask-image: linear-gradient(90deg, #000 88%, transparent);
	mask-image: linear-gradient(90deg, #000 88%, transparent);
}
.s3-tab {
	white-space: nowrap;
	padding: 8px 14px;
	border: 1px solid var(--s-line);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.3;
	background: var(--s-surface);
	color: var(--s-text);
	text-decoration: none;
	transition: border-color 0.2s;
}
.s3-tab:hover {
	color: var(--s-text);
	border-color: var(--s-text);
}
.s3-tab.active,
.s3-tab.active:hover {
	background: var(--s-text);
	color: var(--s-bg);
	border-color: var(--s-text);
}
.s3-allm {
	white-space: nowrap;
	font-weight: 600;
	font-size: 15px;
	color: var(--s-accent-text);
	display: flex;
	align-items: center;
	gap: 6px;
	margin-left: auto;
	text-decoration: none;
	flex-shrink: 0;
}
.s3-allm:hover {
	color: var(--s-accent-text);
	text-decoration: underline;
}
.s3-m-empty {
	margin: 0;
	padding: 20px 16px;
	border: 1px dashed var(--s-line);
	color: var(--s-muted);
	font-size: 15px;
}
.s3-mgrid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}
/* víc než 4 zápasy = swiper jako pás zápasů ve skinech 1 a 2 (místo posuvníku prohlížeče stránkování) */
.s3-mgrid.is-scroll {
	display: block;
	padding-bottom: 24px;
}
.s3-mgrid.is-scroll .s3-mc {
	flex: 0 0 auto;
	width: calc((100% - 48px) / 4);
	height: auto;
}
.s3-mgrid .swiper-pagination {
	bottom: 0;
	left: 0;
	right: 0;
	width: auto;
	display: flex;
	justify-content: center;
}
/* hodně zápasů (klub) = hodně proužků => zúží se, ať se vejdou do šířky pásu */
.s3-mgrid .swiper-pagination-bullet {
	flex: 0 1 32px;
	min-width: 6px;
	height: 4px;
	border-radius: 0;
	display: block;
	position: relative;
	background: var(--s-line);
	opacity: 1;
}
/* proužek je 4 px vysoký => větší plocha pro prst (nahoru do mezery pod kartami a přes mezery mezi proužky) */
.s3-mgrid .swiper-pagination-bullet::before {
	content: "";
	position: absolute;
	top: -20px;
	bottom: 0;
	left: -4px;
	right: -4px;
}
.s3-mgrid .swiper-pagination-bullet-active {
	background: var(--base-primary);
}

/* karta zápasu */
.s3-mc {
	border: 1px solid var(--s-line);
	background: var(--s-surface);
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	position: relative;
	color: var(--s-text);
	text-decoration: none;
	min-width: 0;
	transition: border-color 0.2s;
}
.s3-mc:hover {
	color: var(--s-text);
	border-color: var(--s-muted);
}
.s3-mc.is-next {
	border-top: 3px solid var(--base-primary);
	padding-top: 14px;
}
.s3-mc-lab {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	font-size: 12px;
	color: var(--s-muted);
	font-weight: 500;
	min-width: 0;
}
.s3-mc-lab b {
	color: var(--s-text);
	font-weight: 600;
	white-space: nowrap;
	flex-shrink: 0;
}
.s3-mc-contest {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	min-width: 0;
}
.s3-mc-lab b + .s3-mc-contest {
	text-align: right;
}
.s3-mc-date {
	display: flex;
	align-items: center;
	gap: 10px;
}
.s3-mc-day {
	font-size: 34px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.02em;
}
.s3-mc-dw {
	font-size: 12px;
	line-height: 1.2;
	color: var(--s-muted);
	font-weight: 500;
}
.s3-mc-dw b {
	display: block;
	color: var(--s-text);
	font-weight: 600;
	font-size: 13px;
}
.s3-mc-time {
	margin-left: auto;
	font-size: 22px;
	font-weight: 700;
}
.s3-mc-badge {
	margin-left: auto;
	font-size: 12px;
	font-weight: 700;
	background: var(--s-soft);
	color: var(--s-muted);
	padding: 4px 8px;
	white-space: nowrap;
}
.s3-mc-team {
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr) auto;
	gap: 10px;
	align-items: center;
	font-weight: 600;
	font-size: 15px;
	line-height: 1.2;
}
.s3-mc-team.is-lose {
	color: var(--s-muted);
}
.s3-mc-logo {
	width: 28px;
	height: 28px;
	object-fit: contain;
}
.s3-mc-name {
	overflow-wrap: anywhere;
}
.s3-mc-score {
	min-width: 30px;
	height: 30px;
	padding: 0 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--s-soft);
	font-weight: 700;
	font-size: 17px;
}
.s3-mc-score.is-win {
	background: var(--s-text);
	color: var(--s-bg);
}
.s3-mc-foot {
	margin-top: auto;
	font-size: 12.5px;
	color: var(--s-muted);
	display: flex;
	justify-content: space-between;
	gap: 8px;
	border-top: 1px solid var(--s-line);
	padding-top: 10px;
}
.s3-mc-place {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	min-width: 0;
}
.s3-mc-next {
	color: var(--s-accent-text);
	font-weight: 700;
}
.s3-mc-more {
	white-space: nowrap;
	flex-shrink: 0;
}
.s3-mc:hover .s3-mc-more {
	color: var(--s-accent-text);
}

/* mobil a tablet: vodorovný pás karet, začíná příštím zápasem (JS) */
@media (max-width: 991px) {
	.s3-matches {
		padding-top: 28px;
	}
	.s3-m-head {
		flex-wrap: wrap;
		gap: 12px;
	}
	.s3-m-title {
		font-size: 24px;
	}
	.s3-tabs {
		order: 3;
		flex-basis: 100%;
		margin: 0 -16px;
		padding: 0 16px;
	}
	.s3-mgrid {
		display: flex;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-padding-left: 16px;
		gap: 12px;
		margin: 0 -16px;
		padding: 0 16px 4px;
		scrollbar-width: none;
	}
	.s3-mgrid::-webkit-scrollbar {
		display: none;
	}
	.s3-mgrid.is-scroll {
		display: block;
		overflow: hidden;
		padding-bottom: 24px;
	}
	.s3-mgrid .swiper-pagination {
		left: 16px;
		right: 16px;
	}
	.s3-mc {
		flex: 0 0 min(82%, 340px);
		scroll-snap-align: start;
	}
	.s3-mgrid.is-scroll .s3-mc {
		width: min(82%, 340px);
	}
}
@media (min-width: 768px) and (max-width: 991px) {
	.s3-tabs,
	.s3-mgrid,
	.s3-mgrid.is-scroll {
		margin-left: -12px;
		margin-right: -12px;
		padding-left: 12px;
		padding-right: 12px;
	}
	.s3-mgrid .swiper-pagination {
		left: 12px;
		right: 12px;
	}
}

/* ====================== tmavý režim – drobnosti ====================== */
.mode-dark .s3-side-brand,
.mode-dark .s3-mhead-brand {
	color: #ffffff;
}
.mode-dark .s3-mc-logo {
	background: transparent;
}

/* velký monitor: obsah plynule přes celou šířku vedle lišty (jako desktop členské aplikace) –
   žádné prázdné pruhy; slider novinek roste s šířkou, pruhy se rozšíří přes container query */
@media (min-width: 1464px) {
	.skin-3 .s3-main .container {
		max-width: none;
		padding-left: 48px;
		padding-right: 48px;
	}
	.skin-3 .s3-topbar {
		padding-left: 48px;
		padding-right: 48px;
	}
	.s3-acc-in {
		height: clamp(470px, 30vw, 760px);
	}
}
