/*
Theme Name: Coldbox Child
Template: coldbox
*/

:root {

  /* Palette: Northern Vein (Option 3) */
  --au-color-bg: #F4F3EE;
  --au-color-surface: #EAE7DA;
  --au-color-text: #1E1C1A;
  --au-color-text-muted: #55534E;
  --au-color-gold: #CE9F3B;
  --au-color-rust: #BE532A;
  --au-color-slate: #2B6B76;
  --au-color-border: #DAD5C4;

  /* Typography */
  --au-font-body: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --au-font-heading: "Fraunces", Georgia, "Times New Roman", serif;
  --au-font-mono: "IBM Plex Mono", "Courier New", monospace;
 
  --au-font-size-base: 18px;
  /* Never smaller than 14px, and never smaller than 0.8x the base size */
  --au-font-size-small: max(14px, calc(var(--au-font-size-base) * 0.85));
  --au-line-height-base: 1.7;
 
  --au-radius: 3px;
}
 
/* Base */
body {
  background-color: var(--au-color-bg);
  color: var(--au-color-text);
  font-family: var(--au-font-body);
}
 
.entry-inner p,
.entry-inner li {
  font-size: var(--au-font-size-base);
  line-height: var(--au-line-height-base);
}
 
.entry-inner h2,
.entry-inner h3,
.entry-inner h4 {
  font-family: var(--au-font-heading);
  color: var(--au-color-text);
  line-height: 1.25;
}
 
.entry-inner h2 {
  font-size: 32px;
  margin-top: 44px;
}
 
.entry-inner h3 {
  font-size: 22px;
  margin-top: 28px;
}
 
.entry-inner a {
  color: var(--au-color-slate);
  text-decoration-color: var(--au-color-gold);
  text-decoration-thickness: 2px;
}
 
/* Disclaimers / fine print (source notes, domain history notes) */
.au-disclaimer p {
  font-size: var(--au-font-size-small);
  color: var(--au-color-text-muted);
}
 
.au-disclaimer {
  border-top: 1px solid var(--au-color-border);
  padding-top: 20px;
  margin-top: 24px;
}
 
/* ---------------------------------------------
   Signature device 1: Core Sample divider
   Replaces the default <hr> with a banded
   stratum graphic (rock-core cross-section).
--------------------------------------------- */
.wp-block-separator {
  border: none;
  height: 10px;
  margin: 48px auto;
  max-width: 640px;
  border-radius: 6px;
  opacity: 0.9;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--au-color-gold) 12%,
    var(--au-color-rust) 38%,
    var(--au-color-slate) 62%,
    var(--au-color-gold) 88%,
    transparent 100%
  );
}
 
/* ---------------------------------------------
   Signature device 2: Field Tag quote
   Pull-quotes styled like a specimen tag.
--------------------------------------------- */
.wp-block-quote {
  position: relative;
  background: var(--au-color-surface);
  border: 1px dashed var(--au-color-border);
  border-left: 4px solid var(--au-color-gold);
  border-radius: var(--au-radius);
  padding: 24px 28px;
  margin: 40px 0;
  transform: rotate(-0.4deg);
}
 
.wp-block-quote p {
  font-family: var(--au-font-heading);
  font-style: italic;
  font-size: 20px;
  line-height: 1.5;
  color: var(--au-color-text);
  margin: 0;
}
 
.wp-block-quote cite {
  display: block;
  margin-top: 14px;
  font-family: var(--au-font-mono);
  font-style: normal;
  font-size: var(--au-font-size-small);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--au-color-slate);
}
 
/* ---------------------------------------------
   Signature device 3: Assay figure highlight
   Wraps existing key figures inline (no new
   copy added, only <mark> around source text).
--------------------------------------------- */
mark.au-figure {
  background: none;
  color: var(--au-color-text);
  font-weight: 700;
  border-bottom: 2px solid var(--au-color-gold);
  padding: 0 0.15em;
}
 
/* Lede intro paragraph */
.au-lede p:first-child::first-letter {
  font-family: var(--au-font-heading);
  font-size: 51px;
  float: left;
  line-height: 0.82;
  padding-right: 8px;
  color: var(--au-color-gold);
}
 
/* Changelog card ("What changed" list wrapper) */
.au-changelog {
  background: var(--au-color-surface);
  border-left: 3px solid var(--au-color-slate);
  border-radius: var(--au-radius);
  padding: 4px 32px 24px;
}
 
/* Commodity briefing grid cards */
.au-commodity-card {
  border-top: 3px solid var(--au-color-rust);
  padding-top: 12px;
}
 
/* Tables
   .entry-inner prefix + !important on the properties that affect
   legibility: the parent theme has its own table CSS that otherwise
   overrides font-size and header colors (invisible header, undersized
   cell text). */
.entry-inner .wp-block-table table {
  border-collapse: collapse;
  width: 100%;
}
 
.entry-inner .wp-block-table td,
.entry-inner .wp-block-table th {
  font-size: var(--au-font-size-base) !important;
  line-height: var(--au-line-height-base);
}
 
.entry-inner .wp-block-table thead,
.entry-inner .wp-block-table thead tr {
  background: var(--au-color-text) !important;
}
 
.entry-inner .wp-block-table thead th {
  background: var(--au-color-text) !important;
  color: var(--au-color-bg) !important;
  border-color: var(--au-color-text) !important;
  font-weight: 600;
  padding: 12px 16px;
  text-align: left;
}
 
.entry-inner .wp-block-table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--au-color-border);
}
 
.entry-inner .wp-block-table tbody tr:nth-child(even) {
  background: var(--au-color-surface);
}
 
/* Images */
.au-hero-image img,
.au-side-image img {
  border-radius: var(--au-radius);
  box-shadow: 0 12px 28px rgba(34, 31, 27, 0.18);
}
 