/* =========================================================================
   Harta SE – fő stíluslap (v2.0)
   A klub jóváhagyott design-terve alapján (Harta SE klubhonlap – mobil/desktop).
   Tokenek: style.css :root
   ========================================================================= */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
	margin: 0;
	background: var(--surface);
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: 15px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--club); text-decoration: none; }
a:hover { color: var(--ink); }
p { margin: 0 0 1em; }
strong, b { font-weight: 700; }
table { border-collapse: collapse; }

/* Teko a mockup "position:relative;top:.07em" alap-korrekciójával – az összes
   kondenzált fejléchez, csapatnévhez és nagy számhoz. */
.tk {
	font-family: var(--font-display);
	text-transform: uppercase;
	letter-spacing: .01em;
	line-height: .95;
	position: relative;
	top: .07em;
	color: var(--ink);
}
h1, h2, h3, h4 { margin: 0 0 .4em; font-weight: 600; }

.container { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
.site-main { padding-bottom: 56px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link {
	position: absolute; left: -9999px; top: 0; z-index: 1000;
	background: var(--club-bright); color: var(--primary);
	font-family: var(--font-grotesk); text-transform: uppercase; letter-spacing: .06em;
	padding: .8rem 1.4rem; border-radius: var(--radius-pill);
}
.skip-link:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 3px solid var(--club-bright); outline-offset: 2px; border-radius: 4px; }

/* -------------------------------------------------------------- Utilities */

.eyebrow {
	display: flex; align-items: center; gap: 6px;
	margin: 0 0 4px;
	color: var(--club);
	font-family: var(--font-grotesk);
	font-size: 11px; line-height: 14px; font-weight: 700;
	letter-spacing: .06em; text-transform: uppercase;
}
.on-dark .eyebrow { color: var(--club-bright); }

.pill {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 4px 10px;
	border-radius: var(--radius-pill);
	background: var(--club); color: var(--on-club);
	font-family: var(--font-grotesk); font-size: 11px; line-height: 14px; font-weight: 700;
	letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
}
.pill--muted { background: var(--surface-muted); color: var(--ink-muted); }
.pill--tint { background: var(--club-tint); color: var(--club); }
.pill--sale { background: var(--sale); color: var(--on-sale); }
.pill--bright { background: var(--club-bright); color: var(--primary); }

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	height: 44px; padding: 0 24px; border: 0; border-radius: var(--radius-pill);
	background: var(--primary); color: var(--on-primary);
	font-family: var(--font-sans); font-weight: 800; font-size: 14px; line-height: 1;
	white-space: nowrap; text-decoration: none; cursor: pointer;
	transition: transform .15s var(--ease), box-shadow .15s var(--ease), filter .15s var(--ease);
}
.btn:hover { color: var(--on-primary); filter: brightness(1.15); transform: translateY(-1px); box-shadow: var(--shadow-float); }
.btn .ms { font-size: 18px; }
.btn--lg { height: 52px; padding: 0 32px; font-size: 16px; }
.btn--bright { background: var(--club-bright); color: var(--primary); }
.btn--soft { background: rgba(255,255,255,.14); color: var(--on-primary); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); }
.btn--soft:hover { background: rgba(255,255,255,.22); }
.btn--outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--block { width: 100%; }
.btn--sm { height: 36px; padding: 0 16px; font-size: 12px; }

.link-arrow {
	display: inline-flex; align-items: center; gap: 4px;
	color: var(--club); font-size: 13px; font-weight: 700; text-decoration: none;
}
.link-arrow .ms { font-size: 16px; }
.link-arrow:hover { color: var(--ink); }

.card { background: var(--surface-card); border-radius: var(--radius-md); box-shadow: var(--shadow-card); }
.card-dark { background: var(--primary); color: var(--on-primary); border-radius: var(--radius-2xl); position: relative; overflow: hidden; background-size: cover; background-position: center; }
.card-dark::before, .card-dark::after {
	content: ""; position: absolute; top: -20%; bottom: -20%; width: 90px; pointer-events: none;
	background: rgba(255,255,255,.04); transform: rotate(16deg);
}
.card-dark::before { right: 18%; }
.card-dark::after { right: 4%; }
.card-dark > * { position: relative; }
.card-dark--photo::before, .card-dark--photo::after { display: none; }
.card-dark--photo {
	background-image:
		linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.5) 100%),
		var(--nextmatch-bg);
}

.card-navy { background: var(--club); color: var(--on-club); border-radius: var(--radius-md); box-shadow: var(--shadow-card); }

/* -------------------------------------------------------------- Top bar + header */

.topbar {
	background: var(--club); color: var(--on-club);
	font-size: 12px; font-weight: 500;
}
.topbar__inner {
	display: flex; align-items: center; justify-content: space-between;
	height: 36px;
}
.topbar__loc { display: flex; align-items: center; gap: 8px; }
.topbar__loc .ms { font-size: 16px; color: var(--club-bright); }
.topbar__right { display: flex; align-items: center; gap: 20px; }
.topbar__links { display: flex; align-items: center; gap: 20px; }
.topbar__links a {
	color: var(--club-tint); font-family: var(--font-grotesk); font-size: 11px; line-height: 14px;
	font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.topbar__links a:hover { color: #fff; }
.topbar__social { display: flex; gap: 12px; }
.topbar__social a { color: var(--club-tint); }
.topbar__social a:hover { color: #fff; }
.topbar__social .ms { font-size: 18px; }

.site-header {
	position: sticky; top: 0; z-index: 100;
	background: var(--surface-card); box-shadow: var(--shadow-header);
}
.site-header__inner {
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	min-height: var(--header-h);
	padding-block: 8px;
}
.site-logo, .custom-logo-link { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; flex-shrink: 0; }
.site-logo img, .custom-logo-link img { display: block; height: 52px; width: auto; max-width: 160px; max-height: 68px; object-fit: contain; }
.site-logo__text { display: flex; flex-direction: column; gap: 3px; }
.site-logo__name { font-family: var(--font-display); font-weight: 700; font-size: 30px; line-height: .9; letter-spacing: .01em; text-transform: uppercase; position: relative; top: .07em; color: var(--primary); }
.site-logo__sub { color: var(--club); font-family: var(--font-grotesk); font-size: 10px; line-height: 1; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

.site-nav .menu { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.site-nav .menu a {
	padding: 6px 0; font-size: 14px; line-height: 20px; font-weight: 600;
	color: var(--ink-muted); text-decoration: none; border-bottom: 2px solid transparent;
}
.site-nav .menu a:hover { color: var(--ink); }
.site-nav .menu .current-menu-item > a,
.site-nav .menu .current_page_item > a { font-weight: 700; color: var(--primary); border-bottom-color: var(--primary); }
.site-nav .sub-menu { display: none; }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-actions .btn { height: 44px; }
.nav-toggle {
	display: none; align-items: center; justify-content: center;
	width: 44px; height: 44px; flex-shrink: 0; padding: 0; border: 0; border-radius: var(--radius-pill);
	background: transparent; color: var(--ink); cursor: pointer;
}
.nav-toggle .ms { font-size: 22px; }

/* -------------------------------------------------------------- Hero: next match + result */

.hero-grid { display: grid; grid-template-columns: 8fr 4fr; gap: 24px; align-items: stretch; padding: 32px 0 0; }

.nextmatch { background: var(--surface-card); color: var(--ink); border: 2px solid var(--club); border-radius: var(--radius-2xl); box-shadow: var(--shadow-card); overflow: hidden; }
.nm { display: grid; grid-template-columns: 190px minmax(0, 1fr); }

/* Bal oldali dátum-oszlop: a fejléc-fotó sötétkék fátyollal, nagy napszámmal. */
.nm__date {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
	padding: 28px 16px; text-align: center; color: var(--on-club);
	background-color: var(--club);
	background-image: linear-gradient(rgba(29,54,85,.9), rgba(29,54,85,.9)), var(--nextmatch-bg, none);
	background-size: cover; background-position: center;
}
.nm__dow, .nm__month, .nm__time { font-family: var(--font-grotesk); font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.nm__month { color: var(--club-bright); }
.nm__day { font-family: var(--font-display); font-weight: 700; font-size: 104px; line-height: .85; position: relative; top: .07em; margin: 6px 0 4px; font-variant-numeric: tabular-nums; }
.nm__dow { color: var(--on-club); }
.nm__time {
	display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; padding: 6px 12px;
	border-radius: var(--radius-pill); background: var(--club-bright); color: var(--primary);
}
.nm__time .ms { font-size: 16px; }

.nm__body { display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 26px 32px 22px; min-width: 0; }
.nm__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

.nm__teams { display: flex; flex-direction: column; gap: 6px; }
.nm__team { display: flex; align-items: center; gap: 16px; min-width: 0; }
.nm__team img { display: block; flex: 0 0 auto; width: 64px; height: 64px; object-fit: contain; }
.nm__crest-fallback {
	display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
	width: 64px; height: 64px; border-radius: var(--radius-pill);
	background: var(--surface-muted); color: var(--ink-subtle);
}
.nm__crest-fallback .ms { font-size: 34px; }
.nm__name {
	font-family: var(--font-display); font-weight: 700; font-size: 44px; line-height: .95; letter-spacing: .01em;
	text-transform: uppercase; position: relative; top: .07em; color: var(--ink-muted);
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0;
}
.nm__team.is-us .nm__name { color: var(--club); }
.nm__comp { display: flex; align-items: center; gap: 8px; margin: 0; font-family: var(--font-grotesk); font-size: 13px; line-height: 18px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--club); }
.nm__comp .ms { font-size: 22px; color: var(--club-accent); }
.nm__rank {
	flex: 0 0 auto; margin-left: auto; padding: 4px 12px; border-radius: var(--radius-sm);
	background: var(--club-tint); color: var(--club); text-align: right;
	font-family: var(--font-grotesk); font-size: 12px; line-height: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em;
}
.nm__rank b { font-size: 16px; }
.nm__rank small { display: block; font-size: 10px; font-weight: 600; color: var(--ink-subtle); letter-spacing: .04em; }
.nm__team.is-us .nm__rank { background: var(--club); color: var(--on-club); }
.nm__team.is-us .nm__rank small { color: var(--club-bright); }
/* VS: teljes szélességű elválasztó, középen kis „VS" címkével. */
.nm__vs { display: flex; align-items: center; gap: 14px; margin: 4px 0; }
.nm__vs::before, .nm__vs::after { content: ""; flex: 1; height: 1px; background: var(--surface-strong); }
.nm__vs span {
	display: inline-block; padding: 0;
	color: var(--club);
	font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1; letter-spacing: .14em;
	position: relative; top: .07em;
}

.nm__venue {
	display: flex; align-items: center; gap: 14px; padding: 10px 14px 10px 10px;
	border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--surface-strong);
	color: var(--ink); text-decoration: none; transition: box-shadow .15s, background .15s;
}
.nm__venue:hover { background: var(--club-tint); box-shadow: inset 0 0 0 1px var(--club-bright); color: var(--ink); }
.nm__venue-icon {
	display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
	width: 40px; height: 40px; border-radius: var(--radius-pill); background: var(--club); color: var(--on-club);
}
.nm__venue-icon .ms { font-size: 22px; }
.nm__venue-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.nm__venue-label { font-family: var(--font-grotesk); font-size: 10px; line-height: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-subtle); }
.nm__venue-name { font-size: 15px; line-height: 20px; font-weight: 700; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nm__venue-go {
	display: inline-flex; align-items: center; gap: 2px; flex: 0 0 auto;
	font-family: var(--font-grotesk); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--club);
}
.nm__venue-go .ms { font-size: 16px; }

.nm__foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--surface-strong); }
.countdown { display: flex; gap: 8px; }
.countdown__cell {
	display: flex; flex-direction: column; align-items: center; gap: 2px;
	min-width: 76px; padding: 10px 8px; border-radius: var(--radius);
	background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
}
.countdown__num { font-family: var(--font-display); font-weight: 600; font-size: 36px; line-height: 1; position: relative; top: .07em; color: var(--on-primary); font-variant-numeric: tabular-nums; }
.countdown__unit { color: var(--on-primary-muted); font-family: var(--font-grotesk); font-size: 11px; line-height: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.countdown__live { display: none; align-items: center; gap: 8px; color: var(--club-bright); font-family: var(--font-grotesk); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

/* Kicsi visszaszámláló a dátumpanelben, az időpont alatt. */
.nm__count { align-self: stretch; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.18); display: flex; justify-content: center; }
.nm__count .countdown { gap: 4px; width: 100%; }
.nm__count .countdown__cell { flex: 1; min-width: 0; padding: 6px 2px; gap: 1px; border-radius: var(--radius-sm); background: rgba(255,255,255,.1); box-shadow: none; }
.nm__count .countdown__num { font-size: 22px; }
.nm__count .countdown__unit { font-size: 9px; line-height: 11px; color: var(--club-bright); }
.nm__count .countdown__live { font-size: 11px; text-align: center; }
.nextmatch__actions { display: flex; flex-wrap: wrap; gap: 8px; }

.nextmatch__empty { padding: 40px 48px; color: var(--ink-muted); grid-column: 1 / -1; }
.nextmatch__empty .tk { font-size: 26px; margin-bottom: 6px; }

.result-card { display: flex; flex-direction: column; gap: 16px; padding: 28px; height: 100%; }
.result-card__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.result-card__head .eyebrow { color: var(--club-bright) !important; }
.result-card__vs { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; text-align: center; }
.result-card__side { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; }
.result-card__side img { display: block; height: 64px; width: auto; filter: drop-shadow(0 0 5px rgba(255,255,255,.22)); }
.result-card__crest-fallback {
	display: flex; align-items: center; justify-content: center;
	width: 64px; height: 64px; border-radius: var(--radius-pill);
	background: rgba(255,255,255,.1); color: var(--club-bright);
}
.result-card__crest-fallback .ms { font-size: 35px; }
.result-card__side-name { font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 1.1; letter-spacing: .02em; text-transform: uppercase; position: relative; top: .07em; color: #fff; text-align: center; overflow-wrap: anywhere; max-width: 100%; }
.result-card__score { font-family: var(--font-display); font-weight: 700; font-size: 64px; line-height: .9; position: relative; top: .07em; color: #fff; }
.result-card__score span { color: var(--club-bright); }
.result-card__extra { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border-radius: var(--radius); background: rgba(255,255,255,.08); }
.result-card__empty { padding: 40px 0; text-align: center; color: var(--club-tint); }

.result-card__events { display: flex; flex-direction: column; gap: 10px; }
.result-card__events-title { color: var(--club-bright); font-family: var(--font-grotesk); font-size: 11px; line-height: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px; }
.result-card__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.result-card__list li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--club-tint); }
.result-card__list .ms { font-size: 15px; flex-shrink: 0; }
.result-card__list .ms.goal { color: var(--club-bright); }
.result-card__list .ms.card-yellow { color: #f2c94c; }
.result-card__list .ms.card-red { color: #ef6a5f; }
.result-card__list .side-away { margin-left: auto; text-align: right; flex-direction: row-reverse; }
.result-card__minute { font-variant-numeric: tabular-nums; color: #fff; font-weight: 700; min-width: 28px; white-space: nowrap; }

/* -------------------------------------------------------------- Section heads */

.section { padding: 56px 0 0; }
.section:last-of-type { padding-bottom: 56px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.section-head h2 { font-family: var(--font-display); font-weight: 600; font-size: 40px; line-height: 1; letter-spacing: .01em; text-transform: uppercase; position: relative; top: .07em; color: var(--primary); margin: 0; }
.on-dark .section-head h2, .on-dark h2 { color: #fff; }

/* -------------------------------------------------------------- Results tabs (#meccsek) */

.team-toggle {
	display: inline-flex; align-self: flex-start; gap: 4px; padding: 4px;
	border-radius: var(--radius-pill); background: var(--surface-muted);
	max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.team-toggle button {
	height: 40px; padding: 0 16px; border: 0; border-radius: var(--radius-pill);
	font-family: var(--font-sans); font-size: 13px; font-weight: 800; cursor: pointer;
	white-space: nowrap; background: transparent; color: var(--ink-muted);
}
.team-toggle button[aria-pressed="true"] { background: var(--primary); color: var(--on-primary); }

.results-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.results-grid[hidden] { display: none; }
.result-row {
	display: flex; align-items: center; gap: 12px; padding: 12px 14px;
	border-radius: var(--radius); background: var(--surface-card); box-shadow: var(--shadow-header);
}
.result-row__badge {
	display: flex; align-items: center; justify-content: center;
	width: 36px; height: 36px; flex-shrink: 0; border-radius: var(--radius-pill);
	font-size: 12px; font-weight: 800;
	background: var(--surface-strong); color: var(--ink);
}
.result-row__badge--w { background: var(--club); color: var(--on-club); }
.result-row__badge--l { background: var(--sale); color: var(--on-sale); }
.result-row__body { min-width: 0; }
.result-row__opp { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13px; font-weight: 700; color: var(--ink); }
.result-row__meta { color: var(--ink-muted); font-family: var(--font-grotesk); font-size: 11px; line-height: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.result-row__score { margin-left: auto; font-family: var(--font-display); font-weight: 600; font-size: 24px; line-height: 1; position: relative; top: .07em; color: var(--primary); flex-shrink: 0; }

/* -------------------------------------------------------------- Teams (#csapatok) */

.teams-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.team-card { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: var(--radius-md); background: var(--surface-card); box-shadow: var(--shadow-card); overflow: hidden; }
.team-card--feature { background: var(--primary); box-shadow: none; }
.team-card__banner { margin: -18px -18px 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--primary-soft); }
.team-card__banner img { width: 100%; height: 100%; object-fit: cover; }

.team-card--wide { grid-column: 1 / -1; padding: 16px 20px; }
.team-card__wide-row { display: flex; align-items: center; gap: 20px; }
.team-card__wide-label { flex-shrink: 0; max-width: 190px; }
.team-card__wide-label .team-card__name { white-space: normal; line-height: 1.08; }
.team-card__multi {
	flex-grow: 1;
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(60px, 110px);
	justify-content: start;
	gap: 6px;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--surface-muted);
}
.team-card__multi-img { aspect-ratio: 4 / 3; overflow: hidden; display: block; border-radius: var(--radius-sm); }
.team-card__multi-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-card__head { display: flex; align-items: center; gap: 12px; }
.team-card__icon {
	display: flex; align-items: center; justify-content: center; flex-shrink: 0;
	width: 44px; height: 44px; border-radius: var(--radius-pill);
	background: var(--club-tint); color: var(--club);
}
.team-card__icon .ms { font-size: 22px; }
.team-card__crest { display: block; height: 44px; width: auto; flex-shrink: 0; }
.team-card__body { min-width: 0; }
.team-card__name { font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 1; letter-spacing: .01em; text-transform: uppercase; position: relative; top: .07em; color: var(--primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.team-card--feature .team-card__name { color: var(--on-primary); }
.team-card__sub { color: var(--club); font-family: var(--font-grotesk); font-size: 11px; line-height: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.team-card--feature .team-card__sub { color: var(--club-bright); }
.team-card__row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius); background: var(--surface); }
.team-card--feature .team-card__row { background: var(--primary-soft); }
.team-card__row-icon {
	display: flex; align-items: center; justify-content: center; flex-shrink: 0;
	width: 28px; height: 28px; border-radius: var(--radius-pill);
	background: var(--surface-strong); color: var(--ink); font-size: 11px; font-weight: 800;
}
.team-card--feature .team-card__row-icon { background: var(--primary-soft); color: var(--on-primary); }
.team-card__row-icon.is-event { background: var(--club-tint); color: var(--club); }
.team-card--feature .team-card__row-icon.is-event { background: var(--club-bright); color: var(--primary); }
.team-card__row-icon--w { background: var(--club); color: var(--on-club); }
.team-card__row-icon--d { background: var(--surface-strong); color: var(--ink); }
.team-card__row-icon--l { background: var(--sale); color: var(--on-sale); }
.team-card--feature .team-card__row-icon--w { background: var(--club-bright); color: var(--primary); }
.team-card--feature .team-card__row-icon--d { background: var(--primary-soft); color: var(--on-primary); }
.team-card--feature .team-card__row-icon--l { background: var(--sale); color: var(--on-sale); }
.team-card__row-icon .ms { font-size: 16px; }
.team-card__row-body { min-width: 0; flex-grow: 1; }
.team-card__row-label { color: var(--ink-muted); font-family: var(--font-grotesk); font-size: 11px; line-height: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.team-card--feature .team-card__row-label { color: var(--on-primary-muted); }
.team-card__row-opp { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13px; font-weight: 700; color: var(--primary); }
.team-card--feature .team-card__row-opp { color: var(--on-primary); }
.team-card__row-score { margin-left: auto; font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1; position: relative; top: .07em; color: var(--primary); }
.team-card--feature .team-card__row-score { color: var(--on-primary); }
.team-card__row-date { font-size: 11px; color: var(--ink-muted); }
.team-card--feature .team-card__row-date { color: var(--on-primary-muted); }
.team-card__cta {
	display: flex; align-items: center; justify-content: space-between;
	height: 44px; margin-top: auto; padding: 0 8px 0 16px; border-radius: var(--radius-pill);
	background: var(--surface-muted); color: var(--ink); font-size: 13px; font-weight: 800; text-decoration: none;
}
.team-card--feature .team-card__cta { background: var(--surface-card); color: var(--primary); }
.team-card__cta-arrow {
	display: flex; align-items: center; justify-content: center;
	width: 30px; height: 30px; border-radius: var(--radius-pill); background: var(--surface-card); color: var(--ink);
}
.team-card--feature .team-card__cta-arrow { background: var(--primary); color: var(--on-primary); }
.team-card__cta-arrow .ms { font-size: 16px; }

/* -------------------------------------------------------------- Tabella mini + upcoming split */

.split-grid { display: grid; grid-template-columns: minmax(300px, max-content) 1fr; gap: 24px; padding-top: 24px; }
.mini-panel { display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: var(--radius-md); background: var(--surface-card); box-shadow: var(--shadow-card); }
.mini-panel__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.mini-panel__title { font-family: var(--font-display); font-weight: 600; font-size: 26px; line-height: 1; letter-spacing: .02em; text-transform: uppercase; position: relative; top: .07em; color: var(--primary); }
.mini-panel__note { color: var(--ink-muted); font-family: var(--font-grotesk); font-size: 11px; line-height: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 50%; }

.tabmini { width: fit-content; max-width: 100%; font-size: 13px; table-layout: fixed; border-collapse: collapse; }
.tabmini thead tr { color: var(--ink-muted); font-family: var(--font-grotesk); font-size: 11px; line-height: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.tabmini th { padding: 0 6px 8px 0; text-align: center; white-space: nowrap; }
.tabmini th:first-child { width: 24px; padding-left: 4px; text-align: left; }
.tabmini th:nth-child(2) { width: 190px; text-align: left; }
.tabmini th:nth-child(3) { width: 34px; }
.tabmini th:last-child { width: 38px; padding-right: 4px; text-align: right; }
.tabmini td { padding: 8px 6px 8px 0; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; }
.tabmini td:first-child { padding-left: 4px; text-align: left; font-weight: 800; color: var(--ink-subtle); }
.tabmini td:nth-child(2) { text-align: left; font-weight: 600; color: var(--ink-subtle); }
.tabmini td:nth-child(3) { color: var(--ink-muted); }
.tabmini td:last-child { padding-right: 4px; text-align: right; font-weight: 800; color: var(--ink-subtle); }
.tabmini tr:not(:last-child) td { border-bottom: 1px solid var(--surface-muted); }
.tabmini tr.is-us td { background: var(--club-tint); color: var(--club); }
.tabmini tr.is-us td:first-child { border-radius: var(--radius-sm) 0 0 var(--radius-sm); color: var(--club); }
.tabmini tr.is-us td:last-child { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--club); }
.tabmini__team { display: flex; align-items: center; gap: 6px; min-width: 0; }
.tabmini__team img { flex-shrink: 0; border-radius: 3px; }
.tabmini__team span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.upcoming-list { display: flex; flex-direction: column; }
.upcoming-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--surface-muted); }
.upcoming-row:first-child { border-top: 0; }
.upcoming-row__icon {
	display: flex; align-items: center; justify-content: center; flex-shrink: 0;
	width: 44px; height: 44px; border-radius: var(--radius-pill);
	background: var(--club); color: var(--on-club);
}
.upcoming-row__icon { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1; letter-spacing: .02em; padding-top: .18em; } /* a Teko szövege magasan ül: lefelé igazítjuk, hogy a körben középen álljon */
.upcoming-row__icon.is-youth { background: var(--club-accent); color: #fff; }
.upcoming-row__body { flex-grow: 1; min-width: 0; }
.upcoming-row__title { font-family: var(--font-display); font-weight: 600; font-size: 20px; line-height: 1.1; letter-spacing: .02em; text-transform: uppercase; position: relative; top: .07em; color: var(--primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.upcoming-row__meta { color: var(--ink-muted); font-family: var(--font-grotesk); font-size: 11px; line-height: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

.mini-panel--accent { overflow: hidden; }
.mini-panel--accent .mini-panel__head {
	margin: -20px -20px 12px; padding: 16px 20px 14px; background: var(--club); color: #fff;
}
.mini-panel--accent .mini-panel__title { color: #fff; }
.mini-panel--accent .mini-panel__note { color: var(--club-tint); }
.mini-panel--accent .link-arrow { color: var(--club-bright); font-weight: 800; }
.mini-panel--accent .link-arrow:hover { color: #fff; }
.upcoming-empty, .results-empty, .mini-empty { color: var(--ink-subtle); font-size: 13px; padding: 12px 0; }

/* -------------------------------------------------------------- News (#hirek) */

.news-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.news-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-md); background: var(--surface-card); box-shadow: var(--shadow-card); color: var(--ink); text-decoration: none; }
.news-card:hover { color: var(--ink); }
.news-card__head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: var(--club); }
.news-card__head img { display: block; height: 36px; width: auto; }
.news-card__head-body { flex-grow: 1; min-width: 0; }
.news-card__brand { font-size: 13px; font-weight: 800; color: #fff; }
.news-card__time { font-size: 11px; color: var(--club-tint); }
.news-card__head .ms { font-size: 18px; color: var(--club-tint); }
.news-card__text {
	margin: 12px 0; padding: 0 16px; font-size: 13px; line-height: 19px; color: var(--ink);
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.news-card__media { aspect-ratio: 1 / 1; overflow: hidden; background: var(--club); display: flex; align-items: center; justify-content: center; }
.news-card__media img { width: 100%; height: 100%; object-fit: contain; background: var(--club); }
.news-card__placeholder {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
	width: 100%; height: 100%; background: var(--club); color: var(--club-bright);
}
.news-card__placeholder img { height: 34%; width: auto; opacity: .9; }
.news-card__placeholder span { font-family: var(--font-grotesk); font-size: 11px; line-height: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--club-tint); }
.news-card__foot { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; font-size: 12px; color: var(--ink-muted); margin-top: auto; }
.news-card__stats { display: flex; gap: 12px; }
.news-card__stats span { display: flex; align-items: center; gap: 4px; }
.news-card__stats .ms { font-size: 16px; }
.news-card__open { display: flex; align-items: center; gap: 4px; color: var(--club); font-weight: 700; }
.news-card__open .ms { font-size: 14px; }
.news-empty { grid-column: 1 / -1; padding: 48px; text-align: center; color: var(--ink-subtle); border-radius: var(--radius-md); background: var(--surface-card); box-shadow: var(--shadow-card); }

/* -------------------------------------------------------------- Support / merch CTA */

.support-cta { display: grid; grid-template-columns: 6fr 6fr; gap: 24px; align-items: center; padding: 48px; border-radius: var(--radius-2xl); background: var(--club); color: var(--on-club); overflow: hidden; position: relative; }
.support-cta::before, .support-cta::after { content: ""; position: absolute; top: -20%; bottom: -20%; width: 90px; background: rgba(255,255,255,.04); transform: rotate(16deg); pointer-events: none; }
.support-cta::before { right: 18%; }
.support-cta::after { right: 4%; }
.support-cta > * { position: relative; }
.support-cta__copy { display: flex; flex-direction: column; gap: 14px; }
.support-cta__title { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 48px; line-height: .95; letter-spacing: .01em; text-transform: uppercase; position: relative; top: .07em; }
.support-cta__title em { font-style: normal; color: var(--club-bright); display: block; }
.support-cta__text { margin: 0; max-width: 480px; font-size: 14px; line-height: 21px; color: var(--club-tint); }
.support-cta__art { display: flex; align-items: center; justify-content: center; height: 100%; min-height: 220px; border-radius: var(--radius-md); background: rgba(255,255,255,.06); color: var(--club-bright); }
.support-cta__art .ms { font-size: 96px; }

/* -------------------------------------------------------------- Utánpótlás toborzó */

.recruit {
	border-radius: var(--radius-2xl);
	background: var(--club);
	color: var(--on-club);
	padding: 40px;
	position: relative;
	overflow: hidden;
	background-size: cover;
	background-position: center;
}
.recruit::before, .recruit::after {
	content: ""; position: absolute; top: -20%; bottom: -20%; width: 90px; pointer-events: none;
	background: rgba(255,255,255,.05); transform: rotate(16deg);
}
.recruit::before { right: 18%; }
.recruit::after { right: 4%; }
.recruit--photo::before, .recruit--photo::after { display: none; }
.recruit--photo {
	background-image:
		linear-gradient(180deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.6) 100%),
		var(--recruit-bg);
}
.recruit > * { position: relative; }
.recruit__head { max-width: 640px; margin-bottom: 28px; }
.recruit__head .eyebrow { color: var(--club-bright); }
.recruit__head h2 { color: #fff; margin-bottom: 8px; }
.recruit__head p { margin: 0; color: var(--club-tint); font-size: 15px; }
.recruit-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.recruit-card {
	display: flex; flex-direction: column; gap: 10px;
	padding: 16px; border-radius: var(--radius-md);
	background: rgba(255,255,255,.07);
}
.recruit-card__age { font-family: var(--font-display); font-weight: 700; font-size: 30px; line-height: 1; letter-spacing: .01em; position: relative; top: .07em; color: var(--club-bright); }
.recruit-card__born { font-size: 12px; color: var(--club-tint); min-height: 32px; }
.recruit-card__contact { margin-top: auto; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.15); }
.recruit-card__name { font-weight: 700; color: #fff; font-size: 13px; }
.recruit-card__phone { display: block; color: var(--club-bright); font-size: 13px; margin-top: 2px; }
.recruit-card__phone:hover { color: #fff; }

/* -------------------------------------------------------------- Supporters (#tamogatok) */

.supporters-top { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 28px; }
.supporters-col { display: flex; flex-direction: column; gap: 10px; }
.supporters-featured {
	display: flex; align-items: center; justify-content: center; height: 160px;
	border-radius: var(--radius-md); background: var(--surface-card);
	box-shadow: inset 0 0 0 1px var(--surface-muted);
}
.supporters-featured img { max-height: 96px; max-width: 80%; object-fit: contain; }
.supporters-featured--dark { background: var(--primary); }
.supporters-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.supporter-logo {
	display: flex; align-items: center; justify-content: center; height: 88px; overflow: hidden;
	border-radius: var(--radius-md); background: var(--surface-card);
	box-shadow: inset 0 0 0 1px var(--surface-muted);
}
.supporter-logo img { max-height: 56px; max-width: 80%; object-fit: contain; filter: grayscale(1); opacity: .85; transition: filter .2s var(--ease), opacity .2s var(--ease); }
.supporter-logo:hover img { filter: grayscale(0); opacity: 1; }
/* Logó nélküli támogató: a név díszes „szókép". */
.wordmark { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0 8px; text-align: center; max-width: 100%; }
.wordmark__name {
	font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
	line-height: .95; color: var(--club); position: relative; top: .07em; overflow-wrap: break-word; text-wrap: balance;
	transition: color .2s var(--ease);
}
.wordmark.is-l .wordmark__name { font-size: 24px; }
.wordmark.is-m .wordmark__name { font-size: 19px; }
.wordmark.is-s .wordmark__name { font-size: 15px; letter-spacing: .04em; }
.supporters-featured .wordmark.is-l .wordmark__name { font-size: 44px; }
.supporters-featured .wordmark.is-m .wordmark__name { font-size: 34px; }
.supporters-featured .wordmark.is-s .wordmark__name { font-size: 26px; }
.supporters-featured--dark .wordmark__name { color: #fff; }
.supporter-logo:hover .wordmark__name { color: var(--club-accent); }
.supporters-placeholder { color: var(--ink-subtle); font-family: var(--font-grotesk); font-size: 11px; line-height: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

.become-sponsor {
	display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
	margin-top: 28px;
	padding: 20px 24px; border-radius: var(--radius-md); background: var(--club-tint); color: var(--club);
}
.become-sponsor__left { display: flex; align-items: center; gap: 14px; }
.become-sponsor__icon { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 48px; height: 48px; border-radius: var(--radius-pill); background: var(--club); color: var(--on-club); }
.become-sponsor__icon .ms { font-size: 24px; }
.become-sponsor__title { font-family: var(--font-display); font-weight: 600; font-size: 24px; line-height: 1.05; letter-spacing: .02em; text-transform: uppercase; position: relative; top: .07em; }
.become-sponsor__text { margin: 4px 0 0; font-size: 13px; line-height: 19px; }

/* -------------------------------------------------------------- Generic page header / content */

.page-header { padding: 24px 0 24px; }
/* A .section 56px felső belső tere + a cím együtt túl sok volt: az aloldalakon ~24px marad a fejléc és a cím között. */
.section > .page-header:first-child { margin-top: -32px; padding-top: 0; }
.page-header .eyebrow { justify-content: flex-start; }
.page-title { font-family: var(--font-display); font-weight: 600; font-size: 44px; line-height: 1; letter-spacing: .01em; text-transform: uppercase; position: relative; top: .07em; color: var(--primary); margin: 0; }
.entry-content { font-size: 15px; line-height: 1.7; }
.entry-content a { text-decoration: underline; }
.entry-content img { border-radius: var(--radius); }

.mp-block { margin-bottom: 40px; }
.mp-block .hero-grid { padding-top: 0; }
.mp-tabella { margin-bottom: 8px; }
.mp-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; align-items: start; }
.mp-cols .mini-panel .match-strip { gap: 8px; }

/* -------------------------------------------------------------- Klubtörténet (Történelem) */

.history-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; margin-top: 24px; }

.history-nav {
	position: sticky; top: 20px; display: flex; flex-direction: column; gap: 2px;
	padding: 10px; border-radius: var(--radius-md);
	background: var(--club-accent-light);
	max-height: calc(100vh - 40px); overflow-y: auto;
}
.history-nav__item { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.history-nav__item:hover { background: rgba(255,255,255,.55); }
.history-nav__item.is-active { background: var(--club-accent); box-shadow: var(--shadow-card); }
.history-nav__year { font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1; letter-spacing: .01em; color: var(--club-accent); position: relative; top: .05em; }
.history-nav__item.is-active .history-nav__year { color: #fff; }
.history-nav__title { font-family: var(--font-grotesk); font-size: 12px; font-weight: 700; color: var(--ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.history-nav__item.is-active .history-nav__title { color: rgba(255,255,255,.85); }

.history-detail { padding: 32px; border-radius: var(--radius-md); background: var(--surface-card); box-shadow: var(--shadow-card); }
.history-detail__year {
	display: inline-flex; padding: 6px 16px; margin-bottom: 14px; border-radius: var(--radius-pill);
	background: var(--club-accent); color: #fff;
	font-family: var(--font-grotesk); font-size: 13px; font-weight: 800; letter-spacing: .06em;
}
.history-detail__title { font-family: var(--font-display); font-weight: 600; font-size: 32px; line-height: 1.05; letter-spacing: .01em; text-transform: uppercase; position: relative; top: .06em; color: var(--primary); margin: 0 0 20px; }
.history-detail__cover { margin-bottom: 20px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; }
.history-detail__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.history-detail__gallery { margin-bottom: 20px; }
.history-detail__text { font-size: 15px; line-height: 1.75; color: var(--ink); }

/* -------------------------------------------------------------- Full league table (Mérkőzések oldal) */

.league { margin-bottom: 40px; }
.league:last-child { margin-bottom: 0; }
.league__title { font-family: var(--font-display); font-weight: 600; font-size: 24px; line-height: 1; letter-spacing: .02em; text-transform: uppercase; position: relative; top: .07em; color: var(--primary); margin-bottom: 12px; }
.league__scroll { overflow-x: auto; border-radius: var(--radius-md); background: var(--surface-card); box-shadow: var(--shadow-card); }
.league-table { width: 100%; font-size: 13px; min-width: 620px; }
.league-table thead tr { color: var(--ink-muted); font-family: var(--font-grotesk); font-size: 11px; line-height: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.league-table th { padding: 14px 8px; text-align: center; white-space: nowrap; }
.league-table th:nth-child(2) { text-align: left; }
.league-table td { padding: 12px 8px; text-align: center; border-top: 1px solid var(--surface-muted); }
.league-table .is-num { font-variant-numeric: tabular-nums; }
.league-table .is-points { font-weight: 800; }
.league-table thead .is-points { color: #fff; }
.league-table__team { text-align: left !important; display: flex; align-items: center; gap: 8px; font-weight: 700; white-space: nowrap; color: var(--ink); }
.league-table__team img { width: 22px; height: 22px; object-fit: contain; }
.league-table tbody tr:nth-child(even) { background: var(--surface); }
.league-table tbody tr.is-home { background: var(--club-tint); }
.league-table tbody tr.is-home td { font-weight: 800; color: var(--club); }
.league__meta { margin-top: 10px; font-size: 13px; color: var(--ink-muted); }
.league__empty { padding: 24px; border-radius: var(--radius-md); background: var(--surface-card); color: var(--ink-subtle); text-align: center; }

/* -------------------------------------------------------------- Match strip (teljes lista) */

.match-strip { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.match-strip__row {
	display: grid; grid-template-columns: 130px 1fr 150px; align-items: center; gap: 14px;
	padding: 11px 16px; border-radius: var(--radius-md); background: var(--surface-card); box-shadow: var(--shadow-header);
	transition: transform .15s var(--ease), box-shadow .15s var(--ease); text-decoration: none; color: var(--ink);
}
.match-strip__aside { display: flex; justify-content: flex-end; min-width: 0; }
a.match-strip__row:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.match-strip__meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.match-strip__team-badge { color: var(--club); font-family: var(--font-grotesk); font-size: 10px; line-height: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.match-strip__competition {
	align-self: flex-start; font-family: var(--font-grotesk); font-size: 9px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
	color: var(--ink-subtle); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 1px 7px; max-width: 100%;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.match-strip__date { font-size: 12px; color: var(--ink-muted); }
.match-strip__fixture { display: flex; align-items: center; gap: 12px; min-width: 0; }
.match-strip__side { display: flex; align-items: center; gap: 8px; min-width: 0; flex: 1; }
.match-strip__side--away { flex-direction: row-reverse; text-align: right; }
.match-strip__side img { width: 26px; height: 26px; object-fit: contain; flex-shrink: 0; }
.match-strip__side span { font-family: var(--font-display); text-transform: uppercase; font-weight: 600; font-size: 16px; position: relative; top: .05em; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.match-strip__side.is-us span { color: var(--club); }
.match-strip__score { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1; position: relative; top: .07em; color: var(--primary); flex-shrink: 0; }
.match-strip__score i { font-style: normal; color: var(--line); }
.match-strip__vs { font-family: var(--font-grotesk); font-weight: 700; font-size: 13px; color: var(--ink-muted); background: var(--surface); padding: 4px 10px; border-radius: var(--radius-pill); flex-shrink: 0; }
.match-strip__badge {
	flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
	width: 28px; height: 28px; border-radius: var(--radius-pill); justify-self: end;
	background: var(--surface-strong); color: var(--ink); font-family: var(--font-grotesk); font-size: 11px; font-weight: 800;
}
.match-strip__badge--w { background: var(--club); color: var(--on-club); }
.match-strip__badge--l { background: var(--sale); color: var(--on-sale); }
.match-strip__venue {
	display: inline-flex; align-items: flex-start; gap: 4px; justify-self: end;
	max-width: 100%; padding: 6px 10px; border-radius: var(--radius-md);
	background: var(--club); color: var(--club-tint);
	font-family: var(--font-grotesk); font-size: 11px; font-weight: 700; letter-spacing: .02em;
	line-height: 1.3; text-align: left;
}
.match-strip__venue .ms { flex-shrink: 0; position: relative; top: 1px; }
.match-strip__venue-text {
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
	overflow: hidden; min-width: 0;
}
.match-strip__empty { padding: 24px; text-align: center; color: var(--ink-subtle); border-radius: var(--radius-md); background: var(--surface-card); }

/* -------------------------------------------------------------- Albums / gallery */

.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.album-grid__item { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-md); background: var(--surface-card); box-shadow: var(--shadow-card); text-decoration: none; color: var(--ink); transition: transform .15s var(--ease); }
.album-grid__item:hover { transform: translateY(-3px); color: var(--ink); }
.album-grid__thumb { aspect-ratio: 4/3; background: var(--surface-muted); overflow: hidden; }
.album-grid__thumb img { width: 100%; height: 100%; object-fit: cover; }
.album-grid__meta { padding: 12px 14px; }
.album-grid__title { display: block; font-family: var(--font-display); text-transform: uppercase; font-weight: 600; color: var(--primary); font-size: 20px; line-height: 1.1; position: relative; top: .05em; }
.album-grid__count { display: block; color: var(--ink-muted); font-family: var(--font-grotesk); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; margin-top: 2px; }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.gallery-grid__item a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); }
.gallery-grid__item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-grid__item figcaption { font-size: 12px; color: var(--ink-muted); margin-top: 4px; }
.back-link { font-family: var(--font-grotesk); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

.lightbox { position: fixed; inset: 0; z-index: 999; background: rgba(9,12,15,.95); display: flex; align-items: center; justify-content: center; gap: 8px; padding: clamp(1rem, 4vw, 3rem); }
.lightbox[aria-hidden="true"] { display: none; }
body.lightbox-open { overflow: hidden; }
.lightbox__stage { margin: 0; max-width: 100%; max-height: 100%; text-align: center; }
.lightbox__img { max-width: 100%; max-height: 82vh; width: auto; margin-inline: auto; border-radius: var(--radius); }
.lightbox__caption { color: #fff; margin-top: 14px; font-size: 14px; }
.lightbox__close, .lightbox__nav { background: rgba(255,255,255,.1); color: #fff; border: 0; cursor: pointer; width: 48px; height: 48px; border-radius: 50%; font-size: 24px; flex-shrink: 0; }
.lightbox__close { position: absolute; top: 20px; right: 20px; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--club-bright); color: var(--primary); }

/* -------------------------------------------------------------- Documents */

.page-lead { max-width: 62ch; margin: 10px 0 0; color: var(--ink-muted); font-size: 15px; }
.doc-groups { margin-top: 0; }
.doc-group { margin-bottom: 36px; }
.doc-group__title { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 30px; line-height: 1; letter-spacing: .02em; text-transform: uppercase; position: relative; top: .07em; color: var(--primary); margin: 0 0 14px; }
.doc-group__count { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 26px; padding: 0 8px; border-radius: var(--radius-pill); background: var(--club-tint); color: var(--club); font-family: var(--font-grotesk); font-size: 12px; font-weight: 700; top: -.07em; position: relative; }
.doc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.doc-list__item {
	display: flex; align-items: center; gap: 16px; padding: 14px 18px 14px 14px;
	background: var(--surface-card); border-radius: var(--radius); box-shadow: var(--shadow-card);
}
.doc-list__ext {
	flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
	width: 56px; height: 56px; border-radius: var(--radius-sm); background: var(--club); color: var(--on-club);
	font-family: var(--font-grotesk); font-size: 10px; line-height: 1; font-weight: 700; letter-spacing: .08em;
}
.doc-list__ext .ms { font-size: 22px; color: var(--club-bright); }
.doc-list__main { flex: 1; min-width: 0; }
.doc-list__name { margin: 0; font-size: 16px; line-height: 1.3; font-weight: 700; color: var(--ink); }
.doc-list__meta { margin: 2px 0 0; color: var(--ink-subtle); font-family: var(--font-grotesk); font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.doc-list__desc { margin: 6px 0 0; color: var(--ink-muted); font-size: 13px; }
.doc-list__btn { flex: 0 0 auto; }
@media (max-width: 640px) {
	.doc-list__item { flex-wrap: wrap; }
	.doc-list__main { flex-basis: calc(100% - 80px); }
	.doc-list__btn { width: 100%; }
}

/* -------------------------------------------------------------- Map */

.map { overflow: hidden; }
.map__frame { width: 100%; height: 340px; border: 0; display: block; }
.map__footer { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; padding: 16px 20px; }
.map__addr { font-weight: 700; color: var(--ink); }

/* -------------------------------------------------------------- Contact */

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.contact-info__list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 12px; }
.contact-info__list li { display: grid; grid-template-columns: 140px 1fr; gap: 8px; }
.contact-info__label { color: var(--club); font-family: var(--font-grotesk); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.contact-tickets { background: var(--club); color: var(--on-club); border-radius: var(--radius-md); padding: 20px 24px 24px; margin-bottom: 20px; overflow: hidden; position: relative; }
.contact-tickets::before, .contact-tickets::after {
	content: ""; position: absolute; top: -30%; bottom: -30%; width: 70px; pointer-events: none;
	background: rgba(255,255,255,.05); transform: rotate(16deg);
}
.contact-tickets::before { right: 14%; }
.contact-tickets::after { right: 2%; }
.contact-tickets > * { position: relative; }
.contact-tickets h2 { display: flex; align-items: center; gap: 8px; color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 22px; text-transform: uppercase; margin-bottom: 16px; position: relative; top: .05em; }
.contact-tickets__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.contact-tickets__item {
	display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: var(--radius);
	background: rgba(255,255,255,.08); transition: background .15s var(--ease), transform .15s var(--ease);
}
.contact-tickets__item:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }
.contact-tickets__icon {
	flex-shrink: 0; display: flex; align-items: center; justify-content: center;
	width: 34px; height: 34px; border-radius: 50%; background: var(--club-bright); color: var(--primary);
}
.contact-tickets__icon .ms { font-size: 18px; }
.contact-tickets__label { flex-grow: 1; min-width: 0; font-family: var(--font-grotesk); font-size: 12px; font-weight: 700; letter-spacing: .02em; color: var(--club-tint); }
.contact-tickets__price { flex-shrink: 0; font-family: var(--font-display); font-weight: 700; font-size: 18px; color: #fff; position: relative; top: .05em; }
.contact-form-wrap { background: var(--primary); color: #fff; padding: 28px; border-radius: var(--radius-md); }
.contact-form-wrap h2 { color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 28px; text-transform: uppercase; position: relative; top: .07em; }
.contact-form label { display: block; font-family: var(--font-grotesk); text-transform: uppercase; letter-spacing: .05em; font-size: 11px; color: var(--on-primary-muted); margin-bottom: 6px; font-weight: 700; }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px 14px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #fff; font: inherit; border-radius: var(--radius-sm); }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--club-bright); outline: none; background: rgba(255,255,255,.1); }
.contact-form p { margin: 0 0 14px; }
.contact-form__hp { position: absolute; left: -9999px; }
.form-notice { padding: 14px 16px; margin-bottom: 16px; border-radius: var(--radius-sm); font-weight: 600; }
.form-notice--success { background: rgba(16,185,129,.14); border-left: 4px solid var(--success); color: #d3f5e8; }
.form-notice--error { background: rgba(186,26,26,.14); border-left: 4px solid var(--sale); color: #ffd9d3; }

/* -------------------------------------------------------------- Post list / search / pagination / 404 */

.post-list { display: grid; gap: 14px; }
.post-list__item { background: var(--surface-card); border-radius: var(--radius-md); box-shadow: var(--shadow-card); padding: 20px 24px; }
.post-list__title { font-family: var(--font-display); text-transform: uppercase; font-size: 22px; }
.post-list__meta { color: var(--ink-muted); font-family: var(--font-grotesk); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.post-list__excerpt { margin-top: 8px; color: var(--ink-muted); }
.page-single__thumb { margin-bottom: 24px; }
.page-single__thumb img { border-radius: var(--radius-md); }
.teams__empty, .doc-groups:empty { color: var(--ink-subtle); }
.header-actions__label { display: inline; }
@media (max-width: 1180px) { .header-actions__label { display: none; } }
.section--404 { text-align: center; padding-block: 80px; }
.pagination { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-top: 32px; }
.pagination a, .pagination .current { padding: 8px 16px; border-radius: var(--radius-pill); background: var(--surface-card); box-shadow: var(--shadow-header); font-weight: 700; }
.pagination .current { background: var(--primary); color: #fff; }
.search-form { display: flex; gap: 8px; max-width: 440px; margin-inline: auto; }
.search-form__field { flex: 1; padding: 10px 16px; border: 1px solid var(--line); border-radius: var(--radius-pill); font: inherit; }
.search-form__submit { background: var(--primary); color: #fff; border: 0; font-weight: 800; padding: 0 20px; border-radius: var(--radius-pill); cursor: pointer; }

/* -------------------------------------------------------------- Footer */

.site-footer { display: flex; flex-direction: column; gap: 36px; padding: 56px 0 32px; background: var(--primary); color: #fff; }
.footer-top { display: grid; grid-template-columns: 7fr 5fr; gap: 28px; align-items: start; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand__row { display: flex; align-items: center; gap: 14px; }
.footer-brand__row img { display: block; height: 72px; width: auto; }
.footer-brand__title { color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 44px; line-height: .95; letter-spacing: .01em; text-transform: uppercase; position: relative; top: .07em; }
.footer-brand__sub { color: var(--club-bright); font-family: var(--font-grotesk); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.footer-brand__text { margin: 0; max-width: 420px; font-size: 13px; line-height: 19px; color: rgba(255,255,255,.72); }
.newsletter { display: flex; flex-direction: column; gap: 10px; }
.newsletter__title { color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: .02em; text-transform: uppercase; position: relative; top: .07em; }
.newsletter__text { margin: 0; font-size: 13px; color: rgba(255,255,255,.72); }
.newsletter form { display: flex; align-items: center; gap: 8px; height: 52px; padding: 0 6px 0 18px; border-radius: var(--radius-pill); background: var(--primary-soft); }
.newsletter input[type="email"] { flex-grow: 1; min-width: 0; border: 0; background: transparent; outline: none; font: 500 14px/20px var(--font-sans); color: #fff; }
.newsletter button { height: 40px; padding: 0 16px; border: 0; border-radius: var(--radius-pill); background: var(--club-bright); color: var(--primary); font-family: var(--font-sans); font-size: 13px; font-weight: 800; cursor: pointer; }
.newsletter__note { font-size: 11px; color: var(--on-primary-muted); }

.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col__title { color: var(--on-primary-muted); font-family: var(--font-grotesk); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.footer-col a { color: var(--surface-strong); font-size: 13px; line-height: 18px; }
.footer-col a:hover { color: #fff; }

.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid var(--primary-soft); font-size: 12px; color: rgba(255,255,255,.6); }
.footer-bottom a { color: var(--surface-strong); }
.online-badge { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.75); font-size: 12px; }
.online-badge b { color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
.online-badge__dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; animation: online-pulse 2s infinite; }
@keyframes online-pulse { 0% { box-shadow: 0 0 0 0 rgba(52,211,153,.55); } 70% { box-shadow: 0 0 0 7px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }

/* -------------------------------------------------------------- Mobile menu drawer */

.mobile-drawer {
	position: fixed; inset: 0; z-index: 200; display: none;
}
.mobile-drawer.is-open { display: block; }
.mobile-drawer__backdrop { position: absolute; inset: 0; background: rgba(9,12,15,.5); }
.mobile-drawer__panel {
	position: absolute; top: 0; right: 0; bottom: 0; width: min(340px, 88vw);
	background: var(--surface-card); box-shadow: var(--shadow-float);
	padding: 20px; display: flex; flex-direction: column; gap: 4px; overflow-y: auto;
}
.mobile-drawer__close { align-self: flex-end; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--surface-muted); color: var(--ink); cursor: pointer; margin-bottom: 12px; }
.mobile-drawer__panel .menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.mobile-drawer__panel .menu a { display: block; padding: 14px 4px; font-family: var(--font-display); text-transform: uppercase; font-size: 22px; letter-spacing: .02em; position: relative; top: .05em; color: var(--ink); border-bottom: 1px solid var(--surface-muted); }

/* -------------------------------------------------------------- Responsive */

@media (max-width: 1180px) {
	.teams-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
	.news-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 1080px) {
	.hero-grid { grid-template-columns: 1fr; }
	.split-grid { grid-template-columns: 1fr; }
	.mp-cols { grid-template-columns: 1fr; }
	.tabmini { width: 100%; }
	.support-cta { grid-template-columns: 1fr; }
	.footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
	.topbar { display: none; }
	.site-header__inner { min-height: 68px; }
	.site-nav { display: none; }
	.nav-toggle { display: inline-flex; }
	.history-layout { grid-template-columns: 1fr; }
	.history-nav { position: static; flex-direction: row; max-height: none; overflow-x: auto; overflow-y: visible; -webkit-overflow-scrolling: touch; }
	.history-nav__item { flex-direction: row; align-items: center; gap: 8px; flex-shrink: 0; }
	.history-nav__title { max-width: 140px; }
	.history-detail { padding: 24px; }
	.results-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
	.recruit-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
	.supporters-top { grid-template-columns: 1fr; }
	.supporters-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
	.contact-grid { grid-template-columns: 1fr; }
	.contact-tickets__grid { grid-template-columns: 1fr; }
	.footer-cols { grid-template-columns: repeat(2, minmax(0,1fr)); }
	.container, .hero-grid, .section, .split-grid { padding-left: 0; padding-right: 0; }
}

@media (max-width: 760px) {
	body { font-size: 14px; }
	.container { width: min(100% - 2rem, var(--maxw)); }
	.timeline::before { left: 8px; }
	.timeline__item { grid-template-columns: 24px 1fr; }
	.timeline__dot { grid-column: 1; justify-self: start; margin-left: 1px; }
	.timeline__card, .timeline__item--right .timeline__card { grid-column: 2; }
	.timeline__card { padding: 16px 18px; }
	.teams-grid { grid-template-columns: 1fr; }
	.team-card__wide-row { flex-direction: column; align-items: stretch; gap: 12px; }
	.team-card__wide-label { max-width: none; }
	.team-card__multi { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); }
	.news-grid { grid-template-columns: 1fr; }
	.results-grid { grid-template-columns: 1fr; }
	.nm { grid-template-columns: 1fr; }
	.nm__date { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; gap: 4px 12px; padding: 16px 20px; }
	.nm__day { font-size: 56px; margin: 0; }
	.nm__time { margin: 0 0 0 auto; }
	.nm__body { padding: 20px; gap: 16px; }
	.nm__team img, .nm__crest-fallback { width: 48px; height: 48px; }
	.nm__team { gap: 12px; }
	.nm__name { font-size: 26px; }
	.nm__rank { padding: 3px 8px; font-size: 10px; }
	.nm__rank b { font-size: 14px; }
	.nm__rank small { display: none; }
	.nm__foot { flex-direction: column; align-items: stretch; }
	.nm__count { flex-basis: 100%; margin-top: 8px; padding-top: 12px; }
	.nm__count .countdown__num { font-size: 26px; }
	.nextmatch__actions .btn { flex: 1; }
	.result-card { padding: 20px; }
	.result-card__score { font-size: 48px; }
	.match-strip__row { grid-template-columns: 1fr; row-gap: 8px; }
	.match-strip__badge, .match-strip__venue { justify-self: start; }
	.league-table .is-hide-sm { display: none; }
	.supporters-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
	.recruit-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
	.recruit { padding: 24px; }
	.footer-cols { grid-template-columns: 1fr 1fr; }
	.support-cta__title { font-size: 34px; }
}
