/* t4-st2 — pagina T4 ST2, il due tempi (pacchetto cliente 26/10/2026, punto 08.4).
   Identità della serie dal logo ST2: blu #3656AE e arancio #E14D29. Riusa t4ev-*
   (gare), t4r-* (documenti) e t4v-* (avvisi, pulsanti) di t4-sections.css; qui
   solo la scheda del kart, il video, le categorie, i costi e le schede pilota. */

.t4st2{--st2-blu:#3656AE;--st2-arancio:#E14D29}

/* hero: logo ST2 bianco sopra il titolo */
.t4h[data-t4h="st2"] .t4st2-hlogo{display:block;height:auto;margin:0 0 1rem;max-width:60%;width:13rem}

/* cos'è: testo + scheda a sinistra, video verticale a destra */
.t4st2-intro{align-items:start;display:grid;gap:2rem;grid-template-columns:minmax(0,1fr)}
@media (min-width:992px){.t4st2-intro{gap:3rem;grid-template-columns:minmax(0,1fr) minmax(16rem,22rem)}}
.t4st2 .t4st2-logo{display:block;height:auto;margin:0 0 1.5rem;max-width:60%;width:16rem}
/* 30/10 sera: il titolo sta nella colonna del testo, sopra il logo */
.t4st2-intro .title+.t4st2-logo{margin-top:1.75rem}
.t4st2-intro .article-content{margin-bottom:1.5rem}
.t4st2-specs{display:grid;gap:.75rem;grid-template-columns:repeat(2,minmax(0,1fr));list-style:none;margin:0 0 1.5rem;padding:0}
@media (min-width:768px){.t4st2-specs{grid-template-columns:repeat(4,minmax(0,1fr))}}
.t4st2-spec{background:#fff;border:1px solid rgba(var(--color-black),.12);border-radius:1rem;border-top:4px solid var(--st2-blu);padding:1rem 1.1rem}
.t4st2-spec:nth-child(2n){border-top-color:var(--st2-arancio)}
.t4st2-spec span{display:block;font-family:var(--font-family-body),monospace;font-size:.72rem;letter-spacing:.08em;margin-bottom:.35rem;opacity:.65;text-transform:uppercase}
.t4st2-spec b{display:block;font-family:var(--font-family-headings),sans-serif;font-size:clamp(1.15rem,1rem + .5vw,1.5rem);font-weight:500;line-height:1.15}
.t4st2-rules{display:flex;flex-wrap:wrap;gap:.5rem;list-style:none;margin:0;padding:0}
.t4st2-rules li{align-items:center;border:1px solid rgba(var(--color-black),.18);border-radius:999px;display:inline-flex;font-size:.95rem;gap:.45rem;padding:.45rem .9rem}
.t4st2-rules li:before{background:var(--st2-arancio);border-radius:50%;content:"";height:.45rem;width:.45rem}
.t4st2-video{background:#0b1020;border-radius:1rem;margin:0;overflow:hidden;position:relative}
.t4st2-video video{aspect-ratio:9/16;display:block;height:auto;max-height:80vh;object-fit:cover;width:100%}
.t4st2-video figcaption{font-size:.85rem;opacity:.7;padding:.6rem .9rem;color:#fff}

/* categorie */
.t4st2-cats{display:flex;flex-wrap:wrap;gap:.75rem;list-style:none;margin:0 0 1rem;padding:0}
.t4st2-cats li{background:#fff;border:1px solid rgba(var(--color-black),.12);border-left:4px solid var(--st2-arancio);border-radius:.75rem;font-family:var(--font-family-headings),sans-serif;font-size:1.25rem;padding:.8rem 1.2rem}
.t4st2-box{align-items:center;background:#fff;border:1px solid rgba(var(--color-black),.12);border-left:4px solid var(--st2-blu);border-radius:1rem;display:flex;flex-wrap:wrap;gap:1rem 2rem;justify-content:space-between;margin:0 0 1rem;padding:1.25rem 1.5rem}
.t4st2-box p{font-size:1.05rem;line-height:1.5;margin:0;max-width:46rem}
.t4st2-small{font-size:.95rem;line-height:1.5;margin:0;max-width:56rem;opacity:.75}

/* gare: riga del calendario con il colore della serie */
.t4ev-row--st2{border-left:4px solid var(--st2-arancio)}
.t4st2-links{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1.25rem}

/* costi presentati */
.t4st2-costs{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(16rem,1fr))}
.t4st2-cost{background:#fff;border:1px solid rgba(var(--color-black),.12);border-radius:1rem;display:flex;flex-direction:column;padding:1.5rem}
.t4st2-cost h3{font-size:clamp(1.2rem,1.1rem + .4vw,1.5rem);line-height:1.15;margin:0 0 .5rem}
.t4st2-price{color:var(--st2-blu);font-family:var(--font-family-headings),sans-serif;font-size:clamp(2rem,1.6rem + 1.4vw,2.8rem);line-height:1;margin:0 0 .25rem}
.t4st2-vat{font-family:var(--font-family-body),monospace;font-size:.75rem;letter-spacing:.08em;margin:0 0 1rem;opacity:.65;text-transform:uppercase}
.t4st2-cost ul{line-height:1.5;margin:0;padding-left:1.1rem}
.t4st2 .t4st2-cost .t4st2-kart{aspect-ratio:3/2;border-radius:.6rem;height:auto;margin:0 0 1rem;object-fit:cover;width:100%}

/* pilota, garage e team */
.t4st2-hub{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(15rem,1fr))}
.t4st2-hub article{background:#fff;border:1px solid rgba(var(--color-black),.12);border-radius:1rem;padding:1.5rem}
.t4st2-hub .t4st2-k{color:var(--st2-arancio);font-family:var(--font-family-body),monospace;font-size:.78rem;letter-spacing:.08em;margin:0 0 .35rem;text-transform:uppercase}
.t4st2-hub h3{font-size:clamp(1.2rem,1.1rem + .4vw,1.5rem);line-height:1.1;margin:0 0 .6rem}
.t4st2-hub p:last-child{font-size:1.05rem;line-height:1.5;margin:0;opacity:.85}

.t4st2 .btn--outline-dark{white-space:normal}
.t4st2 [id]{scroll-margin-top:5rem}
@media (max-width:575px){
  .t4st2-box{padding:1rem 1.1rem}
  .t4st2-links .btn{width:100%}
}

/* cliente 30/10/2026: weekend gara → kit di conversione → kart completo (Catalogo ST2 2027) */
.t4st2-step{align-items:center;display:flex;font-size:clamp(1.3rem,1.15rem + .5vw,1.75rem);gap:.75rem;line-height:1.15;margin:2.5rem 0 1rem}
.t4st2-step:first-child{margin-top:0}
.t4st2-step span{align-items:center;background:var(--st2-blu);border-radius:.6rem;color:#fff;display:inline-flex;flex:0 0 auto;font-size:1rem;height:2.1rem;justify-content:center;width:2.1rem}
.t4st2-steplead{margin:-.25rem 0 1rem}
.t4st2-costs--wk{grid-template-columns:repeat(auto-fit,minmax(18rem,1fr))}
.t4st2-costs--kit{align-items:start;grid-template-columns:repeat(auto-fit,minmax(17rem,1fr))}
.t4st2-k{color:var(--st2-arancio);font-family:var(--font-family-body),monospace;font-size:.78rem;letter-spacing:.08em;margin:0 0 .35rem;text-transform:uppercase}
.t4st2-lead{font-size:1rem;line-height:1.5;margin:0 0 1rem;opacity:.85}
.t4st2-kit.is-top{border-top:4px solid var(--st2-arancio)}
.t4st2-save{border-top:1px dashed rgba(var(--color-black),.18);font-size:1rem;margin:1rem 0 0;padding-top:.75rem}
.t4st2-save b{color:var(--st2-arancio);white-space:nowrap}
.t4st2-pl{list-style:none;margin:0 0 1rem!important;padding:0!important}
.t4st2-pl li{align-items:baseline;border-bottom:1px solid rgba(var(--color-black),.1);display:flex;gap:1rem;justify-content:space-between;padding:.6rem 0}
.t4st2-pl li span{display:flex;flex-direction:column}
.t4st2-pl small{font-size:.85rem;opacity:.7}
.t4st2-pl b{color:var(--st2-blu);font-family:var(--font-family-headings),sans-serif;font-size:1.25rem;white-space:nowrap}
.t4st2-parts{margin-top:auto}
.t4st2-parts summary{cursor:pointer;font-weight:600;padding:.5rem 0}
.t4st2-parts ul{list-style:none;margin:.25rem 0 0;padding:0!important}
.t4st2-parts li{border-bottom:1px solid rgba(var(--color-black),.08);display:flex;font-size:.92rem;gap:1rem;justify-content:space-between;padding:.35rem 0}
.t4st2-parts li span:last-child{opacity:.7;white-space:nowrap}
.t4st2-full{display:grid;gap:1.5rem}
@media (min-width:768px){.t4st2-full{align-items:center;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.t4st2 .t4st2-full .t4st2-kart{margin:0}}

/* cliente 30/10/2026, "molti spazi vuoti che non si vedono" da desktop: sezioni più strette
   (erano 100 px sopra e sotto, 200 tra una e l'altra), titolo allineato al contenuto e
   niente comparsa allo scroll, che con lo scorrimento morbido a volte restava indietro */
@media (min-width:992px){
  .t4s .t4st2 .t4ac,.t4st2 .t4s .t4ac{padding-block:clamp(3.5rem,4.5vw,5rem)}
  .t4st2 .t4s .container-grid .lg-2-3{grid-column:1/4}
}
.t4st2 [data-reveal]{opacity:1!important;transform:none!important}
