  :root{
    --navy:#1B3A78; --navy-dark:#10254D; --navy-deep:#0A1730;
    --red:#D42027; --red-dark:#A5171C;
    --ink:#1B2030; --grey:#5D6478; --line:#DDE2EC;
    --bg:#FFFFFF; --surface:#FFFFFF; --surface-2:#F5F7FB;
    --shadow: 0 1px 2px rgba(16,37,77,.06), 0 8px 24px -12px rgba(16,37,77,.25);
  }
  *{box-sizing:border-box;}
  body{
    margin:0; background:var(--bg); color:var(--ink);
    font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing:antialiased;
  }
  .h-face{
    font-family: "Arial Black", "Helvetica Neue", Arial, sans-serif;
    font-weight:900; letter-spacing:-0.02em; text-wrap:balance;
  }
  .eyebrow{ text-transform:uppercase; letter-spacing:.14em; font-size:12px; font-weight:700; color:var(--red); }
  a{ color:inherit; text-decoration:none; }
  img{max-width:100%; display:block;}
  button{ font-family:inherit; cursor:pointer; }
  [role="button"]:focus-visible, button:focus-visible, a:focus-visible{ outline:2px solid var(--red); outline-offset:2px; }
  .tabular{ font-variant-numeric: tabular-nums; }

  /* ---------- utility bar ---------- */
  .utility{
    background:var(--navy-deep); color:#C7D2EE; font-size:12px;
    display:flex; justify-content:space-between; align-items:center;
    padding:6px 20px; gap:12px;
  }
  .utility a{ opacity:.85; text-decoration:none; }
  .utility a:hover{ opacity:1; text-decoration:underline; }
  .utility .right{ display:flex; gap:16px; align-items:center; }
  .linklike{ background:none;border:none;color:inherit;text-decoration:underline;font-size:inherit;padding:0;cursor:pointer; }

  /* ---------- header ---------- */
  header.site{
    position:sticky; top:0; z-index:40; background:var(--surface);
    border-bottom:1px solid var(--line); box-shadow: var(--shadow);
  }
  .site-inner{
    max-width:1180px; margin:0 auto; padding:12px 20px;
    display:flex; align-items:center; gap:16px; flex-wrap:wrap;
  }
  .badge{ width:48px; height:48px; flex:none; display:flex; align-items:center; justify-content:center; }
  .badge svg, .badge img{ width:100%; height:100%; object-fit:contain; }
  .brand-link{ display:flex; align-items:center; gap:12px; margin-right:auto; cursor:pointer; border-radius:10px; padding:4px 6px; margin-left:-6px; }
  .brand-link:hover{ background:var(--surface-2); }
  .brand{ display:flex; flex-direction:column; line-height:1.05; }
  .brand b{ font-size:19px; letter-spacing:-0.01em; }
  .brand span{ font-size:11px; color:var(--grey); text-transform:uppercase; letter-spacing:.08em; }
  nav.menu{ display:flex; gap:2px; flex-wrap:wrap; }
  nav.menu a{
    background:none; border:none; color:var(--ink); font-weight:700; font-size:13.5px;
    padding:10px 12px; border-radius:8px; letter-spacing:.02em;
    position:relative; white-space:nowrap;
  }
  nav.menu a:hover{ background:var(--surface-2); }
  nav.menu a.active{ color:var(--red); }
  nav.menu a.active::after{
    content:""; position:absolute; left:12px; right:12px; bottom:4px; height:3px;
    background:var(--red); border-radius:2px;
  }
  .nav-toggle{
    display:none; align-items:center; justify-content:center;
    width:40px; height:40px; border-radius:9px; border:1px solid var(--line);
    background:var(--surface-2); color:var(--ink); flex:none;
  }
  @media (max-width:760px){
    .nav-toggle{ display:flex; }
    nav.menu{
      display:none; position:absolute; left:0; right:0; top:100%;
      flex-direction:column; gap:2px; background:var(--surface);
      border-bottom:1px solid var(--line); box-shadow:var(--shadow);
      padding:8px 16px 14px; z-index:39;
    }
    nav.menu.open{ display:flex; }
    nav.menu a{ width:100%; text-align:left; padding:12px 10px; }
    nav.menu a.active::after{ display:none; }
    nav.menu a.active{ background:var(--surface-2); }
  }

  main{ max-width:1180px; margin:0 auto; padding:28px 20px 80px; }
  .view{ display:none; animation: fade .35s ease; }
  .view.active{ display:block; }
  @keyframes fade{ from{opacity:0; transform:translateY(6px);} to{opacity:1; transform:none;} }

  /* ---------- home hero ---------- */
  .hero{
    background: linear-gradient(120deg, var(--navy-deep), var(--navy) 70%);
    border-radius:20px; padding:2px; box-shadow:var(--shadow); position:relative; overflow:hidden;
  }
  .hero-in{ position:relative; padding:28px 26px 26px; color:#fff; }
  .hero-eyebrow{ color:#FF8288; }
  .hero h1{ margin:6px 0 18px; font-size:clamp(22px,3.4vw,32px); color:#fff; }
  .match-card{
    background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.16);
    border-radius:14px; padding:18px 20px; display:grid;
    grid-template-columns:1fr auto 1fr; align-items:center; gap:14px; backdrop-filter: blur(2px);
    cursor:pointer;
  }
  .team{ display:flex; flex-direction:column; align-items:center; gap:8px; text-align:center; }
  .crest{ width:56px; height:56px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-weight:900; font-size:13px; }
  .crest.home{ background:#fff; color:var(--navy-deep); }
  .crest.away{ background:rgba(255,255,255,.15); color:#fff; border:1px solid rgba(255,255,255,.4); }
  .team small{ color:#C7D2EE; font-size:11px; text-transform:uppercase; letter-spacing:.06em; }
  .vs-col{ text-align:center; }
  .vs-col .date{ font-weight:800; font-size:15px; }
  .vs-col .time{ color:#FFB3B6; font-weight:800; font-size:22px; }
  .vs-col .venue{ color:#C7D2EE; font-size:12px; margin-top:2px; }
  .team-scroll{ display:flex; gap:16px; overflow-x:auto; padding:6px 2px 14px; margin-bottom:2px; }
  .team-chip{ flex:0 0 auto; width:84px; text-align:center; }
  .team-chip .circle{ width:64px; height:64px; border-radius:50%; background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.28); display:flex; align-items:center; justify-content:center; font-weight:800; font-size:15px; color:#fff; overflow:hidden; margin:0 auto 8px; }
  .team-chip .circle img{ width:100%; height:100%; object-fit:cover; }
  .team-chip .name{ font-size:11.5px; font-weight:700; color:#fff; line-height:1.25; }
  .team-chip .role{ font-size:10px; color:#C7D2EE; text-transform:uppercase; letter-spacing:.04em; margin-top:1px; }
  .hero-actions{ margin-top:16px; display:flex; gap:10px; flex-wrap:wrap; }
  .btn{ border-radius:9px; padding:10px 16px; font-weight:700; font-size:13px; border:1px solid transparent; }
  .btn.small{ padding:8px 12px; font-size:12.5px; }
  .btn.primary{ background:var(--red); color:#fff; }
  .btn.primary:hover{ background:var(--red-dark); }
  .btn.ghost{ background:rgba(255,255,255,.08); color:#fff; border-color:rgba(255,255,255,.35); }
  .btn.ghost:hover{ background:rgba(255,255,255,.16); }
  .btn.outline{ background:none; border-color:var(--line); color:var(--ink); }
  .btn.outline:hover{ background:var(--surface-2); }

  /* ---------- section headers ---------- */
  .section{ margin-top:40px; }
  .section-head{ display:flex; align-items:baseline; justify-content:space-between; margin-bottom:14px; gap:12px; flex-wrap:wrap; }
  .section-head h2{ margin:2px 0 0; font-size:22px; }
  .link-more{ font-size:13px; font-weight:700; color:var(--red); background:none; border:none; }
  .link-more:hover{ text-decoration:underline; }

  .grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
  .grid-4{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
  @media (max-width:900px){ .grid-3{grid-template-columns:1fr 1fr;} .grid-4{grid-template-columns:1fr 1fr;} .match-card{grid-template-columns:1fr;} }
  @media (max-width:560px){ .grid-3{grid-template-columns:1fr;} .grid-4{grid-template-columns:1fr;} }

  .card{
    background:var(--surface); border:1px solid var(--line); border-radius:14px; overflow:hidden;
    box-shadow:var(--shadow); display:flex; flex-direction:column; transition:transform .15s ease;
  }
  .card:hover{ transform:translateY(-3px); }
  .thumb{
    aspect-ratio:16/10; background: linear-gradient(155deg, var(--navy) 0%, var(--navy-deep) 100%);
    position:relative; display:flex; align-items:center; justify-content:center;
  }
  .thumb svg{ width:34%; height:34%; opacity:.5; }
  .thumb .tag{
    position:absolute; top:10px; left:10px; background:var(--red); color:#fff;
    font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:.06em;
    padding:4px 8px; border-radius:6px;
  }
  .card .body{ padding:14px 16px 16px; display:flex; flex-direction:column; gap:6px; flex:1; }
  .card .date{ font-size:11px; color:var(--grey); text-transform:uppercase; letter-spacing:.05em; font-weight:700; }
  .card h3{ margin:0; font-size:15.5px; line-height:1.3; }
  .card p{ margin:0; font-size:13px; color:var(--grey); line-height:1.5; }
  .card button.readmore{ margin-top:auto; align-self:flex-start; background:none; border:none; color:var(--red); font-weight:700; font-size:12.5px; padding:6px 0 0; }

  /* ---------- toggle "Ultimi risultati / Prossime partite" ---------- */
  .ru-toggle{
    position:relative; display:flex; background:var(--surface-2); border:1px solid var(--line);
    border-radius:20px; padding:3px; margin-bottom:16px; max-width:360px; user-select:none;
  }
  .ru-thumb{
    position:absolute; top:3px; left:3px; width:calc(50% - 3px); height:calc(100% - 6px);
    background:var(--surface); border-radius:17px; box-shadow:var(--shadow);
    transition:transform .25s cubic-bezier(.4,0,.2,1);
  }
  .ru-toggle[data-side="right"] .ru-thumb{ transform:translateX(100%); }
  .ru-toggle.dragging .ru-thumb{ transition:none; }
  .ru-opt{
    position:relative; z-index:1; flex:1; background:none; border:none; padding:9px 14px;
    font-size:13px; font-weight:700; color:var(--grey); border-radius:17px; text-align:center;
    transition:color .2s ease;
  }
  .ru-opt.active{ color:var(--navy); }
  .ru-viewport{ overflow:hidden; }
  .ru-track{ display:flex; width:200%; transition:transform .3s cubic-bezier(.4,0,.2,1); }
  .ru-track.dragging{ transition:none; }
  .ru-track[data-side="right"]{ transform:translateX(-50%); }
  .ru-panel{ flex:0 0 50%; width:50%; min-width:0; }

  /* results list */
  .results-list{ display:flex; flex-direction:column; gap:8px; }
  .result-row{
    display:grid; grid-template-columns: 90px 1fr auto 1fr 70px; align-items:center; gap:12px;
    background:var(--surface); border:1px solid var(--line); border-radius:10px; padding:10px 14px;
    cursor:pointer;
  }
  .result-row:hover{ background:var(--surface-2); }
  .result-row .d{ font-size:12px; color:var(--grey); font-weight:700; }
  .result-row .opp{ font-weight:700; font-size:14px; }
  .result-row .opp small{ display:block; font-weight:500; color:var(--grey); font-size:11px; }
  .score{ font-weight:900; font-size:17px; text-align:center; padding:4px 10px; border-radius:8px; }
  .score.win{ background:#E4F5EA; color:#1B7A3D; }
  .score.loss{ background:#FDECEC; color:var(--red-dark); }
  :root[data-theme="dark"] .score.win{ background:#123321; color:#7CE0A0; }
  :root[data-theme="dark"] .score.loss{ background:#3A1414; color:#FF9BA0; }
  .pill{ font-size:11px; font-weight:800; padding:4px 9px; border-radius:20px; text-align:center; letter-spacing:.03em; }
  .pill.wl.W{ background:#E4F5EA; color:#1B7A3D; } .pill.wl.L{ background:#FDECEC; color:var(--red-dark); }
  :root[data-theme="dark"] .pill.wl.W{ background:#123321; color:#7CE0A0; }
  :root[data-theme="dark"] .pill.wl.L{ background:#3A1414; color:#FF9BA0; }

  /* ---------- generic page header ---------- */
  .page-head{ margin-bottom:22px; }
  .page-head .eyebrow{ display:block; margin-bottom:4px; }
  .page-head h1{ margin:0; font-size:28px; }
  .page-head p.lead{ color:var(--grey); margin:8px 0 0; max-width:60ch; }

  /* News list */
  .news-filters{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:20px; }
  .news-filters input[type="text"]{
    flex:1; min-width:220px; padding:11px 14px; border:1px solid var(--line); border-radius:9px;
    background:var(--surface); color:var(--ink); font-size:13.5px; font-family:inherit;
  }
  .news-filters select{
    padding:11px 14px; border:1px solid var(--line); border-radius:9px;
    background:var(--surface); color:var(--ink); font-size:13.5px; font-family:inherit;
  }
  .news-empty{ color:var(--grey); font-size:13.5px; padding:20px 0; }
  .news-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
  @media (max-width:900px){ .news-grid{grid-template-columns:1fr 1fr;} }
  @media (max-width:560px){ .news-grid{grid-template-columns:1fr;} }

  /* News detail */
  .article{ max-width:72ch; }
  .article .thumb{ aspect-ratio:21/9; border-radius:14px; margin-bottom:18px; }
  .article h1{ font-size:26px; margin:0 0 8px; }
  .article .meta{ color:var(--grey); font-size:13px; margin-bottom:18px; }
  .article p{ line-height:1.7; color:var(--ink); margin:0 0 14px; }
  .back{ background:none; border:none; color:var(--navy); font-weight:700; font-size:13px; margin-bottom:16px; padding:0; }
  .back:hover{ text-decoration:underline; }
  .related{ margin-top:28px; padding-top:20px; border-top:1px solid var(--line); }
  .related h4{ font-size:12px; text-transform:uppercase; letter-spacing:.06em; color:var(--grey); margin:0 0 10px; }
  .chiplist{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:16px; }
  .chip{ display:inline-flex; align-items:center; gap:6px; background:var(--surface-2); border:1px solid var(--line); padding:7px 13px; border-radius:20px; font-size:12.5px; font-weight:700; color:var(--navy); cursor:pointer; }
  .chip:hover{ background:var(--line); }
  .related-match{ display:flex; align-items:center; justify-content:space-between; gap:12px; background:var(--surface-2); border:1px solid var(--line); border-radius:10px; padding:12px 16px; cursor:pointer; }
  .related-match:hover{ background:var(--line); }
  .related-match .rm-opp{ font-weight:700; font-size:14px; }
  .related-match .rm-date{ font-size:12px; color:var(--grey); }

  /* Roster / Staff */
  .player-card{ text-align:center; cursor:pointer; }
  .avatar{
    aspect-ratio:1; border-radius:14px 14px 0 0;
    background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
    display:flex; align-items:center; justify-content:center; position:relative;
  }
  .avatar .num{ font-size:44px; font-weight:900; color:rgba(255,255,255,.85); }
  .avatar .role-tag{ position:absolute; bottom:8px; left:8px; background:var(--red); color:#fff; font-size:10px; font-weight:800; padding:3px 8px; border-radius:6px; text-transform:uppercase; }
  .player-card .body{ padding:12px 10px 16px; align-items:center; text-align:center; }
  .player-card h3{ font-size:14.5px; }
  .player-card p{ font-size:12px; }

  /* modal */
  .overlay{ position:fixed; inset:0; background:rgba(8,13,26,.6); display:none; align-items:center; justify-content:center; z-index:100; padding:20px; overflow-y:auto; }
  .overlay.open{ display:flex; }
  .modal{ background:var(--surface); border-radius:16px; max-width:440px; width:100%; box-shadow:0 30px 60px -20px rgba(0,0,0,.4); overflow:hidden; margin:auto; }
  .modal.wide{ max-width:660px; }
  .modal .avatar{ border-radius:0; aspect-ratio:16/9; }
  .modal .content{ padding:20px 22px 24px; }
  .modal h3{ margin:0 0 2px; font-size:19px; }
  .modal .sub{ color:var(--red); font-weight:700; font-size:12.5px; text-transform:uppercase; letter-spacing:.04em; margin-bottom:12px; }
  .modal .stats{ display:flex; gap:18px; margin:12px 0 14px; }
  .modal .stats div{ font-size:12px; color:var(--grey); }
  .modal .stats b{ display:block; font-size:16px; color:var(--ink); }
  .modal p{ font-size:13.5px; line-height:1.6; color:var(--ink); margin:0; }
  .modal .close{ position:absolute; top:12px; right:12px; background:rgba(0,0,0,.35); color:#fff; border:none; width:30px; height:30px; border-radius:50%; font-size:16px; z-index:2; }
  .modal-wrap{ position:relative; }

  /* match detail modal */
  .match-head{ background:linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); padding:22px; color:#fff; }
  .match-head .mh-teams{ display:flex; align-items:center; justify-content:center; gap:22px; }
  .match-head .mh-vs{ font-size:12px; color:#C7D2EE; text-transform:uppercase; letter-spacing:.1em; }
  .match-head .mh-name{ font-weight:800; font-size:14.5px; text-align:center; max-width:130px; display:flex; flex-direction:column; align-items:center; gap:8px; }
  .match-head .mh-name .crest{ width:48px; height:48px; }
  .match-head .mh-meta{ text-align:center; font-size:12px; color:#C7D2EE; margin-top:10px; }
  .sets-table{ width:100%; border-collapse:collapse; margin:6px 0 4px; }
  .sets-table th{ font-size:10.5px; text-transform:uppercase; letter-spacing:.05em; color:var(--grey); padding:6px; text-align:center; font-weight:700; }
  .sets-table td{ padding:9px 6px; text-align:center; font-weight:800; font-size:14.5px; border-top:1px solid var(--line); }
  .sets-table td.win{ color:#1B7A3D; }
  :root[data-theme="dark"] .sets-table td.win{ color:#7CE0A0; }
  .final-score{ text-align:center; margin:12px 0 16px; }
  .final-score .fs-num{ font-size:34px; font-weight:900; }
  .final-score .fs-lbl{ font-size:11px; text-transform:uppercase; letter-spacing:.08em; color:var(--grey); }

  /* Calendario */
  .month-group{ margin-bottom:26px; }
  .month-title{ font-size:13px; font-weight:800; text-transform:uppercase; letter-spacing:.08em; color:var(--navy); margin:0 0 10px; }
  .table-scroll{ overflow-x:auto; border-radius:12px; }
  .cal-table{ width:100%; min-width:900px; table-layout:fixed; border-collapse:collapse; background:var(--surface); border:1px solid var(--line); border-radius:12px; overflow:hidden; }
  .cal-table td, .cal-table th{ overflow-wrap:break-word; }
  .cal-table th{ text-align:left; font-size:11px; text-transform:uppercase; letter-spacing:.05em; color:var(--grey); padding:10px 14px; border-bottom:1px solid var(--line); white-space:nowrap; }
  .cal-table td{ padding:11px 14px; border-bottom:1px solid var(--line); font-size:13.5px; vertical-align:middle; }
  .cal-table tbody tr{ cursor:pointer; }
  .cal-table tbody tr:hover{ background:var(--surface-2); }
  .cal-table tr:last-child td{ border-bottom:none; }
  .cal-table .ha{ display:inline-flex; align-items:center; justify-content:center; width:24px; height:24px; border-radius:6px; background:var(--surface-2); color:var(--navy); margin-right:8px; vertical-align:middle; }
  .cal-table tbody tr.row-casa{ background:rgba(27,58,120,.07); }
  .cal-table tbody tr.row-casa:hover{ background:rgba(27,58,120,.14); }
  .cal-table tbody tr.row-casa .ha{ background:rgba(27,58,120,.16); }
  .cal-table tbody tr.row-trasferta:hover{ background:var(--surface-2); }
  .tbp{ background:#FFF4E0; color:#8A5A00; font-weight:800; font-size:11.5px; padding:4px 10px; border-radius:20px; }
  .cat-tag{ font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:.04em; padding:3px 8px; border-radius:6px; display:inline-block; }
  .cat-tag.inline{ margin-right:8px; }
  :root[data-theme="dark"] .tbp{ background:#3A2C0D; color:#F2C063; }

  /* Card partita — toggle "Ultimi risultati / Prossime partite" in home */
  .match-row{
    background:var(--surface); border:1px solid var(--line); border-radius:14px;
    padding:14px 16px; cursor:pointer; transition:transform .15s ease, box-shadow .15s ease;
    display:flex; flex-direction:column; gap:12px;
  }
  .match-row:hover{ transform:translateY(-2px); box-shadow:var(--shadow); }
  .mr-top{ display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; }
  .mr-date{ font-size:12.5px; font-weight:700; color:var(--grey); }
  .mr-teams{ display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:10px; }
  .mr-team{ display:flex; align-items:center; gap:9px; font-weight:700; font-size:13.5px; min-width:0; }
  .mr-team span{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .mr-team-away{ justify-content:flex-end; text-align:right; }
  .mr-score{ font-weight:900; font-size:15px; color:var(--navy); text-align:center; padding:0 4px; }
  .mr-foot{ display:flex; align-items:center; justify-content:space-between; gap:10px; font-size:12px; color:var(--grey); flex-wrap:wrap; }
  .match-row .crest.home, .match-row .crest.away{
    background:var(--surface-2); color:var(--navy); border:1px solid var(--line); flex:0 0 auto;
  }

  /* Partner */
  .partner-card{ display:flex; flex-direction:column; align-items:center; text-align:center; padding:22px 16px; gap:10px; cursor:pointer; }
  .partner-mark{
    width:64px; height:64px; border-radius:12px; display:flex; align-items:center; justify-content:center;
    background:var(--surface-2); font-weight:900; font-size:18px; color:var(--navy); border:1px solid var(--line);
  }
  .partner-card .tier{ font-size:10.5px; text-transform:uppercase; letter-spacing:.06em; color:var(--red); font-weight:800; }
  .partner-card h3{ margin:2px 0 0; font-size:14px; }
  .partner-card .visit{ font-size:11.5px; color:var(--grey); }
  .partner-card .partner-note{ font-size:11px; color:var(--grey); margin-top:-6px; line-height:1.3; }

  .partner-tier-section{ margin-top:36px; }
  .partner-tier-title{
    font-size:13px; text-transform:uppercase; letter-spacing:.1em; font-weight:800;
    color:var(--navy); margin:0 0 14px;
  }

  /* Premium Partner: leggermente piu' grandi dei Partner Ufficiali (dimensione base) */
  .partner-card-premium .partner-mark{ width:76px; height:76px; }
  .partner-card-premium h3{ font-size:15.5px; }
  .partner-card-premium .tier{ font-size:11px; }

  /* Title sponsor: nessun riquadro, logo grande a sinistra + etichetta a destra */
  .partner-hero-wrap{ display:flex; justify-content:center; margin:0 0 40px; }
  .partner-hero-link{ display:block; width:100%; max-width:900px; transition:transform .15s ease; }
  .partner-hero-link:hover{ transform:translateY(-3px); }
  .partner-hero-row{ display:flex; align-items:center; justify-content:center; gap:32px; }
  .partner-hero-logo-col{ flex:0 1 420px; min-width:0; }
  .partner-hero-logo{ display:block; width:100%; height:auto; }
  .partner-hero-fallback{
    text-align:center; font-weight:900; font-size:clamp(28px,5vw,44px); color:var(--navy);
    padding:40px 20px; background:var(--surface-2); border-radius:20px; border:1px solid var(--line);
  }
  .partner-hero-label{
    flex:0 0 auto; font-size:clamp(20px,3.4vw,32px); font-weight:900; text-transform:uppercase;
    letter-spacing:.08em; color:var(--navy);
  }

  @media (max-width:560px){
    .partner-card-premium .partner-mark{ width:64px; height:64px; }
    .partner-card-premium h3{ font-size:14px; }
    .partner-card-premium .tier{ font-size:10.5px; }
    .partner-hero-link{ max-width:none; }
    .partner-hero-row{ flex-direction:column; gap:14px; }
    .partner-hero-logo-col{ flex:0 1 auto; width:100%; order:2; }
    .partner-hero-label{ font-size:18px; order:1; }
  }

  /* ---------- interviste ---------- */
  .video-embed{ position:relative; width:100%; aspect-ratio:16/9; border-radius:14px; overflow:hidden; background:var(--navy-deep); box-shadow:var(--shadow); }
  .video-embed iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }
  .hero .video-embed{ margin-bottom:18px; }
  .hero-video-meta h1{ margin:4px 0 8px; }
  .hero-video-meta p{ color:#C7D2EE; font-size:13.5px; line-height:1.6; max-width:70ch; margin:0; }
  .interview-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
  @media (max-width:900px){ .interview-grid{grid-template-columns:1fr 1fr;} }
  @media (max-width:560px){ .interview-grid{grid-template-columns:1fr;} }
  .interview-card{ display:block; }
  .interview-card .thumb{ position:relative; aspect-ratio:16/9; }
  .interview-card .thumb img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
  .interview-card .play-badge{
    position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
    background:linear-gradient(0deg, rgba(0,0,0,.35), rgba(0,0,0,0) 55%); transition:.15s;
  }
  .interview-card .play-badge svg{ width:44px; height:44px; opacity:.92; filter:drop-shadow(0 2px 6px rgba(0,0,0,.4)); }
  .interview-card:hover .play-badge{ background:rgba(0,0,0,.15); }
  .interview-card.active .thumb{ outline:3px solid var(--red); outline-offset:-3px; border-radius:14px; }
  .interview-card h3{ margin:8px 0 2px; font-size:14.5px; line-height:1.35; }
  .interview-card .date{ font-size:11.5px; color:var(--grey); font-weight:700; text-transform:uppercase; letter-spacing:.04em; }

  /* gallery */
  .gallery-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:10px; }
  @media (max-width:900px){ .gallery-grid{grid-template-columns:repeat(3,1fr);} }
  @media (max-width:560px){ .gallery-grid{grid-template-columns:repeat(2,1fr);} }
  .gtile{ aspect-ratio:1; border-radius:10px; overflow:hidden; cursor:pointer; position:relative; }
  .gtile .cap{ position:absolute; left:0; right:0; bottom:0; background:linear-gradient(0deg, rgba(0,0,0,.65), transparent); color:#fff; font-size:10.5px; padding:16px 8px 6px; }
  .lightbox{ position:fixed; inset:0; background:rgba(5,8,16,.9); display:none; align-items:center; justify-content:center; z-index:110; flex-direction:column; gap:14px; }
  .lightbox.open{ display:flex; }
  .lightbox .big{ width:min(80vw,640px); aspect-ratio:16/10; border-radius:12px; }
  .lightbox .cap2{ color:#fff; font-size:13px; }
  .lightbox-nav{ display:flex; gap:16px; align-items:center; }
  .lightbox-nav button{ background:rgba(255,255,255,.12); color:#fff; border:none; width:38px; height:38px; border-radius:50%; font-size:16px; }
  .lightbox-nav button.close{ background:var(--red); }

  /* toast */
  .toast{ position:fixed; left:50%; bottom:26px; transform:translate(-50%,20px); background:var(--navy-deep); color:#fff; padding:12px 18px; border-radius:10px; font-size:13px; opacity:0; pointer-events:none; transition:all .25s ease; z-index:200; box-shadow:var(--shadow); max-width:90vw; text-align:center; }
  .toast.show{ opacity:1; transform:translate(-50%,0); }

  /* footer */
  footer{ border-top:1px solid var(--line); margin-top:60px; padding:22px 20px 90px; }
  .footer-in{ max-width:1180px; margin:0 auto; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px; }
  footer .meta{ font-size:12px; color:var(--grey); }
  footer .legal-links{ display:flex; gap:14px; }
  footer .legal-links button{ font-size:12px; color:var(--grey); background:none; border:none; text-decoration:underline; }
  .social-row{ display:flex; gap:10px; }
  .social-row a{ width:32px; height:32px; border-radius:9px; background:var(--surface-2); border:1px solid var(--line); display:flex; align-items:center; justify-content:center; color:var(--navy); }
  .social-row a:hover{ background:var(--line); }

  /* legal pages */
  .legal{ max-width:72ch; }
  .legal h2{ font-size:16.5px; margin:26px 0 8px; }
  .legal p, .legal li{ font-size:13.5px; line-height:1.7; color:var(--ink); }
  .legal ul{ padding-left:20px; margin:8px 0; }
  .legal .placeholder{ color:var(--grey); font-style:italic; }
  .legal-note{ background:var(--surface-2); border:1px solid var(--line); border-radius:10px; padding:12px 16px; font-size:12.5px; color:var(--grey); margin-bottom:20px; }

  /* cookie bar */
  .cookie-bar{
    position:fixed; left:16px; right:16px; bottom:16px; max-width:920px; margin:0 auto;
    background:var(--navy-deep); color:#fff; border-radius:14px; padding:16px 20px;
    display:flex; gap:18px; align-items:center; justify-content:space-between; flex-wrap:wrap;
    box-shadow:0 20px 50px -20px rgba(0,0,0,.5); z-index:150;
    transform:translateY(160%); transition:transform .35s ease;
  }
  .cookie-bar.show{ transform:translateY(0); }
  .cookie-bar .txt{ font-size:12.5px; line-height:1.6; color:#C7D2EE; max-width:56ch; }
  .cookie-bar .txt b{ color:#fff; }
  .cookie-actions{ display:flex; gap:8px; flex-wrap:wrap; }
  @media (max-width:560px){
    .cookie-bar{ left:10px; right:10px; bottom:10px; padding:14px 16px; gap:12px; }
    .cookie-bar .txt{ font-size:11.5px; line-height:1.5; }
    .cookie-actions{ width:100%; }
    .cookie-actions .btn{ flex:1; padding:9px 8px; font-size:12px; }
  }

  /* cookie preference toggles */
  .pref-row{ display:flex; justify-content:space-between; align-items:center; padding:12px 0; border-bottom:1px solid var(--line); gap:14px; }
  .pref-row:last-child{ border-bottom:none; }
  .pref-row .lbl{ font-size:13.5px; font-weight:700; }
  .pref-row .desc{ font-size:11.5px; color:var(--grey); margin-top:2px; }
  .switch{ position:relative; width:42px; height:24px; flex:none; }
  .switch input{ opacity:0; width:0; height:0; position:absolute; }
  .switch .track{ position:absolute; inset:0; background:var(--line); border-radius:20px; transition:.2s; cursor:pointer; }
  .switch .track::before{ content:""; position:absolute; width:18px; height:18px; left:3px; top:3px; background:#fff; border-radius:50%; transition:.2s; box-shadow:0 1px 3px rgba(0,0,0,.3); }
  .switch input:checked + .track{ background:var(--red); }
  .switch input:checked + .track::before{ transform:translateX(18px); }
  .switch input:disabled + .track{ opacity:.5; cursor:not-allowed; }

  /* admin login overlay */
  .admin-modal .content{ padding:26px 26px 28px; }
  .admin-modal h2{ margin:0 0 4px; font-size:19px; }
  .admin-modal p.note{ color:var(--grey); font-size:12.5px; margin:0 0 18px; }
  .field{ margin-bottom:12px; }
  .field label{ display:block; font-size:12px; font-weight:700; margin-bottom:5px; color:var(--grey); }
  .field input, .field select, .field textarea{ width:100%; padding:10px 12px; border:1px solid var(--line); border-radius:8px; background:var(--surface-2); color:var(--ink); font-size:16px; font-family:inherit; }
  .field textarea{ resize:vertical; }
  .admin-preview{ margin-top:16px; border-top:1px dashed var(--line); padding-top:14px; }
  .admin-preview .row{ display:flex; justify-content:space-between; align-items:center; padding:8px 0; font-size:13px; border-bottom:1px solid var(--line); }
  .admin-preview .row:last-child{ border-bottom:none; }
  .admin-preview .row button{ font-size:11.5px; font-weight:700; color:var(--navy); background:var(--surface-2); border:1px solid var(--line); padding:5px 10px; border-radius:7px; }
  .tagbox{ display:flex; flex-wrap:wrap; gap:8px; }
  .tagbox label{ display:flex; align-items:center; gap:6px; background:var(--surface-2); border:1px solid var(--line); padding:6px 10px; border-radius:8px; font-size:12.5px; font-weight:600; cursor:pointer; width:auto; margin:0; white-space:nowrap; }
  .tagbox label input[type="checkbox"]{ flex:none; width:14px; height:14px; margin:0; }
  .editor-actions{ display:flex; justify-content:flex-end; gap:10px; margin-top:18px; }

  .demo-flag{ display:inline-flex; align-items:center; gap:6px; font-size:11px; color:var(--grey); background:var(--surface-2); border:1px solid var(--line); padding:4px 10px; border-radius:20px; margin-bottom:14px; }

  /* ---------- admin app (full-page dashboard) ---------- */
  .admin-shell{ display:flex; gap:28px; align-items:flex-start; }
  .admin-side{ width:220px; flex:none; position:sticky; top:28px; }
  .admin-role-badge{ background:var(--navy-deep); color:#fff; border-radius:12px; padding:14px 16px; margin-bottom:16px; }
  .admin-role-badge .rn{ font-size:11px; text-transform:uppercase; letter-spacing:.06em; color:#C7D2EE; }
  .admin-role-badge .rv{ font-weight:800; font-size:15px; margin-top:2px; }
  .admin-side-nav{ display:flex; flex-direction:column; gap:2px; }
  .admin-side-nav a{
    text-align:left; background:none; border:none; padding:10px 12px; border-radius:8px;
    font-weight:700; font-size:13.5px; color:var(--ink);
  }
  .admin-side-nav a:hover{ background:var(--surface-2); }
  .admin-side-nav a.active{ background:var(--red); color:#fff; }
  .admin-main{ flex:1; min-width:0; }
  .admin-main-head{ display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:18px; flex-wrap:wrap; }
  .admin-main-head h2{ margin:0; font-size:21px; }
  .crud-list{ display:flex; flex-direction:column; gap:8px; }
  .crud-row{
    display:flex; align-items:center; justify-content:space-between; gap:14px;
    background:var(--surface); border:1px solid var(--line); border-radius:10px; padding:12px 16px;
  }
  .crud-row .ci-main{ font-weight:700; font-size:14px; }
  .crud-row .ci-sub{ font-size:12px; color:var(--grey); margin-top:2px; }
  .crud-actions{ display:flex; gap:6px; flex:none; }
  .crud-actions form{ display:contents; }
  .icon-btn{
    background:var(--surface-2); border:1px solid var(--line); color:var(--ink);
    width:32px; height:32px; border-radius:8px; font-size:14px; display:flex; align-items:center; justify-content:center;
  }
  .icon-btn:hover{ background:var(--line); }
  .icon-btn:disabled{ opacity:.35; cursor:default; }
  .icon-btn:disabled:hover{ background:var(--surface-2); }
  .icon-btn.danger:hover{ background:#FDECEC; color:var(--red-dark); }
  .crud-thumb{ width:44px; height:44px; border-radius:8px; flex:none; background:linear-gradient(160deg, var(--navy), var(--navy-deep)); display:flex; align-items:center; justify-content:center; color:#fff; font-weight:800; font-size:13px; }
  .crud-empty{ color:var(--grey); font-size:13.5px; padding:14px 0; }
  .dropzone{
    border:2px dashed var(--line); border-radius:12px; padding:22px; text-align:center;
    font-size:13px; color:var(--grey); margin-bottom:14px; transition:.15s;
  }
  .dropzone.drag{ border-color:var(--red); background:var(--surface-2); color:var(--ink); }
  .dropzone label{ color:var(--navy); text-decoration:underline; cursor:pointer; font-weight:700; }
  .gallery-admin-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(140px,1fr)); gap:12px; }
  .gallery-admin-tile{ position:relative; border-radius:10px; overflow:hidden; aspect-ratio:1; border:1px solid var(--line); }
  .gallery-admin-tile img{ width:100%; height:100%; object-fit:cover; }
  .gallery-admin-tile .cap{ position:absolute; left:0; right:0; bottom:0; background:linear-gradient(0deg, rgba(0,0,0,.7), transparent); color:#fff; font-size:10.5px; padding:14px 8px 6px; }
  .gallery-admin-tile .del{ position:absolute; top:6px; right:6px; }
  @media (max-width:820px){ .admin-shell{ flex-direction:column; } .admin-side{ width:100%; position:static; } .admin-side-nav{ flex-direction:row; flex-wrap:wrap; } }
  body.admin-mode .utility, body.admin-mode header.site{ display:none; }
  .exit-btn{
    margin-top:14px; background:none; border:1px solid var(--red); color:var(--red);
    font-size:12px; font-weight:700; padding:7px 12px; border-radius:8px; width:auto;
  }
  .exit-btn:hover{ background:#FDECEC; }
  .exit-btn.armed{ background:var(--red); color:#fff; }

  /* ---------- logo cropper ---------- */
  .crop-viewport{
    width:260px; height:260px; margin:0 auto; border-radius:50%; overflow:hidden; position:relative;
    background:var(--surface-2); border:2px solid var(--line); cursor:grab; touch-action:none;
    box-shadow: 0 0 0 4000px rgba(0,0,0,.35);
  }
  .crop-viewport:active{ cursor:grabbing; }
  .crop-viewport.square{ border-radius:16px; }
  .crop-viewport.wide{ width:320px; height:200px; border-radius:12px; }
  .crop-viewport img{ position:absolute; top:0; left:0; transform-origin:top left; user-select:none; -webkit-user-drag:none; max-width:none; }
