/* =====================================================================
   Super Challengers — public theme
   Colours come from CMS settings via --brand / --brand-dk / --accent.
   ===================================================================== */
:root {
  --brand: #14161c;
  --brand-dk: #0b0c10;
  --accent: #f5c400;
  --live: #e11d48;
  --on-accent: #111;

  --bg: #f3f4f6;
  --surface: #ffffff;
  --surface-2: #f8f9fb;
  --text: #11151c;
  --text-2: #4b5563;
  --muted: #6b7280;
  --line: #e5e7eb;
  --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 4px 16px rgba(16, 24, 40, .06);
  --shadow-lg: 0 10px 40px rgba(16, 24, 40, .16);

  --radius: 10px;
  --radius-sm: 6px;
  --container: 1280px;
  --gutter: 16px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  --header-h: 76px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0d12; --surface: #151922; --surface-2: #1b202b; --text: #e8eaee; --text-2: #b4bac5;
    --muted: #8a93a3; --line: #262c38; --shadow: 0 1px 2px rgba(0,0,0,.4), 0 4px 16px rgba(0,0,0,.3);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b0d12; --surface: #151922; --surface-2: #1b202b; --text: #e8eaee; --text-2: #b4bac5;
  --muted: #8a93a3; --line: #262c38; --shadow: 0 1px 2px rgba(0,0,0,.4), 0 4px 16px rgba(0,0,0,.3);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55;
  color: var(--text); background: var(--bg); overflow-x: hidden;
}
img, video, iframe { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--accent); color: var(--on-accent); padding: 8px 14px; border-radius: 4px; }
.skip-link:focus { left: 8px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 24px; } }

/* ---------- Buttons, chips, tags ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em; padding: .75em 1.4em; border-radius: 999px;
  font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: .04em; text-transform: uppercase;
  border: 2px solid transparent; transition: transform .15s, background .15s, color .15s; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--accent { background: var(--accent); color: var(--on-accent); }
.btn--accent:hover { color: var(--on-accent); filter: brightness(1.05); }
.btn--dark { background: var(--brand-dk); color: #fff; }
.btn--dark:hover { color: var(--accent); }
.btn--ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--outline { border-color: var(--line); color: var(--text); background: var(--surface); }

.tag {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--brand); background: color-mix(in srgb, var(--accent) 85%, #fff); padding: .2em .6em; border-radius: 4px;
}
:root[data-theme="dark"] .tag { color: #111; }
.tag--accent { background: var(--accent); color: var(--on-accent); }
.tag--plain { background: none; color: var(--accent); padding: 0; }
.meta { font-size: .8rem; color: var(--muted); }

.chip { display: inline-flex; align-items: center; gap: .4em; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: .25em .6em; border-radius: 4px; }
.chip--live { background: var(--live); color: #fff; }
.chip--result { background: var(--brand); color: #fff; }
.chip--upcoming { background: color-mix(in srgb, var(--accent) 25%, transparent); color: var(--text); }
.chip--muted { background: var(--line); color: var(--text-2); }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: pulse 1.2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1 } 50% { opacity: .25 } }

/* ---------- Utility bar & header ---------- */
.utility-bar { background: var(--brand-dk); color: rgba(255,255,255,.75); font-size: .8rem; }
.utility-bar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 34px; gap: 16px; }
.utility-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.utility-nav a:hover, .utility-social a:hover { color: var(--accent); }
.utility-social { display: flex; gap: 14px; }
@media (max-width: 767px) { .utility-bar { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 50; background: var(--brand); color: #fff;
  border-bottom: 3px solid var(--accent); box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand:hover { color: inherit; }
.brand__logo { width: 58px; height: 58px; object-fit: cover; border-radius: 50%; border: 2px solid var(--accent); background: #000; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--display); font-weight: 800; font-size: 1.55rem; text-transform: uppercase; letter-spacing: .02em; }
.brand__tag { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin-top: 4px; }

.main-nav { flex: 1; }
.main-nav ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 4px; }
.main-nav a {
  display: block; padding: 10px 14px; font-family: var(--display); font-weight: 700; font-size: 1.15rem;
  letter-spacing: .05em; text-transform: uppercase; position: relative;
}
.main-nav ul a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 3px; background: var(--accent); transform: scaleX(0); transition: transform .2s; }
.main-nav ul a:hover::after, .main-nav ul a.is-active::after { transform: scaleX(1); }
.main-nav ul a.is-active { color: var(--accent); }
.main-nav__extra { display: none; }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.header-search { display: flex; align-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 999px; overflow: hidden; }
.header-search input { background: none; border: 0; color: #fff; padding: 8px 4px 8px 14px; width: 190px; font: inherit; font-size: .85rem; }
.header-search input::placeholder { color: rgba(255,255,255,.55); }
.header-search input:focus { outline: none; }
.header-search button { background: none; border: 0; padding: 8px 12px; color: #fff; }
.header-search:focus-within { border-color: var(--accent); }

.nav-toggle { display: none; width: 44px; height: 44px; background: none; border: 0; padding: 10px; flex-direction: column; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1100px) {
  .header-search input { width: 120px; }
}
@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .brand__logo { width: 46px; height: 46px; }
  .brand__name { font-size: 1.3rem; }
  .nav-toggle { display: flex; }
  .header-search { display: none; }
  .main-nav {
    position: fixed; inset: calc(var(--header-h) + 3px) 0 0 0; background: var(--brand-dk); padding: 16px var(--gutter) 40px;
    transform: translateX(100%); transition: transform .25s ease; overflow-y: auto; visibility: hidden;
  }
  .nav-open .main-nav { transform: none; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a { font-size: 1.5rem; padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .main-nav ul a::after { display: none; }
  .main-nav__extra { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 20px; color: rgba(255,255,255,.7); font-size: .9rem; }
  .main-nav__extra a { padding: 4px 0; font-family: var(--font); font-weight: 500; font-size: .9rem; text-transform: none; letter-spacing: 0; }
  .nav-open { overflow: hidden; }
}

/* ---------- Horizontal scroller ---------- */
.h-scroll { position: relative; min-width: 0; }
.h-scroll__track {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; padding: 4px 2px 8px;
}
.h-scroll__track::-webkit-scrollbar { display: none; }
.h-scroll__track > * { scroll-snap-align: start; flex-shrink: 0; }
.h-scroll__btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 38px; height: 38px; border-radius: 50%;
  border: 0; background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg); display: grid; place-items: center;
  transition: opacity .2s;
}
.h-scroll__btn.prev { left: -10px; }
.h-scroll__btn.next { right: -10px; }
.h-scroll__btn[disabled] { opacity: 0; pointer-events: none; }
@media (hover: none) { .h-scroll__btn { display: none; } }

/* ---------- Score strip ---------- */
.score-strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.score-strip__inner { display: flex; align-items: stretch; gap: 16px; padding-top: 12px; padding-bottom: 8px; }
.score-strip__label {
  display: flex; flex-direction: column; justify-content: center; gap: 6px; flex-shrink: 0; padding-right: 16px; border-right: 1px solid var(--line);
  font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.25rem; line-height: 1;
}
.score-strip__all { font-family: var(--font); font-size: .75rem; font-weight: 600; text-transform: none; color: var(--muted); }
.score-strip__all:hover { color: var(--accent); }
.score-strip .h-scroll { flex: 1; }
@media (max-width: 640px) { .score-strip__label { display: none; } }

/* ---------- Match card ---------- */
.match-card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; transition: border-color .15s, box-shadow .15s;
}
.match-card:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.match-card__link { position: absolute; inset: 0; z-index: 1; }
.match-card--strip { width: 270px; }
.match-card.is-live { border-color: color-mix(in srgb, var(--live) 50%, var(--line)); }
.match-card__head { display: flex; align-items: center; gap: 8px; min-width: 0; }
.match-card__comp { font-size: .72rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.match-card__teams { display: flex; flex-direction: column; gap: 6px; }
.match-team { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; color: var(--text-2); }
.match-team.is-winner { color: var(--text); }
.match-team.is-winner .match-team__score { font-weight: 800; }
.match-team__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.match-team__name .short { display: none; }
.match-card--strip .match-team__name .full { display: none; }
.match-card--strip .match-team__name .short { display: inline; font-family: var(--display); font-size: 1.1rem; letter-spacing: .03em; }
.match-team__score { font-family: var(--display); font-size: 1.15rem; font-weight: 700; color: var(--text); white-space: nowrap; }
.match-team__score small { font-family: var(--font); font-size: .72rem; color: var(--muted); font-weight: 500; }
.match-card__foot { font-size: .76rem; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.match-card.is-completed .match-card__foot { color: var(--text-2); font-weight: 600; }
.match-card--list { margin-bottom: 10px; }
.match-card--list:last-child { margin-bottom: 0; }
.match-card--wide .match-team { font-size: 1.05rem; }

.team-badge { width: 28px; height: 28px; border-radius: 50%; object-fit: contain; flex-shrink: 0; background: var(--surface-2); }
.team-badge--text {
  display: inline-grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: .7rem;
  background: var(--brand); color: #fff; letter-spacing: .02em;
}
.team-badge--text.is-home { background: var(--accent); color: var(--on-accent); }

/* ---------- Hero carousel ---------- */
.hero { background: var(--brand-dk); padding: 20px 0 24px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; }
.hero__stage { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-slide__link { display: block; height: 100%; color: #fff; }
.hero-slide__link:hover { color: #fff; }
.hero-slide__img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 6s ease; }
.hero-slide.is-active .hero-slide__img { transform: scale(1.08); }
.hero-slide__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.85) 100%); }
.hero-slide__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 28px 64px; max-width: 900px; }
.hero-slide__title { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.6rem, 3.6vw, 3rem); line-height: 1.02; margin-top: 10px; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.hero-slide__meta { margin: 10px 0 0; color: rgba(255,255,255,.85); max-width: 640px; font-size: .95rem; }
.play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; box-shadow: 0 6px 24px rgba(0,0,0,.4); transition: transform .2s; }
.play-btn i { margin-left: 3px; }
.play-btn--xl { width: 76px; height: 76px; font-size: 1.6rem; top: 42%; }
a:hover .play-btn { transform: translate(-50%, -50%) scale(1.08); }
.hero__controls { position: absolute; right: 18px; bottom: 18px; display: flex; align-items: center; gap: 10px; color: #fff; z-index: 2; font-size: .85rem; }
.hero__controls button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); background: rgba(0,0,0,.35); color: #fff; }
.hero__controls button:hover { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.hero__count b { color: var(--accent); }
.hero__thumbs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.hero-thumb {
  width: 100%; display: flex; gap: 12px; align-items: center; text-align: left; background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08); border-left: 3px solid transparent; border-radius: var(--radius-sm); padding: 8px; color: #fff;
  transition: background .15s, border-color .15s;
}
.hero-thumb:hover { background: rgba(255,255,255,.09); }
.hero-thumb.is-active { border-left-color: var(--accent); background: rgba(255,255,255,.1); }
.hero-thumb__img { position: relative; width: 110px; aspect-ratio: 16/9; border-radius: 4px; overflow: hidden; flex-shrink: 0; }
.hero-thumb__img img { width: 100%; height: 100%; object-fit: cover; }
.hero-thumb__img i { position: absolute; inset: 0; display: grid; place-items: center; font-size: .9rem; background: rgba(0,0,0,.3); }
.hero-thumb__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.hero-thumb__tag { font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.hero-thumb__title { font-weight: 600; font-size: .86rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 1023px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__thumbs { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .hero__thumbs li { flex: 0 0 260px; }
}
@media (max-width: 640px) {
  .hero { padding: 0 0 14px; }
  .hero .container.hero__grid { padding: 0; }
  .hero__stage { border-radius: 0; aspect-ratio: 4 / 3.4; }
  .hero-slide__body { padding: 18px 16px 58px; }
  .hero__thumbs { padding: 0 16px; }
  .hero__thumbs li { flex-basis: 220px; }
  .hero-thumb__img { width: 80px; }
}

.hero--video { position: relative; padding: 0; min-height: 60vh; display: grid; place-items: center; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero__welcome { position: relative; color: #fff; text-align: center; padding: 80px var(--gutter); }
.hero__welcome h1 { font-family: var(--display); font-size: clamp(2.4rem, 6vw, 4.5rem); text-transform: uppercase; }
.hero__welcome p { max-width: 640px; margin: 12px auto 24px; font-size: 1.1rem; }

/* ---------- Sections ---------- */
.block { padding: 36px 0 12px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-title {
  font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: .01em; padding-left: 14px; border-left: 6px solid var(--accent); line-height: 1;
}
.more-link { font-size: .85rem; font-weight: 600; color: var(--text-2); white-space: nowrap; }
.more-link i { font-size: .75rem; margin-left: 4px; transition: transform .15s; }
.more-link:hover i { transform: translateX(3px); }

.home-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; padding-bottom: 36px; }
.home-grid .block--side { padding-top: 36px; position: sticky; top: calc(var(--header-h) + 16px); }
@media (max-width: 1023px) { .home-grid { grid-template-columns: 1fr; gap: 0; } .home-grid .block--side { position: static; } }

/* News */
.news-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; }
.news-list { display: flex; flex-direction: column; gap: 12px; }
.news-row { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 14px; background: var(--surface); border-radius: var(--radius); padding: 10px; box-shadow: var(--shadow); }
.news-row__media { display: block; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden; background: var(--surface-2); }
.news-row__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.news-row:hover .news-row__media img { transform: scale(1.05); }
.news-row__body { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; min-width: 0; }
.news-row__title { font-size: .98rem; font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-row__excerpt { margin: 0; color: var(--text-2); font-size: .92rem; }
.news-row--large { grid-template-columns: 1fr; padding: 0; overflow: hidden; align-content: start; }
.news-row--large .news-row__media { aspect-ratio: 16 / 9; border-radius: 0; }
.news-row--large .news-row__body { padding: 4px 18px 18px; gap: 8px; }
.news-row--large .news-row__title { font-family: var(--display); font-size: 1.7rem; font-weight: 700; line-height: 1.1; text-transform: uppercase; -webkit-line-clamp: 4; }
@media (max-width: 860px) { .news-layout { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .news-row:not(.news-row--large) { grid-template-columns: 104px minmax(0,1fr); } }

.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.news-grid .news-row { grid-template-columns: 1fr; padding: 0; overflow: hidden; align-content: start; }
.news-grid .news-row__media { aspect-ratio: 16/9; border-radius: 0; }
.news-grid .news-row__body { padding: 4px 16px 16px; }

/* Panels (fixtures / table) */
.panel { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; margin-bottom: 20px; }
.panel__tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--brand); }
.panel__tabs button { background: none; border: 0; padding: 14px; color: rgba(255,255,255,.7); font-family: var(--display); font-weight: 700; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .05em; border-bottom: 3px solid transparent; }
.panel__tabs button.is-active { color: #fff; border-bottom-color: var(--accent); }
.panel__body { padding: 14px; }
.panel__title { font-family: var(--display); font-size: 1.3rem; text-transform: uppercase; padding: 14px 14px 6px; }
.panel__title span { color: var(--muted); font-size: 1rem; }
.panel__more { display: block; text-align: center; padding: 12px; font-size: .85rem; font-weight: 600; border-top: 1px solid var(--line); color: var(--text-2); }

.points-table { width: 100%; border-collapse: collapse; font-size: .88rem; font-variant-numeric: tabular-nums; }
.points-table th { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 8px 6px; border-bottom: 1px solid var(--line); }
.points-table td { padding: 9px 6px; text-align: center; border-bottom: 1px solid var(--line); }
.points-table .l { text-align: left; }
.points-table tr.is-home td { background: color-mix(in srgb, var(--accent) 12%, transparent); font-weight: 700; }
.points-table--compact { margin: 0 0 4px; }
.points-table--compact th:first-child, .points-table--compact td:first-child { padding-left: 14px; }
.team-cell { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.team-cell .team-badge { width: 24px; height: 24px; font-size: .6rem; }
.table-wrap { overflow-x: auto; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }
.table-wrap .points-table td, .table-wrap .points-table th { padding: 12px 10px; }

/* Dark band (videos) */
.band { padding: 40px 0; }
.band--dark { background: var(--brand-dk); color: #fff; }
.band--dark .section-title { color: #fff; }
.band--dark .more-link { color: rgba(255,255,255,.75); }
.video-track > .video-card { width: 300px; }
.video-card { display: flex; flex-direction: column; gap: 10px; }
.video-card__media { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.video-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s, opacity .3s; opacity: .92; }
.video-card:hover .video-card__media img { transform: scale(1.05); opacity: 1; }
.video-card .play-btn { width: 44px; height: 44px; font-size: .95rem; }
.duration { position: absolute; right: 8px; bottom: 8px; background: rgba(0,0,0,.75); color: #fff; font-size: .72rem; font-weight: 600; padding: 2px 6px; border-radius: 3px; }
.video-card__body { display: flex; flex-direction: column; gap: 4px; }
.video-card__title { font-size: 1rem; font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.band--dark .meta { color: rgba(255,255,255,.6); }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px 20px; }
.band--dark .h-scroll__btn { background: #fff; color: #111; }

/* Player of the match */
.potm { background: linear-gradient(115deg, var(--brand) 0%, var(--brand-dk) 55%, color-mix(in srgb, var(--accent) 35%, var(--brand-dk)) 100%); color: #fff; overflow: hidden; }
.potm__grid { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 40px; align-items: center; }
.potm__media { position: relative; align-self: end; padding-top: 30px; }
.potm__media::before { content: ''; position: absolute; left: 10%; right: 10%; bottom: 0; top: 18%; border-radius: 50% 50% 0 0; background: var(--accent); opacity: .95; }
.potm__media img { position: relative; width: 100%; max-height: 460px; object-fit: cover; object-position: top; border-radius: 200px 200px 0 0; }
.potm__body { padding: 40px 0; }
.potm__kicker { display: inline-flex; gap: 8px; align-items: center; color: var(--accent); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; }
.potm__name { font-family: var(--display); font-size: clamp(2.4rem, 5vw, 4rem); text-transform: uppercase; font-weight: 800; line-height: .95; margin: 10px 0 12px; }
.potm__headline { font-family: var(--display); font-size: 1.6rem; font-weight: 600; color: var(--accent); margin: 0 0 6px; }
.potm__match { margin: 0 0 14px; color: rgba(255,255,255,.75); font-size: .9rem; }
.potm__desc { margin: 0 0 22px; max-width: 620px; color: rgba(255,255,255,.88); }
.potm__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) {
  .potm__grid { grid-template-columns: 1fr; gap: 0; }
  .potm__media { max-width: 300px; margin: 0 auto; }
  .potm__body { padding: 24px 0 36px; text-align: center; }
  .potm__actions { justify-content: center; }
  .potm__desc { margin-left: auto; margin-right: auto; }
}

/* Players */
.squad-track > .player-card { width: 210px; }
.player-card { background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s; }
.player-card:hover { transform: translateY(-3px); }
.player-card__link:hover { color: inherit; }
.player-card__media { position: relative; aspect-ratio: 4 / 5; background: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--accent) 70%, #fff) 0%, var(--accent) 45%, color-mix(in srgb, var(--accent) 60%, #000) 100%); overflow: hidden; }
.player-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .3s; }
.player-card:hover .player-card__media img { transform: scale(1.04); }
.player-card__no { position: absolute; top: 8px; left: 12px; z-index: 1; font-family: var(--display); font-weight: 800; font-size: 2.4rem; color: rgba(0,0,0,.35); line-height: 1; }
.player-card__body { padding: 12px 14px 14px; border-top: 3px solid var(--accent); }
.player-card__name { font-family: var(--display); font-weight: 700; font-size: 1.3rem; text-transform: uppercase; line-height: 1.05; }
.player-card__role { font-size: .8rem; color: var(--muted); }
.cap { text-decoration: none; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--brand); color: var(--accent); font-size: .7rem; vertical-align: middle; font-family: var(--font); }
.player-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
@media (max-width: 480px) { .player-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; } .player-card__name { font-size: 1.1rem; } }

/* Promo */
.promo {
  margin: 36px 0 12px; border-radius: var(--radius); padding: 32px 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: var(--accent); color: var(--on-accent); position: relative; overflow: hidden;
}
.promo::after { content: ''; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; border: 40px solid rgba(0,0,0,.07); }
.promo__text { position: relative; z-index: 1; }
.promo h2 { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.3rem); text-transform: uppercase; font-weight: 800; }
.promo p { margin: 6px 0 0; max-width: 620px; }
.promo .btn { position: relative; z-index: 1; }
@media (max-width: 720px) { .promo { flex-direction: column; align-items: flex-start; padding: 26px 22px; } }

/* Honours */
.honours-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.honour-tile { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.honour-tile__media { aspect-ratio: 4/3; display: grid; place-items: center; background: linear-gradient(160deg, var(--brand) 0%, var(--brand-dk) 100%); color: var(--accent); font-size: 3.4rem; }
.honour-tile__media img { width: 100%; height: 100%; object-fit: cover; }
.honour-tile__body { padding: 14px 16px 16px; }
.honour-tile__year { font-family: var(--display); color: var(--accent); font-weight: 700; font-size: 1.1rem; }
.honour-tile h3 { font-size: 1rem; font-weight: 700; margin-top: 2px; }
.honour-tile p { margin: 6px 0 0; color: var(--text-2); font-size: .88rem; }

/* Sponsors */
.sponsors-band { background: var(--surface); border-top: 1px solid var(--line); padding: 36px 0 20px; margin-top: 36px; }
.sponsor-tier { text-align: center; margin-bottom: 26px; }
.sponsor-tier__label { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 12px; }
.sponsor-tier__logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 36px; align-items: center; }
.sponsor-logo { display: grid; place-items: center; height: 60px; min-width: 120px; }
.sponsor-logo img { max-height: 60px; max-width: 170px; object-fit: contain; filter: grayscale(.2); transition: filter .2s, transform .2s; }
.sponsor-logo:hover img { filter: none; transform: scale(1.04); }
.sponsor-logo span { font-family: var(--display); font-weight: 700; font-size: 1.3rem; text-transform: uppercase; color: var(--text-2); }
.sponsor-tier--title .sponsor-logo { height: 90px; }
.sponsor-tier--title .sponsor-logo img { max-height: 90px; max-width: 260px; }
.sponsor-tier--title .sponsor-logo span { font-size: 2rem; color: var(--text); }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-dk); color: rgba(255,255,255,.75); padding: 44px 0 20px; font-size: .9rem; }
.site-footer__top { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.1); }
.brand--footer { color: #fff; }
.brand--footer .brand__logo { width: 64px; height: 64px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; }
.footer-social a:hover { background: var(--accent); color: var(--on-accent); }
.site-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 28px; padding: 30px 0; }
.footer-col__title { font-family: var(--display); color: #fff; text-transform: uppercase; font-size: 1.2rem; letter-spacing: .05em; margin-bottom: 12px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact i { color: var(--accent); width: 16px; margin-top: 4px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: .8rem; }
.copyright { margin: 0; }
.legal-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.theme-switch { display: inline-flex; background: rgba(255,255,255,.08); border-radius: 999px; padding: 3px; }
.theme-switch button { background: none; border: 0; width: 32px; height: 28px; border-radius: 999px; color: rgba(255,255,255,.7); }
.theme-switch button.is-active { background: var(--accent); color: var(--on-accent); }

/* ---------- Inner pages ---------- */
.page-hero {
  position: relative; background: var(--brand-dk); color: #fff; padding: 46px 0 40px; overflow: hidden;
}
.page-hero::before { content: ''; position: absolute; inset: 0; background-image: var(--hero-img, none); background-size: cover; background-position: center; opacity: .28; }
.page-hero::after { content: ''; position: absolute; right: -60px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid color-mix(in srgb, var(--accent) 18%, transparent); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero__kicker { display: inline-block; color: var(--accent); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; margin-bottom: 6px; }
.page-hero__title { font-family: var(--display); font-size: clamp(2.2rem, 5vw, 3.6rem); text-transform: uppercase; font-weight: 800; line-height: 1; }

.page-body { padding: 30px 0 50px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.filter-pill { padding: 7px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--text-2); }
.filter-pill:hover { border-color: var(--accent); color: var(--text); }
.filter-pill.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }

.tabs-bar { display: flex; gap: 4px; border-bottom: 2px solid var(--line); margin-bottom: 22px; overflow-x: auto; scrollbar-width: none; }
.tabs-bar a { padding: 12px 18px; font-family: var(--display); font-weight: 700; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -2px; white-space: nowrap; }
.tabs-bar a.is-active { color: var(--text); border-bottom-color: var(--accent); }

.match-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.month-label { grid-column: 1 / -1; font-family: var(--display); font-size: 1.2rem; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
@media (max-width: 400px) { .match-list { grid-template-columns: 1fr; } }

.pager { display: flex; justify-content: center; gap: 6px; margin-top: 30px; flex-wrap: wrap; }
.pager-item { min-width: 38px; height: 38px; display: grid; place-items: center; border-radius: 6px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: .9rem; }
.pager-item.is-current { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

.empty-state { text-align: center; padding: 36px 16px; color: var(--muted); }
.empty-state i { font-size: 1.8rem; margin-bottom: 8px; color: var(--line); }
.empty-state p { margin: 0; }

/* Article */
.article { max-width: 820px; margin: 0 auto; }
.article__head { padding: 34px 0 18px; }
.article__title { font-family: var(--display); font-size: clamp(2rem, 4.6vw, 3.3rem); text-transform: uppercase; font-weight: 800; line-height: 1.02; margin: 12px 0; }
.article__meta { display: flex; gap: 14px; flex-wrap: wrap; color: var(--muted); font-size: .88rem; align-items: center; }
.article__lead { font-size: 1.15rem; color: var(--text-2); margin: 14px 0 0; }
.article__image { border-radius: var(--radius); overflow: hidden; margin: 6px 0 26px; }
.article__image img { width: 100%; }
.prose { font-size: 1.06rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin: 0; }
.prose h2, .prose h3 { font-family: var(--display); text-transform: uppercase; margin-top: 1.6em; }
.prose h2 { font-size: 1.8rem; } .prose h3 { font-size: 1.4rem; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
:root:not([data-theme="dark"]) .prose a { color: color-mix(in srgb, var(--accent) 55%, #000); }
.prose img { border-radius: var(--radius-sm); height: auto; }
.prose blockquote { margin-left: 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--accent); font-size: 1.2rem; font-style: italic; color: var(--text-2); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.prose iframe { width: 100%; aspect-ratio: 16/9; height: auto; border: 0; border-radius: var(--radius-sm); }
.share { display: flex; gap: 8px; align-items: center; margin: 30px 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--muted); }
.share a, .share button { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); color: var(--text); }
.share a:hover, .share button:hover { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }

.related { padding: 10px 0 40px; }

/* Video page */
.player-frame { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; }
.player-frame iframe, .player-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-page { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; padding: 28px 0 50px; }
.video-page__title { font-family: var(--display); font-size: clamp(1.7rem, 3.4vw, 2.5rem); text-transform: uppercase; margin: 16px 0 6px; }
.video-page__side { display: flex; flex-direction: column; gap: 14px; }
.video-page__side .video-card { flex-direction: row; gap: 12px; }
.video-page__side .video-card__media { width: 150px; flex-shrink: 0; }
.video-page__side .play-btn { width: 30px; height: 30px; font-size: .7rem; }
.video-page__side .video-card__title { font-size: .9rem; }
@media (max-width: 960px) { .video-page { grid-template-columns: 1fr; } }

/* Match page */
.scoreboard { background: var(--brand); color: #fff; border-radius: var(--radius); padding: 26px; margin-top: -40px; position: relative; z-index: 2; box-shadow: var(--shadow-lg); }
.scoreboard__meta { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .85rem; color: rgba(255,255,255,.75); margin-bottom: 18px; }
.scoreboard__teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.sb-team { display: flex; align-items: center; gap: 16px; }
.sb-team--right { flex-direction: row-reverse; text-align: right; }
.sb-team .team-badge { width: 64px; height: 64px; font-size: 1.1rem; }
.sb-team__name { font-family: var(--display); font-size: 1.5rem; font-weight: 700; text-transform: uppercase; line-height: 1.05; }
.sb-team__score { font-family: var(--display); font-size: 2.4rem; font-weight: 800; line-height: 1; }
.sb-team__score small { font-size: 1rem; color: rgba(255,255,255,.7); font-weight: 500; }
.sb-team.is-winner .sb-team__score { color: var(--accent); }
.sb-vs { font-family: var(--display); font-size: 1.2rem; color: rgba(255,255,255,.5); }
.scoreboard__result { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.15); text-align: center; font-weight: 700; color: var(--accent); }
@media (max-width: 640px) {
  .scoreboard { padding: 18px; }
  .scoreboard__teams { grid-template-columns: 1fr; gap: 12px; }
  .sb-team--right { flex-direction: row; text-align: left; }
  .sb-vs { display: none; }
  .sb-team .team-badge { width: 44px; height: 44px; }
  .sb-team__score { font-size: 1.8rem; margin-left: auto; }
}
.info-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin: 24px 0; }
.info-item { background: var(--surface); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); }
.info-item dt { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.info-item dd { margin: 4px 0 0; font-weight: 600; }

/* Player profile */
.profile { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 36px; padding: 30px 0 50px; }
.profile__photo { border-radius: var(--radius); overflow: hidden; background: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--accent) 70%, #fff), var(--accent) 50%, color-mix(in srgb, var(--accent) 55%, #000)); aspect-ratio: 4/5; }
.profile__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.profile__role { color: var(--accent); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .85rem; }
.profile__name { font-family: var(--display); font-size: clamp(2.4rem, 5vw, 3.8rem); text-transform: uppercase; font-weight: 800; line-height: .95; margin: 6px 0 16px; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; margin: 18px 0 26px; }
.stat { background: var(--surface); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); border-top: 3px solid var(--accent); }
.stat b { display: block; font-family: var(--display); font-size: 2rem; font-weight: 800; line-height: 1; }
.stat span { font-size: .75rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.stat-heading { font-family: var(--display); text-transform: uppercase; font-size: 1.3rem; margin-top: 8px; }
@media (max-width: 860px) { .profile { grid-template-columns: 1fr; } .profile__photo { max-width: 360px; } }

/* Photos */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.gallery-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; display: block; background: var(--brand); color: #fff; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-card:hover img { transform: scale(1.06); }
.gallery-card:hover { color: #fff; }
.gallery-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; background: linear-gradient(transparent, rgba(0,0,0,.85)); }
.gallery-card__title { font-family: var(--display); font-size: 1.4rem; text-transform: uppercase; font-weight: 700; line-height: 1.05; }
.gallery-card__count { position: absolute; top: 12px; right: 12px; background: rgba(0,0,0,.65); padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; }
.masonry { columns: 3 260px; column-gap: 14px; }
.masonry a { display: block; margin-bottom: 14px; border-radius: var(--radius-sm); overflow: hidden; break-inside: avoid; }
.masonry img { width: 100%; transition: transform .3s; }
.masonry a:hover img { transform: scale(1.03); }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.92); display: grid; place-items: center; padding: 20px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 84vh; max-width: 100%; object-fit: contain; border-radius: 4px; }
.lightbox__caption { color: #fff; text-align: center; margin-top: 12px; font-size: .9rem; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); border: 0; color: #fff; width: 46px; height: 46px; border-radius: 50%; font-size: 1.2rem; }
.lightbox .lb-close { top: 16px; right: 16px; }
.lightbox .lb-prev { left: 16px; top: 50%; }
.lightbox .lb-next { right: 16px; top: 50%; }

/* Shop */
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.product { background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.product__media { aspect-ratio: 1; background: var(--surface-2); }
.product__media img { width: 100%; height: 100%; object-fit: cover; }
.product__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product__name { font-weight: 700; font-size: 1.05rem; }
.product__desc { color: var(--text-2); font-size: .88rem; margin: 0; flex: 1; }
.product__price { font-family: var(--display); font-size: 1.6rem; font-weight: 800; }
.product__stock { font-size: .78rem; font-weight: 600; }
.product__stock.out { color: var(--live); }
.product .btn { justify-content: center; margin-top: 6px; }
.btn--whatsapp { background: #25d366; color: #fff; }
.btn--whatsapp:hover { color: #fff; }

/* Forms (contact) */
.form-card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea, .field select { width: 100%; padding: 11px 13px; border-radius: 6px; border: 1px solid var(--line); background: var(--surface-2); color: var(--text); font: inherit; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }
.hp { position: absolute; left: -5000px; }
.alert { padding: 12px 16px; border-radius: 6px; margin-bottom: 18px; font-weight: 500; }
.alert--success { background: #dcfce7; color: #14532d; }
.alert--error { background: #fee2e2; color: #7f1d1d; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.two-col { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

/* Popup */
.popup { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 20px; }
.popup[hidden] { display: none; }
.popup__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.75); }
.popup__dialog { position: relative; max-width: min(560px, 100%); max-height: 90vh; animation: pop .3s ease; }
.popup__dialog img { max-height: 86vh; width: auto; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.popup__close { position: absolute; top: -14px; right: -14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--accent); color: var(--on-accent); font-size: 1.6rem; line-height: 1; box-shadow: var(--shadow-lg); }
@keyframes pop { from { transform: scale(.94); opacity: 0 } to { transform: none; opacity: 1 } }

.search-results h2 { font-family: var(--display); text-transform: uppercase; font-size: 1.5rem; margin: 26px 0 12px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Homepage banner (managed in CMS → Homepage Banner) ---------- */
.banner { position: relative; overflow: hidden; background: var(--brand-dk); color: #fff; min-height: 420px; height: 62vh; max-height: 760px; }
.banner--short  { height: 44vh; min-height: 340px; }
.banner--tall   { height: 80vh; max-height: 920px; }
.banner--full   { height: calc(100vh - var(--header-h) - 3px); max-height: none; }
.banner__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; display: flex; align-items: center; }
.banner__slide.is-active { opacity: 1; visibility: visible; }
.banner__media { position: absolute; inset: 0; overflow: hidden; }
.banner__video, .banner__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner__yt { position: absolute; top: 50%; left: 50%; width: 100vw; height: 56.25vw; min-height: 100%; min-width: 177.78vh; transform: translate(-50%, -50%); border: 0; pointer-events: none; }
.banner__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,calc(var(--overlay, .45) * .6)) 0%, rgba(0,0,0,var(--overlay, .45)) 60%, rgba(0,0,0,calc(var(--overlay, .45) + .15)) 100%); }
.banner__content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.banner__slide--left .banner__content { align-items: flex-start; text-align: left; }
.banner__kicker { color: var(--accent); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: .82rem; }
.banner__title { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(2.4rem, 7vw, 5.2rem); line-height: .95; text-shadow: 0 4px 24px rgba(0,0,0,.35); max-width: 16ch; }
.banner__text { margin: 0; max-width: 640px; font-size: clamp(1rem, 1.6vw, 1.2rem); color: rgba(255,255,255,.92); text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.banner__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.banner__slide--center .banner__actions { justify-content: center; }
.banner__dots { position: absolute; left: 0; right: 0; bottom: 22px; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.banner__dots button { width: 34px; height: 5px; border-radius: 3px; border: 0; padding: 0; background: rgba(255,255,255,.4); }
.banner__dots button.is-active { background: var(--accent); }
.banner__pause { position: absolute; right: 18px; bottom: 16px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.45); background: rgba(0,0,0,.35); color: #fff; }
.banner__pause:hover { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
@media (max-width: 640px) {
  .banner, .banner--tall { height: 70vh; min-height: 420px; }
  .banner--short { height: 52vh; min-height: 320px; }
}
@media (prefers-reduced-motion: reduce) { .banner__video { display: none; } }

/* Sponsors with photos */
.sponsor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.sponsor-card { background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.sponsor-card__media { position: relative; display: grid; place-items: center; aspect-ratio: 16/10; background: #fff; overflow: hidden; }
.sponsor-card__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.sponsor-card:hover .sponsor-card__photo { transform: scale(1.05); }
.sponsor-card__logo { position: relative; display: grid; place-items: center; padding: 20px; max-width: 80%; }
.sponsor-card__logo img { max-height: 110px; max-width: 100%; object-fit: contain; }
.sponsor-card__logo span { font-family: var(--display); font-weight: 700; font-size: 1.5rem; text-transform: uppercase; color: #333; text-align: center; }
.sponsor-card__logo.is-over { position: absolute; left: 12px; bottom: 12px; max-width: 45%; padding: 8px 12px; background: rgba(255,255,255,.94); border-radius: 8px; box-shadow: var(--shadow); }
.sponsor-card__logo.is-over img { max-height: 46px; }
.sponsor-card__logo.is-over span { font-size: 1rem; }
.sponsor-intro { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 30px; align-items: start; margin-bottom: 34px; }
.sponsor-intro__logo { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; display: grid; place-items: center; }
.sponsor-intro__logo img { max-height: 160px; object-fit: contain; }
@media (max-width: 720px) { .sponsor-intro { grid-template-columns: 1fr; } .sponsor-intro__logo { max-width: 260px; } }
