@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,600;0,700;0,800;0,900;1,800&family=Inter:wght@400;600;700;800&display=swap");
:root {
  --black: #080808;
  --purple: #a04eb0;
  --yellow: #f2d328;
  --ivory: #f4f1e8;
  --white: #fff;
  --ink: #151515;
  --muted: #686868;
  --line: rgba(255, 255, 255, 0.18);
  --pad: clamp(20px, 5vw, 76px);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
}
body.menu-open {
  overflow: hidden;
}
a {
  color: inherit;
}
.skip {
  position: fixed;
  top: -80px;
  left: 20px;
  z-index: 9999;
  background: #fff;
  padding: 12px;
}
.skip:focus {
  top: 12px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: "Barlow Condensed", Impact, sans-serif;
  text-transform: uppercase;
  letter-spacing: -0.035em;
  line-height: 0.84;
}
.site-head {
  position: absolute;
  z-index: 30;
  top: 0;
  left: 0;
  width: 100%;
  height: 152px;
  padding: 12px var(--pad);
  display: flex;
  align-items: center;
  color: #fff;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: block;
  width: 120px;
  height: 128px;
  overflow: hidden;
  background: url("logo-verdi.png") right center/233% 100% no-repeat;
}
.brand img {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
}
.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav > a,
.nav-parent {
  border: 0;
  background: none;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font: 700 12px/1 Inter;
  letter-spacing: 0.08em;
  cursor: pointer;
}
.nav-item {
  position: relative;
}
.nav-parent {
  padding: 20px 0;
}
.submenu {
  display: none;
  position: absolute;
  right: 0;
  top: 55px;
  width: 230px;
  background: #111;
  border-top: 3px solid var(--yellow);
  padding: 10px;
}
.nav-item.open .submenu {
  display: grid;
}
.submenu a {
  padding: 12px;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font: 800 15px/1 "Barlow Condensed";
  border-bottom: 1px solid #333;
}
.submenu a:last-child {
  border: 0;
}
.nav-cta {
  background: var(--purple);
  padding: 17px 21px !important;
}
.menu-btn {
  display: none;
  margin-left: auto;
  background: none;
  border: 0;
  color: #fff;
  padding: 12px;
  position: relative;
  z-index: 1001;
}
.menu-btn span {
  display: block;
  width: 28px;
  height: 2px;
  background: #fff;
  margin: 6px;
}
.menu-btn b {
  position: absolute;
  right: 48px;
  top: 20px;
  text-transform: uppercase;
  font-size: 10px;
}
.hero {
  position: relative;
  min-height: 880px;
  height: 100svh;
  background: #090909;
  color: #fff;
  overflow: hidden;
  padding: 190px var(--pad) 80px;
  display: flex;
  align-items: flex-end;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.9),
      rgba(0, 0, 0, 0.38) 55%,
      rgba(0, 0, 0, 0.65)
    ),
    url("hero-verdi.jpg") center/cover;
  filter: grayscale(0.35);
  transform: scale(1.02);
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 56%,
    rgba(160, 78, 176, 0.48) 56.2%,
    transparent 76%
  );
}
.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 900px;
}
.kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero .kicker {
  font-size: 16px;
  line-height: 1.35;
}
.hero h1 {
  font-size: clamp(92px, 11vw, 178px);
  font-style: italic;
  margin-bottom: 24px;
}
.hero h1 span {
  display: block;
}
.hero h1 span:nth-child(2) {
  color: var(--purple);
  margin-left: 8vw;
}
.hero h1 span:nth-child(3) {
  color: var(--yellow);
}
.hero-lead {
  max-width: 610px;
  font-size: clamp(16px, 1.5vw, 21px);
  line-height: 1.55;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.btn {
  display: inline-block;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 18px 24px;
}
.btn-purple {
  background: var(--purple);
  color: #fff;
}
.btn-yellow {
  background: var(--yellow);
  color: #111;
}
.btn-outline {
  border: 1px solid currentColor;
}
.edition {
  position: absolute;
  z-index: 3;
  right: var(--pad);
  bottom: 70px;
  border: 2px solid var(--yellow);
  padding: 16px 18px;
  transform: rotate(-3deg);
  text-align: center;
}
.edition strong {
  display: block;
  font: 900 58px/0.78 "Barlow Condensed";
}
.edition span {
  font: 800 11px/1.2 Inter;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.ticker {
  overflow: hidden;
  background: var(--yellow);
  color: #111;
  padding: 14px 0;
  white-space: nowrap;
  font: 900 18px/1 "Barlow Condensed";
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ticker div {
  width: max-content;
  animation: ticker 24s linear infinite;
}
@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}
.countdown {
  background: var(--black);
  color: #fff;
  padding: 100px var(--pad);
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 8vw;
  align-items: end;
}
.countdown h2,
.intro h2,
.opera-copy h2,
.logistics h2 {
  font-size: clamp(70px, 9vw, 145px);
  margin: 0;
}
.countdown h2 span,
.intro h2 span,
.opera-copy h2 span {
  color: var(--yellow);
}
.clock {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #444;
}
.clock div {
  padding: 24px 15px;
  border-right: 1px solid #444;
}
.clock div:last-child {
  border: 0;
}
.clock strong {
  display: block;
  font: 900 clamp(46px, 6vw, 90px)/1 "Barlow Condensed";
}
.clock span {
  text-transform: uppercase;
  color: #aaa;
  font-size: 10px;
  letter-spacing: 0.14em;
}
.races {
  padding: 120px var(--pad);
}
.intro {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 8vw;
  align-items: end;
  margin-bottom: 60px;
}
.intro .kicker {
  grid-column: 1/-1;
  color: var(--purple);
}
.intro p:last-child {
  font-size: 17px;
  line-height: 1.7;
}
.race-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: #222;
}
.race-card {
  position: relative;
  min-height: 360px;
  padding: 28px;
  color: #fff;
  background: #111;
  text-decoration: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.race-card:nth-child(1) {
  grid-column: span 3;
  background: var(--purple);
}
.race-card:nth-child(2) {
  grid-column: span 3;
}
.race-card:nth-child(n + 3) {
  grid-column: span 2;
}
.race-card:before {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border: 38px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  right: -60px;
  top: 50px;
}
.race-card small {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.race-card strong {
  font: 900 clamp(95px, 10vw, 155px)/0.75 "Barlow Condensed";
  margin: auto 0 10px;
  color: var(--yellow);
  position: relative;
}
.race-card strong em {
  font-size: 0.3em;
  font-style: normal;
  margin-left: 5px;
}
.race-card b {
  font: 800 23px/1 "Barlow Condensed";
  text-transform: uppercase;
}
.race-card span {
  margin-top: 24px;
  padding-top: 15px;
  border-top: 1px solid currentColor;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 800;
}
.score {
  background: #111;
  color: #fff;
  padding: 110px var(--pad);
}
.score-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7vw;
  align-items: end;
}
.score h2 {
  font-size: clamp(70px, 9vw, 142px);
  margin: 0;
}
.score h2 span {
  color: var(--purple);
}
.score-head p {
  max-width: 560px;
  line-height: 1.7;
}
.journey {
  margin-top: 70px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.journey:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 25px;
  height: 4px;
  background: linear-gradient(90deg, var(--purple), var(--yellow));
}
.stop {
  position: relative;
  padding-top: 55px;
}
.stop:before {
  content: "";
  position: absolute;
  top: 15px;
  left: 0;
  width: 23px;
  height: 23px;
  border: 5px solid #111;
  background: var(--yellow);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--yellow);
}
.stop strong {
  display: block;
  font: 900 32px/1 "Barlow Condensed";
  text-transform: uppercase;
}
.stop span {
  font-size: 12px;
  color: #aaa;
}
.opera {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--purple);
  color: #fff;
}
.opera-visual {
  min-height: 650px;
  display: grid;
  place-items: center;
  background: #0b0b0b;
  padding: 60px;
}
.opera-visual img {
  width: min(700px, 100%);
  height: auto;
}
.opera-copy {
  padding: 100px var(--pad);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.opera-copy p {
  max-width: 560px;
  line-height: 1.7;
}
.logistics {
  padding: 120px var(--pad);
}
.logistics-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7vw;
  align-items: end;
  margin-bottom: 55px;
}
.logistics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid #bbb;
}
.info-card {
  padding: 35px;
  min-height: 250px;
  border-right: 1px solid #bbb;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}
.info-card:last-child {
  border: 0;
}
.info-card small {
  color: var(--purple);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.info-card h3 {
  font-size: 55px;
  margin: 25px 0;
}
.info-card span {
  margin-top: auto;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 800;
  border-top: 1px solid;
  padding-top: 15px;
}
.join {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: grid;
  place-items: center;
  text-align: center;
  background: #0c0a10;
  color: #fff;
  padding: 76px 20px 58px;
}
.join:before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("hero-verdi-opera.png") 100% 21% / auto 300% no-repeat;
  opacity: 0.3;
  filter: grayscale(0.35);
  -webkit-mask-image: radial-gradient(
    ellipse 31% 76% at 53% 49%,
    #000 34%,
    rgba(0, 0, 0, 0.72) 58%,
    transparent 80%
  );
  mask-image: radial-gradient(
    ellipse 31% 76% at 53% 49%,
    #000 34%,
    rgba(0, 0, 0, 0.72) 58%,
    transparent 80%
  );
}
.join-inner {
  position: relative;
  z-index: 1;
  width: min(1040px, 100%);
}
.join .kicker {
  margin: 0 0 25px;
  color: #c46ad8;
  font-size: 13px;
}
.join h2 {
  margin: 0;
  font-size: clamp(54px, 6.2vw, 92px);
  line-height: 0.9;
}
.join h2 span {
  display: block;
  margin-top: 9px;
  color: var(--yellow);
}
.join-copy {
  max-width: 930px;
  margin: 33px auto 27px;
  color: #d6d0d8;
  font-size: 18px;
  line-height: 1.55;
}
.join .btn {
  padding: 21px 31px;
  font-size: 14px;
}
.join-signature {
  margin: 62px 0 0;
  color: var(--purple);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.footer {
  background: #080808;
  color: #fff;
  padding: 70px var(--pad) 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 170px repeat(3, 1fr);
  gap: 50px;
}
.footer img {
  width: 125px;
}
.footer h3 {
  font: 800 12px/1.2 Inter;
  letter-spacing: 0.1em;
}
.footer p,
.footer a {
  color: #aaa;
  font-size: 12px;
  line-height: 1.8;
}
.footer a:hover {
  color: var(--yellow);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  border-top: 1px solid #333;
  margin-top: 55px;
  padding-top: 22px;
}
.legal {
  display: flex;
  gap: 18px;
}
.legal a {
  text-transform: uppercase;
  font-size: 10px;
  text-decoration: none;
  border-bottom: 1px solid #555;
}
.subhero {
  min-height: 560px;
  background: #0a0a0a;
  color: #fff;
  padding: 190px var(--pad) 80px;
  display: flex;
  align-items: end;
  position: relative;
  overflow: hidden;
}
.subhero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(160, 78, 176, 0.35),
    transparent 60%
  );
}
.subhero > * {
  position: relative;
  z-index: 1;
}
.subhero h1 {
  font-size: clamp(90px, 13vw, 190px);
  margin: 0;
}
.subhero h1 span {
  color: var(--yellow);
}
.page-section {
  padding: 95px var(--pad);
}
.page-section.dark {
  background: #111;
  color: #fff;
}
.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid #bbb;
}
.fact {
  padding: 25px;
  border-right: 1px solid #bbb;
}
.fact:last-child {
  border: 0;
}
.fact strong {
  display: block;
  font: 900 36px/1 "Barlow Condensed";
  text-transform: uppercase;
}
.fact span {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
}
.content-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.4fr;
  gap: 8vw;
}
.content-grid h2 {
  font-size: clamp(66px, 7vw, 110px);
}
.prose {
  line-height: 1.75;
}
.prose h3 {
  font-size: 34px;
  margin-top: 35px;
}
.list {
  padding: 0;
  list-style: none;
}
.list li {
  padding: 16px 0;
  border-bottom: 1px solid #ccc;
  font-weight: 700;
}
.schedule {
  display: grid;
  gap: 1px;
  background: #333;
}
.schedule div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 30px;
  background: #111;
  padding: 22px;
}
.schedule strong {
  color: var(--yellow);
}
@media (max-width: 900px) {
  .site-head {
    height: 136px;
  }
  .hero .kicker {
    font-size: 13px;
    line-height: 1.45;
  }
  .brand {
    width: 105px;
    height: 112px;
  }
  .site-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: #090909;
    padding: 110px 28px 40px;
    z-index: 1000;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow-y: auto;
  }
  .site-nav.open {
    display: flex;
  }
  .site-nav > a,
  .nav-parent {
    font: 800 34px/1 "Barlow Condensed";
    padding: 15px 0;
    border-bottom: 1px solid #333;
    text-align: left;
    width: 100%;
  }
  .nav-item {
    width: 100%;
  }
  .submenu {
    position: static;
    width: 100%;
    padding: 8px 0 8px 15px;
    border-top: 0;
  }
  .submenu a {
    font-size: 20px;
  }
  .menu-btn {
    display: block;
  }
  .hero {
    min-height: 780px;
    padding-bottom: 70px;
  }
  .hero h1 {
    font-size: clamp(78px, 24vw, 118px);
  }
  .edition {
    display: none;
  }
  .countdown,
  .score-head,
  .intro,
  .logistics-head,
  .content-grid {
    grid-template-columns: 1fr;
  }
  .race-card:nth-child(n) {
    grid-column: span 3;
  }
  .opera {
    grid-template-columns: 1fr;
  }
  .opera-visual {
    min-height: 430px;
  }
  .logistics-grid {
    grid-template-columns: 1fr;
  }
  .info-card {
    border-right: 0;
    border-bottom: 1px solid #bbb;
  }
  .info-card:last-child {
    border: 0;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .facts {
    grid-template-columns: 1fr 1fr;
  }
  .fact:nth-child(2) {
    border-right: 0;
  }
  .fact:nth-child(-n + 2) {
    border-bottom: 1px solid #bbb;
  }
}

/* Segreteria: panoramic artwork, natural proportions and no duplicated layer. */
body .subhero.secretary-hero {
  background-image:
    linear-gradient(90deg, rgba(15, 2, 24, 0.48) 0%, rgba(15, 2, 24, 0.12) 48%, rgba(0, 0, 0, 0.02) 72%),
    url("hero-segreteria-verdi-v2.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
body .subhero.secretary-hero::before {
  display: none;
}
@media (max-width: 900px) {
  body .subhero.secretary-hero {
    background-size: cover;
    background-position: 66% center;
    padding: 112px 20px 34px;
    align-items: flex-end;
  }
  body .subhero.secretary-hero h1 {
    max-width: 100%;
    font-size: clamp(54px, 15vw, 68px);
    line-height: 0.92;
  }
}

/* Shared Socogas Group + Verdi Marathon lockup in every header and footer. */
body .site-head .brand,
body .site-head .brand-home {
  display: block;
  width: 230px;
  height: 104px;
  overflow: visible;
  background: none;
}
body .site-head .brand::before,
body .site-head .brand-home::before {
  display: none;
}
body .site-head .brand img,
body .site-head .brand-home img {
  position: static;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 1;
  object-fit: contain;
  object-position: left center;
}
body .site-head .brand-home span {
  display: none;
}
body .footer-grid > a:first-child img {
  width: 160px;
  height: auto;
  object-fit: contain;
}
@media (max-width: 900px) {
  body .site-head .brand,
  body .site-head .brand-home {
    width: 150px;
    height: 82px;
  }
  body .footer-grid > a:first-child img {
    width: 150px;
  }
}

/* Final mobile corrections from device screenshots. */
@media (max-width: 900px) {
  body .hero {
    height: auto;
    min-height: 900px;
    padding: 150px 20px 132px;
  }
  body .hero-copy {
    width: 100%;
  }
  body .hero-bg {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.08) 78%),
      linear-gradient(0deg, #090909 0%, transparent 28%),
      url("hero-verdi-mobile-v3.png") center top / 100% auto no-repeat;
    background-color: #090909;
    background-position: center top;
    transform: none;
    filter: none;
  }
  body .hero .edition {
    display: grid;
    left: 20px;
    right: 20px;
    bottom: 22px;
    width: auto;
    min-width: 0;
    min-height: 78px;
    padding: 10px 16px;
    transform: none;
  }
  body .hero .edition strong {
    font-size: 44px;
  }

  body .shuttle-intro {
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: visible;
    padding-top: 132px;
    padding-bottom: 44px;
  }
  body .shuttle-lead > p {
    margin-bottom: 20px;
  }

  body .distance-route,
  body .noncompetitive-hero .distance-route {
    left: 18px;
    right: 18px;
    max-width: calc(100vw - 36px);
  }
  body .distance-route .distance-landmark.is-finish {
    width: 74px;
    height: 50px;
  }
  body .noncompetitive-hero .actions {
    position: relative;
    z-index: 5;
  }
}

@media (max-width: 360px) {
  body .hero {
    min-height: 920px;
  }
  body .hero h1 {
    font-size: clamp(62px, 19vw, 72px);
  }
  body .distance-hero h1,
  body .noncompetitive-hero .distance-hero-copy h1 {
    font-size: 56px;
  }
  body .distance-hero-copy h1 small,
  body .noncompetitive-hero .distance-hero-copy h1 small {
    font-size: 22px;
  }
}

/* Final mobile separation and natural artwork sizing. */
@media (max-width: 900px) {
  body .site-head {
    border-bottom: 0;
  }
  body .distance-hero {
    height: 560px;
    min-height: 560px;
    max-height: 560px;
    padding-top: 126px;
  }
  body .distance-route,
  body .noncompetitive-hero .distance-route {
    bottom: 14px;
  }

  body .subhero.arrival-hero-image {
    height: calc(112px + 33.28125vw);
    min-height: calc(112px + 33.28125vw);
    max-height: none;
    background: #08070a;
    overflow: hidden;
  }
  body .subhero.arrival-hero-image::before {
    inset: 112px 0 auto;
    width: 100%;
    height: 33.28125vw;
    aspect-ratio: 1280 / 426;
    background-size: 100% auto;
    background-position: center top;
    background-repeat: no-repeat;
  }
}

/* Mobile header/hero separation: no rule through copy, no cropped route artwork. */
@media (max-width: 900px) {
  body .site-head {
    border-bottom: 0;
  }
  body .distance-hero {
    height: 560px;
    min-height: 560px;
    max-height: 560px;
    padding-top: 126px;
    overflow: hidden;
  }
  body .distance-route,
  body .noncompetitive-hero .distance-route {
    bottom: 14px;
    overflow: visible;
  }
  body .distance-route svg {
    overflow: visible;
  }
}

/* Global back-to-top control */
.back-to-top {
  position: fixed;
  z-index: 9998;
  right: 22px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 213, 0, 0.78);
  border-radius: 50%;
  background: #111116;
  color: var(--yellow);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.28);
  font:
    800 24px/1 Inter,
    sans-serif;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover,
.back-to-top:focus-visible {
  background: var(--yellow);
  color: #111;
}
body:has(.cookie-banner) .back-to-top {
  bottom: 138px;
}
@media (max-width: 720px) {
  .back-to-top {
    right: 14px;
    bottom: 14px;
    width: 42px;
    height: 42px;
    font-size: 21px;
  }
  body:has(.cookie-banner) .back-to-top {
    bottom: 194px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .back-to-top {
    transition: none;
  }
}

/* Mobile QA consolidation — all internal heroes and dense components */
@media (max-width: 900px) {
  .site-head {
    height: 112px;
    padding-inline: 18px;
  }
  .brand {
    width: 88px;
    height: 92px;
  }
  .menu-btn {
    right: 18px;
  }
  .site-nav {
    padding: 92px 22px 30px;
  }
  .site-nav > a,
  .nav-parent {
    font-size: 30px;
  }

  body .distance-hero {
    position: relative;
    display: block;
    width: 100%;
    height: 480px;
    min-height: 480px;
    max-height: 480px;
    padding: 118px 18px 18px;
    overflow: hidden;
  }
  .distance-hero-copy {
    position: relative;
    z-index: 3;
    max-width: 100%;
  }
  .distance-hero .kicker {
    max-width: 70%;
    font-size: 9px;
  }
  .distance-hero h1,
  .noncompetitive-hero .distance-hero-copy h1 {
    margin-top: 2px;
    font-size: clamp(58px, 19vw, 74px);
    line-height: 0.78;
  }
  .distance-hero-copy h1 small,
  .noncompetitive-hero .distance-hero-copy h1 small {
    margin-top: 7px;
    max-width: 230px;
    font-size: 25px;
    line-height: 0.92;
  }
  .distance-hero .hero-lead {
    max-width: 285px;
    margin: 8px 0 0;
    font-size: 11px;
    line-height: 1.35;
  }
  .distance-hero .actions,
  .noncompetitive-hero .actions {
    margin-top: 13px;
    gap: 8px;
  }
  .distance-hero .actions .btn {
    padding: 12px 15px;
    font-size: 9px;
  }
  .distance-route,
  .noncompetitive-hero .distance-route {
    position: absolute;
    z-index: 2;
    left: 12px;
    right: 12px;
    bottom: 8px;
    width: auto;
    max-width: none;
    margin: 0;
  }
  .noncompetitive-hero > .distance-hero-copy {
    transform: none;
  }
  .distance-landmark {
    width: 74px;
    height: 50px;
  }

  body .subhero,
  body .subhero.compact-subhero,
  body .subhero.hotel-hero,
  body .subhero.secretary-hero,
  body .subhero.promotions-hero,
  body .subhero.arrival-hero-image,
  body .shuttle-intro,
  .legal-hero {
    height: 480px;
    min-height: 480px;
    max-height: 480px;
  }
  .subhero:not(.distance-hero) {
    padding: 112px 18px 36px;
  }
  .subhero:not(.distance-hero) h1 {
    font-size: clamp(55px, 17vw, 78px);
  }
  .subhero.secretary-hero,
  .subhero.promotions-hero,
  .subhero.hotel-hero {
    padding: 0;
    background-position: center;
  }
  .subhero.arrival-hero-image {
    padding: 0;
    background-image:
      linear-gradient(rgba(8, 7, 10, 0.48), rgba(8, 7, 10, 0.48)),
      url("hero-arrival-verdi.jpg");
    background-size: cover;
    background-position: center;
  }
  body .subhero.arrival-hero-image::before {
    inset: 112px 0 0;
    background-size: contain;
    background-position: center;
  }
  .legal-hero {
    padding: 112px 18px 38px;
  }
  .legal-hero h1 {
    font-size: clamp(58px, 18vw, 82px);
  }
  .legal-table {
    min-width: 560px;
  }
  .legal-table th,
  .legal-table td {
    font-size: 14px;
  }
  .contact-dialog {
    width: calc(100% - 20px);
    max-height: calc(100dvh - 20px);
    padding: 28px 18px 22px;
    overflow-y: auto;
  }
  .contact-dialog h2 {
    padding-right: 38px;
    font-size: clamp(42px, 13vw, 62px);
  }
  .contact-close {
    position: sticky;
    top: 0;
    z-index: 2;
    float: right;
  }
  .footer {
    padding-inline: 22px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom {
    margin-top: 38px;
  }
}

@media (max-width: 380px) {
  .distance-hero h1,
  .noncompetitive-hero .distance-hero-copy h1 {
    font-size: 58px;
  }
  .distance-hero-copy h1 small,
  .noncompetitive-hero .distance-hero-copy h1 small {
    font-size: 22px;
  }
  .distance-hero .hero-lead {
    font-size: 10px;
  }
  .distance-hero .actions .btn {
    padding-inline: 12px;
  }
  .race42-intro-title h2 {
    max-width: 100%;
    font-size: 58px;
    overflow-wrap: anywhere;
  }
  .hotel-list,
  .hotel-card {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
  .hotel-card {
    padding-inline: 20px;
  }
  .hotel-card address a {
    overflow-wrap: anywhere;
  }
  .legal-table-wrap {
    overflow: visible;
  }
  .legal-table,
  .legal-table tbody,
  .legal-table tr,
  .legal-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }
  .legal-table thead {
    display: none;
  }
  .legal-table tr {
    border: 1px solid #c9c2b4;
  }
  .legal-table td {
    border: 0;
    border-bottom: 1px solid #c9c2b4;
  }
  .legal-table td:last-child {
    border-bottom: 0;
  }
  .legal-table td::before {
    display: block;
    margin-bottom: 5px;
    color: var(--purple);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
  }
  .legal-table td:nth-child(1)::before {
    content: "Nome";
  }
  .legal-table td:nth-child(2)::before {
    content: "Tipo";
  }
  .legal-table td:nth-child(3)::before {
    content: "Finalità";
  }
  .legal-table td:nth-child(4)::before {
    content: "Durata";
  }
}
@media (max-width: 560px) {
  .hero {
    padding: 145px 20px 55px;
  }
  .hero h1 span:nth-child(2) {
    margin-left: 0;
  }
  .hero-lead {
    font-size: 15px;
  }
  .actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .countdown,
  .races,
  .score,
  .opera-copy,
  .logistics,
  .page-section {
    padding: 75px 20px;
  }
  .clock {
    grid-template-columns: 1fr 1fr;
  }
  .clock div:nth-child(2) {
    border-right: 0;
  }
  .race-grid {
    grid-template-columns: 1fr;
  }
  .race-card:nth-child(n) {
    grid-column: auto;
    min-height: 310px;
  }
  .journey {
    grid-template-columns: 1fr;
    margin-left: 12px;
  }
  .journey:before {
    top: 0;
    bottom: 0;
    left: 10px;
    right: auto;
    width: 4px;
    height: auto;
  }
  .stop {
    padding: 0 0 35px 55px;
  }
  .stop:before {
    top: 0;
  }
  .opera-visual {
    min-height: 320px;
    padding: 25px;
  }
  .logistics-head {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
  }
  .legal {
    flex-wrap: wrap;
  }
  .facts {
    grid-template-columns: 1fr;
  }
  .fact {
    border-right: 0 !important;
    border-bottom: 1px solid #bbb;
  }
  .fact:last-child {
    border-bottom: 0;
  }
  .subhero {
    min-height: 500px;
    padding: 160px 20px 55px;
  }
  .schedule div {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .ticker div {
    animation: none;
  }
}

/* Homepage header and hero composition */
.home-head {
  height: 112px;
  padding-top: 10px;
  padding-bottom: 10px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent);
}
.home-head .brand-home {
  width: 320px;
  height: 88px;
  display: flex;
  align-items: center;
  gap: 18px;
  overflow: visible;
  background: none;
  text-decoration: none;
}
.home-head .brand-home:before {
  content: "";
  display: block;
  flex: 0 0 94px;
  width: 94px;
  height: 88px;
  background: url("logo-verdi.png") right center/233% 100% no-repeat;
}
.home-head .brand-home img {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.home-head .brand-home span {
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font:
    700 11px/1.35 Inter,
    Arial,
    sans-serif;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
}
.home-head .site-nav > a,
.home-head .nav-parent {
  font-size: 15px;
  letter-spacing: 0.1em;
}
.home-head .site-nav .active {
  position: relative;
}
.home-head .site-nav .active:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -13px;
  height: 3px;
  background: var(--yellow);
}
.hero {
  min-height: 760px;
  align-items: center;
  padding-top: 170px;
  padding-bottom: 70px;
}
.hero-bg {
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.9) 0%,
      rgba(0, 0, 0, 0.6) 39%,
      rgba(0, 0, 0, 0.14) 68%,
      rgba(0, 0, 0, 0.42) 100%
    ),
    linear-gradient(0deg, rgba(0, 0, 0, 0.58), transparent 48%),
    url("hero-verdi-busseto.png") center/cover;
}
.hero:after {
  background: linear-gradient(
    108deg,
    transparent 77%,
    rgba(160, 78, 176, 0.62) 77.2%,
    rgba(160, 78, 176, 0.18) 100%
  );
}
.hero-copy {
  max-width: 760px;
}
.hero .kicker {
  color: var(--yellow);
  font-size: 14px;
  letter-spacing: 0.2em;
  margin-bottom: 19px;
}
.hero h1 {
  font-size: clamp(86px, 8.4vw, 142px);
  line-height: 0.77;
  margin: 0 0 25px;
  font-style: italic;
}
.hero h1 span {
  display: block;
}
.hero h1 span:nth-child(2) {
  margin-left: 0;
  color: inherit;
  white-space: nowrap;
}
.hero h1 em,
.hero h1 b {
  font-style: italic;
  font-weight: 900;
}
.hero h1 em {
  color: var(--purple);
}
.hero h1 b {
  color: var(--yellow);
}
.hero h1:after {
  content: "";
  display: block;
  width: 360px;
  max-width: 55%;
  height: 5px;
  margin-top: 27px;
  background: var(--yellow);
}
.hero-statement {
  margin: 0 0 8px;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-lead {
  margin-bottom: 0;
  max-width: 590px;
  font-size: 17px;
  line-height: 1.5;
  color: #ddd;
}
.hero .actions {
  margin-top: 28px;
}
.hero .btn {
  min-width: 165px;
  text-align: center;
}
.edition {
  right: var(--pad);
  bottom: 62px;
  min-width: 235px;
  padding: 20px 22px;
  transform: none;
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.edition strong {
  font-size: 61px;
  letter-spacing: -0.03em;
}
.edition span {
  margin-top: 9px;
  color: #fff;
}
@media (max-width: 900px) {
  .home-head {
    height: 118px;
  }
  .home-head .site-nav > a,
  .home-head .nav-parent {
    font-size: 32px;
    letter-spacing: 0.04em;
  }
  .home-head .brand-home {
    width: 105px;
    height: 96px;
  }
  .home-head .brand-home:before {
    flex-basis: 105px;
    width: 105px;
    height: 96px;
  }
  .home-head .brand-home span {
    display: none;
  }
  .hero {
    min-height: 780px;
    padding-top: 155px;
    padding-bottom: 58px;
    align-items: flex-end;
  }
  .hero-bg {
    background-position: 28% center;
  }
  .hero-copy {
    max-width: 100%;
  }
  .hero .kicker {
    font-size: 12px;
    line-height: 1.45;
    margin-bottom: 18px;
  }
  .hero h1 {
    font-size: clamp(68px, 20vw, 94px);
    line-height: 0.8;
  }
  .hero h1 span:nth-child(2) {
    white-space: normal;
  }
  .hero h1 b {
    display: block;
  }
  .hero h1:after {
    width: 140px;
    max-width: none;
    height: 4px;
    margin-top: 22px;
  }
  .hero-statement {
    font-size: 15px;
    line-height: 1.3;
  }
  .hero-lead {
    font-size: 15px;
    max-width: 340px;
  }
}

/* Theatrical countdown section */
.countdown-stage {
  position: relative;
  min-height: 390px;
  padding: 76px var(--pad);
  display: grid;
  grid-template-columns: 1.05fr 0.9fr 2.15fr;
  gap: 3.5vw;
  align-items: start;
  background: #050505 url("countdown-stage.png") center/cover no-repeat;
  color: #fff;
}
.countdown-stage .kicker {
  color: var(--purple);
  font-size: 11px;
  line-height: 1.4;
  margin-bottom: 12px;
}
.countdown-stage h2 {
  font-size: clamp(67px, 6.2vw, 104px);
  line-height: 0.82;
}
.countdown-copy {
  padding-top: 35px;
  max-width: 310px;
  font-size: 18px;
  line-height: 1.6;
  color: #ddd;
}
.countdown-copy:after {
  content: "";
  display: block;
  width: 82px;
  height: 3px;
  margin-top: 25px;
  background: var(--purple);
}
.countdown-panel > .kicker {
  margin-bottom: 12px;
}
.countdown-stage .clock {
  border-top: 0;
}
.countdown-stage .clock div {
  padding: 2px 18px 15px;
  border-color: #56305e;
}
.countdown-stage .clock div:first-child {
  padding-left: 0;
}
.countdown-stage .clock strong {
  font-size: clamp(48px, 4.2vw, 74px);
  line-height: 0.9;
}
.countdown-stage .clock span {
  color: #ddd;
}
.countdown-races {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-top: 14px;
}
.countdown-races a {
  min-height: 76px;
  padding: 14px 12px;
  border: 1px solid #5a4260;
  color: #fff;
  text-decoration: none;
  display: grid;
  grid-template-columns: 36px 1fr;
  column-gap: 9px;
  align-content: center;
}
.countdown-races i {
  grid-row: 1/3;
  width: 32px;
  height: 32px;
  border: 2px solid var(--purple);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--yellow);
  font: 900 14px/1 "Barlow Condensed";
  font-style: normal;
}
.countdown-races strong {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.countdown-races span {
  font-size: 9px;
  color: #ccc;
  text-transform: uppercase;
  margin-top: 3px;
}
.countdown-races a:hover {
  border-color: var(--yellow);
  background: rgba(160, 78, 176, 0.15);
}
@media (max-width: 900px) {
  .countdown-stage {
    min-height: 0;
    padding-top: 78px;
    padding-bottom: 78px;
    grid-template-columns: 1fr;
    gap: 30px;
    background-position: 35% center;
  }
  .countdown-stage h2 {
    font-size: clamp(70px, 21vw, 96px);
  }
  .countdown-copy {
    padding-top: 0;
    max-width: 520px;
    font-size: 17px;
  }
  .countdown-stage .clock div {
    padding: 12px 7px;
  }
  .countdown-stage .clock div:first-child {
    padding-left: 0;
  }
  .countdown-stage .clock strong {
    font-size: clamp(40px, 12vw, 58px);
  }
  .countdown-races {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
}

/* Countdown title and copy alignment */
@media (min-width: 901px) {
  .countdown-stage {
    grid-template-columns: 1.15fr 2.15fr;
    gap: 5vw;
  }
  .countdown-title .countdown-copy {
    padding-top: 24px;
    max-width: 440px;
  }
}
.nav-cta {
  transition:
    background-color 0.18s ease,
    color 0.18s ease;
}
.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--yellow);
  color: #111;
}

/* Countdown without race cards */
@media (min-width: 901px) {
  .countdown-stage {
    align-items: center;
  }
  .countdown-panel {
    align-self: center;
  }
}

/* Minimal three-column countdown */
@media (min-width: 901px) {
  .countdown-stage {
    min-height: 290px;
    padding: 54px var(--pad);
    grid-template-columns: 1.05fr 0.95fr 1.65fr;
    gap: 0;
    align-items: stretch;
    background: #080808;
  }
  .countdown-stage .countdown-title,
  .countdown-stage .countdown-copy,
  .countdown-stage .countdown-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .countdown-stage .countdown-title {
    padding-right: 3.5vw;
  }
  .countdown-stage .countdown-copy {
    padding: 0 3.5vw;
    max-width: none;
    border-left: 1px solid #3b3b3b;
    font-size: 17px;
    line-height: 1.5;
  }
  .countdown-stage .countdown-copy:after {
    width: 70px;
    height: 3px;
    margin-top: 20px;
    background: var(--yellow);
  }
  .countdown-stage .countdown-panel {
    padding-left: 3.5vw;
    border-left: 1px solid #3b3b3b;
  }
  .countdown-stage .countdown-panel:after {
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    margin-top: 18px;
    background: var(--yellow);
  }
  .countdown-stage h2 {
    font-size: clamp(68px, 5.8vw, 94px);
  }
  .countdown-stage .clock strong {
    font-size: clamp(48px, 4vw, 68px);
  }
}
@media (max-width: 900px) {
  .countdown-stage {
    background: #080808;
    gap: 28px;
  }
  .countdown-stage .countdown-copy {
    font-size: 17px;
    border-top: 1px solid #333;
    padding-top: 28px;
  }
  .countdown-stage .countdown-panel {
    border-top: 1px solid #333;
    padding-top: 28px;
  }
  .countdown-stage .countdown-panel:after {
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    margin-top: 18px;
    background: var(--yellow);
  }
}

/* Score section editorial copy */
.score-copy {
  max-width: 620px;
}
.score-copy p {
  margin: 0 0 17px;
  font-size: 17px;
  line-height: 1.7;
}
.score-copy strong {
  display: block;
  margin-top: 27px;
  font:
    900 31px/0.95 "Barlow Condensed",
    Impact,
    sans-serif;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--yellow);
}
.score-copy strong span {
  color: var(--purple);
}
@media (max-width: 900px) {
  .score-copy p {
    font-size: 16px;
  }
  .score-copy strong {
    font-size: 28px;
    line-height: 1.05;
  }
}

.countdown-copy em {
  color: var(--purple);
  font-style: italic;
  font-weight: 700;
}

.countdown-copy .year-accent {
  color: var(--yellow);
  font-weight: 800;
}

/* Choose your act section */
.score-acts {
  padding: 0;
  background: #090909;
  color: #fff;
}
.acts-head {
  padding: 92px var(--pad) 54px;
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 7vw;
  align-items: center;
  background: #090909;
}
.acts-head h2 {
  margin: 0;
  font-size: clamp(76px, 8.2vw, 132px);
  line-height: 0.8;
}
.acts-head h2 span {
  color: var(--yellow);
}
.acts-head .kicker {
  color: var(--purple);
  margin-bottom: 18px;
}
.acts-copy {
  padding-left: 4vw;
  border-left: 1px solid #454545;
  max-width: 720px;
}
.acts-copy p {
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.65;
  color: #ddd;
}
.acts-copy strong {
  display: block;
  margin-top: 23px;
  color: var(--yellow);
  font:
    900 27px/1 "Barlow Condensed",
    Impact,
    sans-serif;
  text-transform: uppercase;
}
.acts-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 23px;
}
.acts-signup {
  display: inline-block;
  margin-top: 0;
  padding: 15px 22px;
  background: var(--purple);
  color: #fff;
  font:
    900 17px/1 "Barlow Condensed",
    Impact,
    sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}
.acts-signup:hover {
  background: var(--yellow);
  color: #090909;
}
.acts-route-cta {
  background: var(--yellow);
  color: #090909;
}
.acts-route-cta:hover {
  background: #fff;
  color: #090909;
}
.acts-line {
  height: 42px;
  margin: 0 var(--pad);
  border-bottom: 4px solid transparent;
  border-image: linear-gradient(90deg, var(--purple), var(--yellow)) 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
}
.acts-line i {
  position: relative;
  display: block;
  width: 25px;
  height: 25px;
  margin-bottom: -14px;
  border: 4px solid var(--yellow);
  border-radius: 50%;
  background: #111;
  box-shadow: 0 0 0 2px #111;
}
.acts-grid {
  padding: 28px var(--pad) 105px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  background: #090909;
}
.act-card {
  position: relative;
  isolation: isolate;
  min-height: 440px;
  padding: 24px 22px;
  border: 1px solid #423147;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #111;
}
.act-card:before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image: url("acts-cities.png");
  background-repeat: no-repeat;
  background-size: 400% 100%;
  filter: saturate(0.65) contrast(1.08);
}
.act-card:after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 7, 13, 0.12) 0%,
    rgba(10, 7, 13, 0.42) 43%,
    rgba(7, 6, 8, 0.97) 76%
  );
}
.act-10:before {
  background-position: 0 center;
}
.act-21:before {
  background-position: 33.333% center;
}
.act-30:before {
  background-position: 66.667% center;
}
.act-42:before {
  background-position: 100% center;
}
.act-card small {
  color: #d6a6de;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.act-card > strong {
  margin-top: 18px;
  color: var(--yellow);
  font:
    italic 900 clamp(72px, 7vw, 110px)/0.72 "Barlow Condensed",
    Impact,
    sans-serif;
  letter-spacing: -0.04em;
}
.act-card h3 {
  margin: 12px 0 3px;
  font-size: 30px;
  line-height: 1;
  color: #fff;
}
.act-place {
  font-size: 13px;
  color: #ddd;
}
.act-card p {
  margin: 18px 0 22px;
  padding-top: 16px;
  border-top: 2px solid var(--purple);
  font-size: 14px;
  line-height: 1.5;
  color: #ddd;
}
.act-card a {
  margin-top: auto;
  width: max-content;
  padding-bottom: 7px;
  border-bottom: 2px solid var(--yellow);
  color: var(--yellow);
  font-size: 13px;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  text-decoration: none;
}
.act-card a:hover {
  color: #fff;
  border-color: #fff;
}
@media (max-width: 900px) {
  .acts-head {
    padding-top: 76px;
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .acts-head h2 {
    font-size: clamp(76px, 22vw, 104px);
  }
  .acts-copy {
    padding-left: 0;
    padding-top: 28px;
    border-left: 0;
    border-top: 1px solid #444;
  }
  .acts-copy p {
    font-size: 16px;
  }
  .acts-line {
    display: none;
  }
  .acts-grid {
    grid-template-columns: 1fr;
    padding-top: 0;
  }
  .act-card {
    min-height: 430px;
  }
  .act-card > strong {
    font-size: 96px;
  }
}

/* Route-map composition: replaces only the four race cards. */
.acts-map {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: #090909;
  border-top: 0;
}
.acts-map:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(5, 4, 8, 0.1),
    rgba(5, 4, 8, 0.22) 68%,
    rgba(5, 4, 8, 0.68)
  );
}
.acts-route {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.acts-route path {
  fill: none;
  stroke: url(#route-gradient);
  stroke-width: 8;
  stroke-linecap: round;
  filter: drop-shadow(0 0 8px rgba(176, 38, 255, 0.55));
}
.acts-route circle {
  fill: #121015;
  stroke: #ffdb22;
  stroke-width: 6;
  filter: drop-shadow(0 0 5px rgba(255, 217, 26, 0.5));
}
.acts-start,
.act-stop {
  position: absolute;
  z-index: 2;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 0 2px 8px #000;
}
.acts-start {
  left: 4.8%;
  top: 68%;
}
.acts-start small {
  display: block;
  color: var(--purple);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
}
.acts-start strong {
  font:
    900 28px/0.9 "Barlow Condensed",
    Impact,
    sans-serif;
}
.act-stop {
  padding: 6px 18px 8px 14px;
  border-left: 2px solid var(--yellow);
  background: linear-gradient(
    90deg,
    rgba(7, 6, 10, 0.98),
    rgba(7, 6, 10, 0.82) 78%,
    transparent
  );
}
.act-stop:after {
  content: "";
  position: absolute;
  left: -2px;
  top: 100%;
  width: 2px;
  height: 76px;
  background: var(--yellow);
}
.act-stop > strong {
  display: block;
  color: var(--yellow);
  font:
    italic 900 66px/0.74 "Barlow Condensed",
    Impact,
    sans-serif;
  letter-spacing: -0.03em;
}
.act-stop h3 {
  margin: 8px 0 2px;
  font-size: 25px;
  line-height: 0.9;
}
.act-stop span {
  display: block;
  font-size: 13px;
  text-transform: none;
  color: #eee;
}
.act-stop a {
  display: block;
  width: max-content;
  margin-top: 12px;
  padding-bottom: 5px;
  border-bottom: 2px solid var(--yellow);
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
  font-style: italic;
  text-decoration: none;
}
.act-stop a:hover {
  color: #fff;
  border-color: #fff;
}
.stop-10 {
  left: 23.3%;
  top: 11%;
  transform: translateX(-8%);
}
.stop-21 {
  left: 39.6%;
  top: 25%;
  transform: translateX(-8%);
}
.stop-30 {
  left: 72.9%;
  top: 38%;
  transform: translateX(-8%);
}
.stop-42 {
  left: 93.7%;
  top: 14%;
  transform: translateX(-100%);
}
.stop-42 {
  padding-right: 14px;
  padding-left: 18px;
  border-left: 0;
  border-right: 2px solid var(--yellow);
  text-align: right;
}
.stop-42:after {
  display: block;
  left: auto;
  right: -2px;
}
.stop-42 a {
  margin-left: auto;
}
.act-landmark {
  position: absolute;
  display: block;
  width: 152px;
  height: 110px;
  top: 2px;
  left: calc(100% + 3px);
  background-image: url("route-landmarks.png?v=5");
  background-repeat: no-repeat;
  background-size: 500% 100%;
  opacity: 0.48;
  filter: saturate(0.85) contrast(1.12);
  pointer-events: none;
}
.landmark-salso {
  background-position: 0 0;
  left: 6px;
  top: -118px;
  width: 176px;
  height: 128px;
}
.landmark-fidenza {
  background-position: 25% 0;
  left: 82px;
  top: -7px;
  width: 136px;
  height: 98px;
}
.landmark-fontanellato {
  background-position: 50% 0;
  left: 88px;
  top: -6px;
  width: 142px;
  height: 103px;
}
.landmark-soragna {
  background-position: 75% 0;
  left: 91px;
  top: -4px;
  width: 142px;
  height: 103px;
}
.landmark-busseto {
  background-position: 100% 0;
  left: auto;
  right: 88px;
  top: -6px;
  width: 142px;
  height: 103px;
}
.shuttle-strip {
  margin: 0 var(--pad);
  padding: 27px 30px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 25px;
  align-items: center;
  border: 2px solid rgba(163, 70, 190, 0.72);
  background: linear-gradient(105deg, #0c0a0f, #100b14);
}
.shuttle-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: var(--yellow);
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}
.shuttle-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.shuttle-copy .kicker {
  margin: 0 0 5px;
  color: #c778db;
}
.shuttle-copy h3 {
  margin: 0 0 5px;
  font:
    900 27px/1 "Barlow Condensed",
    Impact,
    sans-serif;
  text-transform: uppercase;
}
.shuttle-copy > p:last-child {
  margin: 0;
  color: #c9c4cc;
  font-size: 15px;
  line-height: 1.45;
}
.shuttle-strip > a {
  padding: 16px 19px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--yellow);
  font:
    900 15px/1 "Barlow Condensed",
    Impact,
    sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}
.shuttle-strip > a:hover {
  color: #fff;
  background: var(--purple);
}
.sponsors {
  padding: 52px var(--pad) 0;
  background: #e2ddd2;
  color: #121015;
}
.sponsors-head {
  display: grid;
  grid-template-columns: 1.05fr 1.4fr;
  column-gap: 8vw;
  align-items: end;
  padding-bottom: 42px;
  border-bottom: 1px solid rgba(18, 16, 21, 0.2);
}
.sponsors-head .kicker {
  grid-column: 1/-1;
  margin: 0 0 15px;
  color: var(--purple);
}
.sponsors-head h2 {
  margin: 0;
  font:
    900 clamp(44px, 5.2vw, 78px)/0.88 "Barlow Condensed",
    Impact,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
.sponsors-head h2 span {
  color: var(--purple);
}
.sponsors-head > p:last-child {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
  color: #171319;
}
.sponsors-group {
  padding-top: 30px;
}
.sponsors-label {
  margin: 0 0 13px;
  color: var(--yellow);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-shadow: 2px 2px 0 var(--purple);
}
.sponsors-main,
.sponsors-grid {
  display: grid;
  gap: 12px;
}
.sponsors-main {
  grid-template-columns: 1fr;
  max-width: 450px;
  margin: 0 auto;
}
.sponsors-grid {
  grid-template-columns: repeat(4, 1fr);
}
.sponsors-main a,
.sponsors-grid a {
  display: grid;
  place-items: center;
  border: 1px solid rgba(18, 16, 21, 0.16);
  background: rgba(255, 255, 255, 0.52);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}
.sponsors-main a {
  height: 165px;
}
.sponsors-grid a {
  height: 128px;
}
.sponsors-main a:hover,
.sponsors-grid a:hover {
  transform: translateY(-3px);
  border-color: var(--purple);
  background: #fff;
}
.sponsors img {
  display: block;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.sponsors-main img {
  width: 74%;
  height: 115px;
}
.sponsors-grid img {
  width: 74%;
  height: 86px;
}
.sponsors-cta {
  margin-top: 42px;
  padding: 29px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(18, 16, 21, 0.2);
}
.sponsors-cta strong {
  font:
    900 20px/1 "Barlow Condensed",
    Impact,
    sans-serif;
  text-transform: uppercase;
}
.sponsors-cta a {
  padding-bottom: 5px;
  border-bottom: 2px solid var(--purple);
  color: var(--purple);
  font-weight: 900;
  text-transform: uppercase;
  text-decoration: none;
}
.sponsors-cta a:hover {
  color: #121015;
  border-color: #121015;
}

@media (max-width: 760px) {
  .acts-map {
    min-height: 0;
    padding: 58px 20px 70px;
    background: #090909;
  }
  .acts-map:before {
    content: "";
    position: absolute;
    z-index: 1;
    left: 35px;
    top: 70px;
    bottom: 74px;
    width: 4px;
    border-radius: 4px;
    background: linear-gradient(
      180deg,
      var(--purple),
      #d13fc8 38%,
      #ff9a62 70%,
      var(--yellow)
    );
    box-shadow: 0 0 10px rgba(177, 49, 255, 0.45);
  }
  .acts-route {
    display: none;
  }
  .acts-start,
  .act-stop {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    margin: 0 0 44px;
    padding-left: 50px;
    border: 0;
    background: none;
    text-align: left;
  }
  .act-stop:after {
    display: none;
  }
  .acts-start:before,
  .act-stop:before {
    content: "";
    position: absolute;
    left: 8px;
    top: 7px;
    width: 16px;
    height: 16px;
    border: 4px solid var(--yellow);
    border-radius: 50%;
    background: #111;
    box-shadow: 0 0 0 3px #111;
  }
  .acts-start {
    margin-bottom: 56px;
  }
  .acts-start small {
    font-size: 10px;
  }
  .acts-start strong {
    font-size: 31px;
  }
  .act-landmark {
    width: 104px;
    height: 75px;
    left: 142px;
    right: auto;
    top: 0;
    opacity: 0.42;
  }
  .landmark-fidenza {
    left: 142px;
    right: auto;
    top: 0;
    width: 104px;
    height: 75px;
  }
  .landmark-salso {
    left: auto;
    right: 0;
    top: -8px;
    width: 112px;
    height: 81px;
  }
  .landmark-busseto {
    left: 142px;
    right: auto;
    top: 0;
  }
  .stop-42 a {
    margin-left: 0;
  }
  .shuttle-strip {
    margin: 0 20px;
    padding: 24px 22px;
    grid-template-columns: 46px 1fr;
    gap: 17px;
  }
  .shuttle-icon {
    width: 42px;
    height: 48px;
  }
  .shuttle-icon svg {
    width: 29px;
    height: 29px;
  }
  .shuttle-copy h3 {
    font-size: 24px;
  }
  .shuttle-copy > p:last-child {
    font-size: 14px;
  }
  .shuttle-strip > a {
    grid-column: 1/-1;
    padding: 15px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }
  .sponsors {
    padding: 42px 20px 0;
  }
  .sponsors-head {
    display: block;
    padding-bottom: 30px;
  }
  .sponsors-head h2 {
    font-size: 48px;
  }
  .sponsors-head > p:last-child {
    margin-top: 22px;
    font-size: 16px;
  }
  .sponsors-main {
    grid-template-columns: 1fr;
  }
  .sponsors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sponsors-main a {
    height: 135px;
  }
  .sponsors-grid a {
    height: 112px;
  }
  .sponsors-main img {
    height: 92px;
  }
  .sponsors-grid img {
    height: 72px;
  }
  .sponsors-cta {
    align-items: flex-start;
    gap: 20px;
    flex-direction: column;
  }
  .join {
    min-height: 540px;
    padding: 66px 20px 46px;
  }
  .join:before {
    inset: 0;
    background-size: auto 230%;
    background-position: 83% 38%;
    opacity: 0.2;
    -webkit-mask-image: radial-gradient(
      ellipse 55% 70% at 50% 48%,
      #000 26%,
      transparent 78%
    );
    mask-image: radial-gradient(
      ellipse 55% 70% at 50% 48%,
      #000 26%,
      transparent 78%
    );
  }
  .join h2 {
    font-size: 56px;
  }
  .join-copy {
    font-size: 16px;
  }
  .join-signature {
    margin-top: 48px;
  }
  .act-stop > strong {
    font-size: 76px;
  }
  .act-stop h3 {
    font-size: 31px;
  }
  .act-stop span {
    font-size: 15px;
  }
  .act-stop a {
    font-size: 14px;
  }
  .act-stop:last-child {
    margin-bottom: 0;
  }
}

/* Footer social and legal links */
.social-links {
  display: grid;
  gap: 10px;
  margin: 0;
}
.social-links a {
  display: flex;
  align-items: center;
  gap: 9px;
  width: max-content;
  text-decoration: none;
}
.social-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: currentColor;
}
.social-links a:hover .social-icon {
  color: var(--yellow);
}
.edition {
  display: grid;
  place-items: center;
  min-height: 110px;
}
.edition strong {
  line-height: 1;
}
.sponsors-marquee {
  overflow: hidden;
  margin-inline: calc(var(--pad) * -1);
  padding-inline: var(--pad);
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 5%,
    #000 95%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 5%,
    #000 95%,
    transparent
  );
}

/* Come arrivare: hero supplied as a complete artwork. */
.subhero.arrival-hero-image {
  min-height: calc(152px + 33.28125vw);
  padding: 0;
  background: #08070a;
  overflow: hidden;
}
.subhero.arrival-hero-image::before {
  content: "";
  position: absolute;
  inset: 152px 0 auto;
  aspect-ratio: 1280 / 426;
  background: url("hero-arrival-verdi.jpg") center / 100% 100% no-repeat;
}
.subhero.arrival-hero-image::after,
.subhero.arrival-hero-image > div {
  display: none;
}
@media (max-width: 900px) {
  .subhero.arrival-hero-image {
    min-height: calc(136px + 33.28125vw);
  }
  .subhero.arrival-hero-image::before {
    top: 136px;
  }
}

/* Come arrivare: compact closing information band. */
.arrival-info {
  padding-top: 30px;
  padding-bottom: 30px;
  grid-template-columns: 50px minmax(260px, 0.8fr) 1.2fr;
  gap: 24px;
}
.arrival-info-icon {
  width: 42px;
  height: 42px;
  font-size: 20px;
}
.arrival-info h2 {
  font-size: clamp(34px, 3.5vw, 50px);
  line-height: 0.95;
}
.arrival-info > p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}
@media (max-width: 900px) {
  .arrival-info {
    padding: 30px 22px;
    grid-template-columns: 42px 1fr;
    gap: 18px;
  }
  .arrival-info > p {
    margin-left: 60px;
  }
}
.sponsors-marquee-track {
  display: flex;
  width: max-content;
  animation: sponsors-loop 48s linear infinite;
  will-change: transform;
}
.sponsors-marquee:hover .sponsors-marquee-track,
.sponsors-marquee:focus-within .sponsors-marquee-track {
  animation-play-state: paused;
}
.sponsors-marquee .sponsors-grid {
  display: flex;
  grid-template-columns: none;
  flex: none;
  gap: 12px;
  padding-right: 12px;
}
.sponsors-marquee .sponsors-grid a {
  width: clamp(190px, 20vw, 270px);
  height: 128px;
  flex: none;
}
@keyframes sponsors-loop {
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .sponsors-marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .sponsors-marquee-track {
    animation: none;
  }
  .sponsors-marquee .sponsors-grid[aria-hidden="true"] {
    display: none;
  }
}
@media (max-width: 760px) {
  .footer-bottom {
    align-items: flex-start;
  }
  .legal {
    flex-wrap: wrap;
  }
  .social-links a {
    font-size: 13px;
  }
}
@media (max-width: 760px) {
  .sponsors-marquee {
    margin-inline: -20px;
    padding-inline: 20px;
  }
  .sponsors-marquee .sponsors-grid a {
    width: 190px;
    height: 112px;
  }
}
.footer-grid {
  grid-template-columns: 170px repeat(4, 1fr);
}
.footer-grid .legal {
  display: grid;
  gap: 9px;
  justify-items: start;
}
.footer-grid .legal a {
  width: max-content;
  border-bottom: 0;
}
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 901px) {
  .site-nav > a:not(.nav-cta),
  .site-nav > .nav-item > .nav-parent {
    position: relative;
  }
  .site-nav > a:not(.nav-cta):after,
  .site-nav > .nav-item > .nav-parent:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -13px;
    height: 3px;
    background: var(--yellow);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.18s ease;
  }
  .site-nav > a.nav-current:not(.nav-cta):after,
  .site-nav > .nav-item > .nav-parent.nav-current:after,
  .site-nav > a.nav-hover:not(.nav-cta):after,
  .site-nav > .nav-item > .nav-parent.nav-hover:after {
    transform: scaleX(1);
  }
  .site-nav.is-hovering > a.nav-current:not(.nav-cta):after,
  .site-nav.is-hovering > .nav-item > .nav-parent.nav-current:after {
    transform: scaleX(0);
  }
  .site-nav.is-hovering > a.nav-hover:not(.nav-cta):after,
  .site-nav.is-hovering > .nav-item > .nav-parent.nav-hover:after {
    transform: scaleX(1);
  }
}
.distance-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(480px, 1.18fr);
  gap: 4vw;
  align-items: center;
  padding-right: clamp(28px, 5vw, 90px);
}
.distance-hero-copy {
  max-width: 660px;
}
.distance-hero-copy .hero-lead {
  max-width: 590px;
}
.distance-route {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 760px;
  justify-self: end;
  filter: drop-shadow(0 0 24px rgba(164, 60, 219, 0.18));
}
.distance-route svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.route-line,
.route-glow {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.route-glow {
  stroke: url(#distance-gradient);
  stroke-width: 15;
  opacity: 0.28;
  filter: url(#distance-glow);
}
.route-line {
  stroke: url(#distance-gradient);
  stroke-width: 5;
  filter: url(#distance-glow);
}
.route-node {
  fill: #090909;
  stroke: #ffd91a;
  stroke-width: 5;
}
.route-halo {
  fill: #ffd91a;
  opacity: 0.1;
  filter: url(#distance-glow);
}
.route-stop:not(.is-finish) .route-node {
  stroke: #c745d1;
}
.route-stop:not(.is-finish) .route-halo {
  fill: #b935d4;
}
.route-km,
.route-city {
  fill: #fff;
  text-anchor: middle;
  font-family: Inter, Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.route-km {
  font-size: 14px;
  fill: #ffd91a;
}
.route-city {
  font-size: 8px;
}
.route-stop.is-finish .route-node {
  stroke-width: 7;
}
.route-stop.is-finish .route-halo {
  opacity: 0.23;
}
.route-badge {
  position: absolute;
  right: 4%;
  bottom: 4%;
  padding: 8px 11px;
  border: 1px solid var(--yellow);
  color: var(--yellow);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.distance-route.is-nc .route-line {
  stroke-dasharray: 11 8;
}
@media (max-width: 900px) {
  .distance-hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    align-content: end;
    min-height: 760px;
    padding: 155px var(--pad) 45px;
  }
  .distance-hero-copy {
    max-width: none;
  }
  .distance-route {
    width: min(720px, 100%);
    justify-self: center;
  }
  .route-km {
    font-size: 15px;
  }
  .route-city {
    font-size: 8px;
  }
  .route-badge {
    right: 0;
    bottom: -4px;
  }
}
@media (max-width: 520px) {
  .distance-hero {
    min-height: 720px;
    gap: 10px;
  }
  .distance-hero h1 {
    font-size: clamp(82px, 28vw, 120px);
  }
  .distance-route {
    margin-top: 4px;
  }
  .route-km {
    font-size: 16px;
  }
  .route-city {
    font-size: 9px;
  }
  .route-line {
    stroke-width: 7;
  }
  .route-glow {
    stroke-width: 18;
  }
  .route-badge {
    font-size: 8px;
    padding: 6px 8px;
  }
}

.distance-landmark {
  position: absolute;
  z-index: -1;
  left: var(--lx);
  top: var(--ly);
  display: block;
  width: 104px;
  height: 70px;
  background-image: url("route-landmarks.png?v=5");
  background-repeat: no-repeat;
  background-size: 500% 100%;
  opacity: 0.27;
  filter: saturate(0.8) contrast(1.18)
    drop-shadow(0 0 14px rgba(176, 76, 201, 0.24));
  pointer-events: none;
}
.distance-landmark.is-above {
  transform: translate(-50%, -112%);
}
.distance-landmark.is-below {
  transform: translate(-50%, 20%);
}
.distance-landmark.is-finish {
  width: 122px;
  height: 82px;
  opacity: 0.43;
  filter: saturate(0.9) contrast(1.2)
    drop-shadow(0 0 18px rgba(242, 211, 40, 0.22));
}
.distance-landmark-salso {
  background-position: 0 0;
}
.distance-landmark-fidenza {
  background-position: 25% 0;
}
.distance-landmark-fontanellato {
  background-position: 50% 0;
}
.distance-landmark-soragna {
  background-position: 75% 0;
}
.distance-landmark-busseto {
  background-position: 100% 0;
}
@media (max-width: 900px) {
  .distance-landmark {
    width: 72px;
    height: 49px;
    opacity: 0.24;
  }
  .distance-landmark.is-finish {
    width: 82px;
    height: 55px;
    opacity: 0.38;
  }
}
@media (max-width: 520px) {
  .distance-landmark {
    width: 48px;
    height: 33px;
  }
  .distance-landmark.is-finish {
    width: 56px;
    height: 38px;
  }
  .distance-landmark.is-above {
    transform: translate(-50%, -118%);
  }
  .distance-landmark.is-below {
    transform: translate(-50%, 18%);
  }
}
.distance-route.is-nc .route-badge {
  right: 6%;
  bottom: -42px;
  width: 126px;
  height: 62px;
  display: grid;
  place-items: center;
  padding: 8px;
  border: 2px solid var(--yellow);
  outline: 1px solid rgba(242, 211, 40, 0.72);
  outline-offset: 4px;
  border-radius: 50%;
  background: rgba(8, 8, 8, 0.82);
  color: var(--yellow);
  font:
    900 15px/0.9 "Barlow Condensed",
    Impact,
    sans-serif;
  letter-spacing: 0.08em;
  text-align: center;
  transform: rotate(-7deg);
  text-shadow: 1px 1px 0 rgba(160, 78, 176, 0.8);
  box-shadow:
    inset 0 0 0 2px rgba(242, 211, 40, 0.16),
    0 0 18px rgba(160, 78, 176, 0.16);
}
@media (max-width: 520px) {
  .distance-route.is-nc .route-badge {
    right: 4%;
    bottom: -34px;
    width: 104px;
    height: 52px;
    font-size: 13px;
    outline-offset: 3px;
  }
}
.distance-route.is-nc .route-badge {
  right: -1%;
  top: 72%;
  bottom: auto;
  width: 146px;
  height: 72px;
  font-size: 17px;
}
@media (max-width: 520px) {
  .distance-route.is-nc .route-badge {
    right: -1%;
    top: 68%;
    bottom: auto;
    width: 112px;
    height: 56px;
    font-size: 14px;
  }
}
.distance-route .route-line {
  stroke-width: 3.5;
}
.distance-route .route-glow {
  stroke-width: 10;
  opacity: 0.23;
}
.distance-route .distance-landmark {
  width: 128px;
  height: 86px;
  opacity: 0.32;
}
.distance-route .distance-landmark.is-finish {
  width: 148px;
  height: 100px;
  opacity: 0.48;
}
@media (max-width: 900px) {
  .distance-route .distance-landmark {
    width: 88px;
    height: 60px;
  }
  .distance-route .distance-landmark.is-finish {
    width: 102px;
    height: 69px;
  }
}
@media (max-width: 520px) {
  .distance-route .route-line {
    stroke-width: 4.5;
  }
  .distance-route .route-glow {
    stroke-width: 12;
  }
  .distance-route .distance-landmark {
    width: 64px;
    height: 44px;
  }
  .distance-route .distance-landmark.is-finish {
    width: 76px;
    height: 52px;
  }
}
.distance-hero-copy h1 small {
  display: block;
  margin-top: 13px;
  color: var(--yellow);
  font:
    800 0.27em/0.92 "Barlow Condensed",
    Impact,
    sans-serif;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}
@media (max-width: 520px) {
  .distance-hero-copy h1 small {
    font-size: 0.24em;
    margin-top: 9px;
  }
}
.distance-route .route-node {
  r: 6px;
  stroke-width: 4;
}
.distance-route .route-halo {
  r: 14px;
}
.distance-route .route-stop.is-finish .route-node {
  r: 7px;
  stroke-width: 5.5;
}
.distance-route .distance-landmark {
  width: 180px;
  height: 122px;
  opacity: 0.4;
}
.distance-route .distance-landmark.is-finish {
  width: 210px;
  height: 142px;
  opacity: 0.58;
}
.distance-route.is-nc .route-badge {
  right: -2%;
  top: 38%;
  bottom: auto;
  width: 146px;
  height: 72px;
  font-size: 17px;
}
@media (max-width: 900px) {
  .distance-route .distance-landmark {
    width: 118px;
    height: 80px;
    opacity: 0.36;
  }
  .distance-route .distance-landmark.is-finish {
    width: 136px;
    height: 92px;
    opacity: 0.54;
  }
}
@media (max-width: 520px) {
  .distance-route .distance-landmark {
    width: 92px;
    height: 63px;
  }
  .distance-route .distance-landmark.is-finish {
    width: 108px;
    height: 73px;
  }
  .distance-route.is-nc .route-badge {
    right: 1%;
    top: 39%;
    bottom: auto;
    width: 88px;
    height: 44px;
    font-size: 11px;
  }
}
@media (min-width: 901px) {
  .distance-route.is-nc .route-badge {
    right: -5.5%;
  }
}
.race42-facts {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: #0b0a0d;
  color: #fff;
  border-top: 1px solid #29252d;
  border-bottom: 1px solid #29252d;
  padding: 0 var(--pad);
}
.race42-facts > div {
  min-height: 112px;
  padding: 24px 22px;
  border-right: 1px solid #29252d;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.race42-facts > div:first-child {
  border-left: 1px solid #29252d;
}
.race42-facts small {
  margin-bottom: 9px;
  color: #a04eb0;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.race42-facts strong {
  font:
    800 clamp(18px, 1.8vw, 27px)/1 "Barlow Condensed",
    Impact,
    sans-serif;
  text-transform: uppercase;
}
.race42-intro {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 9vw;
  align-items: center;
  padding: 92px var(--pad);
  background: #e2ddd2;
}
.race42-intro-copy {
  max-width: 560px;
}
.race42-intro-copy .kicker {
  color: var(--yellow);
  text-shadow: 2px 2px 0 var(--purple);
}
.race42-useful .kicker {
  color: var(--purple);
}
.race42-intro-copy > p:not(.kicker) {
  font-size: 16px;
  line-height: 1.7;
  color: #2d2b2c;
}
.race42-intro-title h2 {
  margin: 0;
  font-size: clamp(66px, 7.3vw, 118px);
  line-height: 0.83;
}
.race42-intro-title h2 span {
  color: var(--purple);
}
.race-fees {
  padding: 58px var(--pad) 62px;
  background: #f2d328;
  color: #0b0a0d;
}
.race-fees-head {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 7vw;
  align-items: end;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(11, 10, 13, 0.35);
}
.race-fees-head .kicker {
  margin: 0 0 14px;
  color: var(--purple);
}
.race-fees-head h2 {
  margin: 0;
  font-size: clamp(42px, 4.4vw, 70px);
  line-height: 0.9;
}
.race-fees-head > p {
  max-width: 480px;
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
}
.race-fees-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.race-fees-group h3 {
  margin: 0 0 9px;
  font-size: 17px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.race-fee-row {
  min-height: 74px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 62px;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(11, 10, 13, 0.42);
  margin-top: -1px;
  background: rgba(255, 255, 255, 0.16);
}
.race-fee-row span,
.race-fee-row small {
  display: block;
}
.race-fee-row b {
  font: 800 16px/1 "Barlow Condensed", Impact, sans-serif;
  text-transform: uppercase;
}
.race-fee-row small {
  margin-top: 5px;
  font-size: 11px;
}
.race-fee-row strong {
  font: 800 31px/1 "Barlow Condensed", Impact, sans-serif;
  white-space: nowrap;
}
.race-fee-row em {
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: right;
  text-transform: uppercase;
}
.race-fee-row.is-active {
  background: #a04eb0;
  color: #fff;
}
.race-fee-row.is-expired {
  opacity: 0.58;
}
.race-fees-cta {
  margin-top: 24px;
  background: #0b0a0d;
  color: #fff;
  border-color: #0b0a0d;
}
.race-fees-cta:hover {
  background: var(--purple);
  border-color: var(--purple);
}
.race42-bib {
  padding: 88px var(--pad) 96px;
  background: #0b0a0d;
  color: #fff;
}
.race42-bib header {
  display: block;
  margin-bottom: 48px;
  border-bottom: 1px solid #302c34;
  padding-bottom: 28px;
}
.race42-bib header .kicker {
  margin: 0 0 15px;
  color: var(--purple);
}
.race42-bib h2 {
  margin: 0;
  font-size: clamp(58px, 6.2vw, 98px);
}
.race42-services {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}
.race42-services article {
  min-height: 215px;
  padding: 24px 20px;
  border-left: 1px solid #302c34;
}
.race42-services article:last-child {
  border-right: 1px solid #302c34;
}
.race42-service-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 32px;
  border: 1px solid var(--purple);
  color: var(--yellow);
  border-radius: 50%;
  box-shadow: 0 0 22px rgba(160, 78, 176, 0.22);
}
.race42-service-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.race42-services h3 {
  margin: 0 0 12px;
  font-size: 25px;
  line-height: 0.95;
}
.race42-services p {
  margin: 0;
  color: #aaa;
  font-size: 12px;
  line-height: 1.55;
}
.race42-useful {
  padding: 58px var(--pad);
  background: #f0ede4;
  display: grid;
  grid-template-columns: 1.05fr 1.45fr;
  gap: 5vw;
  align-items: center;
}
.race42-useful-head {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3vw;
  align-items: center;
  margin: 0;
}
.race42-useful .kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.race42-useful .kicker:after {
  content: "";
  width: 125px;
  height: 1px;
  background: var(--purple);
}
.race42-useful h2 {
  margin: 0;
  font-size: clamp(54px, 5vw, 84px);
  line-height: 0.84;
}
.race42-useful h2 span {
  color: var(--purple);
}
.race42-useful-head > p {
  margin: 20px 0 0;
  max-width: 310px;
  font-size: 15px;
  line-height: 1.65;
}
.race42-useful-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.race42-useful-grid > a {
  min-height: 220px;
  padding: 4px 25px 0;
  color: #171516;
  text-decoration: none;
  border-left: 1px solid #c9c3b9;
  display: flex;
  flex-direction: column;
  transition: color 0.2s ease;
}
.race42-useful-grid > a:hover,
.race42-useful-grid > a:focus-visible {
  color: var(--purple);
}
.race42-useful-icon {
  display: block;
  width: 42px;
  height: 42px;
  color: var(--purple);
}
.race42-useful-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.race42-useful-grid h3 {
  margin: 14px 0 10px;
  font-size: 27px;
}
.race42-useful-grid p {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
}
.race42-useful-grid b {
  margin-top: auto;
  padding-top: 14px;
  color: var(--purple);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.race42-useful-grid b:not(.race42-useful-cta):after {
  content: "";
  display: block;
  width: 42px;
  margin-top: 9px;
  border-bottom: 1px solid var(--purple);
}
.race42-useful-grid .race42-useful-cta {
  align-self: flex-start;
  margin-top: auto;
  padding: 14px 18px;
  background: var(--yellow);
  color: #111;
}
.race42-final {
  position: relative;
  min-height: 560px;
  padding: 76px 20px 58px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #0c0a10;
  color: #fff;
  text-align: center;
}
.race42-final:before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("hero-verdi-opera.png") 100% 21% / auto 300% no-repeat;
  opacity: 0.3;
  filter: grayscale(0.35);
  -webkit-mask-image: radial-gradient(
    ellipse 31% 76% at 53% 49%,
    #000 34%,
    rgba(0, 0, 0, 0.72) 58%,
    transparent 80%
  );
  mask-image: radial-gradient(
    ellipse 31% 76% at 53% 49%,
    #000 34%,
    rgba(0, 0, 0, 0.72) 58%,
    transparent 80%
  );
}
/* Distance pages · editorial regulation block */
.race-regulation {
  padding: clamp(72px, 7vw, 110px) var(--pad);
  background: #eee9de;
  color: #111;
}
.race-regulation-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .75fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: end;
  margin-bottom: 48px;
}
.race-regulation-head .kicker {
  margin-bottom: 16px;
  color: var(--purple);
}
.race-regulation-head h2 {
  margin: 0;
  font-size: clamp(62px, 7vw, 108px);
  line-height: .82;
}
.race-regulation-head h2 span {
  color: var(--purple);
}
.race-regulation-head > p {
  max-width: 560px;
  margin: 0;
  color: #46413d;
  font-size: 17px;
  line-height: 1.65;
}
.race-regulation-facts {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 3px solid var(--purple);
  border-bottom: 1px solid #c7c0b5;
  background: #f7f4ed;
}
.race-regulation-facts > div {
  min-width: 0;
  padding: 22px 20px 24px;
  border-right: 1px solid #d4cec4;
}
.race-regulation-facts > div:last-child {
  border-right: 0;
}
.race-regulation-facts small,
.race-regulation-facts strong {
  display: block;
}
.race-regulation-facts small {
  margin-bottom: 9px;
  color: #746d65;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.race-regulation-facts strong {
  font: 800 22px/1.08 "Barlow Condensed", Impact, sans-serif;
  text-transform: uppercase;
}
.race-regulation-details {
  max-width: 1040px;
  margin: 38px auto 0;
  border-top: 1px solid #aaa298;
}
.race-regulation-details details {
  border-bottom: 1px solid #aaa298;
}
.race-regulation-details summary {
  position: relative;
  padding: 23px 54px 23px 0;
  cursor: pointer;
  list-style: none;
  font: 800 clamp(25px, 2.2vw, 34px)/1 "Barlow Condensed", Impact, sans-serif;
  text-transform: uppercase;
}
.race-regulation-details summary::-webkit-details-marker {
  display: none;
}
.race-regulation-details summary:after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--purple);
  border-radius: 50%;
  color: var(--purple);
  font: 600 22px/1 Inter, Arial, sans-serif;
  transform: translateY(-50%);
}
.race-regulation-details details[open] summary:after {
  content: "–";
  background: var(--purple);
  color: #fff;
}
.race-regulation-details details > div {
  max-width: 820px;
  padding: 0 0 26px;
  color: #4f4943;
  font-size: 15px;
  line-height: 1.7;
}
.race-regulation-details p {
  margin: 0;
}
.race-regulation-source {
  max-width: 1040px;
  margin: 24px auto 0;
  color: #777067;
  font-size: 11px;
  letter-spacing: .04em;
}
.race-regulation-source a {
  color: var(--purple);
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.race-regulation-download {
  max-width: 1040px;
  margin: 40px auto 0;
}
.race-regulation-note {
  max-width: 680px;
  margin: 18px 0 0;
  color: #686159;
  font-size: 13px;
  line-height: 1.6;
}
@media (max-width: 900px) {
  .race-regulation-head {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 34px;
  }
  .race-regulation-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .race-regulation-facts > div {
    border-bottom: 1px solid #d4cec4;
  }
  .race-regulation-facts > div:nth-child(2n) {
    border-right: 0;
  }
  .race-regulation-facts > div:last-child {
    grid-column: 1 / -1;
    border-bottom: 0;
  }
}
@media (max-width: 520px) {
  .race-regulation {
    padding: 58px 18px;
  }
  .race-regulation-head h2 {
    font-size: clamp(58px, 17vw, 76px);
  }
  .race-regulation-head > p {
    font-size: 15px;
  }
  .race-regulation-facts > div {
    padding: 18px 14px 20px;
  }
  .race-regulation-facts strong {
    font-size: 19px;
  }
  .race-regulation-details {
    margin-top: 28px;
  }
  .race-regulation-details summary {
    padding-block: 20px;
    font-size: 24px;
  }
}

.hotel-page {
  background: #e8e3d8;
}
.hotel-hero {
  min-height: 720px;
  background:
    linear-gradient(
      90deg,
      rgba(16, 2, 20, 0.84) 0%,
      rgba(35, 5, 43, 0.62) 36%,
      rgba(0, 0, 0, 0.06) 72%
    ),
    url("hero-hotel-verdi.png") center/cover no-repeat;
}
.subhero.compact-subhero {
  min-height: 500px;
  padding-top: 175px;
  padding-bottom: 55px;
}
.subhero.compact-subhero h1 {
  font-size: clamp(82px, 10vw, 145px);
}
.hotel-hero.compact-subhero {
  min-height: 600px;
}
.hotel-hero:after {
  background: linear-gradient(
    105deg,
    rgba(170, 51, 181, 0.25),
    transparent 45%
  );
}
.hotel-hero h1 {
  font-size: clamp(100px, 13vw, 190px);
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.28);
}
.hotel-intro {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 8vw;
  align-items: end;
  margin-bottom: 58px;
}
.hotel-intro h2 {
  font-size: clamp(66px, 7vw, 110px);
  margin: 0;
}
.hotel-intro h2 span {
  color: var(--purple);
}
.hotel-intro .kicker {
  color: var(--purple);
}
.hotel-intro .prose a {
  font-weight: 800;
  color: var(--purple);
}
.hotel-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  width: min(860px, 100%);
  margin: 0 auto;
}
.hotel-card {
  background: #0b0b0b;
  color: #fff;
  border-top: 4px solid var(--yellow);
  padding: 26px 30px;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.hotel-card-wide {
  grid-column: auto;
}
.hotel-card header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: start;
  border-bottom: 1px solid #383838;
  padding-bottom: 24px;
  margin-bottom: 8px;
}
.hotel-card header .kicker {
  color: #c46ad8;
  margin: 4px 0 0;
}
.hotel-card h3 {
  font-size: clamp(40px, 4vw, 62px);
  margin: 0;
  text-align: right;
}
.hotel-card h3 span {
  color: var(--yellow);
}
.hotel-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 22px;
}
.hotel-gallery figure {
  margin: 0;
  min-height: 250px;
  overflow: hidden;
  background: #191919;
}
.hotel-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 250px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.hotel-rates {
  list-style: none;
  padding: 0;
  margin: 0;
}
.hotel-rates li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 24px;
  align-items: baseline;
  padding: 15px 0;
  border-bottom: 1px solid #282828;
}
.hotel-rates li span {
  font-weight: 700;
}
.hotel-rates strong {
  font: 900 28px/1 "Barlow Condensed";
  color: var(--yellow);
}
.hotel-rates small {
  grid-column: 1 / -1;
  color: #999;
}
.hotel-note {
  color: #c9c4cc;
  line-height: 1.55;
  margin: 24px 0;
}
.hotel-card address {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #383838;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-style: normal;
}
.hotel-card address a {
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}
.hotel-card address a:hover {
  color: var(--yellow);
}
@media (max-width: 900px) {
  .hotel-hero {
    min-height: 570px;
    background-position: 64% center;
  }
  .subhero.compact-subhero {
    min-height: 500px;
    padding-top: 155px;
    padding-bottom: 45px;
  }
  .subhero.compact-subhero h1 {
    font-size: clamp(72px, 20vw, 105px);
  }
  .hotel-hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      90deg,
      rgba(14, 2, 18, 0.9),
      rgba(20, 3, 25, 0.5) 70%,
      rgba(0, 0, 0, 0.12)
    );
  }
  .hotel-hero > * {
    position: relative;
    z-index: 2;
  }
  .hotel-intro,
  .hotel-list {
    grid-template-columns: 1fr;
  }
  .hotel-intro {
    gap: 25px;
    margin-bottom: 40px;
  }
  .hotel-card-wide {
    grid-column: auto;
  }
  .hotel-card {
    padding: 25px;
  }
  .hotel-card header {
    display: block;
  }
  .hotel-card h3 {
    text-align: left;
    margin-top: 12px;
  }
  .hotel-card address {
    display: grid;
  }
  .hotel-gallery figure,
  .hotel-gallery img {
    min-height: 190px;
  }
}
@media (max-width: 560px) {
  .hotel-gallery {
    grid-template-columns: 1fr;
  }
  .hotel-gallery figure,
  .hotel-gallery img {
    min-height: 220px;
  }
  .hotel-rates li {
    grid-template-columns: 1fr auto;
    gap: 5px 12px;
  }
  .hotel-rates strong {
    font-size: 25px;
  }
}
.shuttle-page {
  background: #e8e3d8;
}
.shuttle-intro,
.shuttle-outbound,
.shuttle-return {
  padding: 70px var(--pad);
}
.shuttle-intro {
  padding-top: 190px;
  padding-bottom: 45px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 7vw;
  align-items: end;
}
.shuttle-title h1 {
  font-size: clamp(76px, 9vw, 138px);
  line-height: 0.88;
  margin: 0;
}
.shuttle-title h1 span {
  color: var(--purple);
}
.shuttle-title .kicker,
.shuttle-section-head .kicker {
  color: var(--purple);
}
.shuttle-lead {
  font-size: 18px;
  line-height: 1.5;
}
.shuttle-alert {
  margin-top: 22px;
  padding: 16px 18px;
  border-left: 4px solid var(--purple);
  background: #e5d9e7;
  font-size: 12px;
}
.shuttle-alert strong {
  display: block;
  text-transform: uppercase;
}
.shuttle-steps {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0;
  margin: 10px 0 0;
  list-style: none;
  border-top: 1px solid #c9c3b8;
  border-bottom: 1px solid #c9c3b8;
}
.shuttle-steps li {
  padding: 18px 0;
  font-size: 12px;
  font-weight: 800;
}
.shuttle-steps b {
  color: var(--purple);
  margin-right: 12px;
}
.shuttle-outbound {
  padding-top: 25px;
}
.shuttle-section-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 7vw;
  align-items: end;
  margin-bottom: 26px;
}
.shuttle-section-head h2 {
  font-size: clamp(55px, 6vw, 90px);
  margin: 0;
}
.shuttle-section-head > p {
  font-size: 13px;
  line-height: 1.55;
}
.shuttle-table {
  border-top: 42px solid #111;
}
.shuttle-row {
  display: grid;
  grid-template-columns: 0.7fr 1.15fr 1.3fr;
  align-items: center;
  gap: 25px;
  padding: 18px 14px;
  border-bottom: 1px solid #c9c3b8;
}
.shuttle-table-head {
  height: 0;
  padding: 0 14px;
  transform: translateY(-27px);
  border: 0;
  color: #fff;
  text-transform: uppercase;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
}
.shuttle-row > strong {
  font: 500 28px/1 "Barlow Condensed";
  text-transform: uppercase;
}
.shuttle-row > span {
  font-size: 12px;
}
.shuttle-times {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.shuttle-times b {
  background: var(--yellow);
  padding: 8px 9px;
  font-size: 10px;
}
.shuttle-return {
  background: #111;
  color: #fff;
}
.shuttle-return .shuttle-section-head > p {
  color: #aaa;
}
.shuttle-accordions details {
  border-bottom: 1px solid #333;
}
.shuttle-accordions summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 0.7fr 1.15fr 1.3fr;
  gap: 25px;
  align-items: center;
  padding: 20px 0;
}
.shuttle-accordions summary::-webkit-details-marker {
  display: none;
}
.shuttle-accordions summary:after {
  content: "+";
  justify-self: end;
  color: var(--yellow);
  font-size: 22px;
}
.shuttle-accordions details[open] summary:after {
  content: "×";
}
.shuttle-accordions summary strong {
  font: 500 28px/1 "Barlow Condensed";
  text-transform: uppercase;
}
.shuttle-accordions summary span {
  font-size: 11px;
  color: #aaa;
}
.shuttle-accordions summary b {
  color: var(--yellow);
  font-size: 10px;
  text-transform: uppercase;
}
.return-runs {
  margin-left: 26%;
  padding: 0 0 20px;
}
.return-runs p {
  display: grid;
  grid-template-columns: 80px 90px 1fr;
  gap: 20px;
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid #292929;
  font-size: 11px;
}
.return-runs time {
  color: var(--yellow);
  font-weight: 800;
}
.return-runs b {
  color: #c46ad8;
  text-transform: uppercase;
}
.return-note {
  margin: 0 0 20px 26%;
  color: #aaa;
  font-size: 12px;
}
.shuttle-disclaimer {
  margin-top: 36px;
  border: 1px solid #644468;
  padding: 18px;
  font-size: 11px;
  line-height: 1.5;
}
.shuttle-disclaimer strong {
  text-transform: uppercase;
}
.shuttle-source {
  color: #777;
  font-size: 9px;
  margin: 14px 0 0;
}
@media (max-width: 900px) {
  .shuttle-intro,
  .shuttle-section-head {
    grid-template-columns: 1fr;
  }
  .shuttle-intro {
    padding-top: 155px;
  }
  .shuttle-steps {
    grid-template-columns: 1fr;
  }
  .shuttle-steps li {
    border-bottom: 1px solid #c9c3b8;
  }
  .shuttle-row,
  .shuttle-accordions summary {
    grid-template-columns: 1fr;
  }
  .shuttle-table {
    border-top: 0;
  }
  .shuttle-table-head {
    display: none;
  }
  .shuttle-row {
    gap: 8px;
    padding: 22px 0;
  }
  .shuttle-row > strong {
    font-size: 34px;
  }
  .shuttle-times {
    margin-top: 8px;
  }
  .shuttle-accordions summary {
    position: relative;
    gap: 6px;
    padding-right: 35px;
  }
  .shuttle-accordions summary:after {
    position: absolute;
    right: 0;
  }
  .return-runs {
    margin-left: 0;
  }
  .return-runs p {
    grid-template-columns: 55px 65px 1fr;
    gap: 10px;
  }
  .return-note {
    margin-left: 0;
  }
  .shuttle-intro,
  .shuttle-outbound,
  .shuttle-return {
    padding-left: 22px;
    padding-right: 22px;
  }
}
@media (min-width: 901px) {
  .navette-page .site-nav > a,
  .navette-page .nav-parent {
    color: #111;
  }
}
.arrival-intro {
  padding: 90px var(--pad) 55px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  align-items: end;
  background: #e8e3d8;
}
.arrival-intro h2 {
  font-size: clamp(68px, 8vw, 120px);
  margin: 0;
}
.arrival-intro h2 span {
  color: var(--purple);
}
.arrival-intro .kicker {
  color: var(--purple);
}
.arrival-intro > p {
  font-size: 18px;
  line-height: 1.65;
  max-width: 650px;
}
.arrival-grid {
  padding: 0 var(--pad) 95px;
  background: #e8e3d8;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.arrival-card {
  position: relative;
  min-height: 520px;
  padding: 36px;
  background: #f4f0e8;
  border-top: 4px solid var(--yellow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.arrival-card-dark {
  background: #101010;
  color: #fff;
}
.arrival-card-purple {
  background: var(--purple);
  color: #fff;
}
.arrival-card .kicker {
  color: var(--purple);
  margin-left: 72px;
}
.arrival-card-dark .kicker,
.arrival-card-purple .kicker {
  color: var(--yellow);
}
.arrival-icon {
  position: absolute;
  top: 30px;
  left: 34px;
  width: 48px;
  height: 48px;
  border: 2px solid currentColor;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 900 23px/1 Inter;
  color: var(--purple);
}
.arrival-card-dark .arrival-icon,
.arrival-card-purple .arrival-icon {
  color: var(--yellow);
}
.arrival-card h3 {
  font-size: clamp(55px, 6vw, 88px);
  margin: 45px 0 20px;
}
.arrival-card > p {
  line-height: 1.55;
}
.arrival-card dl {
  margin: 22px 0;
}
.arrival-card dl > div {
  padding: 16px 0;
  border-top: 1px solid #444;
}
.arrival-card dt {
  font-weight: 800;
  text-transform: uppercase;
  font-size: 11px;
  color: #c46ad8;
}
.arrival-card dd {
  margin: 7px 0 0;
  line-height: 1.5;
}
.arrival-note {
  font-size: 13px;
  color: #bbb;
}
.arrival-link {
  margin-top: auto;
  width: max-content;
  color: inherit;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 900;
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 8px;
}
.arrival-card ul {
  list-style: none;
  padding: 0;
  margin: 18px 0;
}
.arrival-card > ul:not(.airport-list) {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
}
.arrival-card > ul:not(.airport-list) li {
  padding: 15px;
  background: #e7e1d5;
  font-weight: 800;
}
.arrival-stat {
  margin: 30px 0;
  display: flex;
  align-items: end;
  gap: 15px;
}
.arrival-stat strong {
  font: 900 90px/0.75 "Barlow Condensed";
  color: var(--purple);
}
.arrival-stat span {
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 800;
}
.airport-list li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
.airport-list span {
  font: 700 25px/1 "Barlow Condensed";
  text-transform: uppercase;
}
.airport-list b {
  font-size: 12px;
}
.arrival-info {
  background: #111;
  color: #fff;
  padding: 70px var(--pad);
  display: grid;
  grid-template-columns: 65px 1fr 1fr;
  gap: 35px;
  align-items: center;
}
.arrival-info-icon {
  width: 50px;
  height: 50px;
  border: 2px solid var(--yellow);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--yellow);
  font: 900 24px/1 Inter;
}
.arrival-info .kicker {
  color: #c46ad8;
}
.arrival-info h2 {
  font-size: clamp(45px, 5vw, 72px);
  margin: 0;
}
.arrival-info > p {
  line-height: 1.65;
  color: #ccc;
}
@media (max-width: 900px) {
  .arrival-intro,
  .arrival-grid {
    grid-template-columns: 1fr;
  }
  .arrival-intro {
    padding-top: 70px;
    gap: 25px;
  }
  .arrival-intro > p {
    font-size: 16px;
  }
  .arrival-grid {
    padding-left: 22px;
    padding-right: 22px;
  }
  .arrival-card {
    min-height: 0;
    padding: 28px;
  }
  .arrival-card h3 {
    margin-top: 38px;
  }
  .arrival-info {
    grid-template-columns: 48px 1fr;
    padding: 55px 22px;
  }
  .arrival-info > p {
    grid-column: 1/-1;
  }
  .arrival-card > ul:not(.airport-list) {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 901px) {
  .navette-page .brand {
    filter: invert(1);
  }
}
.navette-page:not(.menu-open) .brand {
  filter: invert(1);
}
.navette-page:not(.menu-open) .menu-btn {
  color: #111;
}
.navette-page:not(.menu-open) .menu-btn span {
  background: #111;
}
.navette-page .return-runs p:not(.return-head) time {
  color: #111;
}
.navette-page .shuttle-disclaimer > span {
  width: 28px;
  height: 28px;
  border: 2px solid var(--purple);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 900 17px/1 Inter;
  color: var(--purple);
}
.shuttle-page {
  background: #f1eee6;
}
.shuttle-intro {
  padding-bottom: 36px;
  grid-template-columns: 0.72fr 1.35fr;
  align-items: start;
}
.shuttle-title .kicker {
  font-size: 14px;
  border-bottom: 3px solid var(--purple);
  padding-bottom: 8px;
  width: max-content;
}
.shuttle-title h1 {
  font-size: clamp(72px, 7.2vw, 112px);
  margin-top: 25px;
}
.shuttle-lead {
  padding-top: 38px;
  font-size: 20px;
}
.shuttle-lead > p {
  max-width: 760px;
  margin-bottom: 38px;
}
.shuttle-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 0;
}
.shuttle-features > div {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: center;
  padding: 5px 26px;
  border-right: 1px solid #bbb;
}
.shuttle-features > div:first-child {
  padding-left: 0;
}
.shuttle-features > div:last-child {
  border: 0;
}
.shuttle-feature-icon {
  width: 48px;
  height: 48px;
  border: 3px solid var(--purple);
  border-radius: 8px;
  color: var(--purple);
  display: grid;
  place-items: center;
  font: 900 24px/1 Inter;
}
.shuttle-features strong {
  font-size: 16px;
  line-height: 1.15;
}
.shuttle-outbound {
  padding-top: 30px;
}
.shuttle-section-head {
  grid-template-columns: max-content 1fr;
  gap: 30px;
  align-items: center;
  border-bottom: 1px solid #bbb;
  padding-bottom: 18px;
}
.shuttle-section-head > div {
  display: flex;
  align-items: center;
  gap: 18px;
}
.shuttle-section-head h2 {
  font-size: clamp(38px, 4vw, 62px);
}
.shuttle-heading-icon {
  color: var(--purple);
  font: 900 44px/1 Inter;
}
.shuttle-section-head > p {
  margin: 0;
}
.shuttle-table {
  border: 1px solid #c9c3b8;
  border-radius: 12px;
  overflow: hidden;
  background: #f7f5ef;
}
.shuttle-row {
  grid-template-columns: 1fr 1.6fr 0.8fr 0.45fr;
  padding: 14px 28px;
}
.shuttle-table-head {
  height: auto;
  padding: 14px 28px;
  transform: none;
  background: #e4dfd5;
  color: #282828;
}
.shuttle-row > strong {
  font-size: 27px;
}
.shuttle-row > span {
  color: #333;
}
.shuttle-trips {
  grid-column: 3/5;
  display: grid;
  grid-template-columns: 0.8fr 0.45fr;
  row-gap: 7px;
  align-items: center;
}
.shuttle-trips i {
  display: contents;
  font-style: normal;
}
.shuttle-trips time {
  background: var(--yellow);
  padding: 7px 12px;
  width: max-content;
  font-weight: 900;
}
.shuttle-trips b {
  background: var(--purple);
  color: #fff;
  border-radius: 4px;
  padding: 7px 12px;
  width: 42px;
  text-align: center;
}
.shuttle-return {
  background: #f1eee6;
  color: #111;
  padding-top: 35px;
}
.shuttle-return .shuttle-section-head > p {
  color: #333;
}
.shuttle-accordions {
  border-radius: 12px;
  overflow: hidden;
}
.shuttle-accordions details {
  background: #111;
  border-bottom: 1px solid #777;
}
.shuttle-accordions summary {
  display: flex;
  padding: 18px 30px;
}
.shuttle-accordions summary strong {
  color: var(--yellow);
  font-size: 32px;
}
.shuttle-accordions summary:after {
  margin-left: auto;
}
.shuttle-accordions details[open] summary {
  border-bottom: 1px solid #333;
}
.return-panel {
  background: #f7f5ef;
  color: #111;
  display: grid;
  grid-template-columns: 250px 1fr;
  padding: 18px 35px;
}
.return-place {
  border-right: 1px solid #ccc;
  display: grid;
  grid-template-columns: 50px 1fr;
  align-content: center;
}
.return-place > span {
  grid-row: 1/3;
  color: var(--purple);
  font-size: 38px;
}
.return-place > strong {
  font-size: 18px;
}
.return-place > small {
  margin-top: 5px;
  color: #777;
}
.return-runs {
  margin: 0;
  padding: 0 0 0 40px;
}
.return-runs p {
  grid-template-columns: 100px 70px 1fr;
  border-bottom: 1px solid #ccc;
  color: #111;
}
.return-runs p:not(.return-head) time {
  background: var(--yellow);
  padding: 6px 10px;
  width: max-content;
}
.return-runs p:not(.return-head) b {
  background: var(--purple);
  color: #fff;
  border-radius: 4px;
  text-align: center;
  padding: 6px;
}
.return-head {
  font-size: 9px;
  text-transform: uppercase;
  font-weight: 800;
}
.return-head time,
.return-head b {
  color: #333;
}
.return-note {
  background: #f7f5ef;
  color: #333;
  margin: 0;
  padding: 22px 30px;
}
.shuttle-disclaimer {
  display: grid;
  grid-template-columns: 45px 180px 1fr;
  align-items: center;
  border: 0;
  border-radius: 10px;
  background: #ebe7dd;
  color: #111;
  padding: 20px 30px;
}
.shuttle-disclaimer > span {
  font-size: 27px;
  color: var(--purple);
}
.shuttle-disclaimer > strong {
  font: 800 26px/1 "Barlow Condensed";
}
.shuttle-disclaimer > p {
  margin: 0;
  border-left: 1px solid #bbb;
  padding-left: 35px;
}
@media (max-width: 900px) {
  .shuttle-intro {
    grid-template-columns: 1fr;
    padding-bottom: 25px;
  }
  .shuttle-title h1 {
    font-size: 72px;
  }
  .shuttle-lead {
    padding-top: 0;
  }
  .shuttle-features {
    grid-template-columns: 1fr;
  }
  .shuttle-features > div {
    border-right: 0;
    border-bottom: 1px solid #c9c3b8;
    padding: 15px 0;
  }
  .shuttle-section-head {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .shuttle-section-head > div {
    align-items: flex-start;
  }
  .shuttle-section-head h2 {
    font-size: 39px;
  }
  .shuttle-heading-icon {
    font-size: 34px;
  }
  .shuttle-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 20px;
  }
  .shuttle-row > span {
    font-size: 13px;
  }
  .shuttle-trips {
    grid-column: auto;
    grid-template-columns: 1fr 60px;
  }
  .shuttle-table-head {
    display: none;
  }
  .return-panel {
    grid-template-columns: 1fr;
    padding: 22px;
  }
  .return-place {
    border-right: 0;
    border-bottom: 1px solid #ccc;
    padding-bottom: 18px;
    margin-bottom: 10px;
  }
  .return-runs {
    padding-left: 0;
  }
  .return-runs p {
    grid-template-columns: 70px 50px 1fr;
    gap: 8px;
  }
  .shuttle-disclaimer {
    grid-template-columns: 35px 1fr;
    padding: 18px;
  }
  .shuttle-disclaimer > p {
    grid-column: 1/-1;
    border-left: 0;
    padding: 16px 0 0;
    margin-top: 12px;
    border-top: 1px solid #ccc;
  }
}
.race42-final:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--yellow));
}
.race42-final > div {
  position: relative;
  z-index: 1;
  width: min(1040px, 100%);
}
.race42-final .kicker {
  margin: 0 0 25px;
  color: #c46ad8;
}
.race42-final h2 {
  max-width: 980px;
  margin: 0 auto 34px;
  font-size: clamp(54px, 6.2vw, 92px);
  line-height: 0.9;
}
@media (max-width: 1050px) {
  .race42-facts {
    grid-template-columns: repeat(3, 1fr);
  }
  .race42-facts > div:nth-child(3) {
    border-right: 1px solid #29252d;
  }
  .race42-services {
    grid-template-columns: repeat(3, 1fr);
  }
  .race42-services article {
    border-bottom: 1px solid #302c34;
  }
  .race42-services article:nth-child(3n) {
    border-right: 1px solid #302c34;
  }
}
@media (max-width: 700px) {
  .race42-facts {
    grid-template-columns: 1fr 1fr;
  }
  .race42-facts > div {
    min-height: 95px;
    padding: 18px 14px;
    border-bottom: 1px solid #29252d;
  }
  .race42-facts > div:nth-child(odd) {
    border-left: 1px solid #29252d;
  }
  .race42-intro,
  .race42-useful-head {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .race42-intro,
  .race-fees,
  .race42-bib,
  .race42-useful {
    padding: 70px 20px;
  }
  .race42-intro-title {
    order: -1;
  }
  .race-fees {
    padding: 48px 20px 52px;
  }
  .race-fees-head {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .race-fees-columns {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .race-fee-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 9px 12px;
  }
  .race-fee-row em {
    grid-column: 1 / -1;
    text-align: left;
  }
  .race42-bib header {
    display: block;
  }
  .race42-bib header .kicker {
    margin-bottom: 15px;
  }
  .race42-services {
    grid-template-columns: 1fr 1fr;
  }
  .race42-services article:nth-child(n) {
    min-height: 205px;
    border: 1px solid #302c34;
    margin: -1px 0 0 -1px;
  }
  .race42-useful-grid {
    grid-template-columns: 1fr;
  }
  .race42-useful-grid > a {
    min-height: 235px;
    border-right: 0;
    border-bottom: 1px solid #c9c3b9;
  }
  .race42-final {
    min-height: 500px;
    padding: 70px 20px;
  }
  .race42-final:before {
    background:
      linear-gradient(90deg, rgba(5, 3, 7, 0.96), rgba(15, 5, 20, 0.7)),
      url("hero-verdi-busseto.png") 62% 50% / cover no-repeat;
  }
}
.race42-facts {
  width: calc(100% - (2 * var(--pad)));
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
}
.race42-facts > div:first-child {
  border-left: 0;
}
.race42-facts > div:last-child {
  border-right: 0;
}
@media (max-width: 700px) {
  .race42-facts {
    width: calc(100% - 40px);
  }
  .race42-facts > div:nth-child(odd) {
    border-left: 0;
  }
}
.race42-facts {
  background: #08090b;
  box-shadow: 0 0 0 100vmax #08090b;
  clip-path: inset(0 -100vmax);
}
.race42-facts > div {
  border: 1px solid rgba(255, 215, 0, 0.62);
  margin-left: -1px;
}
.race42-facts > div:first-child {
  margin-left: 0;
  border-left: 1px solid rgba(255, 215, 0, 0.62);
}
.race42-facts > div:last-child {
  border-right: 1px solid rgba(255, 215, 0, 0.62);
}
.race42-facts > div {
  align-items: center;
  text-align: center;
}
@media (max-width: 700px) {
  .race42-facts > div:nth-child(odd) {
    border-left: 1px solid rgba(255, 215, 0, 0.62);
  }
  .race42-facts > div {
    margin: -1px 0 0 -1px;
  }
  .race42-facts > div:nth-child(odd) {
    margin-left: 0;
  }
  .race42-facts > div:nth-child(-n + 2) {
    margin-top: 0;
  }
  .race42-facts > div:last-child {
    grid-column: 1/-1;
    margin-left: 0;
  }
}
@media (max-width: 1050px) {
  .race42-useful {
    grid-template-columns: 1fr;
    gap: 55px;
  }
  .race42-useful-head {
    grid-template-columns: 1.1fr 0.9fr;
  }
}
@media (max-width: 700px) {
  .race42-useful {
    grid-template-columns: 1fr;
    padding: 55px 20px;
  }
  .race42-useful-head {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .race42-useful-head > p {
    margin-top: 22px;
  }
  .race42-useful-grid {
    grid-template-columns: 1fr;
  }
  .race42-useful-grid > a {
    min-height: 195px;
    padding: 24px 20px;
    border-left: 1px solid #c9c3b9;
    border-bottom: 1px solid #c9c3b9;
  }
  .race42-useful-grid > a:last-child {
    border-right: 1px solid #c9c3b9;
  }
}
.route-base {
  fill: none;
  stroke: #5d5263;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.42;
}
.route-stop.is-future {
  opacity: 0.34;
}
.route-stop.is-future .route-node {
  stroke: #817688;
}
.route-stop.is-future .route-halo {
  opacity: 0;
}
.route-stop.is-future .route-km {
  fill: #c3b9c7;
}
.distance-landmark.is-future {
  opacity: 0.16;
  filter: grayscale(1) contrast(1.05);
}
.distance-route.is-nc .route-badge {
  left: 34%;
  right: auto;
  top: 39%;
}
@media (max-width: 520px) {
  .distance-route.is-nc .route-badge {
    left: 31%;
    right: auto;
    top: 38%;
  }
}
@media (min-width: 901px) {
  .acts-map .landmark-salso {
    top: -170px;
  }
  .acts-map .landmark-fontanellato {
    left: 14px;
    top: -120px;
  }
}
.landmark-fidenza,
.distance-landmark-fidenza {
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0 12%,
    #000 17% 84%,
    transparent 90% 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0 12%,
    #000 17% 84%,
    transparent 90% 100%
  );
}

/* Final compact treatment for the Come arrivare closing band. */
body .arrival-info {
  padding: 22px var(--pad);
  grid-template-columns: 44px minmax(320px, 0.9fr) 1.4fr;
  gap: 20px;
}
body .arrival-info-icon {
  width: 38px;
  height: 38px;
  font-size: 18px;
}
body .arrival-info h2 {
  font-size: clamp(32px, 3vw, 44px);
  line-height: 0.92;
}
body .arrival-info > p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}
@media (max-width: 900px) {
  body .arrival-info {
    padding: 24px 22px;
    grid-template-columns: 38px 1fr;
    gap: 14px;
  }
  body .arrival-info > p {
    grid-column: 2;
    margin: 0;
  }
}

/* Segreteria */
.subhero.secretary-hero {
  min-height: 560px;
  aspect-ratio: auto;
  background-image:
    linear-gradient(90deg, rgba(12, 3, 15, 0.28), rgba(8, 8, 8, 0.08) 64%),
    url("hero-segreteria-verdi.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.subhero.secretary-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("hero-segreteria-verdi.png") center / contain no-repeat;
}
.subhero.secretary-hero h1 {
  font-size: clamp(70px, 8vw, 115px);
}
.subhero.secretary-hero::after {
  background: linear-gradient(90deg, rgba(9, 3, 12, 0.25), transparent 70%);
}
.secretary-info {
  padding: 75px var(--pad) 85px;
  background: #eee9df;
  display: grid;
  grid-template-columns: 0.85fr 1.6fr;
  gap: 35px 7vw;
}
.secretary-heading .kicker {
  color: var(--purple);
}
.secretary-heading h2 {
  font-size: clamp(58px, 6vw, 92px);
  margin: 18px 0 25px;
}
.secretary-heading h2 span {
  color: var(--purple);
}
.secretary-heading > p:last-child {
  max-width: 520px;
  line-height: 1.6;
}
.secretary-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid #c9c2b6;
}
.secretary-details article {
  min-height: 190px;
  padding: 26px;
  border-right: 1px solid #c9c2b6;
  border-bottom: 1px solid #c9c2b6;
}
.secretary-details article:nth-child(2n) {
  border-right: 0;
}
.secretary-details article > span {
  color: var(--purple);
  font-size: 11px;
  font-weight: 900;
}
.secretary-details h3 {
  font-size: 32px;
  margin: 0 0 12px;
}
.secretary-details p {
  line-height: 1.5;
  margin: 0;
}
.secretary-details .secretary-time {
  color: var(--purple);
  font: 900 42px/1 "Barlow Condensed";
}
.secretary-contact-open {
  grid-column: 2;
  justify-self: start;
  border: 0;
  cursor: pointer;
}
.secretary-contact-open {
  background: var(--yellow);
  color: #111;
}
.contact-dialog {
  width: min(820px, calc(100% - 36px));
  max-height: calc(100vh - 36px);
  padding: 45px;
  border: 0;
  background: #f1eee6;
  color: #111;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}
.contact-dialog::backdrop {
  background: rgba(0, 0, 0, 0.8);
}
.contact-dialog .kicker {
  color: var(--purple);
}
.contact-dialog h2 {
  font-size: clamp(45px, 5vw, 72px);
  margin: 15px 45px 30px 0;
}
.contact-close {
  position: absolute;
  right: 22px;
  top: 18px;
  border: 0;
  background: transparent;
  font-size: 40px;
  cursor: pointer;
}
.contact-form {
  display: grid;
  gap: 18px;
}
.contact-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #bdb5a8;
  background: #fff;
  padding: 14px;
  color: #111;
  font: 400 16px/1.3 Inter;
}
.contact-form textarea {
  resize: vertical;
}
.contact-form .contact-privacy {
  display: flex;
  grid-template-columns: none;
  align-items: flex-start;
  gap: 10px;
  font-size: 10px;
  line-height: 1.4;
  text-transform: none;
}
.contact-privacy input {
  width: auto;
  margin-top: 2px;
}
.contact-trap {
  position: absolute;
  left: -9999px;
}
.contact-form .btn {
  border: 0;
  cursor: pointer;
  justify-self: start;
}
.contact-form .btn:disabled {
  opacity: 0.55;
  cursor: wait;
}
.contact-status {
  min-height: 20px;
  margin: 0;
  font-size: 13px;
  font-weight: 700;
}
@media (max-width: 900px) {
  .subhero.secretary-hero {
    min-height: 480px;
    aspect-ratio: auto;
    background-size: cover;
    background-position: center;
    background-color: #100516;
  }
  .subhero.secretary-hero::before {
    background-size: contain;
  }
  .subhero.secretary-hero h1 {
    font-size: clamp(58px, 18vw, 82px);
  }
  .secretary-info {
    padding: 55px 22px 65px;
    grid-template-columns: 1fr;
  }
  .secretary-details {
    grid-template-columns: 1fr;
  }
  .secretary-details article,
  .secretary-details article:nth-child(2n) {
    min-height: 0;
    border-right: 0;
    padding: 22px 0;
  }
  .secretary-details h3 {
    margin-top: 18px;
  }
  .secretary-contact-open {
    grid-column: 1;
  }
  .contact-dialog {
    padding: 32px 22px;
  }
  .contact-fields {
    grid-template-columns: 1fr;
  }
}

/* Promozioni società */
.subhero.promotions-hero {
  min-height: 540px;
  background-image:
    linear-gradient(90deg, rgba(15, 4, 18, 0.18), transparent 65%),
    url("hero-promozioni-verdi-v3.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #16061d;
}
.subhero.promotions-hero::after {
  background: linear-gradient(90deg, rgba(12, 3, 16, 0.2), transparent 72%);
}
.subhero.promotions-hero h1 {
  font-size: clamp(70px, 8vw, 115px);
}
.promotions-page {
  padding: 75px var(--pad) 90px;
  background: #eee9df;
}
.promotions-intro {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 7vw;
  align-items: end;
  margin-bottom: 50px;
}
.promotions-intro .kicker {
  color: var(--purple);
}
.promotions-intro h2 {
  margin: 15px 0 0;
  font-size: clamp(60px, 6.5vw, 98px);
}
.promotions-intro h2 span {
  color: var(--purple);
}
.promotions-intro > div:last-child {
  max-width: 650px;
  font-size: 17px;
  line-height: 1.6;
}
.promotions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid #c8c0b4;
}
.promotions-grid article {
  min-height: 385px;
  padding: 28px 24px;
  border-right: 1px solid #c8c0b4;
  background: #f6f3ec;
}
.promotions-grid article:last-child {
  border-right: 0;
}
.promotions-grid h3 {
  margin: 0;
  font-size: clamp(32px, 3vw, 47px);
}
.promo-cert {
  min-height: 34px;
  color: var(--purple);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}
.promotions-grid dl,
.club-promo dl {
  margin: 35px 0 0;
}
.promotions-grid dl > div,
.club-promo dl > div {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 15px;
  padding: 16px 0;
  border-top: 1px solid #cbc3b7;
}
.promotions-grid dt,
.club-promo dt {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}
.promotions-grid dd,
.club-promo dd {
  margin: 0;
  color: var(--purple);
  font: 900 30px/1 "Barlow Condensed";
  white-space: nowrap;
}
.club-promo {
  margin-top: 22px;
  padding: 32px;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 6vw;
  background: #111;
  color: #fff;
}
.club-promo .kicker {
  color: var(--yellow);
}
.club-promo h3 {
  font-size: clamp(38px, 4vw, 62px);
  margin: 12px 0 18px;
}
.club-promo p:last-child {
  max-width: 760px;
  color: #ccc;
  line-height: 1.55;
}
.club-promo dl {
  margin: 0;
}
.club-promo dl > div {
  border-color: #3a3a3a;
}
.club-promo dd {
  color: var(--yellow);
}
.promotions-contact-open {
  margin-top: 28px;
  border: 0;
  background: var(--yellow);
  color: #111;
  cursor: pointer;
}
@media (max-width: 900px) {
  .subhero.promotions-hero {
    min-height: 470px;
    background-size: contain;
  }
  .subhero.promotions-hero h1 {
    font-size: clamp(58px, 18vw, 82px);
  }
  .promotions-page {
    padding: 55px 22px 70px;
  }
  .promotions-intro,
  .club-promo {
    grid-template-columns: 1fr;
  }
  .promotions-grid {
    grid-template-columns: 1fr;
  }
  .promotions-grid article {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid #c8c0b4;
  }
  .promotions-grid article:last-child {
    border-bottom: 0;
  }
  .club-promo {
    padding: 28px 22px;
  }
}

/* Unified internal-page hero height. Homepage keeps its dedicated layout. */
body .subhero,
body .subhero.compact-subhero,
body .subhero.hotel-hero,
body .subhero.secretary-hero,
body .subhero.promotions-hero,
body .subhero.arrival-hero-image {
  width: 100%;
  height: 560px;
  min-height: 560px;
  max-height: 560px;
  overflow: hidden;
}
body .subhero.arrival-hero-image::before {
  inset: 152px 0 0;
  height: auto;
  aspect-ratio: auto;
  background-size: contain;
}
body .shuttle-intro {
  height: 560px;
  min-height: 560px;
  max-height: 560px;
  overflow: hidden;
}

.sponsors-cta button {
  border: 0;
  border-bottom: 2px solid var(--yellow);
  padding: 0 0 7px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

/* Extra closing space for the taller 10K non-competitive title block. */
.noncompetitive-hero > .distance-hero-copy {
  transform: translateY(-28px);
}
.noncompetitive-hero .distance-hero-copy h1 small {
  margin-top: 5px;
}
.noncompetitive-hero .hero-lead {
  margin-top: 8px;
  line-height: 1.35;
}
.noncompetitive-hero .actions {
  margin-top: 18px;
}
.noncompetitive-hero .distance-route.is-nc .route-badge {
  left: 40.5%;
  top: 18%;
  transform: translate(-50%, -50%) rotate(-7deg) scale(0.72);
  transform-origin: center;
}
@media (max-width: 900px) {
  .noncompetitive-hero > .distance-hero-copy {
    transform: translateY(-18px);
  }
}
@media (max-width: 520px) {
  .noncompetitive-hero .distance-route.is-nc .route-badge {
    left: 40.5%;
    top: 18%;
    transform: translate(-50%, -50%) rotate(-7deg) scale(0.66);
  }
}

/* First-visit cookie consent */
.cookie-banner {
  position: fixed;
  z-index: 10000;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 116px;
  padding: 22px var(--pad);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  background: #0d0d0f;
  color: #fff;
  border-top: 2px solid var(--yellow);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.3);
  transition:
    transform 0.22s ease,
    opacity 0.22s ease;
}
.cookie-banner.is-closing {
  transform: translateY(100%);
  opacity: 0;
}
.cookie-copy {
  max-width: 980px;
}
.cookie-copy strong {
  display: block;
  margin-bottom: 6px;
  font: 800 25px/1 "Barlow Condensed";
  text-transform: uppercase;
}
.cookie-copy p {
  margin: 0;
  color: #c8c8c8;
  font-size: 12px;
  line-height: 1.5;
}
.cookie-copy a {
  color: var(--yellow);
}
.cookie-actions {
  display: flex;
  gap: 10px;
}
.cookie-actions button {
  min-width: 145px;
  padding: 14px 18px;
  border: 1px solid var(--yellow);
  font: 800 11px/1 Inter;
  text-transform: uppercase;
  cursor: pointer;
}
.cookie-essential {
  background: transparent;
  color: #fff;
}
.cookie-accept {
  background: var(--yellow);
  color: #111;
}
@media (max-width: 720px) {
  .cookie-banner {
    min-height: 0;
    padding: 18px 20px;
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .cookie-copy strong {
    font-size: 23px;
  }
  .cookie-copy p {
    font-size: 11px;
  }
  .cookie-actions {
    width: 100%;
  }
  .cookie-actions button {
    flex: 1;
    min-width: 0;
    padding: 13px 10px;
  }
}
@media (max-width: 900px) {
  body .subhero,
  body .subhero.compact-subhero,
  body .subhero.hotel-hero,
  body .subhero.secretary-hero,
  body .subhero.promotions-hero,
  body .subhero.arrival-hero-image,
  body .shuttle-intro {
    height: 480px;
    min-height: 480px;
    max-height: 480px;
  }
  body .subhero.arrival-hero-image::before {
    inset: 136px 0 0;
  }
}

@media (max-width: 520px) {
  html,
  body {
    max-width: 100%;
    overflow-x: clip;
  }
  body .distance-route {
    max-width: calc(100vw - 24px);
    overflow: hidden;
  }
  body .distance-route svg {
    overflow: hidden;
  }
  body .distance-route .distance-landmark {
    width: 74px;
    height: 50px;
  }
  body .distance-route .distance-landmark.is-finish {
    width: 82px;
    height: 56px;
  }
  .race42-intro {
    width: 100%;
    min-width: 0;
    overflow: hidden;
  }
  .race42-intro > * {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
}

/* Final full-width supplied artwork treatment */
.subhero.secretary-hero {
  background: #100516;
}
.subhero.secretary-hero::before {
  background-size: 100% 100%;
}
.subhero.arrival-hero-image {
  background: #08070a;
}
body .subhero.arrival-hero-image::before {
  background-size: 100% 100%;
  background-position: center;
}
@media (max-width: 900px) {
  .subhero.secretary-hero::before {
    inset: 112px 0 0;
    background-size: 100% 100%;
    background-position: center;
  }
  body .subhero.arrival-hero-image::before {
    inset: 112px 0 0;
    background-size: 100% 100%;
    background-position: center;
  }
}

/* Segreteria final artwork: wide source, natural proportions, no stretching. */
body .subhero.secretary-hero {
  background-image:
    linear-gradient(90deg, rgba(15, 2, 24, 0.48) 0%, rgba(15, 2, 24, 0.12) 48%, rgba(0, 0, 0, 0.02) 72%),
    url("hero-segreteria-verdi-v2.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
body .subhero.secretary-hero::before {
  display: none;
}
@media (max-width: 900px) {
  body .subhero.secretary-hero {
    background-size: cover;
    background-position: 66% center;
  }
}

/* Device-level mobile fixes: keep these last so legacy rules cannot override them. */
@media (max-width: 900px) {
  body .hero {
    height: auto;
    min-height: 900px;
    padding: 150px 20px 132px;
  }
  body .hero-copy {
    width: 100%;
  }
  body .hero .edition {
    display: grid;
    left: 20px;
    right: 20px;
    bottom: 22px;
    width: auto;
    min-width: 0;
    min-height: 78px;
    padding: 10px 16px;
    transform: none;
  }
  body .hero .edition strong {
    font-size: 44px;
  }

  body .shuttle-intro {
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: visible;
    padding-top: 132px;
    padding-bottom: 44px;
  }
  body .shuttle-lead > p {
    margin-bottom: 20px;
  }

  body .distance-route,
  body .noncompetitive-hero .distance-route {
    left: 18px;
    right: 18px;
    max-width: calc(100vw - 36px);
  }
  body .distance-route .distance-landmark-busseto {
    left: calc(var(--lx) - 14px);
  }
  body .distance-route .distance-landmark.is-finish {
    width: 70px;
    height: 48px;
  }
  body .noncompetitive-hero .actions {
    position: relative;
    z-index: 5;
  }
  body .site-head {
    border-bottom: 0;
  }
  body .distance-hero {
    height: 560px;
    min-height: 560px;
    max-height: 560px;
    padding-top: 126px;
  }
  body .distance-route,
  body .noncompetitive-hero .distance-route {
    bottom: 14px;
  }
  body .subhero.arrival-hero-image {
    height: calc(112px + 33.28125vw);
    min-height: calc(112px + 33.28125vw);
    max-height: none;
    background: #08070a;
    overflow: hidden;
  }
  body .subhero.arrival-hero-image::before {
    inset: 112px 0 auto;
    width: 100%;
    height: 33.28125vw;
    aspect-ratio: 1280 / 426;
    background-size: 100% auto;
    background-position: center top;
    background-repeat: no-repeat;
  }
}
@media (max-width: 360px) {
  body .hero {
    min-height: 920px;
  }
  body .hero h1 {
    font-size: clamp(62px, 19vw, 72px);
  }
  body .distance-hero h1,
  body .noncompetitive-hero .distance-hero-copy h1 {
    font-size: 56px;
  }
  body .distance-hero-copy h1 small,
  body .noncompetitive-hero .distance-hero-copy h1 small {
    font-size: 22px;
  }
}
