/* opinionconduit.com: design system.
   Token e scelte in docs/06-design-opinionconduit.md. Mobile-first: le regole
   base valgono da 320 px, i media query allargano (36rem, 56rem). */

/* ---------- Font (ospitati in locale) ---------- */

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
  src: url(/assets/fonts/nunito-latin.ba344451.woff2) format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/fonts/source-sans-3-latin.7a19a702.woff2) format("woff2");
}

/* ---------- Token ---------- */

:root {
  --c-cream: #fbf6ee;
  --c-card: #ffffff;
  --c-sand: #f4ead9;
  --c-ink: #2b2622;
  --c-ink-2: #4a433d;
  --c-muted: #6b625a;
  --c-rule: #e6d9c6;
  --c-coral: #f26b3a;
  --c-coral-deep: #b2461d;
  --c-coral-ink: #8f3714;
  --c-coral-tint: #fde9df;
  --c-violet: #5e4a8c;
  --c-violet-tint: #efe9f7;
  --c-green: #1a6b43;
  --c-green-tint: #e3f1e8;
  --c-red: #b3261e;
  --c-red-tint: #fbe9e7;
  --c-foot-text: #d9cfc3;
  --c-foot-link: #f7b58f;

  --f-display: "Nunito", ui-rounded, "Arial Rounded MT Bold", system-ui, sans-serif;
  --f-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --t-body: 1.0625rem;    /* 17 px */
  --t-small: 0.90625rem;  /* 14.5 px */
  --t-label: 0.84375rem;  /* 13.5 px */
  --t-h3: 1.25rem;        /* 20 px */
  --t-h2: 1.5625rem;      /* 25 px */
  --t-h1: 2.0625rem;      /* 33 px */
  --t-cover: 2.25rem;     /* 36 px */
  --t-big: 2.75rem;       /* 44 px */

  --s-1: 0.375rem;  /* 6 */
  --s-2: 0.75rem;   /* 12 */
  --s-3: 1.125rem;  /* 18 */
  --s-4: 1.5rem;    /* 24 */
  --s-5: 2.25rem;   /* 36 */
  --s-6: 3rem;      /* 48 */
  --s-7: 4.5rem;    /* 72 */
  --s-8: 6rem;      /* 96 */

  --gutter: 1.75rem;
  --side: 1.125rem;
  --measure: 41rem;

  /* La bolla: angolo in basso a sinistra quasi vivo, come la coda del fumetto. */
  --r-bubble: 1.125rem 1.125rem 1.125rem 0.375rem;
  --r-small: 0.75rem 0.75rem 0.75rem 0.25rem;

  /* Ombre calde (corallo scuro), mai grigio neutro. */
  --sh-1: 0 1px 1px rgb(143 55 20 / 0.06), 0 10px 24px -14px rgb(143 55 20 / 0.38);
  --sh-2: 0 2px 2px rgb(143 55 20 / 0.07), 0 18px 32px -16px rgb(143 55 20 / 0.45);

  /* La conduttura: tratteggio corallo. */
  --conduit-v: repeating-linear-gradient(to bottom, var(--c-coral) 0 0.5rem, transparent 0.5rem 0.875rem);
  --conduit-h: repeating-linear-gradient(to right, var(--c-coral) 0 0.5rem, transparent 0.5rem 0.875rem);
}

@media (min-width: 56rem) {
  :root {
    --t-body: 1.125rem;   /* 18 px */
    --t-small: 0.9375rem;
    --t-label: 0.875rem;
    --t-h3: 1.375rem;
    --t-h2: 1.9375rem;
    --t-h1: 3rem;
    --t-cover: 3.625rem;
    --t-big: 3.5rem;
    --side: 2rem;
    --r-bubble: 1.375rem 1.375rem 1.375rem 0.375rem;
  }
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

body {
  margin: 0;
  background: var(--c-cream);
  color: var(--c-ink);
  font-family: var(--f-body);
  font-size: var(--t-body);
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--f-display);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--c-coral-deep);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--c-coral-ink);
}

:focus-visible {
  outline: 3px solid var(--c-violet);
  outline-offset: 2px;
  border-radius: 4px;
}

.oc-wrap {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: var(--side);
}

.oc-skip {
  position: absolute;
  left: var(--s-2);
  top: -3rem;
  z-index: 50;
  padding: var(--s-1) var(--s-2);
  background: var(--c-ink);
  color: #fff;
  border-radius: var(--r-small);
}

.oc-skip:focus {
  top: var(--s-2);
}

/* Striscia "Design preview" (config: notice). */
.oc-notice {
  background: var(--c-violet);
  color: #fff;
  font-size: var(--t-small);
  line-height: 1.4;
}

.oc-notice p {
  padding-block: var(--s-1);
}

/* ---------- Piccoli elementi ricorrenti ---------- */

/* Chip a bolla: etichette di sezione (tondo, non maiuscolo spaziato). */
.oc-chip {
  display: inline-block;
  padding: 0.2rem 0.7rem 0.25rem;
  border-radius: var(--r-small);
  background: var(--c-ink);
  color: var(--c-cream);
  font-family: var(--f-display);
  font-size: var(--t-label);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0;
}

.oc-kicker {
  font-family: var(--f-display);
  font-size: var(--t-label);
  font-weight: 800;
  line-height: 1.3;
}

.oc-kicker a {
  color: var(--c-coral-deep);
  text-decoration: none;
}

.oc-kicker a:hover {
  text-decoration: underline;
}

.oc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--s-2);
  color: var(--c-muted);
  font-size: var(--t-small);
  line-height: 1.45;
}

.oc-meta span::before,
.oc-byline span + span::before {
  content: "";
  display: inline-block;
  width: 0.3rem;
  height: 0.3rem;
  margin-right: var(--s-2);
  vertical-align: 0.2em;
  border-radius: 50%;
  background: var(--c-coral);
}

.oc-more {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1rem;
}

/* Numero grande dentro una bolla corallo: passi, "Start here". */
.oc-bignum {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1.1rem 1.1rem 1.1rem 0.3rem;
  background: var(--c-coral);
  color: var(--c-ink);
  font-family: var(--f-display);
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1;
}

@media (min-width: 56rem) {
  .oc-bignum {
    width: 3.75rem;
    height: 3.75rem;
    font-size: 2.125rem;
  }
}

/* ---------- Header ---------- */

.oc-header {
  border-top: 6px solid var(--c-coral);
  background: var(--c-cream);
}

.oc-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-2) var(--s-4);
  padding-block: var(--s-3) var(--s-2);
}

.oc-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--c-ink);
  text-decoration: none;
}

.oc-mark .oc-mark__shape {
  fill: var(--c-coral);
}

.oc-mark .oc-mark__line {
  fill: var(--c-cream);
}

.oc-logo__word {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.oc-logo__word b {
  font-weight: 900;
}

.oc-logo:hover {
  color: var(--c-ink);
}

/* Menu: chip compatti a capo su mobile. Nessun padding verticale che si
   somma all'interlinea (lezione di softwarepivot): altezza data dalla
   line-height esplicita, spazio fra le righe dal solo row-gap. */
.oc-nav {
  width: 100%;
}

.oc-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  padding: 0;
  list-style: none;
}

.oc-nav a {
  display: block;
  padding: 0 0.625rem;
  border-radius: var(--r-small);
  background: var(--c-card);
  box-shadow: inset 0 0 0 1px var(--c-rule);
  color: var(--c-ink);
  font-family: var(--f-display);
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.875rem;
  text-decoration: none;
  white-space: nowrap;
}

.oc-nav a:hover {
  background: var(--c-coral-tint);
  box-shadow: none;
}

.oc-nav a[aria-current] {
  background: var(--c-coral);
  box-shadow: none;
  color: var(--c-ink);
}

@media (min-width: 56rem) {
  .oc-header__inner {
    flex-wrap: nowrap;
    padding-block: var(--s-4);
  }

  .oc-logo__word {
    font-size: 1.75rem;
  }

  .oc-nav {
    width: auto;
  }

  .oc-nav ul {
    gap: 0.25rem;
  }

  .oc-nav a {
    padding: 0 0.875rem;
    background: transparent;
    box-shadow: none;
    font-size: 1rem;
    line-height: 2.5rem;
  }
}

/* ---------- Card ---------- */

.oc-card {
  position: relative;
}

.oc-card__media {
  display: block;
  overflow: hidden;
  background: var(--c-sand);
}

/* Illustrazioni: viewBox già ritagliato, contain (mai tagliate). */
.oc-card__media img,
.oc-article-fig img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.oc-card__title {
  font-size: var(--t-h3);
  line-height: 1.22;
}

.oc-card__title a {
  color: var(--c-ink);
  text-decoration: none;
}

.oc-card__title a:hover {
  color: var(--c-coral-deep);
  text-decoration: underline;
  text-decoration-thickness: 0.07em;
}

/* Tutta la card cliccabile dal titolo, senza annidare link. */
.oc-card--cover .oc-card__title a::after,
.oc-card--card .oc-card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.oc-card--cover .oc-kicker,
.oc-card--card .oc-kicker {
  position: relative;
  z-index: 1;
}

.oc-card__dek {
  margin-top: var(--s-1);
  color: var(--c-ink-2);
  font-size: 1rem;
  line-height: 1.5;
}

.oc-card .oc-meta {
  margin-top: var(--s-2);
}

.oc-card__body > .oc-kicker {
  margin-bottom: 0.25rem;
}

/* cover: storia grande su fondo sand. */
.oc-card--cover {
  display: grid;
  border-radius: var(--r-bubble);
  background: var(--c-sand);
  overflow: hidden;
}

.oc-card--cover .oc-card__media {
  aspect-ratio: 16 / 10;
  padding: var(--s-2) var(--s-2) 0;
}

.oc-card--cover .oc-card__body {
  padding: var(--s-3) var(--s-3) var(--s-4);
}

.oc-card--cover .oc-card__title {
  font-size: 1.625rem;
  font-weight: 900;
  line-height: 1.12;
}

.oc-card--cover .oc-card__dek {
  font-size: var(--t-body);
}

/* card: bianca a bolla con ombra calda. */
.oc-card--card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--r-bubble);
  background: var(--c-card);
  box-shadow: var(--sh-1);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.oc-card--card:hover {
  box-shadow: var(--sh-2);
  transform: translateY(-2px);
}

.oc-card--card .oc-card__media {
  aspect-ratio: 16 / 10;
}

.oc-card--card .oc-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--s-3);
}

.oc-card--card .oc-meta {
  margin-top: auto;
  padding-top: var(--s-2);
}

/* row: nessun box. */
.oc-card--row .oc-card__title {
  font-size: 1.125rem;
}

@media (min-width: 56rem) {
  .oc-card--cover .oc-card__title {
    font-size: 2.125rem;
  }

  .oc-card--row .oc-card__title {
    font-size: 1.25rem;
  }
}

/* ---------- Home: copertina ---------- */

.oc-cover {
  display: grid;
  gap: var(--s-4);
  padding-block: var(--s-4) var(--s-6);
}

.oc-cover__title {
  max-width: 14ch;
  font-size: var(--t-cover);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.oc-cover__text {
  max-width: 36rem;
  margin-top: var(--s-2);
  color: var(--c-ink-2);
  font-size: 1.125rem;
  line-height: 1.55;
}

.oc-also__list {
  margin-top: var(--s-2);
  padding: 0;
  list-style: none;
}

.oc-also__list li {
  padding-block: var(--s-3);
  border-bottom: 1px solid var(--c-rule);
}

.oc-also__list li:last-child {
  border-bottom: 0;
}

@media (min-width: 56rem) {
  .oc-cover {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-rows: auto 1fr;
    column-gap: var(--gutter);
    row-gap: var(--s-5);
    padding-block: var(--s-5) var(--s-7);
  }

  .oc-cover__intro {
    grid-column: 1 / span 4;
    grid-row: 1;
  }

  .oc-cover__lead {
    grid-column: 1 / span 4;
    grid-row: 2;
  }

  .oc-also {
    grid-column: 5 / span 2;
    grid-row: 1 / span 2;
    align-self: end;
    padding: var(--s-4);
    border-radius: var(--r-bubble);
    background: var(--c-card);
    box-shadow: var(--sh-1);
  }

  /* Copertina orizzontale: illustrazione a sinistra, testo a destra. */
  .oc-cover__lead .oc-card--cover {
    grid-template-columns: 1.15fr 1fr;
    align-items: center;
  }

  .oc-cover__lead .oc-card--cover .oc-card__media {
    height: 100%;
    aspect-ratio: auto;
    min-height: 20rem;
    padding: var(--s-3) 0 var(--s-3) var(--s-3);
  }

  .oc-cover__lead .oc-card--cover .oc-card__body {
    padding: var(--s-5) var(--s-4);
  }
}

/* ---------- Home: "Start here" ---------- */

.oc-start {
  padding-block: var(--s-6);
  background: var(--c-violet-tint);
}

.oc-start__head h2 {
  font-size: var(--t-h2);
}

.oc-start__head p {
  max-width: 34rem;
  margin-top: var(--s-1);
  color: var(--c-ink-2);
}

/* La conduttura: tratteggio verticale su mobile fra una bolla e l'altra. */
.oc-start__path {
  position: relative;
  display: grid;
  gap: var(--s-4);
  margin-top: var(--s-5);
  padding: 0;
  list-style: none;
}

.oc-start__step {
  position: relative;
  display: flex;
  gap: var(--s-3);
  align-items: flex-start;
}

.oc-start__step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: calc(1.625rem - 1.5px);
  top: 3.25rem;
  bottom: calc(-1 * var(--s-4));
  width: 3px;
  background: var(--conduit-v);
}

.oc-start__step h3 {
  font-size: var(--t-h3);
}

.oc-start__step h3 a {
  color: var(--c-ink);
}

.oc-start__step h3 a:hover {
  color: var(--c-coral-deep);
}

.oc-start__step p {
  margin-top: 0.25rem;
  color: var(--c-ink-2);
  font-size: 1rem;
  line-height: 1.5;
}

@media (min-width: 56rem) {
  .oc-start {
    padding-block: var(--s-7);
  }

  .oc-start .oc-wrap {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    column-gap: var(--gutter);
  }

  .oc-start__head {
    grid-column: 1 / span 2;
  }

  .oc-start__path {
    grid-column: 3 / span 4;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: var(--gutter);
    margin-top: 0;
  }

  .oc-start__step {
    flex-direction: column;
  }

  /* Da desktop la conduttura corre in orizzontale all'altezza delle bolle. */
  .oc-start__step:not(:last-child)::before {
    left: 4.25rem;
    right: calc(-1 * var(--gutter) + 0.5rem);
    top: calc(1.875rem - 1.5px);
    bottom: auto;
    width: auto;
    height: 3px;
    background: var(--conduit-h);
  }
}

/* ---------- Home: "What it really pays" ---------- */

.oc-reality {
  padding-block: var(--s-6) var(--s-5);
}

.oc-reality__head h2 {
  font-size: var(--t-h2);
}

.oc-reality__head p {
  max-width: 34rem;
  margin-top: var(--s-1);
  color: var(--c-ink-2);
}

.oc-reality__list {
  display: grid;
  margin-top: var(--s-4);
}

.oc-reality__item {
  display: grid;
  gap: 0.25rem;
  padding-block: var(--s-3);
  border-top: 1px solid var(--c-rule);
}

.oc-reality__item dt {
  font-family: var(--f-display);
  font-size: var(--t-label);
  font-weight: 800;
  color: var(--c-violet);
}

.oc-reality__item dd {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 var(--s-2);
}

.oc-reality__num {
  font-family: var(--f-display);
  font-size: var(--t-big);
  white-space: nowrap;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--c-coral-deep);
}

.oc-reality__unit {
  color: var(--c-ink-2);
  font-size: 1rem;
}

.oc-reality__note {
  margin-top: var(--s-2);
  color: var(--c-muted);
  font-size: var(--t-small);
}

@media (min-width: 56rem) {
  .oc-reality {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    column-gap: var(--gutter);
    padding-block: var(--s-7) var(--s-6);
  }

  .oc-reality__head {
    grid-column: 1 / span 2;
  }

  .oc-reality__list {
    grid-column: 3 / span 4;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: var(--gutter);
    margin-top: 0;
  }

  .oc-reality__item {
    align-content: start;
    padding-top: var(--s-2);
    border-top: 3px solid var(--c-ink);
  }

  .oc-reality__item dd {
    display: grid;
    gap: var(--s-1);
  }

  .oc-reality__num {
    font-size: 2.75rem;
  }

  .oc-reality__note {
    grid-column: 3 / span 4;
  }
}

/* ---------- Home: sezioni per argomento ---------- */

.oc-topic {
  display: grid;
  gap: var(--s-4);
  padding-block: var(--s-5);
  background: var(--conduit-h) top left / 100% 3px no-repeat;
}

.oc-topic__head h2 {
  font-size: var(--t-h2);
}

.oc-topic__head h2 a {
  color: var(--c-ink);
  text-decoration: none;
}

.oc-topic__head h2 a:hover {
  color: var(--c-coral-deep);
}

.oc-topic__head p {
  margin-block: var(--s-1) var(--s-2);
  color: var(--c-ink-2);
  font-size: 1rem;
  line-height: 1.5;
}

.oc-topic__rows {
  padding: 0;
  list-style: none;
}

.oc-topic__rows li + li {
  margin-top: var(--s-3);
  padding-top: var(--s-3);
  border-top: 1px solid var(--c-rule);
}

@media (min-width: 36rem) and (max-width: 55.99rem) {
  .oc-topic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--gutter);
  }

  .oc-topic__head {
    grid-column: 1 / -1;
  }
}

@media (min-width: 56rem) {
  .oc-topic {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    column-gap: var(--gutter);
    padding-block: var(--s-6);
  }

  .oc-topic__head {
    grid-column: 1 / span 2;
    grid-row: 1;
  }

  .oc-topic__feature {
    grid-column: 3 / span 2;
    grid-row: 1;
  }

  .oc-topic__rows {
    grid-column: 5 / span 2;
    grid-row: 1;
  }

  /* Specchio: titolo a destra, righe a sinistra. Solo con due o più articoli. */
  .oc-topic--flip .oc-topic__head {
    grid-column: 5 / span 2;
  }

  .oc-topic--flip .oc-topic__rows {
    grid-column: 1 / span 2;
  }

  /* Un solo articolo: la card prende anche le due colonne delle righe,
     nessuna colonna resta vuota. */
  .oc-topic--single .oc-topic__feature {
    grid-column: 3 / span 4;
  }
}

/* ---------- Home: metodo ---------- */

.oc-method {
  display: grid;
  gap: var(--s-4);
  margin-block: var(--s-4) var(--s-7);
  padding: var(--s-4) var(--s-3);
  border-radius: var(--r-bubble);
  background: var(--c-card);
  box-shadow: var(--sh-1);
}

.oc-method__intro h2 {
  font-size: var(--t-h2);
}

.oc-method__intro p {
  margin-block: var(--s-2);
  color: var(--c-ink-2);
}

.oc-method__list {
  display: grid;
  gap: var(--s-3);
  padding: 0;
  list-style: none;
  counter-reset: method;
}

.oc-method__list li {
  position: relative;
  padding-left: 2.75rem;
  color: var(--c-ink-2);
  font-size: 1rem;
  line-height: 1.5;
  counter-increment: method;
}

.oc-method__list li::before {
  content: counter(method);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.7rem 0.7rem 0.7rem 0.2rem;
  background: var(--c-violet-tint);
  color: var(--c-violet);
  font-family: var(--f-display);
  font-weight: 900;
}

.oc-method__list strong {
  display: block;
  color: var(--c-ink);
  font-family: var(--f-display);
  font-weight: 800;
}

@media (min-width: 56rem) {
  .oc-method {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    column-gap: var(--gutter);
    padding: var(--s-6) var(--s-5);
  }

  .oc-method__intro {
    grid-column: 1 / span 2;
  }

  .oc-method__list {
    grid-column: 3 / span 4;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--gutter);
    row-gap: var(--s-4);
  }
}

/* ---------- Breadcrumb ---------- */

.oc-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  list-style: none;
  font-size: var(--t-small);
  color: var(--c-muted);
}

.oc-crumbs li + li::before {
  content: "/";
  margin-inline: 0.5rem;
  color: var(--c-rule);
}

.oc-crumbs a {
  color: var(--c-muted);
}

.oc-crumbs a:hover {
  color: var(--c-coral-deep);
}

/* ---------- Categoria ---------- */

.oc-cat-head {
  margin-block: var(--s-3) var(--s-5);
  padding: var(--s-4) var(--s-3);
  border-radius: var(--r-bubble);
  background: var(--c-coral-tint);
}

.oc-cat-head h1 {
  margin-top: var(--s-2);
  font-size: var(--t-h1);
  font-weight: 900;
  line-height: 1.08;
}

.oc-cat-head__dek {
  max-width: 36rem;
  margin-top: var(--s-2);
  color: var(--c-ink-2);
  font-size: 1.125rem;
  line-height: 1.5;
}

.oc-cat-head__count {
  margin-top: var(--s-2);
  font-family: var(--f-display);
  font-weight: 800;
  font-size: var(--t-label);
  color: var(--c-coral-deep);
}

.oc-cat-head .oc-crumbs a,
.oc-cat-head .oc-crumbs ol {
  color: var(--c-ink-2);
}

.oc-cat-grid {
  display: grid;
  gap: var(--s-6);
  padding-bottom: var(--s-7);
}

.oc-cat-list {
  display: grid;
  gap: var(--gutter);
  margin-top: var(--gutter);
  padding: 0;
  list-style: none;
}

@media (min-width: 36rem) {
  .oc-cat-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 56rem) {
  .oc-cat-head {
    padding: var(--s-5) var(--s-5) var(--s-4);
  }

  .oc-cat-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    column-gap: var(--gutter);
  }

  .oc-cat-main {
    grid-column: 1 / span 4;
    min-width: 0;
  }

  .oc-cat-side {
    grid-column: 5 / span 2;
    align-self: start;
    position: sticky;
    top: var(--s-4);
  }

  .oc-cat-main .oc-card--cover {
    grid-template-columns: 1.15fr 1fr;
    align-items: center;
  }

  .oc-cat-main .oc-card--cover .oc-card__media {
    height: 100%;
    aspect-ratio: auto;
    min-height: 17rem;
    padding: var(--s-3) 0 var(--s-3) var(--s-3);
  }

  .oc-cat-main .oc-card--cover .oc-card__body {
    padding: var(--s-4);
  }

  .oc-cat-main .oc-card--cover .oc-card__title {
    font-size: 1.75rem;
  }
}

.oc-cat-side {
  display: grid;
  gap: var(--s-4);
}

.oc-side-box {
  padding: var(--s-3);
  border-radius: var(--r-bubble);
  font-size: 1rem;
  line-height: 1.5;
}

.oc-side-box > * + * {
  margin-top: var(--s-2);
}

.oc-side-box--violet {
  background: var(--c-violet-tint);
}

.oc-side-box--red {
  background: var(--c-card);
  box-shadow: var(--sh-1);
}

.oc-side-box__title {
  font-family: var(--f-display);
  font-size: 1.1875rem;
  font-weight: 800;
  line-height: 1.25;
}

.oc-side-box__title a {
  color: var(--c-ink);
}

.oc-flags {
  padding: 0;
  list-style: none;
}

.oc-flags li {
  position: relative;
  padding-left: 1.75rem;
}

.oc-flags li + li {
  margin-top: var(--s-1);
}

/* Punto esclamativo disegnato in CSS, niente icone. */
.oc-flags li::before,
.oc-scam__col--red li::before {
  content: "!";
  position: absolute;
  left: 0;
  top: 0.15em;
  display: grid;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--c-red);
  color: #fff;
  font-family: var(--f-display);
  font-size: 0.8125rem;
  font-weight: 900;
  line-height: 1;
}

.oc-side-nav ul {
  margin-top: var(--s-2);
  padding: 0;
  list-style: none;
}

.oc-side-nav li + li {
  border-top: 1px solid var(--c-rule);
}

.oc-side-nav a {
  display: block;
  padding-block: var(--s-1);
  font-family: var(--f-display);
  font-weight: 800;
}

/* ---------- Articolo ---------- */

/* Due soli figli della griglia: .oc-article-main e .oc-article-side. Su
   mobile sono display:contents e i loro figli si riordinano con `order` in
   una colonna flessibile (nessun nodo duplicato, nessun JS). Da 56rem
   tornano blocchi veri: main 4 colonne, aside 2 colonne sticky. */
.oc-article-grid {
  display: flex;
  flex-direction: column;
  padding-block: var(--s-3) var(--s-6);
}

.oc-article-main,
.oc-article-side {
  display: contents;
}

.oc-article-crumbs {
  order: 1;
}

.oc-article-head {
  order: 2;
}

.oc-article-fig {
  order: 3;
}

.oc-inshort {
  order: 4;
}

.oc-toc {
  order: 5;
}

.oc-prose {
  order: 6;
}

.oc-article-foot {
  order: 7;
}

.oc-article-head {
  margin-top: var(--s-3);
}

.oc-article-head h1 {
  max-width: 20ch;
  font-size: var(--t-h1);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.oc-article-head__dek {
  max-width: var(--measure);
  margin-top: var(--s-2);
  color: var(--c-ink-2);
  font-size: 1.1875rem;
  line-height: 1.5;
}

.oc-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--s-2);
  margin-top: var(--s-3);
  color: var(--c-muted);
  font-size: var(--t-small);
}

@media (max-width: 35.99rem) {
  .oc-byline span:first-child {
    flex-basis: 100%;
  }

  .oc-byline span:nth-child(2)::before {
    display: none;
  }
}

.oc-disclosure {
  max-width: var(--measure);
  margin-top: var(--s-2);
  color: var(--c-muted);
  font-size: var(--t-small);
  line-height: 1.45;
}

/* Badge "Verified by the editorial team": solo fonti verificate. */
.oc-verified {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 var(--s-1);
  margin-top: var(--s-2);
  padding: 0.3rem 0.75rem 0.35rem 0.5rem;
  border-radius: var(--r-small);
  background: var(--c-green-tint);
  color: var(--c-ink-2);
  font-size: var(--t-small);
  line-height: 1.4;
}

.oc-verified__label {
  position: relative;
  padding-left: 1.5rem;
  color: var(--c-green);
  font-family: var(--f-display);
  font-weight: 800;
}

/* Spunta disegnata in CSS. */
.oc-verified__label::before {
  content: "";
  position: absolute;
  left: 0.3rem;
  top: 0.2em;
  width: 0.45rem;
  height: 0.8rem;
  border: solid var(--c-green);
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

.oc-verified__label::after {
  content: ":";
}

.oc-article-fig {
  margin-top: var(--s-4);
  aspect-ratio: 16 / 10;
  padding: var(--s-2);
  border-radius: var(--r-bubble);
  background: var(--c-sand);
  overflow: hidden;
}

/* "In short": bolla viola tenue con coda vera. */
.oc-inshort {
  position: relative;
  margin-block: var(--s-4) var(--s-5);
  padding: var(--s-3);
  border-radius: var(--r-bubble);
  background: var(--c-violet-tint);
}

.oc-inshort::after,
.oc-earn::after,
.cta-box::after {
  content: "";
  position: absolute;
  left: 1.5rem;
  bottom: -0.875rem;
  width: 1.5rem;
  height: 0.9rem;
  background: inherit;
  clip-path: polygon(0 0, 100% 0, 10% 100%);
}

.oc-inshort ul {
  margin-top: var(--s-2);
  padding: 0;
  list-style: none;
}

.oc-inshort li {
  position: relative;
  padding-left: 1.125rem;
  font-size: 1rem;
  line-height: 1.5;
}

.oc-inshort li + li {
  margin-top: var(--s-2);
}

.oc-inshort li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 0.2rem 0.2rem 0.2rem 0;
  background: var(--c-violet);
}

.oc-inshort .oc-chip {
  background: var(--c-violet);
  color: #fff;
}

/* Indice: un solo <details>, chiuso su mobile. */
.oc-toc {
  margin-bottom: var(--s-2);
  border-radius: var(--r-small);
  background: var(--c-card);
  box-shadow: inset 0 0 0 1px var(--c-rule);
}

.oc-toc summary {
  padding: var(--s-2) var(--s-3);
  font-family: var(--f-display);
  font-weight: 800;
  cursor: pointer;
}

.oc-toc ol {
  padding: 0 var(--s-3) var(--s-3) var(--s-3);
  list-style: none;
  counter-reset: toc;
}

.oc-toc li {
  counter-increment: toc;
}

.oc-toc a {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  padding-block: 0.35rem;
  color: var(--c-ink-2);
  font-size: 1rem;
  line-height: 1.4;
  text-decoration: none;
}

.oc-toc a::before {
  content: counter(toc);
  font-family: var(--f-display);
  font-weight: 900;
  color: var(--c-coral-deep);
}

.oc-toc a:hover {
  color: var(--c-coral-deep);
  text-decoration: underline;
}

.oc-article-foot {
  max-width: var(--measure);
  margin-top: var(--s-6);
  padding-top: var(--s-3);
  background: var(--conduit-h) top left / 100% 3px no-repeat;
  color: var(--c-muted);
  font-size: var(--t-small);
}

@media (min-width: 56rem) {
  .oc-article-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    column-gap: var(--gutter);
    padding-block: var(--s-4) var(--s-7);
  }

  .oc-article-main {
    display: block;
    grid-column: 1 / span 4;
    min-width: 0;
  }

  .oc-article-side {
    display: grid;
    gap: var(--s-5);
    grid-column: 5 / span 2;
    align-self: start;
    position: sticky;
    top: var(--s-4);
    padding-top: var(--s-6);
  }

  .oc-article-head {
    margin-top: var(--s-4);
  }

  .oc-article-fig {
    margin-top: var(--s-5);
    padding: var(--s-3);
  }

  .oc-inshort {
    margin: 0;
  }

  .oc-toc {
    margin: 0;
    background: transparent;
    box-shadow: none;
  }

  .oc-toc summary {
    padding: 0 0 var(--s-1);
    cursor: default;
    color: var(--c-ink);
  }

  .oc-toc summary::-webkit-details-marker,
  .oc-toc summary::marker {
    display: none;
    content: "";
  }

  /* Visibile qualunque sia lo stato di apertura: regola d'autore che vince su
     "details:not([open]) > * { display: none }" del browser. */
  .oc-toc ol {
    display: block;
    padding: var(--s-1) 0 0;
  }
}

/* I browser recenti (Chromium 131+, Safari 18.4+) non nascondono più il
   contenuto di un <details> chiuso con display:none sui figli, ma con
   content-visibility:hidden sullo pseudo-elemento ::details-content: la
   regola qui sopra da sola lascia l'indice vuoto. Regola separata, così un
   browser che non conosce lo pseudo-elemento scarta solo questa. */
@media (min-width: 56rem) {
  .oc-toc::details-content {
    content-visibility: visible;
  }
}

/* ---------- Testo dell'articolo ---------- */

.oc-prose {
  max-width: var(--measure);
  margin-top: var(--s-4);
}

.oc-prose > * + * {
  margin-top: 1.1em;
}

/* Il primo titolo del testo non somma il suo margine a quello del blocco. */
.oc-prose > h2:first-child {
  margin-top: var(--s-4);
}

.oc-prose > h2 {
  margin-top: 2.1em;
  font-size: var(--t-h2);
  scroll-margin-top: var(--s-4);
}

.oc-prose > h3 {
  margin-top: 1.8em;
  font-size: var(--t-h3);
}

.oc-prose > h2 + *,
.oc-prose > h3 + * {
  margin-top: 0.6em;
}

.oc-prose ul,
.oc-prose ol {
  padding-left: 1.25rem;
}

.oc-prose li + li {
  margin-top: 0.4em;
}

.oc-prose li::marker {
  color: var(--c-coral-deep);
  font-weight: 700;
}

.oc-prose strong {
  font-weight: 700;
}

/* I box dentro il testo si staccano un po' di più dal paragrafo. */
.oc-prose > section,
.oc-prose > aside {
  margin-block: var(--s-5);
}

/* Tabelle nel testo (pagine di servizio). Su mobile scorrono in orizzontale
   dentro il proprio contenitore, mai la pagina. */
.oc-prose table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: 0.9375rem;
  line-height: 1.45;
}

.oc-prose th,
.oc-prose td {
  min-width: 6rem;
  padding: var(--s-2) var(--s-2) var(--s-2) 0;
  border-bottom: 1px solid var(--c-rule);
  text-align: left;
  vertical-align: top;
}

.oc-prose th {
  border-bottom: 3px solid var(--c-ink);
  font-family: var(--f-display);
  font-weight: 800;
}

.oc-prose code {
  padding: 0.05em 0.3em;
  border-radius: 0.3rem;
  background: var(--c-sand);
  font-size: 0.9em;
}

/* Pagine di servizio: i sottotitoli H3 delle privacy si leggono come schede. */
.oc-service .oc-prose > h3 {
  padding-top: var(--s-2);
  background: var(--conduit-h) top left / 3.5rem 3px no-repeat;
}

.oc-service-nav ul {
  margin-top: var(--s-2);
  padding: 0;
  list-style: none;
}

.oc-service-nav li + li {
  border-top: 1px solid var(--c-rule);
}

.oc-service-nav a {
  display: block;
  padding-block: var(--s-1);
  color: var(--c-ink-2);
  font-family: var(--f-display);
  font-weight: 700;
  text-decoration: none;
}

.oc-service-nav a:hover {
  color: var(--c-coral-deep);
}

.oc-service-nav a[aria-current] {
  color: var(--c-coral-deep);
  font-weight: 900;
}

/* Su mobile il menu delle pagine di servizio va in fondo, dopo il testo. */
.oc-service-nav {
  order: 8;
  margin-top: var(--s-6);
}

@media (min-width: 56rem) {
  .oc-service-nav {
    margin-top: 0;
  }
}

/* Etichetta delle pagine promozionali: sopra il titolo, ben visibile (min 19 px). */
.oc-ad-label {
  display: inline-block;
  margin-bottom: var(--s-2);
  padding: 0.15rem 0.6rem;
  border: 2px solid var(--c-ink);
  border-radius: var(--r-small);
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- Blocco: dati della società ---------- */

.oc-company {
  padding: var(--s-3);
  border-radius: var(--r-bubble);
  background: var(--c-sand);
}

.oc-company__title {
  font-family: var(--f-display);
  font-size: var(--t-h3);
  font-weight: 800;
  line-height: 1.25;
}

.oc-company dl {
  margin-top: var(--s-2);
}

.oc-company dl > div {
  padding-block: var(--s-1);
  border-top: 2px dashed var(--c-rule);
}

.oc-company dt {
  color: var(--c-muted);
  font-size: var(--t-small);
}

.oc-company dd {
  font-size: 1rem;
  line-height: 1.45;
}

@media (min-width: 36rem) {
  .oc-company {
    padding: var(--s-4);
  }

  .oc-company dl > div {
    display: grid;
    grid-template-columns: 11rem 1fr;
    gap: var(--s-2);
    align-items: baseline;
  }
}

/* ---------- Blocco: disclaimer sui guadagni ---------- */

/* Sta accanto alle cifre: bordo corallo a sinistra, nessuna ombra, testo pieno
   (non "small print"). */
.oc-disclaimer {
  padding: var(--s-3);
  border-left: 5px solid var(--c-coral);
  border-radius: 0 var(--s-2) var(--s-2) 0;
  background: var(--c-card);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--c-ink-2);
}

.oc-disclaimer__title {
  color: var(--c-ink);
  font-family: var(--f-display);
  font-weight: 900;
}

.oc-disclaimer p + p {
  margin-top: var(--s-1);
}

.oc-prose > .oc-disclaimer {
  margin-block: var(--s-4);
}

.oc-prose > .oc-earn + .oc-disclaimer {
  margin-top: var(--s-5);
}

/* ---------- Pagina cookie: stato e pulsante ---------- */

.oc-consent-status {
  padding: var(--s-2) var(--s-3);
  border-radius: var(--r-small);
  background: var(--c-violet-tint);
  font-size: 1rem;
}

.oc-button {
  min-height: 2.75rem;
  padding: 0.6rem 1.25rem;
  border: 0;
  border-radius: var(--r-small);
  background: var(--c-coral);
  box-shadow: 0 3px 0 var(--c-coral-deep);
  color: var(--c-ink);
  font-family: var(--f-display);
  font-size: 1.0625rem;
  font-weight: 900;
  cursor: pointer;
}

.oc-button:hover {
  background: #f58556;
}

/* ---------- Blocco: quanto si guadagna davvero ---------- */

.oc-earn {
  position: relative;
  padding: var(--s-3);
  border-radius: var(--r-bubble);
  background: var(--c-card);
  filter: drop-shadow(0 8px 14px rgb(143 55 20 / 0.14));
}

.oc-earn__head h3 {
  font-size: var(--t-h3);
}

.oc-earn__head p {
  margin-top: var(--s-1);
  color: var(--c-ink-2);
  font-size: 1rem;
  line-height: 1.5;
}

.oc-earn__rows {
  margin-top: var(--s-3);
}

.oc-earn__row {
  display: grid;
  gap: 0.125rem;
  padding-block: var(--s-2);
  border-top: 2px dashed var(--c-rule);
}

.oc-earn__row dt {
  color: var(--c-ink-2);
  font-size: 1rem;
  line-height: 1.4;
}

.oc-earn__row dd {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 var(--s-1);
}

.oc-earn__num {
  font-family: var(--f-display);
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1.15;
  color: var(--c-coral-deep);
  white-space: nowrap;
}

.oc-earn__unit {
  color: var(--c-muted);
  font-size: var(--t-small);
}

.oc-earn__note {
  margin-top: var(--s-2);
  padding-top: var(--s-2);
  border-top: 2px dashed var(--c-rule);
  color: var(--c-ink-2);
  font-size: var(--t-small);
  line-height: 1.5;
}

@media (min-width: 36rem) {
  .oc-earn {
    padding: var(--s-4);
  }

  .oc-earn__row {
    grid-template-columns: 1fr auto;
    align-items: baseline;
    column-gap: var(--s-3);
  }

  .oc-earn__row dd {
    justify-content: flex-end;
    text-align: right;
  }

  .oc-earn__row dd .oc-earn__unit {
    flex-basis: 100%;
  }
}

/* ---------- Blocco: come riconoscere una truffa ---------- */

.oc-scam h3 {
  font-size: var(--t-h3);
}

.oc-scam__cols {
  display: grid;
  gap: var(--s-3);
  margin-top: var(--s-3);
}

.oc-scam__col {
  padding: var(--s-3);
  border-radius: var(--r-bubble);
}

.oc-scam__col--red {
  background: var(--c-red-tint);
}

.oc-scam__col--green {
  background: var(--c-green-tint);
}

.oc-scam__label {
  font-family: var(--f-display);
  font-weight: 800;
}

.oc-scam__col--red .oc-scam__label {
  color: var(--c-red);
}

.oc-scam__col--green .oc-scam__label {
  color: var(--c-green);
}

/* Checklist unita dalla conduttura (tratteggio fra i segni). */
.oc-scam ul {
  margin-top: var(--s-2);
  padding: 0;
  list-style: none;
}

.oc-scam li {
  position: relative;
  padding: 0 0 var(--s-2) 2rem;
  font-size: 1rem;
  line-height: 1.45;
}

.oc-scam li:last-child {
  padding-bottom: 0;
}

.oc-scam li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(0.625rem - 1px);
  top: 1.6em;
  bottom: 0.1em;
  width: 2px;
  background: repeating-linear-gradient(to bottom, currentColor 0 0.3rem, transparent 0.3rem 0.6rem);
  opacity: 0.35;
}

.oc-scam__col--green li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  /* Spunta bianca disegnata in un piccolo SVG inline, nessun set di icone. */
  background: var(--c-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

@media (min-width: 36rem) {
  .oc-scam__cols {
    grid-template-columns: 1.15fr 1fr;
  }
}

/* ---------- Blocco: passi numerati grandi ---------- */

.oc-steps h3 {
  font-size: var(--t-h3);
}

.oc-steps__list {
  margin-top: var(--s-4);
  padding: 0;
  list-style: none;
}

.oc-steps__item {
  position: relative;
  display: flex;
  gap: var(--s-3);
  padding-bottom: var(--s-4);
}

.oc-steps__item:last-child {
  padding-bottom: 0;
}

.oc-steps__item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: calc(1.625rem - 1.5px);
  top: 3.75rem;
  bottom: 0.5rem;
  width: 3px;
  background: var(--conduit-v);
}

.oc-steps__item h4 {
  padding-top: 0.2rem;
  font-size: 1.1875rem;
  line-height: 1.3;
}

.oc-steps__item p {
  margin-top: 0.3rem;
  color: var(--c-ink-2);
  font-size: 1rem;
  line-height: 1.55;
}

@media (min-width: 56rem) {
  .oc-steps__item:not(:last-child)::before {
    left: calc(1.875rem - 1.5px);
    top: 4.25rem;
  }

  .oc-steps__item h4 {
    padding-top: 0.45rem;
    font-size: 1.3125rem;
  }
}

/* ---------- CTA box (HTML condiviso, stile del sito) ---------- */

.cta-box {
  position: relative;
  padding: var(--s-4) var(--s-3);
  border-radius: var(--r-bubble);
  background: var(--c-coral-tint);
}

.cta-box__title {
  font-family: var(--f-display);
  font-size: 1.375rem;
  font-weight: 900;
  line-height: 1.2;
}

.cta-box__text {
  margin-top: var(--s-1);
  color: var(--c-ink-2);
  font-size: 1rem;
  line-height: 1.55;
}

.cta-box__action {
  margin-top: var(--s-3);
}

/* Bottone pieno: testo scuro su corallo (4.95:1), angolo a coda, niente freccia. */
.cta-box__button {
  display: inline-block;
  padding: 0.7rem 1.25rem;
  border-radius: var(--r-small);
  background: var(--c-coral);
  box-shadow: 0 3px 0 var(--c-coral-deep);
  color: var(--c-ink);
  font-family: var(--f-display);
  font-size: 1.0625rem;
  font-weight: 900;
  line-height: 1.3;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cta-box__button:hover {
  color: var(--c-ink);
  transform: translateY(1px);
  box-shadow: 0 2px 0 var(--c-coral-deep);
}

.cta-box__note {
  margin-top: var(--s-2);
  color: var(--c-muted);
  font-size: 0.875rem;
  line-height: 1.45;
}

@media (min-width: 56rem) {
  .cta-box {
    padding: var(--s-5) var(--s-5) var(--s-4);
  }
}

/* ---------- FAQ come conversazione ---------- */

.oc-faq > h2 {
  font-size: var(--t-h2);
}

.oc-faq__item {
  margin-top: var(--s-3);
}

.oc-faq__item summary {
  position: relative;
  display: block;
  margin-left: 12%;
  padding: var(--s-2) 2.75rem var(--s-2) var(--s-3);
  border-radius: 1.125rem 1.125rem 0.375rem 1.125rem;
  background: var(--c-violet-tint);
  color: var(--c-ink);
  font-family: var(--f-display);
  font-weight: 800;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

.oc-faq__item summary::-webkit-details-marker {
  display: none;
}

.oc-faq__item summary::after {
  content: "+";
  position: absolute;
  right: var(--s-2);
  top: 50%;
  display: grid;
  place-items: center;
  width: 1.625rem;
  height: 1.625rem;
  margin-top: -0.8125rem;
  border-radius: 50%;
  background: var(--c-violet);
  color: #fff;
  font-size: 1.125rem;
  line-height: 1;
}

.oc-faq__item[open] summary::after {
  content: "\2212";
}

.oc-faq__a {
  margin-top: var(--s-1);
  margin-right: 12%;
  padding: var(--s-2) var(--s-3);
  border-radius: 1.125rem 1.125rem 1.125rem 0.375rem;
  background: var(--c-card);
  box-shadow: var(--sh-1);
  color: var(--c-ink-2);
  font-size: 1rem;
  line-height: 1.55;
}

/* ---------- Articoli correlati ---------- */

.oc-related {
  padding-block: var(--s-6) var(--s-7);
  background: var(--c-sand);
}

.oc-related h2 {
  font-size: var(--t-h2);
}

.oc-related__list {
  display: grid;
  gap: var(--gutter);
  margin-top: var(--s-4);
  padding: 0;
  list-style: none;
}

@media (min-width: 36rem) {
  .oc-related__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 56rem) {
  .oc-related__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ---------- 404 ---------- */

.oc-plain {
  max-width: 44rem;
  padding-block: var(--s-6) var(--s-8);
}

.oc-plain h1 {
  margin-top: var(--s-3);
  font-size: var(--t-h1);
  font-weight: 900;
}

.oc-plain .oc-prose {
  margin-top: var(--s-3);
}

.oc-plain__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: var(--s-4);
  padding: 0;
  list-style: none;
}

.oc-plain__links a {
  display: block;
  padding: var(--s-1) var(--s-3);
  border-radius: var(--r-small);
  background: var(--c-card);
  box-shadow: var(--sh-1);
  font-family: var(--f-display);
  font-weight: 800;
  text-decoration: none;
}

/* ---------- Footer ---------- */

.oc-footer {
  padding-block: var(--s-6) var(--s-4);
  background: var(--c-ink);
  color: var(--c-foot-text);
  font-size: 1rem;
  line-height: 1.55;
}

.oc-footer a {
  color: var(--c-foot-link);
}

.oc-footer a:hover {
  color: #fff;
}

.oc-footer :focus-visible {
  outline-color: var(--c-foot-link);
}

.oc-footer__grid {
  display: grid;
  gap: var(--s-5);
}

.oc-footer__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-family: var(--f-display);
  font-size: 1.625rem;
  font-weight: 700;
  line-height: 1;
}

.oc-footer__logo b {
  font-weight: 900;
}

.oc-footer .oc-mark .oc-mark__line {
  fill: var(--c-ink);
}

/* La missione dentro una grande bolla, con la coda. */
.oc-footer__bubble {
  position: relative;
  max-width: 30rem;
  margin-top: var(--s-3);
  padding: var(--s-3);
  border-radius: var(--r-bubble);
  background: #3a332e;
  color: #efe6da;
}

.oc-footer__bubble::after {
  content: "";
  position: absolute;
  left: 1.5rem;
  bottom: -0.875rem;
  width: 1.5rem;
  height: 0.9rem;
  background: inherit;
  clip-path: polygon(0 0, 100% 0, 10% 100%);
}

.oc-footer__nav h2 {
  color: #fff;
  font-size: 1.0625rem;
}

.oc-footer__nav ul {
  margin-top: var(--s-2);
  padding: 0;
  list-style: none;
}

.oc-footer__nav li + li {
  margin-top: 0.3rem;
}

.oc-footer__nav a {
  text-decoration: none;
}

.oc-footer__nav a:hover {
  text-decoration: underline;
}

.oc-footer__base {
  margin-top: var(--s-6);
  padding-top: var(--s-3);
  border-top: 1px solid #4a433d;
  font-size: var(--t-small);
}

.oc-footer__base p + p {
  margin-top: var(--s-1);
}

.oc-footer__money {
  max-width: 44rem;
  color: #efe6da;
}

@media (min-width: 36rem) {
  .oc-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .oc-footer__mission {
    grid-column: 1 / -1;
  }
}

@media (min-width: 56rem) {
  .oc-footer {
    padding-top: var(--s-7);
  }

  .oc-footer__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    column-gap: var(--gutter);
  }

  .oc-footer__mission {
    grid-column: 1 / span 3;
  }

  .oc-footer__nav:nth-of-type(1) {
    grid-column: 4 / span 1;
  }

  .oc-footer__nav:nth-of-type(2) {
    grid-column: 5 / span 2;
  }
}

/* ---------- Cookie banner ---------- */

.cookie-banner {
  position: fixed;
  right: var(--s-2);
  left: var(--s-2);
  bottom: var(--s-2);
  z-index: 30;
  max-width: 24rem;
  margin-left: auto;
  padding: var(--s-3);
  border-radius: var(--r-bubble);
  background: var(--c-card);
  box-shadow: 0 2px 4px rgb(43 38 34 / 0.08), 0 20px 40px -12px rgb(143 55 20 / 0.45);
  font-size: var(--t-small);
  line-height: 1.5;
}

.cookie-banner p {
  padding-right: var(--s-4);
}

.cookie-banner__title {
  font-family: var(--f-display);
  font-size: 1.0625rem;
  font-weight: 900;
}

.cookie-banner__title + p {
  margin-top: 0.25rem;
}

.cookie-banner__close {
  position: absolute;
  top: var(--s-1);
  right: var(--s-1);
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--c-muted);
  font-size: 1.375rem;
  line-height: 1;
  cursor: pointer;
}

.cookie-banner__close:hover {
  background: var(--c-sand);
  color: var(--c-ink);
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-1);
  margin-top: var(--s-2);
}

.cookie-banner__actions button {
  min-height: 2.5rem;
  padding: 0.35rem 1rem;
  border: 0;
  border-radius: var(--r-small);
  background: var(--c-card);
  box-shadow: inset 0 0 0 2px var(--c-ink);
  color: var(--c-ink);
  font-family: var(--f-display);
  font-size: 0.9375rem;
  font-weight: 800;
  cursor: pointer;
}

.cookie-banner__actions button[data-consent="accept"] {
  background: var(--c-coral);
  box-shadow: none;
}

.cookie-banner__actions button[data-consent="settings"] {
  box-shadow: none;
  color: var(--c-coral-deep);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.cookie-banner__actions button:hover {
  background: var(--c-coral-tint);
}

.cookie-banner__actions button[data-consent="accept"]:hover {
  background: #f58556;
}

/* ---------- Foto di copertina (motore di redazione, sotto-blocco 5) ----------
   Le illustrazioni sono flat, a bolla, su fondo sand (06-design §5.4). Una foto accanto a loro ha gli stessi
   angoli morbidi (l'ultimo meno arrotondato, come i fumetti) e l'ombra calda delle card; nessun filtro. */
.oc-card--photo .oc-card__media,
.oc-article-fig--photo {
  padding: 0;
  border-radius: 1.4rem 1.4rem 1.4rem 0.35rem;
  background: var(--c-sand);
  box-shadow: var(--sh-1);
  overflow: hidden;
}

.oc-card--photo .oc-card__media img,
.oc-article-fig--photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.oc-article-fig--photo {
  aspect-ratio: auto;
  position: relative;
}

.oc-article-fig--photo img {
  aspect-ratio: 16 / 10;
}

.oc-photo__credit {
  padding: var(--s-2) var(--s-3);
  font-size: var(--t-small);
  line-height: 1.4;
  color: var(--c-muted);
  background: var(--c-card);
}

.oc-photo__credit a {
  color: var(--c-coral-ink);
}
