/* ============================================================
   Betmica Guide (betmica.to) - site overrides
   A Libertine Display serif carries the headings over a Carlito text
   column, each H2 is held by a bronze bracket at its left edge rather
   than an underscore, the key figure rows read as a bordered ledger
   with a bronze term column, and the step marker is a square bronze
   tab. None of that repeats the Biolinum column with a cyan underscore
   on amunbet.online, the Georgia pairing on the Tower sites or the
   condensed sans on loonie-gold.casino.
   ============================================================ */
:root {
  --font-display: "Linux Libertine Display O", "Linux Libertine O", "Constantia", "Cambria", "Nimbus Roman", Georgia, serif;
  --font-body: "Carlito", "Calibri", "Lato", "DejaVu Sans", system-ui, sans-serif;
  --font-mono: "Nimbus Mono PS", "DejaVu Sans Mono", "Courier New", monospace;
}

body {
  letter-spacing: 0.002em;
  font-size: 1.045rem;
  line-height: 1.78;
}

/* Headings: serif, held by a bronze bracket on the left */
.content-section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.55rem, 1.15rem + 1.5vw, 2.15rem);
  letter-spacing: 0.004em;
  line-height: 1.22;
  text-transform: none;
  border-bottom: 0;
  padding: 2px 0 2px 22px;
  margin-bottom: 24px;
  border-left: 5px solid var(--color-accent-secondary);
}
.content-section h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.004em;
  margin-top: 36px;
  padding-left: 0;
}
.content-section h4 {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.94rem;
}
.hero h1,
.site-footer h5,
.stats-bar__inner .stat__value,
.cta-banner h2 {
  font-family: var(--font-display);
}
.cta-banner h2 { border-left: 0; padding-left: 0; }

/* Square bronze tab the content sets as <span class="step">Route 2</span> */
.step {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.66em;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #17120a;
  background: var(--color-accent-secondary);
  border-radius: 2px;
  padding: 4px 12px;
  margin-bottom: 10px;
}

/* Key figures read as a ledger: bronze term column, hairline rows */
.figure-rows {
  display: grid;
  gap: 0;
  margin: 26px 0 30px;
  border: 1px solid var(--color-border-2);
  border-left: 4px solid var(--color-accent-secondary);
  border-radius: 0 6px 6px 0;
  overflow: hidden;
  background: var(--color-surface-alt);
}
.figure-row {
  display: grid;
  grid-template-columns: 238px 1fr;
  gap: 22px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--color-border);
}
.figure-row:nth-child(even) { background: rgba(200, 164, 90, 0.055); }
.figure-row:last-child { border-bottom: 0; }
.figure-row dt,
.figure-row .fr-term {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent-secondary);
  margin: 0;
  padding-top: 2px;
}
.figure-row dd,
.figure-row .fr-desc {
  margin: 0;
  color: var(--color-text-muted);
}
@media (max-width: 720px) {
  .figure-row { grid-template-columns: 1fr; gap: 5px; }
}

/* Callout for the sums worth checking twice */
.money-note {
  border: 1px solid var(--color-border-2);
  border-left: 4px solid var(--color-accent);
  background: var(--color-surface-2);
  padding: 18px 22px;
  margin: 26px 0;
  border-radius: 0 6px 6px 0;
}
.money-note p:last-child { margin-bottom: 0; }
.money-note strong { color: var(--color-accent); }

/* Tables: bronze header band */
.content-section table th {
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-text);
  background: rgba(200, 164, 90, 0.13);
  border-bottom: 2px solid var(--color-accent-secondary);
}
.content-section table td,
.content-section table th {
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
}
.content-section table caption {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--color-text-muted);
}

/* Supplied artwork sits beside the text column it belongs to */
.section-illus--transparent { max-width: 318px; }
@media (max-width: 900px) {
  .section-illus--transparent { max-width: 272px; }
}
.section-illus--compact { max-width: 224px; }
@media (max-width: 900px) {
  .section-illus--compact { max-width: 198px; }
}

/* Question blocks */
.faq-item {
  margin-bottom: 20px;
  padding-left: 16px;
  border-left: 2px solid var(--color-border-2);
}
.faq-item h4 { margin-bottom: 8px; color: var(--color-accent); text-transform: none; letter-spacing: 0.01em; font-size: 1.02rem; }
.faq-item p:last-child { margin-bottom: 0; }

/* ============================================================
   Stats band. The shared stylesheet only targets .stats-bar__grid
   while home.php emits .stats-bar__inner, so the six figures fall
   into one column unless they are laid out here.
   ============================================================ */
.stats-bar {
  background: var(--color-surface-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-accent-secondary);
}
.stats-bar__inner {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
}
.stats-bar__inner .stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 0 1.25rem;
  border-left: 1px solid var(--color-border);
}
.stats-bar__inner .stat:first-child {
  padding-left: 0;
  border-left: 0;
}
.stats-bar__inner .stat__value {
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
  color: var(--color-accent);
}
.stats-bar__inner .stat__label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  line-height: 1.45;
  letter-spacing: 0.05em;
  margin-top: 0;
}
@media (max-width: 1100px) {
  .stats-bar__inner { grid-template-columns: repeat(3, 1fr); row-gap: 1.75rem; }
  .stats-bar__inner .stat:nth-child(3n+1) { padding-left: 0; border-left: 0; }
}
@media (max-width: 600px) {
  .stats-bar__inner { grid-template-columns: repeat(2, 1fr); row-gap: 1.5rem; }
  .stats-bar__inner .stat { padding: 0 0.85rem; }
  .stats-bar__inner .stat:nth-child(3n+1) { padding-left: 0.85rem; border-left: 1px solid var(--color-border); }
  .stats-bar__inner .stat:nth-child(2n+1) { padding-left: 0; border-left: 0; }
  .stats-bar__inner .stat__value { font-size: 1.28rem; }
}

@media (max-width: 700px) {
  .content-section table { font-size: 0.8125rem; }
  .content-section table th,
  .content-section table td { padding: 0.55rem 0.5rem; }
}

/* wide tables scroll sideways on narrow screens instead of pushing
   their last columns past the viewport edge */
@media (max-width: 760px) {
  .content-section table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .content-section table thead,
  .content-section table tbody,
  .content-section table tr { width: 100%; }
}

/* ============================================================
   Reading measure next to a floated illustration.
   base.css caps p/li at 72ch, which is right for a plain column
   but leaves only a sliver of text beside a 318px float. Allow the
   extra float width back so wrapped lines stay readable.
   ============================================================ */
.content-section p,
.content-section li {
  max-width: calc(72ch + 350px);
}
@media (max-width: 900px) {
  .content-section p,
  .content-section li {
    max-width: 72ch;
  }
}

/* Long German compounds in the headline must not push past the phone edge. */
@media (max-width: 520px) {
  .hero h1 { font-size: clamp(1.55rem, 8.2vw, 2.3rem); letter-spacing: 0; }
}
