/* ============================================================
   GambleGorilla Casino Guide (gamblegorilla1.com) - site overrides
   Nimbus Sans in condensed weight carries the headings over a
   Liberation Sans reading column. Each H2 is marked by a horizontal
   accent underline in the cyan-teal, and the key figure rows are
   striped in a faint teal. Section anchors sit closer to a jungle
   camp field notebook than to the throne-room voice of kingia.games.
   Palette variables come from $THEME in config.php; only fonts,
   spacing and marker treatments live here.
   ============================================================ */
:root {
  --font-display: "Nimbus Sans", "Liberation Sans", "DejaVu Sans", Arial, sans-serif;
  --font-body: "Liberation Sans", "DejaVu Sans", "Nimbus Sans", Arial, sans-serif;
  --font-mono: "Liberation Mono", "DejaVu Sans Mono", "Courier New", monospace;
}

body {
  letter-spacing: 0;
  font-size: 1.04rem;
  line-height: 1.72;
}

/* Headings: condensed sans, teal underline instead of a coloured bar */
.content-section h2 {
  clear: both;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 1.15rem + 1.35vw, 2rem);
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin: 2.2rem 0 1rem;
  padding-bottom: 0.55rem;
  border-bottom: 2px solid var(--color-accent);
  color: var(--color-text);
}
.content-section h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.15rem, 0.95rem + 0.6vw, 1.35rem);
  color: var(--color-accent-hover);
  margin: 1.6rem 0 0.7rem;
  letter-spacing: 0.01em;
}

/* Field notebook feel for figure tables */
.figure-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2rem 0 1.8rem;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}
.figure-table th,
.figure-table td {
  padding: 0.72rem 0.9rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}
.figure-table thead th {
  background: var(--color-surface-2);
  color: var(--color-accent);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.86rem;
}
.figure-table tbody tr:nth-child(even) {
  background: rgba(44, 224, 208, 0.045);
}

/* Horizontal-scroll wrapper for wide tables on narrow viewports */
.table-wrap {
  clear: both;
  width: 100%;
  overflow-x: auto;
  margin: 1.4rem 0 2rem;
  border-radius: 6px;
}
.table-wrap .figure-table {
  margin: 0;
  min-width: 640px;
}
.figure-table caption {
  caption-side: top;
  text-align: left;
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
  padding: 0 0 0.6rem 0;
}

/* Body copy spacing for auto-wrapped body_html on the home page */
.body-copy p {
  margin: 0 0 1.05rem;
}
.body-copy p + p {
  margin-top: 0;
}
.body-copy h2 {
  clear: both;
}
.body-copy h3 {
  clear: both;
}
.body-copy ul,
.body-copy ol {
  margin: 0 0 1.2rem 1.3rem;
}
.body-copy li {
  margin: 0.3rem 0;
}

/* Callout box: two thin cyan rules top and bottom */
.callout {
  margin: 1.4rem 0;
  padding: 1rem 1.1rem;
  background: var(--color-surface);
  border-top: 2px solid var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
  color: var(--color-text);
}
.callout strong {
  color: var(--color-accent-hover);
}

/* Section image placement, borrowing left/right flow from the theme spec */
.section-photo {
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: var(--color-surface-2);
  padding: 6px;
  max-width: 100%;
  height: auto;
}
.section-photo--right { float: right; margin: 0 0 1rem 1.3rem; max-width: 46%; }
.section-photo--left  { float: left;  margin: 0 1.3rem 1rem 0;  max-width: 46%; }
@media (max-width: 720px) {
  .section-photo--left,
  .section-photo--right {
    float: none;
    margin: 1rem auto;
    display: block;
    max-width: 100%;
  }
}

/* Anchor scroll offset so sticky header does not cover section heads */
section[id] { scroll-margin-top: 88px; }

/* Provider and payment method pills */
.chip-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.8rem 0 1.4rem; }
.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 0.86rem;
  color: var(--color-text);
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}
.chip--accent {
  border-color: var(--color-accent);
  color: var(--color-accent-hover);
  background: rgba(44, 224, 208, 0.08);
}
