.page__shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.page__shell > main { flex: 1 1 auto; }

/* Tre bande da 10px una sopra l'altra, a tutta larghezza, sopra il footer */
.divider-accent {
  height: 30px;
  background: linear-gradient(
    to bottom,
    var(--color-stripe-amber) 0 10px,
    var(--color-stripe-orange) 10px 20px,
    var(--color-stripe-navy) 20px 30px
  );
}

/* Le animazioni 3D dei titoli (caratteri ruotati) sporgono per un attimo dal bordo:
   senza questo, su mobile la pagina poteva allargarsi di qualche pixel. */
body,
main {
  overflow-x: clip;
}

/* Scorrimento morbido (Lenis): il browser non deve aggiungere il suo scroll-behavior */
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-stopped {
  overflow: clip;
}
.lenis [data-lenis-prevent] {
  overscroll-behavior: contain;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Breadcrumb: su fondo chiaro di default, chiaro dentro le hero scure */
.crumbs {
  --crumb-color: var(--color-text-muted);
  --crumb-current: var(--color-header);
  margin: 0 0 var(--space-5);
}
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--fs-caption);
  line-height: 1.4;
  color: var(--crumb-color);
}
.crumbs li + li::before { content: "/"; margin-inline: 0.6em; opacity: 0.55; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--crumb-current); text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--crumb-current); font-weight: var(--fw-semibold); }
.svc-hero .crumbs {
  --crumb-color: rgba(255, 255, 255, 0.75);
  --crumb-current: var(--color-white);
}

/* Link dentro i testi: sottolineati, con cambio di colore al passaggio del mouse */
main :where(p, dd, .svc-faq__a-inner) > a:not([class]) {
  color: var(--color-link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.18s ease, text-decoration-thickness 0.18s ease;
}
main :where(p, dd, .svc-faq__a-inner) > a:not([class]):hover,
main :where(p, dd, .svc-faq__a-inner) > a:not([class]):focus-visible {
  color: var(--color-primary);
  text-decoration-thickness: 2px;
}
