/*
Theme Name: Running Total
Theme URI: https://emoneysave.com
Author: eMoneySave Editorial
Author URI: https://emoneysave.com
Description: An original digital-ledger and receipt-strip theme built for eMoneySave, an independent personal-finance education publication. Features ledger-line detailing, receipt-inspired article previews, tabular number styling, and modular financial checklists.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: running-total
Tags: blog, news, one-column, two-columns, custom-logo, custom-menu, featured-images, translation-ready, threaded-comments, block-styles, wide-blocks, accessibility-ready

Running Total is an original theme created for eMoneySave. It is not derived
from, and does not reuse, any layout, palette, or component from prior
eMoneySave-family projects.
*/

/* =========================================================
   0. DESIGN TOKENS
   ========================================================= */
:root{
  /* Palette */
  --rt-midnight:      #16213E;
  --rt-midnight-soft:  #1F2C4E;
  --rt-mint:           #8FD9C4;
  --rt-mint-deep:      #4FAE93;
  --rt-electric:       #2F6FED;
  --rt-electric-deep:  #1F4FB8;
  --rt-apricot:        #F4A672;
  --rt-apricot-deep:   #D9813F;
  --rt-cream:          #FBF7F0;
  --rt-cream-dim:      #F2ECE1;
  --rt-charcoal:       #262524;
  --rt-charcoal-soft:  #4A4844;
  --rt-line:           #D8D1C2;
  --rt-white:          #FFFFFF;

  /* Category accents (assigned per category, not hard-coded to content) */
  --rt-accent-budgeting:   var(--rt-electric);
  --rt-accent-saving:      var(--rt-mint-deep);
  --rt-accent-creditdebt:  var(--rt-apricot-deep);

  /* Type */
  --rt-font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", serif;
  --rt-font-body: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --rt-font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;

  /* Scale */
  --rt-radius-sm: 4px;
  --rt-radius-md: 8px;
  --rt-space-1: 0.5rem;
  --rt-space-2: 1rem;
  --rt-space-3: 1.5rem;
  --rt-space-4: 2.5rem;
  --rt-space-5: 4rem;
  --rt-max-width: 1180px;

  --rt-focus-ring: 3px solid var(--rt-electric);
}

/* =========================================================
   1. RESET & BASE
   ========================================================= */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
body{
  margin: 0;
  background: var(--rt-cream);
  color: var(--rt-charcoal);
  font-family: var(--rt-font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; height: auto; display: block; }
a{ color: var(--rt-electric-deep); text-decoration-thickness: 1.5px; }
a:hover{ color: var(--rt-midnight); }
h1, h2, h3, h4{
  font-family: var(--rt-font-display);
  color: var(--rt-midnight);
  line-height: 1.15;
  margin: 0 0 0.6em;
  font-weight: 600;
}
h1{ font-size: clamp(2rem, 4vw, 3rem); }
h2{ font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
h3{ font-size: 1.3rem; }
p{ margin: 0 0 1.1em; }
ul, ol{ padding-left: 1.4em; }
table{ width: 100%; border-collapse: collapse; }
.rt-mono, .rt-num{ font-family: var(--rt-font-mono); font-variant-numeric: tabular-nums; }

/* Skip link */
.skip-link{
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--rt-midnight); color: var(--rt-white);
  padding: 0.75em 1.25em; border-radius: 0 0 var(--rt-radius-sm) 0;
}
.skip-link:focus{ left: 0; }

/* Focus states -- kept strong and visible everywhere */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible{
  outline: var(--rt-focus-ring);
  outline-offset: 3px;
  border-radius: 2px;
}

.rt-container{
  max-width: var(--rt-max-width);
  margin: 0 auto;
  padding: 0 var(--rt-space-3);
}
.rt-visually-hidden{
  position: absolute !important;
  width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px,1px,1px,1px); white-space: nowrap;
}

/* =========================================================
   2. LEDGER-LINE MOTIF (shared structural device)
   ========================================================= */
.rt-ledger-rules{
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 2.05rem,
    var(--rt-line) 2.05rem,
    var(--rt-line) calc(2.05rem + 1px)
  );
}
.rt-ledger-divider{
  border: none;
  border-top: 1px solid var(--rt-line);
  margin: var(--rt-space-4) 0;
}
.rt-ledger-divider--heavy{
  border-top: 2px solid var(--rt-midnight);
}

/* =========================================================
   3. HEADER
   ========================================================= */
.rt-site-header{
  background: var(--rt-cream);
  border-bottom: 2px solid var(--rt-midnight);
  position: relative;
}
.rt-header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--rt-space-3);
  padding: var(--rt-space-2) 0;
}
.rt-branding{
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.rt-branding img.custom-logo{ max-height: 44px; width: auto; }
.rt-brand-text{ display: flex; flex-direction: column; line-height: 1.1; }
.rt-site-title{
  font-family: var(--rt-font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--rt-midnight);
  letter-spacing: -0.01em;
}
.rt-site-tagline{
  font-family: var(--rt-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rt-charcoal-soft);
}
.rt-primary-nav ul{
  list-style: none;
  display: flex;
  gap: var(--rt-space-3);
  margin: 0; padding: 0;
}
.rt-primary-nav a{
  color: var(--rt-midnight);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.4em 0.1em;
  border-bottom: 2px solid transparent;
}
.rt-primary-nav a:hover{ border-bottom-color: var(--rt-electric); }

.rt-menu-toggle{
  display: none;
  background: var(--rt-midnight);
  color: var(--rt-white);
  border: none;
  border-radius: var(--rt-radius-sm);
  padding: 0.55em 0.8em;
  font-size: 0.95rem;
  cursor: pointer;
}
@media (max-width: 780px){
  .rt-menu-toggle{ display: inline-flex; align-items: center; gap: 0.4em; }
  .rt-primary-nav{
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--rt-cream);
    border-bottom: 2px solid var(--rt-midnight);
    display: none;
  }
  .rt-primary-nav.is-open{ display: block; }
  .rt-primary-nav ul{ flex-direction: column; padding: var(--rt-space-2) var(--rt-space-3); gap: 0.2rem; }
}

/* =========================================================
   4. HERO -- "open ledger" signature element
   ========================================================= */
.rt-hero{
  background: var(--rt-midnight);
  color: var(--rt-cream);
  position: relative;
  overflow: hidden;
}
.rt-hero-inner{
  max-width: var(--rt-max-width);
  margin: 0 auto;
  padding: var(--rt-space-5) var(--rt-space-3) var(--rt-space-4);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--rt-space-4);
  align-items: center;
}
@media (max-width: 860px){ .rt-hero-inner{ grid-template-columns: 1fr; } }
.rt-hero-eyebrow{
  font-family: var(--rt-font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  color: var(--rt-mint);
  margin-bottom: 0.9em;
  display: block;
}
.rt-hero h1{ color: var(--rt-white); }
.rt-hero p{ color: #DCE3F2; font-size: 1.08rem; max-width: 34em; }
.rt-hero-actions{ display: flex; gap: 0.9rem; margin-top: var(--rt-space-2); flex-wrap: wrap; }
.rt-btn{
  display: inline-block;
  font-weight: 700;
  padding: 0.75em 1.4em;
  border-radius: var(--rt-radius-sm);
  text-decoration: none;
  border: 2px solid transparent;
  font-size: 0.95rem;
}
.rt-btn--primary{ background: var(--rt-mint); color: var(--rt-midnight); }
.rt-btn--primary:hover{ background: var(--rt-mint-deep); color: var(--rt-midnight); }
.rt-btn--ghost{ border-color: var(--rt-cream); color: var(--rt-cream); }
.rt-btn--ghost:hover{ background: rgba(255,255,255,0.1); color: var(--rt-white); }

/* Ledger panel: the receipt/ledger-page graphic beside the hero copy */
.rt-ledger-panel{
  background: var(--rt-cream);
  color: var(--rt-charcoal);
  border-radius: var(--rt-radius-md);
  padding: var(--rt-space-3);
  box-shadow: 0 20px 45px -20px rgba(0,0,0,0.45);
  font-family: var(--rt-font-mono);
  font-size: 0.85rem;
}
.rt-ledger-panel-title{
  font-family: var(--rt-font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--rt-midnight);
  margin-bottom: 0.75em;
}
.rt-ledger-row{
  display: flex;
  justify-content: space-between;
  padding: 0.5em 0;
  border-bottom: 1px dashed var(--rt-line);
}
.rt-ledger-row:last-child{ border-bottom: none; }
.rt-ledger-row .rt-ledger-label{ color: var(--rt-charcoal-soft); }
.rt-ledger-row .rt-ledger-value{ font-weight: 700; color: var(--rt-midnight); }

/* =========================================================
   5. RECEIPT-STYLE ARTICLE PREVIEWS
   ========================================================= */
.rt-receipt{
  background: var(--rt-white);
  border: 1px solid var(--rt-line);
  border-radius: var(--rt-radius-sm);
  position: relative;
  padding: var(--rt-space-3);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  height: 100%;
}
.rt-receipt::before{
  content: "";
  position: absolute;
  top: -1px; left: 0; right: 0; height: 6px;
  background-image: radial-gradient(circle at 6px 6px, transparent 3px, var(--rt-cream) 3.2px);
  background-size: 12px 12px;
  background-repeat: repeat-x;
}
.rt-receipt-cat{
  font-family: var(--rt-font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}
.rt-receipt h3{ margin: 0.1em 0 0.2em; font-size: 1.15rem; }
.rt-receipt h3 a{ color: var(--rt-midnight); text-decoration: none; }
.rt-receipt h3 a:hover{ color: var(--rt-electric-deep); }
.rt-receipt p{ color: var(--rt-charcoal-soft); font-size: 0.95rem; margin: 0; }
.rt-receipt-meta{
  margin-top: auto;
  font-family: var(--rt-font-mono);
  font-size: 0.75rem;
  color: var(--rt-charcoal-soft);
  border-top: 1px dashed var(--rt-line);
  padding-top: 0.6rem;
}
.rt-receipt-figure{ margin: -0.2rem -0.2rem 0.2rem; border-radius: 3px; overflow: hidden; }
.rt-receipt-figure img{ aspect-ratio: 16/10; object-fit: cover; }

/* Category accent border-left applied via modifier classes */
.rt-accent-budgeting{ border-left: 4px solid var(--rt-accent-budgeting); }
.rt-accent-saving{ border-left: 4px solid var(--rt-accent-saving); }
.rt-accent-creditdebt{ border-left: 4px solid var(--rt-accent-creditdebt); }

/* =========================================================
   6. SECTIONS / GRIDS
   ========================================================= */
.rt-section{ padding: var(--rt-space-5) 0; }
.rt-section--tight{ padding: var(--rt-space-4) 0; }
.rt-section--dim{ background: var(--rt-cream-dim); }
.rt-section-head{
  display: flex; align-items: baseline; justify-content: space-between;
  gap: var(--rt-space-2); margin-bottom: var(--rt-space-3); flex-wrap: wrap;
}
.rt-section-head .rt-eyebrow{
  font-family: var(--rt-font-mono); font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--rt-charcoal-soft); display: block; margin-bottom: 0.3em;
}
.rt-see-all{ font-weight: 700; font-size: 0.9rem; white-space: nowrap; }

.rt-grid-3{ display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--rt-space-3); }
.rt-grid-2{ display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--rt-space-3); }
@media (max-width: 900px){ .rt-grid-3{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px){ .rt-grid-3, .rt-grid-2{ grid-template-columns: 1fr; } }

/* Offset editorial feature panel */
.rt-feature-panel{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--rt-space-4);
  align-items: center;
  background: var(--rt-white);
  border: 1px solid var(--rt-line);
  border-radius: var(--rt-radius-md);
  padding: var(--rt-space-4);
}
.rt-feature-panel.rt-flip{ direction: rtl; }
.rt-feature-panel.rt-flip > *{ direction: ltr; }
@media (max-width: 860px){ .rt-feature-panel{ grid-template-columns: 1fr; direction: ltr; } }
.rt-feature-tag{
  font-family: var(--rt-font-mono); font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--rt-white); background: var(--rt-midnight);
  padding: 0.3em 0.6em; border-radius: 3px; display: inline-block; margin-bottom: 0.8em;
}

/* Horizontal article row (used in "Latest Articles") */
.rt-row-article{
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: var(--rt-space-2);
  align-items: center;
  padding: var(--rt-space-2) 0;
  border-bottom: 1px solid var(--rt-line);
}
.rt-row-article:last-child{ border-bottom: none; }
.rt-row-article img{ border-radius: 4px; aspect-ratio: 4/3; object-fit: cover; }
.rt-row-article h3{ font-size: 1.05rem; margin: 0 0 0.2em; }
.rt-row-article h3 a{ color: var(--rt-midnight); text-decoration: none; }
.rt-row-date{ font-family: var(--rt-font-mono); font-size: 0.78rem; color: var(--rt-charcoal-soft); white-space: nowrap; }
@media (max-width: 640px){
  .rt-row-article{ grid-template-columns: 84px 1fr; }
  .rt-row-date{ display: none; }
}

/* Comparison panel (tables) */
.rt-compare-table{
  width: 100%;
  border: 1px solid var(--rt-line);
  border-radius: var(--rt-radius-md);
  overflow: hidden;
  font-size: 0.95rem;
}
.rt-compare-table caption{
  text-align: left; font-family: var(--rt-font-display); font-weight: 700;
  padding: 0.8em 1em; background: var(--rt-midnight); color: var(--rt-white);
}
.rt-compare-table th, .rt-compare-table td{
  padding: 0.75em 1em; border-bottom: 1px solid var(--rt-line); text-align: left; vertical-align: top;
}
.rt-compare-table thead th{ background: var(--rt-cream-dim); font-family: var(--rt-font-mono); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; }
.rt-compare-table td.rt-num, .rt-compare-table th.rt-num{ font-family: var(--rt-font-mono); text-align: right; }
.rt-compare-table tr:last-child td{ border-bottom: none; }

/* Checklist -- calculator-key inspired boxes */
.rt-checklist{ list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.rt-checklist li{
  display: flex; gap: 0.75rem; align-items: flex-start;
  background: var(--rt-white); border: 1px solid var(--rt-line); border-radius: var(--rt-radius-sm);
  padding: 0.75em 0.9em;
}
.rt-checklist .rt-key{
  flex: 0 0 auto; width: 1.6em; height: 1.6em; border-radius: 4px;
  background: var(--rt-midnight); color: var(--rt-cream); font-family: var(--rt-font-mono);
  display: flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 700;
  box-shadow: 0 2px 0 rgba(0,0,0,0.15);
}

/* Definition / glossary compact blocks */
.rt-definition{
  border-left: 3px solid var(--rt-electric);
  padding: 0.2em 0 0.2em 1em;
  margin: 0 0 1em;
}
.rt-definition dt{ font-weight: 700; color: var(--rt-midnight); font-family: var(--rt-font-mono); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.03em; }
.rt-definition dd{ margin: 0.2em 0 0; color: var(--rt-charcoal-soft); }

/* Key takeaway box */
.rt-takeaway{
  background: var(--rt-cream-dim);
  border: 1px dashed var(--rt-charcoal-soft);
  border-radius: var(--rt-radius-md);
  padding: var(--rt-space-3);
  margin: var(--rt-space-3) 0;
}
.rt-takeaway-label{
  font-family: var(--rt-font-mono); font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.08em; font-weight: 700; color: var(--rt-midnight); display: block; margin-bottom: 0.5em;
}

/* Hypothetical example callout */
.rt-hypothetical{
  background: #FFF7EC;
  border-left: 4px solid var(--rt-apricot-deep);
  border-radius: 0 var(--rt-radius-sm) var(--rt-radius-sm) 0;
  padding: 0.9em 1.1em;
  margin: 1.2em 0;
  font-size: 0.96rem;
}
.rt-hypothetical strong{ color: var(--rt-apricot-deep); }

/* Disclaimer strip */
.rt-disclaimer{
  font-size: 0.85rem;
  color: var(--rt-charcoal-soft);
  border-top: 1px solid var(--rt-line);
  padding-top: 0.9em;
  margin-top: var(--rt-space-3);
}

/* Newsletter */
.rt-newsletter{
  background: var(--rt-midnight);
  color: var(--rt-cream);
  border-radius: var(--rt-radius-md);
  padding: var(--rt-space-4);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--rt-space-4);
  align-items: center;
}
@media (max-width: 780px){ .rt-newsletter{ grid-template-columns: 1fr; } }
.rt-newsletter h2{ color: var(--rt-white); }
.rt-newsletter p{ color: #DCE3F2; }
.rt-newsletter-form{ display: flex; gap: 0.6rem; flex-wrap: wrap; }
.rt-newsletter-form input[type="email"]{
  flex: 1 1 220px; padding: 0.75em 1em; border-radius: var(--rt-radius-sm); border: none; font-size: 1rem;
}
.rt-newsletter-privacy{ font-size: 0.8rem; margin-top: 0.6em; color: #B9C3DE; }
.rt-newsletter-privacy a{ color: var(--rt-mint); }

/* =========================================================
   7. SINGLE POST
   ========================================================= */
.rt-article-header{ padding: var(--rt-space-4) 0 var(--rt-space-2); }
.rt-article-meta{
  font-family: var(--rt-font-mono); font-size: 0.8rem; color: var(--rt-charcoal-soft);
  display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 0.6em;
}
.rt-article-meta .rt-cat-pill{
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 0.15em 0.55em; border-radius: 3px; color: var(--rt-white);
}
.rt-cat-pill.rt-accent-budgeting{ background: var(--rt-accent-budgeting); border-left: none; }
.rt-cat-pill.rt-accent-saving{ background: var(--rt-accent-saving); border-left: none; }
.rt-cat-pill.rt-accent-creditdebt{ background: var(--rt-accent-creditdebt); border-left: none; }
.rt-article-body{ max-width: 42em; }
.rt-article-body h2{ margin-top: 1.6em; }
.rt-article-body h3{ margin-top: 1.2em; }
.rt-article-body figure{ margin: 1.6em 0; }
.rt-article-body figcaption{ font-size: 0.85rem; color: var(--rt-charcoal-soft); margin-top: 0.4em; }
.rt-sources{ font-size: 0.9rem; }
.rt-sources ol{ padding-left: 1.2em; }
.rt-post-nav{
  display: flex; justify-content: space-between; gap: var(--rt-space-2);
  border-top: 1px solid var(--rt-line); border-bottom: 1px solid var(--rt-line);
  padding: var(--rt-space-2) 0; margin: var(--rt-space-3) 0;
}
.rt-post-nav a{ text-decoration: none; font-weight: 600; }
.rt-post-nav .rt-nav-label{ display: block; font-family: var(--rt-font-mono); font-size: 0.72rem; text-transform: uppercase; color: var(--rt-charcoal-soft); margin-bottom: 0.2em; }

/* =========================================================
   8. ARCHIVE / CATEGORY
   ========================================================= */
.rt-archive-hero{ padding: var(--rt-space-4) 0; border-bottom: 1px solid var(--rt-line); }
.rt-archive-hero .rt-eyebrow{ font-family: var(--rt-font-mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; }
.rt-pagination{ display: flex; gap: 0.6rem; justify-content: center; margin: var(--rt-space-4) 0; flex-wrap: wrap; }
.rt-pagination a, .rt-pagination span{
  padding: 0.5em 0.9em; border: 1px solid var(--rt-line); border-radius: var(--rt-radius-sm); text-decoration: none; font-family: var(--rt-font-mono); font-size: 0.9rem;
}
.rt-pagination .current{ background: var(--rt-midnight); color: var(--rt-white); border-color: var(--rt-midnight); }
.rt-empty-state{
  text-align: center; padding: var(--rt-space-5) var(--rt-space-2); color: var(--rt-charcoal-soft);
}

/* =========================================================
   9. FOOTER
   ========================================================= */
.rt-site-footer{
  background: var(--rt-cream-dim);
  border-top: 2px solid var(--rt-midnight);
  padding: var(--rt-space-4) 0 var(--rt-space-3);
  margin-top: var(--rt-space-5);
}
.rt-footer-grid{
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--rt-space-4);
}
@media (max-width: 780px){ .rt-footer-grid{ grid-template-columns: 1fr; } }
.rt-footer-brand{ font-family: var(--rt-font-display); font-weight: 700; font-size: 1.25rem; color: var(--rt-midnight); margin-bottom: 0.4em; }
.rt-footer-desc{ color: var(--rt-charcoal-soft); font-size: 0.92rem; max-width: 32em; }
.rt-footer-heading{ font-family: var(--rt-font-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--rt-charcoal-soft); margin-bottom: 0.6em; }
.rt-footer-links{ list-style: none; padding: 0; margin: 0; display: grid; gap: 0.45rem; }
.rt-footer-links a{ color: var(--rt-midnight); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.rt-footer-links a:hover{ color: var(--rt-electric-deep); }
.rt-footer-bottom{
  border-top: 1px solid var(--rt-line); margin-top: var(--rt-space-3); padding-top: var(--rt-space-2);
  font-size: 0.82rem; color: var(--rt-charcoal-soft);
}
.rt-footer-disclaimer{ margin-top: 0.5em; max-width: 60em; }

/* =========================================================
   10. WORDPRESS CORE / ACCESSIBILITY UTILITIES
   ========================================================= */
.alignleft{ float: left; margin: 0.4em 1.4em 0.8em 0; }
.alignright{ float: right; margin: 0.4em 0 0.8em 1.4em; }
.aligncenter{ display: block; margin: 1em auto; }
.wp-caption-text, .gallery-caption{ font-size: 0.85rem; color: var(--rt-charcoal-soft); }
.sticky{ outline: 2px dashed var(--rt-mint-deep); }
.gallery{ display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0.6rem; }

/* =========================================================
   11. BREADCRUMBS, CATEGORY INTRO, ADMIN NOTICES, COMMENTS
   ========================================================= */
.rt-breadcrumbs{
  font-family: var(--rt-font-mono);
  font-size: 0.78rem;
  color: var(--rt-charcoal-soft);
  margin-bottom: var(--rt-space-2);
}
.rt-breadcrumbs a{ color: var(--rt-charcoal-soft); text-decoration: none; }
.rt-breadcrumbs a:hover{ color: var(--rt-electric-deep); }
.rt-breadcrumb-sep{ margin: 0 0.3em; }

.rt-category-intro{ max-width: 46em; color: var(--rt-charcoal-soft); margin-top: 0.6em; }

.rt-admin-notice{
  background: #FFF3CD;
  color: #6B5300;
  border: 1px dashed #C9A227;
  border-radius: 3px;
  padding: 0.1em 0.5em;
  font-size: 0.78rem;
}

.rt-comments{ max-width: 42em; margin: var(--rt-space-4) auto 0; }
.rt-comment-list{ list-style: none; padding: 0; margin: var(--rt-space-2) 0; }
.rt-comment-list .children{ list-style: none; margin-left: var(--rt-space-3); padding-left: var(--rt-space-2); border-left: 1px solid var(--rt-line); }
.rt-comment-list > li{ border-bottom: 1px solid var(--rt-line); padding: var(--rt-space-2) 0; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea{
  width: 100%;
  padding: 0.7em 0.9em;
  border: 1px solid var(--rt-line);
  border-radius: var(--rt-radius-sm);
  font-family: var(--rt-font-body);
  margin-bottom: 0.8em;
}
