/* ==========================================================================
   AS ARTA SOLAR 7 — public design system
   Palette: royal #5573B3 · gold #F5B432 · navy #142B50 · light #F1F5FC
   ========================================================================== */

@font-face{font-family:Montserrat;src:url("../fonts/montserrat-400.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:Montserrat;src:url("../fonts/montserrat-600.woff2") format("woff2");font-weight:600;font-display:swap}
@font-face{font-family:Montserrat;src:url("../fonts/montserrat-700.woff2") format("woff2");font-weight:700;font-display:swap}
@font-face{font-family:Montserrat;src:url("../fonts/montserrat-800.woff2") format("woff2");font-weight:800;font-display:swap}
@font-face{font-family:Cairo;src:url("../fonts/cairo-400.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:Cairo;src:url("../fonts/cairo-700.woff2") format("woff2");font-weight:700;font-display:swap}

:root{
  --royal:#5573B3; --royal-dark:#44609c; --royal-soft:#e8eefb;
  --gold:#F5B432; --gold-dark:#d99a1c; --gold-soft:#fdf1d6;
  --white:#fff; --navy:#142B50; --navy-2:#0f2140; --navy-3:#1d3a68;
  --light:#F1F5FC; --text:#17243B; --muted:#64748B; --line:#dbe4f2;
  --success:#137a4b; --danger:#b42318;
  --radius:18px; --radius-sm:12px; --radius-lg:28px;
  --shadow-sm:0 2px 10px rgba(20,43,80,.07);
  --shadow:0 18px 45px -22px rgba(20,43,80,.35);
  --shadow-lg:0 40px 80px -40px rgba(20,43,80,.5);
  --container:1200px; --header-h:84px;
  --font:"Montserrat","Cairo",system-ui,-apple-system,"Segoe UI",sans-serif;
  --ease:cubic-bezier(.22,.61,.36,1);
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--font);font-size:1rem;line-height:1.7;color:var(--text);background:var(--white);-webkit-font-smoothing:antialiased}
img,svg,video{max-width:100%;height:auto;display:block}
a{color:var(--royal);text-decoration:none;transition:color .2s var(--ease)}
a:hover{color:var(--gold-dark)}
h1,h2,h3,h4,h5{font-weight:800;line-height:1.15;letter-spacing:-.02em;margin:0 0 .6em;color:var(--navy)}
p{margin:0 0 1rem}
ul,ol{margin:0;padding:0}
button{font-family:inherit}
:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
::selection{background:var(--gold);color:var(--navy)}

.container{width:min(100% - 2.5rem,var(--container));margin-inline:auto}
.section{padding:clamp(3.5rem,7vw,6rem) 0;position:relative}
.section--light{background:var(--light)}
.section--navy{background:var(--navy);color:#e8eefb}
.section--ink{background:radial-gradient(circle at 15% 0%,#1e3b68,#0f2140 65%);color:#e8eefb}
.section--navy h2,.section--ink h2{color:#fff}
.text-center{text-align:center}
.muted{color:var(--muted)}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{position:absolute;inset-inline-start:1rem;top:-100px;z-index:200;background:var(--gold);color:var(--navy);padding:.7rem 1.2rem;border-radius:0 0 10px 10px;font-weight:700}
.skip-link:focus{top:0;color:var(--navy)}
.hp{position:absolute!important;inset-inline-start:-9999px;opacity:0;height:0;width:0}

/* ---------- Typography helpers ---------- */
.kicker{display:inline-flex;align-items:center;gap:.55rem;font-size:.75rem;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--royal);margin-bottom:.9rem}
.kicker::before{content:"";width:26px;height:2px;background:var(--gold)}
.kicker--light{color:var(--gold)}
.section-title{font-size:clamp(1.75rem,3.6vw,2.7rem);margin-bottom:.5rem}
.section-subtitle{color:var(--muted);max-width:56ch;margin-bottom:0}
.section--navy .section-subtitle,.section--ink .section-subtitle{color:#a9bad9}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:2rem;margin-bottom:clamp(1.75rem,4vw,3rem)}
.section-head--center{justify-content:center;text-align:center}
.section-head--center .section-subtitle{margin-inline:auto}
.link-arrow{font-weight:700;color:var(--navy);display:inline-flex;align-items:center;gap:.5rem;white-space:nowrap}
.link-arrow span{transition:transform .2s var(--ease)}
.link-arrow:hover span{transform:translateX(4px)}
.link-arrow--light{color:#fff}
.prose{max-width:72ch}
.prose h2,.prose h3{margin-top:1.6em}
.prose p{color:#33425c}
.prose a{text-decoration:underline;text-underline-offset:3px}
.prose ul,.prose ol{padding-inline-start:1.4rem;margin-bottom:1rem}
.prose img{border-radius:var(--radius-sm);margin:1.5rem 0}

/* ---------- Buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.55rem;padding:.82rem 1.55rem;border-radius:999px;border:2px solid transparent;font-weight:700;font-size:.9rem;letter-spacing:.01em;line-height:1.2;cursor:pointer;transition:all .22s var(--ease);text-align:center}
.btn--gold{background:var(--gold);color:var(--navy);box-shadow:0 10px 24px -14px rgba(245,180,50,.9)}
.btn--gold:hover{background:var(--gold-dark);color:var(--navy);transform:translateY(-2px)}
.btn--navy{background:var(--navy);color:#fff}
.btn--navy:hover{background:var(--navy-3);color:#fff;transform:translateY(-2px)}
.btn--ghost{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.5);color:#fff}
.section--light .btn--ghost,.section .btn--ghost{color:var(--navy);border-color:var(--line);background:#fff}
.section--navy .btn--ghost,.section--ink .btn--ghost,.hero .btn--ghost{color:#fff;border-color:rgba(255,255,255,.5);background:rgba(255,255,255,.06)}
.btn--ghost:hover{border-color:var(--gold);color:var(--gold-dark)}
.section--navy .btn--ghost:hover,.section--ink .btn--ghost:hover,.hero .btn--ghost:hover{background:rgba(255,255,255,.14);color:#fff}
.btn--outline{border-color:var(--royal);color:var(--royal);background:transparent}
.btn--outline:hover{background:var(--royal);color:#fff}
.btn--lg{padding:1rem 2rem;font-size:1rem}
.btn--sm{padding:.55rem 1.1rem;font-size:.8rem}
.btn--block{width:100%}
.btn--danger{background:var(--danger);color:#fff}

/* ---------- Header ---------- */
.site-header{position:sticky;top:0;z-index:90;background:#fff;box-shadow:0 1px 0 rgba(20,43,80,.08)}
.site-header.is-scrolled{box-shadow:0 12px 30px -22px rgba(20,43,80,.6)}
.topbar{background:var(--navy);color:#c6d3ea;font-size:.76rem;font-weight:600}

/* Bandeau d'annonce defilant (Administration > Parametres > Banniere d'annonce) */
.announcement{background:#FEBD01;color:#1A2A4F;overflow:hidden}
.announcement__track{display:flex;width:max-content;animation:announcement-scroll 70s linear infinite;padding:.6rem 0;font-weight:700;font-size:.82rem;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap;will-change:transform}
.announcement__item{padding-inline-end:4rem}
.announcement:hover .announcement__track{animation-play-state:paused}
@keyframes announcement-scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (prefers-reduced-motion: reduce){
  .announcement__track{width:auto;animation:none;transform:none;white-space:normal;text-align:center;justify-content:center;padding:.6rem 1rem}
  .announcement__item{padding-inline-end:0}
  .announcement__item[aria-hidden="true"]{display:none}
}
.topbar__inner{display:flex;justify-content:space-between;align-items:center;gap:1rem;min-height:38px}
.topbar__meta,.topbar__actions{display:flex;gap:1.25rem;align-items:center}
.topbar__link{color:#c6d3ea;display:inline-flex;align-items:center;gap:.4rem}
.topbar__link:hover{color:var(--gold)}
.ico{display:inline-grid;place-items:center;font-size:.85rem}
.ico--fb{width:18px;height:18px;border-radius:50%;background:#fff;color:var(--navy);font-weight:800;font-size:.7rem}
.nav{background:#fff}
.nav__inner{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:var(--header-h)}
.brand{display:inline-flex;align-items:center;gap:.75rem;color:var(--navy);flex:0 0 auto}
.brand:hover{color:var(--navy)}
.brand__badge{width:52px;height:74px;display:grid;place-items:center;flex:0 0 auto}
.brand__badge img{max-height:66px;width:auto;object-fit:contain}
/* Wordmark lockup: the width is set by the widest line, then every other
   line is justified inside that width, so "AS ARTA", "SOLAR 7" and the
   country line start and end on the same axis — the leftover space is
   shared between their letters instead of only between their words. */
.brand__text{display:grid;width:max-content;line-height:1}
/* Wordmark lockup: each letter is its own flex item, so every line is stretched to
   the width of the longest one ("SOLAR 7"). The leftover space is shared between
   the letters — not only between the words — so "AS ARTA", "SOLAR 7" and the
   country line start and end on the same axis. */
.brand__text>strong,.brand__text>em,.brand__text>small{display:flex;justify-content:space-between}
.brand__text>strong>span,.brand__text>em>span,.brand__text>small>span{display:block}
.brand__text .brand__space{flex:0 0 auto}
.brand__text strong{font-size:1.05rem;font-weight:800}
.brand__text em{font-style:normal;font-size:1.3rem;font-weight:800;color:var(--royal)}
.brand__text small{font-size:.6rem;text-transform:uppercase;color:var(--muted);margin-top:.3rem}
.brand--light,.brand--light:hover{color:#fff}
.brand--light .brand__text em{color:var(--gold)}
.brand--light .brand__text small{color:#a9bad9}
.brand--footer,.brand--footer:hover{color:#fff}
.brand--footer .brand__text em{color:var(--gold)}
.brand--footer .brand__text strong{color:var(--gold)}
.brand--footer .brand__text small{color:#a9bad9}
/* Header lockup: shield on the left, wordmark stacked like the club crest. */
.site-header .brand{gap:.9rem}
.site-header .brand__badge{width:52px;height:80px}
.site-header .brand__badge img{max-height:74px}
.site-header .brand__text{justify-content:center}
.site-header .brand__text strong{font-size:1.12rem;line-height:1;color:var(--royal)}
.site-header .brand__text em{font-size:1.58rem;line-height:1;margin-top:.1rem}
.site-header .brand__text small{font-size:.62rem;font-weight:600;margin-top:.42rem;color:var(--muted)}
.nav__links{display:flex;align-items:center;gap:.15rem}
.nav__link{position:relative;padding:.65rem .5rem;font-size:.82rem;font-weight:700;color:var(--navy);border-radius:8px;white-space:nowrap}
.nav__link::after{content:"";position:absolute;left:.7rem;right:.7rem;bottom:.25rem;height:2px;background:var(--gold);transform:scaleX(0);transition:transform .22s var(--ease)}
.nav__link:hover{color:var(--royal)}
.nav__link.is-active{color:var(--royal)}
.nav__link.is-active::after,.nav__link:hover::after{transform:scaleX(1)}
.nav__actions{display:flex;align-items:center;gap:.4rem}
.icon-btn{display:inline-flex;align-items:center;gap:.35rem;justify-content:center;min-width:38px;height:38px;padding:0 .55rem;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--navy);font-weight:700;font-size:.78rem;cursor:pointer;list-style:none}
.icon-btn::-webkit-details-marker{display:none}
.icon-btn:hover{border-color:var(--royal);color:var(--royal)}
.search-pop,.lang-switcher{position:relative}
.search-pop[open] summary,.lang-switcher[open] summary{border-color:var(--royal);color:var(--royal)}
.search-pop__form{position:absolute;inset-inline-end:0;top:calc(100% + .6rem);width:min(340px,80vw);background:#fff;padding:.7rem;border-radius:14px;box-shadow:var(--shadow);display:flex;gap:.5rem;border:1px solid var(--line);z-index:95}
.search-pop__form input{flex:1;min-width:0;border:1px solid var(--line);border-radius:9px;padding:.55rem .7rem;font-size:.85rem}
.lang-switcher__menu{position:absolute;inset-inline-end:0;top:calc(100% + .6rem);min-width:170px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);padding:.4rem;z-index:95}
.lang-switcher__item{display:flex;justify-content:space-between;gap:1rem;padding:.55rem .7rem;border-radius:9px;font-size:.82rem;font-weight:600;color:var(--navy)}
.lang-switcher__item:hover,.lang-switcher__item.is-active{background:var(--light);color:var(--royal)}
.lang-switcher__code{font-size:.68rem;letter-spacing:.12em;color:var(--muted)}
.lang-switcher__current{font-size:.72rem;letter-spacing:.06em}
.nav-toggle{display:none;width:48px;height:48px;border:0;border-radius:12px;background:var(--royal);cursor:pointer;padding:0;place-items:center;align-content:center;gap:3px;transition:background .2s var(--ease)}
.nav-toggle:hover{background:var(--royal-dark)}
.nav-toggle span{display:block;width:22px;height:3px;border-radius:2px;background:#fff;transition:.2s}
.nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.nav-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
.mobile-nav{background:#fff;border-top:1px solid var(--line);padding:1rem 1.25rem 1.6rem;box-shadow:0 24px 40px -30px rgba(20,43,80,.6)}
.mobile-nav nav{display:flex;flex-direction:column}
.mobile-nav nav a{padding:.8rem .25rem;border-bottom:1px solid var(--line);font-weight:700;color:var(--navy)}
.mobile-nav nav a:hover{color:var(--royal)}
.mobile-nav__meta,.mobile-nav__langs{display:flex;flex-wrap:wrap;gap:.75rem 1.25rem;margin-top:1rem;font-size:.8rem}
.mobile-nav__langs a{padding:.3rem .7rem;border:1px solid var(--line);border-radius:999px}
.mobile-nav__langs a.is-active{background:var(--navy);color:#fff;border-color:var(--navy)}

/* ---------- Hero ---------- */
.hero{position:relative;min-height:clamp(520px,78vh,760px);background:var(--navy);overflow:hidden;isolation:isolate}
.hero__slides,.hero__slide{position:absolute;inset:0}
.hero__slide{opacity:0;visibility:hidden;transition:opacity .8s var(--ease),visibility .8s}
.hero__slide.is-active{opacity:1;visibility:visible;z-index:1}
.hero__media{position:absolute;inset:0}
.hero__media img,.hero__media video{width:100%;height:100%;object-fit:cover;object-position:center 30%}
.hero__overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(10,25,48,.92) 0%,rgba(10,25,48,.62) 45%,rgba(10,25,48,.18) 100%)}
.hero__texture{position:absolute;inset:0;background-image:radial-gradient(rgba(255,255,255,.09) 1px,transparent 1px);background-size:22px 22px;opacity:.35}
.hero__content{position:relative;z-index:2;min-height:clamp(520px,78vh,760px);display:flex;flex-direction:column;justify-content:center;padding-block:4rem 5.5rem;max-width:760px;color:#fff}
.hero__eyebrow{display:inline-flex;align-items:center;gap:.65rem;font-size:.75rem;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:var(--gold);margin-bottom:1.2rem}
.hero__crest{width:26px;height:34px;flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center}
.hero__crest img{width:100%;height:100%;object-fit:contain}
.hero__title{font-size:clamp(2.3rem,6vw,4.6rem);color:#fff;line-height:1.02;margin-bottom:1rem;text-wrap:balance;text-shadow:0 18px 45px rgba(0,0,0,.35)}
.hero__subtitle{font-size:clamp(1rem,1.5vw,1.18rem);color:#cfdcf2;max-width:56ch;margin-bottom:2rem}
.hero__ctas{display:flex;flex-wrap:wrap;gap:.8rem}
.hero__controls{position:absolute;z-index:3;inset-inline-start:50%;transform:translateX(-50%);bottom:1.6rem;display:flex;align-items:center;gap:1rem}
.hero__arrow{width:42px;height:42px;border-radius:50%;border:1px solid rgba(255,255,255,.45);background:rgba(10,25,48,.35);color:#fff;font-size:1.4rem;line-height:1;cursor:pointer;display:grid;place-items:center;transition:.2s}
.hero__arrow:hover{background:var(--gold);color:var(--navy);border-color:var(--gold)}
.hero__dots{display:flex;gap:.45rem}
.hero__dot{width:9px;height:9px;border-radius:999px;border:0;background:rgba(255,255,255,.45);cursor:pointer;transition:.25s}
.hero__dot.is-active{width:28px;background:var(--gold)}
.hero__badge{position:absolute;z-index:3;inset-inline-end:2rem;bottom:2rem;display:flex;align-items:center;gap:.55rem;font-size:.65rem;letter-spacing:.25em;text-transform:uppercase;color:#cbd8ee}
.hero__badge::before{content:"";width:36px;height:1px;background:var(--gold)}

/* ---------- Page hero ---------- */
.page-hero{position:relative;background:var(--navy);color:#fff;padding:clamp(3.5rem,7vw,5.5rem) 0 clamp(2.5rem,5vw,4rem);overflow:hidden}
.page-hero--image{min-height:340px;display:flex;align-items:flex-end}
.page-hero__media{position:absolute;inset:0}
.page-hero__media img{width:100%;height:100%;object-fit:cover}
.page-hero__overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,25,48,.45),rgba(10,25,48,.92))}
.page-hero__content{position:relative;z-index:2;max-width:760px}
.page-hero h1{color:#fff;font-size:clamp(2rem,4.6vw,3.4rem);margin-bottom:.6rem}
.page-hero p{color:#c6d3ea;max-width:60ch;margin:0}
.page-hero__count{display:inline-flex;align-items:center;gap:.5rem;font-size:.75rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--gold);margin-bottom:1rem}
.page-hero__tabs{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:1.75rem}
.breadcrumbs{display:flex;flex-wrap:wrap;gap:.45rem;align-items:center;font-size:.76rem;color:var(--muted);margin-bottom:1.2rem}
.breadcrumbs a{color:var(--muted)}
.breadcrumbs a:hover{color:var(--royal)}
.breadcrumbs--light,.breadcrumbs--light a{color:#a9bad9}
.breadcrumbs--light a:hover{color:var(--gold)}
.breadcrumbs span[aria-current]{color:var(--navy)}
.breadcrumbs--light span[aria-current]{color:#fff}

/* ---------- Match centre ---------- */
.match-centre__grid{display:grid;grid-template-columns:1.6fr 1fr;gap:1.5rem;align-items:stretch}
.match-centre__label{font-size:.7rem;letter-spacing:.2em;text-transform:uppercase;color:var(--gold);margin-bottom:.7rem;font-weight:700}
.match-centre__aside{display:flex;flex-direction:column;gap:.8rem}
.match-panel{background:linear-gradient(160deg,#1b3763,#102545);border:1px solid rgba(255,255,255,.1);border-radius:var(--radius);padding:clamp(1.2rem,3vw,2rem);color:#fff;position:relative;overflow:hidden}
.match-panel::after{content:"";position:absolute;width:220px;height:220px;border:1px solid rgba(245,180,50,.22);border-radius:50%;inset-inline-end:-80px;top:-80px}
.match-panel__top{display:flex;justify-content:space-between;gap:1rem;font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:#a9bad9;margin-bottom:1.5rem}
.match-panel__competition{color:var(--gold);font-weight:700}
.match-panel__teams{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:1rem;text-align:center}
.match-panel__teams .team-badge{justify-content:center}
.match-panel__vs{font-size:1.5rem;font-weight:800;color:#7f96bd;letter-spacing:.1em}
.match-panel__meta{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem 1.2rem;font-size:.78rem;color:#a9bad9;margin-top:1.4rem}
.match-panel__status{display:inline-flex;align-items:center;gap:.4rem;font-size:.68rem;letter-spacing:.14em;text-transform:uppercase;color:var(--gold)}
.match-panel__countdown{margin-top:1.5rem;padding-top:1.3rem;border-top:1px solid rgba(255,255,255,.12)}
.match-panel--empty{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:.8rem;min-height:210px}
.match-panel--empty p{color:#b9c8e2;margin:0}
.match-panel--result{background:linear-gradient(160deg,#223f6f,#142b50)}
.match-score{font-size:clamp(1.8rem,4vw,2.6rem);font-weight:800;color:var(--gold);letter-spacing:.02em}
.scoreboard{display:grid;grid-template-columns:1fr auto 1fr;gap:1.5rem;align-items:center;background:var(--navy);color:#fff;border-radius:var(--radius);padding:clamp(1.5rem,4vw,2.6rem);text-align:center}
.scoreboard__team{display:flex;flex-direction:column;align-items:center;gap:.7rem;font-weight:700}
.scoreboard__score{font-size:clamp(2.4rem,6vw,4rem);font-weight:800;color:var(--gold);line-height:1}
.scoreboard__score--time{font-size:clamp(1.6rem,4vw,2.2rem)}
.scoreboard__center{display:flex;flex-direction:column;align-items:center;gap:.4rem}
.scoreboard__status,.scoreboard__venue{font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:#a9bad9}
.team-badge{display:inline-flex;align-items:center;gap:.6rem;font-weight:700;color:inherit}
.team-badge img{width:54px;height:54px;object-fit:contain}
.team-badge--away{flex-direction:row-reverse}
.team-badge--lg img{width:76px;height:76px}
.countdown{display:flex;gap:.55rem;flex-wrap:wrap}
.countdown__unit{min-width:60px;padding:.55rem .6rem;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);border-radius:10px;text-align:center}
.countdown__unit strong{display:block;font-size:1.25rem;color:var(--gold);line-height:1.1;font-variant-numeric:tabular-nums}
.countdown__unit span{font-size:.6rem;letter-spacing:.14em;text-transform:uppercase;color:#a9bad9}
.countdown--popup .countdown__unit{background:var(--light);border-color:var(--line)}
.countdown--popup .countdown__unit strong{color:var(--navy)}
.countdown--popup .countdown__unit span{color:var(--muted)}
.fixture-list{display:flex;flex-direction:column;gap:.7rem}
.fixture-row{display:grid;grid-template-columns:110px 1fr auto;gap:1.2rem;align-items:center;padding:1rem 1.2rem;background:#fff;border:1px solid var(--line);border-radius:14px;transition:.2s}
.fixture-row:hover{border-color:var(--royal);box-shadow:var(--shadow-sm);transform:translateY(-1px)}
.fixture-row__date{font-size:.72rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.fixture-row__teams{display:flex;align-items:center;gap:.7rem;font-weight:700;color:var(--navy);flex-wrap:wrap}
.fixture-row__meta{font-size:.75rem;color:var(--muted)}
.fixture-row__score{font-weight:800;font-size:1.15rem;color:var(--navy);background:var(--light);padding:.3rem .8rem;border-radius:8px}
.fixture-row__cta{font-size:.78rem;font-weight:700}
.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:var(--radius);background:#fff}
.data-table,.standings-table{width:100%;border-collapse:collapse;font-size:.87rem;min-width:560px}
.data-table th,.standings-table th{background:var(--light);color:var(--navy);text-align:start;padding:.85rem 1rem;font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;border-bottom:1px solid var(--line)}
.data-table td,.standings-table td{padding:.8rem 1rem;border-bottom:1px solid #eef2f9}
.data-table tr:last-child td,.standings-table tr:last-child td{border-bottom:0}
.table-team{display:flex;align-items:center;gap:.55rem;font-weight:600}
.standings-table__head td{background:#f8fafe;font-weight:700}
.match-hero{background:var(--navy);color:#fff;padding:2rem 0}
.match-hero__meta{display:flex;flex-wrap:wrap;gap:1rem;justify-content:center;color:#a9bad9;font-size:.8rem}
.event-timeline{position:relative;padding-inline-start:1.5rem;border-inline-start:2px solid var(--line);display:flex;flex-direction:column;gap:1rem}
.event-timeline__item{display:flex;gap:.8rem;align-items:flex-start}
.event-timeline__icon{width:30px;height:30px;border-radius:50%;background:var(--light);display:grid;place-items:center;flex:0 0 auto;font-size:.8rem}
.event-timeline__body strong{display:block;font-size:.88rem}
.event-timeline__body small{color:var(--muted)}
.lineups{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}
.lineups__team h3{font-size:1rem;margin-bottom:.7rem}

/* ---------- Club intro / values ---------- */
.club-intro__grid{display:grid;grid-template-columns:1fr 1.05fr;gap:clamp(2rem,5vw,4.5rem);align-items:center}
.club-intro__media{position:relative}
.club-intro__photo{border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-lg);aspect-ratio:4/3}
.club-intro__photo img{width:100%;height:100%;object-fit:cover}
.club-intro__accent{position:absolute;inset:auto -20px -20px 20px;height:70%;border:2px solid var(--gold);border-radius:var(--radius-lg);z-index:-1}
.club-intro__badge{position:absolute;bottom:-24px;inset-inline-end:-18px;background:var(--navy);color:#fff;border-radius:16px;padding:1rem 1.2rem;display:flex;align-items:center;gap:.6rem;box-shadow:var(--shadow)}
.club-intro__badge strong{font-size:1.5rem;color:var(--gold)}
.club-intro__badge span{font-size:.66rem;letter-spacing:.16em;line-height:1.5;text-transform:uppercase}
.club-intro__lead{font-size:1.05rem;color:#40506b;margin-bottom:1.75rem}
.value-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.9rem;margin-bottom:2rem}
.value-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:1.1rem}
.value-card h3{font-size:.92rem;margin-bottom:.35rem}
.value-card p{font-size:.8rem;color:var(--muted);margin:0}
.value-card__icon{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:10px;background:var(--royal-soft);color:var(--royal);margin-bottom:.6rem}
.value-card__icon--gold{background:var(--gold-soft);color:var(--gold-dark)}
.check-list{list-style:none;display:flex;flex-direction:column;gap:.6rem;margin-bottom:1.75rem}
.check-list li{position:relative;padding-inline-start:1.6rem;font-size:.9rem;color:#40506b}
.check-list li::before{content:"✓";position:absolute;inset-inline-start:0;top:0;color:var(--gold-dark);font-weight:800}
.tick-list{list-style:none;display:grid;gap:.5rem}
.tick-list li{padding-inline-start:1.4rem;position:relative}
.tick-list li::before{content:"✓";position:absolute;inset-inline-start:0;color:var(--gold-dark);font-weight:800}

/* ---------- Stats ---------- */
.stats-band{background:linear-gradient(120deg,var(--royal),#3f5c99);padding:2.6rem 0;color:#fff}
.stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:1.4rem;text-align:center}
.stat__value{display:flex;align-items:baseline;justify-content:center;gap:.1rem;font-size:clamp(1.9rem,4vw,2.9rem);font-weight:800;line-height:1;color:#fff}
.stat__suffix{color:var(--gold)}
.stat__label{display:block;font-size:.7rem;letter-spacing:.16em;text-transform:uppercase;color:#dbe6fa;margin-top:.5rem}
.mini-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:.8rem}
.mini-stat{background:var(--light);border-radius:12px;padding:.8rem;text-align:center}
.mini-stat strong{display:block;font-size:1.2rem;color:var(--navy)}
.mini-stat span{font-size:.7rem;color:var(--muted)}

/* ---------- Cards: news, players, albums, videos ---------- */
.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.4rem}
.news-grid--secondary{margin-top:1.4rem}
.news-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;transition:.25s var(--ease)}
.news-card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:#c9d6ec}
.news-card--featured{grid-row:span 2}
.news-card__media{position:relative;aspect-ratio:16/10;background:var(--light);overflow:hidden}
.news-card--featured .news-card__media{aspect-ratio:16/11}
.news-card__media img{width:100%;height:100%;object-fit:cover;transition:transform .6s var(--ease)}
.news-card:hover .news-card__media img{transform:scale(1.05)}
.news-card__placeholder{width:100%;height:100%;display:grid;place-items:center;background:linear-gradient(140deg,var(--royal-soft),#fff);color:var(--royal);font-weight:800;font-size:2rem}
.news-card__body{padding:1.15rem 1.25rem 1.35rem;display:flex;flex-direction:column;gap:.55rem;flex:1}
.news-card__meta{display:flex;flex-wrap:wrap;gap:.5rem .9rem;font-size:.7rem;letter-spacing:.06em;color:var(--muted)}
.news-card__title{font-size:1.05rem;line-height:1.35;margin:0}
.news-card--featured .news-card__title{font-size:1.4rem}
.news-card__title a{color:var(--navy)}
.news-card__title a:hover{color:var(--royal)}
.news-card__excerpt{font-size:.86rem;color:var(--muted);margin:0}
.news-card .link-arrow{margin-top:auto;font-size:.8rem}
.chip{display:inline-flex;align-items:center;gap:.35rem;padding:.32rem .7rem;border-radius:999px;background:var(--light);color:var(--navy);font-size:.7rem;font-weight:700;letter-spacing:.03em}
.chip--gold{background:var(--gold);color:var(--navy)}
.chip--soft{background:var(--royal-soft);color:var(--royal)}
.chip--dark{background:rgba(255,255,255,.12);color:#fff}
.chip--on-image{background:rgba(10,25,48,.75);color:#fff;backdrop-filter:blur(6px)}
.chip--filter{border:1px solid var(--line);background:#fff;color:var(--muted);cursor:pointer}
.chip--filter:hover,.chip--filter.is-active{background:var(--navy);border-color:var(--navy);color:#fff}
.chip__count{opacity:.65;font-size:.65rem}
.filter-chips{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1.75rem}
.tabs{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1.5rem}

.player-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:1.2rem}
.player-card{position:relative;border-radius:var(--radius);overflow:hidden;background:linear-gradient(160deg,#22406f,#142b50);min-height:300px;display:flex;flex-direction:column;justify-content:flex-end;color:#fff}
.player-card__media{position:absolute;inset:0}
.player-card__media img{width:100%;height:100%;object-fit:cover;object-position:center top;transition:transform .6s var(--ease)}
.player-card:hover .player-card__media img{transform:scale(1.06)}
.player-card__shade{position:absolute;inset:0;background:linear-gradient(180deg,transparent 35%,rgba(10,25,48,.92))}
.player-card__silhouette,.player-card__initials{position:absolute;inset:0;display:grid;place-items:center;font-size:3.5rem;font-weight:800;color:rgba(255,255,255,.16)}
.player-card__number{position:absolute;top:1rem;inset-inline-start:1rem;font-size:1.1rem;font-weight:800;color:var(--gold);background:rgba(10,25,48,.55);width:40px;height:40px;border-radius:50%;display:grid;place-items:center;border:1px solid rgba(255,255,255,.2)}
.player-card__info{position:relative;z-index:2;padding:1.1rem;background:linear-gradient(180deg,transparent,rgba(10,25,48,.65))}
.player-card__position{font-size:.65rem;letter-spacing:.16em;text-transform:uppercase;color:var(--gold);font-weight:700}
.player-card__name{font-size:1.05rem;margin:.2rem 0 .35rem;color:#fff}
.player-card__meta{display:flex;gap:.7rem;font-size:.72rem;color:#b9c8e2}
.player-card__link{position:absolute;inset:0;z-index:3;font-size:0;color:transparent}
.player-hero{background:var(--navy);color:#fff;padding:2.5rem 0}
.player-hero__grid{display:grid;grid-template-columns:320px 1fr;gap:2.5rem;align-items:center}
.player-hero__media{border-radius:var(--radius);overflow:hidden;background:#1e3a68;aspect-ratio:3/4}
.player-hero__media img{width:100%;height:100%;object-fit:cover}
.player-hero__number{font-size:4rem;font-weight:800;color:var(--gold);line-height:1}
.player-hero h1{color:#fff;margin-bottom:.3rem}
.player-hero__placeholder{display:grid;place-items:center;height:100%;font-size:5rem;font-weight:800;color:rgba(255,255,255,.2)}
.player-content{display:grid;grid-template-columns:1.6fr 1fr;gap:2.5rem;align-items:start}
.player-facts{display:grid;gap:.6rem}
.player-facts div{display:flex;justify-content:space-between;gap:1rem;padding:.6rem 0;border-bottom:1px solid var(--line);font-size:.85rem}
.player-facts dt{color:var(--muted)}
.player-facts dd{margin:0;font-weight:700}
.side-squad{display:grid;gap:.4rem}
.side-squad a{display:flex;align-items:center;gap:.7rem;padding:.5rem .6rem;border-radius:9px;color:var(--navy);font-size:.85rem}
.side-squad a:hover{background:var(--light)}
.side-squad__number{width:26px;height:26px;border-radius:50%;background:var(--light);display:grid;place-items:center;font-size:.7rem;font-weight:800}
.side-gallery__grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.6rem}
.side-gallery img{border-radius:10px;aspect-ratio:1;object-fit:cover;width:100%}

.squad-empty{display:grid;grid-template-columns:1fr 1fr;gap:2rem;align-items:center;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.12);border-radius:var(--radius);overflow:hidden}
.squad-empty__media img{width:100%;height:100%;object-fit:cover}
.squad-empty__body{padding:2rem}
.squad-empty__body h3{color:#fff}
.squad-empty__body p{color:#a9bad9}
.squad-group{margin-bottom:2rem}
.squad-group h2{font-size:1.2rem;margin-bottom:.9rem}
.squad-group__count{color:var(--muted);font-size:.8rem;font-weight:600}

.album-grid,.video-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:1.3rem}
.video-grid--wide{grid-template-columns:repeat(auto-fill,minmax(320px,1fr))}
.album-card,.video-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;transition:.25s}
.album-card:hover,.video-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
.album-card__media,.video-card__media{position:relative;aspect-ratio:16/10;background:var(--light);overflow:hidden}
.album-card__media img,.video-card__media img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.album-card:hover img,.video-card:hover img{transform:scale(1.04)}
.album-card__placeholder,.video-card__placeholder{display:grid;place-items:center;height:100%;color:var(--royal);font-weight:800}
.album-card__count{position:absolute;top:.8rem;inset-inline-end:.8rem}
.album-card__body,.video-card__body{padding:1rem 1.1rem 1.2rem;display:flex;flex-direction:column;gap:.4rem;flex:1}
.album-card__body h3,.video-card__body h3{font-size:1rem;margin:0}
.album-card__meta,.video-card__body p{font-size:.8rem;color:var(--muted);margin:0}
.album-card__link{margin-top:auto;font-size:.8rem;font-weight:700}
.video-card__play{position:absolute;inset:0;display:grid;place-items:center}
.video-card__play span{width:54px;height:54px;border-radius:50%;background:rgba(10,25,48,.75);color:#fff;display:grid;place-items:center;padding-inline-start:3px;transition:.25s}
.video-card:hover .video-card__play span{background:var(--gold);color:var(--navy);transform:scale(1.08)}
.video-card__duration{position:absolute;bottom:.7rem;inset-inline-end:.7rem;background:rgba(10,25,48,.8);color:#fff;font-size:.7rem;padding:.2rem .5rem;border-radius:6px}
.media-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:1.4rem}
.media-grid__albums{display:grid;grid-template-columns:1fr 1fr;gap:1.1rem}
.media-grid__video{display:flex}
.media-grid__video .video-card{width:100%}
.photo-masonry{columns:3;column-gap:1rem}
.photo-tile{break-inside:avoid;margin-bottom:1rem;border-radius:14px;overflow:hidden;position:relative;background:var(--light)}
.photo-tile img{width:100%;display:block}
.photo-tile__button{display:block;width:100%;border:0;padding:0;background:none;cursor:zoom-in;position:relative}
.photo-tile__zoom{position:absolute;inset:0;display:grid;place-items:center;background:rgba(10,25,48,.32);color:#fff;opacity:0;transition:.25s;font-size:1.4rem}
.photo-tile:hover .photo-tile__zoom{opacity:1}
.album-meta,.album-description{color:var(--muted)}
.album-meta{display:flex;gap:1rem;font-size:.8rem;margin-bottom:1.5rem}

.partner-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:1.2rem}
.partner-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.5rem;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.7rem;text-align:center;min-height:170px;transition:.2s}
.partner-card:hover{box-shadow:var(--shadow-sm);border-color:var(--royal)}
.partner-card img{max-height:96px;width:auto;max-width:100%;object-fit:contain}
.partner-card__name{font-size:.9rem;font-weight:700;color:var(--navy);margin:0}
.sponsor-strip{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:2rem}
.sponsor{display:inline-flex;align-items:center;gap:.6rem;color:var(--navy);font-weight:700;font-size:.9rem}
.sponsor img{max-height:44px;width:auto;filter:grayscale(1);opacity:.7;transition:.2s}
.sponsor:hover img{filter:none;opacity:1}
.sponsor__tier{font-size:.62rem;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.sponsor-strip--tiers{flex-direction:column;align-items:stretch;gap:1.5rem}
.sponsors-band .sponsor-strip{gap:2.5rem 3rem}
/* Home band: partner logos shown large and in full colour. */
.sponsors-band .sponsor img{max-height:100px;filter:none;opacity:1}
.sponsors-band .sponsor:hover img{filter:none;opacity:1}
.partners-intro{max-width:62ch;margin-bottom:2rem;color:var(--muted)}

/* ---------- Forms ---------- */
.field{display:flex;flex-direction:column;gap:.35rem;margin-bottom:1rem}
.field label{font-size:.8rem;font-weight:700;color:var(--navy)}
.field input,.field select,.field textarea,.newsletter-form input,.form-card input,.form-card select,.form-card textarea{
  width:100%;padding:.8rem .95rem;border:1.5px solid var(--line);border-radius:11px;background:#fff;color:var(--text);font:inherit;font-size:.9rem;transition:border-color .2s,box-shadow .2s
}
.field input:focus,.field select:focus,.field textarea:focus,.newsletter-form input:focus{outline:0;border-color:var(--royal);box-shadow:0 0 0 4px rgba(85,115,179,.14)}
.field textarea{resize:vertical;min-height:120px}
.field--full{grid-column:1/-1}
.field--honeypot{position:absolute;inset-inline-start:-9999px}
.field__error{color:var(--danger);font-size:.78rem;margin:0}
.field__hint{color:var(--muted);font-size:.75rem}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 1rem}
.form-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:clamp(1.4rem,3vw,2.2rem);box-shadow:var(--shadow-sm)}
.form-card__title{font-size:1.25rem;margin-bottom:.3rem}
.form-card__note{font-size:.8rem;color:var(--muted);margin-bottom:1.4rem}
.checkbox{display:flex;gap:.6rem;align-items:flex-start;font-size:.8rem;color:var(--muted);margin:.9rem 0}
.checkbox input{width:18px;height:18px;margin-top:.15rem;flex:0 0 auto;accent-color:var(--royal)}
.checkbox--light{color:#b9c8e2}
.checkbox--sm{font-size:.75rem}
.newsletter-form{display:flex;flex-direction:column;gap:.4rem}
.newsletter-form__row{display:flex;gap:.5rem;background:#fff;padding:.4rem;border-radius:999px;box-shadow:var(--shadow)}
.newsletter-form__row input{border:0;background:transparent;padding:.6rem 1rem;min-width:0}
.newsletter-form__row input:focus{box-shadow:none}
.newsletter-band{background:linear-gradient(120deg,var(--navy),#24457a);color:#fff}
.newsletter-band__inner{display:grid;grid-template-columns:1.1fr .9fr;gap:2.5rem;align-items:center}
.newsletter-band__text h2{color:#fff}
.newsletter-band__text p{color:#b9c8e2;margin:0}
.newsletter-band .kicker{color:var(--gold)}
.contact-layout{display:grid;grid-template-columns:1fr 1.4fr;gap:2.5rem;align-items:start}
.contact-list{list-style:none;display:flex;flex-direction:column;gap:1rem}
.contact-list li{display:flex;gap:.9rem;align-items:flex-start;font-size:.88rem;line-height:1.45}
.contact-list__icon{width:38px;height:38px;border-radius:11px;background:var(--light);display:grid;place-items:center;flex:0 0 auto;color:var(--royal)}
.contact-list__icon--fb{background:var(--navy);color:#fff;font-weight:800}
.contact-list--large{gap:1.3rem}
/* Label above its value, so the icon never sits flush against the text and long
   emails or phone numbers wrap instead of overflowing (all three languages). */
.contact-list__text{display:flex;flex-direction:column;gap:.2rem;min-width:0}
.contact-list small,.contact-list__label{display:block;color:var(--muted);font-size:.72rem;letter-spacing:.08em;text-transform:uppercase}
.contact-list__label{font-weight:700}
.contact-list__text a,.contact-list__text span{overflow-wrap:anywhere}
.contact-social{display:flex;flex-wrap:wrap;align-items:center;gap:.8rem;margin-top:1.6rem;padding-top:1.2rem;border-top:1px solid var(--line)}
.contact-social>strong{font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.map-frame{border-radius:var(--radius);overflow:hidden;border:1px solid var(--line);margin-top:1.5rem}
.map-frame iframe{width:100%;height:320px;border:0;display:block}
/* ---------- Club page ---------- */
.club-profile{display:grid;grid-template-columns:minmax(0,340px) minmax(0,1fr);gap:clamp(1.8rem,4vw,3.2rem);align-items:start}
.club-profile__aside{display:grid;gap:1rem;min-width:0}
.club-profile__main{display:grid;gap:clamp(2rem,4vw,3rem);min-width:0}
.identity-card{background:#1A2A4F;color:#fff;border-radius:var(--radius);padding:1.8rem 1.6rem;text-align:center;box-shadow:var(--shadow)}
.identity-card h2{color:#fff;font-size:1.1rem;letter-spacing:.04em;margin-bottom:0}
.identity-card__logo{height:auto;max-height:112px;width:auto;margin:0 auto 1.2rem}
.identity-list{list-style:none;display:grid;gap:.55rem;margin-top:1.4rem;font-size:.85rem;text-align:start}
.identity-list li,.identity-list>div{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;border-bottom:1px solid rgba(255,255,255,.14);padding-bottom:.55rem}
.identity-list li:last-child,.identity-list>div:last-child{border-bottom:0;padding-bottom:0}
.identity-list dt{flex:0 0 auto;font-size:.68rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#a9bad9}
.identity-list dd{margin:0;min-width:0;font-weight:600;text-align:end;overflow-wrap:anywhere}
.identity-card a{color:#fff}
.identity-card a:hover{color:var(--gold)}
.identity-card .btn{margin-top:1.5rem}
.mini-stat{background:#fff;border:1px solid var(--line);box-shadow:var(--shadow-sm)}
.mini-stat strong{font-size:1.5rem}
.club-block .section-head{margin-bottom:1.2rem}
.two-col-text{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.2rem 2rem;margin-top:1.5rem}
.two-col-text h3{margin-top:0;font-size:1.05rem}
.timeline{list-style:none;display:grid;gap:.8rem}
.timeline__item{display:flex;gap:1.1rem;align-items:flex-start;background:#fff;border:1px solid var(--line);border-radius:var(--radius-sm);padding:1rem 1.2rem}
.timeline__year{flex:0 0 auto;font-weight:800;font-size:.92rem;line-height:1.9;color:var(--royal);background:var(--royal-soft);border-radius:999px;padding:0 .75rem}
.timeline__body h3{font-size:1rem;margin-bottom:.2rem}
.timeline__body p{margin:0;font-size:.87rem;color:var(--muted)}
.staff-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:1.1rem}
.staff-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius-sm);overflow:hidden;transition:.25s var(--ease)}
.staff-card:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:#c9d6ec}
.staff-card__media{aspect-ratio:1;display:grid;place-items:center;overflow:hidden;background:linear-gradient(140deg,var(--royal-soft),#fff)}
.staff-card__media img{width:100%;height:100%;object-fit:cover}
.staff-card__initials{font-weight:800;font-size:1.7rem;color:var(--royal)}
.staff-card__body{padding:.85rem 1rem 1.05rem}
.staff-card__body h3{font-size:.98rem;margin-bottom:.15rem}
.staff-card__body p{margin:0;font-size:.76rem;color:var(--muted)}
.document-list{list-style:none;display:grid;gap:.7rem}
.document-list li{display:flex;align-items:center;gap:.9rem;background:#fff;border:1px solid var(--line);border-radius:var(--radius-sm);padding:.9rem 1.1rem}
.document-list__icon{flex:0 0 auto;width:44px;height:44px;border-radius:11px;display:grid;place-items:center;background:var(--gold-soft);color:var(--gold-dark);font-size:.68rem;font-weight:800;letter-spacing:.04em}
.document-list li>div{flex:1 1 auto;min-width:0}
.document-list strong{display:block;font-size:.92rem;color:var(--navy)}
.document-list p{margin:.1rem 0 0;font-size:.8rem;color:var(--muted)}
.document-list .btn{flex:0 0 auto}

/* ---------- Article ---------- */
.article-hero{position:relative;min-height:420px;display:flex;align-items:flex-end;color:#fff;background:var(--navy)}
.article-hero__media{position:absolute;inset:0}
.article-hero__media img{width:100%;height:100%;object-fit:cover}
.article-hero__overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,25,48,.25),rgba(10,25,48,.94))}
.article-hero__content{position:relative;z-index:2;padding:3rem 0 2.5rem;max-width:820px}
.article-hero h1{color:#fff;font-size:clamp(1.8rem,4vw,3rem)}
.article-hero__lead{color:#c9d6ee;margin:0;max-width:65ch}
.article-meta{display:flex;flex-wrap:wrap;gap:.6rem 1.2rem;font-size:.78rem;color:#b9c8e2;margin-bottom:1.2rem}
.article-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,.8fr);gap:2.5rem;align-items:start}
.article-tags{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;margin-top:2rem;padding-top:1.5rem;border-top:1px solid var(--line)}
.article-tags__label{font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.share-bar{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;margin-top:1.5rem}
.share-btn{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:var(--light);color:var(--navy);font-size:.75rem;font-weight:800}
.share-btn:hover{background:var(--navy);color:#fff}
.share-btn--fb{background:#1877f2;color:#fff}
.share-btn--wa{background:#25d366;color:#0b3d20}
.related-list{list-style:none;display:grid;gap:.7rem}
.related-item{display:flex;gap:.7rem;align-items:center;padding:.55rem;border-radius:10px}
.related-item:hover{background:var(--light)}
.related-item img{width:64px;height:50px;object-fit:cover;border-radius:8px}
.related-item strong{font-size:.82rem;display:block;line-height:1.4}
.related-item small{color:var(--muted);font-size:.7rem}

/* ---------- Footer ---------- */
.site-footer{background:var(--navy-2);color:#b9c8e2;position:relative;overflow:hidden;padding-top:clamp(3rem,6vw,4.5rem)}
.site-footer::before{content:"";position:absolute;inset-inline-end:-120px;top:-120px;width:340px;height:340px;border:1px solid rgba(245,180,50,.2);border-radius:50%}
.footer-grid{display:grid;grid-template-columns:1.35fr .8fr 1fr 1.1fr;gap:2rem;position:relative;z-index:1;align-items:start}
.footer-brand .brand{margin-bottom:.2rem}
.footer-brand .brand__badge{width:96px;height:144px}
.footer-brand .brand__badge img{max-height:138px}
.footer-brand .brand__text strong{font-size:1.08rem}
.footer-brand .brand__text em{font-size:1.45rem}
.footer-brand .social-btn{width:auto;height:auto;padding:.5rem .85rem;display:inline-flex;gap:.5rem;border-radius:8px;margin-top:.4rem}
.footer-brand__text{margin:1rem 0;font-size:.85rem;color:#a9bad9;max-width:34ch}
.footer-col--newsletter>p{font-size:.84rem;color:#a9bad9;margin-bottom:1rem}
.footer-title{font-size:.78rem;letter-spacing:.14em;text-transform:uppercase;color:#fff;margin-bottom:1rem}
.footer-links{list-style:none;display:grid;gap:.5rem}
.footer-links a{color:#b9c8e2;font-size:.85rem}
.footer-links a:hover{color:var(--gold)}
.footer-contact{list-style:none;display:grid;gap:.7rem;font-size:.85rem}
.footer-contact li{display:flex;align-items:center;gap:.6rem}
.footer-contact a{color:#dbe6fa}
.footer-newsletter p{font-size:.84rem;color:#a9bad9}
.footer-newsletter{display:flex;flex-direction:column;gap:.75rem}
.footer-newsletter input[type=email]{width:100%;padding:.8rem 1rem;border:1.5px solid rgba(255,255,255,.22);border-radius:10px;background:rgba(255,255,255,.08);color:#fff;font:inherit;font-size:.85rem;transition:border-color .2s var(--ease),box-shadow .2s var(--ease)}
.footer-newsletter input[type=email]::placeholder{color:#8fa3c4}
.footer-newsletter input[type=email]:focus{outline:0;border-color:var(--gold);box-shadow:0 0 0 3px rgba(245,180,50,.2)}
.footer-newsletter .checkbox{margin:0;color:#a9bad9;font-size:.78rem;line-height:1.6}
.footer-newsletter .checkbox input{accent-color:var(--gold)}
.footer-newsletter .newsletter-form__row{border-radius:12px;padding:.3rem}
.footer-newsletter .newsletter-form__row input{border-radius:9px;font-size:.82rem}
.footer-newsletter .btn{border-radius:9px;padding-inline:1rem}
.footer-bottom{margin-top:2.5rem;border-top:1px solid rgba(255,255,255,.1);padding:1.3rem 0;display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;font-size:.76rem;color:#8fa3c4}
.footer-legal{display:flex;gap:1rem;flex-wrap:wrap}
.footer-legal a{color:#8fa3c4}
.footer-back-top{color:#b9c8e2;font-weight:600;white-space:nowrap}
.footer-back-top:hover{color:var(--gold)}
.footer-social{display:flex;gap:.5rem}
.social-btn{width:34px;height:34px;border-radius:9px;background:rgba(255,255,255,.08);display:grid;place-items:center;color:#fff;font-size:.8rem}
.social-btn:hover{background:var(--gold);color:var(--navy)}
.footer-glow{position:absolute;width:300px;height:300px;background:radial-gradient(circle,rgba(245,180,50,.16),transparent 70%);inset-inline-start:-60px;bottom:-100px;pointer-events:none}

/* ---------- Pagination / empty / alerts ---------- */
.pagination{display:flex;align-items:center;justify-content:center;gap:.6rem;margin-top:2.5rem;flex-wrap:wrap}
.pagination__list{display:flex;gap:.35rem;list-style:none;align-items:center}
.pagination__link{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;padding:0 .8rem;border-radius:10px;border:1px solid var(--line);background:#fff;color:var(--navy);font-weight:700;font-size:.82rem}
.pagination__link:hover,.pagination__link.is-active{background:var(--navy);border-color:var(--navy);color:#fff}
.pagination__ellipsis{color:var(--muted);padding:0 .3rem}
.empty-state{background:var(--light);border:1px dashed #c6d3e8;border-radius:var(--radius);padding:2.5rem 1.5rem;text-align:center;color:var(--muted)}
.empty-state--wide{grid-column:1/-1}
.alert{display:flex;gap:.7rem;align-items:flex-start;padding:.9rem 1.1rem;border-radius:12px;margin:1rem 0;font-size:.86rem;border:1px solid transparent}
.alert p{margin:0}
.alert--success{background:#e8f7ef;border-color:#b7e6cf;color:#125c3a}
.alert--error{background:#fdeceb;border-color:#f5c2be;color:#8f1d16}
.alert__icon{width:24px;height:24px;border-radius:50%;background:rgba(255,255,255,.7);display:grid;place-items:center;font-weight:800;flex:0 0 auto;font-size:.8rem}
.alert__close{margin-inline-start:auto;border:0;background:none;font-size:1.2rem;cursor:pointer;color:inherit;line-height:1}
.alert__list{margin:.4rem 0 0;padding-inline-start:1.1rem;font-size:.8rem}
.status{display:inline-flex;padding:.25rem .6rem;border-radius:999px;font-size:.68rem;font-weight:700}
.status--live{background:#fdeceb;color:#b42318}
.status--finished{background:var(--light);color:var(--muted)}
.mini-stat strong,.scoreboard__score{font-variant-numeric:tabular-nums}

/* ---------- Popup ---------- */
.popup{position:fixed;inset:0;z-index:150;display:grid;place-items:center;padding:1rem}
.popup[hidden]{display:none}
.popup__overlay{position:absolute;inset:0;background:rgba(8,20,38,.72);backdrop-filter:blur(6px);animation:fadeIn .25s ease}
.popup__dialog{position:relative;z-index:2;width:min(960px,100%);max-height:92vh;overflow:auto;background:#fff;border-radius:22px;box-shadow:var(--shadow-lg);display:grid;grid-template-columns:1.05fr 1fr;animation:popIn .35s var(--ease)}
.popup__dialog:not(:has(.popup__media)){grid-template-columns:1fr;max-width:560px}
.popup__media{min-height:260px;background:var(--light)}
.popup__media img{width:100%;height:100%;object-fit:cover}
.popup__body{padding:clamp(1.5rem,4vw,2.5rem);display:flex;flex-direction:column;align-items:flex-start;gap:.7rem}
.popup__body h2{font-size:clamp(1.4rem,3vw,2rem);margin:0}
.popup__body p{color:var(--muted);margin:0;font-size:.9rem}
.popup__actions{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:.8rem}
.popup__close{position:absolute;top:.7rem;inset-inline-end:.7rem;z-index:4;width:38px;height:38px;border-radius:50%;border:0;background:rgba(255,255,255,.9);color:var(--navy);font-size:1.4rem;cursor:pointer;line-height:1;box-shadow:var(--shadow-sm)}
.popup__close:hover{background:var(--gold)}
body.popup-open{overflow:hidden}
@keyframes popIn{from{opacity:0;transform:translateY(24px) scale(.97)}to{opacity:1;transform:none}}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}

/* ---------- Lightbox ---------- */
.lightbox{position:fixed;inset:0;z-index:160;background:rgba(6,15,30,.95);display:flex;align-items:center;justify-content:center;padding:1.5rem}
.lightbox[hidden]{display:none}
.lightbox__figure{margin:0;max-width:92vw;text-align:center}
.lightbox__figure img{max-width:92vw;max-height:82vh;border-radius:8px;margin-inline:auto}
.lightbox figcaption{color:#c9d6ee;font-size:.82rem;margin-top:.8rem}
.lightbox__close{position:absolute;top:1rem;inset-inline-end:1rem;background:none;border:0;color:#fff;font-size:2.2rem;cursor:pointer;line-height:1}
.lightbox__nav{position:absolute;top:50%;transform:translateY(-50%);width:48px;height:48px;border-radius:50%;border:1px solid rgba(255,255,255,.4);background:rgba(255,255,255,.08);color:#fff;font-size:1.8rem;cursor:pointer;display:grid;place-items:center}
.lightbox__nav--prev{inset-inline-start:1rem}
.lightbox__nav--next{inset-inline-end:1rem}
.lightbox__nav:hover{background:var(--gold);color:var(--navy)}

/* ---------- Cookies / print / misc ---------- */
.cookie-notice{position:fixed;inset-inline:1rem;bottom:1rem;z-index:120;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);padding:.9rem 1rem;display:flex;gap:1rem;align-items:center;justify-content:space-between;max-width:640px;margin-inline:auto}
.cookie-notice[hidden]{display:none}
.cookie-notice p{margin:0;font-size:.78rem;color:var(--muted)}
.error-body{background:var(--light)}
.error-page{min-height:70vh;display:flex;align-items:center;padding:4rem 0}
.error-page__inner{max-width:640px}
.error-page__code{display:block;font-size:clamp(4rem,12vw,8rem);font-weight:800;line-height:.9;color:var(--royal);opacity:.25}
.error-page h1{font-size:clamp(1.8rem,4vw,2.6rem);margin-top:-.5rem}
.error-page p{color:var(--muted)}
.error-page__ref{font-size:.75rem;color:#94a3b8}
.error-debug{background:#0b1a30;color:#dbe6fa;border-radius:12px;padding:1rem;margin-top:2rem;text-align:start;overflow:auto}
.error-debug pre{white-space:pre-wrap;font-size:.72rem}
.error-page__logo{margin-bottom:1rem}

@media (max-width:1279px){
  .nav__links{display:none}
  .nav-toggle{display:inline-grid}
  .nav__cta{display:none}
}
@media (max-width:1100px){
  .nav__links{display:none}
  .nav-toggle{display:inline-grid}
  .nav__cta{display:none}
  .footer-grid{grid-template-columns:1.2fr 1fr 1fr}
  .footer-col--newsletter{grid-column:1/-1}
}
@media (max-width:960px){
  .hero{min-height:560px}
  .match-centre__grid,.club-intro__grid,.club-profile,.media-grid,.newsletter-band__inner,.contact-layout,.article-layout,.player-content{grid-template-columns:1fr}
  .club-intro__media{order:2}
  .news-grid{grid-template-columns:1fr 1fr}
  .news-card--featured{grid-column:1/-1;grid-row:auto}
  .media-grid__albums{grid-template-columns:1fr 1fr}
  .player-hero__grid{grid-template-columns:240px 1fr}
  .popup__dialog{grid-template-columns:1fr;max-width:560px}
  .popup__media{max-height:240px}
  .photo-masonry{columns:2}
  .footer-grid{grid-template-columns:1fr 1fr}
  .squad-empty{grid-template-columns:1fr}
  .lineups{grid-template-columns:1fr}
}
@media (max-width:700px){
  .topbar__meta .topbar__link:last-child{display:none}
  .topbar__actions{display:none}
  .nav__inner{min-height:70px;gap:.5rem}
  .brand__badge{width:40px;height:58px}
  .brand__badge img{max-height:52px}
  .brand__text em{font-size:1.1rem}
  .brand__text strong{font-size:.9rem}
  .brand__text small{display:none}
  .site-header .brand{gap:.65rem}
  .site-header .brand__badge{width:44px;height:64px}
  .site-header .brand__badge img{max-height:58px}
  .site-header .brand__text strong{font-size:.98rem}
  .site-header .brand__text em{font-size:1.3rem;margin-top:.06rem}
  .site-header .brand__text small{display:flex;justify-content:space-between;font-size:.54rem;letter-spacing:.2em;margin-top:.3rem;white-space:nowrap}
  .hero__content{justify-content:flex-end;padding-bottom:5rem}
  .hero__badge{display:none}
  .section-head{flex-direction:column;align-items:flex-start;gap:1rem}
  .news-grid,.value-grid,.form-grid,.media-grid__albums{grid-template-columns:1fr}
  .player-grid{grid-template-columns:1fr 1fr}
  .album-grid,.video-grid{grid-template-columns:1fr}
  .stat-grid{grid-template-columns:1fr 1fr}
  .fixture-row{grid-template-columns:1fr;gap:.5rem}
  .player-hero__grid{grid-template-columns:1fr}
  .player-hero__media{max-width:240px}
  .newsletter-form__row{flex-direction:column;border-radius:16px}
  .newsletter-form__row .btn{width:100%}
  .footer-grid{grid-template-columns:1fr}
  .footer-bottom{flex-direction:column;align-items:flex-start}
  .photo-masonry{columns:1}
  .popup__body{padding:1.4rem}
  .scoreboard{grid-template-columns:1fr;gap:1rem}
  .article-hero{min-height:340px}
  .two-col-text{grid-template-columns:1fr}
  .document-list li{flex-wrap:wrap}
  .timeline__item{flex-direction:column;gap:.4rem}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}

/* ---------- RTL (arabe) ---------- */
[dir="rtl"] body{font-family:"Cairo","Montserrat",system-ui,-apple-system,"Segoe UI",sans-serif}
[dir="rtl"] h1,[dir="rtl"] h2,[dir="rtl"] h3,[dir="rtl"] h4,[dir="rtl"] .kicker,[dir="rtl"] .footer-title,[dir="rtl"] .brand__text>strong,[dir="rtl"] .brand__text>em,[dir="rtl"] .brand__text>small{letter-spacing:0}
[dir="rtl"] .brand__text>strong,[dir="rtl"] .brand__text>em,[dir="rtl"] .brand__text>small{direction:ltr;justify-content:center;gap:.35rem}
[dir="rtl"] .link-arrow span[aria-hidden="true"],[dir="rtl"] .btn span[aria-hidden="true"]{display:inline-block;transform:scaleX(-1)}
[dir="rtl"] .nav__link::after{left:.7rem;right:.7rem}

