/* ============================================================
   AmunBet Reperes (amunbet.site) - site overrides
   A geometric URW Gothic sets every heading in caps over a neutral
   FreeSans column. Each H2 is announced by a thick apricot bar on its
   left rather than a rule underneath, the key figure rows run as a
   two tone list ruled in aqua, the step chip is a hard edged tag and
   the tables carry an apricot cap line. None of that is shared with
   the humanist column on the sister guide, the Lato over Caladea on
   ember-bet.casino, the condensed sans over Gentium on
   loonie-gold.casino or the Trebuchet column on drellabet.casino.
   ============================================================ */
:root {
  --font-display: "URW Gothic", "Century Gothic", "Futura", "Trebuchet MS", "DejaVu Sans", sans-serif;
  --font-body: "FreeSans", "Helvetica Neue", "Liberation Sans", "DejaVu Sans", system-ui, sans-serif;
  --font-mono: "FreeMono", "DejaVu Sans Mono", "Courier New", monospace;
}

body {
  letter-spacing: 0.004em;
  font-size: 1.0rem;
  line-height: 1.78;
}

/* Headings: geometric caps behind a thick apricot bar */
.content-section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.045em;
  line-height: 1.22;
  text-transform: uppercase;
  font-size: 1.62rem;
  padding-left: 20px;
  padding-bottom: 0;
  margin-bottom: 28px;
  border-bottom: 0;
  border-left: 7px solid var(--color-cta);
}
.content-section h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-accent-secondary);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 1.12rem;
  margin-top: 36px;
}
.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; border-left: 0; padding-left: 0; text-transform: none; letter-spacing: 0.01em; }
.hero h1 { text-transform: uppercase; letter-spacing: 0.02em; }

/* 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: 2px;
  padding: 4px 12px;
  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(111, 214, 208, 0.045); }
.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.05em;
  text-transform: uppercase;
  font-size: 0.86rem;
  color: var(--color-accent-secondary);
  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-left: 4px solid var(--color-accent-secondary);
  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 */
.content-section table th {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
}
.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: 2px 0 2px 16px;
  border-left: 2px solid var(--color-accent-secondary);
}
.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-family: var(--font-display);
  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.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;
  }
}
