/* Euroderby — light contemporaneo
   Brand green + cool gray. Space Grotesk UI, Source Serif for longform. */

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-latin-500-normal.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-latin-700-normal.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-500-normal.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-700-normal.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4-latin-700-normal.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  color-scheme: light;
  /* Brand euroderby.it — verde più acceso + antracite (accento) */
  --ed-green: #19b308;
  --ed-green-dark: #128a04;
  --ed-green-deep: #0f7403;
  --ed-green-soft: rgba(25, 179, 8, 0.12);
  --ed-anthracite: #2B2D31;
  --ed-star: #f5e600;
  --ed-ink: #151618;
  --ed-ink-soft: #343434;
  --ed-mute: #6a6a6a;
  --ed-rule: #e8e8e8;
  --ed-bg: #ffffff;
  --ed-paper: #ffffff;
  --ed-mist: #f1f1f1;
  --ed-display: "Space Grotesk", "Archivo", sans-serif;
  --ed-sans: "Archivo", "Space Grotesk", sans-serif;
  --ed-serif: "Source Serif 4", Georgia, serif;
  --ed-max: 1440px;
  --ed-pad: 16px;
  --ed-measure: 62ch;
  --ed-tap: 44px;
  --ed-radius: 14px;
  --ed-radius-sm: 10px;
  --ed-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ed-safe-bottom: env(safe-area-inset-bottom, 0px);
  --ed-safe-top: env(safe-area-inset-top, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  margin: 0;
  font-family: var(--ed-sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--ed-ink);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  padding-bottom: var(--ed-safe-bottom);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ed-green-dark); text-underline-offset: 3px; }
a:hover { color: var(--ed-green); }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--ed-green);
  outline-offset: 3px;
}
button, input { font: inherit; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Reveal motion: nascosto solo con JS (html.js). Senza JS / crawler resta visibile. */
html.js .ed-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ed-ease), transform .7s var(--ed-ease);
}
html.js .ed-reveal.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html.js .ed-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* —— Masthead —— */
.ed-masthead {
  position: sticky; top: 0; z-index: 120;
  background: #ffffff;
  border-bottom: 1px solid var(--ed-rule);
  overflow: visible;
  padding-top: var(--ed-safe-top);
}
.ed-masthead.is-compact {
  border-bottom-color: var(--ed-green);
}
.ed-masthead__bar {
  position: relative;
  max-width: var(--ed-max); margin: 0 auto;
  padding: 0 var(--ed-pad); min-height: 56px;
  display: flex; align-items: center; gap: 10px;
  z-index: 1;
}
/* Fascia logo: split diagonale netto ~45° bianco | antracite */
.ed-masthead__bar--split {
  /* Mobile: più antracite a destra così le action restano leggibili */
  --ed-split: 48%;
  --ed-split-lean: 14px;
  isolation: isolate;
}
.ed-masthead__bar--split::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Full-bleed oltre il max-width */
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  background: var(--ed-anthracite);
  /* Taglio netto e ripido */
  clip-path: polygon(
    calc(var(--ed-split) + var(--ed-split-lean)) 0%,
    100% 0%,
    100% 100%,
    calc(var(--ed-split) - var(--ed-split-lean)) 100%
  );
}
.ed-logo {
  display: flex; text-decoration: none; flex-shrink: 0;
  position: relative; z-index: 2;
  max-width: min(40vw, 220px);
}
.ed-logo img {
  height: 34px; width: auto;
  max-width: 100%;
  object-fit: contain;
}
.ed-masthead__actions {
  margin-left: auto;
  display: flex; align-items: center; gap: 4px; flex-shrink: 0;
  position: relative; z-index: 2;
  /* Resta sulla metà antracite dello split diagonale */
  padding-left: 8px;
}
.ed-masthead__social,
.ed-social--masthead {
  display: none;
  align-items: center;
  gap: 0;
}
.ed-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.ed-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none !important;
  min-height: var(--ed-tap);
  min-width: var(--ed-tap);
  padding: 0;
  border-radius: var(--ed-radius-sm);
  color: inherit;
}
.ed-social__link .ed-social-svg {
  display: block;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
}
.ed-social--masthead .ed-social__link {
  color: #f4f5f6;
}
.ed-social--masthead .ed-social__link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}
.ed-social--footer .ed-social__link {
  min-width: 0;
  min-height: 32px;
  font-family: var(--ed-display);
  font-weight: 600;
  font-size: .82rem;
  color: #d7dde6;
  border-bottom: 1px solid #3a424e;
  border-radius: 0;
  padding-bottom: 2px;
}
.ed-social--footer .ed-social__link:hover { color: #fff; border-bottom-color: #fff; }
.ed-social--footer .ed-social-svg { width: 18px; height: 18px; }
.ed-masthead__cta {
  display: none;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  font-family: var(--ed-display);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .02em;
  text-decoration: none !important;
  color: var(--ed-anthracite) !important;
  background: var(--ed-star);
  white-space: nowrap;
}
.ed-masthead__cta:hover { filter: brightness(0.97); color: var(--ed-anthracite) !important; }
.ed-icon {
  width: var(--ed-tap); height: var(--ed-tap); border: 0; background: transparent;
  color: var(--ed-ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  padding: 0; border-radius: var(--ed-radius-sm);
  text-decoration: none !important;
}
.ed-icon svg { width: 22px; height: 22px; }
.ed-icon:hover { color: var(--ed-green-dark); background: var(--ed-green-soft); }
.ed-icon--light { color: #f4f5f6; }
.ed-icon--light:hover { color: #fff; background: rgba(255, 255, 255, 0.12); }

.ed-desk-nav,
.ed-desk-nav__sub {
  display: none !important;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ed-secnav {
  background: var(--ed-green);
  border-top: 0;
  position: relative;
  z-index: 130;
  overflow: visible;
}
.ed-secnav__track {
  max-width: var(--ed-max); margin: 0 auto;
  padding: 0 var(--ed-pad);
  display: flex; gap: 2px;
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  align-items: stretch;
}
.ed-secnav__track::-webkit-scrollbar { display: none; }
.ed-secnav__item {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: stretch;
}
.ed-secnav__link {
  flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 44px;
  padding: 0 14px;
  font-family: var(--ed-display); font-weight: 600; font-size: .86rem;
  letter-spacing: .01em; text-decoration: none;
  color: #ffffff; border-bottom: 3px solid transparent; white-space: nowrap;
}
.ed-secnav__link.is-on,
.ed-secnav__item.is-on > .ed-secnav__link {
  color: #ffffff; background: rgba(0, 0, 0, 0.16); border-bottom-color: var(--ed-star);
}
.ed-secnav__drop {
  display: none;
  position: absolute; top: calc(100% - 1px); left: 0; z-index: 140;
  min-width: min(230px, calc(100vw - 24px));
  max-height: min(70vh, 420px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #ffffff;
  border: 1px solid var(--ed-rule);
  border-top: 3px solid var(--ed-green);
  border-radius: 0 0 var(--ed-radius-sm) var(--ed-radius-sm);
  padding: 8px 0;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}
.ed-secnav__drop a {
  display: block; padding: 12px 16px; min-height: var(--ed-tap);
  color: var(--ed-ink); text-decoration: none;
  font-family: var(--ed-display); font-weight: 600; font-size: .92rem;
}
.ed-secnav__drop a.is-on {
  background: var(--ed-green-soft); color: var(--ed-green-dark);
}
.ed-secnav__item.is-open > .ed-secnav__drop {
  display: block;
}
/* Dropdown hover solo su pointer fine (desktop). Su touch: tap via JS / menu. */
@media (hover: hover) and (pointer: fine) {
  .ed-secnav__link:hover,
  .ed-secnav__item:hover > .ed-secnav__link {
    color: #ffffff; background: rgba(0, 0, 0, 0.16); border-bottom-color: var(--ed-star);
  }
  .ed-secnav__drop a:hover {
    background: var(--ed-green-soft); color: var(--ed-green-dark);
  }
  .ed-secnav__item:hover > .ed-secnav__drop,
  .ed-secnav__item:focus-within > .ed-secnav__drop {
    display: block;
  }
}

.ed-search {
  border-top: 1px solid var(--ed-rule); background: var(--ed-paper);
  padding: 14px var(--ed-pad) 16px;
}
.ed-search[hidden] { display: none !important; }
.ed-search__form {
  max-width: var(--ed-max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto; gap: 10px;
}
.ed-search__form input {
  min-height: var(--ed-tap); border: 1px solid var(--ed-rule);
  background: var(--ed-bg); padding: 0 14px; border-radius: var(--ed-radius-sm);
}
.ed-search__form button {
  min-height: var(--ed-tap); border: 0; background: var(--ed-green); color: #fff;
  font-family: var(--ed-display); font-weight: 700; letter-spacing: .02em;
  padding: 0 18px; cursor: pointer; border-radius: var(--ed-radius-sm);
}
.ed-search__form button:hover { background: var(--ed-green-dark); }

.ed-menu {
  position: fixed; inset: 0; z-index: 200;
  background: var(--ed-paper);
  display: none; flex-direction: column;
  padding:
    calc(16px + var(--ed-safe-top))
    var(--ed-pad)
    calc(40px + var(--ed-safe-bottom));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.ed-menu.is-open { display: flex; }
.ed-menu__top {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 18px; border-bottom: 1px solid var(--ed-rule); margin-bottom: 20px;
  position: sticky; top: 0; background: var(--ed-paper); z-index: 1;
}
.ed-menu__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ed-menu__list > li > a {
  display: block; padding: 14px 0;
  font-family: var(--ed-display); font-weight: 700; font-size: clamp(1.45rem, 7vw, 2.1rem);
  letter-spacing: -.02em; text-decoration: none;
  color: var(--ed-ink); line-height: 1.1; border-bottom: 1px solid var(--ed-rule);
}
.ed-menu__list > li > a:hover { color: var(--ed-green-dark); }
.ed-menu__kids {
  list-style: none; margin: 0 0 12px; padding: 8px 0 12px 0;
  display: grid; gap: 2px;
}
.ed-menu__kids a {
  display: flex; align-items: center; min-height: var(--ed-tap);
  padding: 8px 0; text-decoration: none; color: var(--ed-ink-soft);
  font-weight: 500; font-size: 1rem;
}

/* Shell */
.ed-shell {
  max-width: var(--ed-max); margin: 0 auto;
  padding: 0 0 40px;
}
.ed-shell--pad { padding-left: var(--ed-pad); padding-right: var(--ed-pad); }
.ed-main { min-width: 0; }
.ed-rail { display: none; }
.ed-left { display: none; }
.ed-mobile-modules {
  display: block;
  margin: 20px var(--ed-pad) 4px;
  padding: 0;
}
.ed-mobile-modules .ed-rail__block { margin-bottom: 14px; }
.ed-mobile-modules .ed-rail__block:last-child { margin-bottom: 4px; }
.ed-mobile-modules .ed-rail__rank > li {
  grid-template-columns: 24px 64px 1fr;
  gap: 10px;
}

/* Section band / label */
.ed-band {
  margin: 28px var(--ed-pad) 12px;
  padding: 12px 18px;
  border-radius: var(--ed-radius-sm);
  background: var(--ed-green);
  color: #fff;
}
.ed-band__title {
  margin: 0; max-width: var(--ed-max); margin-inline: auto;
  font-family: var(--ed-display); font-weight: 700; font-size: 1rem;
  letter-spacing: -.01em; color: #fff;
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  flex-wrap: wrap;
}
.ed-band a {
  color: #fff; text-decoration: none; font-size: .8rem; font-weight: 600;
  float: none; letter-spacing: 0; white-space: nowrap;
}
.ed-band a:hover { color: var(--ed-star); text-decoration: underline; }

.ed-label {
  display: flex; align-items: baseline; gap: 12px;
  margin: 28px 0 14px; padding: 0 var(--ed-pad);
  max-width: var(--ed-max); margin-inline: auto;
}
.ed-label__text {
  margin: 0; font-family: var(--ed-display); font-weight: 700;
  font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ed-ink);
  white-space: nowrap;
}
.ed-label__rule { flex: 1; height: 0; border: 0; border-top: 1px solid var(--ed-rule); }
.ed-label__link {
  font-family: var(--ed-display); font-weight: 600; font-size: .8rem;
  text-decoration: none; color: var(--ed-green-dark);
}

.ed-kicker {
  display: inline-block; margin: 0 0 8px;
  font-family: var(--ed-display); font-weight: 600; font-size: .78rem;
  letter-spacing: .06em; text-transform: uppercase; color: var(--ed-green-dark);
  text-decoration: none;
}
.ed-kicker:hover { color: var(--ed-green); }

/* Hero lead */
.ed-top {
  margin: 0 0 8px;
  padding: 22px var(--ed-pad) 0;
}
.ed-lead { margin: 0; }
.ed-lead__media {
  display: block; margin: 0; background: var(--ed-mist); overflow: hidden;
  border-radius: var(--ed-radius);
}
.ed-lead__media img {
  width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--ed-radius);
  transition: transform .6s var(--ed-ease);
}
.ed-lead__media:hover img { transform: scale(1.025); }
.ed-lead__body {
  padding: 18px 4px 8px;
  max-width: none; margin: 0;
}
.ed-lead__title {
  margin: 0;
  font-family: var(--ed-display); font-weight: 700;
  font-size: clamp(1.85rem, 6.5vw, 3.1rem); line-height: 1.05;
  letter-spacing: -.03em; text-wrap: balance;
  overflow-wrap: anywhere; word-break: break-word; max-width: 18ch;
}
.ed-lead__title a { color: var(--ed-ink); text-decoration: none; }
.ed-lead__title a:hover { color: var(--ed-green-dark); }
.ed-lead__stand {
  margin: 14px 0 0; font-family: var(--ed-serif); font-size: 1.15rem; line-height: 1.45;
  color: var(--ed-ink-soft); max-width: 42ch;
}
.ed-lead__meta {
  margin: 14px 0 0; font-size: .82rem; color: var(--ed-mute);
  font-variant-numeric: tabular-nums;
}
.ed-lead__cta {
  display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 8px;
}
.ed-lead__cta a {
  display: inline-flex; align-items: center; justify-content: center;
  box-sizing: border-box;
  min-height: 44px; padding: 0 16px;
  font-family: var(--ed-display); font-weight: 600; font-size: .9rem;
  text-decoration: none; border-radius: var(--ed-radius-sm);
  border: 1px solid transparent;
  line-height: 1;
}
.ed-lead__cta a.ed-cta--primary {
  background: var(--ed-green); color: #fff; border-color: var(--ed-green);
}
.ed-lead__cta a.ed-cta--primary:hover { background: var(--ed-green-dark); color: #fff; border-color: var(--ed-green-dark); }
.ed-lead__cta a.ed-cta--ghost {
  color: var(--ed-ink); background: transparent; border-color: var(--ed-rule);
}
.ed-lead__cta a.ed-cta--ghost:hover {
  border-color: var(--ed-green); color: var(--ed-green-dark); background: var(--ed-green-soft);
}

/* Ranked list */
.ed-rank {
  list-style: none; margin: 0; padding: 0 var(--ed-pad);
  max-width: var(--ed-max); margin-inline: auto;
}
.ed-rank__item {
  display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start;
  padding: 14px 0; border-bottom: 1px solid var(--ed-rule);
}
.ed-rank__num {
  font-family: var(--ed-display); font-weight: 700; font-size: 1.6rem; line-height: 1;
  color: var(--ed-green); letter-spacing: -.04em;
}
.ed-rank__title {
  margin: 0; font-family: var(--ed-display); font-weight: 600;
  font-size: 1.05rem; line-height: 1.25; letter-spacing: -.01em;
  overflow-wrap: anywhere; word-break: break-word;
}
.ed-rank__title a { color: var(--ed-ink); text-decoration: none; }
.ed-rank__title a:hover { color: var(--ed-green-dark); }
.ed-rank__meta { margin: 4px 0 0; font-size: .75rem; color: var(--ed-mute); }

/* Story cards / grid */
.ed-grid {
  display: grid; grid-template-columns: 1fr; gap: 16px;
  max-width: var(--ed-max); margin: 0 auto;
  padding: 8px var(--ed-pad) 0;
}
.ed-story {
  display: flex; flex-direction: column; gap: 0;
  background: var(--ed-paper);
  border: 1px solid var(--ed-rule);
  border-radius: var(--ed-radius);
  overflow: hidden;
}
.ed-story__media { overflow: hidden; background: var(--ed-mist); }
.ed-story__media img {
  width: 100%; aspect-ratio: 16/10; object-fit: cover;
  transition: transform .5s var(--ed-ease);
}
.ed-story__media:hover img { transform: scale(1.04); }
.ed-story__body { padding: 14px 16px 16px; }
.ed-story__title {
  margin: 0; font-family: var(--ed-display); font-weight: 600;
  font-size: 1.1rem; line-height: 1.25; letter-spacing: -.015em;
}
.ed-story__title a { color: var(--ed-ink); text-decoration: none; }
.ed-story__title a:hover { color: var(--ed-green-dark); }
.ed-story__meta { margin: 8px 0 0; font-size: .75rem; color: var(--ed-mute); font-variant-numeric: tabular-nums; }
.ed-story--row {
  display: grid; grid-template-columns: 112px 1fr; gap: 0; align-items: stretch;
}
.ed-story--row .ed-story__media img { aspect-ratio: 1; height: 100%; }
.ed-story--row .ed-story__body { padding: 14px 16px; display: flex; flex-direction: column; justify-content: center; }
.ed-story--row .ed-story__title { font-size: 1.05rem; }

/* Fixtures */
.ed-fixtures {
  max-width: var(--ed-max); margin: 0 auto; padding: 0 var(--ed-pad);
}
.ed-fixtures__scroll {
  margin: 0;
  border-radius: var(--ed-radius);
  border: 1px solid var(--ed-rule);
  background: var(--ed-paper);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
}
.ed-fixtures__scroll .ed-fix {
  border: 0;
  border-radius: 0;
  min-width: 520px;
}
.ed-fixtures__empty {
  padding: 18px 16px; border: 1px solid var(--ed-rule); border-radius: var(--ed-radius);
  background: var(--ed-paper); color: var(--ed-ink-soft);
}
.ed-fixtures__empty strong {
  display: block; font-family: var(--ed-display); font-weight: 700;
  margin-bottom: 6px; color: var(--ed-ink);
}
.ed-fix {
  width: 100%; border-collapse: separate; border-spacing: 0;
  font-variant-numeric: tabular-nums;
  background: var(--ed-paper);
  border: 1px solid var(--ed-rule);
  border-radius: var(--ed-radius);
  overflow: hidden;
}
.ed-fix th {
  text-align: left; font-family: var(--ed-display); font-weight: 600;
  font-size: .68rem; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ed-mute); padding: 10px 10px; background: #f7f7f7;
  border-bottom: 1px solid var(--ed-rule);
}
.ed-fix th:nth-child(n + 3) { text-align: right; }
.ed-fix td {
  padding: 12px 10px; border-bottom: 1px solid var(--ed-rule);
  vertical-align: middle; font-size: .88rem;
}
.ed-fix tr:last-child td { border-bottom: 0; }
.ed-fix__time { white-space: nowrap; color: var(--ed-mute); width: 3.2rem; }
.ed-fix__comp {
  display: block; font-size: .65rem; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ed-mute); font-family: var(--ed-display); font-weight: 600;
}
.ed-fix__teams {
  font-family: var(--ed-display); font-weight: 600; font-size: .95rem; line-height: 1.25;
  color: var(--ed-ink); text-decoration: none;
}
.ed-fix__teams:hover { color: var(--ed-green-dark); }
.ed-fix__odd {
  text-align: right; font-family: var(--ed-display); font-weight: 700; font-size: 1rem;
  color: var(--ed-ink); min-width: 2.4rem;
}
.ed-fix__odd.is-best { color: var(--ed-green-dark); background: var(--ed-green-soft); }
.ed-fix__odd span {
  display: block; font-size: .6rem; font-weight: 500; color: var(--ed-mute); letter-spacing: .02em;
}

/* Strips */
.ed-strip {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; scrollbar-width: thin;
  padding: 12px var(--ed-pad) 4px;
}
.ed-strip__item {
  flex: 0 0 min(78vw, 260px); scroll-snap-align: start;
  text-decoration: none; color: inherit; background: var(--ed-paper);
  border: 1px solid var(--ed-rule); border-radius: var(--ed-radius); overflow: hidden;
}
.ed-strip__media { background: var(--ed-mist); overflow: hidden; }
.ed-strip__media img {
  width: 100%; aspect-ratio: 16/10; object-fit: cover;
  transition: transform .5s var(--ed-ease);
}
.ed-strip__item:hover .ed-strip__media img { transform: scale(1.04); }
.ed-strip__body { padding: 14px 14px 16px; }
.ed-strip__title {
  margin: 0; font-family: var(--ed-display); font-weight: 600;
  font-size: 1.05rem; line-height: 1.25; color: var(--ed-ink); letter-spacing: -.015em;
}
.ed-strip__pick {
  display: inline-block; margin-top: 10px;
  font-family: var(--ed-display); font-weight: 700; font-size: .78rem;
  letter-spacing: .04em; text-transform: uppercase; color: var(--ed-green-dark);
}

/* Archive / search */
.ed-pagehead {
  max-width: var(--ed-max); margin: 0 auto; padding: 32px var(--ed-pad) 20px;
}
.ed-pagehead h1 {
  margin: 0; font-family: var(--ed-display); font-weight: 700;
  font-size: clamp(1.85rem, 6vw, 2.6rem); letter-spacing: -.03em; line-height: 1.05;
  overflow-wrap: anywhere; word-break: break-word;
}
.ed-pagehead p {
  margin: 12px 0 0; font-size: 1.05rem; color: var(--ed-ink-soft); max-width: 46ch; line-height: 1.5;
}
.ed-searchbox {
  margin-top: 18px; display: grid; gap: 10px;
}
.ed-searchbox input {
  min-height: var(--ed-tap); border: 1px solid var(--ed-rule);
  background: var(--ed-paper); padding: 0 14px; width: 100%; border-radius: var(--ed-radius-sm);
}
.ed-searchbox button {
  min-height: var(--ed-tap); border: 0; background: var(--ed-green); color: #fff;
  font-family: var(--ed-display); font-weight: 700; cursor: pointer;
  border-radius: var(--ed-radius-sm);
}
.ed-searchbox button:hover { background: var(--ed-green-dark); }
.ed-count { padding: 8px var(--ed-pad) 0; color: var(--ed-mute); font-size: .85rem; max-width: var(--ed-max); margin: 0 auto; }

.ed-empty {
  max-width: var(--ed-max); margin: 0 auto; padding: 28px var(--ed-pad);
}
.ed-empty__title {
  margin: 0 0 8px; font-family: var(--ed-display); font-weight: 700;
  font-size: 1.35rem; letter-spacing: -.02em;
}
.ed-empty__text { margin: 0; color: var(--ed-ink-soft); max-width: 42ch; }

.ed-pager {
  display: flex; flex-wrap: wrap; gap: 4px;
  max-width: var(--ed-max); margin: 24px auto 0; padding: 0 var(--ed-pad);
}
.ed-pager a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; min-height: 40px; padding: 0 10px;
  text-decoration: none; color: var(--ed-ink);
  font-family: var(--ed-display); font-weight: 600;
  border-radius: var(--ed-radius-sm);
}
.ed-pager a.is-on, .ed-pager a:hover {
  background: var(--ed-green-soft); color: var(--ed-green-dark);
}

/* Article */
.ed-article { max-width: 720px; margin: 0 auto; padding: 28px var(--ed-pad) 40px; }
.ed-article__kicker { margin: 0 0 10px; }
.ed-article__title {
  margin: 0; font-family: var(--ed-display); font-weight: 700;
  font-size: clamp(1.9rem, 6vw, 2.85rem); line-height: 1.08;
  letter-spacing: -.03em; text-wrap: balance;
  overflow-wrap: anywhere; word-break: break-word;
}
.ed-article__stand {
  margin: 16px 0 0; font-family: var(--ed-serif); font-size: 1.2rem; line-height: 1.45;
  color: var(--ed-ink-soft); max-width: var(--ed-measure);
}
.ed-article__byline {
  margin: 16px 0 0; padding-bottom: 16px; border-bottom: 1px solid var(--ed-rule);
  font-size: .85rem; color: var(--ed-mute); font-variant-numeric: tabular-nums;
}
.ed-article__byline a { font-weight: 600; text-decoration: none; }
.ed-article__pick {
  margin: 18px 0 0; padding: 14px 16px;
  background: var(--ed-green-soft); border-radius: var(--ed-radius-sm);
  font-family: var(--ed-display); font-weight: 600; font-size: 1.05rem;
  color: var(--ed-green-dark);
}
.ed-ai {
  margin: 14px 0 0; padding: 12px 14px;
  border-left: 3px solid var(--ed-green); background: var(--ed-paper);
  border-radius: 0 var(--ed-radius-sm) var(--ed-radius-sm) 0;
  font-size: .85rem; color: var(--ed-ink-soft);
}
.ed-article__hero {
  margin: 22px 0 8px; background: var(--ed-mist); overflow: hidden;
  border-radius: var(--ed-radius);
}
.ed-article__hero img {
  width: 100%; aspect-ratio: 16/9; object-fit: cover;
  transition: transform .55s var(--ed-ease);
}
.ed-article__hero:hover img { transform: scale(1.02); }
.ed-article__credit {
  margin: 0 0 22px; font-size: .72rem; color: var(--ed-mute);
}
.ed-prose {
  font-family: var(--ed-serif); font-size: 1.05rem; line-height: 1.7;
  max-width: var(--ed-measure); color: var(--ed-ink);
}
.ed-prose p { margin: 0 0 1.15rem; }
.ed-prose h2, .ed-prose h3 {
  font-family: var(--ed-display); font-weight: 700; letter-spacing: -.02em;
  line-height: 1.15; margin: 1.8rem 0 .7rem; color: var(--ed-ink);
}
.ed-prose h2 { font-size: 1.45rem; }
.ed-prose h3 { font-size: 1.2rem; }
.ed-prose blockquote,
.ed-prose .pull-quote {
  margin: 1.6rem 0; padding: 4px 0 4px 18px;
  border-left: 3px solid var(--ed-green);
  font-family: var(--ed-serif); font-size: 1.3rem; font-weight: 600;
  line-height: 1.35; color: var(--ed-ink); font-style: italic;
}
.ed-share { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 12px; align-items: center; }
.ed-share--top { margin: 14px 0 0; padding-bottom: 14px; border-bottom: 1px solid var(--ed-rule); }
.ed-share__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px;
  font-family: var(--ed-display); font-weight: 600; font-size: .8rem;
  text-decoration: none !important; color: var(--ed-ink-soft);
  background: var(--ed-mist); padding: 8px 14px; border-radius: var(--ed-radius-sm);
  line-height: 1;
}
.ed-share__btn .ed-social-svg {
  display: block; width: 16px; height: 16px; flex: 0 0 auto;
}
.ed-share__btn:hover { background: var(--ed-green-soft); color: var(--ed-green-dark); }
.ed-share__btn--whatsapp:hover { color: #128C7E; }
.ed-share__btn--facebook:hover { color: #0866FF; }
.ed-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ed-tags a {
  font-family: var(--ed-display); font-weight: 600; font-size: .8rem;
  text-decoration: none; color: var(--ed-mute);
  padding: 6px 10px; border-radius: var(--ed-radius-sm); background: var(--ed-paper);
  border: 1px solid var(--ed-rule);
}
.ed-tags a:hover { color: var(--ed-green-dark); border-color: var(--ed-green); }

.ed-inline-related {
  margin: 28px 0; padding: 18px;
  border: 1px solid var(--ed-rule); border-radius: var(--ed-radius);
  background: var(--ed-paper);
}
.ed-inline-related__label {
  margin: 0 0 12px; font-family: var(--ed-display); font-weight: 700;
  font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ed-mute);
}
.ed-inline-related ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ed-inline-related li { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; }
.ed-inline-related__thumb { overflow: hidden; background: var(--ed-mist); border-radius: 6px; }
.ed-inline-related__thumb img { width: 72px; height: 54px; object-fit: cover; }
.ed-inline-related a {
  font-family: var(--ed-display); font-weight: 600; font-size: 1rem;
  line-height: 1.25; text-decoration: none; color: var(--ed-ink);
}
.ed-inline-related a:hover { color: var(--ed-green-dark); }

.ed-source {
  margin: 24px 0; padding: 14px 16px;
  border: 1px solid var(--ed-rule); background: var(--ed-paper);
  border-radius: var(--ed-radius-sm);
}
.ed-source__label {
  margin: 0 0 6px; font-family: var(--ed-display); font-weight: 700;
  font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ed-green-dark);
}
.ed-source p { margin: 0; font-size: .9rem; color: var(--ed-ink-soft); }
.ed-source a { font-weight: 600; }

.ed-related { max-width: var(--ed-max); margin: 0 auto 40px; }
.ed-related__grid { border-top: 0; }
.ed-related .ed-story--row { max-width: 720px; margin-inline: auto; }

/* Odds */
.ed-odds { max-width: var(--ed-max); margin: 0 auto; padding: 0 var(--ed-pad) 40px; }
.ed-odds__tabs {
  display: flex; flex-wrap: nowrap; gap: 8px; margin: 16px calc(var(--ed-pad) * -1) 20px;
  padding: 0 var(--ed-pad); overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.ed-odds__tabs::-webkit-scrollbar { display: none; }
.ed-odds__tabs a {
  flex: 0 0 auto;
  font-family: var(--ed-display); font-weight: 600; font-size: .85rem;
  text-decoration: none; color: var(--ed-mute);
  padding: 10px 14px; min-height: var(--ed-tap); display: inline-flex; align-items: center;
  border-radius: var(--ed-radius-sm);
  background: transparent; border: 1px solid transparent;
}
.ed-odds__tabs a.is-on {
  color: var(--ed-green-dark); background: var(--ed-green-soft); border-color: transparent;
}
@media (hover: hover) and (pointer: fine) {
  .ed-odds__tabs a:hover {
    color: var(--ed-green-dark); background: var(--ed-green-soft); border-color: transparent;
  }
}
.ed-event {
  margin: 0 0 24px; padding: 18px;
  background: var(--ed-paper); border: 1px solid var(--ed-rule);
  border-radius: var(--ed-radius);
}
.ed-event__title {
  margin: 0; font-family: var(--ed-display); font-weight: 700;
  font-size: 1.3rem; letter-spacing: -.02em; line-height: 1.15;
}
.ed-event__meta { margin: 6px 0 14px; font-size: .8rem; color: var(--ed-mute); }
.ed-market { margin: 0 0 18px; }
.ed-market h3 {
  margin: 0 0 8px; font-family: var(--ed-display); font-weight: 600;
  font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ed-mute);
}
.ed-table-wrap {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain; scrollbar-width: thin;
  margin: 0 -4px; padding: 0 4px;
}
.ed-table {
  width: 100%; border-collapse: collapse; min-width: 480px;
  font-size: .88rem; font-variant-numeric: tabular-nums;
}
.ed-table th, .ed-table td {
  padding: 10px 8px; border-bottom: 1px solid var(--ed-rule); text-align: left;
  vertical-align: middle;
}
.ed-article-odds .ed-table { min-width: 420px; }
.ed-article-odds .ed-table th:not(:first-child),
.ed-article-odds .ed-table td:not(:first-child) {
  min-width: 64px;
  text-align: center;
}
.ed-article-odds .ed-odd,
.ed-article-odds .ed-prob { text-align: center; }
.ed-table th {
  position: sticky; top: 0; background: var(--ed-bg);
  font-family: var(--ed-display); font-weight: 600; font-size: .68rem;
  letter-spacing: .04em; text-transform: uppercase; color: var(--ed-mute); z-index: 1;
}
.ed-table th:first-child, .ed-table td:first-child {
  position: sticky; left: 0; background: var(--ed-paper); z-index: 2;
  font-weight: 600;
}
.ed-table th:first-child { z-index: 3; background: var(--ed-bg); }
.ed-table td:not(:first-child), .ed-table th:not(:first-child) { text-align: right; }
.ed-table .is-best {
  color: var(--ed-green-dark); font-weight: 700; background: var(--ed-green-soft);
}
.ed-table .ed-odd {
  font-family: var(--ed-display); font-weight: 700; font-size: 1.05rem;
}
.ed-table .ed-prob { display: block; font-size: .68rem; color: var(--ed-mute); font-weight: 500; }
.ed-table tr.ed-best-row td { background: var(--ed-green-soft); font-weight: 600; }
.ed-odds-meta { margin: 8px 0 0; font-size: .75rem; color: var(--ed-mute); }
.ed-match { max-width: var(--ed-max); margin: 0 auto; padding: 8px var(--ed-pad) 48px; }
.ed-match__example {
  display: inline-block; margin: 0 0 16px; padding: 6px 10px;
  background: #fff3cd; color: #664d03; font-family: var(--ed-display);
  font-weight: 700; font-size: .8rem; letter-spacing: .02em;
  border-radius: var(--ed-radius-sm);
}
.ed-match__example-inline {
  font-size: .65rem; font-weight: 700; color: #664d03; background: #fff3cd;
  padding: 2px 6px; border-radius: 4px; margin-left: 6px; vertical-align: middle;
}
.ed-match__hero {
  text-align: center;
  padding: 28px 12px 32px;
  margin: 0 0 8px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(25, 179, 8, 0.08), transparent 70%),
    linear-gradient(180deg, var(--ed-paper) 0%, var(--ed-bg) 100%);
  border: 1px solid var(--ed-rule);
  border-radius: var(--ed-radius);
}
.ed-match__crest-row {
  display: flex; align-items: center; justify-content: center; gap: clamp(16px, 5vw, 36px);
  margin: 0 0 18px;
}
.ed-match__vs {
  font-family: var(--ed-display); font-weight: 700; font-size: clamp(1.4rem, 4vw, 1.85rem);
  color: var(--ed-mute); letter-spacing: .04em;
}
.ed-team-logo {
  display: block; object-fit: contain; border-radius: 50%;
  background: #fff; border: 1px solid var(--ed-rule);
  box-shadow: 0 2px 10px rgba(20, 24, 28, 0.06);
}
.ed-team-logo--fallback {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--ed-display); font-weight: 700; font-size: .95em;
  color: #fff; background: var(--ed-team-color, #1a3a6b);
  border-color: transparent; letter-spacing: .02em; user-select: none;
}
.ed-match__title {
  margin: 0; font-family: var(--ed-display); font-weight: 700;
  font-size: clamp(1.55rem, 4.5vw, 2.35rem); letter-spacing: -.03em; line-height: 1.12;
  text-wrap: balance;
}
.ed-match__when {
  margin: 10px 0 0; font-size: 1.05rem; color: var(--ed-ink-soft);
  font-family: var(--ed-display); font-weight: 600;
}
.ed-match__comp {
  margin: 8px 0 0; font-size: .78rem; color: var(--ed-mute);
  text-transform: uppercase; letter-spacing: .08em;
  font-family: var(--ed-display); font-weight: 600;
}
.ed-match__odds { margin-top: 20px; }
.ed-match__odds-band { margin-bottom: 0; }
/* Comparatore partita: 1/X/2/Goal, card uniformi, senza margine in UI. */
.ed-match__odds .ed-fixtures {
  padding-left: 0; padding-right: 0;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}
.ed-match__odds .ed-fixtures__scroll {
  margin: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border-radius: var(--ed-radius);
  border: 1px solid var(--ed-rule);
  background: var(--ed-paper);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
}
.ed-match__odds .ed-table-wrap { margin: 0; padding: 0; max-width: 100%; }
.ed-match__odds-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--ed-paper);
  table-layout: fixed;
}
.ed-match__odds-table th,
.ed-match__odds-table td {
  padding: 12px 12px;
  border-bottom: 1px solid var(--ed-rule);
  vertical-align: middle;
}
.ed-match__odds-table th {
  text-align: left;
  font-family: var(--ed-display); font-weight: 600;
  font-size: .68rem; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ed-mute); background: #f7f7f7;
}
.ed-match__odds-table th:not(:first-child):not(.ed-match__cta-col),
.ed-match__odds-table td:not(:first-child):not(.ed-match__cta-cell) {
  text-align: right;
}
.ed-match__odds-table tr:last-child td { border-bottom: 0; }
.ed-match__odds-table .ed-match__bm-name {
  font-family: var(--ed-display); font-weight: 700; font-size: .95rem;
}
.ed-match__odds-table .ed-odd {
  display: block;
  font-family: var(--ed-display); font-weight: 700; font-size: 1.05rem;
  line-height: 1.15; color: var(--ed-ink);
}
.ed-match__odds-table .ed-prob {
  display: block;
  margin-top: 3px;
  font-size: .68rem; font-weight: 500; color: var(--ed-mute); letter-spacing: .02em;
  line-height: 1.2;
}
.ed-match__odds-table .ed-best-bm {
  display: block;
  margin-top: 4px;
  font-family: var(--ed-display); font-weight: 600;
  font-size: .72rem; color: var(--ed-ink-soft); letter-spacing: .01em;
  line-height: 1.2;
}
.ed-match__odds-table .is-best {
  color: var(--ed-green-dark);
  background: var(--ed-green-soft);
  font-weight: 700;
}
.ed-match__odds-table .is-best .ed-odd { color: var(--ed-green-dark); }
.ed-match__odds-table tr.ed-best-row td {
  background: var(--ed-green-soft);
  font-weight: 600;
}
.ed-match__aff-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  margin-top: 0;
  padding: 10px 12px;
  border-radius: var(--ed-radius-sm);
  border: 1px solid var(--ed-rule);
  background: var(--ed-paper);
  color: var(--ed-ink);
  font-family: var(--ed-display); font-weight: 700; font-size: .78rem;
  text-decoration: none !important;
  letter-spacing: .01em;
  min-height: var(--ed-tap);
}
.ed-match__aff-btn:hover {
  border-color: var(--ed-green-dark);
  color: var(--ed-green-dark);
  background: var(--ed-green-soft);
}

/* Mobile: card tutte stessa dimensione (min-height fisso + griglia 4 esiti). */
.ed-match__odds .ed-fixtures__scroll {
  overflow: visible;
  border: 0;
  background: transparent;
  border-radius: 0;
}
.ed-match__odds-table { display: block; min-width: 0; table-layout: auto; }
.ed-match__odds-table thead { display: none; }
.ed-match__odds-table tbody {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  align-items: stretch;
}
.ed-match__odds-table tr {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  /* Senza CTA: solo header bookmaker + riga 4 esiti (niente riga fantasma). */
  grid-template-rows: auto minmax(4.6rem, auto);
  gap: 8px;
  padding: 14px 12px;
  border: 1px solid var(--ed-rule);
  border-radius: var(--ed-radius);
  background: var(--ed-paper);
  align-items: stretch;
  min-height: 10.5rem;
  height: 100%;
  box-sizing: border-box;
}
.ed-match__odds-table--with-cta tr {
  grid-template-rows: auto minmax(4.6rem, auto) auto;
  min-height: 12.5rem;
}
.ed-match__odds-table td {
  position: static;
  min-width: 0;
  border: 0;
  padding: 8px 6px;
  text-align: left;
  background: transparent;
  border-radius: 8px;
  overflow-wrap: anywhere;
  min-height: 4.6rem;
  box-sizing: border-box;
}
.ed-match__odds-table td:first-child {
  grid-column: 1 / -1;
  grid-row: 1;
  padding: 0 2px 10px;
  margin-bottom: 0;
  border-bottom: 1px solid var(--ed-rule);
  border-radius: 0;
  box-shadow: none;
  font-family: var(--ed-display); font-weight: 700; font-size: 1rem;
  min-height: 0;
}
.ed-match__odds-table td:first-child::before { display: none; }
.ed-match__odds-table td::before {
  content: attr(data-label);
  display: block;
  margin-bottom: 4px;
  font-family: var(--ed-display); font-weight: 600;
  font-size: .62rem; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ed-mute);
}
.ed-match__odds-table .ed-match__cta-cell {
  grid-column: 1 / -1;
  grid-row: 3;
  min-height: 0;
  padding: 4px 0 0;
  text-align: left;
}
.ed-match__odds-table .ed-match__cta-cell::before { display: none; content: none; }
.ed-match__odds-table td.is-best {
  background: var(--ed-green-soft);
}
.ed-match__odds-table tr.ed-best-row {
  border-color: color-mix(in srgb, var(--ed-green-dark) 28%, var(--ed-rule));
  background: var(--ed-green-soft);
  min-height: 12.5rem;
}
.ed-match__odds-table tr.ed-best-row td {
  background: transparent;
}
.ed-match__odds-table tr.ed-best-row td.is-best {
  background: rgba(255, 255, 255, 0.45);
}
.ed-match__odds-table .ed-odd { font-size: 1rem; }
.ed-match__odds-table .ed-best-bm { font-size: .68rem; }

@media (min-width: 720px) {
  .ed-match__odds .ed-fixtures__scroll {
    overflow-x: auto;
    border: 1px solid var(--ed-rule);
    background: var(--ed-paper);
    border-radius: var(--ed-radius);
  }
  .ed-match__odds-table {
    display: table;
    min-width: 700px;
    width: 100%;
    table-layout: fixed;
  }
  .ed-match__odds-table thead { display: table-header-group; }
  .ed-match__odds-table tbody { display: table-row-group; }
  .ed-match__odds-table tr {
    display: table-row; padding: 0; border: 0; border-radius: 0;
    background: transparent; gap: 0; align-items: stretch;
    min-height: 0; height: auto;
    grid-template-rows: none;
  }
  .ed-match__odds-table th {
    position: sticky; top: 0; z-index: 1;
    padding: 12px 14px;
  }
  .ed-match__odds-table td {
    display: table-cell;
    border-bottom: 1px solid var(--ed-rule);
    padding: 14px;
    border-radius: 0;
    overflow-wrap: normal;
    min-height: 0;
  }
  .ed-match__odds-table td::before { display: none; content: none; }
  .ed-match__odds-table th:first-child,
  .ed-match__odds-table td:first-child {
    width: 22%;
    position: sticky; left: 0; z-index: 2;
    grid-column: auto;
    min-width: 0;
    box-shadow: 4px 0 8px -6px rgba(20, 24, 28, 0.18);
    border-bottom: 1px solid var(--ed-rule);
    padding: 14px;
    background: var(--ed-paper);
    text-align: left;
  }
  .ed-match__odds-table th:first-child {
    z-index: 3;
    background: #f7f7f7;
  }
  /* Senza CTA: 4 colonne quote (1/X/2/Goal) occupano tutto lo spazio residuo. */
  .ed-match__odds-table:not(.ed-match__odds-table--with-cta) th:not(:first-child),
  .ed-match__odds-table:not(.ed-match__odds-table--with-cta) td:not(:first-child) {
    width: 19.5%;
    text-align: right;
    min-width: 0;
  }
  .ed-match__odds-table--with-cta th:not(:first-child):not(.ed-match__cta-col),
  .ed-match__odds-table--with-cta td:not(:first-child):not(.ed-match__cta-cell) {
    width: 14%;
    text-align: right;
    min-width: 0;
  }
  .ed-match__odds-table--with-cta .ed-match__cta-col,
  .ed-match__odds-table--with-cta .ed-match__cta-cell {
    width: 18%;
    text-align: left;
    vertical-align: middle;
  }
  .ed-match__odds-table tr:last-child td { border-bottom: 0; }
  .ed-match__odds-table td.is-best { background: var(--ed-green-soft); }
  .ed-match__odds-table tr.ed-best-row td {
    background: var(--ed-green-soft);
  }
  .ed-match__odds-table tr.ed-best-row td:first-child { background: var(--ed-green-soft); }
  .ed-match__odds-table .ed-odd { font-size: 1.08rem; }
  .ed-match__odds-table .ed-best-bm { font-size: .74rem; }
  .ed-match__aff-btn { width: auto; min-width: 100%; }
}

.ed-event__title a { color: inherit; text-decoration: none; }
.ed-event__title a:hover { color: var(--ed-green-dark); }
.ed-margin {
  display: inline-block; font-family: var(--ed-display); font-weight: 600;
  font-size: .75rem; color: var(--ed-green-dark);
}
.ed-article-odds {
  margin: 0 0 1.25rem;
  padding: 1rem 0 0;
  border-top: 1px solid rgba(43, 45, 49, .12);
}
.ed-article-odds__title {
  font-family: var(--ed-display);
  font-size: 1.15rem;
  margin: 0 0 .35rem;
  color: var(--ed-ink);
}

/* Secondaries */
.ed-secondaries {
  display: grid; gap: 14px;
  padding: 16px 0 0;
  max-width: none; margin: 0;
}
.ed-secondary {
  display: grid; grid-template-columns: 112px 1fr; gap: 14px;
  padding: 0; align-items: center;
  background: var(--ed-paper); border: 1px solid var(--ed-rule);
  border-radius: var(--ed-radius); overflow: hidden;
}
.ed-secondary__media { overflow: hidden; background: var(--ed-mist); }
.ed-secondary__media img {
  width: 112px; height: 100%; min-height: 96px; object-fit: cover;
  transition: transform .45s var(--ed-ease);
}
.ed-secondary:hover .ed-secondary__media img { transform: scale(1.05); }
.ed-secondary__body { padding: 12px 14px 12px 0; }
.ed-secondary__title {
  margin: 0; font-family: var(--ed-display); font-weight: 600;
  font-size: 1.02rem; line-height: 1.25; letter-spacing: -.015em;
}
.ed-secondary__title a { color: var(--ed-ink); text-decoration: none; }
.ed-secondary__title a:hover { color: var(--ed-green-dark); }
.ed-secondary__meta { margin: 6px 0 0; font-size: .72rem; color: var(--ed-mute); }

/* Section heads */
.ed-sec-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin: 28px 0 12px; padding: 0 var(--ed-pad) 10px;
  max-width: var(--ed-max); margin-inline: auto;
  border-bottom: 2px solid var(--ed-green);
}
.ed-sec-head__title {
  margin: 0; font-family: var(--ed-display); font-weight: 700;
  font-size: 1.15rem; letter-spacing: -.02em; color: var(--ed-ink);
}
.ed-sec-head__all {
  font-family: var(--ed-display); font-weight: 600; font-size: .85rem;
  text-decoration: none; color: var(--ed-green-dark); white-space: nowrap;
}
.ed-sec-head__all:hover { color: var(--ed-green); }

/* Competition blocks */
.ed-section-block { margin: 0 0 8px; }
.ed-section-block__grid {
  background: var(--ed-paper); border: 1px solid var(--ed-rule);
  border-radius: var(--ed-radius); overflow: hidden;
  margin: 0 var(--ed-pad);
  max-width: var(--ed-max);
}
.ed-section-block__lead { padding: 0 0 12px; }
.ed-section-block__media { display: block; overflow: hidden; background: var(--ed-mist); }
.ed-section-block__media img {
  width: 100%; aspect-ratio: 16/10; object-fit: cover;
  transition: transform .5s var(--ed-ease);
}
.ed-section-block__media:hover img { transform: scale(1.03); }
.ed-section-block__body { padding: 14px 16px 4px; }
.ed-section-block__title {
  margin: 0; font-family: var(--ed-display); font-weight: 700;
  font-size: 1.25rem; line-height: 1.15; letter-spacing: -.02em;
}
.ed-section-block__title a { color: var(--ed-ink); text-decoration: none; }
.ed-section-block__title a:hover { color: var(--ed-green-dark); }
.ed-section-block__stand {
  margin: 8px 0 0; font-size: .98rem;
  color: var(--ed-ink-soft); max-width: 42ch;
}
.ed-section-block__meta { margin: 8px 0 0; font-size: .75rem; color: var(--ed-mute); }
.ed-section-block__side { padding: 0 16px 12px; }
.ed-mini {
  display: grid; grid-template-columns: 88px 1fr; gap: 12px;
  padding: 12px 0; border-top: 1px solid var(--ed-rule); align-items: center;
}
.ed-mini__media { overflow: hidden; background: var(--ed-mist); border-radius: 6px; }
.ed-mini__media img {
  width: 88px; height: 66px; object-fit: cover;
  transition: transform .35s var(--ed-ease);
}
.ed-mini:hover .ed-mini__media img { transform: scale(1.05); }
.ed-mini__title {
  margin: 0; font-family: var(--ed-display); font-weight: 600;
  font-size: .98rem; line-height: 1.25;
}
.ed-mini__title a { color: var(--ed-ink); text-decoration: none; }
.ed-mini__title a:hover { color: var(--ed-green-dark); }
.ed-mini__meta { margin: 4px 0 0; font-size: .72rem; color: var(--ed-mute); }

/* Mosaic foto */
.ed-mosaic {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  margin: 0 var(--ed-pad) 4px;
}
.ed-mosaic__item {
  position: relative; display: block; overflow: hidden; background: var(--ed-mist);
  text-decoration: none; color: #fff; min-height: 180px;
  border-radius: var(--ed-radius);
}
.ed-mosaic__item:hover,
.ed-mosaic__item:hover .ed-mosaic__title,
.ed-mosaic__item:focus-visible,
.ed-mosaic__item:focus-visible .ed-mosaic__title {
  color: #fff;
}
.ed-mosaic__item img {
  width: 100%; height: 100%; min-height: 180px; object-fit: cover;
  aspect-ratio: 4/3; transition: transform .55s var(--ed-ease);
}
.ed-mosaic__item:hover img { transform: scale(1.05); }
.ed-mosaic__item--lg { grid-column: 1 / -1; }
.ed-mosaic__item--lg img { aspect-ratio: 16/9; min-height: 180px; }
.ed-mosaic__caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 12px;
  background: rgba(21, 22, 24, 0.88);
}
.ed-mosaic__caption .ed-kicker,
.ed-mosaic__item:hover .ed-mosaic__caption .ed-kicker,
.ed-mosaic__item:focus-visible .ed-mosaic__caption .ed-kicker {
  color: var(--ed-star);
}
.ed-mosaic__title {
  display: block; font-family: var(--ed-display); font-weight: 700;
  font-size: .98rem; line-height: 1.2; letter-spacing: -.015em;
  color: #fff;
}

/* WhatsApp float */
.ed-wa {
  position: fixed;
  right: max(14px, env(safe-area-inset-right, 0px));
  bottom: max(14px, calc(14px + var(--ed-safe-bottom)));
  z-index: 90;
  width: 54px; height: 54px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: #25d366; color: #fff; text-decoration: none;
  box-shadow: 0 10px 28px rgba(18, 128, 4, 0.28);
  transition: transform .2s var(--ed-ease), background .2s ease;
}
@media (hover: hover) and (pointer: fine) {
  .ed-wa:hover { background: #1ebe57; color: #fff; transform: translateY(-2px) scale(1.04); }
}
.ed-wa .ed-social-svg,
.ed-wa svg { width: 28px; height: 28px; display: block; flex: 0 0 auto; }
.ed-wa span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* Category hero — light, text below image */
.ed-cat-hero {
  margin: 0 0 12px; color: var(--ed-ink);
  max-width: var(--ed-max); margin-inline: auto;
}
.ed-cat-hero__media {
  min-height: 160px; overflow: hidden; background: var(--ed-mist);
}
.ed-cat-hero__media img {
  width: 100%; aspect-ratio: 21/9; object-fit: cover;
}
.ed-cat-hero__body {
  padding: 22px var(--ed-pad) 8px;
}
.ed-cat-hero__body .ed-kicker { color: var(--ed-green-dark); }
.ed-cat-hero h1 {
  margin: 0; font-family: var(--ed-display); font-weight: 700;
  font-size: clamp(1.9rem, 6vw, 2.8rem); letter-spacing: -.03em;
  line-height: 1.05;
}
.ed-cat-hero p { margin: 10px 0 0; max-width: 42ch; color: var(--ed-ink-soft); }
.ed-cat-featured { padding: 0 var(--ed-pad); }

/* Rail */
.ed-rail__block {
  margin-bottom: 18px;
  padding: 16px 16px 14px;
  background: linear-gradient(180deg, #f6fbf4 0%, #ffffff 42%);
  border: 1px solid #e4f0e2;
  border-radius: var(--ed-radius);
}
.ed-rail__block h2 {
  margin: 0 0 14px; font-family: var(--ed-display); font-weight: 700;
  font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ed-ink); display: flex; align-items: center; gap: 10px;
}
.ed-rail__block h2::before {
  content: ""; width: 10px; height: 10px; flex: 0 0 auto;
  background: var(--ed-green); border-radius: 2px;
  box-shadow: 2px 2px 0 var(--ed-star);
}
.ed-rail__empty {
  margin: 0; font-size: .88rem; color: var(--ed-mute);
}
.ed-rail__rank, .ed-rail__list, .ed-rail__sections {
  list-style: none; margin: 0; padding: 0;
}
.ed-rail__rank > li {
  display: grid; grid-template-columns: 28px 72px 1fr; gap: 12px;
  align-items: center; padding: 10px 0;
  border-bottom: 1px solid #eaf3e8;
}
.ed-rail__rank > li:last-child,
.ed-rail__row:last-child { border-bottom: 0; padding-bottom: 2px; }
.ed-rail__num {
  font-family: var(--ed-display); font-weight: 700; font-size: 1.35rem;
  color: var(--ed-green); line-height: 1; letter-spacing: -.04em;
}
.ed-rail__thumb {
  display: block; overflow: hidden; background: var(--ed-mist);
  border-radius: 10px; aspect-ratio: 1;
}
.ed-rail__thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .35s var(--ed-ease);
}
.ed-rail__rank > li:hover .ed-rail__thumb img,
.ed-rail__row:hover .ed-rail__thumb img { transform: scale(1.05); }
.ed-rail__link {
  font-family: var(--ed-display); font-weight: 600; font-size: .88rem;
  line-height: 1.25; color: var(--ed-ink); text-decoration: none;
}
.ed-rail__link:hover { color: var(--ed-ink); text-decoration: underline; text-underline-offset: 3px; }
.ed-rail__row {
  display: grid; grid-template-columns: 72px 1fr; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid #eaf3e8; align-items: center;
}
.ed-rail__pick {
  display: inline-block; margin-top: 6px;
  font-family: var(--ed-display); font-weight: 700; font-size: .68rem;
  letter-spacing: .04em; text-transform: uppercase; color: var(--ed-green-dark);
  background: var(--ed-green-soft); padding: 3px 8px; border-radius: 6px;
}
.ed-rail__odds {
  width: 100%; border-collapse: separate; border-spacing: 0;
  font-variant-numeric: tabular-nums;
}
.ed-rail__odds th {
  text-align: left; font-family: var(--ed-display); font-weight: 600;
  font-size: .62rem; letter-spacing: .05em; text-transform: uppercase;
  color: var(--ed-mute); padding: 0 4px 8px; border-bottom: 1px solid #eaf3e8;
}
.ed-rail__odds th:not(:first-child) { text-align: right; }
.ed-rail__odds td {
  padding: 10px 4px; border-bottom: 1px solid #eaf3e8;
  font-family: var(--ed-display); font-weight: 700; font-size: .82rem; vertical-align: middle;
}
.ed-rail__odds tr:last-child td { border-bottom: 0; }
.ed-rail__odds td:first-child {
  font-weight: 600; font-size: .78rem; line-height: 1.2; padding-left: 0;
}
.ed-rail__odds td:first-child a { color: var(--ed-ink); text-decoration: none; }
.ed-rail__odds td:first-child a:hover { text-decoration: underline; text-underline-offset: 2px; }
.ed-rail__odds td:not(:first-child) {
  text-align: right; color: var(--ed-green-dark);
  background: transparent; min-width: 2.4rem;
}
.ed-rail__odds span {
  display: block; font-size: .58rem; font-weight: 500; color: var(--ed-mute);
}
.ed-rail__sections { display: grid; gap: 8px; }
.ed-rail__sec {
  display: grid; grid-template-columns: 96px 1fr; gap: 12px;
  align-items: center; text-decoration: none; color: var(--ed-ink);
  padding: 6px; margin: -6px; border-radius: 12px;
  transition: background .2s var(--ed-ease);
}
.ed-rail__sec:hover { background: var(--ed-green-soft); color: var(--ed-ink); }
.ed-rail__sec-media { overflow: hidden; background: var(--ed-mist); border-radius: 10px; }
.ed-rail__sec-media img {
  width: 96px; height: 64px; object-fit: cover;
  transition: transform .35s var(--ed-ease);
}
.ed-rail__sec:hover .ed-rail__sec-media img { transform: scale(1.05); }
.ed-rail__sec-name {
  font-family: var(--ed-display); font-weight: 700; font-size: .9rem;
  letter-spacing: -.01em;
}
.ed-rail__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ed-rail__tags a {
  font-family: var(--ed-display); font-weight: 600; font-size: .76rem;
  text-decoration: none; color: var(--ed-ink-soft);
  padding: 6px 10px; background: #fff; border: 1px solid #e4f0e2;
  border-radius: 8px;
}
.ed-rail__tags a:hover {
  color: var(--ed-green-dark); border-color: var(--ed-green);
  background: var(--ed-green-soft);
}
.ed-rail__more { margin: 12px 0 0; }
.ed-rail__more a {
  display: inline-block;
  font-family: var(--ed-display); font-weight: 700; font-size: .78rem;
  letter-spacing: .04em; text-transform: uppercase;
  text-decoration: none; color: var(--ed-green-dark);
  padding: 8px 12px; border: 1px solid #cfe8ca; border-radius: 8px;
  background: #fff;
}
.ed-rail__more a:hover { background: var(--ed-green); color: #fff; border-color: var(--ed-green); }
.ed-rail__rg {
  padding: 16px; border: 1px solid #cfe8ca;
  background: linear-gradient(135deg, #f3faF1 0%, #ffffff 70%);
  border-radius: var(--ed-radius);
}
.ed-rail__badge {
  margin: 0 0 8px; font-family: var(--ed-display); font-weight: 700;
  font-size: 1.2rem; color: var(--ed-green-dark); letter-spacing: .06em;
}
.ed-rail__rg p { margin: 0 0 6px; font-size: .85rem; color: var(--ed-ink-soft); line-height: 1.4; }
.ed-rail__rg a { color: var(--ed-green-dark); font-weight: 600; }

/* Left rail */
.ed-left__title {
  margin: 0 0 12px; font-family: var(--ed-display); font-weight: 700;
  font-size: .72rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ed-mute); padding-bottom: 8px; border-bottom: 1px solid var(--ed-rule);
}
.ed-left__nav ul { list-style: none; margin: 0; padding: 0; }
.ed-left__nav a {
  display: grid; grid-template-columns: 36px 1fr; gap: 10px; align-items: center;
  padding: 8px 0; border-bottom: 1px solid var(--ed-rule);
  text-decoration: none; color: var(--ed-ink);
  font-family: var(--ed-display); font-weight: 600; font-size: .82rem;
}
.ed-left__nav a:hover { color: var(--ed-green-dark); }
.ed-left__nav img {
  width: 36px; height: 36px; object-fit: cover; background: var(--ed-mist); border-radius: 6px;
}
.ed-left__icon {
  width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--ed-green-soft); color: var(--ed-green-dark); border-radius: 6px;
}

/* Footer */
.ed-foot {
  background: #161a20; color: #a8b0bc; margin-top: 48px;
  padding: 48px var(--ed-pad) 40px;
}
.ed-foot a { color: #fff; text-decoration: none; }
.ed-foot a:hover { color: #b8f5a8; }
.ed-foot__grid {
  max-width: var(--ed-max); margin: 0 auto; display: grid; gap: 28px;
}
.ed-foot__logo {
  display: inline-flex; padding: 10px 12px; background: #fff; margin-bottom: 14px;
  border-radius: var(--ed-radius-sm);
}
.ed-foot__logo img { height: 32px; width: auto; }
.ed-foot__tag {
  margin: 0 0 10px; font-size: .95rem; color: #8a93a0;
}
.ed-foot__legal { margin: 0; font-size: .85rem; line-height: 1.55; }
.ed-foot h3 {
  margin: 0 0 12px; font-family: var(--ed-display); font-weight: 700;
  font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: #fff;
}
.ed-foot__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ed-foot__links a { display: inline-flex; min-height: 32px; align-items: center; font-size: .9rem; }
.ed-foot__social { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 16px; }
.ed-foot__compliance {
  max-width: var(--ed-max); margin: 32px auto 0; padding-top: 22px;
  border-top: 1px solid #2a3038; font-size: .85rem; line-height: 1.55;
}
.ed-foot__badge {
  margin: 0 0 8px; font-family: var(--ed-display); font-weight: 700;
  font-size: 1.1rem; color: #b8f5a8; letter-spacing: .04em;
}
.ed-foot__compliance a { color: #b8f5a8; text-decoration: underline; }

/* 404 / static */
.ed-error {
  max-width: 480px; margin: 72px auto; padding: 0 var(--ed-pad); text-align: left;
}
.ed-error h1 {
  margin: 0; font-family: var(--ed-display); font-weight: 700;
  font-size: clamp(4rem, 16vw, 6.5rem); line-height: .9; letter-spacing: -.04em;
  color: var(--ed-green);
}
.ed-error p { font-size: 1.1rem; color: var(--ed-ink-soft); }
.ed-error a {
  display: inline-block; margin-top: 16px;
  font-family: var(--ed-display); font-weight: 700;
  text-decoration: none; color: #fff; background: var(--ed-green);
  padding: 12px 18px; border-radius: var(--ed-radius-sm);
}
.ed-error a:hover { background: var(--ed-green-dark); color: #fff; }

.ed-static { max-width: 720px; margin: 0 auto; padding: 32px var(--ed-pad) 48px; }
.ed-static h1 {
  margin: 0 0 20px; font-family: var(--ed-display); font-weight: 700;
  font-size: clamp(1.9rem, 5vw, 2.5rem); letter-spacing: -.03em;
}

@media (min-width: 390px) {
  .ed-masthead__bar--split { --ed-split: 46%; --ed-split-lean: 16px; }
  .ed-masthead__social,
  .ed-social--masthead { display: flex; }
  /* Masthead: Instagram al posto di WhatsApp (WA resta float). Su stretto solo IG. */
  .ed-social--masthead .ed-social__link--whatsapp { display: none !important; }
  .ed-social--masthead .ed-social__link--facebook { display: none; }
  .ed-social--masthead .ed-social__link--instagram { display: inline-flex; }
}
@media (min-width: 480px) {
  :root { --ed-pad: 20px; }
  .ed-logo { max-width: min(44vw, 220px); }
  .ed-logo img { height: 38px; }
  .ed-masthead__bar { min-height: 60px; }
  .ed-masthead__bar--split { --ed-split: 50%; --ed-split-lean: 30px; }
  .ed-masthead__cta { display: inline-flex; }
  .ed-social--masthead .ed-social__link--facebook { display: inline-flex; }
  .ed-social--masthead .ed-social__link--instagram { display: inline-flex; }
  .ed-mosaic__title { font-size: 1.05rem; }
  .ed-prose { font-size: 1.1rem; line-height: 1.72; }
  .ed-fix th { padding: 12px 12px; font-size: .72rem; }
  .ed-fix td { padding: 13px 12px; font-size: .92rem; }
  /* Non azzerare min-width: spezza lo scroll e taglia colonne quote. */
  .ed-fixtures__scroll .ed-fix { min-width: 520px; }
  .ed-match__odds-table th,
  .ed-match__odds-table td { padding: 13px 12px; }
}

@media (min-width: 720px) {
  :root { --ed-pad: 28px; }
  .ed-logo img { height: 46px; }
  .ed-masthead__bar { min-height: 72px; gap: 14px; }
  .ed-masthead__bar--split { --ed-split: 46%; --ed-split-lean: 36px; }
  .ed-masthead__actions { gap: 6px; }
  .ed-lead__media img { aspect-ratio: 2.4/1; }
  .ed-lead__title { font-size: clamp(2.5rem, 4.2vw, 3.6rem); max-width: 18ch; }
  .ed-wa {
    right: max(24px, env(safe-area-inset-right, 0px));
    bottom: max(24px, calc(24px + var(--ed-safe-bottom)));
    width: 62px; height: 62px;
  }
  .ed-wa .ed-social-svg,
  .ed-wa svg { width: 30px; height: 30px; }
  .ed-article__hero { margin: 26px 0 8px; }
  .ed-prose { font-size: 1.125rem; line-height: 1.75; }
  .ed-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .ed-story--row { grid-template-columns: 140px 1fr; }
  .ed-strip__item { flex-basis: 280px; }
  .ed-foot__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .ed-searchbox { grid-template-columns: 1fr auto; }
  .ed-secondaries { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .ed-secondary {
    grid-template-columns: 1fr; gap: 0;
  }
  .ed-secondary__media img { width: 100%; height: auto; aspect-ratio: 16/10; min-height: 0; }
  .ed-secondary__body { padding: 14px 16px 16px; }
  .ed-section-block__grid {
    display: grid; grid-template-columns: 1.35fr 1fr; gap: 0;
    margin-inline: auto;
  }
  .ed-section-block__lead { border-right: 1px solid var(--ed-rule); padding: 0; }
  .ed-section-block__side { padding: 8px 18px; }
  .ed-mosaic {
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    grid-template-areas:
      "lg a b"
      "lg c d";
    max-width: var(--ed-max); margin-inline: auto;
  }
  .ed-mosaic__item:nth-child(1),
  .ed-mosaic__item--lg { grid-area: lg; }
  .ed-mosaic__item:nth-child(2) { grid-area: a; }
  .ed-mosaic__item:nth-child(3) { grid-area: b; }
  .ed-mosaic__item:nth-child(4) { grid-area: c; }
  .ed-mosaic__item:nth-child(5) { grid-area: d; }
  .ed-mosaic__item--lg img,
  .ed-mosaic__item:nth-child(1) img { min-height: 100%; aspect-ratio: auto; height: 100%; }
  .ed-mosaic__item--lg img { aspect-ratio: 21/9; min-height: 240px; }
  .ed-mosaic__caption { padding: 14px 16px; }
  .ed-mosaic__title { font-size: 1.12rem; }
  .ed-band__title { font-size: 1.05rem; }
  .ed-band a { font-size: .85rem; }
  .ed-cat-hero__media img { aspect-ratio: 3/1; }
  .ed-grid.ed-related__grid,
  .ed-related .ed-grid { grid-template-columns: repeat(2, 1fr); }
  .ed-odds__tabs { flex-wrap: wrap; margin-left: 0; margin-right: 0; padding: 0; overflow: visible; }
  .ed-fix th { padding: 12px 14px; }
  .ed-fix td { padding: 13px 14px; }
}

@media (min-width: 1024px) {
  .ed-desk-nav {
    display: flex !important;
    flex: 1;
    gap: 2px;
    margin-left: 28px;
    min-width: 0;
  }
  .ed-desk-nav > li { position: relative; }
  .ed-desk-nav > li > a {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
    font-family: var(--ed-display); font-weight: 600; font-size: .9rem;
    letter-spacing: -.01em; text-decoration: none; color: var(--ed-ink-soft);
    border-radius: var(--ed-radius-sm);
  }
  .ed-desk-nav > li > a:hover { color: var(--ed-green-dark); background: var(--ed-green-soft); }
  .ed-desk-nav__sub {
    display: none !important;
    position: absolute; top: calc(100% - 4px); left: 0; min-width: 200px;
    background: var(--ed-paper); border: 1px solid var(--ed-rule);
    border-radius: var(--ed-radius-sm); padding: 8px 0;
    list-style: none; margin: 0; z-index: 40;
  }
  .ed-desk-nav > li:hover > .ed-desk-nav__sub,
  .ed-desk-nav > li:focus-within > .ed-desk-nav__sub { display: block !important; }
  .ed-desk-nav__sub a {
    display: block; padding: 10px 14px; text-decoration: none; color: var(--ed-ink); font-size: .9rem;
  }
  .ed-desk-nav__sub a:hover { background: var(--ed-bg); color: var(--ed-green-dark); }
  .ed-menu-toggle { display: none; }

  .ed-secnav__track { overflow: visible; }
  .ed-shell--split,
  .ed-shell--home {
    display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px;
    padding: 0 var(--ed-pad) 56px; align-items: start;
  }
  .ed-top { padding: 28px 0 0; }
  .ed-rail {
    display: block; position: sticky; top: 96px; padding: 4px 18px 24px 0;
    align-self: start; max-height: calc(100vh - 112px); overflow-y: auto;
    overflow-x: hidden;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: var(--ed-green) #eef7ec;
  }
  /* Scrollbar custom: solo track + thumb, niente frecce Windows */
  .ed-rail::-webkit-scrollbar {
    width: 8px;
    background: transparent;
  }
  .ed-rail::-webkit-scrollbar-button,
  .ed-rail::-webkit-scrollbar-button:single-button,
  .ed-rail::-webkit-scrollbar-button:start,
  .ed-rail::-webkit-scrollbar-button:end,
  .ed-rail::-webkit-scrollbar-button:vertical:start:decrement,
  .ed-rail::-webkit-scrollbar-button:vertical:end:increment,
  .ed-rail::-webkit-scrollbar-button:vertical:start:increment,
  .ed-rail::-webkit-scrollbar-button:vertical:end:decrement,
  .ed-rail::-webkit-scrollbar-button:horizontal:start:decrement,
  .ed-rail::-webkit-scrollbar-button:horizontal:end:increment {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    border: 0;
  }
  .ed-rail::-webkit-scrollbar-track {
    background: #eef7ec;
    border-radius: 999px;
    margin: 12px 0;
  }
  .ed-rail::-webkit-scrollbar-track-piece {
    background: #eef7ec;
    border-radius: 999px;
  }
  .ed-rail::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #22a80c 0%, var(--ed-green-dark) 100%);
    border-radius: 999px;
    border: 2px solid #eef7ec;
    min-height: 48px;
  }
  .ed-rail::-webkit-scrollbar-thumb:hover {
    background: var(--ed-green-dark);
  }
  .ed-rail::-webkit-scrollbar-corner {
    background: transparent;
  }
  .ed-mobile-modules { display: none; }
  .ed-lead__body { padding-left: 0; padding-right: 0; }
  .ed-label, .ed-rank, .ed-fixtures,
  .ed-secondaries, .ed-strip, .ed-grid,
  .ed-section-block__grid { padding-left: 0; padding-right: 0; margin-left: 0; margin-right: 0; }
  .ed-band {
    margin: 28px 0 12px;
    padding: 12px 18px;
  }
  .ed-sec-head { padding-left: 0; padding-right: 0; margin: 28px 0 14px; }
  .ed-mosaic { margin: 0 0 8px; }
  .ed-section-block__grid { max-width: none; }
  .ed-article { max-width: none; padding-left: 0; padding-right: 0; }
  .ed-article__hero { margin-left: 0; margin-right: 0; }
  .ed-article__hero img { aspect-ratio: 2/1; }
  .ed-related__grid { margin-left: 0; }
  .ed-grid { grid-template-columns: repeat(3, 1fr); }
  .ed-cat-hero__body { padding-left: 0; padding-right: 0; }
  .ed-cat-featured { padding-left: 0; padding-right: 0; }
  .ed-pagehead { padding-left: 0; padding-right: 0; }
  .ed-odds { padding-left: 0; padding-right: 0; }
  .ed-count, .ed-empty, .ed-pager { padding-left: 0; padding-right: 0; }
}

@media (min-width: 1280px) {
  .ed-shell--home,
  .ed-shell--split {
    grid-template-columns: minmax(0, 1fr) 380px; gap: 44px;
  }
  .ed-left { display: none; }
  .ed-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
