/* ==================================================================
   towercasino.it.com - foglio di sito, caricato per ultimo
   dopo base.css, style.css e theme4.css.

   Obiettivo: un guscio che si legga diversamente dai siti fratelli
   di Tower Casino, restando sugli stessi renderer collaudati.

   1. Navigazione a sinistra e larga, con etichetta in maiuscoletto.
   2. Titoli in serif, corpo in sans: nessun fratello lo fa.
   3. Numero di voce in un quadrato di ottone dentro l'h2.
   4. Righe di listino con guida puntinata, termine a sinistra e
      prezzo a destra.
   5. Fondo grafite caldo, accento terracotta, ottone come secondo
      colore, pulsante cremisi.
   ================================================================== */

:root {
  --font-display: Georgia, 'Iowan Old Style', 'Palatino Linotype', 'Times New Roman', serif;
  --font-body: 'Segoe UI', 'Noto Sans', 'DejaVu Sans', system-ui, -apple-system, sans-serif;
  --it-leader: rgba(201, 164, 92, 0.42);
}

/* ---- 1. Colonna di navigazione a sinistra, piu larga ------------ */
@media (min-width: 1025px) {
  .wi-shell {
    grid-template-columns: 288px 1fr;
    grid-template-areas: "sidebar main";
  }
  .wi-sidebar {
    border-left: 0;
    border-right: 1px solid var(--color-border, #39344a);
  }
  .wi-main {
    min-width: 0;
    margin-inline: auto;
  }
}

.wi-sidebar__nav-label {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-size: 0.68rem;
  color: var(--color-accent-secondary, #c9a45c);
}

/* ---- 2. Titoli in serif ----------------------------------------- */
h1, h2, h3, h4,
.hero h1,
.page-hero h1,
.wi-hero__title,
.wi-page-header h1,
.content-section h2,
.content-section h3,
.wi-seo__heading,
.wi-games-tabs__title,
.wi-payments__title,
.wi-faq__title,
.wi-faq-item__question,
.wi-cta-banner__title,
.wi-banking__title,
.section-title,
.seo-content h2,
.seo-content h3,
.faq-accordion__question {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.005em;
  hyphens: none;
}

h1, .wi-page-header h1, .wi-hero__title { line-height: 1.18; }
h2 { line-height: 1.26; }
h3 { line-height: 1.3; font-size: 1.16rem; }

.wi-main p,
.wi-main li,
.wi-main td,
.wi-main th {
  font-family: var(--font-body);
  hyphens: none;
  overflow-wrap: break-word;
}

.wi-page-header__eyebrow,
.wi-hero__eyebrow,
.wi-footer__col-label {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* Nessun marcatore quadrato e nessuna riga sotto i titoli: qui il
   segno distintivo e il quadrato di ottone con il numero di voce. */
.wi-main .content-section .container > h2,
.wi-main .seo-content h2 {
  border-bottom: 0;
  padding-bottom: 0;
  overflow: hidden;
}

/* ---- 3. Il numero di voce --------------------------------------- */
.voce {
  display: inline-block;
  vertical-align: 0.16em;
  margin-right: 14px;
  padding: 4px 9px 3px;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #17151b;
  background: var(--color-accent-secondary, #c9a45c);
  border-radius: 3px;
  white-space: nowrap;
}

/* ---- 4. Righe di listino con guida puntinata -------------------- */
.listino {
  margin: 1.6rem 0;
  padding: 0.9rem 1.15rem;
  background: var(--color-surface-alt, #1b1922);
  border: 1px solid var(--color-border, #39344a);
  border-radius: 10px;
}

.voce-listino {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0.5rem 0;
  border-bottom: 1px dotted var(--it-leader);
}
.voce-listino:last-child { border-bottom: 0; }

.vl-term {
  font-family: var(--font-body);
  font-size: 0.94rem;
  color: var(--color-text-muted, #bdb2b8);
}

.vl-prezzo {
  margin-left: auto;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--color-accent, #d2714f);
  text-align: right;
  white-space: nowrap;
}

/* ---- 5. Riquadro delle voci senza prezzo ------------------------ */
.senza-prezzo {
  margin: 1.7rem 0;
  padding: 1.15rem 1.3rem 1rem;
  background: linear-gradient(180deg, rgba(198, 43, 63, 0.09), rgba(198, 43, 63, 0));
  border: 1px solid rgba(198, 43, 63, 0.38);
  border-radius: 10px;
}
.senza-prezzo h3 {
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
  color: var(--color-text, #f3ede7);
}
.senza-prezzo ul { margin: 0; padding-left: 1.15rem; }
.senza-prezzo li { margin-bottom: 0.4rem; }

/* ---- 6. Nota in evidenza ---------------------------------------- */
p.nota {
  margin: 1.5rem 0;
  padding: 0.95rem 1.15rem;
  background: var(--color-surface, #211e28);
  border-left: 3px solid var(--color-accent-secondary, #c9a45c);
  border-radius: 0 8px 8px 0;
  font-size: 0.97rem;
  color: var(--color-text-muted, #bdb2b8);
}

/* ---- 7. Illustrazioni fornite, sfondo trasparente --------------- */
.illus {
  margin: 0 0 1.1rem;
  padding: 0;
  background:
    radial-gradient(116% 86% at 50% 16%, rgba(210, 113, 79, 0.11) 0%, rgba(210, 113, 79, 0) 64%);
  border-radius: 14px;
  filter: drop-shadow(0 14px 26px rgba(9, 7, 12, 0.6));
}
.illus img {
  display: block;
  width: 100%;
  height: auto;
}

@media (min-width: 761px) {
  .illus {
    width: 296px;
    max-width: 42%;
  }
  .illus--destra {
    float: right;
    margin-left: 1.9rem;
  }
  .illus--sinistra {
    float: left;
    margin-right: 1.9rem;
  }
}

@media (max-width: 760px) {
  .illus {
    width: 100%;
    max-width: 340px;
    margin-inline: auto;
    float: none;
  }
}

/* Le sezioni successive non devono salire accanto a un'immagine flottata. */
.wi-main .content-section .container::after {
  content: "";
  display: block;
  clear: both;
}

/* ---- 8. Testata: ricolorazione ---------------------------------- */
.wi-hero::before {
  background: linear-gradient(
    90deg,
    rgba(15, 13, 18, 0.94) 0%,
    rgba(33, 30, 40, 0.62) 54%,
    rgba(33, 30, 40, 0.12) 100%
  );
}

.wi-hero__eyebrow {
  color: var(--color-accent, #d2714f);
  border-color: rgba(210, 113, 79, 0.42);
  background: rgba(210, 113, 79, 0.08);
}

/* ---- 9. Barra fissa in basso ------------------------------------ */
.sticky-cta {
  background: rgba(15, 13, 18, 0.96);
  border-top: 1px solid var(--color-border-2, #524a68);
}
.sticky-cta__bonus {
  text-transform: none;
  letter-spacing: 0;
}

/* ---- 10. Dettagli d'accento ------------------------------------- */
.wi-sidebar__cta a { color: var(--color-cta-text, #fff4f2); }
.wi-pay { border-radius: 4px; }
blockquote, .wi-infobox { border-left: 3px solid var(--color-accent, #d2714f); }

/* ---- 11. Tabelle: leggibili anche su telefono ------------------- */
.wi-main table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}
.wi-main thead th {
  font-family: var(--font-body);
  text-align: left;
  font-size: 0.72rem;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--color-accent-secondary, #c9a45c);
  border-bottom: 1px solid var(--color-border-2, #524a68);
  padding: 0.6rem 0.7rem;
}
.wi-main tbody td {
  padding: 0.62rem 0.7rem;
  border-bottom: 1px dotted var(--it-leader);
  vertical-align: top;
}
.wi-main tbody tr:nth-child(odd) td {
  background: rgba(33, 30, 40, 0.55);
}

@media (max-width: 760px) {
  .wi-main table { display: block; overflow-x: auto; }
  .wi-main table thead,
  .wi-main table tbody { min-width: 34rem; }
}
