/* =========================================================
   HERO MASTER 6ENOUGH
   Un solo telaio per tutte le pagine.
   Desktop: stessa posizione, larghezza e altezza della HOME.
   Mobile: stesso ingombro verticale per tutte le hero.
   ========================================================= */
:root {
  --site-hero-width: var(--content-max);
  --site-hero-height: clamp(480px, 48vw, 760px);
  --site-hero-height-mobile: 720px;
}

/* Telaio unico. */
.hero--manifesto .hero__frame,
.format-hero,
.hero--protagonisti .hero__frame,
.bw-hero,
.event-page--federica .event-hero,
.stars-hero,
.chef-hero,
.battiti-hero,
.contact-hero {
  box-sizing: border-box;
  width: min(100%, var(--site-hero-width));
  height: var(--site-hero-height);
  min-height: 0;
  max-height: none;
  margin: 0 auto;
  overflow: hidden;
}

.hero--manifesto .hero__frame,
.format-hero,
.hero--protagonisti .hero__frame,
.bw-hero,
.event-page--federica .event-hero,
.stars-hero,
.chef-hero,
.battiti-hero {
  background: #000;
}

/* Le pagine chiare mantengono comunque la fascia nera della hero, come HOME. */
.format-hero,
.bw-hero {
  box-shadow: 0 0 0 100vmax #000;
  clip-path: inset(0 -100vmax);
}

/* Tutti i contenuti interni seguono l'altezza del telaio. */
.hero--manifesto .hero__media,
.format-hero__inner,
.hero--protagonisti .hero__art,
.bw-hero__content,
.event-hero__inner,
.stars-hero__inner,
.chef-hero__inner,
.battiti-hero__inner,
.contact-hero__inner {
  min-height: 0;
  height: 100%;
}

/* HOME: il riferimento geometrico resta invariato. */
.hero--manifesto .hero__copy {
  min-height: 0;
}

/* IL FORMAT: elimina lo spazio nato dal vecchio header sovrapposto. */
.format-hero__copy {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(52px, 5vw, 78px);
  padding-bottom: clamp(52px, 5vw, 78px);
}

/* PROTAGONISTI: l'asset riempie il medesimo telaio senza deformazioni. */
.hero--protagonisti .hero__art {
  object-fit: cover;
  object-position: center;
}

/* BID & WEAR: contenuto verticale centrato nel telaio comune. */
.bw-hero__content {
  padding-top: clamp(52px, 5vw, 78px);
  padding-bottom: clamp(52px, 5vw, 78px);
}

/* FEDERICA: immagine leggibile, senza zoom artificiale. */
.event-hero__media img {
  transform: none;
  transform-origin: center;
  object-fit: cover;
  object-position: center;
}

/* Raccordo ai lati della hero Federica. */
.event-hero__media::before {
  width: 28px;
  background: linear-gradient(to right, #000 0%, rgba(0,0,0,.34) 42%, transparent 100%);
}

.event-hero__media::after {
  width: 28px;
  background: linear-gradient(to left, #000 0%, rgba(0,0,0,.34) 42%, transparent 100%);
}

/* Oscuramento esclusivamente nella zona testo. Nessuna sfumatura pesante
   sul bordo superiore, inferiore o destro della fotografia. */
.event-hero::before {
  background: linear-gradient(90deg,
    rgba(1,10,18,1) 0%,
    rgba(1,10,18,.98) 27%,
    rgba(1,10,18,.84) 40%,
    rgba(1,10,18,.36) 56%,
    rgba(1,10,18,.08) 72%,
    rgba(1,10,18,0) 100%);
}

.event-hero::after {
  box-shadow: none;
  background: none;
}

/* Contatti: stesso telaio, con il contenuto interno a piena altezza. */
.contact-hero__inner {
  min-height: 0;
}

@media (max-width: 900px) {
  .hero--manifesto .hero__frame,
  .format-hero,
  .hero--protagonisti .hero__frame,
  .bw-hero,
  .event-page--federica .event-hero,
  .contact-hero {
    height: var(--site-hero-height-mobile);
    min-height: 0;
  }

  /* HOME: testo sopra e immagine sotto, entro lo stesso telaio. */
  .hero--manifesto .hero__frame {
    display: flex;
    flex-direction: column;
  }

  .hero--manifesto .hero__copy {
    flex: 1 1 auto;
    padding-top: 42px;
    padding-bottom: 38px;
  }

  .hero--manifesto .hero__media {
    position: relative;
    inset: auto;
    flex: 0 0 270px;
    order: 2;
  }

  .hero--manifesto .hero__video {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
  }

  /* FORMAT: medesima ripartizione testo/immagine. */
  .format-hero__inner {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) 270px;
  }

  .format-hero__copy {
    min-height: 0;
    padding: 38px 28px 34px;
  }

  .format-hero__visual {
    min-height: 0;
    height: 270px;
  }

  .format-hero__copy .format-button {
    display: inline-flex;
  }

  .format-hero__mobile-action {
    display: none;
  }

  /* PROTAGONISTI: titolo sopra e mosaico sotto, senza miniaturizzare l'intera grafica. */
  .hero--protagonisti .hero__frame {
    position: relative;
  }

  .hero--protagonisti .hero__art {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: 58% center;
    background: #000;
  }

  .hero--protagonisti .hero__copy--protagonisti {
    position: absolute;
    z-index: 6;
    top: 0;
    left: 0;
    width: 100%;
    height: 300px;
    padding: 38px 24px 34px;
    justify-content: center;
    background: #050505;
  }

  .hero--protagonisti .hero__copy--protagonisti h1 {
    font-size: clamp(1.65rem, 8vw, 2.25rem);
    line-height: 1.28;
  }

  .hero--protagonisti .hero__copy--protagonisti h1 span {
    white-space: normal;
  }

  .hero--protagonisti .hero__bottom-fade {
    display: none;
  }

  /* BID & WEAR: immagine sopra, testo sotto, altezza totale invariata. */
  .bw-hero {
    display: flex;
    flex-direction: column;
  }

  .bw-hero__media {
    position: relative;
    inset: auto;
    left: auto;
    order: 1;
    width: 100%;
    height: 270px;
    flex: 0 0 270px;
    margin: 0;
    transform: none;
  }

  .bw-hero__media img {
    object-fit: cover;
    object-position: center;
  }

  .bw-hero__content {
    order: 2;
    height: auto;
    flex: 1 1 auto;
    min-height: 0;
    padding-top: 34px;
    padding-bottom: 38px;
    justify-content: center;
  }

  /* Federica: testo nella metà alta, immagine nella metà bassa. */
  .event-hero__media {
    top: 58%;
    bottom: 0;
  }

  .event-hero__inner {
    align-items: flex-start;
    padding-top: 34px;
    padding-bottom: 300px;
  }

  .event-hero__copy {
    width: 100%;
  }

  .event-hero::before {
    background: linear-gradient(180deg,
      #050709 0%,
      #050709 43%,
      rgba(5,7,9,.90) 50%,
      rgba(5,7,9,.16) 68%,
      rgba(5,7,9,.08) 100%);
  }

  .event-hero::after {
    display: none;
  }

  /* CONTATTI: testo sopra e fotografia sotto. */
  .contact-hero__inner {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) 270px;
    padding-left: 0;
    padding-right: 0;
  }

  .contact-hero__copy {
    min-height: 0;
    padding: 38px 24px 34px;
  }

  .contact-hero__visual {
    min-height: 0;
    height: 270px;
  }
}

@media (max-width: 900px) {
  /* FEDERICA RESPONSIVE: testo e immagine in flusso, entrambi a piena larghezza.
     L'immagine conserva il proprio rapporto: niente fasce laterali e niente crop. */
  .event-page--federica .event-hero {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0;
    overflow: hidden;
  }

  .event-page--federica .event-hero::before,
  .event-page--federica .event-hero::after {
    display: none;
  }

  .event-page--federica .event-hero__inner {
    position: relative;
    z-index: 1;
    order: 1;
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0;
    padding: 0;
  }

  .event-page--federica .event-hero__copy {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 28px 30px 27px;
  }

  .event-page--federica .event-hero__copy::before {
    border-radius: 0;
    background: linear-gradient(180deg, rgba(2, 10, 18, .28) 0%, rgba(2, 10, 18, .18) 100%);
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .event-page--federica .event-hero__media {
    position: relative;
    z-index: 0;
    inset: auto;
    order: 2;
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0;
    transform: none;
    background: #000;
  }

  .event-page--federica .event-hero__media picture {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
  }

  .event-page--federica .event-hero__media picture::after {
    content: "";
    position: absolute;
    z-index: 3;
    inset: 0;
    pointer-events: none;
    box-shadow: inset 0 -16px 16px -16px rgba(0, 0, 0, .42);
  }

  .event-page--federica .event-hero__media img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    transform: none;
  }

  .event-page--federica .event-hero__media::before,
  .event-page--federica .event-hero__media::after {
    display: block;
    width: 14px;
  }

  .event-page--federica .event-hero__media::before {
    background: linear-gradient(to right, rgba(0, 0, 0, .42) 0%, rgba(0, 0, 0, .12) 55%, transparent 100%);
  }

  .event-page--federica .event-hero__media::after {
    background: linear-gradient(to left, rgba(0, 0, 0, .42) 0%, rgba(0, 0, 0, .12) 55%, transparent 100%);
  }
}

@media (max-width: 600px) {
  .event-page--federica .event-hero__copy {
    padding: 22px 20px 21px;
  }

  .event-page--federica .event-hero__media::before,
  .event-page--federica .event-hero__media::after {
    width: 10px;
  }

  .event-page--federica .event-hero__media picture::after {
    box-shadow: inset 0 -12px 12px -12px rgba(0, 0, 0, .38);
  }
}


/* =========================================================
   STARS4CHILDREN — HERO RESPONSIVE
   Desktop: testo nell'area libera in basso a sinistra con velina tenue.
   Tablet/smartphone: testo e immagine in flusso, entrambi a piena larghezza.
   ========================================================= */
.stars-hero {
  position: relative;
  isolation: isolate;
}

.stars-hero__media {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
}

.stars-hero__media picture {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.stars-hero__media picture::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 -18px 18px -18px rgba(0, 0, 0, .42);
}

.stars-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: none;
}

.stars-hero__media::before,
.stars-hero__media::after {
  content: "";
  position: absolute;
  z-index: 4;
  top: 0;
  bottom: 0;
  width: 22px;
  pointer-events: none;
}

.stars-hero__media::before {
  left: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, .38) 0%, rgba(0, 0, 0, .10) 58%, transparent 100%);
}

.stars-hero__media::after {
  right: 0;
  background: linear-gradient(to left, rgba(0, 0, 0, .38) 0%, rgba(0, 0, 0, .10) 58%, transparent 100%);
}

.stars-hero::before,
.stars-hero::after {
  display: none;
}

.stars-hero__inner {
  position: relative;
  z-index: 5;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

.stars-hero__copy {
  position: absolute;
  left: clamp(30px, 3.3vw, 55px);
  top: 42.2%;
  width: min(615px, 37%);
  box-sizing: border-box;
  padding: 18px 20px 17px 18px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .58);
}

.stars-hero__copy::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(4, 7, 8, .28) 0%, rgba(4, 7, 8, .18) 100%);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .12);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.stars-hero__copy > * {
  position: relative;
  z-index: 1;
}

.stars-hero h1 {
  display: flex;
  align-items: baseline;
  margin: 0;
  color: #fff;
  font-size: clamp(2.25rem, 3vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: .92;
  text-transform: uppercase;
  white-space: nowrap;
}

.stars-hero h1 strong {
  color: #e30613;
  font: inherit;
}

.stars-hero__subtitle {
  margin: 10px 0 0;
  color: #fff;
  font-size: clamp(1rem, 1.32vw, 1.42rem);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.08;
  text-transform: uppercase;
}

.stars-hero__rule {
  display: block;
  width: 82px;
  height: 4px;
  margin: 15px 0 0;
  background: #e30613;
}

.stars-hero__description {
  max-width: 560px;
  margin-top: 17px;
  color: rgba(255, 255, 255, .96);
  font-size: clamp(.82rem, .88vw, .96rem);
  font-weight: 500;
  line-height: 1.42;
}

.stars-hero__description p {
  margin: 0;
}

.stars-hero__partners {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(20px, 2vw, 32px);
  margin-top: 17px;
}

.stars-hero__save-logo,
.stars-hero__michelin-logo {
  display: block;
  height: auto;
  flex: 0 0 auto;
  margin: 0;
}

.stars-hero__save-logo {
  width: clamp(155px, 13vw, 205px);
}

.stars-hero__michelin-logo {
  width: clamp(145px, 12vw, 190px);
}

@media (max-width: 900px) {
  .stars-hero {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0;
    overflow: hidden;
  }

  .stars-hero__inner {
    position: relative;
    z-index: 2;
    order: 1;
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0;
    padding: 0;
  }

  .stars-hero__copy {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 28px 30px 27px;
  }

  .stars-hero__copy::before {
    border-radius: 0;
    background: linear-gradient(180deg, rgba(4, 7, 8, .28) 0%, rgba(4, 7, 8, .18) 100%);
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .stars-hero__media {
    position: relative;
    z-index: 1;
    inset: auto;
    order: 2;
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0;
    transform: none;
    background: #000;
  }

  .stars-hero__media picture {
    width: 100%;
    height: auto;
  }

  .stars-hero__media img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
  }

  .stars-hero__media::before,
  .stars-hero__media::after {
    width: 14px;
  }

  .stars-hero__media picture::after {
    box-shadow: inset 0 -16px 16px -16px rgba(0, 0, 0, .42);
  }

  .stars-hero h1 {
    font-size: clamp(2.2rem, 6.8vw, 3.2rem);
  }

  .stars-hero__subtitle {
    font-size: clamp(1rem, 3.1vw, 1.4rem);
  }

  .stars-hero__description {
    max-width: 720px;
    font-size: clamp(.84rem, 1.75vw, .98rem);
  }

  .stars-hero__partners {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .stars-hero__copy {
    padding: 22px 20px 21px;
  }

  .stars-hero__media::before,
  .stars-hero__media::after {
    width: 10px;
  }

  .stars-hero__media picture::after {
    box-shadow: inset 0 -12px 12px -12px rgba(0, 0, 0, .38);
  }

  .stars-hero h1 {
    font-size: clamp(1.85rem, 8.2vw, 2.35rem);
  }

  .stars-hero__subtitle {
    margin-top: 9px;
    font-size: clamp(.88rem, 4vw, 1.08rem);
  }

  .stars-hero__rule {
    width: 70px;
    height: 3px;
    margin-top: 14px;
  }

  .stars-hero__description {
    margin-top: 16px;
    font-size: .79rem;
    line-height: 1.42;
  }

  .stars-hero__partners {
    gap: 15px;
    margin-top: 16px;
  }

  .stars-hero__save-logo {
    width: min(145px, 44vw);
  }

  .stars-hero__michelin-logo {
    width: min(135px, 36vw);
  }
}


/* =========================================================
   CHEF SENZA CONFINI — HERO RESPONSIVE
   Desktop: testo nell'area libera a sinistra, velina tenue e loghi su una riga.
   Tablet/smartphone: testo e immagine in flusso, entrambi a piena larghezza.
   ========================================================= */
.chef-hero {
  position: relative;
  isolation: isolate;
  background: #000;
}

.chef-hero__media {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
}

.chef-hero__media picture {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.chef-hero__media picture::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 -18px 18px -18px rgba(0, 0, 0, .42);
}

.chef-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: none;
}

.chef-hero__media::before,
.chef-hero__media::after {
  content: "";
  position: absolute;
  z-index: 4;
  top: 0;
  bottom: 0;
  width: 22px;
  pointer-events: none;
}

.chef-hero__media::before {
  left: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, .38) 0%, rgba(0, 0, 0, .10) 58%, transparent 100%);
}

.chef-hero__media::after {
  right: 0;
  background: linear-gradient(to left, rgba(0, 0, 0, .38) 0%, rgba(0, 0, 0, .10) 58%, transparent 100%);
}

.chef-hero__inner {
  position: relative;
  z-index: 5;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

.chef-hero__copy {
  position: absolute;
  left: clamp(30px, 3.25vw, 54px);
  top: 24.2%;
  width: min(590px, 36%);
  box-sizing: border-box;
  padding: 18px 20px 17px 18px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .58);
}

.chef-hero__copy::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(4, 7, 8, .31) 0%, rgba(4, 7, 8, .20) 100%);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .12);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.chef-hero__copy > * {
  position: relative;
  z-index: 1;
}

.chef-hero h1 {
  display: flex;
  flex-direction: column;
  margin: 0;
  color: #fff;
  font-size: clamp(2.55rem, 3.35vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: .92;
  text-transform: uppercase;
}

.chef-hero__subtitle {
  margin: 11px 0 0;
  color: #fff;
  font-size: clamp(.95rem, 1.2vw, 1.3rem);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.08;
  text-transform: uppercase;
}

.chef-hero__rule {
  display: block;
  width: 82px;
  height: 4px;
  margin: 15px 0 0;
  background: #e30613;
}

.chef-hero__description {
  max-width: 540px;
  margin: 17px 0 0;
  color: rgba(255, 255, 255, .97);
  font-size: clamp(.82rem, .88vw, .96rem);
  font-weight: 500;
  line-height: 1.42;
}

.chef-hero__partners {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(16px, 1.55vw, 25px);
  width: fit-content;
  max-width: 100%;
  margin-top: 17px;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.chef-hero__msf-logo,
.chef-hero__gambero-logo {
  display: block;
  flex: 0 1 auto;
  width: auto;
  height: auto;
  margin: 0;
  object-fit: contain;
}

.chef-hero__msf-logo {
  max-width: clamp(160px, 13.2vw, 205px);
}

.chef-hero__gambero-logo {
  max-width: clamp(145px, 12vw, 185px);
}

@media (max-width: 900px) {
  .chef-hero {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0;
    overflow: hidden;
  }

  .chef-hero__inner {
    position: relative;
    z-index: 2;
    order: 1;
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0;
    padding: 0;
  }

  .chef-hero__copy {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 28px 30px 27px;
  }

  .chef-hero__copy::before {
    border-radius: 0;
    background: linear-gradient(180deg, rgba(4, 7, 8, .31) 0%, rgba(4, 7, 8, .20) 100%);
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .chef-hero__media {
    position: relative;
    z-index: 1;
    inset: auto;
    order: 2;
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0;
    transform: none;
    background: #000;
  }

  .chef-hero__media picture {
    width: 100%;
    height: auto;
  }

  .chef-hero__media img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
  }

  .chef-hero__media::before,
  .chef-hero__media::after {
    width: 14px;
  }

  .chef-hero__media picture::after {
    box-shadow: inset 0 -16px 16px -16px rgba(0, 0, 0, .42);
  }

  .chef-hero h1 {
    font-size: clamp(2.2rem, 6.8vw, 3.2rem);
  }

  .chef-hero__subtitle {
    font-size: clamp(1rem, 3.1vw, 1.4rem);
  }

  .chef-hero__description {
    max-width: 720px;
    font-size: clamp(.84rem, 1.75vw, .98rem);
  }

  .chef-hero__partners {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .chef-hero__copy {
    padding: 22px 20px 21px;
  }

  .chef-hero__media::before,
  .chef-hero__media::after {
    width: 10px;
  }

  .chef-hero__media picture::after {
    box-shadow: inset 0 -12px 12px -12px rgba(0, 0, 0, .38);
  }

  .chef-hero h1 {
    font-size: clamp(1.85rem, 8.2vw, 2.35rem);
  }

  .chef-hero__subtitle {
    margin-top: 9px;
    font-size: clamp(.88rem, 4vw, 1.08rem);
  }

  .chef-hero__rule {
    width: 70px;
    height: 3px;
    margin-top: 14px;
  }

  .chef-hero__description {
    margin-top: 16px;
    font-size: .79rem;
    line-height: 1.42;
  }

  .chef-hero__partners {
    gap: 10px;
    margin-top: 16px;
    padding: 0;
  }

  .chef-hero__msf-logo {
    max-width: min(150px, 44vw);
  }

  .chef-hero__gambero-logo {
    max-width: min(126px, 36vw);
  }
}


/* =========================================================
   BATTITI AZZURRI — HERO RESPONSIVE
   Desktop: testo in basso a sinistra, senza invadere il cuore centrale.
   Tablet/smartphone: testo e immagine in flusso, a piena larghezza.
   Loghi con gli elementi cromatici originali e bordi esterni sfumati.
   ========================================================= */
.battiti-hero {
  position: relative;
  isolation: isolate;
  background: #000;
}

.battiti-hero__media {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
}

.battiti-hero__media picture {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.battiti-hero__media picture::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
  box-shadow:
    inset 0 -18px 18px -18px rgba(0, 0, 0, .42),
    inset 0 14px 14px -16px rgba(0, 0, 0, .18);
}

.battiti-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: none;
}

.battiti-hero__media::before,
.battiti-hero__media::after {
  content: "";
  position: absolute;
  z-index: 4;
  top: 0;
  bottom: 0;
  width: 22px;
  pointer-events: none;
}

.battiti-hero__media::before {
  left: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, .38) 0%, rgba(0, 0, 0, .10) 58%, transparent 100%);
}

.battiti-hero__media::after {
  right: 0;
  background: linear-gradient(to left, rgba(0, 0, 0, .38) 0%, rgba(0, 0, 0, .10) 58%, transparent 100%);
}

.battiti-hero__inner {
  position: relative;
  z-index: 5;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

.battiti-hero__copy {
  position: absolute;
  left: clamp(28px, 3.25vw, 54px);
  top: 30.5%;
  width: min(580px, 36%);
  box-sizing: border-box;
  padding: 18px 20px 17px 18px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .58);
}

.battiti-hero__copy::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(3, 12, 30, .34) 0%, rgba(3, 12, 30, .22) 100%);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .12);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.battiti-hero__copy > * {
  position: relative;
  z-index: 1;
}

.battiti-hero h1 {
  display: flex;
  flex-direction: column;
  margin: 0;
  color: #fff;
  font-size: clamp(2.45rem, 3.15vw, 3.55rem);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: .92;
  text-transform: uppercase;
}

.battiti-hero__subtitle {
  margin: 10px 0 0;
  color: #fff;
  font-size: clamp(.92rem, 1.12vw, 1.22rem);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.08;
  text-transform: uppercase;
}

.battiti-hero__rule {
  display: block;
  width: 82px;
  height: 4px;
  margin: 14px 0 0;
  background: #e30613;
}

.battiti-hero__description {
  max-width: 525px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, .97);
  font-size: clamp(.80rem, .84vw, .92rem);
  font-weight: 500;
  line-height: 1.40;
}

.battiti-hero__partners {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(17px, 1.55vw, 25px);
  width: fit-content;
  max-width: 100%;
  margin-top: 15px;
  padding: 0;
  background: transparent;
}

.battiti-hero__santegidio-logo,
.battiti-hero__coni-logo {
  display: block;
  flex: 0 1 auto;
  width: auto;
  height: auto;
  margin: 0;
  object-fit: contain;
}

.battiti-hero__santegidio-logo {
  max-width: clamp(135px, 11.2vw, 175px);
}

.battiti-hero__coni-logo {
  max-width: clamp(92px, 7.8vw, 122px);
}

@media (max-width: 900px) {
  .battiti-hero {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0;
    overflow: hidden;
  }

  .battiti-hero__inner {
    position: relative;
    z-index: 2;
    order: 1;
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0;
    padding: 0;
  }

  .battiti-hero__copy {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 28px 30px 27px;
  }

  .battiti-hero__copy::before {
    border-radius: 0;
    background: linear-gradient(180deg, rgba(3, 12, 30, .34) 0%, rgba(3, 12, 30, .22) 100%);
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .battiti-hero__media {
    position: relative;
    z-index: 1;
    inset: auto;
    order: 2;
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0;
    transform: none;
    background: #000;
  }

  .battiti-hero__media picture {
    width: 100%;
    height: auto;
  }

  .battiti-hero__media img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
  }

  .battiti-hero__media::before,
  .battiti-hero__media::after {
    width: 14px;
  }

  .battiti-hero__media picture::after {
    box-shadow:
      inset 0 -16px 16px -16px rgba(0, 0, 0, .42),
      inset 0 12px 12px -14px rgba(0, 0, 0, .16);
  }

  .battiti-hero h1 {
    font-size: clamp(2.2rem, 6.8vw, 3.2rem);
  }

  .battiti-hero__subtitle {
    font-size: clamp(1rem, 3.1vw, 1.4rem);
  }

  .battiti-hero__description {
    max-width: 720px;
    font-size: clamp(.84rem, 1.75vw, .98rem);
  }
}

@media (max-width: 600px) {
  .battiti-hero__copy {
    padding: 22px 20px 21px;
  }

  .battiti-hero__media::before,
  .battiti-hero__media::after {
    width: 10px;
  }

  .battiti-hero__media picture::after {
    box-shadow:
      inset 0 -12px 12px -12px rgba(0, 0, 0, .38),
      inset 0 10px 10px -12px rgba(0, 0, 0, .14);
  }

  .battiti-hero h1 {
    font-size: clamp(1.85rem, 8.2vw, 2.35rem);
  }

  .battiti-hero__subtitle {
    margin-top: 9px;
    font-size: clamp(.88rem, 4vw, 1.08rem);
  }

  .battiti-hero__rule {
    width: 70px;
    height: 3px;
    margin-top: 14px;
  }

  .battiti-hero__description {
    margin-top: 16px;
    font-size: .79rem;
    line-height: 1.42;
  }

  .battiti-hero__partners {
    gap: 12px;
    margin-top: 16px;
  }

  .battiti-hero__santegidio-logo {
    max-width: min(145px, 43vw);
  }

  .battiti-hero__coni-logo {
    max-width: min(100px, 29vw);
  }
}


/* =========================================================
   WINE. FEED YOUR SOUL.
   ========================================================= */
.wine-hero {
  position: relative;
  box-sizing: border-box;
  width: min(100%, var(--site-hero-width));
  height: var(--site-hero-height);
  margin: 0 auto;
  overflow: hidden;
  background: #000;
}

.wine-hero__media,
.wine-hero__inner {
  min-height: 0;
  height: 100%;
}

.wine-hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #000;
}

.wine-hero__media picture {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.wine-hero__media picture::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 18%;
  pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,.38) 0%, rgba(0,0,0,.12) 48%, rgba(0,0,0,0) 100%);
}

.wine-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
}

.wine-hero__media::before,
.wine-hero__media::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 28px;
  z-index: 1;
  pointer-events: none;
}

.wine-hero__media::before {
  left: 0;
  background: linear-gradient(to right, rgba(0,0,0,.58) 0%, rgba(0,0,0,.22) 44%, rgba(0,0,0,0) 100%);
}

.wine-hero__media::after {
  right: 0;
  background: linear-gradient(to left, rgba(0,0,0,.58) 0%, rgba(0,0,0,.22) 44%, rgba(0,0,0,0) 100%);
}

.wine-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding: clamp(92px, 7.4vw, 122px) clamp(116px, 8.4vw, 158px) clamp(74px, 6vw, 90px);
}

.wine-hero__copy {
  position: relative;
  width: min(660px, 44%);
  box-sizing: border-box;
  padding: 18px 22px 26px 22px;
  color: #fff;
}

.wine-hero__copy::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(6, 12, 20, .34) 0%, rgba(6, 12, 20, .22) 100%);
  box-shadow: 0 10px 26px rgba(0,0,0,.12);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.wine-hero__copy > * {
  position: relative;
  z-index: 1;
}

.wine-hero h1 {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .02em;
  color: #fff;
  font-size: clamp(39px, 3.35vw, 56px);
  line-height: .96;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

.wine-hero h1 span:last-child {
  white-space: nowrap;
}

.wine-hero__subtitle {
  margin: 10px 0 0;
  color: #fff;
  font-size: clamp(18px, 1.18vw, 22px);
  font-weight: 500;
  line-height: 1.18;
  text-transform: uppercase;
}

.wine-hero__rule {
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 10px;
  background: #d20f1c;
}

.wine-hero__description {
  margin: 12px 0 0;
  max-width: 54ch;
  color: rgba(255,255,255,.96);
  font-size: 18px;
  line-height: 1.38;
}

.wine-hero__description-line {
  display: block;
  white-space: nowrap;
}

.wine-hero__partners {
  margin-top: 39px;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 20px;
}

.wine-hero__msf-logo,
.wine-hero__gambero-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
}

.wine-hero__msf-logo {
  max-height: 42px;
}

.wine-hero__gambero-logo {
  max-height: 38px;
}

@media (max-width: 1100px) {
  .wine-hero {
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .wine-hero__inner {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    height: auto;
    padding: 0;
  }

  .wine-hero__copy {
    width: 100%;
    padding: 28px 34px 24px;
  }

  .wine-hero__copy::before {
    border-radius: 0;
  }

  .wine-hero__media {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    aspect-ratio: auto;
  }

  .wine-hero__media picture {
    height: auto;
  }

  .wine-hero__media img {
    width: 100%;
    height: auto;
  }

  .wine-hero__media::before,
  .wine-hero__media::after {
    width: 22px;
  }

  .wine-hero__media picture::after {
    height: 14%;
  }

  .wine-hero h1 {
    font-size: clamp(36px, 6vw, 50px);
  }

  .wine-hero__subtitle {
    font-size: clamp(17px, 2.3vw, 20px);
  }

  .wine-hero__description {
    max-width: none;
    font-size: 18px;
  }

  .wine-hero__description-line {
    display: inline;
    white-space: normal;
  }

  .wine-hero__description-line + .wine-hero__description-line::before {
    content: " ";
  }

  .wine-hero__partners {
    margin-top: 14px;
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .wine-hero__copy {
    padding: 24px 18px 20px;
  }

  .wine-hero h1 {
    font-size: 32px;
  }

  .wine-hero__subtitle {
    margin-top: 10px;
    font-size: 16px;
  }

  .wine-hero__rule {
    margin-top: 12px;
  }

  .wine-hero__description {
    font-size: 16px;
    line-height: 1.44;
  }

  .wine-hero__partners {
    margin-top: 16px;
    gap: 16px;
  }

  .wine-hero__msf-logo {
    max-height: 26px;
  }

  .wine-hero__gambero-logo {
    max-height: 28px;
  }

  .wine-hero__media::before,
  .wine-hero__media::after {
    width: 18px;
  }

  .wine-hero__media picture::after {
    height: 12%;
  }
}

/* =========================================================
   V96 — ORDINE SMARTPHONE: IMMAGINE PRIMA, TESTO DOPO
   Base: v95. Tablet e desktop restano invariati, salvo STARS desktop.
   ========================================================= */

/* STARS4CHILDREN desktop: il blocco completo sale senza cambiare geometria interna. */
.stars-hero__copy {
  top: 39%;
}

@media (max-width: 600px) {
  /* HOME: visual prima, testo dopo; nessun gap esterno tra i blocchi. */
  .hero--manifesto .hero__frame {
    gap: 0;
  }

  .hero--manifesto .hero__media {
    order: 1;
    margin: 0;
  }

  .hero--manifesto .hero__copy {
    order: 2;
    margin: 0;
    padding-top: 22px;
    padding-bottom: 24px;
  }

  /* CONTATTI: fotografia prima, testo dopo. */
  .contact-hero__inner {
    grid-template-rows: 270px minmax(0, 1fr);
    gap: 0;
  }

  .contact-hero__visual {
    grid-row: 1;
    margin: 0;
    min-height: 0;
    height: 270px;
  }

  .contact-hero__copy {
    grid-row: 2;
    margin: 0;
    padding: 22px 20px 24px;
  }

  /* Il raccordo della fotografia Contatti segue ora il bordo inferiore. */
  .contact-hero__visual::before {
    top: auto;
    bottom: 0;
    height: 34px;
    background: linear-gradient(
      to top,
      #f7f5f2 0%,
      rgba(247,245,242,.58) 38%,
      rgba(247,245,242,.16) 72%,
      transparent 100%
    );
  }

  /* FEDERICA: immagine prima, testo dopo. */
  .event-page--federica .event-hero__media {
    order: 1;
    margin: 0;
  }

  .event-page--federica .event-hero__inner {
    order: 2;
    margin: 0;
  }

  .event-page--federica .event-hero__copy {
    padding-top: 22px;
  }

  /* STARS4CHILDREN: immagine prima, testo e loghi dopo. */
  .stars-hero__media {
    order: 1;
    margin: 0;
  }

  .stars-hero__inner {
    order: 2;
    margin: 0;
  }

  .stars-hero__copy {
    top: auto;
    padding-top: 22px;
  }

  /* CHEF SENZA CONFINI: immagine prima, testo e loghi dopo. */
  .chef-hero__media {
    order: 1;
    margin: 0;
  }

  .chef-hero__inner {
    order: 2;
    margin: 0;
  }

  .chef-hero__copy {
    padding-top: 22px;
  }

  /* BATTITI AZZURRI: immagine prima, testo e loghi dopo. */
  .battiti-hero__media {
    order: 1;
    margin: 0;
  }

  .battiti-hero__inner {
    order: 2;
    margin: 0;
  }

  .battiti-hero__copy {
    padding-top: 22px;
  }

  /* WINE: esplicita la stessa sequenza già presente nel DOM. */
  .wine-hero {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .wine-hero__media {
    order: 1;
    margin: 0;
  }

  .wine-hero__inner {
    order: 2;
    margin: 0;
  }

  .wine-hero__copy {
    padding-top: 22px;
  }
}

@media (max-width: 600px) {
  .contact-hero__copy {
    justify-content: flex-start;
  }
}


/* =========================================================
   V97 — TABLET: immagine prima, testo dopo su tutte le pagine
   ad eccezione di WINE, già corretta.
   Breakpoint tablet: 601px–900px.
   ========================================================= */
@media (min-width: 601px) and (max-width: 900px) {
  /* HOME */
  .hero--manifesto .hero__frame {
    gap: 0;
  }

  .hero--manifesto .hero__media {
    order: 1;
    margin: 0;
  }

  .hero--manifesto .hero__copy {
    order: 2;
    margin: 0;
  }

  /* CONTATTI */
  .contact-hero__inner {
    grid-template-rows: 270px minmax(0, 1fr);
    gap: 0;
  }

  .contact-hero__visual {
    grid-row: 1;
    margin: 0;
    min-height: 0;
    height: 270px;
  }

  .contact-hero__copy {
    grid-row: 2;
    margin: 0;
  }

  .contact-hero__visual::before {
    top: auto;
    bottom: 0;
    height: 34px;
    background: linear-gradient(
      to top,
      #f7f5f2 0%,
      rgba(247,245,242,.58) 38%,
      rgba(247,245,242,.16) 72%,
      transparent 100%
    );
  }

  /* FEDERICA */
  .event-page--federica .event-hero__media {
    order: 1;
    margin: 0;
  }

  .event-page--federica .event-hero__inner {
    order: 2;
    margin: 0;
  }

  /* STARS4CHILDREN */
  .stars-hero__media {
    order: 1;
    margin: 0;
  }

  .stars-hero__inner {
    order: 2;
    margin: 0;
  }

  /* CHEF SENZA CONFINI */
  .chef-hero__media {
    order: 1;
    margin: 0;
  }

  .chef-hero__inner {
    order: 2;
    margin: 0;
  }

  /* BATTITI AZZURRI */
  .battiti-hero__media {
    order: 1;
    margin: 0;
  }

  .battiti-hero__inner {
    order: 2;
    margin: 0;
  }
}

/* =========================================================
   V98 — CORREZIONI TABLET
   Breakpoint esclusivo: 601px–900px.
   HOME/CONTATTI: visual completo e blocchi compatti.
   FEDERICA/CHEF/BATTITI: titoli su una riga.
   ========================================================= */
@media (min-width: 601px) and (max-width: 900px) {
  /* HOME — visual integrale, nessun telaio fisso che crea fascia nera. */
  .hero--manifesto .hero__frame {
    height: auto;
    min-height: 0;
    gap: 0;
  }

  .hero--manifesto .hero__media {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    overflow: hidden;
  }

  .hero--manifesto .hero__video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1424 / 784;
    object-fit: contain;
    object-position: center;
  }

  .hero--manifesto .hero__copy {
    flex: 0 0 auto;
    width: 100%;
    padding: 42px 32px 38px;
  }

  /* CONTATTI — fotografia completa e minore distanza dal modulo. */
  .contact-hero {
    height: auto;
    min-height: 0;
  }

  .contact-hero__inner {
    height: auto;
    grid-template-rows: auto auto;
    gap: 0;
  }

  .contact-hero__visual {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 1215 / 840;
    overflow: hidden;
  }

  .contact-hero__visual img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1215 / 840;
    object-fit: contain;
    object-position: center;
  }

  .contact-hero__copy {
    min-height: 0;
    padding: 42px 30px 38px;
    justify-content: flex-start;
  }

  .contact-main {
    padding-top: 28px;
  }

  /* FEDERICA — titolo unico, sottotitolo allineato a STARS e blocco compatto. */
  .event-page--federica .event-hero h1 {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: .20em;
    white-space: nowrap;
    font-size: clamp(2.65rem, 5.9vw, 3.2rem);
    line-height: .94;
  }

  .event-page--federica .event-hero h1 span {
    display: inline;
    white-space: nowrap;
  }

  .event-page--federica .event-hero__copy {
    padding: 25px 30px 23px;
  }

  .event-page--federica .event-hero__location {
    margin-top: 10px;
    font-size: clamp(1rem, 3.1vw, 1.4rem);
    font-weight: 600;
    line-height: 1.08;
  }

  .event-page--federica .event-hero__rule {
    margin: 13px 0 12px;
  }

  /* CHEF SENZA CONFINI — una sola riga, senza alterare gli altri elementi. */
  .chef-hero h1 {
    flex-direction: row;
    align-items: baseline;
    gap: .20em;
    white-space: nowrap;
    font-size: clamp(2.35rem, 5.7vw, 3.05rem);
    line-height: .94;
  }

  .chef-hero h1 span {
    display: inline;
    white-space: nowrap;
  }

  /* BATTITI AZZURRI — una sola riga, senza alterare gli altri elementi. */
  .battiti-hero h1 {
    flex-direction: row;
    align-items: baseline;
    gap: .20em;
    white-space: nowrap;
    font-size: clamp(2.45rem, 5.9vw, 3.15rem);
    line-height: .94;
  }

  .battiti-hero h1 span {
    display: inline;
    white-space: nowrap;
  }
}


/* =========================================================
   V99 — BID & WEAR TABLET
   Correzione isolata 721px–900px: hero compatta, immagine integra,
   nessuna sfumatura sulla fotografia.
   ========================================================= */
@media (min-width: 721px) and (max-width: 900px) {
  .bw-hero {
    display: flex;
    flex-direction: column;
    width: min(100%, var(--site-hero-width));
    height: auto;
    min-height: 0;
    overflow: hidden;
    background: #000;
  }

  .bw-hero__media {
    position: relative;
    inset: auto;
    left: auto;
    order: 1;
    width: 100%;
    height: auto;
    flex: 0 0 auto;
    aspect-ratio: 16 / 9;
    margin: 0;
    transform: none;
    background: #000;
  }

  .bw-hero__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }

  .bw-hero__media::before,
  .bw-hero__media::after,
  .bw-hero__overlay {
    display: none;
  }

  .bw-hero__content {
    order: 2;
    width: min(calc(100% - 48px), 1320px);
    height: auto;
    min-height: 0;
    flex: 0 0 auto;
    margin-inline: auto;
    padding: 34px 0 38px;
    justify-content: flex-start;
    background: #000;
  }
}

/* =========================================================
   V100 — HOME SMARTPHONE
   Titolo su due righe e riduzione della fascia nera sotto il testo.
   ========================================================= */
@media (max-width: 600px) {
  html,
  body {
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  html::-webkit-scrollbar,
  body::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
  }

  .hero--manifesto .hero__frame {
    height: auto;
    min-height: 0;
    max-height: none;
    gap: 0;
  }

  .hero--manifesto .hero__media {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    overflow: hidden;
  }

  .hero--manifesto .hero__video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1424 / 784;
    object-fit: cover;
    object-position: center;
  }

  .hero--manifesto .hero__copy {
    flex: 0 0 auto;
    width: 100%;
    padding: 18px 20px 8px;
  }

  .hero--manifesto .hero__copy h1 {
    font-size: clamp(24px, 7.5vw, 34px);
    line-height: .96;
    letter-spacing: -.035em;
    margin-bottom: 0;
  }

  .hero--manifesto .hero__copy h1::after {
    margin-top: 8px;
  }

  .hero--manifesto .hero__copy p {
    margin-top: 12px;
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.45;
  }
}

/* =========================================================
   V102 FINAL — IL FORMAT
   Correzioni isolate desktop e tablet, dopo il master generale.
   ========================================================= */

/* Elementi rimossi dalla hero in ogni breakpoint. */
.format-page .format-kicker,
.format-page .format-hero__copy .format-button,
.format-page .format-hero__mobile-action {
  display: none !important;
}

/* Nessun velo o raccordo che alteri il visual. */
.format-page .format-hero__visual::before,
.format-page .format-hero__visual::after {
  display: none !important;
  content: none !important;
  background: none !important;
}

/* Desktop: telaio e posizione restano quelli del master; immagine integrale. */
@media (min-width: 901px) {
  .format-page .format-hero {
    width: min(100%, var(--site-hero-width));
    height: var(--site-hero-height);
    margin: 0 auto;
  }

  .format-page .format-hero__inner {
    display: grid;
    grid-template-columns: 38% 62%;
    width: 100%;
    height: 100%;
    min-height: 0;
  }

  .format-page .format-hero__copy {
    height: 100%;
    min-height: 0;
    padding: clamp(52px, 5vw, 78px) clamp(38px, 4.2vw, 64px);
    justify-content: center;
  }

  .format-page .format-hero__visual {
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
  }

  .format-page .format-hero__visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }
}

/* Tablet: visual grande sopra, testo compatto sotto, nessuna fascia nera inutile. */
@media (min-width: 601px) and (max-width: 900px) {
  .format-page .format-hero {
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    margin: 0 auto;
    overflow: hidden;
  }

  .format-page .format-hero__inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    min-height: 0;
  }

  .format-page .format-hero__visual {
    order: 1;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 1672 / 941;
    margin: 0;
    overflow: hidden;
    background: #000;
  }

  .format-page .format-hero__visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }

  .format-page .format-hero__copy {
    order: 2;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 30px 42px 26px;
    justify-content: flex-start;
    background: #000;
  }

  .format-page .format-hero h1 {
    margin: 0;
    font-size: clamp(2.35rem, 6vw, 3.15rem);
    line-height: .98;
    letter-spacing: -.04em;
  }

  .format-page .format-rule {
    margin: 17px 0 18px;
  }

  .format-page .format-hero__copy > p:last-of-type {
    max-width: 37ch;
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
  }

  .format-page .format-intro {
    padding-top: 30px;
  }
}


/* V106 — CONTATTI smartphone: hero compatta e senza fascia vuota verso il form */
@media (max-width: 600px) {
  .contact-hero {
    height: auto;
    min-height: 0;
  }

  .contact-hero__inner {
    height: auto;
    min-height: 0;
    grid-template-rows: 270px auto;
  }
}

/* =========================================================
   V110 — HOME TABLET/SMARTPHONE
   Elimina il bordo chiaro incorporato nel bordo destro e inferiore
   del video, senza modificare geometria, testi o spaziature.
   ========================================================= */
@media (max-width: 900px) {
  .hero--manifesto .hero__media {
    position: relative;
    aspect-ratio: 1424 / 784;
    overflow: hidden;
    background: #151719;
    line-height: 0;
  }

  .hero--manifesto .hero__video {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    transform: scale(1.004);
    transform-origin: top left;
    border: 0;
    outline: 0;
    box-shadow: none;
  }
}

/* =========================================================
   V111 — HOME TABLET/SMARTPHONE
   Elimina la sottile giunzione chiara sul bordo superiore
   dell'immagine, mantenendo invariata la geometria della hero.
   ========================================================= */
@media (max-width: 900px) {
  .site-header,
  .hero--manifesto .hero__frame,
  .hero--manifesto .hero__media {
    border-top: 0 !important;
    border-bottom: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
  }

  .hero--manifesto .hero__media::before {
    content: "";
    position: absolute;
    z-index: 6;
    top: 0;
    right: 0;
    left: 0;
    height: 2px;
    pointer-events: none;
    background: #000;
  }
}

/* =========================================================
   V113 — BID & WEAR SMARTPHONE
   Compatta il blocco nero del testo sotto la hero senza modificare
   immagine, font, ordine dei contenuti, desktop o tablet.
   ========================================================= */
@media (max-width: 600px) {
  .bw-hero {
    height: auto;
    min-height: 0;
  }

  .bw-hero__content {
    flex: 0 0 auto;
    height: auto;
    min-height: 0;
    padding-top: 24px;
    padding-bottom: 22px;
    justify-content: flex-start;
  }
}

/* =========================================================
   V114 — CHEF SENZA CONFINI
   Loghi partner leggermente ridotti e più distaccati.
   Nessuna modifica a testi, immagine o geometria della hero.
   ========================================================= */
.chef-hero__partners {
  gap: 34px;
}

.chef-hero__msf-logo {
  max-width: 180px;
}

.chef-hero__gambero-logo {
  max-width: 160px;
}

@media (max-width: 900px) and (min-width: 601px) {
  .chef-hero__partners {
    gap: 27px;
  }

  .chef-hero__msf-logo {
    max-width: 142px;
  }

  .chef-hero__gambero-logo {
    max-width: 126px;
  }
}

@media (max-width: 600px) {
  .chef-hero__partners {
    gap: 18px;
  }

  .chef-hero__msf-logo {
    max-width: min(130px, 38vw);
  }

  .chef-hero__gambero-logo {
    max-width: min(110px, 32vw);
  }
}


/* =========================================================
   V115 — CHEF SENZA CONFINI
   Ulteriore riduzione e maggiore distanza dei loghi solo su
   tablet e smartphone. Desktop invariato.
   ========================================================= */
@media (max-width: 900px) and (min-width: 601px) {
  .chef-hero__partners {
    gap: 34px;
  }

  .chef-hero__msf-logo {
    max-width: 122px;
  }

  .chef-hero__gambero-logo {
    max-width: 108px;
  }
}

@media (max-width: 600px) {
  .chef-hero__partners {
    gap: 26px;
  }

  .chef-hero__msf-logo {
    max-width: min(102px, 30vw);
  }

  .chef-hero__gambero-logo {
    max-width: min(88px, 26vw);
  }
}

/* =========================================================
   V116 — I PROTAGONISTI
   Desktop invariato nell'impostazione; nuovi asset dedicati a tablet e smartphone.
   Testo descrittivo inserito dopo la linea rossa in tutte le versioni.
   ========================================================= */
.hero--protagonisti .hero__art-picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero--protagonisti .hero__art-picture .hero__art {
  display: block;
  width: 100%;
  height: 100%;
}

.hero--protagonisti .hero__description--protagonisti {
  margin: 14px 0 0;
  max-width: 34ch;
  color: #fff;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(10px, .78vw, 14px);
  font-weight: 400;
  line-height: 1.48;
}

.hero--protagonisti .brand-inline {
  white-space: nowrap;
  font-weight: 600;
}

.hero--protagonisti .brand-inline em {
  font-style: italic;
  font-weight: inherit;
}

@media (min-width: 901px) {
  .hero--protagonisti .hero__copy--protagonisti {
    padding-left: 2.7%;
    padding-right: 2.45%;
  }

  .hero--protagonisti .hero__copy--protagonisti h1 {
    font-size: clamp(17px, 1.30vw, 25px);
    line-height: 1.34;
  }

  .hero--protagonisti .hero__copy--protagonisti h1::after {
    margin-top: 14px;
  }
}

@media (max-width: 900px) {
  .hero--protagonisti .hero__frame {
    display: flex;
    flex-direction: column;
    width: min(100%, var(--site-hero-width));
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: hidden;
    background: #000;
  }

  .hero--protagonisti .hero__frame::before,
  .hero--protagonisti .hero__frame::after {
    display: none;
  }

  .hero--protagonisti .hero__art-picture {
    position: relative;
    z-index: 1;
    order: 1;
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    background: #000;
  }

  .hero--protagonisti .hero__art-picture .hero__art {
    position: relative;
    inset: auto;
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    object-fit: contain;
    object-position: center;
  }

  .hero--protagonisti .hero__copy--protagonisti {
    position: relative;
    z-index: 2;
    inset: auto;
    order: 2;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 30px 40px 28px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    background: #050505;
    color: #fff;
  }

  .hero--protagonisti .hero__copy--protagonisti h1 {
    width: 100%;
    margin: 0;
    font-size: clamp(28px, 4.8vw, 40px);
    line-height: 1.06;
    letter-spacing: -.034em;
  }

  .hero--protagonisti .hero__copy--protagonisti h1 span {
    display: block;
    white-space: nowrap;
  }

  .hero--protagonisti .hero__copy--protagonisti h1::after {
    width: 58px;
    height: 4px;
    margin-top: 18px;
  }

  .hero--protagonisti .hero__description--protagonisti {
    max-width: 58ch;
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.52;
  }

  .hero--protagonisti .hero__bottom-fade {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero--protagonisti .hero__copy--protagonisti {
    padding: 26px 20px 22px;
  }

  .hero--protagonisti .hero__copy--protagonisti h1 {
    font-size: clamp(22px, 6.55vw, 26px);
    line-height: 1.04;
    letter-spacing: -.035em;
  }

  .hero--protagonisti .hero__copy--protagonisti h1::after {
    width: 50px;
    height: 4px;
    margin-top: 14px;
  }

  .hero--protagonisti .hero__description--protagonisti {
    max-width: 34ch;
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.5;
  }
}

/* =========================================================
   V0151 — HERO DESKTOP STARS / CHEF / BATTITI
   Sfumatura laterale progressiva sui bordi sinistro e destro.
   Tablet e smartphone restano invariati.
   ========================================================= */
@media (min-width: 901px) {
  .stars-hero__media::before,
  .stars-hero__media::after,
  .chef-hero__media::before,
  .chef-hero__media::after,
  .battiti-hero__media::before,
  .battiti-hero__media::after {
    width: clamp(42px, 4vw, 68px);
  }

  .stars-hero__media::before,
  .chef-hero__media::before,
  .battiti-hero__media::before {
    background: linear-gradient(
      to right,
      rgba(0,0,0,.88) 0%,
      rgba(0,0,0,.56) 30%,
      rgba(0,0,0,.22) 62%,
      rgba(0,0,0,0) 100%
    );
  }

  .stars-hero__media::after,
  .chef-hero__media::after,
  .battiti-hero__media::after {
    background: linear-gradient(
      to left,
      rgba(0,0,0,.88) 0%,
      rgba(0,0,0,.56) 30%,
      rgba(0,0,0,.22) 62%,
      rgba(0,0,0,0) 100%
    );
  }
}

/* =========================================================
   V199 — IL FORMAT / BID & WEAR DESKTOP
   Elimina la sottile giunzione chiara ai lati sotto l'header.
   La vecchia estensione laterale via box-shadow + clip-path poteva
   produrre un'antialias di 1px sui soli gutter desktop.
   ========================================================= */
@media (min-width: 901px) {
  .format-page main {
    background: linear-gradient(
      to bottom,
      #000 0,
      #000 var(--site-hero-height),
      #fff var(--site-hero-height),
      #fff 100%
    );
  }

  .bid-wear-page .bw-page {
    background: linear-gradient(
      to bottom,
      #000 0,
      #000 var(--site-hero-height),
      #fff var(--site-hero-height),
      #fff 100%
    );
  }

  .format-page .format-hero,
  .bid-wear-page .bw-hero {
    box-shadow: none;
    clip-path: none;
  }
}
