/* ============================================================
   AmunBet Guide (amunbet.online) - site overrides
   Nimbus Sans carries the headings over a Carlito text column, an
   electric yellow underscore runs beneath each H2 instead of a bar
   to its left, the key figure rows are ruled in the same yellow and
   the step chip is a rounded pill. Nothing in the pairing is shared
   with the Lato over Caladea on ember-bet.casino, the condensed sans
   over Gentium on loonie-gold.casino, the serif display on
   slot-lion.com.se or the Trebuchet column on drellabet.casino.
   ============================================================ */
:root {
  --font-display: "Linux Biolinum O", "Optima", "Segoe UI", "DejaVu Sans", Arial, sans-serif;
  --font-body: "Linux Biolinum O", "Optima", "Segoe UI", "DejaVu Sans", system-ui, sans-serif;
  --font-mono: "Linux Libertine Mono O", "DejaVu Sans Mono", "Courier New", monospace;
}

body {
  letter-spacing: 0;
  font-size: 1.03rem;
  line-height: 1.75;
}

/* Headings: Nimbus Sans, with a yellow rule underneath */
.content-section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.005em;
  line-height: 1.18;
  text-transform: none;
  padding-left: 0;
  padding-bottom: 12px;
  margin-bottom: 26px;
  border-bottom: 3px solid var(--color-cta);
}
.content-section h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.01em;
  margin-top: 34px;
}
.content-section h4 {
  font-family: var(--font-display);
  color: var(--color-text);
  letter-spacing: 0.02em;
}
.hero h1,
.site-footer h5,
.stats-bar__inner .stat__value,
.cta-banner h2 {
  font-family: var(--font-display);
}
.cta-banner h2 { border-bottom: 0; padding-bottom: 0; }

/* Square step chip the content sets as <span class="step">Step 3</span> */
.step {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68em;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-cta-text);
  background: var(--color-accent);
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 10px;
}

/* Two column key figure rows, gold hairlines */
.figure-rows {
  display: grid;
  gap: 0;
  margin: 24px 0 28px;
  border: 1px solid var(--color-border-2);
  border-radius: 6px;
  overflow: hidden;
  background: var(--color-surface-alt);
}
.figure-row {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 20px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--color-border);
}
.figure-row:nth-child(odd) { background: rgba(255, 190, 92, 0.05); }
.figure-row:last-child { border-bottom: 0; }
.figure-row dt,
.figure-row .fr-term {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.015em;
  color: var(--color-accent);
  margin: 0;
}
.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: 6px; }
}

/* Callout for the conditions worth doing arithmetic on */
.money-note {
  border: 1px solid var(--color-border-2);
  border-top: 3px solid var(--color-cta);
  background: var(--color-surface-2);
  padding: 18px 22px;
  margin: 26px 0;
  border-radius: 0 0 6px 6px;
}
.money-note p:last-child { margin-bottom: 0; }
.money-note strong { color: var(--color-accent); }

/* Tables */
.content-section table th {
  font-family: var(--font-display);
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.content-section table td,
.content-section table th {
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
}

/* Supplied artwork sits beside the text column */
.section-illus--transparent { max-width: 320px; }
@media (max-width: 900px) {
  .section-illus--transparent { max-width: 275px; }
}
.section-illus--compact { max-width: 225px; }
@media (max-width: 900px) {
  .section-illus--compact { max-width: 200px; }
}

/* FAQ blocks need air between the question and the answer */
.faq-item {
  margin-bottom: 20px;
  padding-left: 16px;
  border-left: 2px solid var(--color-border-2);
}
.faq-item h4 { margin-bottom: 8px; }
.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 we lay them out here.
   ============================================================ */
.stats-bar {
  background: var(--color-surface-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.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.5rem;
  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.25rem; }
}

@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 320px float. Allow
   the extra float width back so wrapped lines stay readable.
   ============================================================ */
.content-section p,
.content-section li {
  max-width: calc(72ch + 352px);
}
@media (max-width: 900px) {
  .content-section p,
  .content-section li {
    max-width: 72ch;
  }
}
