/* Pagine articolo (sezione Curiosità) */

.article-hero {
  position: relative;
  background:
    radial-gradient(circle at 15% 20%, rgba(223,164,42,.18), transparent 45%),
    linear-gradient(160deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: #fff;
  padding: 130px 0 56px;
}
.article-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  max-width: 900px;
}
.article-kicker {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .8rem;
  font-weight: 700;
  color: var(--gold-light);
}
.article-kicker a { color: inherit; text-decoration: none; }
.article-kicker a:hover { text-decoration: underline; }
.article-lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  max-width: 760px;
  color: rgba(255,255,255,.88);
}
.article-stat {
  display: inline-block;
  margin: 8px 0 0;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(223,164,42,.45);
}
.article-stat strong { color: var(--gold-light); font-size: 1.2rem; }

.article { padding-top: 48px; padding-bottom: 96px; overflow-wrap: anywhere; }

.article a { color: var(--teal); }

.article-intro {
  max-width: 820px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(4,90,84,.08);
  box-shadow: 0 6px 20px rgba(4,90,84,.08);
  padding: 24px 28px;
}
.article-intro p:last-child, .article-intro ul:last-child { margin-bottom: 0; }
.article-intro ul { padding-left: 1.2em; margin: 0 0 1em; }
.article-intro li { margin-bottom: .35em; }

/* Chip per saltare agli sticker */
.sticker-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 32px 0 8px;
}
.sticker-chips a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(4,90,84,.15);
  color: var(--teal);
  font-weight: 600;
  font-size: .88rem;
  text-decoration: none;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.sticker-chips a span {
  background: var(--teal);
  color: #fff;
  border-radius: 999px;
  padding: 0 7px;
  font-size: .75rem;
}
.sticker-chips a:hover { border-color: var(--gold); background: var(--cream); }

.article-body h2 {
  margin-top: 56px;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  scroll-margin-top: 90px;
}
.article-body h2 + p { color: #4a5a58; }

/* Tabelle con le combo */
.combo-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 14px;
}
.combo-table thead th {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #4a5a58;
  padding: 0 8px;
}
.combo-table tbody tr {
  background: #fff;
  box-shadow: 0 6px 18px rgba(4,90,84,.08);
}
.combo-table td {
  padding: 16px 10px;
  vertical-align: middle;
  text-align: center;
  font-size: .92rem;
}
.combo-table td:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.combo-table td:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.combo-table td img {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin: 0 auto 8px;
  border-radius: 4.75% / 3.5%;
  box-shadow: 0 6px 16px rgba(0,0,0,.18);
  transition: transform .25s var(--ease);
}
.combo-table td a:hover img { transform: translateY(-4px) scale(1.02); }
.combo-table td:nth-child(2) strong {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.combo-table td:nth-child(3) img { max-width: 150px; }
.combo-table td:last-child strong { color: var(--teal); }
.combo-table sub { vertical-align: baseline; font-size: .78rem; color: #4a5a58; }

/* Indice finale */
.index-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(4,90,84,.08);
  font-size: .95rem;
}
.index-table th {
  background: var(--teal);
  color: #fff;
  text-align: left;
  padding: 10px 14px;
}
.index-table td { padding: 8px 14px; border-top: 1px solid rgba(4,90,84,.08); }
.index-table tbody tr:nth-child(even) { background: var(--cream); }

.article-back { margin-top: 56px; text-align: center; }

/* Mobile: ogni combo diventa una scheda */
@media (max-width: 700px) {
  .article-intro { padding: 18px; }
  .combo-table, .combo-table tbody { display: block; }
  .combo-table thead { display: none; }
  .combo-table tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    grid-template-areas:
      "base plus result"
      "sheet sheet sheet";
    align-items: center;
    gap: 8px;
    border-radius: var(--radius);
    padding: 12px;
    margin-bottom: 16px;
  }
  .combo-table td { padding: 0; border-radius: 0 !important; font-size: .82rem; }
  .combo-table td:nth-child(1) { grid-area: base; }
  .combo-table td:nth-child(2) { grid-area: plus; }
  .combo-table td:nth-child(3) {
    grid-area: sheet;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    border-top: 1px dashed rgba(4,90,84,.2) !important;
    padding-top: 10px;
  }
  .combo-table td:nth-child(3) img { max-width: 64px; margin: 0; }
  .combo-table td:nth-child(3) br { display: none; }
  .combo-table td:nth-child(4) { grid-area: result; }
  .combo-table td:nth-child(2) strong { padding: 6px 10px; font-size: .8rem; white-space: normal; }
  .index-table { font-size: .85rem; }
  .index-table th, .index-table td { padding: 6px 8px; }
}
