/* ============================================================================
   BikerZ — le sezioni che esistono solo nella prima pagina
   ----------------------------------------------------------------------------
   Questo foglio lo carica soltanto index.php. Dentro c'e' quello che in tutto
   il sito si vede una volta sola: l'apertura fotografica, i sei motivi per
   entrare, il riquadro del weekend con i prossimi appuntamenti, i tre
   riquadri illustrati e la chiusura al tramonto.

   Tutto il resto della prima pagina — testata, pulsanti, pie' di pagina,
   schede delle attivita' — lo veste assets/site.css insieme a ogni altra
   pagina: qui non si ripete niente di quello.

   Le misure sono quelle del concept approvato il 4 dicembre 2026 e vanno
   lasciate stare: sono state confrontate pixel per pixel con i riferimenti a
   1440 e 390 px.

   Le fotografie non stanno qui: arrivano dalla pagina come variabili
   (--hero, --road, --photo, --sunset), cosi' il foglio non sa niente dei nomi
   dei file e cambiarli non vuol dire ritoccare il CSS.
   ========================================================================= */

.bzh-root { line-height: normal; }
.bzh-root *, .bzh-root *::before, .bzh-root *::after { box-sizing: border-box; }
.bzh-root svg { width: 24px; height: 24px; flex-shrink: 0; }
.bzh-root h1, .bzh-root h2, .bzh-root h3, .bzh-root strong { color: inherit; }
.bzh-root h1, .bzh-root h2, .bzh-root h3, .bzh-root p { margin: 0; }
/* I titoli del concept non hanno un'interlinea loro: prendono quella della
   radice, cioe' `normal`. Senza queste due righe vincerebbero le regole
   `h2`/`h3` di site.css, che valgono per il resto del sito, e ogni titolo
   darebbe via qualche pixel: le sezioni sotto l'apertura si sposterebbero
   tutte verso l'alto. Dove il concept l'interlinea la scrive (i sei motivi, i
   tre riquadri, il titolo del weekend) comanda la regola piu' precisa, qui
   sotto. */
.bzh-root h2, .bzh-root h3 { line-height: normal; }

/* La parola evidenziata nei titoli. Nell'apertura sta sopra la fotografia,
   quindi va il rosso chiaro; in «Perche' entrare» sta sulla carta, e li' il
   rosso chiaro si perderebbe: va quello pieno del logo. */
.bzh-root em { color: var(--brand); font-style: inherit; }
.bzh-root .bzh-hero em { color: var(--brand-chiaro); }

/* --- L'apertura ---------------------------------------------------------
   Il testo sta sopra la fotografia e deve restare leggibile comunque: il
   velo nero in sfumatura non e' decorazione, e' quello che tiene il
   contrasto quando la foto sotto e' chiara.
   ----------------------------------------------------------------------- */

.bzh-root .bzh-hero { position: relative; overflow: hidden; background: #151515; color: #fff; min-height: 345px; display: flex; align-items: center; padding: 0; }
.bzh-root .bzh-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(90deg, #141414 1%, #141414 16%, #14141485 38%, transparent 64%), var(--hero);
  background-size: 100% 100%, auto 130%;
  background-position: center, right 47%;
  background-repeat: no-repeat;
}
.bzh-root .bzh-hero-in { position: relative; display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: var(--wrap-largo); margin: auto; padding: 35px 5.2%; gap: 20px; }
.bzh-root .bzh-hero-copy { max-width: 710px; }
.bzh-root .bzh-eyebrow { font-size: 14px; font-weight: 900; color: var(--brand-chiaro); letter-spacing: .07em; margin: 0 0 9px; text-transform: uppercase; }
.bzh-root h1 { font-size: clamp(38px, 4.2vw, 68px); line-height: .98; text-shadow: 0 2px 8px #0006; margin: 0 0 15px; }
.bzh-root .bzh-hero-copy > p:not(.bzh-eyebrow) { font-size: 17px; line-height: 1.4; margin-bottom: 16px; text-shadow: 0 2px 5px #000; }
.bzh-root .bzh-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.bzh-root .bzh-hero small { font-size: 12px; }

/* I numeri a destra dell'apertura. */
.bzh-root .bzh-stats { background: #101010db; border: 1px solid #ffffff20; border-radius: 10px; padding: 17px 19px; min-width: 177px; display: grid; gap: 14px; backdrop-filter: blur(8px); }
.bzh-root .bzh-stat { display: flex; gap: 11px; align-items: center; }
.bzh-root .bzh-stat svg { color: var(--brand-chiaro); width: 30px; height: 30px; }
.bzh-root .bzh-stat b { display: block; font-size: 25px; line-height: 1; }
.bzh-root .bzh-stat small { display: block; line-height: 1.3; margin-top: 3px; }

/* --- Perche' entrare ---------------------------------------------------- */

.bzh-root .bzh-wrap { width: 100%; max-width: var(--wrap-largo); margin: auto; padding: 0 2.5%; }
.bzh-root .bzh-benefits { padding: 18px 0 20px; text-align: center; }
.bzh-root .bzh-benefits h2 { font-size: 32px; }
.bzh-root .bzh-benefits > p { font-size: 14px; margin: 4px 0 16px; }
.bzh-root .bzh-features { display: grid; grid-template-columns: repeat(6, 1fr); }
.bzh-root .bzh-features article { padding: 0 12px; border-right: 1px solid var(--line); }
.bzh-root .bzh-features article:last-child { border: 0; }
.bzh-root .bzh-features svg { width: 34px; height: 34px; color: var(--brand); margin-bottom: 6px; }
.bzh-root .bzh-features h3 { font-size: 15px; line-height: 1.2; font-weight: 800; }
.bzh-root .bzh-features p { font-size: 13px; line-height: 1.35; margin-top: 4px; }

/* --- Il weekend e i prossimi appuntamenti ------------------------------- */

.bzh-root .bzh-mid { display: grid; grid-template-columns: 1.8fr 1fr; gap: 13px; }
.bzh-root .bzh-weekend {
  position: relative; color: #fff; border-radius: var(--r-l); overflow: hidden; min-height: 219px;
  display: flex; flex-direction: column; justify-content: space-between; padding: 18px 23px;
  background-image: linear-gradient(90deg, #151515e8, #15151555), var(--road);
  background-position: center; background-size: cover;
}
.bzh-root .bzh-weekend h2 { font-size: 38px; line-height: 1.02; }
.bzh-root .bzh-weekend p { margin: 5px 0 14px; }
.bzh-root .bzh-shortcuts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.bzh-root .bzh-shortcuts a { padding: 9px 5px 8px; border-radius: var(--r-m); border: 1px solid #ffffff55; background: #141414c9; display: flex; align-items: center; flex-direction: column; text-align: center; gap: 4px; }
.bzh-root .bzh-shortcuts svg { color: var(--brand-chiaro); width: 25px; height: 25px; }
.bzh-root .bzh-shortcuts b { font-size: 14px; }
.bzh-root .bzh-shortcuts small { font-size: 11px; line-height: 1.25; color: #eee; }

.bzh-root .bzh-upcoming { border: 1px solid var(--line); border-radius: var(--r-l); padding: 13px 15px; background: var(--paper); }
.bzh-root .bzh-uphead { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.bzh-root .bzh-uphead h3 { font-size: 17px; font-weight: 900; letter-spacing: -.035em; }
.bzh-root .bzh-uphead a { font-size: 12px; color: var(--brand-testo); font-weight: 700; white-space: nowrap; }
.bzh-root .bzh-event { display: flex; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: var(--r-s); background: var(--paper-2); padding: 6px; margin-top: 5px; min-height: 49px; }
.bzh-root .bzh-date { background: var(--brand); color: var(--brand-ink); min-width: 43px; display: grid; place-items: center; line-height: 1; border-radius: 5px; padding: 5px; }
.bzh-root .bzh-date b { font-size: 19px; }
.bzh-root .bzh-date small { font-size: 10px; font-weight: 700; margin-top: 2px; }
.bzh-root .bzh-eventcopy { flex: 1; min-width: 0; }
.bzh-root .bzh-eventcopy strong { font-size: 13px; display: block; }
.bzh-root .bzh-eventcopy small { font-size: 11px; display: flex; align-items: center; gap: 3px; margin-top: 4px; }
.bzh-root .bzh-eventcopy svg { width: 12px; height: 12px; color: var(--brand-testo); }
.bzh-root .bzh-chev { font-size: 24px; margin-right: 5px; }
.bzh-root .bzh-empty-events { padding: 10px 0; }

/* --- I tre riquadri illustrati ------------------------------------------ */

.bzh-root .bzh-tiles { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 13px; margin: 13px 0 18px; }
.bzh-root .bzh-tile { min-height: 166px; background: #151515; color: #fff; position: relative; border-radius: 11px; overflow: hidden; display: flex; align-items: center; justify-content: flex-end; padding: 14px; isolation: isolate; }
.bzh-root .bzh-tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(90deg, transparent 13%, #15151544 39%, #151515 62%), var(--photo);
  background-size: 100% 100%, auto 100%;
  background-position: left center; background-repeat: no-repeat;
}
.bzh-root .bzh-tile > div { width: 48%; }
/* Il concept mette anche il titolo dei tre riquadri nel corsivo nero dei
   titoli grossi: la sua regola e' `h1, h2, .tile h3, .closing h2`. Qui va
   ripetuto perche' in site.css il corsivo tocca solo h1 e h2 — negli altri
   h3 del sito (e in quelli dei sei motivi, qui sopra) il titolo resta dritto. */
.bzh-root .bzh-tile h3 { font-size: 21px; line-height: 1.05;
  font-weight: 900; font-style: italic; letter-spacing: -.045em; }
.bzh-root .bzh-tile p { font-size: 12px; line-height: 1.35; margin: 6px 0 9px; }
.bzh-root .bzh-tile a.bzh-text { font-size: 12px; color: var(--brand-chiaro); font-weight: 700; }
.bzh-root .bzh-stores { display: flex; gap: 5px; align-items: center; flex-wrap: wrap; }
.bzh-root .bzh-stores img { width: 75px; height: auto; display: block; }

/* --- La chiusura al tramonto -------------------------------------------- */

.bzh-root .bzh-closing { position: relative; background: #181818; color: #fff; min-height: 166px; display: flex; align-items: center; justify-content: flex-end; text-align: center; padding: 23px 5%; isolation: isolate; }
.bzh-root .bzh-closing::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(90deg, transparent 16%, #1a1a1a77 48%, #171717 77%), var(--sunset);
  background-size: 100% 100%, auto 120%;
  background-position: left center; background-repeat: no-repeat;
}
.bzh-root .bzh-closing > div { width: 57%; }
.bzh-root .bzh-closing h2 { font-size: 36px; }
.bzh-root .bzh-closing p { margin: 6px 0 13px; }
.bzh-root .bzh-closing small { display: block; margin-top: 7px; }

/* --- Quello che la prima pagina aggiunge sotto il concept ---------------- */

/* Le schede delle attivita' e lo spazio pubblicitario: stanno nella
   larghezza delle altre pagine, non in quella piena dell'apertura. */
.bzh-extra { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--s4); }
.bzh-extra:empty { display: none; }
.bzh-root .adv-sezione { margin-block: var(--s4); }

/* --- Le misure piu' strette --------------------------------------------- */

@media (max-width: 1180px) {
  .bzh-root .bzh-hero-in { padding: 30px 4%; }
  .bzh-root .bzh-stats { min-width: 155px; }
  .bzh-root .bzh-tile h3 { font-size: 19px; }
}

@media (max-width: 900px) {
  .bzh-root .bzh-hero-in { display: block; }
  .bzh-root .bzh-stats { display: none; }
  .bzh-root .bzh-features { grid-template-columns: repeat(3, 1fr); row-gap: 18px; }
  .bzh-root .bzh-features article:nth-child(3) { border: 0; }
  .bzh-root .bzh-mid { grid-template-columns: 1fr; }
  .bzh-root .bzh-tiles { grid-template-columns: 1fr; }
  .bzh-root .bzh-tile { min-height: 180px; }
  .bzh-root .bzh-tile::before { background-size: 100% 100%, auto 100%; }
  .bzh-root .bzh-tile > div { width: 48%; }
  .bzh-root .bzh-closing > div { width: 75%; }
}

@media (max-width: 520px) {
  /* Sul telefono la fotografia passa sopra e il testo si appoggia in basso:
     girata cosi' la moto si vede, e il titolo resta sul nero pieno. */
  .bzh-root .bzh-hero { min-height: 420px; align-items: flex-end; }
  .bzh-root .bzh-hero::before {
    background-image: linear-gradient(0deg, #111 3%, #111111e8 32%, #1113 76%), var(--hero);
    background-size: 100% 100%, auto 62%;
    background-position: center, 70% top;
  }
  .bzh-root .bzh-hero-in { padding: 18px 5% 23px; margin: auto 0 0; }
  .bzh-root .bzh-hero h1 { font-size: 38px; }
  .bzh-root .bzh-eyebrow { font-size: 10px; }
  .bzh-root .bzh-hero-copy > p:not(.bzh-eyebrow) { font-size: 14px; }
  .bzh-root .bzh-hero .bzh-btn { font-size: 12px; padding: 10px 11px; }
  .bzh-root .bzh-actions { gap: 7px; }
  .bzh-root .bzh-hero small { font-size: 10px; }
  .bzh-root .bzh-wrap { padding: 0 3.5%; }
  .bzh-root .bzh-benefits { padding: 19px 0; }
  .bzh-root .bzh-benefits h2 { font-size: 26px; }
  .bzh-root .bzh-benefits > p { font-size: 12px; }
  .bzh-root .bzh-features article { padding: 0 7px; }
  .bzh-root .bzh-features h3 { font-size: 13px; }
  .bzh-root .bzh-features p { font-size: 11px; }
  .bzh-root .bzh-features svg { width: 27px; height: 27px; }
  .bzh-root .bzh-weekend { padding: 16px; }
  .bzh-root .bzh-weekend h2 { font-size: 31px; }
  .bzh-root .bzh-shortcuts { grid-template-columns: repeat(2, 1fr); }
  .bzh-root .bzh-uphead h3 { font-size: 15px; }
  .bzh-root .bzh-tile h3 { font-size: 20px; }
  .bzh-root .bzh-tile { min-height: 164px; }
  .bzh-root .bzh-closing { min-height: 255px; align-items: flex-end; justify-content: center; padding: 20px; }
  .bzh-root .bzh-closing::before {
    background-image: linear-gradient(0deg, #171717 0%, #171717cc 38%, transparent 88%), var(--sunset);
    background-size: 100% 100%, auto 75%;
    background-position: center, 20% top;
  }
  .bzh-root .bzh-closing > div { width: 100%; }
  .bzh-root .bzh-closing h2 { font-size: 29px; }
  .bzh-root .bzh-closing p { font-size: 13px; }
}
