/* RD: bump footnote text size for readability — placed at top to avoid late-file parse errors */
html body.single .rd-footnotes,
html body.single .rd-footnotes p,
html body.single .rd-footnotes ol,
html body.single .rd-footnotes li {
  font-size: 18px !important;
  line-height: 1.6 !important;
}
@media (max-width: 768px){
  html body.single .entry-content .rd-footnotes,
  html body.single .entry-content .rd-footnotes p,
  html body.single .entry-content .rd-footnotes ol,
  html body.single .entry-content .rd-footnotes li {
    font-size: 16px !important;
  }
}
/* RD: match single-post article reading width to page width (override rd-reading-width 750px pin). Tech Log #140. */
html body.single #primary,
html body.single .site-main,
html body.single .entry-content {
  max-width: 900px !important;
}

/* =========================================================
   REFORMED DOGMATIKA — rd-header-search alignment fix
   Added 2026-04-30. Astra's right header section structurally
   overflows the row by ~80px, pushing the custom search form
   off the right edge below ~1760px viewports. We pull the form
   back inside, and clip the row so it never causes a horizontal
   scrollbar. Logo, menu, and header background untouched.
   Placed at the TOP of Additional CSS to ensure the parser
   reaches it; !important is needed to override existing
   rd-header-search-css declarations.
   ========================================================= */
@media (min-width: 922px){
  #rd-header-search {
    right: 151px !important;
  }
  .ast-builder-grid-row {
    overflow-x: clip !important;
  }
}

/* =========================================================
   REFORMED DOGMATIKA — ADDITIONAL CSS
   Maintained by Anthony Faggiano · Reorganized 2026-07-12 (structural refactor, zero visual change)
   
   ZONE MAP
     ZONE A (above this header) · forced-to-top fixes. Do not move.
     ZONE B · original core system, sections RD S1–S8.
     ZONE C · dated override layers C01–C74, chronological.
              Source order is the winning mechanism: NEVER reorder blocks.
     ZONE D (end of file) · position-locked tail: rdcl link rules,
              rd-mobile20-sitewide (#346), RD QUOTE-CARD GUARD (#348).
              Nothing may ever be appended AFTER Zone D except by design.
   
   EDITING RULES (Tech Log #37/#173/#222/#339/#346/#366)
     1. New overrides are appended at the END of Zone C, as a named,
        dated, fenced comment block (the block is the rollback unit).
     2. Intentional repeat-selector cascade layers are sanctioned;
        later layers override earlier ones by source order. Do not merge.
     3. Verify brace balance before every save; a stray brace eats the
        next rule silently.
     4. Save via wp.customize('custom_css[astra]').set() + previewer.save();
        dry-run with new CSSStyleSheet().replaceSync() and compare rule
        counts; back up the full box to a draft page first.
     5. Rules marked LANDMINE must not be edited, moved, or "simplified."
   
   TABLE OF CONTENTS — ZONE C BLOCKS
     C01 · RD S8 — Mobile header cleanup + link color reset
     C02 · RD BRAND UNIFIER — replace legacy hard-coded blues
     C03 · Reformed Dogmatika Premium Search Bar — FINAL (clickable icon)
     C04 · Reformed Dogmatika – Slogan Widget (Cleaned)
     C05 · Reformed Dogmatika Feature Cards (Sidebar)
     C06 · OUR CONTRIBUTORS – Reformed Dogmatika Sidebar Widget
     C07 · REFORMED QUOTE OF THE DAY WIDGET (RD Palette)
     C08 · RD SUBSCRIBE WIDGET — Full RD Palette + Clean Formatting
     C09 · RD Categories Widget Styling (RD Palette)
     C10 · Reformed Dogmatika Style — RDS2
     C11 · REFORMED DOGMATIKA – SINGLE POST LAYOUT & TYPOGRAPHY
     C12 · FIX & STYLE: "Guidelines For Writing" page
     C13 · RD Styling: Guidelines For Writing Page
     C14 · Standardize page width to RD article width
     C15 · Reformed Dogmatika • Page Typography Match
     C16 · RD FIX — MOBILE ARCHIVE TITLES RESTORED
     C17 · RD – Our Contributors page mobile fix (page-id-10758)
     C18 · RD – FINAL mobile fix for "Our Contributors" page
     C19 · RD – Contributors tagline layout
     C20 · RD – Contributors tagline layout
     C21 · RD – Global Astra/mobile safety for narrow content
     C22 · RD – FINAL Mobile Styling for Contributor Bio Cards
     C23 · REFORMED DOGMATIKA — HOUSE STYLE
     C24 · RD UNIVERSAL PAGE TITLE
     C25 · RD STATIC PAGE TYPOGRAPHY
     C26 · RD Recommended Articles – Gold Standard Upgrade
     C27 · RD Subscribe Section (Universal Block)
     C28 · RD Homepage Slogan
     C29 · RD – Quote of the Day: Fade-in
     C30 · RD Lord’s Supper Widget Styling
     C31 · RD Gospel Widget — Post Tenebras Lux
     C32 · Reformed Dogmatika Featured Widget (RD Feature Card)
     C33 · RD Catechism Callout (Reusable Standard)
     C34 · RD Catechism Callout – Hard Overrides
     C35 · REFORMED DOGMATIKA — MOBILE TYPOGRAPHY — POSTS + PAGES (GOLD STANDARD)
     C36 · RD — PAGES ONLY: Fix ultra-narrow mobile width + ugly word breaks
     C37 · FLUID TITLE SIZE (POSTS + PAGES)
     C38 · RD — MOBILE WORD BREAK CONTROL (ASTRA / iOS SAFE FIX)
     C39 · RD — ASSURANCE WIDGET
     C40 · RD — MISSION "READ MORE" LINK (SIDEBAR)
     C41 · RD — MISSION WIDGET: TRUE LIGHT BODY TEXT + BUTTON
     C42 · REFORMED DOGMATIKA — SIDEBAR GOLD STANDARD v1.0
     C43 · PATCH — Sidebar Gold Standard v1.0
     C44 · CONTRIBUTORS — Gold Standard v1.0 avatar layout
     C45 · JETPACK SUBSCRIBE — Gold Standard v1.0 styling
     C46 · RD — STAY CONNECTED (CENTERED CALL-TO-ACTION)
     C47 · RD — JETPACK SUBSCRIBE FORM CLEANUP (REMOVE BLUE BAR)
     C48 · RD — SUBSCRIBE PAGE: REMOVE JETPACK "TITLE BAR"
     C49 · RD — SUBSCRIBE BUTTON OUTLINE (FINAL POLISH)
     C50 · RD — SUBSCRIBE PAGE BUTTON OUTLINE (CAN’T MISS)
     C51 · RD — SIDEBAR SIZE RESTORE + SEARCH ALIGNMENT (CLEAN)
     C52 · RD — CONTRIBUTORS SIDEBAR: SIZE & NAME FIX (STEP 1)
     C53 · RD — CONTRIBUTORS WIDGET ONLY
     C54 · RD — CONFESSIONAL CALENDAR (GOLD STANDARD v1.0, CLEAN)
     C55 · FIX — Sidebar button text visibility (Gold Standard)
     C56 · CALENDAR BUTTON — FORCE TEXT TO DISPLAY (FINAL)
     C57 · JETPACK SUBSCRIBE — Gold Standard v1.0 HEALTH FIX
     C58 · RD — SIDEBAR GOLD STANDARD v1.0
     C59 · RD — SEARCH WIDGET MICRO-ALIGNMENT
     C60 · RD — ARCHIVES WIDGET (GOLD STANDARD UPGRADE)
     C61 · RD FINAL PATCH — MOBILE MENU OVERRIDES (ANTI-CONFLICT)
     C62 · RD — MOBILE MENU FINAL POLISH (AUTHORITATIVE FIX)
     C63 · RD FIX — Sidebar buttons invisible until hover
     C64 · RD FIX — Jetpack Subscribe button invisible until hover
     C65 · Jetpack / Subscribe widget — kill two-tone hover block
     C66 · RD Christian Calendar — Download Button (FINAL · LOCKED)
     C67 · SUBSCRIBE BUTTON - Gold Standard Design
     C68 · MOBILE MENU - Subscribe Button
     C69 · SEQUEL ARTICLE BOX - CTA Button
     C70 · HEADER NAV VISUAL CENTERING
     C71 · SIDEBAR COLOR POLISH — April 1, 2026
     C72 · SIDEBAR REFINEMENTS — April 1, 2026 (Round 2)
     C73 · MOBILE SEARCH FIX + FOOTER POLISH — April 1, 2026
     C74 · FIX: Search submit button overlapping Astra
   ========================================================= */

/* =========================================================
   RD S1: VARIABLES & BASE
   ========================================================*/
/* Variables */
:root {
  --rd-brand: #1B4E74;
  --rd-accent: #286292;
  --rd-visited: #24567f;
  --rd-tint: #E5EEF4;
  --rd-blue-dark: #163D5C;
  --rd-aqua: #B9DEE3;
  --rd-aqua-dark: #A7C6C8;
  --rd-link: #1B4E74;
  --rd-link-hover: #036bb3;
  --rd-sidebar-border: rgba(27,78,116,.35);
  --rd-sidebar-card: #ffffff;
  --rd-sidebar-shadow: 0 10px 26px rgba(0,0,0,.08);
  --rd-sidebar-radius: 16px;
  --rd-sidebar-pad: 16px;
  --rd-sidebar-gap: 12px;
  --rd-sidebar-title-font: 'Source Sans 3', Georgia, serif;
  --rd-sidebar-body-font: "Open Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --rd-sidebar-title-size: 15.5px;
  --rd-sidebar-body-size: 13.7px;
  --rd-sidebar-line: 1.75;
  --rd-sidebar-brand: #1B4E74;
  --rd-sidebar-muted: #364151;
}

/* Base / Body */
body { background-color: #ffffff !important; }

/* =========================================================
   RD S2: TYPOGRAPHY & CONTENT
   ========================================================= */

/* Entry Content Typography & Elements */
.entry-content {
  font-family: "Open Sans", sans-serif;
  font-size: 20px;
  line-height: 1.7;
  color: #222;
}
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 800;
  color: #111;
  margin-top: 2em;
  margin-bottom: .6em;
}

/* Images inside content */
.entry-content img {
  border: 1px solid #ddd;
  box-shadow: 2px 2px 5px rgba(0,0,0,.1);
  padding: 4px;
  background-color: #fff;
}

/* Responsive content type size */
@media only screen and (max-width: 768px){
  .entry-content { font-size: 17px; line-height: 1.8; }
  .entry-content h2 { font-size: 22px; }
  .entry-content h3 { font-size: 20px; }
  .entry-content h4 { font-size: 18px; }
}

/* Author / Entry titles */
.entry-title,
.entry-title a { color: var(--rd-brand); }
.entry-title a:hover { color: var(--rd-blue-dark); }

  /* =========================================================
   RD S3 — LINKS & BUTTONS (GLOBAL-SAFE, FINAL)
   Depends on brand vars from S1 (:root)
   ========================================================= */

/* 3.1 Global anchor defaults (site-wide, gentle) */
a,
a:link {
  color: var(--rd-accent);
  text-decoration: underline;
  text-underline-offset: 0.12em;
  text-decoration-thickness: 1.5px;
}
a:visited { color: var(--rd-visited); }
a:hover,
a:focus { color: var(--rd-brand); }
a:focus {
  outline: 2px solid var(--rd-accent);
  outline-offset: 2px;
}

/* accessible, non-janky focus ring for article links */
.entry-content a:focus {
  outline: 2px solid var(--rd-accent) !important;
  outline-offset: 2px !important;
}

/* neutralize common wrapper classes/plugins that block-ify links */
.entry-content .stretched-link,
.entry-content .uagb-link-wrapper,
.entry-content .uagb-highlight,
.entry-content .link-underline,
.entry-content .rd-link,
.entry-content .rd-underline,
.entry-content p span,
.entry-content p em,
.entry-content p strong,
.entry-content p i,
.entry-content p b,
.entry-content p u {
  position: static !important;
  display: inline !important;
  width: auto !important;
  max-width: none !important;
}

/* paragraphs/lists should wrap normally */
.entry-content p,
.entry-content li { white-space: normal !important; }

/* 3.3 Buttons / Read-more (unified, doesn’t touch header/nav) */
button,
input[type="submit"],
.wp-block-button__link,
a.button,
a.more-link,
a.read-more,
.jetpack_subscription_widget input[type="submit"],
.search-submit,
.widget .wp-block-button__link {
  appearance: none;
  background: var(--rd-accent) !important;
  border-color: var(--rd-accent) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 10px 18px !important;
  font: inherit;
  font-weight: 600 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: background-color .2s ease-in-out, transform .15s ease !important;
}
button:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover,
a.button:hover,
a.more-link:hover,
a.read-more:hover,
.jetpack_subscription_widget input[type="submit"]:hover,
.search-submit:hover,
.widget .wp-block-button__link:hover {
  background: var(--rd-brand) !important;
  border-color: var(--rd-brand) !important;
  color: #fff !important;
}
a.more-link,
a.read-more { border-radius: 10px !important; }

/* 3.4 ESV Cross-ref link tweak */
.esv-crossref {
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
  color: var(--rd-accent);
  text-decoration: none;
  transition: color .3s ease, text-decoration .3s ease;
  font-size: 18px;
}
.esv-crossref:hover { text-decoration: underline; color: var(--rd-brand); }

/* 3.5 Optional: subtle hover lift for designated buttons */
a.button,
.naparc-button,
.widget_stats a { transition: transform .2s ease, box-shadow .2s ease; }
a.button:hover,
.naparc-button:hover,
.widget_stats a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(6,147,227,.2);
}

/* 3.6 Utility: unstyled link helper for special cases */
.entry-content .link-reset {
  color: inherit !important;
  text-decoration: none !important;
}

/* === BODY LINKS: disable any stretched-link overlays in article text === */
/* LANDMINE (Tech Log #137/#170/#360): sitewide anchor-stripper. Flattens any card/button-styled anchor; page kits out-specify it deliberately. DO NOT EDIT, MOVE, OR SCOPE-NARROW without approval. */
.entry-content a,
.entry-content a:visited,
.entry-content a:hover,
.entry-content a:focus,
.entry-content a:active {
  display: inline !important;
  position: static !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  transition: none !important;
  animation: none !important;
  pointer-events: auto !important;      /* link remains clickable */
}

/* kill any pseudo-element overlay on links themselves */
.entry-content a::before,
.entry-content a::after {
  content: none !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
  inset: auto !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  pointer-events: none !important;      /* overlay can’t catch the hover */
}

/* =========================================================
   RD S4: HEADER & NAV (ASTRA)
   ========================================================= */

/* Layout Nudges (Astra defaults) */
.ast-container > .ast-article-post:first-of-type { margin-top: -40px; }
.ast-page-builder-template .site-content > .ast-container { padding-top: 0 !important; }
.blog .ast-container .entry-header { margin-top: 0 !important; padding-top: 0 !important; }

/* Desktop typography + spacing */
@media (min-width: 922px){
  .ast-desktop .ast-primary-header-bar .main-header-menu > li > a,
  .ast-desktop .ast-primary-header-bar .ast-builder-menu-1 .menu-link,
  .ast-desktop .ast-primary-header-bar .ast-builder-menu .menu-link {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 700;
    font-size: 21px;
    letter-spacing: .2px;
    line-height: 1.2;
  }
  .ast-desktop .main-header-menu > li > a { padding-left: 8px; padding-right: 8px; }
  .ast-desktop .main-header-menu > li { margin-right: 12px; }
  .ast-desktop .main-header-menu > li:last-child { margin-right: 0; }
  .ast-desktop .ast-primary-header-bar .ast-header-html-1,
  .ast-desktop .ast-primary-header-bar .ast-header-html-1 .ast-builder-html-element {
    margin-left: 8px !important; margin-right: 0 !important;
    white-space: nowrap; display: inline-flex; align-items: center; gap: 10px;
  }
}

/* Desktop menu colors */
.ast-desktop .main-header-menu > .menu-item > a {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 18px; font-weight: 600; color: #E8ECF1 !important; background: none;
  padding: 10px 12px; transition: color .3s ease, text-decoration .3s ease;
  text-decoration: none !important;
}

/* Hover/active color to match logo aqua */
@media (min-width: 922px){
  .ast-primary-header-bar .main-header-menu .menu-item:hover > .menu-link,
  .ast-primary-header-bar .main-header-menu .menu-item > .menu-link:hover,
  .ast-primary-header-bar .ast-builder-menu-1 .menu-item:hover > .menu-link,
  .ast-primary-header-bar .ast-builder-menu-1 .menu-item > .menu-link:hover,
  .ast-primary-header-bar .main-header-menu .menu-link:focus,
  .ast-primary-header-bar .main-header-menu .current-menu-item > .menu-link,
  .ast-primary-header-bar .main-header-menu .current_page_item > .menu-link {
    color: var(--rd-aqua-dark) !important;
  }
}

/* Animated underline on desktop menu */
.main-header-menu a { position: relative; color: #E8ECF1; text-decoration: none; }
.main-header-menu a::after {
  content: ""; position: absolute; left: 0; bottom: -3px; width: 0; height: 2px;
  background-color: var(--rd-aqua); transition: width .3s ease;
}
.main-header-menu a:hover { color: var(--rd-aqua); }
.main-header-menu a:hover::after { width: 100%; }

  /* Remove desktop underline animation inside mobile */
  body.ast-header-break-point .main-header-menu a::after {
    display: none !important;
  }

  /* Hover / focus states */
  body.ast-header-break-point .main-header-menu > li > a:hover,
  body.ast-header-break-point .main-header-menu > li > a:focus,
  body.ast-header-break-point .main-header-menu .menu-item > .menu-link:hover,
  body.ast-header-break-point .main-header-menu .menu-item > .menu-link:focus {
    background: #f3f7fa !important;
    border-color: rgba(27, 78, 116, 0.55) !important;
  }

  /* Ensure list items don't center */
  body.ast-header-break-point .main-header-menu > li {
    text-align: left !important;
  }

/* Tighten all menu item padding (DESKTOP ONLY) */
@media (min-width: 922px){
  .main-header-menu > li > a { padding-left: 8px !important; padding-right: 8px !important; }
}

/* Below-header strip */
.ast-below-header {
  background-color: #f7f9fc;
  border-top: 1px solid #e1e4e8;
  border-bottom: 1px solid #e1e4e8;
  padding: 10px 0 12px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,.04);
}

/* Breadcrumbs off (DEDUPED: appears again later) */
.ast-breadcrumbs { display: none; }

/* Header Search (mobile) */
@media (min-width: 922px){ .ast-header-search { display: none !important; } }
body.ast-header-break-point .ast-header-search .ast-icon svg[style*="stroke"],
body.ast-header-break-point .ast-header-search .ast-icon svg[style*="fill"] { filter: brightness(0) invert(1); }

@media (max-width: 921px){
  .ast-header-break-point .main-header-bar { padding-top: 6px !important; padding-bottom: 6px !important; }
  .ast-header-break-point .ast-mobile-header-wrap .ast-builder-grid-row-container-inner { padding-top: 6px !important; padding-bottom: 6px !important; }
  .ast-header-break-point .ast-search-menu-icon,
  .ast-header-break-point.ast-theme-transparent-header .ast-search-menu-icon,
  .ast-header-break-point .ast-header-search .ast-search-menu-icon,
  .ast-header-break-point [data-section="section-header-search"] .ast-search-menu-icon {
    font-size: 28px !important; padding: 8px !important; line-height: 1 !important;
    display: inline-flex !important; align-items: center !important; justify-content: center !important;
  }
  .ast-header-break-point .ast-search-menu-icon svg,
  .ast-header-break-point .ast-search-menu-icon .ast-icon svg { width: 28px !important; height: 28px !important; }
  .ast-header-break-point .ast-search-menu-icon .ast-icon,
  .ast-header-break-point .ast-search-menu-icon .ast-icon:before { font-size: 28px !important; width: 28px !important; height: 28px !important; }
  .ast-header-break-point .ast-search-menu-icon > * { transform: scale(1.25) !important; transform-origin: center !important; display: inline-block !important; }
  .ast-header-search {
    display: inline-flex !important; align-items: center; margin: 0 8px; z-index: 5; transform: translateY(1px); padding-right: .8em;
  }
  body.ast-header-break-point .ast-header-search,
  body.ast-header-break-point .ast-header-search a,
  body.ast-header-break-point .ast-header-search button,
  body.ast-header-break-point .ast-header-search .ast-icon,
  body.ast-header-break-point .ast-header-search .ast-search-menu-icon {
    color: #ffffff !important; --ast-global-color-0: #ffffff; --ast-global-color-1: #ffffff; --ast-global-color-5: #ffffff;
  }
  .ast-header-search a,
  .ast-header-search button,
  .ast-header-search .ast-search-menu-icon {
    display: inline-flex !important; align-items: center !important; justify-content: center !important;
    width: 44px !important; height: 44px !important; padding: 0 !important; border-radius: 9999px; background: transparent;
    transition: background .2s ease, transform .08s ease;
  }
  .ast-header-search a:hover,
  .ast-header-search button:hover,
  .ast-header-search .ast-search-menu-icon:hover { background: rgba(255,255,255,.08); }
  .ast-header-search a:hover svg,
  .ast-header-search button:hover svg,
  .ast-header-search .ast-search-menu-icon:hover svg { filter: drop-shadow(0 0 6px rgba(255,255,255,.55)); }
  .ast-header-search a:active svg,
  .ast-header-search button:active svg,
  .ast-header-search .ast-search-menu-icon:active svg { transform: scale(.92); }
  .ast-header-search a:focus-visible,
  .ast-header-search button:focus-visible,
  .ast-header-search .ast-search-menu-icon:focus-visible { outline: 2px solid #E6F4FD; outline-offset: 2px; }
}

/* Header images in menu (mobile utility) */
@media (max-width: 768px){ .main-header-menu img { width: 32px; height: 32px; } }

/* Header centering helpers */
.ast-primary-header-bar { display: flex; justify-content: center; align-items: center; }
.ast-primary-header-bar .ast-container { display: flex; justify-content: center; width: 100%; }
.ast-header-builtin { display: flex; justify-content: flex-start; align-items: center; gap: 3rem; max-width: 1200px; }

/* Prevent word splitting & control gap (DESKTOP ONLY) */
@media (min-width: 922px){
  .main-header-menu,
  .main-header-menu .menu-item,
  .main-header-menu .menu-link { white-space: nowrap !important; word-break: normal !important; overflow-wrap: normal !important; hyphens: manual; }
}

@media (min-width: 922px){
  .main-header-menu { display: flex; flex-wrap: nowrap; align-items: center; gap: 28px; }
}
.main-header-menu .menu-link { display: inline-block; line-height: 1.3; }

/* =========================================================
   RD S5: SIDEBAR & WIDGETS
   ========================================================= */
/* Widgets – Card style & animation */
.widget {
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 25px;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(6,147,227,.15);
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInWidget .6s ease forwards .3s;
}

@keyframes fadeInWidget {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Widget Titles – unified */
.widget-title,
.sidebar .widget-title,
.widget_block h2 {
  position: relative;
  background-color: var(--rd-tint) !important;
  color: var(--rd-brand) !important;
  padding: 8px 12px !important;
  border-radius: 6px 6px 0 0 !important;
  font-weight: 700 !important;
}
.widget-title::before,
.sidebar .widget-title::before,
.widget_block h2::before {
  content: "" !important;
  position: absolute !important;
  left: 0; top: 0; bottom: 0;
  width: 4px; background: var(--rd-brand) !important;
  border-radius: 6px 0 0 0;
}

/* Sidebar links */
.sidebar a,
.widget a { color: var(--rd-accent); text-decoration: none; font-weight: 500; }
.sidebar a:hover,
.widget a:hover { color: var(--rd-brand); text-decoration: underline; }

/* Tag cloud chips */

/* Text widget blockquote */
.widget_text blockquote {
  font-style: italic;
  font-size: 15px;
  color: #333;
  margin: 0;
  padding-left: 10px;
  border-left: 3px solid #ccc;
}
.widget_text blockquote strong {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: #111;
  font-weight: 700;
}

/* Custom widget button */

/* Stats widget */

/* Sidebar components (custom styled) */
.ast-sidebar-main .widget {
  background-color: #E8F1FA !important;
  padding: 15px; border-radius: 10px; box-shadow: 0 2px 6px rgba(0,0,0,.08); margin-bottom: 20px;
}
.ast-sidebar-main .widget-title,
.ast-sidebar-main .widget_block h2,
.widgettitle,
.widget_block h2 {
  background-color: var(--rd-brand) !important; color: #ffffff !important;
  padding: 8px 12px; border-radius: 8px 8px 0 0; font-weight: 600; margin: -15px -15px 15px -15px; border-left: none !important;
}
.ast-sidebar-main .more-link,
.ast-sidebar-main a.more-link,
.ast-sidebar-main .read-more,
.sidebar .more-link,
.sidebar .read-more { display: none !important; }
.widget_text p { font-size: 15px; color: #1F3A56; font-weight: 500; margin-top: 8px; }

.ast-sidebar .widget_categories .widget-title,
.sidebar-main .widget_categories .widget-title {
  display: inline-block; margin: 0 0 10px; padding: 4px 10px; font-family: 'Source Sans 3', sans-serif;
  font-weight: 700; font-size: 1.05rem; color: #1F3A56; background: #E8ECEF; border-radius: 999px; line-height: 1.2;
}

/* Archives widget */

.ast-sidebar .widget_archive .widget-title,
.sidebar-main .widget_archive .widget-title {
  display: inline-block; margin: 0 0 10px; padding: 4px 10px; font-family: 'Source Sans 3', sans-serif; font-weight: 700;
  font-size: 1.05rem; color: #1F3A56; background: #E8ECEF; border-radius: 999px; line-height: 1.2;
}

/* Recent Posts widget */

.ast-sidebar .widget_recent_entries .widget-title,
.sidebar-main .widget_recent_entries .widget-title {
  display: inline-block; margin: 0 0 10px; padding: 4px 10px; font-family: 'Source Sans 3', sans-serif; font-weight: 700; font-size: 1.05rem; color: #1F3A56; background: #E8ECEF; border-radius: 999px;
}

/* Quote of the Day – text widget variant */
.ast-sidebar .widget_text,
.sidebar-main .widget_text {
  border: 2px solid #1F3A56; border-radius: 14px; background: #fff; box-shadow: 0 8px 22px rgba(0,0,0,0.06); padding: 18px 20px;
}
.ast-sidebar .widget_text .widget-title,
.sidebar-main .widget_text .widget-title {
  display: inline-block; margin: 0 0 12px; padding: 4px 12px; font-family: 'Source Sans 3', sans-serif; font-weight: 700; font-size: 1.05rem; color: #1F3A56; background: #E8ECEF; border-radius: 999px;
}
.ast-sidebar .widget_text blockquote,
.sidebar-main .widget_text blockquote {
  border-left: 4px solid #1F3A56; padding-left: 12px; margin: 0 0 10px; font-family: 'Source Sans 3', sans-serif; font-size: .95rem; color: #333; line-height: 1.5;
}
.ast-sidebar .widget_text .quote-author,
.sidebar-main .widget_text .quote-author {
  font-family: "Great Vibes", cursive; font-size: 1.1rem; color: #1F3A56; display: block; text-align: right; margin-top: 6px;
}

/* Tag Cloud – pill variant */

.ast-sidebar .widget_tag_cloud .widget-title,
.sidebar-main .widget_tag_cloud .widget-title {
  display: inline-block; margin: 0 0 10px; padding: 4px 12px; font-family: 'Source Sans 3', sans-serif; font-weight: 700; font-size: 1.05rem; color: #1F3A56; background: #E8ECEF; border-radius: 999px;
}

/* Slogan widget */

/* =========================================================
   S5 ADDITIONS — CUSTOM WIDGETS & SIDEBAR RULES
   NOTE: This block is ACTIVE CSS. Rules here are live.
         Labeled "legacy/disabled" in error — corrected Apr 2026.
   =========================================================

/* ---------------------------------------------------------
   S5 ADDITIONS — CUSTOM WIDGETS (MOVED FOR ORGANIZATION)
   --------------------------------------------------------- */

/* Coffeehouse Conversation Sidebar Widget */

/* Contributors widget (final, conflict-free) */
.contributors-widget { font-size: 14px; }
.contributors-widget ul,
.contributors-widget li { list-style: none; margin: 0; padding: 0; }
.contributors-widget .contributors-list { margin: 0; padding: 0; }
.contributors-widget .contributors-list > li { margin: 0 0 20px; padding: 0 0 16px; border-bottom: 1px solid rgba(27,78,116,.16); }
.contributors-widget .contributors-list > li:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.contributors-widget .contrib { display: grid; grid-template-columns: 92px 1fr; grid-auto-rows: auto; column-gap: 12px; align-items: center; text-decoration: none; color: inherit; }
.contributors-widget .contrib > * { margin: 0; padding: 0; }
.contributors-widget .contrib img { width: 92px; height: 92px; object-fit: cover; grid-column: 1; grid-row: 1 / span 2; border-radius: 12px; box-shadow: inset 0 0 0 2px #1e3a5f; }
.contributors-widget .meta { grid-column: 2; grid-row: auto; min-width: 0; line-height: 1.25; }
.contributors-widget .name-row { display: flex; gap: 6px; align-items: baseline; flex-wrap: nowrap; margin: 0 0 2px 0; }
.contributors-widget .name-row strong { font-size: 18px; font-weight: 800; white-space: nowrap; }
.contributors-widget .name-row .tag { font-size: 14px; opacity: .9; white-space: nowrap; }
.contributors-widget .x-link { display: inline-block; font-size: 13px; line-height: 1.25; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; margin: 0; text-decoration: none; border: 0; color: inherit; }
.contributors-widget .contrib:hover { background: #f7f9fc; border-radius: 10px; }
@media (max-width: 480px){
  .contributors-widget .contrib { grid-template-columns: 78px 1fr; column-gap: 10px; }
  .contributors-widget .contrib img { width: 78px; height: 78px; }
  .contributors-widget .name-row strong { font-size: 16px; }
  .contributors-widget .name-row .tag { font-size: 13px; }
  .contributors-widget .x-link { font-size: 12.5px; }
}
/* Stop upscaling 60px Gravatars in the Contributors widget (candidate) */
.contributors img.avatar,
.widget .avatar,
.rd-avatar {
  width: 60px !important;
  height: 60px !important;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}
/* Winner sizing: prefer inside the widget */
.contributors-widget img.avatar,
.contributors-widget .avatar { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; display: block; }

/* ---------------------------------------------------------
   Jetpack Subscribe (Issue #14 + Issue #16) — moved here
   --------------------------------------------------------- */

#secondary .widget_blog_subscription input[type="submit"],
#secondary .widget_blog_subscription button,
#secondary .widget_blog_subscription .subscribe-submit input,
#secondary .widget_blog_subscription .subscribe-submit button,

/* 2) Jetpack block markup (if used anywhere in sidebar) */
#secondary .wp-block-jetpack-subscriptions__button button,
#secondary .wp-block-jetpack-subscriptions__button .wp-element-button,

/* 3) Generic “just in case Jetpack swapped tags” */
#secondary .jetpack_subscription_widget input[type="submit"],
#secondary .jetpack_subscription_widget button {
  background: #0F2E46 !important;
  color: #ffffff !important;
  border: 0 !important;

  /* The usual “it’s there but not visible” culprits */
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;

  /* Keep it pill-ish and consistent */
  border-radius: 999px !important;
  padding: 14px 22px !important;
  font-weight: 600 !important;
  line-height: 1 !important;

  /* Prevent theme link rules from “inking out” text */
  text-decoration: none !important;
}

/* Hover */
#secondary .widget_blog_subscription input[type="submit"]:hover,
#secondary .widget_blog_subscription button:hover,
#secondary .wp-block-jetpack-subscriptions__button button:hover,
#secondary .wp-block-jetpack-subscriptions__button .wp-element-button:hover,
#secondary .jetpack_subscription_widget input[type="submit"]:hover,
#secondary .jetpack_subscription_widget button:hover {
  background: #1B4E74 !important;
  color: #ffffff !important;
}

/* Active (tap/click) */
#secondary .widget_blog_subscription input[type="submit"]:active,
#secondary .widget_blog_subscription button:active,
#secondary .wp-block-jetpack-subscriptions__button button:active,
#secondary .wp-block-jetpack-subscriptions__button .wp-element-button:active,
#secondary .jetpack_subscription_widget input[type="submit"]:active,
#secondary .jetpack_subscription_widget button:active {
  background: #0B2235 !important;
  color: #ffffff !important;
}

/* =========================================================
   Jetpack / Subscribe widget — kill two-tone hover block
   (keeps pill button, removes big blue rectangle on hover)
   ========================================================= */

/* 1) Make sure the wrapper around the submit button never paints a background */
/* CAUTION (Tech Log #140): Jetpack subscribe patch block. Do not remove without auditing the subscribe forms it patches. */
.widget .jetpack_subscription_widget form p,
.widget .jetpack_subscription_widget form p#subscribe-submit,
.widget .jetpack_subscription_widget form p#subscribe-submit:hover,
.widget .jetpack_subscription_widget form .wp-block-button,
.widget .jetpack_subscription_widget form .wp-block-button:hover,
.widget .jetpack_subscription_widget form .wp-block-buttons,
.widget .jetpack_subscription_widget form .wp-block-buttons:hover,
.widget .jetpack_subscription_widget form .wp-element-button,
.widget .jetpack_subscription_widget form .wp-element-button:hover {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  filter: none !important;
}

/* (Cleanup) Orphaned selector and invalid string removed — no visual effect. */

/* hover */
.widget .jetpack_subscription_widget form input[type="submit"]:hover,
.widget .jetpack_subscription_widget form button[type="submit"]:hover {
  background: #0B2438 !important;      /* hover */
  box-shadow: none !important;
  background-image: none !important;
}

/* active (pressed) */
.widget .jetpack_subscription_widget form input[type="submit"]:active,
.widget .jetpack_subscription_widget form button[type="submit"]:active {
  background: #081A28 !important;      /* active */
  transform: translateY(1px);
}

/* 3) If Jetpack/theme adds pseudo-elements that create blocks, remove them */
.widget .jetpack_subscription_widget form p#subscribe-submit::before,
.widget .jetpack_subscription_widget form p#subscribe-submit::after,
.widget .jetpack_subscription_widget form .wp-block-button::before,
.widget .jetpack_subscription_widget form .wp-block-button::after {
  content: none !important;
  display: none !important;
}

/* =========================================================
   RD S6: POSTS, COMPONENTS & SPECIAL PAGES
   ========================================================= */

/* Single Post Meta */
.single-post .entry-meta {
  font-size: 14px;
  color: #666;
  font-style: italic;
  margin-bottom: 1em;
  line-height: 1.4;
}
.single-post .entry-meta a { font-size: 15px; color: #222; font-weight: 600; }
.single-post .entry-meta span.posted-on,
.single-post .entry-meta span.cat-links,
.single-post .entry-meta span.tags-links { display: none; }

/* Contributors toggle */

/* Author box */
.ast-author-box .avatar {
  float: none !important; display: block; margin: 0 auto 15px; border-radius: 50%; width: 120px !important; height: 120px !important; object-fit: cover;
}

/* Related posts (manual widget) */
.manual-related-posts-with-thumbs {
  margin-top: 26px; border-top: 2px solid #ccc; margin-left: auto; margin-right: auto;
}
.manual-related-posts-with-thumbs .related-item img { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; margin-right: 15px; flex-shrink: 0; }
.manual-related-posts-with-thumbs .related-item a { font-weight: 600; text-decoration: none; font-size: 16px; line-height: 1.4; }
.manual-related-posts-with-thumbs .related-item a:hover { text-decoration: underline; }
@media screen and (max-width: 600px){
  .manual-related-posts-with-thumbs .related-item { flex-direction: column; align-items: flex-start; }
  .manual-related-posts-with-thumbs .related-item img { margin-right: 0; margin-bottom: 10px; width: 100%; height: auto; }
}
/* Recommended list with image */

/* — Essays, Endnotes, TOC (scoped) — */

/* Endnotes */
#endnotes { font-size: 0.9em; line-height: 1.6; margin-top: 2rem; border-top: 1px solid #ccc; padding-top: 1rem; }
#endnotes h3 { font-size: 1.1em; font-weight: bold; margin-bottom: 0.75rem; }
#endnotes ol { padding-left: 1.25rem; margin: 0; }
#endnotes li { margin-bottom: 0.5rem; }
.post-content sup a { text-decoration: none; font-size: 0.8em; vertical-align: super; }

.contributors-page a { transition: background .25s ease, border-color .25s ease; }
@media (max-width: 420px){ .contributors-page article img { width: 120px; height: 120px; } .contributors-page article { padding: 18px; } .contributors-page h3 { font-size: 1.2em; } .contributors-page a[href*="/author/"], .contributors-page a[href*="?author="] { font-size: 0.95em; } }

/* RD article blockquotes (scoped; deduped) */

/* Global content blockquotes — scoped to content containers */
.entry-content blockquote,
.wp-block-quote { border-left: 4px solid #036bb3; background: #f9f9f9; padding: 1em 1.25em; margin: 1.5em 0; font-style: italic; color: #333; }
.entry-content blockquote p, .wp-block-quote p { margin: 0; }
.entry-content blockquote.accent, .wp-block-quote.accent { border-left-color: #0693e3; background: #f0faff; color: #222; }

/* Gutenberg pullquotes aligned with site style */
.wp-block-pullquote { border-left: 4px solid #036bb3; padding: 1em 1.25em; margin: 1.5em 0; background: #f9f9f9; font-style: italic; color: #333; }
.wp-block-pullquote blockquote { border: 0; padding: 0; background: transparent; }
.wp-block-pullquote.is-style-solid-color { background: #f9f9f9 !important; }

/* Outline / TOC nav */
.rd-outline,
.entry-content nav[aria-label="Article outline"] { border: 1px solid #e6eef5; background: #fbfdff; padding: .75rem 1rem; border-left: 4px solid #036bb3; margin: 1.25rem 0; }
.rd-outline ul,
.entry-content nav[aria-label="Article outline"] ul { list-style: none; margin: 0; padding-left: 0; }
.rd-outline li,
.entry-content nav[aria-label="Article outline"] li { margin: .25rem 0; }
.rd-outline a,
.entry-content nav[aria-label="Article outline"] a { text-decoration: none; }
.rd-outline a:hover,
.entry-content nav[aria-label="Article outline"] a:hover { text-decoration: underline; }

/* Single Post Spacing & Article shells */

body.single-post .ast-article-single .post-thumb { margin-top: 12px; margin-bottom: 20px; }
body.single-post .ast-article-single .post-thumb img { width: 100%; height: auto !important; object-fit: cover; object-position: center; display: block; border-radius: 6px; }
body.single-post .site-header + .site-content .ast-container { margin-top: 12px; }

.rd-divider { border: 0; height: 1px; background: linear-gradient(90deg,transparent,var(--rd-border),transparent); margin: 1.25rem 0 1.5rem; }
.rd-list { margin: .5rem 0 1rem 1.25rem; }
.rd-toc { border: 1px solid var(--rd-border); background: #fff; border-radius: 12px; padding: .75rem 1rem; margin: 0 0 1.25rem; }
.rd-toc__title { font-weight: 700; margin-bottom: .25rem; }
.rd-toc ol { margin: 0; padding-left: 1.25rem; }
.rd-toc a { text-decoration: none; }
.rd-toc a:hover,.rd-toc a:focus { color: var(--rd-blue); border-bottom-style: solid; }

.rd-top { text-decoration: none; font-weight: 600; border: 1px solid var(--rd-border); padding: .5rem .75rem; border-radius: 999px; background: #fff; }
.rd-top:hover { border-color: var(--rd-accent); color: var(--rd-blue); }

/* Reformed-article variant */
.reformed-article { font-family: 'Source Sans 3', sans-serif; line-height: 1.75; font-size: 18px; color: #222; margin: 0 auto; max-width: 760px; padding: 1rem 1.5rem; }
.reformed-article .section-title { text-align: center; font-size: 1.8rem; margin: 2.5rem 0 1.5rem; font-weight: bold; display: inline-block; padding-bottom: .3rem; }
.reformed-article .intro { font-size: 1.25rem; font-style: italic; margin-bottom: 1.5rem; color: #444; }
.reformed-article blockquote { border-left: 4px solid #ccc; margin: 1.5rem 0; padding: 1rem 1.25rem; background: #f9f9f9; font-style: italic; font-size: 1.05rem; line-height: 1.7; color: #333; }
.reformed-article .epigraph { border-left-color: #555; background: #fafafa; font-size: 1.15rem; font-weight: 500; text-align: center; color: #111; }
.reformed-article .scripture { border-left-color: #036bb3; background: #f0f8ff; font-style: normal; font-weight: 500; color: #023e8a; }
.reformed-article .confession { border-left-color: #8b0000; background: #fff5f5; font-style: normal; font-weight: 500; color: #600000; }
.reformed-article .quote { border-left-color: #444; background: #fefefe; font-style: italic; font-size: 1.1rem; color: #111; }
.reformed-article .faith-components { margin: 1rem 0 1.5rem 2rem; list-style-type: square; }
.reformed-article .encouragement-list { margin: 1.5rem 0 2rem 1.5rem; padding: 0; }
.reformed-article .encouragement-list li { margin-bottom: .75rem; }
.reformed-article .encouragement-title { text-align: center; font-size: 1.4rem; margin-top: 2.5rem; color: #444; font-weight: bold; text-transform: uppercase; letter-spacing: .05rem; }

/* Heidelblog / Pubs */
/* .rd-pubs base rule consolidated — see "Responsive Fix for Heidelblog Contributions Page" below */

.rd-pubs,
.rd-pubs p,
.rd-pubs h3,
.rd-pubs h3 a,
.rd-desc,
.rd-meta {
  white-space:normal !important;
  word-break:normal !important;
  overflow-wrap:break-word !important;
  hyphens:auto;
}

/* Master heading at top of Heidelblog page */
.rd-master-heading {
  font-family:"Georgia","Times New Roman",serif;
  font-size:2rem;
  font-weight:700;
  letter-spacing:1px;
  text-transform:uppercase;
  color:#024a7a;
  text-align:center;
  margin:1rem 0 .5rem;
  text-shadow:0 1px 2px rgba(0,0,0,0.12);
}

.rd-master-subtitle {
  font-family:"Georgia","Times New Roman",serif;
  font-size:1.1rem;
  color:#374151;
  text-align:center;
  margin:0 0 2rem;
}

/* Section titles (Anthony, Julie, Charles, etc.) */
.rd-pubs h3.section-title {
  text-shadow:0 1px 2px rgba(0,0,0,0.10);
}

/* RD-blue accent underline under each section title */
.rd-pubs h3.section-title:after {
  content:"";
  display:block;
  width:72px;
  height:3px;
  background:#024a7a;
  border-radius:2px;
  margin:.4rem 0 1.2rem;
}

/* Card content */
.rd-item {
  background:#f9fbfd;
  border:1px solid #dbe7f3;
  border-radius:10px;
  padding:1rem 1.25rem;
  margin:1.5rem 0;
  box-shadow:0 4px 10px rgba(0,0,0,.05);
}

.rd-item h3 {
  margin:.3rem 0 .5rem;
}

.rd-item h3 a {
  font-size:1.35rem;
  font-weight:600;
  text-decoration:none;
  transition:color .15s ease;
}

.rd-item h3 a:hover {
  text-decoration:underline;
}

.rd-meta {
  font-size:.9rem;
  color:#5b6472;
  margin:.2rem 0 .7rem;
}

.rd-desc {
  font-size:1rem;
  margin:.3rem 0 .7rem;
}

.rd-note {
  font-size:.9rem;
  color:#6b7280;
}

/* Mobile polish */
@media (max-width: 640px){
  .rd-pubs {
    padding:0 .6rem;
  }

  .rd-item {
    padding:.9rem 1rem;
  }

  .rd-item h3 {
    font-size:1.18rem;
  }

  .rd-master-heading {
    font-size:1.65rem;
    letter-spacing:.7px;
  }

  .rd-master-subtitle {
    font-size:1rem;
    margin-bottom:1.5rem;
  }

  .rd-pubs h3.section-title {
    font-size:1.45rem !important;
    letter-spacing:0.6px !important;
    margin:1.6rem 0 .6rem !important;
    text-shadow:0 1px 2px rgba(0,0,0,0.10);
  }
}

/* Responsive Fix for Heidelblog Contributions Page */
.rd-pubs { max-width: 820px; margin: 0 auto 2.5rem; padding: 0 16px; font-family: "Georgia", "Times New Roman", serif; color: #1f2937; line-height: 1.7; font-size: 1rem; }

.rd-pubs h3.section-title {
  font-family:"Georgia","Times New Roman",serif;
  font-size:1.75rem;
  font-weight:700;
  letter-spacing:0.8px;
  text-transform:uppercase;
  color:#024a7a;
  margin:2.2rem 0 .75rem;
  text-align:left;
}

@media screen and (max-width: 600px){
  .rd-pubs {
    padding: 0 12px;
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .rd-pubs h3.section-title {
    font-size:1.45rem !important;
    letter-spacing:0.6px !important;
    margin:1.6rem 0 .6rem !important;
  }
}

/* Featured Images: single posts/pages & archives */
.page .entry-content > p:first-child img,
.single .entry-content > p:first-child img,
.page .ast-single-featured-image img,
.single .ast-single-featured-image img,
.entry-content img.aligncenter,
.entry-content img.alignnone { width: 100% !important; height: auto !important; max-width: 100% !important; }
.entry-content img.size-thumbnail,
.entry-content img.size-medium { width: 100% !important; height: auto !important; }
.blog .post-thumb img,
.archive .post-thumb img,
.ast-separate-container .ast-article-post .post-thumb img { width: 100% !important; height: auto !important; }
.entry-content img { max-width: 860px; margin: 0 auto; display: block; }

/* iPhone/iOS Safari: show full featured image */
@supports (-webkit-touch-callout: none){
  .ast-single-post-featured-section,
  .ast-single-post-featured-section .post-thumb,
  .ast-article-single .post-thumb,
  .entry-header .post-thumb,
  .wp-block-post-featured-image,
  .wp-block-post-featured-image a { height: auto !important; max-height: none; aspect-ratio: auto; overflow: visible !important; }
  .ast-single-post-featured-section img.wp-post-image,
  .entry-header .post-thumb img,
  .ast-article-single .post-thumb img,
  .wp-block-post-featured-image img { position: static !important; display: block !important; width: 100% !important; max-width: 100% !important; height: auto !important; object-fit: contain; object-position: center center; }
  .ast-hero-section,
  .ast-advanced-headers-wrap,
  .ast-hero-banner { background-size: contain !important; background-repeat: no-repeat !important; background-position: center center !important; height: auto !important; min-height: auto; overflow: visible !important; }
}

/* Desktop: full-width featured images */
@media (min-width: 769px){
  .ast-single-post-featured-section,
  .ast-single-post-featured-section .post-thumb,
  .wp-block-post-featured-image,
  .entry-header .post-thumb { width: 100% !important; max-width: 100% !important; height: auto !important; max-height: none; overflow: visible !important; }
  .ast-single-post-featured-section img.wp-post-image,
  .wp-block-post-featured-image img,
  .entry-header .post-thumb img { display: block !important; width: 100% !important; max-width: none !important; height: auto !important; object-fit: cover; object-position: center center; }
}
.ast-single-post-featured-section img.wp-post-image,
.wp-block-post-featured-image img,
.entry-header .post-thumb img { image-rendering: auto; content-visibility: auto; }

/* TOC fix: always visible on iPad/tablets */
@media (max-width: 1024px){
  #table-of-contents,
  #toc,
  .table-of-contents,
  .post-toc,
  .article-toc,
  nav[aria-label="Table of contents"] { display: block !important; visibility: visible !important; max-height: none; overflow: visible !important; position: relative !important; z-index: 10; }
  .entry-content,
  .site-content,
  .ast-container { overflow: visible !important; }
}

  /* <-- closes correctly */

/* =========================================================
   6.x POST ELEMENTS — BLOCKQUOTES (Refined Edition)
   Slight gradient + inset shadow for print-quality finish
   ========================================================= */

/* =========================================================
   6.x POST ELEMENTS — BLOCKQUOTES (Refined Gradient Edition)
   Slight RD gradient + inset shadow for magazine-quality depth
   ========================================================= */
.single-post .entry-content blockquote { /* RD navy */

  /* Subtle RD gradient – light at top, fades downward */

  /* Gentle inset shadow for depth */
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.06);
  border-radius: 6px;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

/* Hover – just a tiny lift of brightness (desktop only) */
@media (hover: hover){
  .single-post .entry-content blockquote:hover {
    background: linear-gradient(
      180deg,
      rgba(27, 78, 116, 0.10) 0%,
      rgba(27, 78, 116, 0.05) 60%,
      rgba(255, 255, 255, 0.0) 100%
    );
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.08);
  }
}

/* Mobile optimization */
@media (max-width: 920px){
  .single-post .entry-content blockquote {
    margin: 1.4rem -0.2rem;
    padding: 1rem 1.3rem 1.1rem 1.3rem;
    max-width: 100%;
  }
}
/* =========================================================
   RD S7: FOOTER
   ========================================================= */

/* Footer background + colors */
.site-footer,
.site-primary-footer-wrap,
.site-below-footer-wrap,
.ast-small-footer {
  background: var(--rd-brand) !important;
  background-image: none !important;
  color: #ffffff !important;
}
.site-footer::before,
.site-footer::after,
.site-primary-footer-wrap::before,
.site-primary-footer-wrap::after,
.site-below-footer-wrap::before,
.site-below-footer-wrap::after { content: none !important; background: none !important; box-shadow: none !important; }
.site-footer .ast-builder-grid-row-container,
.site-footer .ast-builder-grid-row-container-inner,
.site-footer .ast-builder-layout-element,
.site-footer .ast-builder-layout-element *,
.site-footer .ast-container { background: transparent !important; box-shadow: none !important; border: 0 !important; }
.site-footer,
.site-footer p,
.site-footer a,
.site-footer .menu a,
.site-footer .ast-builder-html-element,
.site-footer .ast-builder-html-element a,
.ast-small-footer,
.ast-small-footer a,
.site-footer .ast-footer-copyright { color: #ffffff !important; opacity: 1 !important; text-shadow: none !important; }
.site-footer .ast-builder-grid-row-container-inner { padding: 16px 0 !important; }
.site-footer .separator,
.site-footer .pipe,
.site-footer .ast-builder-html-element span { color: #ffffff !important; }
.ast-footer-copyright,
.ast-footer-copyright a { color: #ffffff !important; opacity: .85; }

/* Footer links (fix white box) */
.footer-links { text-align: center; font-family: 'Source Sans 3', sans-serif; font-size: 15px; padding: 10px 0; color: #222; }
.footer-links a { background: transparent !important; color: #ffffff; text-decoration: none; margin: 0 6px; }
.footer-links a:hover { color: #036bb3; text-decoration: underline; }

/* Contributors block in footer */
.footer-contributors { text-align: center; margin: 1.5rem auto; }
.footer-contributors h3 { margin-bottom: .75rem; color: #ffffff; }
.footer-contributors ul { list-style: none; margin: 0 0 .75rem 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem; }
.footer-contributors li { display: inline-block; }
.footer-contributors .badge-urc, .footer-contributors .badge-pca, .footer-contributors .badge-opc { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; color: #fff; white-space: nowrap; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.footer-contributors .badge-urc { background: linear-gradient(180deg,#3aa0e6,#036bb3); }
.footer-contributors .badge-pca { background: linear-gradient(180deg,#45a073,#2a7c55); }
.footer-contributors .badge-opc { background: linear-gradient(180deg,#7c74d8,#4b3db8); }
.footer-contributors a { color: #ffffff; font-weight: 600; text-decoration: none; }
.footer-contributors a:hover { color: #4daaf2; text-decoration: underline; }

  /* =========================================================
   RD S8 — UTILITIES, ACCESSIBILITY & FINAL PATCHES (SAFE, FINAL)
   ========================================================= */

/* 8.1 Accessibility helpers */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* 8.2 POSTS ONLY: disable multi-columns (do not touch pages) */
.single-post .entry-content {
  -webkit-column-count: 1 !important;
  -moz-column-count: 1 !important;
  column-count: 1;
  -webkit-column-width: auto !important;
  -moz-column-width: auto !important;
  column-width: auto;
  -webkit-column-gap: normal !important;
  -moz-column-gap: normal !important;
  column-gap: normal !important;
  -webkit-column-rule: none !important;
  -moz-column-rule: none !important;
  column-rule: none !important;
}

/* 8.3 POSTS ONLY: keep inline elements inline */
.single-post .entry-content a,
.single-post .entry-content span,
.single-post .entry-content em,
.single-post .entry-content i,
.single-post .entry-content strong,
.single-post .entry-content b,
.single-post .entry-content u,
.single-post .entry-content sup,
.single-post .entry-content sub,
.single-post .entry-content code,
.single-post .entry-content kbd,
.single-post .entry-content mark,
.single-post .entry-content small {
  display: inline !important;
  position: static !important;
  width: auto !important;
  max-width: none !important;
}

/* 8.4 POSTS ONLY: prevent pullquotes/widgets from re-enabling columns */
.single-post .entry-content .wp-block-pullquote,
.single-post .entry-content .pullquote,
.single-post .entry-content .widget {
  -webkit-column-count: 1 !important;
  column-count: 1;
  -webkit-column-rule: none !important;
  column-rule: none !important;
}

/* 8.6 POSTS ONLY: nuke decorative pseudo-elements */
.single-post .entry-content p::before,
.single-post .entry-content p::after,
.single-post .entry-content .wp-block-group::before,
.single-post .entry-content .wp-block-group::after,
.single-post .entry-content blockquote::before,
.single-post .entry-content blockquote::after {
  content: none !important;
}

/* 8.7 POSTS ONLY: Jetpack sharing cleanups */
.single-post .sharedaddy .sd-content a.sd-button::after,
.single-post .sharedaddy .sd-content a.share-email::after,
.single-post .jetpack-sharing-buttons a::after,
.single-post .entry-content a[title*="email a link to a friend"] {
  content: "" !important;
  display: none !important;
}
.single-post .sharedaddy .sd-content li.share-more,
.single-post .jetpack-sharing-buttons li.share-more,
.single-post .entry-content .share-more,
.single-post .entry-content a.share-more {
  display: none !important;
}

/* 8.8 Accessibility: consistent focus ring */
.entry-content a:focus,
button:focus,
input:focus {
  outline: 2px solid var(--rd-accent) !important;
  outline-offset: 2px !important;
}

/* 8.9 POSTS ONLY: final inline link failsafe */
.single-post .entry-content a,
.single-post .entry-content a:link,
.single-post .entry-content a:visited,
.single-post .entry-content a:hover,
.single-post .entry-content a:focus,
.single-post .entry-content a:active {
  display: inline !important;
  position: static !important;
  width: auto !important;
  max-width: none !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  clear: none !important;
  vertical-align: baseline !important;
  white-space: normal !important;
  line-height: inherit !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  text-decoration: underline !important;
  text-underline-offset: 0.12em !important;
  text-decoration-thickness: 1.5px !important;
  color: var(--rd-accent) !important;
}
.single-post .entry-content a::before,
.single-post .entry-content a::after { content: none !important; }
.single-post .entry-content a:focus {
  outline: 2px solid var(--rd-accent) !important;
  outline-offset: 2px !important;
}

/* 8.10 PAGES: keep real buttons/pills looking like buttons */
.page .entry-content a.button,
.page .entry-content a[class*="btn"],
.page .entry-content .wp-block-button__link {
  display: inline-block !important;
  text-decoration: none !important;
  border-radius: 9999px;
  padding: .45em .9em;
  line-height: 1.2;
}

/* =========================================================
   OUR CONTRIBUTORS — minimal, working overrides
   (kept inside S8 for convenience)
   ========================================================= */

/* A) Family pills with distinct colors */
/* LANDMINE (Tech Log #265): the sitewide in-page-anchor pill rule. DO NOT EDIT OR MOVE. Every page using footnotes/TOC/confession links carries a page-scoped counter-reset (Style Guide §20). */
body.page .entry-content a[href*="#"] {
  display:inline-block !important;
  padding:.48em 1.05em !important;
  border-radius:9999px !important;
  text-decoration:none !important;
  line-height:1.2 !important;
  font-weight:600 !important;
  color:#fff !important;
}
body.page .entry-content a[href*="#urc" i] { background:#1B4E74 !important; } /* URC */
body.page .entry-content a[href*="#pca" i] { background:#2F855A !important; } /* PCA */
body.page .entry-content a[href*="#opc" i] { background:#4437A5 !important; } /* OPC */
body.page .entry-content a[href*="#urc" i]:hover { background:#163D5C !important; }
body.page .entry-content a[href*="#pca" i]:hover { background:#276749 !important; }
body.page .entry-content a[href*="#opc" i]:hover { background:#32268F !important; }

/* =====  C01 · RD S8 — Mobile header cleanup + link color reset  =====
   (Formatting only — no behavioral changes) */

/* =========================
   1) MOBILE HEADER CLEANUP
   ========================= */

/* 1.1 Remove blue background behind hamburger */
@media (max-width: 921px){
  .ast-header-break-point .main-header-menu-toggle,
  .ast-header-break-point .menu-toggle,
  .ast-header-break-point .ast-mobile-menu-trigger {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .ast-header-break-point .main-header-menu-toggle:hover,
  .ast-header-break-point .main-header-menu-toggle:focus,
  .ast-header-break-point .menu-toggle:hover,
  .ast-header-break-point .menu-toggle:focus,
  .ast-header-break-point .ast-mobile-menu-trigger:hover,
  .ast-header-break-point .ast-mobile-menu-trigger:focus {
    background: transparent !important;
  }

  /* 1.2 Remove underline/line under the search icon */
  .ast-header-break-point .ast-search-menu-icon,
  .ast-header-break-point .ast-search-menu-icon a {
    text-decoration: none !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .ast-header-break-point .ast-search-menu-icon::before,
  .ast-header-break-point .ast-search-menu-icon::after {
    content: none !important;
  }
}

/* =========================
   2) CONTENT LINK COLORS
   ========================= */

/* 2.1 Tokens */

/* 2.2 Default content links */
body .entry-content a,
body .entry-content a:link,
body .entry-content a:visited,
body .entry-content h1 a,
body .entry-content h2 a,
body .entry-content h3 a,
body .entry-content h4 a,
body .entry-content h5 a,
body .entry-content h6 a {
  color: var(--rd-link) !important;
  text-decoration-color: currentColor;
}

body .entry-content a:hover,
body .entry-content a:focus,
body .entry-content a:active,
body .entry-content h1 a:hover,
body .entry-content h2 a:hover,
body .entry-content h3 a:hover,
body .entry-content h4 a:hover,
body .entry-content h5 a:hover,
body .entry-content h6 a:hover {
  color: var(--rd-link-hover) !important;
}

/* 2.3 Sidebar & footer links (optional match to content) */
.sidebar .widget a,
.footer-widget-area a {
  color: var(--rd-link) !important;
}

.sidebar .widget a:hover,
.footer-widget-area a:hover {
  color: var(--rd-link-hover) !important;
}

/* 2.4 Additional content link enforcement */
.ast-single-post .entry-content a,
.ast-single-post .entry-content a:link,
.ast-single-post .entry-content a:visited,
.ast-page-builder-template .site-main .entry-content a,
.ast-separate-container .site-main .entry-content a,
.site-main .entry-content a,
.content-area .entry-content a,
.entry-content p a,
.entry-content li a {
  color: #1B4E74 !important;
  text-decoration-color: currentColor;
}

.ast-single-post .entry-content a:hover,
.ast-page-builder-template .site-main .entry-content a:hover,
.ast-separate-container .site-main .entry-content a:hover,
.site-main .entry-content a:hover,
.content-area .entry-content a:hover,
.entry-content p a:hover,
.entry-content li a:hover {
  color: #036bb3 !important;
}

/* ====== Color Chips Navigation ====== */
nav.color-chips {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

nav.color-chips a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.15s ease, transform 0.1s ease;
}

nav.color-chips a:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Individual Chip Colors */
nav.color-chips a.urc-family {
  background: linear-gradient(180deg, #3aa0e6, #036bb3);
}

nav.color-chips a.pca-family {
  background: linear-gradient(180deg, #45a073, #2a7c55);
}

nav.color-chips a.opc-family {
  background: linear-gradient(180deg, #7c74d8, #4b3db8);
}

nav.color-chips a.guest-contributors {
  background: linear-gradient(180deg, #C9D1DA, #B6C2CC);
}

/* ======================================================
   4) END-OF-POST "DISCOVER MORE" SUBSCRIBE PANEL (Jetpack)
   ====================================================== */

/* 4.1 Token for sizing */
.wpcom-end-of-post-subscribe,
.wp-block-jetpack-subscriptions {
  --rd-subscribe-height: 50px;
}

/* 4.2 Email field: normalize height and spacing */
.wpcom-end-of-post-subscribe input[type="email"],
.wp-block-jetpack-subscriptions input[type="email"] {
  height: var(--rd-subscribe-height);
  padding: 0 14px !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
  box-sizing: border-box;
}

/* 4.3 Button: undo oversized global styles just for this panel */
.wpcom-end-of-post-subscribe .wp-block-button__link,
.wpcom-end-of-post-subscribe button,
.wpcom-end-of-post-subscribe input[type="submit"],
.wp-block-jetpack-subscriptions .wp-block-button__link,
.wp-block-jetpack-subscriptions button,
.wp-block-jetpack-subscriptions input[type="submit"] {
  height: var(--rd-subscribe-height) !important;
  padding: 0 18px !important;
  font-size: 16px !important;
  line-height: 1 !important;
  border-radius: 8px !important;
  width: auto !important;            /* prevent full-width “brick” */
  box-sizing: border-box;
}

/* 4.4 Keep the input + button on one line on wider screens */
.wpcom-end-of-post-subscribe .wp-block-jetpack-subscriptions__form,
.wp-block-jetpack-subscriptions .wp-block-jetpack-subscriptions__form {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* 4.5 Kill the spinner/loader that’s flashing on top of the button */
.wpcom-end-of-post-subscribe .is-busy:after,
.wp-block-jetpack-subscriptions .is-busy:after {
  display: none !important;
  content: none !important;
}

/* 4.6 Prevent global .wp-block-button rules from ballooning this area */
.wpcom-end-of-post-subscribe .wp-block-button,
.wp-block-jetpack-subscriptions .wp-block-button {
  width: auto !important;
  margin: 0 !important;
}

/* 4.7 HARD-KILL any spinner/loader in the end-of-post subscribe box */
.wpcom-end-of-post-subscribe .wp-block-button__link:after,
.wpcom-end-of-post-subscribe .wp-block-button__link:before,
.wpcom-end-of-post-subscribe button:after,
.wpcom-end-of-post-subscribe button:before,
.wpcom-end-of-post-subscribe .is-busy:after,
.wpcom-end-of-post-subscribe .is-loading:after,
.wpcom-end-of-post-subscribe .has-spinner:after,
.wp-block-jetpack-subscriptions .wp-block-button__link:after,
.wp-block-jetpack-subscriptions .wp-block-button__link:before,
.wp-block-jetpack-subscriptions button:after,
.wp-block-jetpack-subscriptions button:before,
.wp-block-jetpack-subscriptions .is-busy:after,
.wp-block-jetpack-subscriptions .is-loading:after,
.wp-block-jetpack-subscriptions .has-spinner:after {
  content: none !important;
  display: none !important;
  animation: none !important;
}

/* 4.8 If spinner/gradient is a background layer */
.wpcom-end-of-post-subscribe .wp-block-button__link,
.wp-block-jetpack-subscriptions .wp-block-button__link {
  background-image: none !important;
  position: relative; /* keeps layout sane after removing pseudo-elements */
  overflow: hidden;   /* prevents stray bits from peeking in */
}

/* 4.9 Reformed Dogmatika — kill spinner on end-of-post Subscribe button */
#subscribe-submit,
button#subscribe-submit.wp-block-button__link {           /* your RD blue */         /* override conic/linear gradients */
  -webkit-mask: none !important;             /* kill Safari/WebKit masks */
  -webkit-mask-image: none !important;
  mask: none !important;
  mask-image: none !important;               /* sometimes used for the arc */
  position: relative !important;
  overflow: hidden !important;
}

/* 4.10 If Jetpack draws the spinner as pseudo-elements on this exact button */
#subscribe-submit::after,
#subscribe-submit::before {
  content: none !important;
  display: none !important;
  background: none !important;
  background-image: none !important;
  animation: none !important;
  -webkit-animation: none !important;
  -webkit-mask: none !important;
  mask: none !important;
  box-shadow: none !important;
  opacity: 0 !important;
}

/* 4.11 If the spinner is injected as a child node (svg/span/icon) */
#subscribe-submit svg,
#subscribe-submit span,
#subscribe-submit i {
  display: none !important;
}

/* 4.12 Extra safety: when Jetpack toggles “busy” classes on the button */
#subscribe-submit.is-busy,
#subscribe-submit.is-loading,
#subscribe-submit.is-submitting {
  animation: none !important;
  -webkit-animation: none !important;
  background-image: none !important;
  -webkit-mask: none !important;
  mask: none !important;
}

/* 4.13 Force Subscribe button to be a single solid RD blue */
#subscribe-submit,
button#subscribe-submit.wp-block-button__link {
  background: #036bb3 !important;           /* Solid RD blue */
  background-color: #036bb3 !important;     /* Ensure no gradient overlay */
  background-image: none !important;        /* Kill gradients */
  background-repeat: no-repeat !important;
  background-size: auto !important;
  border: none !important;                   /* Optional: remove any border line */
  box-shadow: none !important;               /* Remove glossy/3D effect */
  color: #fff !important;                    /* Keep text white */
}

/* 4.14 Flatten native Safari button styling on the Subscribe button */
#subscribe-submit {
  -webkit-appearance: none !important; /* kill Safari's default gradient */
  appearance: none !important;
  background-color: #036bb3 !important; /* solid RD blue */
  background-image: none !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  border-radius: 8px !important;        /* keep your shape */
  background-clip: padding-box !important;
}

#subscribe-submit:hover,
#subscribe-submit:focus,
#subscribe-submit:active {
  background-color: #036bb3 !important; /* keep it flat in all states */
}

/* 4.15 Flatten the Subscribe button AND anything inside it */
#subscribe-submit,
#subscribe-submit:hover,
#subscribe-submit:focus,
#subscribe-submit:active {
  -webkit-appearance: none !important;
  appearance: none !important;
  background: #036bb3 !important;       /* solid RD blue */
  background-color: #036bb3 !important;
  background-image: none !important;
  background-blend-mode: normal !important;
  border: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  color: #fff !important;
  border-radius: 10px !important;
  overflow: hidden !important;           /* keep any strays clipped */
  isolation: isolate;                    /* stop blending from parents */
}

/* 4.16 Nuke ANY overlay on descendants */
#subscribe-submit *,
#subscribe-submit *::before,
#subscribe-submit *::after {
  background: none !important;
  background-image: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
  filter: none !important;
  -webkit-filter: none !important;
  -webkit-mask: none !important;
  mask: none !important;
  opacity: 1 !important;                 /* keep text fully visible */
  color: inherit !important;             /* keep white text */
}

/* === HOMEPAGE & ARCHIVE LINK COLORS (unify with brand) === */
.blog .entry-title a,
.archive .entry-title a,
.blog .site-main a,
.archive .site-main a,
.blog .ast-pagination a,
.archive .ast-pagination a,
.blog .entry-meta a,
.archive .entry-meta a {
  color: var(--rd-brand) !important;
  text-decoration-color: currentColor !important;
}

.blog .entry-title a:hover,
.archive .entry-title a:hover,
.blog .site-main a:hover,
.archive .site-main a:hover,
.blog .entry-meta a:hover,
.archive .entry-meta a:hover {
  color: var(--rd-blue-dark) !important;
}

/* Read-More on cards */
.blog a.more-link,
.archive a.more-link {
  color: var(--rd-brand) !important;
  border-bottom: 1px solid var(--rd-brand) !important;
  text-decoration: none !important;
}
.blog a.more-link:hover,
.archive a.more-link:hover {
  color: var(--rd-blue-dark) !important;
  border-bottom-color: var(--rd-blue-dark) !important;
}

/* =====  C02 · RD BRAND UNIFIER — replace legacy hard-coded blues  =====
   Uses: --rd-brand, --rd-accent, --rd-blue-dark
   Paste at END of stylesheet */

/* 1) Homepage / archive cards, titles, meta, read-more */
.blog .entry-title a,
.archive .entry-title a,
.blog .site-main a,
.archive .site-main a,
.blog .entry-meta a,
.archive .entry-meta a { color: var(--rd-brand) !important; }

/* 2) “RD Article” shell, TOC, quotes */
.rd-toc__title { color: var(--rd-brand) !important; }
.rd-toc a { border-bottom: 1px dotted var(--rd-accent) !important; }
.rd-toc a:hover { color: var(--rd-brand) !important; border-bottom-style: solid !important; }

/* 3) “Reformed-article” components */
.reformed-article .section-title {
  color: var(--rd-brand) !important;
  border-bottom: 2px solid var(--rd-accent) !important;
}

/* 4) Heidelblog / Publications list */
.rd-item { border-left: 6px solid var(--rd-brand) !important; }
.rd-pubs h2 { border-left: 6px solid var(--rd-brand) !important; }
.rd-item h3 a { color: var(--rd-brand) !important; }
.rd-item h3 a:hover { color: var(--rd-accent) !important; }

/* 5) Coffeehouse widget */

/* 6) “Read Articles” CTA + contributors list buttons */
a.read-articles-btn {
  background: var(--rd-accent) !important;
  border-color: var(--rd-accent) !important;
  color: #fff !important;
}
a.read-articles-btn:hover {
  background: var(--rd-brand) !important;
  border-color: var(--rd-brand) !important;
}

/* 7) Manual related-posts widget links */
.manual-related-posts-with-thumbs .related-item a {
  color: var(--rd-brand) !important;
}
.manual-related-posts-with-thumbs .related-item a:hover {
  color: var(--rd-blue-dark) !important;
}

/* 8) Generic underline tint in cards/excerpts */
.blog .site-main a,
.archive .site-main a {
  text-decoration-color: currentColor !important;
}

/* === TAG CLOUD + HEIDELBLOG LINK COLOR FIX === */
.widget_tag_cloud a,
.tagcloud a {
  color: var(--rd-brand) !important;
  text-decoration: none !important;
}

.widget_tag_cloud a:hover,
.tagcloud a:hover {
  color: var(--rd-blue-dark) !important;
}

/* Heidelblog widget "Read the Articles" */
.widget_text a,
.widget_text a:visited {
  color: var(--rd-brand) !important;
}

.widget_text a:hover {
  color: var(--rd-blue-dark) !important;
}

/* === MOBILE HAMBURGER MENU ICON COLOR === */
.ast-button-wrap .menu-toggle .ast-icon,
.ast-button-wrap .menu-toggle svg {
  color: #ffffff !important;
  fill: #ffffff;
  stroke: #ffffff !important;
}

/* === Coffeehouse + Heidelblog button refinement === */

/* Base button style */
.rd-button-outline,
.coffeehouse-widget a,
.widget_text a.read-articles-btn {
  display: inline-block;
  padding: 8px 18px;
  margin-top: 10px;
  border: 2px solid var(--rd-brand);
  color: var(--rd-brand);
  background-color: transparent !important;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

/* Hover effect */
.rd-button-outline:hover,
.coffeehouse-widget a:hover,
.widget_text a.read-articles-btn:hover {
  background-color: var(--rd-brand) !important;
  color: #ffffff !important;
  border-color: var(--rd-brand);
}

/* Make sure any old solid button overrides are cleared */
.coffeehouse-widget a,
.widget_text a {
  box-shadow: none !important;
}

/* Center buttons inside widget boxes */
.coffeehouse-widget,
.widget_text {
  text-align: center;
}

/* === MOBILE MENU COLOR CORRECTION === */

/* Menu links */
.ast-mobile-header-wrap .main-header-menu .menu-item > a,
.ast-builder-menu-mobile .main-header-menu .menu-item > a {
  color: var(--rd-brand) !important;
}

/* Hover & active states */
.ast-mobile-header-wrap .main-header-menu .menu-item:hover > a,
.ast-mobile-header-wrap .main-header-menu .current-menu-item > a,
.ast-builder-menu-mobile .main-header-menu .menu-item:hover > a,
.ast-builder-menu-mobile .main-header-menu .current-menu-item > a {
  color: var(--rd-blue-dark) !important;
}

/* Ensure submenu arrows match */
.ast-mobile-header-wrap .ast-menu-toggle svg,
.ast-builder-menu-mobile .ast-menu-toggle svg {
  fill: var(--rd-brand);
}

/* Keep menu background and close (X) icon white on dark header */
.ast-button-wrap .menu-toggle .ast-icon,

/* === MOBILE MENU BACKGROUND MATCH === */
.ast-mobile-popup-inner,
.ast-builder-menu-mobile .main-header-menu,
.ast-builder-menu-mobile .ast-above-header,
.ast-builder-menu-mobile .ast-below-header {
  background-color: var(--rd-blue-dark) !important;
}

/* Ensure text is legible against the dark background */
.ast-builder-menu-mobile .main-header-menu .menu-item > a {
  color: #E8ECF1 !important;
}

.ast-builder-menu-mobile .main-header-menu .menu-item:hover > a,
.ast-builder-menu-mobile .main-header-menu .current-menu-item > a {
  color: var(--rd-accent-light, #dce6f5) !important; /* soft hover highlight */
}

/* Keep submenu arrows visible */
.ast-builder-menu-mobile .ast-menu-toggle svg {
  fill: #ffffff;
}

@media (max-width: 921px){
  .ast-header-break-point .main-header-menu > li {
    padding-left: 62px !important;
    padding-right: 55px !important;
  }
}

@media (max-width: 921px){
  .ast-header-break-point .main-header-menu .menu-link {
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  }
}

/* Slightly smaller pills + slightly smaller text */
@media (max-width: 921px){
  .ast-header-break-point .main-header-menu .menu-link {
    padding: 16px 24px !important;  /* slightly reduced height */
    border-radius: 60px !important; /* matches new size */
    font-size: 21px !important;     /* down from 23px */
    margin: 14px auto !important;   /* keeps spacing balanced */
    width: 92% !important;          /* keeps left padding perfect */
  }
}

/* =====  C03 · Reformed Dogmatika Premium Search Bar — FINAL (clickable icon)  ===== */

/* Outer widget container */
.widget_search {
  padding: 12px 16px !important;
  border-radius: 14px !important;
  box-shadow: 0 6px 18px rgba(0,0,0,0.10) !important;
  background: #ffffff !important;
}

/* Positioning anchor for submit button/icon */

/* Search field */
.widget_search input.search-field {
  width: 100% !important;
  padding: 16px 52px 16px 18px !important; /* room on right for icon */
  border-radius: 10px !important;

  background-color: var(--rd-blue-dark, #163D5C) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,0.15) !important;

  box-shadow: none !important;
  outline: none !important;
  box-sizing: border-box;
}

/* Placeholder text */
.widget_search input.search-field::placeholder {
  color: #d2dbe5 !important;
}

/* Submit button turned into a clickable icon (NO hiding) */
.widget_search input[type="submit"] {
  position: absolute !important;
  right: 18px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 28px !important;
  height: 28px !important;
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer;
  font-size: 0 !important; /* hide "Search" text visually, keep it for screen readers */
}

/* Icon drawn by the submit button itself */
.widget_search input[type="submit"]::before {
  content: "🔍"; /* 🔍 */
  font-size: 20px;
  color: rgba(255,255,255,0.40);
}

/* Hover/focus: brighten icon */
.widget_search input[type="submit"]:hover::before,
.widget_search input[type="submit"]:focus::before {
  color: #ffffff;
}

/* =====  C04 · Reformed Dogmatika – Slogan Widget (Cleaned)  ===== */

/* Title */
.rd-slogan-title {
  font-family: 'Source Sans 3', system-ui, sans-serif !important;
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
  color: var(--rd-brand, #1B4E74);
  margin: 10px 0 5px;
}

/* Subtitle */
.rd-slogan-text {
  font-family: 'Source Sans 3', system-ui, sans-serif !important;
  font-style: italic;
  font-size: 1.05rem;
  text-align: center;
  line-height: 1.5;
  color: var(--rd-brand, #1B4E74);
  margin: 0 12px 15px;
}

/* =====  C05 · Reformed Dogmatika Feature Cards (Sidebar)  =====
   Clean • Unified • RD Palette */

/* Card wrapper */
.rd-feature-card {
  font-family: "Open Sans", Arial, sans-serif;
  max-width: 420px;
  margin: 0 auto 26px auto;
}

/* Ribbon */
.rd-feature-ribbon {
  width: 100%;
  height: 6px;
  background: var(--rd-brand, #1B4E74);
  border-radius: 2px;
}

/* Card box */
.rd-feature-box {
  background: #ffffff;
  border: 1px solid var(--rd-brand, #1B4E74);
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  overflow: hidden;
}

/* Image area (background-image set inline) */
.rd-feature-image {
  height: 200px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Content area */
.rd-feature-content {
  padding: 18px;
}

/* Title */
.rd-feature-title {
  color: var(--rd-brand, #1B4E74);
}

/* Excerpt */

/* CTA container */
.rd-widget-cta {
  margin: 18px 0 14px;
}

/* Read More button – unified RD style */
.rd-widget-btn,
.rd-widget-btn:link,
.rd-widget-btn:visited,
.rd-widget-btn:hover,
.rd-widget-btn:focus,
.rd-widget-btn:active {
  display: inline-block;
  padding: 8px 22px;
  border-radius: 6px;
  font-family: 'Source Sans 3', system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--rd-brand, #1B4E74) !important;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.1s ease;
}

/* Normal state */
.rd-widget-btn,
.rd-widget-btn:link,
.rd-widget-btn:visited {
  background-color: #ffffff;
  color: var(--rd-brand, #1B4E74) !important;
}

/* Hover / focus */
.rd-widget-btn:hover,
.rd-widget-btn:focus {
  background-color: var(--rd-blue-dark, #163D5C) !important;
  color: #ffffff !important;
  border-color: var(--rd-blue-dark, #163D5C) !important;
}

/* Active (click) state */
.rd-widget-btn:active {
  background-color: #091f36 !important;
  color: #ffffff !important;
  border-color: #091f36 !important;
  transform: scale(0.97);
}

/* =====  C06 · OUR CONTRIBUTORS – Reformed Dogmatika Sidebar Widget  =====
   Cleaned, Organized, Full RD Palette */

/* Card container */
.rd-contrib-widget {
  font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #ffffff !important;
  border: 1px solid var(--rd-brand, #1B4E74);
  border-radius: 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  padding: 18px 18px 16px;
  margin-bottom: 22px;
}

/* Reset inner clutter safely */
.rd-contrib-widget * {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* Title */
.rd-contrib-title {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 800;
  text-align: center;
  color: var(--rd-brand, #1B4E74);
  font-family: 'Source Sans 3', system-ui, sans-serif;
}

/* Ribbon under title */
.rd-contrib-ribbon {
  width: 100%;
  height: 4px;
  background: var(--rd-brand, #1B4E74) !important;
  border-radius: 2px;
  margin: 0 0 10px;
}

/* Tagline */
.rd-contrib-tagline {
  text-align: center;
  font-size: 0.92rem;
  color: #333;
  margin: 0 0 14px;
}

/* Affiliation “chips” */
.rd-contrib-chips {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.rd-chip {
  padding: 5px 11px;
  border-radius: 999px !important;
  font-weight: 800;
  font-size: 0.75rem;
  color: #fff;
  letter-spacing: 0.02em;
}

/* Presbytery-colored chips (kept intentionally) */
.rd-chip-urc {
  background: linear-gradient(180deg, #3aa0e6, #036bb3) !important;
}
.rd-chip-pca {
  background: linear-gradient(180deg, #45a073, #2a7c55) !important;
}
.rd-chip-opc {
  background: linear-gradient(180deg, #7c74d8, #4b3db8) !important;
}

/* Section titles (e.g., Contributors • Editors) */
.rd-contrib-section {
  margin-top: 14px !important;
}

.rd-contrib-section-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--rd-blue-dark, #163D5C);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 12px 0 10px !important;
}

/* List container */
.rd-contrib-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Contributor row */
.rd-contrib-item {
  padding: 8px 0;
  border-bottom: 1px solid #efefef;
}
.rd-contrib-item:last-child {
  border-bottom: none;
}

/* Remove global WP markers */
.rd-contrib-item::marker,
.rd-contrib-item::before,
.rd-contrib-item::after {
  display: none !important;
}

/* Link layout for each contributor */
.rd-contrib-item a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--rd-brand, #1B4E74) !important;
}

/* Contributor avatar */
.rd-contrib-avatar {
  width: 52px !important;
  height: 52px !important;
  border-radius: 50% !important;
  object-fit: cover;
  border: 1px solid #d4d4d4 !important;
  box-shadow: 0 0 3px rgba(0,0,0,0.04) !important;
}

/* Contributor name */
.rd-contrib-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--rd-brand, #1B4E74) !important;
}

.rd-contrib-item a:hover .rd-contrib-name {
  text-decoration: underline;
}

/* Footer link */
.rd-contrib-footer {
  margin-top: 18px;
  text-align: center;
}

.rd-contrib-footer-link {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--rd-brand, #1B4E74) !important;
  text-decoration: none;
}

.rd-contrib-footer-link:hover {
  text-decoration: underline;
}

/* Cancel global author-pill effects inside this widget */
.rd-contrib-widget a[href*="/author/"],
.rd-contrib-widget a[href*="/?author="],
.rd-contrib-widget a[href*="/contributors/"],
.rd-contrib-widget a[href*="/contributor/"] {
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
  border: none !important;
  color: var(--rd-brand, #1B4E74) !important;
}

/* =====  C07 · REFORMED QUOTE OF THE DAY WIDGET (RD Palette)  ===== */

/* Heading above the rotating quote */

/* Rotating quote output */

/* Link to Confessions page */

/* Hide internal title from the rotating quote shortcode */

/* =====  C08 · RD SUBSCRIBE WIDGET — Full RD Palette + Clean Formatting  ===== */

/* Subscribe card container */
.rd-subscribe-widget {
  background: #ffffff;
  border: 1px solid var(--rd-brand, #1B4E74);
  border-radius: 14px;
  padding: 28px 26px !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  text-align: center;
  font-family: "Open Sans", Arial, sans-serif;
  margin-bottom: 26px;
}

/* Title */
.rd-subscribe-title {
  font-weight: 800;
  margin-bottom: 14px !important;
  position: relative;
  padding-bottom: 6px;
}

/* RD underline under title */
.rd-subscribe-title::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 72%;
  height: 2px;
  background-color: var(--rd-brand, #1B4E74);
  border-radius: 999px;
}

/* Tagline + supporting text */
.rd-subscribe-tagline,
.rd-subscribe-text {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 22px !important;
  line-height: 1.45;
}

/* Jetpack email input */
.jetpack_subscription_widget input[type="email"],
.wp-block-jetpack-subscriptions input[type="email"] {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--rd-brand, #1B4E74);
  border-radius: 6px;
  font-size: 1rem;
  font-family: "Open Sans", sans-serif;
  box-shadow: none;
}

/* Hide Jetpack's default title/description */
.widget_blog_subscription h2,
.rd-subscribe-widget .jetpack_subscription_widget .widget-title,
.rd-subscribe-widget .jetpack_subscription_widget h2,
.rd-subscribe-widget .jetpack_subscription_widget > p {
  display: none !important;
}

/* Subscribe button — RD style */
#subscribe-submit,
.jetpack_subscription_widget input[type="submit"],
.wp-block-jetpack-subscriptions input[type="submit"] {
  background: transparent !important;
  color: var(--rd-brand, #1B4E74) !important;
  border: 2px solid var(--rd-brand, #1B4E74) !important;
  padding: 14px 24px !important;
  border-radius: 10px !important;
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  font-family: 'Source Sans 3', system-ui, sans-serif !important;
  width: auto !important;
  display: inline-block !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: 0.25s ease-in-out;
}

/* Hover */
#subscribe-submit:hover,
.jetpack_subscription_widget input[type="submit"]:hover,
.wp-block-jetpack-subscriptions input[type="submit"]:hover {
  background: var(--rd-brand, #1B4E74) !important;
  color: #ffffff !important;
  border-color: var(--rd-brand, #1B4E74) !important;
}

/* =====  C09 · RD Categories Widget Styling (RD Palette)  ===== */

/* Widget container */

/* Title */

/* Dropdown styling (with RD arrow) */

/* Hover / Focus */

/* =====  C10 · Reformed Dogmatika Style — RDS2  =====
   Long-Form Theology & Essay Layout (Stanzas, Dropcaps, Scripture) */

/* Stanzas: paragraph rhythm + spacing */
.stanza {
  margin-bottom: 2.2rem;
}

.stanza p + p {
  margin-top: 0.75rem;
}

/* Soft section dividers */
hr.soft {
  border: 0;
  border-top: 1px solid #ddd;
  width: 60%;
  margin: 2.75rem auto;
}

/* Drop cap (manual .dropcap class) */
.dropcap::first-letter {
  float: left;
  font-size: 3.5rem;
  line-height: 1;
  padding-right: 8px;
  padding-top: 4px;
  font-weight: 700;
}

/* Pull quote styling */
.pullquote {
  font-style: italic;
  text-align: center;
  margin: 2rem auto;
  font-size: 1.25rem;
  color: #444;
}

/* Centered Scripture layout */
.scripture {
  text-align: center;
  font-style: italic;
  margin-top: 1.75rem;
  margin-bottom: 1.75rem;
  font-size: 1.2rem;
}

/* Tighten space between Astra meta area and first paragraph */
.single-post .ast-single-post-content,
.single-post .post-content,
.single-post .entry-content,
.ast-article-single .entry-content,
.ast-single-post .entry-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Remove extra margin from the first paragraph specifically */
.single-post .ast-single-post-content > p:first-of-type,
.single-post .post-content > p:first-of-type,
.single-post .entry-content > p:first-of-type {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Reduce desktop spacing under the post title/meta area */
@media (min-width: 769px){
  .single-post .entry-header {
    margin-bottom: 1rem !important;
  }
}

/* =====  C11 · REFORMED DOGMATIKA – SINGLE POST LAYOUT & TYPOGRAPHY  =====
   Titles • Headings • Body • Blockquotes • Author Box */

/* 1. Single-post column width (desktop) */
@media (min-width: 922px){

  /* Main Astra container */
  body.single-post .ast-container {
    max-width: 1240px !important;
  }

  /* Article column width (Modern Reformation feel) */
  body.single-post .rd-article,
  body.single-post .rd-essay,
  body.single-post .reformed-article,
  body.single-post .entry-content {
    max-width: 880px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* 2. Article title (single post only) */
body.single-post .entry-title,
body.single-post .rd-article__header h1,
body.single-post .rd-essay .entry-title,
body.single-post .reformed-article h1 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem) !important;
  line-height: 1.15 !important;
  letter-spacing: 0 !important;
  color: #1B4E74 !important;
  font-weight: 700;
}

/* 3. Headings inside the article */
.single-post .entry-content h2,
.single-post .entry-content h3,
.single-post .entry-content h4,
.single-post .entry-content h5 {
  color: #1B4E74 !important;
  font-weight: 700;
  line-height: 1.25;
}

.single-post .entry-content h2 { font-size: 1.85rem; }
.single-post .entry-content h3 { font-size: 1.5rem; }
.single-post .entry-content h4 { font-size: 1.3rem; }

/* 4. Body text and paragraph rhythm */
.single-post .entry-content {
  font-size: 1.125rem;
  line-height: 1.7;
}

.single-post .entry-content p {
  margin-bottom: 1.25em;
}

/* 5. Blockquotes (single post) */
.single-post .entry-content blockquote {
  margin: 1.5rem 0;
  padding: 1.1rem 1.4rem 1.2rem 1.6rem;
  border-left: 3px solid #1B4E74;
  background: #f9fbfd;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 720px;
}

/* 6. Automatic drop cap for first paragraph */
body.single-post .entry-content > p:first-of-type::first-letter {
  float: left;
  font-size: 3.5rem;
  line-height: 1;
  padding-right: 8px;
  padding-top: 4px;
  font-weight: 700;
  color: var(--rd-brand);
}

/* 7. Author box container and bio text */
.single-post .ast-author-box {
  max-width: 820px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 1rem;
}

.single-post .ast-author-box .ast-author-bio,
.single-post .ast-author-box .author-bio,
.single-post .ast-author-box p {
  max-width: none !important;
  width: 100% !important;
  line-height: 1.65;
}

/* 8. Author pill styling (name/title) */
.single-post .ast-author-box .author-name,
.single-post .ast-author-box .author-name a,
.single-post .ast-author-box .author-title,
.single-post .ast-author-box .author-title a {
  display: inline-block !important;
  padding: 0.32rem 1.6rem !important;
  font-size: 0.95rem !important;
  line-height: 1 !important;
  border-radius: 999px !important;
  background-color: #1B4E74 !important;
  color: #ffffff !important;
}

/* 9. Homepage & archive titles (non-single-post) */

/* Base shared styling (color, weight, line-height) */
.blog .site-main h2.entry-title a,
.archive .site-main h2.entry-title a,
.home .entry-title,
.page .entry-title {
  font-weight: 700 !important;
  line-height: 1.18 !important;
  color: var(--rd-brand) !important;
  letter-spacing: 0.01em;
}

/* Mobile & small tablets – smaller archive/main titles */
@media (max-width: 768px){
  .blog .site-main h2.entry-title a,
  .archive .site-main h2.entry-title a {
    font-size: 1.35rem !important; /* adjust to 1.3–1.5 as you prefer */
  }
}

/* Desktop – keep the big, elegant archive titles */
@media (min-width: 769px){
  .blog .site-main h2.entry-title a,
  .archive .site-main h2.entry-title a {
    font-size: clamp(1.9rem, 1.6vw + 1.2rem, 2.6rem) !important;
  }
}

/* Make search form icon area clickable */

.rd-search-clickzone {
    position: absolute;
    right: 0;
    top: 0;
    width: 45px;        /* width of clickable icon area */
    height: 100%;
    cursor: pointer;
    z-index: 20;        /* sits above the ::after icon */
    background: transparent;
}

/* =====  C12 · FIX & STYLE: "Guidelines For Writing" page  =====
   URL: /guidelines-vision-writing/ */

/* Center header area for this page only */
body[class*="guidelines-vision-writing"] .entry-header {
  text-align: center;
}

/* Page title fixes (matches RD post feel) */
body[class*="guidelines-vision-writing"] .entry-title {
  font-size: 2.4rem !important;
  line-height: 1.25 !important;
  margin: 1.75rem auto 1.25rem !important;
  max-width: 900px;
  white-space: normal !important;
  overflow-wrap: break-word !important;
  letter-spacing: 0.02em;
  text-shadow: none !important;
  transform: none !important;
  position: static !important;
  overflow: visible !important;
}

/* Make sure the first paragraph doesn't collide with the title */
body[class*="guidelines-vision-writing"] .entry-content > p:first-of-type {
  margin-top: 0.75rem !important;
}

/* -------------------------------------------
   RD-style layout & section headings
   ------------------------------------------- */

/* Match the comfy RD article width */
body[class*="guidelines-vision-writing"] .site-content .ast-container {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Gentle inner padding like your posts */
body[class*="guidelines-vision-writing"] .entry-content {
  padding: 0 1.25rem 3rem;
}

/* Section headings (About Us, Mission Statement, etc.)
   in classic RD colors and style */
body[class*="guidelines-vision-writing"] .entry-content h2 {
  color: var(--rd-brand);
  text-align: center;
  font-size: 1.9rem;
  line-height: 1.3;
  margin-top: 3rem;
  margin-bottom: 1rem;
}

/* Little RD-style accent line under each section heading */
body[class*="guidelines-vision-writing"] .entry-content h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 2px;
  margin: 0.6rem auto 0;
  background-color: var(--rd-accent);
}
/* =====  C13 · RD Styling: Guidelines For Writing Page  ===== */

/* Target THIS page specifically */
body.page-id-3031 .entry-content,
body.page-id-3031 .ast-container {
  max-width: 900px !important;
  margin: 0 auto !important;
  padding: 0 1.25rem !important;
}

/* Main Title */
body.page-id-3031 h1.entry-title {
  color: var(--rd-brand) !important;
  text-align: center !important;
  font-size: 2.4rem !important;
  line-height: 1.25 !important;
  margin-top: 2rem !important;
}

/* Subheadings on this page */
body.page-id-3031 h2 {
  color: var(--rd-brand) !important;
  text-align: center !important;
  font-size: 1.9rem !important;
  margin-top: 3rem !important;
  margin-bottom: 1rem !important;
}

/* Accent line beneath subheadings */
body.page-id-3031 h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 2px;
  background: var(--rd-accent) !important;
  margin: 0.6rem auto 0;
}

/* =====  C14 · Standardize page width to RD article width  =====
   Matches American Huguenot post layout */

.page .site-content .ast-container,
.page .entry-content {
  max-width: 780px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 1.25rem !important;
  padding-right: 1.25rem !important;
}

/* =====  C15 · Reformed Dogmatika • Page Typography Match  =====
   Makes pages match single-post typography */

/* Match page paragraphs to blog post rhythm */
/* LANDMINE (Tech Log #343/#346): page reading-scale steamroll (27.5px at the 25px root). Its mobile counterweight (rd-mobile20-sitewide) sits at END of file; both position and specificity slots are load-bearing. */
.page .entry-content p {
  font-size: 1.1rem !important;
  line-height: 1.6 !important;     /* Same as your articles */
  margin-bottom: 1.15rem !important;
}

/* Match page headings to article headings */
.page .entry-content h2 {
  font-size: 1.9rem !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  margin-top: 3rem !important;
  margin-bottom: 1rem !important;
  color: var(--rd-brand) !important;
}

/* Keep the RD accent line under page h2 */
.page .entry-content h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 2px;
  background-color: var(--rd-accent);
  margin: 0.6rem auto 0;
}

/* Remove blue underline from H2 only on the About page */
body.page-id-1562 h2::after {
  display: none !important;
}

/* ABOUT PAGE: match Wicres section style */
body.page-id-1562 .entry-content {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

/* Heading like "Wicres Under Pressure" */
body.page-id-1562 .entry-content h2:first-of-type {
  font-size: 2.25rem;
  line-height: 1.25;
  font-weight: 700;
  text-align: center;
  color: var(--rd-brand);
  margin: 3rem 0 1.5rem;
}

/* Paragraph rhythm to match articles */
body.page-id-1562 .entry-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.15rem;
}

/* Make sure no blue underline appears on this h2 */
body.page-id-1562 .entry-content h2:first-of-type::after {
  display: none !important;
}

/* MISSION STATEMENT PAGE: match Wicres/About styling */
body.page-id-1564 .entry-content {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

/* Heading like "Wicres Under Pressure" */
body.page-id-1564 .entry-content h2:first-of-type {
  font-size: 2.25rem;
  line-height: 1.25;
  font-weight: 700;
  text-align: center;
  color: var(--rd-brand);
  margin: 3rem 0 1.5rem;
}

/* Paragraph rhythm to match articles */
body.page-id-1564 .entry-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.15rem;
}

/* No blue underline on this h2 */
body.page-id-1564 .entry-content h2:first-of-type::after {
  display: none !important;
}

/* RD – Hide Astra default title on Reformed Confessions page (ID 2180) */
body.page-id-2180 .entry-title,
body.page-id-2180 .entry-header {
  display: none !important;
}

/* RD – Remove overlapping default title on Reformed Confessions / church-confessions page */
body.page-id-2180 .entry-title,
body.page-id-2180 .entry-header,
body.page-church-confessions .entry-title,
body.page-church-confessions .entry-header,
body[class*="church-confessions"] .entry-title,
body[class*="church-confessions"] .ast-archive-title,
body[class*="church-confessions"] .ast-archive-description {
  display: none !important;
}

/* RD – Style title on Reformed Confessions page (ID 2180) */
body.page-id-2180 .entry-title {
  text-align: center;
  margin-top: 60px;
  margin-bottom: 30px;
  font-size: 2.25rem;
  line-height: 1.25;
  font-weight: 700;
  color: var(--rd-brand);
}

/* Optional: remove Astra underline under this title */
body.page-id-2180 .entry-title::after {
  display: none !important;
}

/* RD • Loosen typography on author pages */
body.author .site-main,
body.author .site-content,
body.author .entry-content,
body.author .wp-block-group {
  max-width: 780px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* More breathing room in bio text */

/* RD – Make "Our Contributors" page full width */
body.page-id-10758 .ast-container,
body.page-id-10758 .site-content,
body.page-id-10758 .content-area,
body.page-id-10758 .site-main,
body.page-id-10758 .entry-content {
  max-width: 1500px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 40px !important;
  padding-right: 40px !important;
}

/* RD – Make "Our Contributors" page match author-page width */
body.page-our-contributors .ast-container,
body.page-our-contributors .site-content,
body.page-our-contributors .content-area,
body.page-our-contributors .site-main,
body.page-our-contributors .entry-content,
body.page-our-contributors .contributors-page {
  max-width: 1400px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 40px !important;
  padding-right: 40px !important;
}

/* RD – Widen ONLY the "Our Contributors" page (ID 10758) */
.page.page-id-10758 .site-content .ast-container,
.page.page-id-10758 .entry-content,
.page.page-id-10758 .contributors-page {
  max-width: 1500px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 40px !important;
  padding-right: 40px !important;
}

/* ===== RD Mobile Contributors Fix — FINAL (11/27/25) ===== */

/* Base contributors page layout (desktop + tablet) */
.contributors-page {
  max-width: 760px;
  margin: 0 auto;
}

/* Mobile fixes */
@media (max-width: 768px){

  /* Make the page full-width on phones */
  .contributors-page {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
  }

  /* Reset any weird writing / stacking behaviors */
  .contributors-page *,
  .contributors-page h2,
  .contributors-page p,
  .contributors-page div,
  .contributors-page article {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    white-space: normal !important;
    transform: none !important;
  }

  /* Make all content blocks full-width so text doesn't go vertical */
  .contributors-page article,
  .contributors-page article > *,
  .contributors-page p,
  .contributors-page div {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Heading style on mobile */
  .contributors-page h2 {
    width: 100% !important;
    text-align: left !important;
    font-size: 1.4rem !important;
    margin-bottom: 1rem !important;
  }

  /* Contributor cards */

  /* Contributor images */
  .contributors-page article img {
    display: block !important;
    max-width: 150px !important;
  }
}

/* RD — Fix mobile layout on "Our Contributors" page */
@media (max-width: 768px){

  /* Let the content use the full mobile width */
  body.page-id-10758 .ast-container,
  body.page-id-10758 .site-content,
  body.page-id-10758 .content-area,
  body.page-id-10758 .site-main,
  body.page-id-10758 .entry-content,
  body.page-id-10758 .contributors-page {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* Make sure headings and paragraphs don't stack vertically */
  body.page-id-10758 .contributors-page h2,
  body.page-id-10758 .contributors-page p {
    writing-mode: horizontal-tb;
    white-space: normal !important;
    word-break: normal !important;
  }
}

/* RD – Reset / refine AUTHOR page layout */
body.author .ast-container,
body.author .site-container,
body.author .content-area,
body.author .site-main {
  max-width: 1200px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
}

/* Keep the main author text at a readable width */
body.author .entry-content,
body.author .wp-block-group {
  max-width: 720px !important;
  margin-left: 0 !important;
}

/* Normal paragraph feel on author bios */
body.author p {
  line-height: 1.7 !important;
}

/* Fix author name crunching */
body.author h1.entry-title,
body.author .page-title {
  font-size: 2.4rem !important;
  line-height: 1.2 !important;
  white-space: normal !important;
  margin-bottom: 18px !important;
}

/* Make sure sidebar widgets (like the vertical RD badge) have room */
body.author .sidebar-main,
body.author .secondary,
body.author .widget-area {
  max-width: 320px !important;
  width: auto !important;
}

/* =====  C16 · RD FIX — MOBILE ARCHIVE TITLES RESTORED  ===== */
@media (max-width: 768px){
  .blog .entry-title,
  .archive .entry-title {
    font-size: 22px !important;
    line-height: 1.25 !important;
    text-align: left !important; /* or center if you prefer */
    margin-bottom: 4px !important;
  }
}

/* =====  C17 · RD – Our Contributors page mobile fix (page-id-10758)  =====
   Force full-width text and blocks on phones */
@media (max-width: 768px){

  /* Make *every* paragraph on this page full-width */
  body.page-id-10758 p {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    writing-mode: horizontal-tb;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    text-align: center !important;
  }

  /* Make any Gutenberg groups/columns on this page full-width too */
  body.page-id-10758 .wp-block-group,
  body.page-id-10758 .wp-block-group__inner-container,
  body.page-id-10758 .wp-block-columns,
  body.page-id-10758 .wp-block-column {
    width: 100% !important;
    max-width: 100% !important;
    flex-basis: 100%;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* =====  C18 · RD – FINAL mobile fix for "Our Contributors" page  =====
   Force full-width content and horizontal text */
@media (max-width: 768px){

  /* Make the whole page content full-width on phones */
  body.page-our-contributors .entry-content {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* Every direct child block inside the page content */
  body.page-our-contributors .entry-content > * {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Every paragraph inside the page content */
  body.page-our-contributors .entry-content p {
    display: block !important;
    max-width: 100% !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    writing-mode: horizontal-tb;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    text-align: center !important;
  }
}

/* =====  C19 · RD – Contributors tagline layout  ===== */

.contributors-tagline {
  display: block;
  max-width: 32rem;
  margin: 1.5rem auto 0.9rem auto;
  text-align: center;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.5;
}

/* Make absolutely sure it behaves on phones */
@media (max-width: 768px){
  .contributors-tagline {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }
}

/* Official Astra fix for mobile usability issues (narrow/stacked content) */
:where(body, iframe, pre, img, svg, video, canvas, select) {
  max-width: 100%;
  overflow: auto;
  word-break: break-word;
}

/* RD – Perfect mobile styling for contributor cards (stack vertically, center, add space) */
@media (max-width: 768px){
  .contributors-page article {
    flex-direction: column; /* Stack image above text */
    align-items: center !important;   /* Center image and text */
    text-align: center !important;    /* Center text */         /* Lighter padding for mobile */             /* Space between image and text */   /* Space between cards */
  }

  .contributors-page article div {
    width: 100% !important;           /* Full-width text */
  }

  .contributors-page article h3 {
    font-size: 1.3em !important;      /* Balanced heading size */
    margin-bottom: 8px !important;
  }

  .contributors-page article p {     /* Readable text */
    margin: 0 !important;
  }

  /* Adjust guest card if needed (different gap) */
  .contributors-page article[style*="gap: 26px"] {
    gap: 12px !important;
  }

  /* Ensure intro text isn't cramped */
  .contributors-page p:not(article p) {
    font-size: 0.95em !important;
    line-height: 1.6 !important;
    margin-bottom: 16px !important;
  }
}

/* =====  C20 · RD – Contributors tagline layout  ===== */

/* Make absolutely sure tagline behaves on phones */

/* =====  C21 · RD – Global Astra/mobile safety for narrow content  ===== */

/* Stack contributors cards nicely on tablets/phones */
@media (max-width: 921px){
  .contributors-page article {
    flex-direction: column;
    align-items: center !important;
    text-align: center !important; /* names stay centered */
  }
}

/* =====  C22 · RD – FINAL Mobile Styling for Contributor Bio Cards  =====
   Wider text, left-aligned bios, clean spacing */
@media (max-width: 768px){

  /* Loosen outer padding so cards can breathe */
  .contributors-page {
    padding-left: 6px !important;
    padding-right: 6px !important;
  }

  /* Full-width bio cards with gentle inner padding */
  .contributors-page article {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 16px 8px !important;   /* 8px side padding = longer line length */
    gap: 12px !important;
    margin-bottom: 24px !important;
  }

  /* Avatar sizing + centering */
  .contributors-page article img {
    width: 140px !important;
    height: 140px !important;
    margin: 0 auto !important;
  }

  /* Text container full-width inside each card */

  /* LEFT-ALIGN all bio content for readability */
  .contributors-page article p,
  .contributors-page article div,
  .contributors-page article span {
    text-align: left !important;
  }

  /* Bio paragraph styling */
  .contributors-page article p {
    font-size: 1rem !important;
    line-height: 1.6 !important;
  }

  /* Space only BETWEEN paragraphs, not above the first */
  .contributors-page article p + p {
    margin-top: 0.8em !important;
  }
}
/* Remove blue underline under H2 on pages */
.page h2::after,
.page .entry-content h2::after {
    content: none !important;
    border: none !important;
    display: none !important;
}

/* =====  C23 · REFORMED DOGMATIKA — HOUSE STYLE  =====
   Site-Wide Standards for Titles, Headings, Text */

/* Title on single pages & posts */
.single .entry-title,
.page .entry-title {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 3rem !important;
    line-height: 1.15 !important;
    font-weight: 700 !important;
    text-align: center !important;
    color: #1B4E74 !important;
    margin-top: 50px !important;
    margin-bottom: 40px !important;
}

/* Subheadings (H2) */
.entry-content h2 {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 2rem !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    color: #1B4E74 !important;
    margin-top: 60px !important;
    margin-bottom: 20px !important;
    text-align: left !important;
}

/* Remove Astra blue underline under H2s */
.entry-content h2::after {
    content: none !important;
    display: none !important;
}

/* Paragraph text improvements — keep default site font */
.entry-content p {
    font-size: 1.15rem;
    line-height: 1.75;
    margin-bottom: 22px;
}

/* Lists matching RD tone */
.entry-content ul li,
.entry-content ol li {
    margin-bottom: 12px;
    font-size: 1.15rem;
    line-height: 1.65;
}

/* ✠ closing mark uniform standard */
.rd-closer {
    text-align: center !important;
    font-size: 2rem !important;
    color: #163D5C !important;
    margin: 60px 0 20px !important;
}

/* RD Contributors Widget – remove bullets & align items */
.rd-contrib-widget .rd-contrib-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.rd-contrib-widget .rd-contrib-list li {
    list-style: none !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    display: flex;
    align-items: center;
}

/* Extra safety for Safari / markers */
.rd-contrib-widget .rd-contrib-list li::marker {
    content: "" !important;
}

/* =====  C24 · RD UNIVERSAL PAGE TITLE  =====
   (Use class="rd-page-title" in page content) */

.rd-page-title {
  text-align: center;
  font-size: 2.9rem;
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--rd-brand, #1B4E74);
  margin: 40px auto 55px;
}

/* Tablet adjustments */
@media (max-width: 1024px){
  .rd-page-title {
    font-size: 2.3rem;
    margin: 35px auto 45px;
    padding: 0 6%;
  }
}

/* Phone adjustments */
@media (max-width: 600px){
  .rd-page-title {
    font-size: 2.0rem;
    margin: 30px auto 40px;
    padding: 0 8%;
  }
}

/* =====  C25 · RD STATIC PAGE TYPOGRAPHY  =====
   (Keeps pages consistent without touching posts) */

.page .entry-content > h2 {
  font-size: 1.9rem;
  line-height: 1.25;
  margin: 42px 0 18px;
  color: var(--rd-brand, #1B4E74);
  font-weight: 700;
}

/* Slightly smaller H2 on phones */
@media (max-width: 600px){
  .page .entry-content > h2 {
    font-size: 1.7rem;
    margin: 34px 0 14px;
  }
}

/* Page body text rhythm */

/* Page lists */
.page .entry-content ul,
.page .entry-content ol {
  margin: 0 0 1.3em 1.3em;
}

/* Optional: a touch more breathing room above first H2
   when it follows the hero title */
.page .entry-content .rd-page-title + h2 {
  margin-top: 10px;
}

/* RD Mobile Title Refinement — Gold Standard */
@media (max-width: 768px){
  .entry-title {
    font-size: 1.33rem !important;
    line-height: 1.25 !important;
  }
}

/* RD Author Name Size — Subtle Enhancement */
@media (max-width: 768px){
  .entry-meta,
  .entry-meta a {
    font-size: 0.97rem !important;
  }
}

/* RD Title Spacing Polishing */
@media (max-width: 768px){
  .entry-title {
    margin-top: 35px !important;
    margin-bottom: 20px !important;
  }
}

/* RD Recommended Articles – size and readability upgrade */
.rd-recommended-articles {
  max-width: 640px;
  margin: 40px auto 70px;
}

/* Thumbnails a bit larger and more luxurious */
.rd-recommended-articles img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 4px;
}

/* Article titles slightly larger for gold-standard readability */
.rd-recommended-articles a {
  font-size: 1.02rem;
  line-height: 1.45;
}

/* A little extra breathing room between items */
.rd-recommended-articles td,
.rd-recommended-articles li {
  padding-top: 6px;
  padding-bottom: 6px;
}

/* Gentle bump on very large desktops */
@media (min-width: 1200px){
  .rd-recommended-articles {
    max-width: 680px;
  }

  .rd-recommended-articles img {
    width: 96px;
    height: 96px;
  }

  .rd-recommended-articles a {
    font-size: 1.06rem;
  }
}

/* =====  C26 · RD Recommended Articles – Gold Standard Upgrade  =====
   Works with the content-hook structure you provided */

/* Outer container: make it wider, balanced, and premium */
.manual-related-posts-with-thumbs {
  max-width: 680px;
  margin: 50px auto 80px;
  padding: 32px 36px;
  background: #f8f9fb;
  border: 1px solid #d8e3ed;
  border-radius: 8px;
}

/* Section title */
.manual-related-posts-with-thumbs h3 {
  font-size: 1.45rem;
  margin-bottom: 18px;
  color: #1B4E74;
  font-weight: 700;
  text-align: left;
}

/* Each related item: spacing + alignment */
.manual-related-posts-with-thumbs .related-item {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

/* Larger thumbnails for industry-standard readability */
.manual-related-posts-with-thumbs img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 6px;
}

/* Titles slightly larger & more luxurious */
.manual-related-posts-with-thumbs a {
  font-size: 1.06rem;
  line-height: 1.45;
  color: #1B4E74;
  font-weight: 500;
  text-decoration: none;
}

.manual-related-posts-with-thumbs a:hover {
  text-decoration: underline;
}

/* Extra breathing room on very large desktops */
@media (min-width: 1200px){
  .manual-related-posts-with-thumbs {
    max-width: 720px;
  }

  .manual-related-posts-with-thumbs img {
    width: 104px;
    height: 104px;
  }

  .manual-related-posts-with-thumbs a {
    font-size: 1.10rem;
  }
}

/* ===== RD Header – desktop micro-polish ===== */
@media (min-width: 921px){

  /* Add a little extra breathing room beneath the header */

  /* Slightly larger, more confident nav links */
}

/* ===== RD Header – nav link enlargement v2 ===== */
@media (min-width: 921px){

  /* Increase nav link size slightly for premium readability */
  .main-header-menu .menu-item > a {
    font-size: 1.03rem;
    letter-spacing: 0.035em;
  }

  /* Add a little more air beneath the header for visual balance */
  .site-header,
  .main-header-bar {
    padding-bottom: 28px;
  }
}

/* ===== RD Sidebar – unified card rhythm ===== */
@media (min-width: 921px){

  /* Normalize internal padding for all sidebar widgets */
  .widget {
    padding: 22px 20px 26px 20px !important;
  }

  /* Unify border radius and shadow for all cards */
  .widget {
    border-radius: 10px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06) !important;
  }

  /* Make widget titles consistent in margin and spacing */
  .widget h2,
  .widget-title {
    margin-top: 0 !important;
    margin-bottom: 18px !important;
  }

  /* Unify bottom spacing between widgets */
  #secondary .widget {
    margin-bottom: 28px !important;
  }

}

/* ===== RD Sidebar – Archives dropdown styling ===== */

/* Make the Archives dropdown look like a refined RD control */

/* Keep label/title nicely spaced from the dropdown */
.widget_archive h2,
.widget_archive .widget-title {
  margin-bottom: 14px !important;
}

/* RD Sidebar — Improved Vertical Spacing Between Widgets */
#secondary .widget {
    margin-bottom: 32px !important; /* previously ~20px — now more elegant */
}

/* RD Sidebar – lighter border + subtle lift on hover */
#secondary .widget {
    border: 1px solid #dde6f2 !important;          /* lighter border */
    border-radius: 10px !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03) !important; /* faint base shadow */
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

#secondary .widget:hover {
    border-color: #C9D1DA !important;
    box-shadow: 0 0 0 2px rgba(201, 209, 218, 0.75), 0 8px 20px rgba(11, 30, 50, 0.18) !important;
    transform: translateY(-1px);
}

/* RD Sidebar – Categories dropdown styling to match Archives */

.widget_categories h2,
.widget_categories .widget-title {
    margin-bottom: 14px !important;
}

/* RD Sidebar – extra spacing below Categories widget */

/* RD Sidebar – refined tag cloud pills */

/* RD Sidebar – nicer text widgets (incl. Quote of the Day) */
#secondary .widget .textwidget {
    line-height: 1.6;
}

#secondary .widget .textwidget p {
    margin-bottom: 0.75em;
}

#secondary .widget .textwidget p:last-child {
    margin-bottom: 0;  /* no awkward extra gap at the bottom */
}

/* =====  C27 · RD Subscribe Section (Universal Block)  ===== */

.rd-subscribe-section {
  text-align: center;
  margin: 3rem auto 2rem;
  max-width: 720px;
}

.rd-subscribe-section hr {
  margin: 3rem auto;
  width: 70%;
  border: 0;
  border-top: 1px solid #d0d0d0;
}

.rd-subscribe-title {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1.9rem;
  line-height: 1.15;
  color: #1b4e74;
  letter-spacing: 0.5px;
  text-align: center;
  white-space: nowrap;
}

.rd-subscribe-text {
  font-size: 1.1rem;
  color: #444;
  max-width: 520px;
  margin: 0 auto 1.75rem;
  line-height: 1.55;
}

.rd-subscribe-button {
  display: inline-block;
  background-color: #1b4e74;
  color: #fff;
  padding: 12px 28px;
  border-radius: 4px;
  font-size: 1.1rem;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: background-color 0.2s;
}

.rd-subscribe-button:hover {
  background-color: #163e5c;
}

.rd-subscribe-cross {
  font-size: 1.8rem;
  color: #163d5c;
  margin: 28px 0 0;
}

/* Mobile refinements */
@media (max-width: 600px){
  .rd-subscribe-title {
    font-size: 1.7rem;
  }
  .rd-subscribe-text {
    font-size: 1rem;
    padding: 0 1rem;
  }
  .rd-subscribe-button {
    width: 100%;
    max-width: 260px;
  }
}

/* =====  C28 · RD Homepage Slogan  ===== */

.rd-slogan {
  text-align: center;
  font-size: 1.25rem;
  font-style: italic;
  color: #4a5568;
  letter-spacing: 0.02em;
  margin: 28px auto 36px;
  width: 100%;
  display: block;
}

/* RD Slogan — Mobile Gold Standard */
@media (max-width: 768px){
  .rd-slogan {
    font-size: 0.95rem;
    line-height: 1.22;
    padding: 2px 6px;
    margin: 10px auto 14px;
  }
}

/* =====  C29 · RD – Quote of the Day: Fade-in  ===== */

@keyframes rd-quote-fade-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hide the extra "Show Another Quote" button from the quote plugin everywhere */
.randomquote-button,
.reformed-quote-button,
.randomquote-refresh,
button.randomquote-refresh,
button.randomquote-button,
button.reformed-quote-button,
input.randomquote-button,
input.randomquote-refresh,
input.reformed-quote-button {
    display: none !important;
}

/* RD: hide Astra title only on Heidelblog Contributions page (ID 11223) */
.page-id-11223 .entry-header,
.page-id-11223 .ast-archive-title,
.page-id-11223 .ast-page-title,
.page-id-11223 .entry-title {
  display: none !important;
}

/* GLOBAL: Wider content layout across all pages */

:not(body.single) .site-content .content-area,
:not(body.single) .entry-content {
  max-width: 1100px !important;  /* ideal reading width */
  margin-left: auto;
  margin-right: auto;
}

/* GLOBAL: Wider content layout across all pages */
.site-content .ast-container {
  max-width: 1300px !important;   /* widen the overall site canvas */
  padding-left: 30px;
  padding-right: 30px;
}

.site-content .content-area,
.site-content .entry-content,
.page .entry-content {
  max-width: 1100px;              /* generous reading width */
  margin-left: auto;
  margin-right: auto;
}

/* Reformed Confessions page — hero image slightly narrower than text */
.page-id-2180 .entry-content img:first-of-type {
  max-width: 80% !important;   /* adjust here: 75%, 80%, 85% as you prefer */
  margin-left: auto;
  margin-right: auto;
  display: block;
}

/* ----------------------------------------------------
   REFORMED DOGMATIKA — ARCHIVES WIDGET (FINAL)
   Clean banner-only image + RD styling
----------------------------------------------------- */

/* Outer card container */

/* Banner inserted above widget content */

/* Hide the default Astra widget title */
.widget_archive .widget-title,
.widget_archive h2 {
    font-size: 0 !important;
    line-height: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    box-shadow: none !important;
}

.widget_archive .widget-title::before,
.widget_archive h2::before {
    content: none !important;
}

/* RD Styled Dropdown */

/* Mobile adjustments */

/* Remove ALL internal widget spacing Astra injects */

/* Remove extra margin/padding from nested div wrappers */

/* Tightest possible spacing between RD banner and dropdown */

/* Remove ANY top padding the card might inherit */

/* ----------------------------------------------------
   REFORMED DOGMATIKA — SIDEBAR SEARCH WIDGET (CARD)
   Styles the default WordPress "Search" widget
----------------------------------------------------- */

/* --- Outer card container --- */
.widget_search {
    border: 1px solid #e6eef4;
    margin: 0 0 32px;
    position: relative;
}

/* --- Title styling (e.g., "Search Reformed Dogmatika") --- */
.widget_search .widget-title {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1.05rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-align: center;
    margin: 0 0 14px;
    color: #12324a;
}

/* Optional: tiny underline accent under the title */
.widget_search .widget-title::after {
    content: "";
    display: block;
    width: 36px;
    height: 2px;
    margin: 8px auto 0;
    background: #1b4e74;   /* RD blue */
    border-radius: 999px;
}

/* --- Search form layout --- */
.widget_search .search-form {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

/* On small screens, stack input + button */
@media (max-width: 480px){
    .widget_search .search-form {
        flex-direction: column;
        align-items: stretch;
    }
}

/* --- Search input field --- */
.widget_search .search-form .search-field {
    flex: 1 1 auto;
    font-size: 0.95rem;
    padding: 9px 11px;
    border: 1px solid #cdd9e5;
    border-radius: 999px;
    background-color: #f7f9fc;
    color: #12324a;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
    box-sizing: border-box;
}

.widget_search .search-form .search-field::placeholder {
    color: #7b8794;
}

/* Focus state for input */
.widget_search .search-form .search-field:focus {
    border-color: #1b4e74;
    background-color: #ffffff;
    box-shadow: 0 0 0 2px rgba(27, 78, 116, 0.16);
}

/* --- Search button (RD-style) --- */
.widget_search .search-form .search-submit {
    flex: 0 0 auto;
    font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 9px 16px;
    border-radius: 999px;
    border: 1px solid #1b4e74;
    background-color: #1b4e74;
    color: #ffffff;
    cursor: pointer;
    line-height: 1.2;
    white-space: nowrap;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

/* Hover + focus styles for button */
.widget_search .search-form .search-submit:hover,
.widget_search .search-form .search-submit:focus {
    background-color: #286292;
    border-color: #286292;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(17, 42, 70, 0.28);
}

/* Make button full-width when stacked on mobile */
@media (max-width: 480px){
    .widget_search .search-form .search-submit {
        width: 100%;
        text-align: center;
    }
}

/* ----------------------------------------------------
   REFORMED DOGMATIKA — SIDEBAR CARD SKELETON
   Used for: About, Mission/Subscribe, Confessions, etc.
----------------------------------------------------- */

/* Header image strip on top */
.rd-sidebar-header-image {
    border-bottom: 1px solid #e6eef4;
}

/* Make the header image fill the width nicely */
.rd-sidebar-header-image img {
    display: block;
    width: 100%;
    height: auto;
}

/* Inner padding for card content */

/* Sidebar card title */
.rd-sidebar-title {
    font-family: 'Source Sans 3', sans-serif;
    text-transform: uppercase;
    text-align: center;
    margin: 0 0 12px;
    color: #12324a;
}

/* Optional small accent underline under title */
.rd-sidebar-title::after {
    content: "";
    display: block;
    width: 36px;
    height: 2px;
    margin: 8px auto 0;
    background: #1b4e74;  /* RD blue */
    border-radius: 999px;
}

/* Body copy */
.rd-sidebar-text {
    font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    text-align: center;
    color: #283544;
    margin: 0 0 16px;
}

/* CTA container */
.rd-widget-cta {
    text-align: center;
}

/* Standard RD sidebar button */
.rd-widget-btn {
    display: inline-block;
    font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid #1b4e74;
    background-color: #1b4e74;
    color: #ffffff;
    text-decoration: none;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color 0.18s ease, border-color 0.18s ease,
                color 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
}

/* Hover state */
.rd-widget-btn:hover,
.rd-widget-btn:focus {
    box-shadow: 0 2px 6px rgba(17, 42, 70, 0.28);
    transform: translateY(-1px);
}

/* Mobile spacing adjustments if needed */
@media (max-width: 480px){
    .rd-sidebar-card-body {
        padding: 16px 16px 18px;
    }
}

/* ----------------------------------------------------
   RD Sidebar — Mission + Subscribe Enhancements
----------------------------------------------------- */

/* Slightly tighter mission paragraphs inside this card */
.rd-sidebar-mission-subscribe .rd-sidebar-text {
    margin-bottom: 10px;
}

/* Divider between mission text and subscribe area */
.rd-sidebar-divider {
    width: 42px;
    height: 2px;
    margin: 14px auto 16px;
    background-color: #1b4e74;
    border-radius: 999px;
}

/* Subscribe section heading under mission */
.rd-sidebar-subscribe-block {
    text-align: center;
}

.rd-sidebar-subscribe-block .rd-subscribe-title {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0 0 6px;
    color: #12324a;
}

.rd-sidebar-subscribe-block .rd-subscribe-tagline {
    font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.9rem;
    line-height: 1.45;
    margin: 0 0 10px;
    color: #283544;
}

/* Jetpack subscribe form inside the card */
.rd-sidebar-mission-subscribe form input[type="email"],
.rd-sidebar-mission-subscribe form input[type="text"] {
    width: 100%;
    box-sizing: border-box;
    font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.9rem;
    padding: 8px 11px;
    border-radius: 999px;
    border: 1px solid #cdd9e5;
    background-color: #f7f9fc;
    color: #12324a;
    outline: none;
    margin: 0 0 10px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.rd-sidebar-mission-subscribe form input[type="email"]::placeholder,
.rd-sidebar-mission-subscribe form input[type="text"]::placeholder {
    color: #7b8794;
}

/* Focus state for email field */
.rd-sidebar-mission-subscribe form input[type="email"]:focus,
.rd-sidebar-mission-subscribe form input[type="text"]:focus {
    border-color: #1b4e74;
    background-color: #ffffff;
    box-shadow: 0 0 0 2px rgba(27, 78, 116, 0.16);
}

/* Submit button styled like other RD buttons */
.rd-sidebar-mission-subscribe form input[type="submit"] {
    display: inline-block;
    width: 100%;
    font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid #1b4e74;
    background-color: #1b4e74;
    color: #ffffff;
    text-decoration: none;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color 0.18s ease, border-color 0.18s ease,
                color 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
}

.rd-sidebar-mission-subscribe form input[type="submit"]:hover,
.rd-sidebar-mission-subscribe form input[type="submit"]:focus {
    background-color: #286292;
    border-color: #286292;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(17, 42, 70, 0.28);
    transform: translateY(-1px);
}

/* ----------------------------------------------------
   RD Sidebar — Clean Up Jetpack Subscribe Block
   (within Mission + Subscribe card only)
----------------------------------------------------- */

/* In the wrapped Jetpack block, hide its title + intro text */
.rd-sidebar-mission-subscribe .rd-subscribe-form > h2,
.rd-sidebar-mission-subscribe .rd-subscribe-form > h3,
.rd-sidebar-mission-subscribe .rd-subscribe-form > p:first-of-type,
.rd-sidebar-mission-subscribe .rd-subscribe-form > p:nth-of-type(2) {
    display: none !important;
}

/* Tighten spacing above the email field */

/* Slightly tighter spacing beneath the last mission paragraph */

/* Subscribe block spacing */
.rd-sidebar-subscribe-block {
    margin-top: 6px;
}

/* ----------------------------------------------
   RD Sidebar — Refined Email Field Underline
   (Option 1: Keep but soften)
---------------------------------------------- */

.rd-sidebar-mission-subscribe form input[type="email"] {
    border-bottom-width: 1px !important;
    border-bottom-color: #cdd9e5 !important;
}

/* Focus state stays RD-blue, but thin and refined */
.rd-sidebar-mission-subscribe form input[type="email"]:focus {
    border-bottom-color: #1b4e74 !important;
    box-shadow: none !important; /* prevent thick glow */
}

/* ----------------------------------------------
   RD Sidebar — Mission + Subscribe Spacing Polish
---------------------------------------------- */

/* Slightly tighten space above subscribe area */
.rd-sidebar-mission-subscribe .rd-sidebar-subscribe-block {
    margin-top: 4px;
}

/* Tighten tagline spacing under STAY CONNECTED */
.rd-sidebar-mission-subscribe .rd-subscribe-tagline {
    margin-bottom: 8px;
}

/* Slightly reduce spacing before the divider */
.rd-sidebar-mission-subscribe .rd-sidebar-text:last-of-type {
    margin-bottom: 10px;
}

/* Tighten vertical space inside Jetpack form wrapper */
.rd-sidebar-mission-subscribe .rd-subscribe-form form {
    margin-top: 4px !important;
}

/* ----------------------------------------------------
   RD Sidebar — FORCE REMOVE Jetpack Blue Underline
----------------------------------------------------- */

/* Remove ALL Jetpack bottom borders + focus underlines */
.rd-sidebar-mission-subscribe .rd-subscribe-form input[type="email"],
.rd-sidebar-mission-subscribe .rd-subscribe-form input[type="email"]:focus,
.rd-sidebar-mission-subscribe .rd-subscribe-form input[type="email"]:active {
    border: 1px solid #cdd9e5 !important;
    border-radius: 999px !important;
    box-shadow: none !important;
    outline: none !important;
}

/* RD focus style (thin, elegant, brand blue) */
.rd-sidebar-mission-subscribe .rd-subscribe-form input[type="email"]:focus {
    border: 1px solid #1b4e74 !important;
    box-shadow: 0 0 0 2px rgba(27, 78, 116, 0.18) !important;
}

/* =====  C30 · RD Lord’s Supper Widget Styling  ===== */

.rd-lords-supper-widget {
  border: 1px solid #D6E2EC; /* soft RD blue border */
  border-radius: 14px;
  padding: 22px 20px 24px;
  background: #ffffff;
}

/* Widget title */
.rd-lords-supper-widget .rd-widget-title {
  color: #1B4E74; /* RD primary blue */
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1.25rem;
  text-align: center;
  margin: 18px 0 14px;
}

/* Body text */
.rd-lords-supper-widget p {
  color: #2F3E4E;
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Scripture quotation */
.rd-lords-supper-widget .rd-widget-scripture {
  color: #1B4E74;
  font-style: italic;
  text-align: center;
  margin: 18px 0 12px;
}

.rd-lords-supper-widget .rd-widget-scripture span {
  display: block;
  font-style: normal;
  font-size: 0.9rem;
  color: #286292; /* RD accent blue */
  margin-top: 4px;
}

/* Read more link */
.rd-lords-supper-widget .rd-widget-link {
  text-align: center;
  margin-top: 14px;
}

.rd-lords-supper-widget .rd-widget-link a {
  color: #1B4E74;
  font-weight: 600;
  text-decoration: none;
}

.rd-lords-supper-widget .rd-widget-link a:hover {
  color: #286292;
  text-decoration: underline;
}

/* =====  C31 · RD Gospel Widget — Post Tenebras Lux  ===== */

.rd-gospel-widget {
  border: 1px solid #D6E2EC; /* soft RD blue border */
  border-radius: 14px;
  padding: 22px 20px 24px;
  background: #ffffff;
}

.rd-gospel-widget .rd-widget-title {
  color: #1B4E74; /* RD primary blue */
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1.25rem;
  text-align: center;
  margin: 18px 0 6px;
}

.rd-gospel-widget .rd-widget-subtitle {
  text-align: center;
  margin: 0 0 14px;
  color: #286292; /* RD accent blue */
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 0.86rem;
  text-transform: uppercase;
}

.rd-gospel-widget p {
  color: #2F3E4E;
  font-size: 0.95rem;
  line-height: 1.65;
}

.rd-gospel-widget .rd-widget-scripture {
  color: #1B4E74;
  font-style: italic;
  text-align: center;
  margin: 18px 0 12px;
}

.rd-gospel-widget .rd-widget-scripture span {
  display: block;
  font-style: normal;
  font-size: 0.9rem;
  color: #286292;
  margin-top: 4px;
}

.rd-gospel-widget .rd-widget-link {
  text-align: center;
  margin-top: 14px;
}

.rd-gospel-widget .rd-widget-link a {
  color: #1B4E74;
  font-weight: 600;
  text-decoration: none;
}

.rd-gospel-widget .rd-widget-link a:hover {
  color: #286292;
  text-decoration: underline;
}

.rd-gospel-widget .rd-widget-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

/* =====  C32 · Reformed Dogmatika Featured Widget (RD Feature Card)  =====
   Classes used: .rd-feature-widget, .rd-feature-card, .rd-feature-media,
   .rd-feature-body, .rd-feature-title, .rd-feature-excerpt,
   .rd-feature-actions, .rd-feature-btn */

/* Outer wrapper */
.rd-feature-widget {
  max-width: 640px;
  margin: 18px auto;
}

/* Card */
.rd-feature-card {
  background: #ffffff;
  border: 1px solid rgba(27, 78, 116, 0.18);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.10);
}

/* Media area */
.rd-feature-media {
  display: block;
  line-height: 0; /* removes tiny gaps around images */
  background: #0f172a; /* safe fallback while image loads */
}

.rd-feature-media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: cover;
}

/* Body */
.rd-feature-body {
  padding: 18px 18px 20px 18px;
  text-align: center;
}

/* Title */
.rd-feature-title {
  margin: 10px 0 10px 0;
  font-family: inherit;
  font-size: 30px;
  letter-spacing: 0.2px;
}

.rd-feature-title a {
  color: #1B4E74;
  text-decoration: none;
}

.rd-feature-title a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Excerpt */
.rd-feature-excerpt {
  margin: 0 auto 18px auto;
  max-width: 44ch;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(17, 24, 39, 0.92);
}

/* Actions */
.rd-feature-actions {
  margin-top: 6px;
}

/* Button */
.rd-feature-btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 14px;
  background: #1B4E74;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 10px 18px rgba(27, 78, 116, 0.18);
}

.rd-feature-btn:hover {
  background: #173f5f; /* slightly darker RD-blue */
}

/* Mobile refinement */
@media (max-width: 520px){
  .rd-feature-widget { margin: 14px 12px; }
  .rd-feature-title { font-size: 28px; }
  .rd-feature-excerpt { font-size: 15.5px; }
  .rd-feature-media img { max-height: 240px; }
}

/* Tight small screens */
@media (max-width: 380px){
  .rd-feature-title { font-size: 26px; }
  .rd-feature-body { padding: 16px; }
}

/* RD Feature Widget — FORCE button text to display (theme/iOS safe) */
.rd-feature-widget .rd-feature-btn,
.rd-feature-widget .rd-feature-btn:link,
.rd-feature-widget .rd-feature-btn:visited,
.rd-feature-widget .rd-feature-btn:hover,
.rd-feature-widget .rd-feature-btn:active {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important; /* iOS/Safari fix */
  opacity: 1 !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  text-align: center !important;
}

/* If Astra/theme adds pseudo-elements that can cover text, neutralize */
.rd-feature-widget .rd-feature-btn:before,
.rd-feature-widget .rd-feature-btn:after {
  content: none !important;
}

/* Make sure the button has normal text flow */
.rd-feature-widget .rd-feature-btn {
  display: inline-block !important;
  padding: 14px 20px !important;
  min-width: 240px;
}

/* RD Feature Widget — Title refinement */
.rd-feature-title {
  font-weight: 700;
  line-height: 1.08;
}

/* Reformed Dogmatika — About Page Hero */

.rd-page-hero {
  position: relative;
  max-width: 960px;
  margin: 0 auto 48px;
}

.rd-page-hero img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}

.rd-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 28px 20px 24px;
  text-align: center;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.65),
    rgba(0, 0, 0, 0.0)
  );
}

.rd-hero-title {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 6px;
}

.rd-hero-subtitle {
  font-family: "Open Sans", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: #e6e6e6;
}

/* About Page — remove hero text overlay completely */
.rd-hero-overlay,
.rd-hero-title,
.rd-hero-subtitle {
  display: none !important;
}

/* RD NAV — Gold-standard focus styling (keep keyboard access, remove mouse blue box) */

/* 1) Remove default blue focus outline for mouse clicks */
.main-navigation a:focus,
.main-navigation button:focus {
  outline: none !important;
}

/* 2) Restore a clean, on-brand focus indicator for keyboard users only */
.main-navigation a:focus-visible,
.main-navigation button:focus-visible {
  outline: 2px solid rgba(40, 98, 146, 0.55) !important; /* subtle RD-blue */
  outline-offset: 4px !important;
  border-radius: 6px;
}

/* 3) If Astra applies box-shadow focus styles, neutralize for mouse and reapply for keyboard */
.main-navigation a:focus:not(:focus-visible),
.main-navigation button:focus:not(:focus-visible) {
  box-shadow: none !important;
}

/* RD CONTENT LINKS — Remove mouse focus outline, keep keyboard focus visible */

/* 1) Remove default outline when clicking links in content */
.entry-content a:focus,
.page-content a:focus,
.site-content a:focus,
.rd-article-body a:focus {
  outline: none !important;
}

/* 2) Keep an intentional, accessible focus indicator for keyboard users */
.entry-content a:focus-visible,
.page-content a:focus-visible,
.site-content a:focus-visible,
.rd-article-body a:focus-visible {
  outline: 2px solid rgba(40, 98, 146, 0.55) !important;
  outline-offset: 3px !important;
  border-radius: 4px;
}

/* 3) If any theme/plugin adds focus glow, remove it for mouse clicks only */
.entry-content a:focus:not(:focus-visible),
.page-content a:focus:not(:focus-visible),
.site-content a:focus:not(:focus-visible),
.rd-article-body a:focus:not(:focus-visible) {
  box-shadow: none !important;
}

/* RD — POST CONTENT LINK FOCUS (DESKTOP) */
/* Remove the blue focus box on mouse click, keep keyboard focus visible */

/* Astra content wrappers + common WP wrappers */
.ast-single-entry-content a:focus,
.ast-single-entry-content a:active,
.entry-content a:focus,
.entry-content a:active,
.site-content a:focus,
.site-content a:active,
.article-content a:focus,
.article-content a:active {
  outline: none !important;
  box-shadow: none !important;
}

/* If a theme/plugin applies the effect to children inside the link */
.ast-single-entry-content a:focus *,
.entry-content a:focus *,
.site-content a:focus * {
  outline: none !important;
  box-shadow: none !important;
}

/* Keep a refined focus ring for keyboard users */
.ast-single-entry-content a:focus-visible,
.entry-content a:focus-visible,
.site-content a:focus-visible {
  outline: 2px solid rgba(40, 98, 146, 0.55) !important;
  outline-offset: 3px !important;
  border-radius: 4px;
  box-shadow: none !important;
}

/* RD — LOGO + SUBSCRIBE CTA focus polish (remove mouse blue box, keep keyboard focus) */

/* 1) Header logo / site identity links */
.custom-logo-link:focus,
.custom-logo-link:active,
.site-logo a:focus,
.site-logo a:active,
.ast-site-identity a:focus,
.ast-site-identity a:active,
.site-branding a:focus,
.site-branding a:active {
  outline: none !important;
  box-shadow: none !important;
}

/* 2) Footer + Subscribe areas (covers links + buttons + common WP subscribe form fields) */
.site-footer a:focus,
.site-footer a:active,
.site-footer button:focus,
.site-footer button:active,
.site-footer input:focus,
.site-footer input:active,
.wp-block-button__link:focus,
.wp-block-button__link:active,
button:focus,
button:active,
input[type="submit"]:focus,
input[type="submit"]:active {
  outline: none !important;
  box-shadow: none !important;
}

/* 3) Keyboard-only focus ring (keeps accessibility, looks on-brand) */
.custom-logo-link:focus-visible,
.site-logo a:focus-visible,
.ast-site-identity a:focus-visible,
.site-branding a:focus-visible,
.site-footer a:focus-visible,
.site-footer button:focus-visible,
.wp-block-button__link:focus-visible,
button:focus-visible,
input[type="submit"]:focus-visible {
  outline: 2px solid rgba(40, 98, 146, 0.55) !important;
  outline-offset: 4px !important;
  border-radius: 6px;
  box-shadow: none !important;
}

/* RD — Kill blue focus box for mouse clicks (content links + subscribe CTA), keep keyboard focus */

/* =========================
   1) LINKS INSIDE ARTICLES
   ========================= */

html body .site-content .ast-single-entry-content a:focus,
html body .site-content .ast-single-entry-content a:active,
html body .site-content .entry-content a:focus,
html body .site-content .entry-content a:active,
html body .site-content article a:focus,
html body .site-content article a:active {
  outline: none !important;
  box-shadow: none !important;
  text-decoration-thickness: auto;
}

html body .site-content .ast-single-entry-content a:focus *,
html body .site-content .entry-content a:focus * {
  outline: none !important;
  box-shadow: none !important;
}

/* Keyboard focus (still accessible) */
html body .site-content .ast-single-entry-content a:focus-visible,
html body .site-content .entry-content a:focus-visible,
html body .site-content article a:focus-visible {
  outline: 2px solid rgba(40, 98, 146, 0.55) !important;
  outline-offset: 3px !important;
  border-radius: 4px;
  box-shadow: none !important;
}

/* =========================
   2) SUBSCRIBE BUTTON / WIDGETS (Jetpack + WP)
   ========================= */

/* Common Jetpack/WordPress.com subscription widget + block selectors */
html body .jetpack_subscription_widget a:focus,
html body .jetpack_subscription_widget a:active,
html body .jetpack_subscription_widget button:focus,
html body .jetpack_subscription_widget button:active,
html body .jetpack_subscription_widget input:focus,
html body .jetpack_subscription_widget input:active,
html body .widget_blog_subscription a:focus,
html body .widget_blog_subscription a:active,
html body .widget_blog_subscription button:focus,
html body .widget_blog_subscription button:active,
html body .widget_blog_subscription input:focus,
html body .widget_blog_subscription input:active,
html body .wp-block-jetpack-subscriptions a:focus,
html body .wp-block-jetpack-subscriptions a:active,
html body .wp-block-jetpack-subscriptions button:focus,
html body .wp-block-jetpack-subscriptions button:active,
html body .wp-block-jetpack-subscriptions input:focus,
html body .wp-block-jetpack-subscriptions input:active,
html body form[id*="subscribe"] button:focus,
html body form[id*="subscribe"] button:active,
html body form[id*="subscribe"] input[type="submit"]:focus,
html body form[id*="subscribe"] input[type="submit"]:active {
  outline: none !important;
  box-shadow: none !important;
}

/* Keyboard focus ring for subscribe controls */
html body .jetpack_subscription_widget a:focus-visible,
html body .jetpack_subscription_widget button:focus-visible,
html body .jetpack_subscription_widget input:focus-visible,
html body .widget_blog_subscription a:focus-visible,
html body .widget_blog_subscription button:focus-visible,
html body .widget_blog_subscription input:focus-visible,
html body .wp-block-jetpack-subscriptions a:focus-visible,
html body .wp-block-jetpack-subscriptions button:focus-visible,
html body .wp-block-jetpack-subscriptions input:focus-visible,
html body form[id*="subscribe"] button:focus-visible,
html body form[id*="subscribe"] input[type="submit"]:focus-visible {
  outline: 2px solid rgba(40, 98, 146, 0.55) !important;
  outline-offset: 4px !important;
  border-radius: 6px;
  box-shadow: none !important;
}

/* =====  C33 · RD Catechism Callout (Reusable Standard)  =====
   Questions bold, answers calm + indented */

.rd-catechism-callout {
  border-left: 4px solid #1b4e74;
  background: #f7f9fb;
  padding: 22px 26px;
  margin: 36px 0;
  font-family: 'Source Sans 3', sans-serif;
}

.rd-catechism-callout .rd-catechism-label {
  margin: 0 0 14px;
  font-weight: 700;
  color: #1b4e74;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.rd-catechism-callout .rd-catechism-q {
  margin: 0 0 10px;
  font-weight: 700;
  color: inherit;
}

.rd-catechism-callout .rd-catechism-a {
  margin: 0 0 22px;
  margin-left: 18px;
  font-weight: 400;
  color: #333;
}

.rd-catechism-callout .rd-catechism-a:last-child {
  margin-bottom: 0;
}

/* =====  C34 · RD Catechism Callout – Hard Overrides  =====
   (Answers: NOT bold, NOT italic) */

.rd-catechism-callout .rd-catechism-a,
.rd-catechism-callout .rd-catechism-a * {
  font-style: normal !important;
  font-weight: 400 !important;
}

.rd-catechism-callout .rd-catechism-q,
.rd-catechism-callout .rd-catechism-q * {
  font-style: normal !important;
}

/* Tighten vertical spacing above page titles */
.ast-single-post .entry-header,
.ast-page-builder-template .entry-header,
.page .entry-header {
  padding-top: 32px;
  margin-top: 0;
}

/* Subtle reduction of top whitespace on static pages */
.page .entry-content {
  padding-top: 10px;
}

.page h1,
.page .page-title {
  margin-top: 10px;
}

/* =====  C35 · REFORMED DOGMATIKA — MOBILE TYPOGRAPHY — POSTS + PAGES (GOLD STANDARD)  ===== */

@media (max-width: 768px){

  /* =====================================================
     TITLES — POSTS + PAGES (Merged + Cleaned)
     - Includes: Final Balance + Colon Centering Fix
     ===================================================== */

  body.single-post h1.entry-title,
  body.page h1.entry-title,
  body.single-post .entry-title,
  body.page .entry-title {

    /* Typography */
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
    color: #1b4e74 !important;

    /* Final mobile balance */
    font-size: 1.85rem !important;
    line-height: 1.26 !important;

    /* Layout */
    display: block !important;
    width: 100% !important;
    max-width: 86% !important;
    margin: 18px auto 14px !important;
    text-align: center !important;

    /* True line-centering (fixes “Calvinisticum:” drift) */
    text-align-last: center !important;
    hanging-punctuation: none !important;

    /* Remove side nudges that can throw optical centering on iOS */
    padding-left: 0 !important;
    padding-right: 0 !important;

    /* 🔒 HARD STOP on ugly word breaks */
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none;
  }

  /* =====================================================
     ENTRY HEADER CONTAINER FIX
     ===================================================== */

  body.single-post .entry-header,
  body.page .entry-header,
  body.single-post header.entry-header,
  body.page header.entry-header {
    width: 100% !important;
    max-width: none !important;
  }

  /* =====================================================
     META / BYLINE (posts only)
     ===================================================== */

  body.single-post .entry-meta {
    text-align: center !important;
    margin: 0 auto 18px !important;
    max-width: 520px !important;
    font-size: 0.95rem !important;
    opacity: 0.85;
  }

  /* =====================================================
     FEATURED IMAGES — POSTS + PAGES
     ===================================================== */

  body.single-post .post-thumbnail,
  body.page .post-thumbnail,
  body.single-post .wp-post-image,
  body.page .wp-post-image {
    display: block !important;
    margin: 18px auto 22px !important;
  }

  body.single-post .post-thumbnail img,
  body.page .post-thumbnail img,
  body.single-post img.wp-post-image,
  body.page img.wp-post-image {
    width: 100% !important;
    max-width: 480px !important;
    height: auto !important;
    border-radius: 6px !important;
  }

  /* =====================================================
     FIRST PARAGRAPH BREATHING ROOM
     ===================================================== */

  body.single-post .entry-content > p:first-of-type,
  body.page .entry-content > p:first-of-type {
    margin-top: 10px !important;
  }
}

/* =====  C36 · RD — PAGES ONLY: Fix ultra-narrow mobile width + ugly word breaks  =====
   (Does NOT affect posts) */

@media (max-width: 768px){

  /* 1) Force the Astra page container to use full width */
  body.page .site-content,
  body.page .content-area,
  body.page .site-main,
  body.page .ast-container,
  body.page .ast-container-fluid {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* 2) Stop aggressive mid-word breaking anywhere on pages */
  body.page,
  body.page * {
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none;
  }

  /* 3) Specifically style your custom "RD PAGE TITLE" paragraph
        (the big centered Source Sans 3 title you paste into page HTML) */
  body.page p[style*='font-family: 'Source Sans 3''] {
    font-family: 'Source Sans 3', sans-serif;
    line-height: 1.12 !important;
    letter-spacing: 0.02em !important;
    text-align: center !important;
    margin: 26px auto 16px !important;

    /* Keep a little side air without affecting true centering of H1 */
    padding: 0 12px !important;

    /* hard stop on the “Missi / on” nonsense */
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    hyphens: none;
  }
}

/* =====  C37 · FLUID TITLE SIZE (POSTS + PAGES)  =====
   Desktop / Global
   Mobile sizing controlled separately */

body.single-post h1.entry-title,
body.page h1.entry-title,
body.single-post .entry-title,
body.page .entry-title {
  font-size: clamp(2.05rem, 6.2vw, 3.0rem) !important;
}

/* =====  C38 · RD — MOBILE WORD BREAK CONTROL (ASTRA / iOS SAFE FIX)  =====
   Prevents mid-word breaks while allowing emergency wraps */

@media (max-width: 768px){

  /* Headings */
  h1, h2, h3, h4, h5, h6 {
    word-break: normal !important;
    overflow-wrap: break-word !important; /* emergency only */
    hyphens: none !important;
  }

  /* Content + containers */
  .rd-article-body,
  .rd-article-body *,
  .ast-container,
  .ast-container * {
    word-break: normal !important;
    overflow-wrap: break-word !important;
    hyphens: none;
  }
}

/* =====  C39 · RD — ASSURANCE WIDGET  =====
   Forced match to Gospel / Lord’s Supper typography */

.rd-assurance-widget.rd-feature-widget {
  margin: 0 0 18px !important;
}

.rd-assurance-widget .rd-feature-card {
  background: #ffffff !important;
  border: 1.5px solid rgba(27,78,116,.28) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 6px 14px rgba(0,0,0,.05) !important;
}

.rd-assurance-widget .rd-feature-media {
  display: block !important;
  padding: 12px !important;
  background: #ffffff !important;
}

.rd-assurance-widget .rd-feature-media img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  border-radius: 12px !important;
  border: 1px solid rgba(27,78,116,.12) !important;
}

.rd-assurance-widget .rd-feature-body {
  padding: 6px 18px 18px 18px !important;
  text-align: center !important;
}

.rd-assurance-widget .rd-feature-title {
  margin: 8px 0 12px 0 !important;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 19px !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  color: rgba(27,78,116,.92) !important;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale !important;
}

.rd-assurance-widget .rd-feature-title a {
  color: inherit !important;
  text-decoration: none !important;
}

.rd-assurance-widget .rd-feature-title a:hover {
  text-decoration: underline !important;
}

.rd-assurance-widget .rd-feature-excerpt {
  margin: 0 0 18px 0 !important;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 14px !important;
  font-weight: 300 !important;
  line-height: 1.95 !important;
  color: rgba(31,42,51,.86) !important;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale !important;
}

/* Assurance button */
.rd-assurance-widget .rd-feature-btn {
  display: block !important;
  max-width: 220px !important;
  margin: 0 auto !important;
  padding: 10px 16px !important;
  border-radius: 10px !important;

  background: #1f4f78 !important;
  border: 1.5px solid #1f4f78 !important;

  color: #ffffff !important;
  font-family: "Open Sans", Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.1 !important;

  text-decoration: none !important;
  text-align: center !important;
}

.rd-assurance-widget .rd-feature-btn:hover {
  background: #ffffff !important;
  color: #1f4f78 !important;
}

/* =====  C40 · RD — MISSION "READ MORE" LINK (SIDEBAR)  =====
   Gold-standard, restrained invitation */

.rd-sidebar-mission .rd-mission-readmore a {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  color: #1b4e74 !important;
  text-decoration: none !important;
  letter-spacing: 0.2px !important;
}

.rd-sidebar-mission .rd-mission-readmore a:hover {
  text-decoration: underline !important;
}

/* =====  C41 · RD — MISSION WIDGET: TRUE LIGHT BODY TEXT + BUTTON  ===== */

/* Title stays Source Sans 3 */
.rd-sidebar-mission .rd-sidebar-title {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600 !important;
  color: #1b4e74 !important;
  text-align: center !important;
}

/* Body text: switch to Open Sans (actually loads light weights reliably) */
.rd-sidebar-mission .rd-sidebar-text {
  font-family: "Open Sans", Arial, sans-serif !important;
  font-size: 15px !important;
  font-weight: 300 !important;
  line-height: 1.95 !important;
  color: rgba(31,42,51,.72) !important; /* lighter ink */
  text-align: center !important;
  margin: 0 0 1.05em !important;
}

.rd-sidebar-mission .rd-sidebar-text:last-of-type {
  margin-bottom: 0 !important;
}

/* Gold-standard button */
.rd-sidebar-mission .rd-mission-readmore {
  text-align: center !important;
  margin-top: 16px !important;
}

.rd-sidebar-mission .rd-mission-btn {
  display: inline-block !important;
  padding: 11px 18px !important;
  border-radius: 12px !important;
  border: 1.5px solid rgba(27,78,116,.55) !important;
  background: #ffffff !important;

  font-family: 'Source Sans 3', sans-serif;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.2px !important;

  color: #1b4e74 !important;
  text-decoration: none !important;
}

.rd-sidebar-mission .rd-mission-btn:hover {
  background: rgba(27,78,116,.06) !important;
  border-color: rgba(27,78,116,.75) !important;
}

/* =====  C42 · REFORMED DOGMATIKA — SIDEBAR GOLD STANDARD v1.0  =====
   Canonical widget system (HTML + CSS)
   Paste at BOTTOM of Additional CSS (append) */

/* ---------- Canonical Tokens (colors, spacing, type) ---------- */

/* ---------- Base Card ---------- */
.rd-sidebar-card {
  background: var(--rd-sidebar-card);
  border: 1px solid var(--rd-sidebar-border);
  border-radius: var(--rd-sidebar-radius);
  overflow: hidden;
  box-shadow: var(--rd-sidebar-shadow);
}

.rd-sidebar-card .rd-card-inner {
  padding: var(--rd-sidebar-pad);
}

/* ---------- Header Image Strip (optional) ---------- */
.rd-sidebar-card .rd-card-media {
  display:block;
  line-height: 0;
}

.rd-sidebar-card .rd-card-media img {
  width:100%;
  height:auto;
  display:block;
}

/* If you want a consistent image height for “banner” style widgets */
.rd-sidebar-card.rd-media-fixed .rd-card-media img {
  height: 128px;
  object-fit: cover;
}

/* ---------- Title + Text ---------- */
.rd-sidebar-card .rd-card-title {
  font-family: var(--rd-sidebar-title-font);
  font-size: var(--rd-sidebar-title-size);
  font-weight: 700;
  letter-spacing: .2px;
  color: var(--rd-sidebar-brand);
  margin: 2px 0 var(--rd-sidebar-gap) 0;
  text-align: center;
}

.rd-sidebar-card .rd-card-text {
  font-family: var(--rd-sidebar-body-font);
  font-size: var(--rd-sidebar-body-size);
  font-weight: 300;
  line-height: var(--rd-sidebar-line);
  color: var(--rd-sidebar-muted);
  margin: 0 0 var(--rd-sidebar-gap) 0;
}

.rd-sidebar-card .rd-card-text strong {
  color: var(--rd-sidebar-ink);
  font-weight: 600;
}

/* Optional: small centered “tagline” line */
.rd-sidebar-card .rd-card-kicker {
  font-family: var(--rd-sidebar-body-font);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--rd-sidebar-ink);
  text-align: center;
  margin: 0 0 8px 0;
}

/* ---------- Canonical Button (ONE button style for all widgets) ---------- */
.rd-sidebar-card .rd-card-cta {
  text-align: center;
  margin-top: 10px;
}

.rd-sidebar-card .rd-btn {
  display: inline-block;
  font-family: var(--rd-sidebar-title-font);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .2px;
  text-decoration: none !important;

  color: #ffffff !important;
  background: var(--rd-sidebar-brand);
  border: 1px solid var(--rd-sidebar-brand);
  border-radius: 999px;

  padding: 9px 16px;
  line-height: 1;
  transition: transform .12s ease, opacity .12s ease;
}

.rd-sidebar-card .rd-btn:hover {
  transform: translateY(-1px);
  opacity: .92;
}

/* ---------- Lists (contributors, links, chips) ---------- */
.rd-sidebar-card .rd-card-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rd-sidebar-card .rd-card-list li {
  margin: 0;
  padding: 8px 0;
  border-bottom: 1px solid rgba(27,78,116,.12);
}

.rd-sidebar-card .rd-card-list li:last-child {
  border-bottom: 0;
}

.rd-sidebar-card .rd-card-list a {
  text-decoration: none !important;
  color: var(--rd-sidebar-ink);
  font-family: var(--rd-sidebar-body-font);
  font-size: 13.4px;
  font-weight: 600;
}

.rd-sidebar-card .rd-card-list a:hover {
  color: var(--rd-sidebar-brand);
}

/* ---------- Micro polish for Astra widget wrapper spacing ---------- */
.sidebar-main .widget {
  margin-bottom: 18px;
}

/* ---------- Mobile tune ---------- */

/* =====  C43 · PATCH — Sidebar Gold Standard v1.0  =====
   Fix button text visibility (theme overrides) */
.rd-sidebar-card .rd-btn,
.rd-sidebar-card .rd-btn:link,
.rd-sidebar-card .rd-btn:visited {
  color: #ffffff !important;
}

.rd-sidebar-card .rd-btn:hover,
.rd-sidebar-card .rd-btn:focus {
  color: #ffffff !important;
}

/* =====  C44 · CONTRIBUTORS — Gold Standard v1.0 avatar layout  ===== */
.rd-family-block { margin-top: 12px; }

.rd-family-title {
  font-family: var(--rd-sidebar-body-font);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--rd-sidebar-ink);
  margin: 0 0 8px 0;
  text-align: left;
}

.rd-people {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 10px;
}

.rd-people li { margin: 0; padding: 0; }

.rd-people a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
  color: var(--rd-sidebar-ink);
  font-family: var(--rd-sidebar-body-font);
  font-size: 13px;
  font-weight: 600;
}

.rd-people img {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(27,78,116,.22);
}

.rd-people a:hover { color: var(--rd-sidebar-brand); }

@media (max-width: 768px){
  .rd-people { grid-template-columns: 1fr 1fr; }
}

/* =====  C45 · JETPACK SUBSCRIBE — Gold Standard v1.0 styling  =====
   Keeps Jetpack isolated but visually unified */
.rd-jetpack-subscribe {
  margin-top: 10px;
}

/* Inputs */
.rd-jetpack-subscribe input[type="email"],
.rd-jetpack-subscribe input[type="text"] {
  width: 100% !important;
  box-sizing: border-box;
  padding: 10px 12px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(27,78,116,.28) !important;
  font-family: var(--rd-sidebar-body-font) !important;
  font-size: 14px !important;
  color: var(--rd-sidebar-ink) !important;
}

/* Submit button */
.rd-jetpack-subscribe input[type="submit"],
.rd-jetpack-subscribe button,
.rd-jetpack-subscribe .jetpack_subscription_widget input[type="submit"] {
  width: 100% !important;
  margin-top: 10px !important;

  background: var(--rd-sidebar-brand) !important;
  border: 1px solid var(--rd-sidebar-brand) !important;
  color: #ffffff !important;

  font-family: var(--rd-sidebar-title-font) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: .2px !important;

  padding: 10px 14px !important;
  border-radius: 999px !important;
  cursor: pointer;
}

/* Jetpack helper text (if it appears) */
.rd-jetpack-subscribe,
.rd-jetpack-subscribe p,
.rd-jetpack-subscribe label {
  font-family: var(--rd-sidebar-body-font) !important;
  color: var(--rd-sidebar-muted) !important;
}

/* =====  C46 · RD — STAY CONNECTED (CENTERED CALL-TO-ACTION)  ===== */

.rd-stay-connected {
  text-align: center !important;
  margin: 48px auto 32px auto !important;
  max-width: 520px;
}

.rd-stay-connected h2,
.rd-stay-connected p {
  text-align: center !important;
}

.rd-stay-link {
  text-align: center !important;
  margin-top: 16px !important;
}

.rd-stay-link a {
  display: inline-block !important;
  font-weight: 600;
}

.rd-stay-cross {
  display: block;
  margin: 18px auto 16px auto !important;
  text-align: center !important;
}

.rd-back-link {
  text-align: center !important;
  margin-top: 16px !important;
}

.rd-back-link a {
  display: inline-block !important;
}

/* =====  C47 · RD — JETPACK SUBSCRIBE FORM CLEANUP (REMOVE BLUE BAR)  ===== */

/* Remove Jetpack background panel */
.wp-block-jetpack-subscriptions,
.jetpack_subscription_widget,
.jetpack-subscription-form,
#subscribe-email,
#subscribe-submit {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Remove mystery blue block container */
.wp-block-jetpack-subscriptions > div,
.jetpack_subscription_widget > div {
  background: transparent !important;
  padding: 0 !important;
}

/* Center form elements cleanly */
.jetpack_subscription_widget form,
.jetpack-subscription-form form {
  text-align: center !important;
}

/* Input field styling */

/* Subscribe button — restrained & on brand */

/* =====  C48 · RD — SUBSCRIBE PAGE: REMOVE JETPACK "TITLE BAR"  ===== */

/* 1) Kill the empty Jetpack title/header area that themes often color as a bar */
.jetpack_subscription_widget .widget-title,
.jetpack_subscription_widget .widgettitle,
.wp-block-jetpack-subscriptions__header,
.wp-block-jetpack-subscriptions__title,
.wp-block-jetpack-subscriptions__description {
  display: none !important;
}

/* 2) Also remove any colored wrapper backgrounds Jetpack/theme might apply */
.wp-block-jetpack-subscriptions,
.wp-block-jetpack-subscriptions__content,
.wp-block-jetpack-subscriptions__form,
.jetpack_subscription_widget,
.jetpack_subscription_widget form,
.jetpack_subscription_widget form > div,
.jetpack_subscription_widget form > p,
#subscribe-email,

/* 3) Center everything nicely */
.jetpack_subscription_widget form {
  text-align: center !important;
}

/* 4) Make sure the email field and button look clean */
.jetpack_subscription_widget input[type="email"] {
  max-width: 340px;
  width: 100%;
  padding: 10px 12px;
  margin: 12px auto 10px auto;
  border-radius: 6px;
  border: 1px solid #cfd8df;
  font-size: 16px;
  background: #fff !important;
}

.jetpack_subscription_widget input[type="submit"]:hover {
  background-color: #163f5f !important;
}
/* =====  C49 · RD — SUBSCRIBE BUTTON OUTLINE (FINAL POLISH)  ===== */

.jetpack_subscription_widget input[type="submit"] {
  background-color: #ffffff !important;
  color: #1b4e74 !important;
  border: 2px solid #1b4e74 !important;
  padding: 10px 26px !important;
  border-radius: 6px !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

/* =====  C50 · RD — SUBSCRIBE PAGE BUTTON OUTLINE (CAN’T MISS)  ===== */

.rd-subscribe-form-wrap input[type="submit"],
.rd-subscribe-form-wrap button[type="submit"],
.rd-subscribe-form-wrap .wp-block-button__link,
.rd-subscribe-form-wrap button,
.rd-subscribe-form-wrap input[type="button"] {
  background: #ffffff !important;
  color: #1b4e74 !important;

  border-width: 2px !important;
  border-style: solid !important;
  border-color: #1b4e74 !important;

  border-radius: 6px !important;
  padding: 10px 26px !important;

  font-size: 18px !important;
  font-weight: 700 !important;

  box-shadow: none !important;
  text-decoration: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

/* Hover: filled but restrained */
.rd-subscribe-form-wrap input[type="submit"]:hover,
.rd-subscribe-form-wrap button[type="submit"]:hover,
.rd-subscribe-form-wrap .wp-block-button__link:hover,
.rd-subscribe-form-wrap button:hover {
  background: #1b4e74 !important;
  color: #ffffff !important;
  border-color: #1b4e74 !important;
}

/* Focus: visible, classy accessibility */
.rd-subscribe-form-wrap input[type="submit"]:focus,
.rd-subscribe-form-wrap button[type="submit"]:focus,
.rd-subscribe-form-wrap button:focus {
  outline: 3px solid rgba(27, 78, 116, 0.25) !important;
  outline-offset: 3px !important;
}

.rd-subscribe-form-wrap input[type="submit"],
.rd-subscribe-form-wrap button[type="submit"],
.rd-subscribe-form-wrap button,
.rd-subscribe-form-wrap input[type="button"],
.rd-subscribe-form-wrap .wp-block-button__link {
  background: #ffffff !important;
  color: #1b4e74 !important;
  border: 2px solid #1b4e74 !important;
  border-radius: 6px !important;
  padding: 10px 26px !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  box-shadow: none !important;
  text-decoration: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

.rd-subscribe-form-wrap input[type="submit"]:hover,
.rd-subscribe-form-wrap button[type="submit"]:hover,
.rd-subscribe-form-wrap button:hover,
.rd-subscribe-form-wrap .wp-block-button__link:hover {
  background: #1b4e74 !important;
  color: #ffffff !important;
  border-color: #1b4e74 !important;
}

.rd-subscribe-form-wrap #subscribe-text {
  display: none !important;
}

.rd-subscribe-form-wrap .wp-block-jetpack-subscriptions__description {
  display: none !important;
}

.rd-subscribe-form-wrap .success,
.rd-subscribe-form-wrap .error,
.rd-subscribe-form-wrap .jetpack_subscription_message,
.rd-subscribe-form-wrap #subscribe-blog p {
  display: block !important;
}

/* Match Confessional Calendar title to RD sidebar standard */
.rd-sidebar-calendar .rd-sidebar-title {
  font-family: 'Source Sans 3', sans-serif;
  color: #1b4e74 !important;          /* RD brand blue */
  font-weight: 700 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 22px;
  line-height: 1.25;
}

/* =====  C51 · RD — SIDEBAR SIZE RESTORE + SEARCH ALIGNMENT (CLEAN)  =====
   Includes targeted fixes for:
   - Contributors widget (shrink avatars, prevent name breaks)
   - Confessional Calendar (shrink download arrow only) */

/* ---------------------------------------------------------
   1) GLOBAL SIDEBAR CARD SIZING (NO TRANSFORM)
   --------------------------------------------------------- */

.rd-sidebar-card {
  transform: none !important;
  max-width: 100% !important;
}

.rd-sidebar-card-body {
  padding: 22px 20px !important;
}

.rd-sidebar-title {
  font-size: 22px !important;
  line-height: 1.25 !important;
  letter-spacing: 0.2px;
}

.rd-sidebar-text,
.rd-sidebar-card-body p {
  font-size: 17px !important;
  line-height: 2.0 !important;
}

.rd-sidebar-card li,
.rd-sidebar-card span {
  font-size: 16px !important;
  line-height: 1.75 !important;
}

.rd-sidebar-card .button,
.rd-sidebar-card a.button,
.rd-sidebar-card button {
  font-size: 16px !important;
  padding: 11px 18px !important;
  border-radius: 6px;
}

/* Default: sidebar images remain full width (hero images, banners, etc.) */
.rd-sidebar-card img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  display: block;
}

/* ---------------------------------------------------------
   2) SEARCH WIDGET — LIFT IT UP (FINAL)
   --------------------------------------------------------- */

.sidebar-main,
.widget-area {
  padding-top: 0 !important;
}

#secondary {
  margin-top: -26px !important;
}

#secondary .widget:first-child {
  margin-top: 0 !important;
}

.widget_search,
.wp-block-search,
.ast-sidebar-search,
.ast-search-box {
  margin-top: 0 !important;
}

/* ---------------------------------------------------------
   3) CONTRIBUTORS WIDGET — SHRINK ONLY THE AVATAR PHOTOS
   (Keeps the top banner image full width)
   --------------------------------------------------------- */

/* Assumption: Contributors card has ONE big header image,
   followed by multiple small avatar images. We target avatars
   by shrinking images AFTER the first image in that widget card. */

.rd-sidebar-card.rd-sidebar-contributors img:not(:first-of-type),
.rd-sidebar-card .rd-contributors img,
.rd-sidebar-card .contributors img {
  width: 52px !important;
  height: 52px !important;
  max-width: 52px !important;
  border-radius: 999px !important;
  object-fit: cover;
  display: inline-block !important;
}

/* Prevent “Anth / ony” style breaks */
.rd-sidebar-card.rd-sidebar-contributors span,
.rd-sidebar-card .rd-contributors span,
.rd-sidebar-card .contributors span {
  white-space: nowrap !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none;
  font-size: 15px !important;
  line-height: 1.35 !important;
}

/* ---------------------------------------------------------
   4) CONFESSIONAL CALENDAR — SHRINK THE DOWNLOAD ARROW ONLY
   (Keep header image full width; shrink the SECOND image)
   --------------------------------------------------------- */

/* In your Calendar card: image #1 is the banner, image #2 is the arrow. */
.rd-sidebar-card.rd-sidebar-calendar img:nth-of-type(2),
.rd-sidebar-card .rd-calendar img:nth-of-type(2),
.rd-sidebar-card .confessional-calendar img:nth-of-type(2) {
  width: 110px !important;
  max-width: 110px !important;
  height: auto !important;
  display: block !important;
  margin: 12px auto 6px auto !important;
}

/* =====  C52 · RD — CONTRIBUTORS SIDEBAR: SIZE & NAME FIX (STEP 1)  ===== */

/* Avatar size reduction */
.rd-contributors-widget img,
.rd-contributor-avatar {
  width: 56px !important;
  height: 56px !important;
  border-radius: 50% !important;
}

/* Name text: prevent mid-word breaks */
.rd-contributor-name {
  font-size: 14px !important;
  line-height: 1.3 !important;
  text-align: center !important;

  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;

  max-width: 72px !important;
  margin: 6px auto 0 !important;
}

/* Tighten spacing so grid breathes */
.rd-contributor-item {
  padding: 6px 4px !important;
}

/* =====  C53 · RD — CONTRIBUTORS WIDGET ONLY  =====
   Shrink headshots AND names */

/* Shrink contributor headshots */
#secondary a[href*="/author/"] img,
#secondary a[href*="author"] img {
  width: 44px !important;
  height: 44px !important;
  max-width: 44px !important;
  border-radius: 999px !important;
  object-fit: cover;
}

/* Shrink contributor names */
#secondary a[href*="/author/"],
#secondary a[href*="author"] {
  font-size: 13.5px !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
}

/* Optional: tighten vertical spacing inside the contributors list */
#secondary a[href*="/author/"] + *,
#secondary a[href*="author"] + * {
  margin-top: 2px !important;
}

/* =====  C54 · RD — CONFESSIONAL CALENDAR (GOLD STANDARD v1.0, CLEAN)  =====
   BLOB-PROOF + fully consistent with sidebar system
   Applies ONLY to #rd-calendar-widget */

#rd-calendar-widget,
#rd-calendar-widget * {
  background: transparent !important;
}

/* Kill any theme decoration that might attach to the wrapper */
#rd-calendar-widget::before,
#rd-calendar-widget::after,
#rd-calendar-widget .rd-card-media::before,
#rd-calendar-widget .rd-card-media::after {
  content: none !important;
  display: none !important;
}

/* Ensure the image displays and is not masked */
#rd-calendar-widget .rd-card-media {
  display: block !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

#rd-calendar-widget img.rd-calendar-img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* =====  C55 · FIX — Sidebar button text visibility (Gold Standard)  =====
   Ensures button text is always readable in sidebar widgets */
#secondary .rd-btn,
#secondary .rd-btn:link,
#secondary .rd-btn:visited,
#secondary .rd-btn:hover,
#secondary .rd-btn:focus {
  color: #ffffff !important;
}

/* =====  C56 · CALENDAR BUTTON — FORCE TEXT TO DISPLAY (FINAL)  =====
   Applies ONLY to the Confessional Calendar button. */

#rd-calendar-widget .rd-calendar-btn {
  display: inline-block !important;
  background: var(--rd-sidebar-brand) !important;
  border: 1px solid var(--rd-sidebar-brand) !important;
  color: #ffffff !important;

  font-family: var(--rd-sidebar-title-font) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: .2px !important;

  padding: 10px 16px !important;
  border-radius: 999px !important;
  text-decoration: none !important;

  /* hard “text must exist” overrides */
  opacity: 1 !important;
  visibility: visible !important;
  text-indent: 0;
  line-height: 1 !important;
}

/* If any rule sets font-size:0 on anchors inside widgets, this defeats it */
#rd-calendar-widget .rd-calendar-btn * {
  font-size: inherit !important;
  color: inherit !important;
}

/* Kill any pseudo-element overlay that might be covering the text */
#rd-calendar-widget .rd-calendar-btn::before,
#rd-calendar-widget .rd-calendar-btn::after {
  content: none !important;
  display: none !important;
}

/* =====  C57 · JETPACK SUBSCRIBE — Gold Standard v1.0 HEALTH FIX  =====
   Fixes: giant “Subscribe” text, awkward spacing, inconsistent form styling
   Scope: ONLY the Jetpack form inside .rd-jetpack-subscribe */

#secondary .rd-jetpack-subscribe {
  margin-top: 10px !important;
}

/* Remove surprise margins Jetpack/Astra inject */
#secondary .rd-jetpack-subscribe form,
#secondary .rd-jetpack-subscribe p,
#secondary .rd-jetpack-subscribe .widget,
#secondary .rd-jetpack-subscribe .jetpack_subscription_widget {
  margin: 0 !important;
}

/* Email field */
#secondary .rd-jetpack-subscribe input[type="email"],
#secondary .rd-jetpack-subscribe input[type="text"] {
  width: 100% !important;
  box-sizing: border-box;
  padding: 12px 14px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(27,78,116,.28) !important;
  background: #ffffff !important;

  font-family: var(--rd-sidebar-body-font) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  color: var(--rd-sidebar-ink) !important;

  margin: 12px 0 0 0 !important;
}

/* Kill any “label-like” styling Jetpack uses above the field */
#secondary .rd-jetpack-subscribe label {
  font-family: var(--rd-sidebar-body-font) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--rd-sidebar-muted) !important;
  margin: 0 0 6px 0 !important;
}

/* Submit button: force it back to normal button typography */
#secondary .rd-jetpack-subscribe input[type="submit"],
#secondary .rd-jetpack-subscribe button {
  width: 100% !important;
  box-sizing: border-box;

  margin: 12px 0 0 0 !important;
  padding: 12px 16px !important;

  background: var(--rd-sidebar-brand) !important;
  border: 1px solid var(--rd-sidebar-brand) !important;
  border-radius: 999px !important;

  color: #ffffff !important;
  text-decoration: none !important;

  /* This is the key: stop it from becoming a giant heading */
  font-family: var(--rd-sidebar-body-font) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  letter-spacing: .2px !important;

  cursor: pointer;
  text-transform: none;
}

/* If Astra is turning inputs into “headline text”, this defeats it */
#secondary .rd-jetpack-subscribe input[type="submit"]::first-letter {
  text-transform: none;
}

/* =====  C58 · RD — SIDEBAR GOLD STANDARD v1.0  =====
   SUBTLE SCALE & BREATHING REFINEMENT */

/* Slightly increase card breathing room */
.rd-sidebar-card .rd-card-inner {
  padding-top: 22px !important;
  padding-bottom: 22px !important;
}

/* Gently increase sidebar titles (desktop only) */
@media (min-width: 769px){
  .rd-sidebar-title {
    font-size: 17px !important; /* was effectively ~16px */
    line-height: 1.35 !important;
  }
}

/* Improve body text readability without visual noise */
.rd-sidebar-text {
  font-size: 14.5px !important;
  line-height: 1.85 !important;
}

/* =====  C59 · RD — SEARCH WIDGET MICRO-ALIGNMENT  ===== */

.rd-sidebar-card:first-of-type {
  margin-top: 10px;
}

/* =====  C60 · RD — ARCHIVES WIDGET (GOLD STANDARD UPGRADE)  =====
   Keep featured image. Modernize dropdown + spacing.
   Paste at END of Additional CSS. */

/* Ensure the Archives card follows the same inner rhythm */
.widget_archive,
.widget_archive .widget-title,
.widget_archive form {
  margin: 0 !important;
}

/* Keep your existing banner image setup untouched (if you already use ::before) */

/* Dropdown: make it match RD pill inputs/buttons */

/* Focus state: subtle, confident */

/* Give the dropdown a little more top breathing room under the image */

/* Mobile: keep it bold but prevent it from feeling oversized */

/* =====  C61 · RD FINAL PATCH — MOBILE MENU OVERRIDES (ANTI-CONFLICT)  =====
   These lines must remain near the end of the stylesheet. */
@media (max-width: 921px){
  body.ast-header-break-point .ast-mobile-popup-drawer .main-header-menu .menu-item > .menu-link {
    display: block !important;
    float: none !important;
  }
}

/* =====  C62 · RD — MOBILE MENU FINAL POLISH (AUTHORITATIVE FIX)  ===== */

@media (max-width: 921px){

  /* Pill refinement */
  .ast-mobile-popup-drawer .main-header-menu > li > a {
    padding: 14px 18px !important;
    margin: 12px auto !important;
    max-width: 86% !important;

    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 999px !important;

    font-family: 'Source Sans 3', sans-serif;
    font-weight: 600 !important;
    font-size: 18px !important;
    letter-spacing: 0.3px !important;

    color: #ffffff !important;
    box-shadow: none !important;
  }

  /* Remove chevron influence completely */
  .ast-mobile-popup-drawer .menu-item-has-children > a::after {
    display: none !important;
  }
}

@media (max-width: 921px){

  /* =========================================================
     RD — MOBILE OFF‑CANVAS MENU (GOLD STANDARD · LOCKED)
     Scope: ONLY the Astra mobile drawer
     ========================================================= */

  body.ast-header-break-point .ast-mobile-popup-drawer .main-header-menu,
  body.ast-header-break-point .ast-mobile-popup-inner  .main-header-menu,
  body.ast-header-break-point .ast-mobile-popup-content .main-header-menu,
  body.ast-header-break-point .ast-mobile-popup        .main-header-menu {
    display: block !important;
    flex-wrap: wrap;
    gap: 0 !important;
  }

  body.ast-header-break-point .ast-mobile-popup-drawer .main-header-menu > li,
  body.ast-header-break-point .ast-mobile-popup-inner  .main-header-menu > li,
  body.ast-header-break-point .ast-mobile-popup-content .main-header-menu > li,
  body.ast-header-break-point .ast-mobile-popup        .main-header-menu > li {
    position: relative !important; /* anchor point for toggle */
    margin: 0 0 14px 0 !important;
  }

  /* The "pill" link */
  body.ast-header-break-point .ast-mobile-popup-drawer .main-header-menu > li > a,
  body.ast-header-break-point .ast-mobile-popup-inner  .main-header-menu > li > a,
  body.ast-header-break-point .ast-mobile-popup-content .main-header-menu > li > a,
  body.ast-header-break-point .ast-mobile-popup        .main-header-menu > li > a {
    display: block !important;

    width: 86% !important;
    margin: 0 auto !important;

    /* equal left/right padding so the label stays visually centered,
       even with a right-side submenu toggle button */
    padding: 14px 56px !important;

    text-align: center !important;
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 700 !important;
    font-size: 22px !important;
    line-height: 1.25 !important;
    letter-spacing: 0.2px !important;

    color: #ffffff !important;
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.28) !important;
    border-radius: 999px !important;

    box-shadow: none !important;
  }

  /* Kill Astra's default chevron pseudo-element (we control the toggle) */
  body.ast-header-break-point .ast-mobile-popup-drawer .menu-item-has-children > a::after,
  body.ast-header-break-point .ast-mobile-popup-inner  .menu-item-has-children > a::after,
  body.ast-header-break-point .ast-mobile-popup-content .menu-item-has-children > a::after,
  body.ast-header-break-point .ast-mobile-popup        .menu-item-has-children > a::after {
    display: none !important;
  }

  /* Submenu toggle: absolutely positioned so it NEVER pushes the label off-center */
  body.ast-header-break-point .ast-mobile-popup-drawer .ast-menu-toggle,
  body.ast-header-break-point .ast-mobile-popup-inner  .ast-menu-toggle,
  body.ast-header-break-point .ast-mobile-popup-content .ast-menu-toggle,
  body.ast-header-break-point .ast-mobile-popup        .ast-menu-toggle {
    position: absolute !important;
    right: 12% !important; /* aligns with pill edge (because pill width = 86%) */
    top: 50% !important;
    transform: translateY(-50%) !important;

    width: 42px !important;
    height: 42px !important;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;

    display: grid !important;
    place-items: center !important;

    opacity: 0.9 !important;
    z-index: 2 !important;
  }

  body.ast-header-break-point .ast-mobile-popup-drawer .ast-menu-toggle svg,
  body.ast-header-break-point .ast-mobile-popup-inner  .ast-menu-toggle svg,
  body.ast-header-break-point .ast-mobile-popup-content .ast-menu-toggle svg,
  body.ast-header-break-point .ast-mobile-popup        .ast-menu-toggle svg {
    fill: #ffffff;
    width: 16px !important;
    height: 16px !important;
  }

  /* Submenu list */
  body.ast-header-break-point .ast-mobile-popup-drawer .sub-menu,
  body.ast-header-break-point .ast-mobile-popup-inner  .sub-menu,
  body.ast-header-break-point .ast-mobile-popup-content .sub-menu,
  body.ast-header-break-point .ast-mobile-popup        .sub-menu {
    margin: 10px auto 0 auto !important;
    padding: 0 !important;
    width: 82% !important;
  }

  body.ast-header-break-point .ast-mobile-popup-drawer .sub-menu a,
  body.ast-header-break-point .ast-mobile-popup-inner  .sub-menu a,
  body.ast-header-break-point .ast-mobile-popup-content .sub-menu a,
  body.ast-header-break-point .ast-mobile-popup        .sub-menu a {
    display: block !important;
    text-align: center !important;
    padding: 12px 18px !important;
    margin: 10px 0 0 0 !important;

    font-family: "Open Sans", Arial, sans-serif !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    line-height: 1.3 !important;

    color: rgba(255,255,255,0.95) !important;
    background: rgba(255,255,255,0.03) !important;
    border: 1px solid rgba(255,255,255,0.14) !important;
    border-radius: 999px !important;

    box-shadow: none !important;
  }
}

/* RD Sidebar CTA buttons – force visible */
.rd-sidebar-card a,
.rd-sidebar-card a:visited {
  color:#FFFFFF !important;
}

.rd-sidebar-card a.rd-btn,
.rd-sidebar-card a.rd-calendar-btn,
.rd-sidebar-card a.wp-block-button__link,
.rd-sidebar-card a.button {
  background:#1B4E74 !important;
  border-color:#1B4E74 !important;
  color:#FFFFFF !important;
}

.rd-sidebar-card a.rd-btn:hover,
.rd-sidebar-card a.rd-calendar-btn:hover,
.rd-sidebar-card a.wp-block-button__link:hover,
.rd-sidebar-card a.button:hover {
  background:#0F2E46 !important;
  border-color:#0F2E46 !important;
  color:#FFFFFF !important;
}

/* =====  C63 · RD FIX — Sidebar buttons invisible until hover  =====
   Targets: Jetpack Subscribe + Confessional Calendar widget only
   Paste at END of Additional CSS */

/* --- Jetpack Subscribe button (sidebar) --- */
.sidebar .jetpack_subscription_widget input[type="submit"],
.sidebar .jetpack_subscription_widget button[type="submit"],
.sidebar .jetpack_subscription_widget .components-button,
.sidebar .jetpack_subscription_widget .wp-block-button__link {
  appearance: none !important;
  -webkit-appearance: none !important;

  background-color: #0F2E46 !important;
  color: #FFFFFF !important;
  border: 1px solid #0F2E46 !important;

  opacity: 1 !important;
  visibility: visible !important;
  text-shadow: none !important;

  border-radius: 999px !important;
  padding: 12px 18px !important;
  line-height: 1 !important;

  transition: background-color .18s ease, border-color .18s ease, transform .06s ease !important;
}

/* Hover */
.sidebar .jetpack_subscription_widget input[type="submit"]:hover,
.sidebar .jetpack_subscription_widget button[type="submit"]:hover,
.sidebar .jetpack_subscription_widget .wp-block-button__link:hover {
  background-color: #1B4E74 !important;
  border-color: #1B4E74 !important;
  color: #FFFFFF !important;
}

/* Active */
.sidebar .jetpack_subscription_widget input[type="submit"]:active,
.sidebar .jetpack_subscription_widget button[type="submit"]:active,
.sidebar .jetpack_subscription_widget .wp-block-button__link:active {
  background-color: #0B2234 !important;
  border-color: #0B2234 !important;
  transform: translateY(1px) !important;
}

/* Focus (keyboard accessibility) */
.sidebar .jetpack_subscription_widget input[type="submit"]:focus,
.sidebar .jetpack_subscription_widget button[type="submit"]:focus,
.sidebar .jetpack_subscription_widget .wp-block-button__link:focus {
  outline: 2px solid rgba(27, 78, 116, .35) !important;
  outline-offset: 3px !important;
}

/* --- Confessional Calendar button (your custom class) --- */
#rd-calendar-widget .rd-calendar-btn,
#rd-calendar-widget a.rd-calendar-btn,
.sidebar #rd-calendar-widget .rd-calendar-btn,
.sidebar #rd-calendar-widget a.rd-calendar-btn {
  background-color: #0F2E46 !important;
  color: #FFFFFF !important;
  border: 1px solid #0F2E46 !important;

  opacity: 1 !important;
  visibility: visible !important;

  text-decoration: none !important;
  border-radius: 999px !important;
  padding: 12px 18px !important;
  line-height: 1 !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  transition: background-color .18s ease, border-color .18s ease, transform .06s ease !important;
}

#rd-calendar-widget .rd-calendar-btn:hover,
#rd-calendar-widget a.rd-calendar-btn:hover {
  background-color: #1B4E74 !important;
  border-color: #1B4E74 !important;
  color: #FFFFFF !important;
}

#rd-calendar-widget .rd-calendar-btn:active,
#rd-calendar-widget a.rd-calendar-btn:active {
  background-color: #0B2234 !important;
  border-color: #0B2234 !important;
  transform: translateY(1px) !important;
}

#rd-calendar-widget .rd-calendar-btn:focus,
#rd-calendar-widget a.rd-calendar-btn:focus {
  outline: 2px solid rgba(27, 78, 116, .35) !important;
  outline-offset: 3px !important;
}

/* =====  C64 · RD FIX — Jetpack Subscribe button invisible until hover  =====
   Scope: sidebar Jetpack/Subscriptions only */

/* 1) WordPress.com / Jetpack widget common markup */

/* Hover */

/* Active (tap/click) */

/* =====  C65 · Jetpack / Subscribe widget — kill two-tone hover block  =====
   (keeps pill button, removes big blue rectangle on hover) */

/* 1) Make sure the wrapper around the submit button never paints a background */

/* (Cleanup) Removed an orphaned/truncated Jetpack submit selector header (no block). */
/* Covenant of Grace sidebar button — force blue CTA */
#rd-covenant-grace-widget .rd-covenant-btn {
  display: inline-block;
  margin-top: 14px;
  padding: 10px 18px;
  background-color: #1b4e74; /* RD navy */
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 999px; /* pill style */
  transition: background-color 0.2s ease, transform 0.15s ease;
}

/* Hover / focus */
#rd-covenant-grace-widget .rd-covenant-btn:hover,
#rd-covenant-grace-widget .rd-covenant-btn:focus {
  background-color: #163d5c;
  transform: translateY(-1px);
  text-decoration: none;
}

/* =====  C66 · RD Christian Calendar — Download Button (FINAL · LOCKED)  =====
   Scope: ONLY the Christian Calendar page button wrapper */

#rd-cc-download {
  text-align: center !important;
  margin: 22px 0 10px !important;
}

/* The pill button */
#rd-cc-download a.rd-cc-download-btn,
#rd-cc-download a.rd-cc-download-btn:visited {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;

  background: #1B4E74 !important;
  color: #ffffff !important;
  text-decoration: none !important;

  padding: 18px 44px !important;
  border-radius: 999px !important;

  font-weight: 700 !important;
  font-size: 22px !important;
  line-height: 1 !important;
  letter-spacing: .2px !important;

  border: 0 !important;
  box-shadow: none !important;
  background-image: none !important;
  text-shadow: none !important;

  opacity: 1 !important;
  visibility: visible !important;
}

/* Hover/focus */
#rd-cc-download a.rd-cc-download-btn:hover,
#rd-cc-download a.rd-cc-download-btn:focus {
  background: #163f5f !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

/* Ensure inner text/icon never get “link colored” */
#rd-cc-download a.rd-cc-download-btn span {
  color: #ffffff !important;
}

/* Kill theme pseudo-elements/icons that hijack anchors */
#rd-cc-download a.rd-cc-download-btn::before,
#rd-cc-download a.rd-cc-download-btn::after {
  content: none !important;
  display: none !important;
}

/* RD Premium Gold Standard Download Button — Reformed Calendar page */
#rd-rc-download {
  text-align: center !important;
  margin: 2em 0 1.2em 0 !important;
}

#rd-rc-download a.rd-cc-download-btn,
#rd-rc-download a.rd-cc-download-btn:visited {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;

  background: #1B4E74 !important;
  color: #ffffff !important;
  text-decoration: none !important;

  padding: 18px 44px !important;
  border-radius: 999px !important;

  font-weight: 700 !important;
  font-size: 22px !important;
  letter-spacing: .2px !important;

  border: 0 !important;
  box-shadow: none !important;

  opacity: 1 !important;
  visibility: visible !important;
  line-height: 1 !important;

  background-image: none !important;
  text-shadow: none !important;
}

#rd-rc-download a.rd-cc-download-btn:hover,
#rd-rc-download a.rd-cc-download-btn:focus {
  background: #163f5f !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

/* Explicit text node */
#rd-rc-download .rd-cc-download-text {
  display: inline-block !important;
  color: #ffffff !important;
  line-height: 1 !important;
}

/* Icon */
#rd-rc-download .rd-cc-download-icon {
  display: inline-block !important;
  font-size: 22px !important;
  line-height: 1 !important;
  color: #ffffff !important;
}

/* Kill theme pseudo-elements that hijack anchors */
#rd-rc-download a.rd-cc-download-btn::before,
#rd-rc-download a.rd-cc-download-btn::after {
  content: none !important;
  display: none !important;
}

/* If theme forces link color on inner spans */
#rd-rc-download a.rd-cc-download-btn span,
#rd-rc-download a.rd-cc-download-btn strong {
  color: #ffffff !important;
}

/* RD Tech Log Issue #23 — Bible Plan CTA visibility hardening
   Final solution uses: .rd-card-cta a.rd-btn
   This block is intentionally minimal and should not change appearance. */

#rd-bible-plan-widget .rd-card-cta .rd-btn,
#rd-bible-plan-widget .rd-card-cta .rd-btn:visited {
  opacity: 1 !important;
  visibility: visible !important;
}

#rd-bible-plan-widget .rd-card-cta .rd-btn::before,
#rd-bible-plan-widget .rd-card-cta .rd-btn::after {
  content: none !important;
  display: none !important;
}

/* RD Drop Cap – Brand Color Lock */
p.dropcap:first-letter {
  color: #1B4E74;
}

/* RD FIX — Pages rendering too narrow on mobile (Astra/WP.com)
   Scope: Pages only, mobile only
   Purpose: Force the actual content wrapper to use full available width
*/
@media (max-width: 921px){

  /* Make sure the main Astra container isn't limiting width */
  body.page .site-content .ast-container {
    max-width: none !important;
    width: 100% !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
  }

  /* THIS is the usual choke point on Pages */
  body.page .site-main,
  body.page .site-main article,
  body.page .entry-content,
  body.page .rd-page,
  body.page .rd-page-body {
    max-width: none !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Ensure paragraphs aren't being rendered as narrow inline blocks */
  body.page .rd-page-body p {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
  }

  /* Override your inline hero image cap (works even against inline styles) */
  body.page .rd-hero-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}

@media (max-width: 921px){
  body.page .rd-page-body p {
    line-height: 1.75;
  }
}

/* RD FIX — Mobile post/page title typography balance */
@media (max-width: 921px){

  body.single-post h1.entry-title,
  body.page h1.entry-title {
    font-size: 2.1rem;
    line-height: 1.25;
    max-width: 92%;
    margin-left: auto;
    margin-right: auto;
  }

}

/* RD Drop Cap – Mobile-Safe Refinement */
.rd-dropcap::first-letter {
  float: left;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 4.2em;
  line-height: 0.9;
  padding-right: 0.12em;
  padding-top: 0.04em;
  color: #1B4E74;
}

@media (max-width: 600px){
  .rd-dropcap::first-letter {
    font-size: 3.4em;
    line-height: 0.95;
    padding-top: 0.02em;
  }
}

/* RD Mobile Title Override — Astra / WP.com */
@media (max-width: 768px){

  .ast-single-post .entry-title,
  .ast-single-post .entry-title * {
    font-size: 1.85rem !important;
    line-height: 1.12 !important;
    text-align: center !important;
    max-width: 92% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    hyphens: none;
    word-break: normal !important;
  }

}

/* RD Divider — Footnotes & Section Breaks */
hr.rd-divider {
  border: none;
  height: 2px;
  background-color: #1B4E74;
  margin: 3em 0 2em;
  opacity: 1;
}

.rd-divider-crosses {
  text-align: center;
  margin: 36px 0 32px 0;
  font-size: 18px;
  letter-spacing: 10px;
  opacity: 0.65;
}

/* Match page container width to post width */

/* Match page container width to post width */
.page #content .ast-container {
    max-width: 1240px !important;
}

.page .entry-content {
    max-width: 880px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Fix post font size and width on mobile */
@media (max-width: 768px){
    .single-post .entry-content,
    .single-post .entry-content p {
        font-size: 17px !important;
        line-height: 1.8 !important;
    }

    .single-post article {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Fix ast-plain-container extra padding */
    .ast-plain-container #content > .ast-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Fix oversized H2/H3 headings on mobile */
    .single-post .entry-content h2,
    .single-post .entry-content h3 {
        font-size: 22px !important;
        line-height: 1.3 !important;
    }

    #page.hfeed .ast-single-entry-banner .ast-container h1.entry-title {
        font-size: 32px !important;
        line-height: 1.2 !important;
    }
}

/* Mobile typography fix — RD site */
@media (max-width: 768px){
  .entry-content p,
  .entry-content li {
    font-size: 15px !important;
    line-height: 1.75 !important;
  }
  .entry-content h2 {
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    margin-top: 2em !important;
  }
  .entry-content h3 {
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    margin-top: 1.75em !important;
  }
}

/* Fix iPad mobile menu not displaying */
@media (max-width: 1024px){
  .ast-mobile-menu-buttons .menu-toggle {
    display: flex !important;
  }
  
  #ast-mobile-header .main-header-bar-navigation,
  .ast-mobile-header-wrap .main-header-bar-navigation {
    display: block !important;
    height: auto !important;
    overflow: visible !important;
  }
  
  .main-navigation .ast-flex,
  .main-header-menu {
    display: block !important;
  }

  .main-navigation ul,
  .main-navigation ul li {
    display: block !important;
    height: auto !important;
    visibility: visible !important;
  }
}

/* =====  C67 · SUBSCRIBE BUTTON - Gold Standard Design  =====
   Updated March 29, 2026 - Final Polish */
.rd-subscribe-btn:hover {
  background: #5BA3B8 !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22) !important;
  transform: translateY(-1px) scale(1.02);
  text-decoration: none !important;
}

.rd-subscribe-btn:visited,
.rd-subscribe-btn:active,
.rd-subscribe-btn:focus {
  color: #FFFFFF !important;
  text-decoration: none !important;
  outline: none;
}

/* =====  C68 · MOBILE MENU - Subscribe Button  =====
   Updated March 29, 2026 - Contained width */

/* Hide Subscribe menu item on desktop nav */
@media (min-width: 922px){
  .menu-item.menu-subscribe-btn {
    display: none !important;
  }
}

/* Style Subscribe as teal button in mobile menu - contained within menu panel */
.ast-builder-menu-mobile .menu-item.menu-subscribe-btn,
.ast-mobile-popup-content .menu-item.menu-subscribe-btn {
  margin-top: 12px !important;
}
.ast-builder-menu-mobile .menu-item.menu-subscribe-btn > .menu-link,
.ast-builder-menu-mobile .menu-item.menu-subscribe-btn > a,
.ast-mobile-popup-content .menu-item.menu-subscribe-btn > .menu-link,
.ast-mobile-popup-content .menu-item.menu-subscribe-btn > a {
  background: #4A8FA8 !important;
  color: #FFFFFF !important;
  font-family: 'Source Sans 3', 'Inter', Arial, sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: 0.8px !important;
  text-transform: uppercase;
  text-align: center !important;
  text-decoration: none !important;
  padding: 14px 24px !important;
  border-radius: 4px !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18) !important;
  justify-content: center !important;
}
.ast-builder-menu-mobile .menu-item.menu-subscribe-btn > .menu-link:hover,
.ast-builder-menu-mobile .menu-item.menu-subscribe-btn > a:hover,
.ast-builder-menu-mobile .menu-item.menu-subscribe-btn > .menu-link:active,
.ast-builder-menu-mobile .menu-item.menu-subscribe-btn > a:active,
.ast-mobile-popup-content .menu-item.menu-subscribe-btn > .menu-link:hover,
.ast-mobile-popup-content .menu-item.menu-subscribe-btn > a:hover {
  background: #5BA3B8 !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22) !important;
  text-decoration: none !important;
}
/* Hide the dropdown toggle arrow on Subscribe button */
.menu-item.menu-subscribe-btn .ast-menu-toggle,
.menu-item.menu-subscribe-btn .dropdown-menu-toggle {
  display: none !important;
}

/* =====  C69 · SEQUEL ARTICLE BOX - CTA Button  =====
   Added March 29, 2026 */
.entry-content .rd-sequel-box a,
.ast-article-single .entry-content .rd-sequel-box a,
div.entry-content div.rd-sequel-box a {
  display: inline-block !important;
  background: #4A8FA8 !important;
  color: #FFFFFF !important;
  font-family: 'Source Sans 3', 'Inter', Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
  text-decoration: none !important;
  padding: 10px 24px !important;
  border-radius: 4px !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
  transition: all 0.25s ease !important;
}
.entry-content .rd-sequel-box a:hover,
.entry-content .rd-sequel-box a:active,
.ast-article-single .entry-content .rd-sequel-box a:hover {
  background: #5BA3B8 !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
  transform: translateY(-1px) !important;
  text-decoration: none !important;
}
.entry-content .rd-sequel-box a:visited,
.ast-article-single .entry-content .rd-sequel-box a:visited {
  color: #FFFFFF !important;
  text-decoration: none !important;
}

/* ═══════════════════════════════════════════════════════════
   RD Hero Banner — About & Mission Statement Pages
   ═══════════════════════════════════════════════════════════ */

/* Hide the default page title on hero pages */
.page-id-1562 .entry-header,
.page-id-1660 .entry-header {
  display: none !important;
}

/* Remove top whitespace on hero pages */
.page-id-1562 .site-content,
.page-id-1660 .site-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.page-id-1562 .ast-container,
.page-id-1660 .ast-container {
  padding-top: 0 !important;
}

.page-id-1562 .content-area,
.page-id-1660 .content-area {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Kill empty paragraph gaps before hero banners */
.page-id-1562 .entry-content p:empty,
.page-id-1660 .entry-content p:empty,
.page-id-1562 article.rd-page > p:empty,
.page-id-1660 .entry-content > p:first-child {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
  font-size: 0 !important;
  height: 0 !important;
}

/* Ensure hero sits flush under nav */
.page-id-1562 .entry-content,
.page-id-1660 .entry-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.page-id-1562 article.rd-page,
.page-id-1660 article.rd-page {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Hero Banner Container */
.rd-hero-banner {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  min-height: 55vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2.5em;
  margin-top: 0;
  overflow: hidden;
}

/* Dark overlay for text readability */
.rd-hero-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(27, 78, 114, 0.55) 0%,
    rgba(0, 0, 0, 0.45) 100%
  );
  z-index: 1;
}

/* Hero Title Text */
.page .entry-content .rd-hero-banner h2,
.entry-content .rd-hero-banner h2,
.rd-hero-banner h2 {
  position: relative;
  z-index: 2;
  color: #FFFFFF !important;
  font-family: 'Lora', 'Georgia', serif;
  font-size: 3.2em;
  font-weight: 700;
  text-align: center;
  text-shadow: 2px 3px 12px rgba(0, 0, 0, 0.6);
  letter-spacing: 0.02em;
  padding: 0 1.5em;
  margin: 0;
  line-height: 1.3;
}

/* Responsive adjustments */
@media (max-width: 768px){
  .rd-hero-banner {
    min-height: 40vh;
  }
  .rd-hero-banner h2 {
    font-size: 2em;
    padding: 0 1em;
  }
}

@media (max-width: 480px){
  .rd-hero-banner {
    min-height: 35vh;
  }
  .rd-hero-banner h2 {
    font-size: 1.6em;
  }
}

/* Fix: Jetpack Instant Search overlay blocking clicks when hidden */

/* =====  C70 · HEADER NAV VISUAL CENTERING  =====
   Shifts nav 16px left to visually center it
   between the logo and Subscribe button. The logo
   is narrower than Subscribe, so without this the
   nav appears right-heavy.
   Added March 30, 2026 */
@media (min-width: 921px){
  .ast-desktop .ast-primary-header-bar .site-header-primary-section-center,
  .ast-desktop .ast-primary-header .site-header-primary-section-center {
    transform: translateX(-16px) !important;
  }
}

/* Fix: Hidden nav sub-menus blocking footer clicks */
.ast-desktop .sub-menu {
	    pointer-events: none !important;
}
.ast-desktop li.menu-item:hover > .sub-menu,
.ast-desktop li.menu-item:focus-within > .sub-menu,
.ast-desktop .sub-menu[style*="visibility: visible"] {
	    pointer-events: auto !important;
}

/* Fix: Jetpack overlay - broader selector */

/* =====  C71 · SIDEBAR COLOR POLISH — April 1, 2026  =====
   Aligns all sidebar widgets to RD navy brand palette.
   Changes: headings to navy, Contributors accent bar,
   Stay Connected dark treatment, NAPARC hr fix,
   button hover effects, Archives dropdown polish. */

/* --- 1. Widget headings: gray → navy on white-bg cards --- */
.sidebar-main .rd-sidebar-card .rd-card-title {
  color: #1B4E74 !important;
}

/* --- 2. Contributors widget: navy top accent bar --- */
#custom_html-70 .rd-sidebar-card {
  border-top: 4px solid #1B4E74;
}

/* --- 3. Stay Connected: dark navy treatment --- */
#custom_html-78 .rd-sidebar-card {
  background: #0F1F3D !important;
  border-color: rgba(201,209,218,.25) !important;
}
#custom_html-78 .rd-sidebar-card .rd-card-title {
  color: #C9D1DA !important;
}
#custom_html-78 .rd-sidebar-card .rd-card-text {
  color: #B8C8E0 !important;
}
#custom_html-78 .rd-sidebar-card .rd-btn {
  background: transparent !important;
  border: 1px solid #C9D1DA !important;
  color: #ffffff !important;
}
#custom_html-78 .rd-sidebar-card .rd-btn:hover {
  background: rgba(201,168,76,.15) !important;
}

/* --- 4. NAPARC hr: kill off-palette #CCC default bg --- */
#custom_html-80 hr {
  background-color: transparent !important;
}

/* --- 5. Button hover effects on white-bg cards --- */
.sidebar-main .rd-sidebar-card .rd-btn {
  transition: background .2s ease, transform .15s ease, box-shadow .2s ease;
}
.sidebar-main .rd-sidebar-card .rd-btn:hover {
  background: #163D5C !important;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(15,31,61,.25);
}

/* --- 6. Dark-bg widget button hover (Vault, NAPARC, Contact) --- */
#custom_html-1775068870 a[style*="border"]:hover,
#custom_html-80 a[style*="border"]:hover,
#custom_html-1775068868 a[style*="border"]:hover {
  background: rgba(201,168,76,.15) !important;
}

/* --- 7. Archives dropdown: navy-branded --- */
#archives-5 select {
  border-color: rgba(27,78,116,.4) !important;
}
#archives-5 select:focus {
  border-color: #1B4E74 !important;
  box-shadow: 0 0 0 2px rgba(27,78,116,.15);
  outline: none;
}

/* =====  C72 · SIDEBAR REFINEMENTS — April 1, 2026 (Round 2)  ===== */

/* --- 1. Card hover: subtle lift on white-bg cards --- */
.sidebar-main .rd-sidebar-card {
  transition: box-shadow .25s ease, transform .25s ease;
}
.sidebar-main .rd-sidebar-card:hover {
  box-shadow: 0 14px 32px rgba(15,31,61,.13);
  transform: translateY(-2px);
}

/* --- 2. Contributors: CSS-driven colors (override inline) --- */
#custom_html-70 .rd-family-title {
  color: #1B4E74 !important;
}
#custom_html-70 .rd-people a {
  color: #1B4E74 !important;
}
#custom_html-70 .rd-sidebar-card .rd-card-text {
  color: var(--rd-sidebar-muted) !important;
}

/* --- 3. Covenant blockquote polish --- */
#custom_html-58 [style*="border-left"] {
  border-left-width: 3px !important;
  border-left-color: rgba(27,78,116,.65) !important;
}

/* --- 4. Archives dropdown hover & smooth --- */
#archives-5 select {
  transition: border-color .2s ease, box-shadow .2s ease;
  cursor: pointer;
}
#archives-5 select:hover {
  border-color: rgba(27,78,116,.6) !important;
}

/* --- 5. Search widget sidebar polish --- */
.sidebar-main #search-3 .search-form {
  position: relative;
}
.sidebar-main #search-3 .search-field {
  border: 1.5px solid rgba(27,78,116,.35) !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  color: #364151 !important;
  font-size: 14px !important;
  padding: 11px 44px 11px 16px !important;
  width: 100% !important;
  box-sizing: border-box;
  transition: border-color .2s ease, box-shadow .2s ease;
  font-family: var(--rd-sidebar-body-font);
}
.sidebar-main #search-3 .search-field::placeholder {
  color: rgba(27,78,116,.45);
}
.sidebar-main #search-3 .search-field:focus {
  border-color: #1B4E74 !important;
  box-shadow: 0 0 0 2px rgba(27,78,116,.12);
  outline: none;
}
.sidebar-main #search-3 .search-submit {
  position: absolute !important;
  right: 6px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  background: #1B4E74 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 7px 14px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer;
  transition: background .2s ease;
}
.sidebar-main #search-3 .search-submit:hover {
  background: #163D5C !important;
}

/* --- 6. Dark-card hover suppression (no lift on dark bg) --- */
#custom_html-1775068870 .rd-sidebar-card:hover,
#custom_html-80 .rd-sidebar-card:hover,
#custom_html-1775068868 .rd-sidebar-card:hover,
#custom_html-78 .rd-sidebar-card:hover {
  transform: none;
}

/* =====  C73 · MOBILE SEARCH FIX + FOOTER POLISH — April 1, 2026  ===== */

/* --- 1. Search submit button: fix clipping on mobile --- */
@media (max-width: 768px){
  .sidebar-main #search-3 .search-submit {
    padding: 7px 10px !important;
    font-size: 0 !important;
    width: 34px !important;
    min-width: 34px !important;
    border-radius: 8px !important;
    right: 5px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 16px !important;
  }
  .sidebar-main #search-3 .search-field {
    padding-right: 42px !important;
  }
}

/* --- 2. Footer Subscribe button: gold CTA to match sidebar --- */
.site-footer .wp-block-jetpack-subscriptions form .wp-block-button .wp-block-button__link,
.site-footer .jetpack_subscription_widget .wp-block-button .wp-block-button__link,
.site-footer input[type="submit"][name="jetpack_subscriptions_widget"] {
  background: #C9D1DA !important;
  color: #0F1F3D !important;
  border: none !important;
  font-weight: 600 !important;
  letter-spacing: .5px !important;
  transition: background .2s ease;
}
.site-footer .wp-block-jetpack-subscriptions form .wp-block-button .wp-block-button__link:hover,
.site-footer .jetpack_subscription_widget .wp-block-button .wp-block-button__link:hover,
.site-footer input[type="submit"][name="jetpack_subscriptions_widget"]:hover {
  background: #B8972F !important;
}

/* --- 3. Footer category links: cream on dark bg --- */
.site-footer a {
  transition: color .2s ease, opacity .2s ease;
}
.site-footer a:hover {
  color: #C9D1DA !important;
}

/* --- 4. Footer copyright text: muted cream --- */
.ast-footer-copyright p,
.site-footer .ast-builder-layout-element .ast-footer-copyright {
  color: rgba(240,234,216,.55) !important;
}

/* =====  C74 · FIX: Search submit button overlapping Astra  =====
   magnifying glass icon in sidebar widget.
   Date: April 3, 2026
   Solution: Hide button text and emoji pseudo-
   element; let Astra form::after icon be the
   visual indicator; make button a transparent
   clickable overlay on the icon. */
.sidebar-main #search-3 .search-form .search-submit,
.sidebar-main .widget_search .search-form .search-submit,
.search-form input[type="submit"].search-submit {
  font-size: 0 !important;
  color: transparent !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  width: 34px !important;
  height: 34px !important;
  max-width: none !important;
  padding: 0 !important;
  position: absolute !important;
  right: 5px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  cursor: pointer;
  z-index: 1 !important;
  overflow: hidden !important;
  border-radius: 0 !important;
}
.sidebar-main #search-3 .search-form .search-submit::before,
.sidebar-main .widget_search .search-form .search-submit::before {
  display: none !important;
}

/* ═══ RD Header — Nav Centering Fix for Visual Symmetry (April 2026) ═══ */
.main-header-bar .ast-builder-grid-row.ast-grid-center-col-layout {
  grid-template-columns: auto 1fr auto !important;
}
.main-header-bar .site-header-primary-section-center {
  justify-content: flex-end !important;
}
.main-header-bar .main-header-menu {
  margin-left: auto !important;
  gap: 0 !important;
}

.rd-search-menu-item {
  padding: 0 4px !important;
}

/* ── rd-btn: Elegant Editorial Link ── */
.rd-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #1b4e74 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase;
  text-decoration: none !important;
  padding: 0 !important;
  transition: color 0.2s ease;
}

.rd-btn::after {
  content: "\2192";
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  display: inline-block;
  transition: transform 0.22s ease;
}

.rd-btn:hover,
.rd-btn:focus {
  color: #0f2e46 !important;
  text-decoration: none !important;
}

.rd-btn:hover::after,
.rd-btn:focus::after {
  transform: translateX(5px);
}

/* ── Article reading width ───────────────────────────── */
/* Uses #primary ID for max specificity on single posts  */
/* DISABLED 2026-05-15 (Tech Log #140) — orphaned by line 5515 parse error before today; re-enabling broke article column to 750px strip. Preserved for archeology.
body.single #primary,
body.single #primary .entry-content {
  max-width: 750px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
*/
/* rd-cleanup-1777393041848 */

/* ===== RD Nav Left Nudge #82 (Soft -24px) ===== */
/* html prefix bumps specificity to beat rd-header-bounce-fix-post (#78). Targets .ast-builder-menu-1, the actual flex container (not the inner UL). */
@media (min-width: 922px){
  html body #ast-desktop-header .main-header-bar .site-header-primary-section-center,
  html body #ast-desktop-header .ast-primary-header-bar .site-header-primary-section-center { justify-content: flex-start !important; }
  html body #ast-desktop-header .main-header-bar .ast-builder-menu-1,
  html body #ast-desktop-header .ast-primary-header-bar .ast-builder-menu-1 { margin-left: -4px !important; }
}
/* ===== /RD Nav Left Nudge #82 ===== */

/* RD: Subscribe form — visual balance fix (2026-05-18) — match input height to button, add platinum tint */
.rd-subscribe-form input[type="email"],
.rd-subscribe-form .jetpack_subscription_widget input[type="email"],
.rd-subscribe-form .wp-block-jetpack-subscriptions__container input[type="email"] {
  height: 49px !important;
  min-height: 49px;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  padding-left: 18px !important;
  padding-right: 18px !important;
  font-size: 16px !important;
  line-height: 1.4 !important;
  background-color: rgba(201, 209, 218, 0.30) !important;
  border: 1px solid rgba(11, 30, 50, 0.40) !important;
  border-radius: 6px !important;
  box-sizing: border-box;
}

.rd-subscribe-form input[type="email"]:focus,
.rd-subscribe-form .jetpack_subscription_widget input[type="email"]:focus,
.rd-subscribe-form .wp-block-jetpack-subscriptions__container input[type="email"]:focus {
  background-color: #ffffff !important;
  border-color: rgba(11, 30, 50, 0.6) !important;
  outline: none !important;
}

.rd-subscribe-form input[type="email"]::placeholder {
  color: rgba(11, 30, 50, 0.55) !important;
}

/* RD: Subscribe form bg tint — higher specificity to beat page-level inline override (2026-05-18) */
html body.page-id-8768 .rd-subscribe-form input[type="email"],
html body .rd-subscribe-form .jetpack_subscription_widget input[type="email"],
html body .rd-subscribe-form .wp-block-jetpack-subscriptions__container input[type="email"] {
  background-color: rgba(201, 209, 218, 0.30) !important;
}

html body.page-id-8768 .rd-subscribe-form input[type="email"]:focus,
html body .rd-subscribe-form .jetpack_subscription_widget input[type="email"]:focus,
html body .rd-subscribe-form .wp-block-jetpack-subscriptions__container input[type="email"]:focus {
  background-color: #ffffff !important;
}

/* RD: Subscribe form bg tint — specificity boost to beat page-id-8768 inline rule (2026-05-18) */
html body.page-id-8768 .rd-subscribe-form .jetpack_subscription_widget input[type="email"],
html body.page-id-8768 .rd-subscribe-form .wp-block-jetpack-subscriptions__container input[type="email"] {
  background-color: rgba(201, 209, 218, 0.30) !important;
  border: 1px solid rgba(11, 30, 50, 0.40) !important;
}

html body.page-id-8768 .rd-subscribe-form .jetpack_subscription_widget input[type="email"]:focus,
html body.page-id-8768 .rd-subscribe-form .wp-block-jetpack-subscriptions__container input[type="email"]:focus {
  background-color: #ffffff !important;
  border-color: rgba(11, 30, 50, 0.6) !important;
}

/* RD: Subscribe form vertical alignment fix — zero input margins (2026-05-18 retry) */
html body.page-id-8768 .rd-subscribe-form .jetpack_subscription_widget input[type="email"],
html body.page-id-8768 .rd-subscribe-form .wp-block-jetpack-subscriptions__container input[type="email"],
html body .rd-subscribe-form .jetpack_subscription_widget input[type="email"],
html body .rd-subscribe-form .wp-block-jetpack-subscriptions__container input[type="email"] {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  vertical-align: middle !important;
}

html body.page-id-8768 .rd-subscribe-form .wp-block-button__link,
html body .rd-subscribe-form .wp-block-button__link {
  vertical-align: middle !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* RD: Brushed Platinum Banner for Contributors widget (2026-05-18) */
html body .rd-platinum-banner {
  width: 100% !important;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(11, 30, 50, 0.035) 0px,
      rgba(11, 30, 50, 0.035) 0.5px,
      transparent 0.5px,
      transparent 3px
    ),
    linear-gradient(
      180deg,
      #B8C0CA 0%,
      #D5DBE1 18%,
      #E4E8ED 42%,
      #C4CBD3 58%,
      #A8AFB8 82%,
      #BCC3CC 100%
    ) !important;
  padding: 52px 28px 48px !important;
  text-align: center !important;
  border-top: 1px solid rgba(11, 30, 50, 0.25) !important;
  border-bottom: 1px solid rgba(11, 30, 50, 0.25) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -1px 0 rgba(11, 30, 50, 0.08),
    0 1px 2px rgba(11, 30, 50, 0.06) !important;
  position: relative !important;
  overflow: hidden !important;
  margin: 0 !important;
}

html body .rd-platinum-banner::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.025) 0px,
      rgba(255, 255, 255, 0.025) 0.5px,
      transparent 0.5px,
      transparent 2px
    ) !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

html body .rd-platinum-banner__title {
  font-family: 'Libre Baskerville', Georgia, serif !important;
  font-weight: 600 !important;
  font-size: clamp(28px, 5.5vw, 46px) !important;
  line-height: 1.18 !important;
  letter-spacing: 0.06em !important;
  color: #0B1E32 !important;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) !important;
  margin: 0 !important;
  position: relative !important;
  z-index: 1 !important;
}

html body .rd-platinum-banner__shield {
  display: inline-block !important;
  vertical-align: middle !important;
  width: clamp(28px, 4.5vw, 38px) !important;
  height: auto !important;
  margin: -6px 0 0 8px !important;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.55)) !important;
}

@media (max-width: 600px){
  html body .rd-platinum-banner {
    padding: 40px 20px 36px !important;
  }
  html body .rd-platinum-banner__title {
    letter-spacing: 0.04em !important;
  }
}

/* RD: Platinum Banner sidebar-context overrides (2026-05-18) */
html body .widget .rd-platinum-banner,
html body #secondary .rd-platinum-banner,
html body .ast-secondary .rd-platinum-banner,
html body .ast-secondary-wrap .rd-platinum-banner {
  padding: 22px 14px 20px !important;
}

html body .widget .rd-platinum-banner__title,
html body #secondary .rd-platinum-banner__title,
html body .ast-secondary .rd-platinum-banner__title,
html body .ast-secondary-wrap .rd-platinum-banner__title {
  font-size: clamp(16px, 6cqi, 22px) !important;
  letter-spacing: 0.025em !important;
  line-height: 1.22 !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
}

html body .widget .rd-platinum-banner__shield,
html body #secondary .rd-platinum-banner__shield,
html body .ast-secondary .rd-platinum-banner__shield,
html body .ast-secondary-wrap .rd-platinum-banner__shield {
  width: 22px !important;
  height: 28px !important;
  margin: -3px 0 0 4px !important;
  max-width: 22px !important;
}

/* Container query fallback for sidebars (when cqi not supported) */
html body .widget .rd-platinum-banner {
  container-type: inline-size;
}

/* Make sure platinum banner doesn\u0027t inherit weird anchor underlines */
html body a .rd-platinum-banner,
html body .rd-platinum-banner a,
html body a:hover .rd-platinum-banner,
html body .rd-platinum-banner a:hover {
  text-decoration: none !important;
  color: #0B1E32 !important;
}

/* RD: Platinum Banner specificity boost for page context (2026-05-18) */
html body .rd-hero-banner.rd-platinum-banner .rd-platinum-banner__title,
html body.page-id-15070 .rd-hero-banner.rd-platinum-banner .rd-platinum-banner__title,
html body .entry-content .rd-platinum-banner .rd-platinum-banner__title {
  font-size: clamp(28px, 5.5vw, 46px) !important;
  line-height: 1.18 !important;
  letter-spacing: 0.06em !important;
  color: #0B1E32 !important;
  margin: 0 !important;
}

/* When inside a widget/sidebar, use compact title */
html body .widget .rd-hero-banner.rd-platinum-banner .rd-platinum-banner__title,
html body #secondary .rd-hero-banner.rd-platinum-banner .rd-platinum-banner__title,
html body .ast-secondary .rd-hero-banner.rd-platinum-banner .rd-platinum-banner__title {
  font-size: clamp(15px, 5.5cqi, 20px) !important;
  letter-spacing: 0.025em !important;
  line-height: 1.22 !important;
}

/* RD: Compact widget banner (kill min-height, fix shield inline) (2026-05-18) */
html body .widget .rd-hero-banner.rd-platinum-banner,
html body .rd-sidebar-card .rd-hero-banner.rd-platinum-banner,
html body .ast-secondary .rd-hero-banner.rd-platinum-banner {
  min-height: 0;
  height: auto !important;
  padding: 16px 14px 14px !important;
}

html body .widget .rd-platinum-banner__shield,
html body .rd-sidebar-card .rd-platinum-banner__shield,
html body .rd-sidebar-card .rd-platinum-banner img.rd-platinum-banner__shield,
html body .widget .rd-platinum-banner img.rd-platinum-banner__shield {
  display: inline-block !important;
  vertical-align: middle !important;
  width: 20px !important;
  height: 25px !important;
  max-width: 20px !important;
  margin: -3px 0 0 4px !important;
}

/* RD: Contributors widget polish to 96% (2026-05-18) */

/* Platinum ring around contributor profile photos */
html body .rd-contributor-photo,
html body img.rd-contributor-photo {
  border: 1.5px solid #C9D1DA !important;
  box-shadow: 0 0 0 1px rgba(11, 30, 50, 0.10) !important;
}

/* Hairline transition between platinum banner and navy panel */
html body .widget .rd-platinum-banner,
html body .rd-sidebar-card .rd-platinum-banner {
  border-bottom: 1px solid rgba(201, 209, 218, 0.45) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 1px 0 rgba(201, 209, 218, 0.35),
    0 2px 4px rgba(11, 30, 50, 0.08) !important;
}

/* Title font-weight bump in widget */
html body .widget .rd-hero-banner.rd-platinum-banner .rd-platinum-banner__title,
html body .rd-sidebar-card .rd-hero-banner.rd-platinum-banner .rd-platinum-banner__title {
  font-weight: 700 !important;
}

/* Crown shield positioning */
html body .widget .rd-platinum-banner__shield--crown,
html body .rd-sidebar-card .rd-platinum-banner__shield--crown {
  display: block !important;
  margin: 0 auto 8px !important;
  width: 26px !important;
  height: 32px !important;
}

/* Breathing room for the navy panel tagline */
html body .rd-sidebar-card .rd-card-tagline,
html body .rd-sidebar-card p.rd-tagline,
html body .rd-sidebar-card .rd-contributors-tagline {
  margin-top: 8px !important;
  margin-bottom: 22px !important;
}

/* RD: Fix widget banner display (block, not flex) and photo borders (2026-05-18) */

html body .widget .rd-platinum-banner,
html body .rd-sidebar-card .rd-platinum-banner {
  display: block !important;
  text-align: center !important;
}

/* Center shield as crown */
html body .widget .rd-platinum-banner > .rd-platinum-banner__shield--crown,
html body .rd-sidebar-card .rd-platinum-banner > .rd-platinum-banner__shield--crown,
html body .widget .rd-platinum-banner img.rd-platinum-banner__shield--crown,
html body .rd-sidebar-card .rd-platinum-banner img.rd-platinum-banner__shield--crown {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: 0 !important;
  margin-bottom: 4px !important;
  width: 28px !important;
  height: 35px !important;
  max-width: 28px !important;
  float: none !important;
}

/* Platinum ring on contributor profile photos (inline-styled circles) */
html body .widget img[style*="border-radius:999"],
html body .rd-sidebar-card img[style*="border-radius:999"],
html body .widget img[style*="object-fit:cover"][style*="border-radius"],
html body .rd-sidebar-card img[style*="object-fit:cover"][style*="border-radius"] {
  border: 1.5px solid #C9D1DA !important;
  box-shadow: 0 0 0 1px rgba(11, 30, 50, 0.10) !important;
}

/* RD: Tighten shield-to-title gap to 4px (2026-05-18) */
html body .widget .rd-platinum-banner .rd-platinum-banner__shield--crown,
html body .rd-sidebar-card .rd-platinum-banner .rd-platinum-banner__shield--crown {
  margin-bottom: 4px !important;
}

html body .widget .rd-hero-banner.rd-platinum-banner .rd-platinum-banner__title,
html body .rd-sidebar-card .rd-hero-banner.rd-platinum-banner .rd-platinum-banner__title {
  margin-top: 0 !important;
}

/* RD: Punched-up brushed metal effect (2026-05-18) */
html body .widget .rd-platinum-banner,
html body .rd-sidebar-card .rd-platinum-banner {
  background:
    repeating-linear-gradient(
      90deg,
      rgba(11, 30, 50, 0.07) 0px,
      rgba(11, 30, 50, 0.07) 0.5px,
      transparent 0.5px,
      transparent 2px,
      rgba(11, 30, 50, 0.04) 2px,
      rgba(11, 30, 50, 0.04) 2.5px,
      transparent 2.5px,
      transparent 4px
    ),
    linear-gradient(
      180deg,
      #B0B8C2 0%,
      #D8DDE3 15%,
      #E8EBF0 38%,
      #C0C7D0 55%,
      #A2AAB3 78%,
      #B5BCC5 100%
    ) !important;
}

/* Subtle inner highlight strip for sheen */
html body .widget .rd-platinum-banner::after,
html body .rd-sidebar-card .rd-platinum-banner::after {
  content: "" !important;
  position: absolute !important;
  top: 38% !important;
  left: 0 !important;
  right: 0 !important;
  height: 1.5px !important;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.45) 50%, transparent 100%) !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

/* RD: Platinum eyebrow for Search widget + hairline for Stay Connected (2026-05-18) */

/* SEARCH WIDGET — Brushed platinum eyebrow strip (keeps Cinzel) */
html body .rd-sidebar-card.rd-search-card .rd-search-eyebrow,
html body .widget .rd-search-card .rd-search-eyebrow {
  padding: 14px 16px !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase;
  border-top: 1px solid rgba(11, 30, 50, 0.22) !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) !important;
  text-align: center !important;
  position: relative !important;
  z-index: 1 !important;
  margin: 0 !important;
  display: block !important;
}

/* Hide any decorative side lines that flanked the eyebrow when it was on navy */
html body .rd-sidebar-card.rd-search-card .rd-search-eyebrow::before,
html body .rd-sidebar-card.rd-search-card .rd-search-eyebrow::after {
  display: none !important;
}

/* RD: Stay Connected widget — platinum hairline at image/navy seam (2026-05-18) */

html body #rd-subscribe-widget .rd-card-media img {
  display: block !important;
  margin-bottom: 0 !important;
}

/* RD: Fix Search widget eyebrow color (beat inline #rd-sidebar-search rule) and make Enter clickable (2026-05-18) */

/* Higher specificity to beat #rd-sidebar-search .rd-search-eyebrow inline rule */
html body #rd-sidebar-search .rd-search-card .rd-search-eyebrow,
html body #rd-sidebar-search.rd-sidebar-card .rd-search-eyebrow {
  color: #0B1E32 !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) !important;
}

/* Make the visible Enter label area clickable by overlaying the sr-only submit button */
html body #rd-sidebar-search .rd-search-card form,
html body .rd-search-card form {
  position: relative !important;
}

html body #rd-sidebar-search .rd-search-card .rd-search-sr,
html body .rd-search-card button.rd-search-sr {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  width: 72px !important;
  height: 100% !important;
  min-width: 72px !important;
  min-height: 36px;
  opacity: 0 !important;
  cursor: pointer;
  z-index: 10 !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  clip: auto !important;
  clip-path: none;
  white-space: normal !important;
  overflow: visible !important;
}

/* Keep the Enter kbd visible underneath the invisible click target */
html body #rd-sidebar-search .rd-search-kbd,
html body .rd-search-card .rd-search-kbd {
  pointer-events: none !important;
}

/* RD: Search widget — enlarge sr-only submit to overlay Enter label (2026-05-18 retry) */
html body #rd-sidebar-search .rd-search-sr,
html body #rd-sidebar-search button.rd-search-sr {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  width: 80px !important;
  height: 100% !important;
  min-width: 80px !important;
  min-height: 36px;
  opacity: 0 !important;
  cursor: pointer;
  z-index: 10 !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  clip: auto !important;
  clip-path: none;
  white-space: normal !important;
  overflow: visible !important;
}

/* RD: Search eyebrow - one-line fit + centering (2026-05-18) */
html body #rd-sidebar-search .rd-search-card .rd-search-eyebrow,
html body #rd-sidebar-search.rd-search-card .rd-search-eyebrow,
html body #rd-sidebar-search .rd-search-eyebrow {
  font-size: 12px !important;
  letter-spacing: 0.11em !important;
  text-align: center !important;
  display: block !important;
  width: 100% !important;
  white-space: nowrap !important;
  padding: 14px 12px !important;
  box-sizing: border-box;
  text-indent: 0;
}

/* Eliminate any flanking side rules that could throw centering off */
html body #rd-sidebar-search .rd-search-eyebrow::before,
html body #rd-sidebar-search .rd-search-eyebrow::after {
  display: none !important;
  content: none !important;
}

/* RD: Platinum rings on Search topic chips (2026-05-18) */
html body #rd-sidebar-search .rd-locus-chip,
html body #rd-sidebar-search a.rd-locus-chip,
html body .rd-search-card .rd-locus-chip {
  border: 1.5px solid rgba(201, 209, 218, 0.55) !important;
  box-shadow: 0 0 0 1px rgba(11, 30, 50, 0.12) !important;
  transition: border-color 200ms ease, background-color 200ms ease !important;
}

html body #rd-sidebar-search .rd-locus-chip:hover,
html body #rd-sidebar-search a.rd-locus-chip:hover,
html body .rd-search-card .rd-locus-chip:hover {
  border-color: #C9D1DA !important;
  background-color: rgba(201, 209, 218, 0.10) !important;
}

/* RD: Search chip platinum border — beat :link/:visited specificity (2026-05-18) */
html body #rd-sidebar-search a.rd-locus-chip,
html body #rd-sidebar-search a.rd-locus-chip:link,
html body #rd-sidebar-search a.rd-locus-chip:visited,
html body #rd-sidebar-search a.rd-locus-chip:hover,
html body #rd-sidebar-search a.rd-locus-chip:active {
  border: 1.5px solid rgba(201, 209, 218, 0.55) !important;
  border-color: rgba(201, 209, 218, 0.55) !important;
  border-width: 1.5px !important;
  border-style: solid !important;
  box-shadow: 0 0 0 1px rgba(11, 30, 50, 0.12) !important;
}

html body #rd-sidebar-search a.rd-locus-chip:hover {
  border-color: #C9D1DA !important;
  background-color: rgba(201, 209, 218, 0.10) !important;
}

/* RD: Stay Connected — strengthen platinum hairline so it actually reads (2026-05-18) */
html body #rd-subscribe-widget .rd-card-media,
html body #rd-subscribe-widget a.rd-card-media {
  border-bottom: 2px solid #C9D1DA !important;
  box-shadow: 0 1px 0 rgba(11, 30, 50, 0.20) !important;
  display: block !important;
}

/* RD: Header search bar — platinum frame to match sidebar Search widget (2026-05-18) */

/* Frame the form with a platinum border */
html body header form:has(#rd-header-search-input),
html body .site-header-primary-section-right-center form,
html body .ast-builder-grid-row form:has(.rd-hs-input) {
  position: relative !important;
  transition: border-color 200ms ease !important;
}

html body header form:has(#rd-header-search-input):focus-within,
html body .site-header-primary-section-right-center form:focus-within {
  border-color: rgba(201, 209, 218, 0.75) !important;
}

/* Bump ENTER kbd visibility */
html body header .rd-hs-kbd,
html body .rd-hs-kbd {
  color: rgba(232, 236, 241, 0.95) !important;
  border: 1px solid rgba(201, 209, 218, 0.50) !important;
  background-color: rgba(201, 209, 218, 0.08) !important;
  border-radius: 4px !important;
  padding: 2px 8px !important;
}

/* Magnifying glass slightly cooler/platinum */
html body header .rd-hs-icon,
html body .rd-hs-icon {
  color: rgba(201, 209, 218, 0.75) !important;
}

/* Overlay the sr-only submit button so ENTER label is clickable */
html body header button.rd-hs-submit,
html body .rd-hs-submit {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  width: 70px !important;
  height: 100% !important;
  min-width: 70px !important;
  opacity: 0 !important;
  cursor: pointer;
  z-index: 10 !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  clip: auto !important;
  clip-path: none;
  white-space: normal !important;
  overflow: visible !important;
}

/* Keep ENTER kbd visually present but non-blocking for clicks */
html body header .rd-hs-kbd,
html body .rd-hs-kbd {
  pointer-events: none !important;
}

/* RD: Header search bar — bump platinum frame to actually be visible (2026-05-18) */

/* Override the previous subtle frame with a more visible platinum border */
html body header form:has(#rd-header-search-input),
html body .site-header-primary-section-right-center form,
html body .ast-builder-grid-row form:has(.rd-hs-input) {
  border: 1.5px solid rgba(201, 209, 218, 0.85) !important;
  border-radius: 8px !important;
  box-shadow: 0 0 0 1px rgba(11, 30, 50, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

/* Bump ENTER kbd border visibility — higher specificity */
html body header .rd-hs-kbd,
html body header kbd.rd-hs-kbd,
html body .rd-hs-kbd,
html body kbd.rd-hs-kbd {
  color: #E8ECF1 !important;
  border: 1px solid rgba(201, 209, 218, 0.70) !important;
  border-width: 1px !important;
  border-style: solid !important;
  border-color: rgba(201, 209, 218, 0.70) !important;
  background-color: rgba(201, 209, 218, 0.10) !important;
  border-radius: 4px !important;
  padding: 2px 8px !important;
  font-size: 11px !important;
  letter-spacing: 0.08em !important;
}

/* RD: Header search ENTER kbd — beat #rd-header-search ID rule (2026-05-18) */
html body #rd-header-search .rd-hs-kbd,
html body #rd-header-search kbd.rd-hs-kbd {
  color: #E8ECF1 !important;
  border: 1.5px solid rgba(201, 209, 218, 0.75) !important;
  border-width: 1.5px !important;
  border-style: solid !important;
  border-color: rgba(201, 209, 218, 0.75) !important;
  background-color: rgba(201, 209, 218, 0.10) !important;
  border-radius: 4px !important;
  padding: 2px 8px !important;
  font-size: 11px !important;
  letter-spacing: 0.08em !important;
}

/* RD: Header search — widen so full placeholder fits (2026-05-18) */
html body header form:has(#rd-header-search-input),
html body .site-header-primary-section-right-center form,
html body .ast-builder-grid-row form:has(.rd-hs-input) {
  width: 290px !important;
  min-width: 290px !important;
  max-width: 300px !important;
}

html body #rd-header-search-input,
html body input.rd-hs-input.rd-search-input {
  width: 100% !important;
  padding-right: 64px !important;
}

/* RD: Header search — nudge right for breathing room from nav (2026-05-18) */
html body header form:has(#rd-header-search-input),
html body .site-header-primary-section-right-center form,
html body .ast-builder-grid-row form:has(.rd-hs-input) {
  margin-left: 0 !important;
  transform: translateX(40px) !important;
}

/* RD: Header search — final polish (solid icon, focus state, hover sheen) (2026-05-18) */

/* Solid platinum magnifying glass icon — beat ID specificity */
html body #rd-header-search .rd-hs-icon,
html body header #rd-header-search .rd-hs-icon {
  color: #C9D1DA !important;
}

/* Focus state — brighten frame + subtle platinum-tinted input fill */
html body #rd-header-search:focus-within,
html body header form#rd-header-search:focus-within {
  border-color: #C9D1DA !important;
  box-shadow: 0 0 0 1px rgba(201, 209, 218, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 8px rgba(201, 209, 218, 0.15) !important;
}

html body #rd-header-search:focus-within input.rd-hs-input,
html body #rd-header-search-input:focus {
  background-color: rgba(201, 209, 218, 0.06) !important;
}

/* Hover — subtle brushed metal hint on the frame */
html body #rd-header-search:hover,
html body header form#rd-header-search:hover {
  background:
    repeating-linear-gradient(
      90deg,
      rgba(201, 209, 218, 0.025) 0px,
      rgba(201, 209, 218, 0.025) 0.5px,
      transparent 0.5px,
      transparent 3px
    ),
    linear-gradient(180deg, rgba(201, 209, 218, 0.04) 0%, transparent 50%, rgba(201, 209, 218, 0.03) 100%) !important;
  border-color: rgba(201, 209, 218, 0.95) !important;
  transition: background 200ms ease, border-color 200ms ease !important;
}

/* RD: Header search — visible static brushed metal state (2026-05-18) */
html body header form#rd-header-search,
html body #rd-header-search {
  background:
    repeating-linear-gradient(
      90deg,
      rgba(201, 209, 218, 0.04) 0px,
      rgba(201, 209, 218, 0.04) 0.5px,
      transparent 0.5px,
      transparent 3px
    ),
    linear-gradient(180deg, rgba(201, 209, 218, 0.06) 0%, rgba(11, 30, 50, 0.10) 50%, rgba(201, 209, 218, 0.04) 100%) !important;
  border: 1.5px solid #C9D1DA !important;
  border-color: rgba(201, 209, 218, 0.95) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10), 0 0 0 1px rgba(11, 30, 50, 0.25) !important;
}

/* Hover intensifies the metal sheen */
html body header form#rd-header-search:hover,
html body #rd-header-search:hover {
  background:
    repeating-linear-gradient(
      90deg,
      rgba(201, 209, 218, 0.06) 0px,
      rgba(201, 209, 218, 0.06) 0.5px,
      transparent 0.5px,
      transparent 3px
    ),
    linear-gradient(180deg, rgba(201, 209, 218, 0.10) 0%, rgba(11, 30, 50, 0.08) 50%, rgba(201, 209, 218, 0.08) 100%) !important;
  border-color: #C9D1DA !important;
}

/* RD: Mobile header search — match desktop platinum frame (2026-05-18) */

@media (max-width: 921px){
  html body form#rd-header-search,
  html body #rd-header-search {
    width: calc(100% - 32px) !important;
    min-width: 0 !important;
    max-width: 100% !important;
    transform: none !important;
    margin: 12px 16px !important;
    box-sizing: border-box;
  }

  html body #rd-header-search-input,
  html body input.rd-hs-input.rd-search-input {
    width: 100% !important;
    padding-right: 80px !important;
    font-size: 15px !important;
  }

  html body #rd-header-search .rd-hs-kbd,
  html body #rd-header-search kbd.rd-hs-kbd {
    font-size: 11px !important;
    padding: 3px 10px !important;
  }

  /* Also apply same platinum frame to Astra slide-search if visible on mobile */
  html body .ast-search-menu-icon .search-form,
  html body .ast-search-menu-icon form.search-form {
    background:
      repeating-linear-gradient(
        90deg,
        rgba(201, 209, 218, 0.04) 0px,
        rgba(201, 209, 218, 0.04) 0.5px,
        transparent 0.5px,
        transparent 3px
      ),
      linear-gradient(180deg, rgba(201, 209, 218, 0.06) 0%, rgba(11, 30, 50, 0.10) 50%, rgba(201, 209, 218, 0.04) 100%) !important;
    border: 1.5px solid rgba(201, 209, 218, 0.95) !important;
    border-radius: 8px !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10), 0 0 0 1px rgba(11, 30, 50, 0.25) !important;
  }

  html body .ast-search-menu-icon .search-field {
    background: transparent !important;
    color: rgba(255, 255, 255, 0.95) !important;
    padding-left: 12px !important;
  }

  html body .ast-search-menu-icon .search-field::placeholder {
    color: rgba(201, 209, 218, 0.65) !important;
  }
}

/* Force the desktop header search placeholder to a shorter text so it fits cleanly on mobile too */
/* Note: this is set via CSS attribute selector approach but the canonical fix is updating the WPCode snippet */

/* RD: Mobile aggressive search catch-all — platinum styling for any visible search variant (2026-05-18) */

@media (max-width: 921px){
  /* Hide Astras mobile slide-search so only #rd-header-search shows */
  html body .ast-mobile-popup-content .search-form,
  html body .ast-mobile-header-wrap .search-form,
  html body .ast-search-menu-icon.slide-search,
  html body .ast-mobile-popup-content form.search-form,
  html body .ast-mobile-popup-content form[role="search"] {
    display: none !important;
  }

  /* Catch any visible search form on mobile and platinum-frame it */
  html body header form[role="search"],
  html body .site-header form.search-form,
  html body .ast-mobile-header form,
  html body .ast-mobile-header-wrap form[role="search"],
  html body header form#rd-header-search {
    background:
      repeating-linear-gradient(
        90deg,
        rgba(201, 209, 218, 0.04) 0px,
        rgba(201, 209, 218, 0.04) 0.5px,
        transparent 0.5px,
        transparent 3px
      ),
      linear-gradient(180deg, rgba(201, 209, 218, 0.06) 0%, rgba(11, 30, 50, 0.10) 50%, rgba(201, 209, 218, 0.04) 100%) !important;
    border: 1.5px solid rgba(201, 209, 218, 0.95) !important;
    border-radius: 8px !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10), 0 0 0 1px rgba(11, 30, 50, 0.25) !important;
    margin: 12px !important;
    padding: 0 !important;
    width: calc(100% - 24px) !important;
    box-sizing: border-box;
  }

  /* Any search input inside such a form */
  html body header form[role="search"] input[type="search"],
  html body header form input.search-field,
  html body header form.search-form input,
  html body header form#rd-header-search input {
    background: transparent !important;
    color: rgba(255, 255, 255, 0.95) !important;
    border: none !important;
  }

  html body header form svg path,
  html body header form .search-icon,
  html body header form .rd-hs-icon {
    color: #C9D1DA !important;
    fill: #C9D1DA;
  }
}

/* RD: Jetpack Instant Search — platinum styling to match desktop header (2026-05-18) */

html body .jetpack-instant-search__search-form,
html body form.jetpack-instant-search__search-results-search-form,
html body .jetpack-instant-search__box {
  background:
    repeating-linear-gradient(
      90deg,
      rgba(201, 209, 218, 0.04) 0px,
      rgba(201, 209, 218, 0.04) 0.5px,
      transparent 0.5px,
      transparent 3px
    ),
    linear-gradient(180deg, rgba(201, 209, 218, 0.06) 0%, rgba(11, 30, 50, 0.10) 50%, rgba(201, 209, 218, 0.04) 100%) !important;
  border: 1.5px solid #C9D1DA !important;
  border-radius: 8px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10), 0 0 0 1px rgba(11, 30, 50, 0.25) !important;
  box-sizing: border-box;
}

html body .jetpack-instant-search__box-label {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

html body .jetpack-instant-search__box-input,
html body input.jetpack-instant-search__box-input,
html body input.search-field.jetpack-instant-search__box-input {
  background: transparent !important;
  color: rgba(255, 255, 255, 0.95) !important;
  border: none !important;
  box-shadow: none !important;
}

html body .jetpack-instant-search__box-input::placeholder {
  color: rgba(201, 209, 218, 0.65) !important;
  font-style: italic !important;
}

html body .jetpack-instant-search__box svg,
html body .jetpack-instant-search__box-icon svg,
html body .jetpack-instant-search__search-form svg path {
  color: #C9D1DA !important;
  fill: #C9D1DA;
}

/* RD: Mobile-specific search bar (#rd-mobile-search) — platinum frame matching desktop header (2026-05-18) */

html body form#rd-mobile-search,
html body #rd-mobile-search {
  background:
    repeating-linear-gradient(
      90deg,
      rgba(201, 209, 218, 0.04) 0px,
      rgba(201, 209, 218, 0.04) 0.5px,
      transparent 0.5px,
      transparent 3px
    ),
    linear-gradient(180deg, rgba(201, 209, 218, 0.06) 0%, rgba(11, 30, 50, 0.10) 50%, rgba(201, 209, 218, 0.04) 100%) !important;
  border: 1.5px solid #C9D1DA !important;
  border-radius: 8px !important;
  box-sizing: border-box;
  position: relative !important;
}

/* Mobile search input - transparent so frame background shows */
html body #rd-mobile-search-input,
html body input.rd-ms-input.rd-search-input,
html body input#rd-mobile-search-input {
  background: transparent !important;
  color: rgba(255, 255, 255, 0.95) !important;
  border: none !important;
  box-shadow: none !important;
  font-size: 15px !important;
  padding-right: 80px !important;
}

html body #rd-mobile-search-input::placeholder,
html body .rd-ms-input::placeholder {
  color: rgba(201, 209, 218, 0.65) !important;
  font-style: italic !important;
}

/* Mobile magnifier icon - solid platinum */
html body #rd-mobile-search .rd-ms-icon,
html body #rd-mobile-search .rd-hs-icon,
html body #rd-mobile-search svg path,
html body #rd-mobile-search svg {
  color: #C9D1DA !important;
  fill: #C9D1DA;
}

/* Mobile ENTER kbd - platinum border, matching header style */
html body #rd-mobile-search .rd-ms-kbd,
html body #rd-mobile-search .rd-hs-kbd,
html body #rd-mobile-search kbd {
  color: #E8ECF1 !important;
  border: 1.5px solid rgba(201, 209, 218, 0.75) !important;
  background-color: rgba(201, 209, 218, 0.10) !important;
  border-radius: 4px !important;
  padding: 2px 8px !important;
  font-size: 11px !important;
  letter-spacing: 0.08em !important;
}

/* Mobile submit button - overlay for clickable ENTER area */
html body #rd-mobile-search .rd-ms-submit,
html body #rd-mobile-search .rd-hs-submit,
html body #rd-mobile-search button[type="submit"] {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  width: 80px !important;
  height: 100% !important;
  opacity: 0 !important;
  cursor: pointer;
  z-index: 10 !important;
  border: 0 !important;
  background: transparent !important;
}

/* RD: Mobile search — add solid navy base so platinum gradient renders correctly with cream text (2026-05-18) */

/* RD: Mobile search — stronger brushed metal effect for visible texture (2026-05-18) */
html body form#rd-mobile-search,
html body #rd-mobile-search {
  background-image:
    repeating-linear-gradient(
      90deg,
      rgba(201, 209, 218, 0.12) 0px,
      rgba(201, 209, 218, 0.12) 0.5px,
      transparent 0.5px,
      transparent 3px,
      rgba(201, 209, 218, 0.08) 3px,
      rgba(201, 209, 218, 0.08) 3.5px,
      transparent 3.5px,
      transparent 5px
    ),
    linear-gradient(180deg, rgba(232, 236, 241, 0.25) 0%, rgba(201, 209, 218, 0.15) 30%, rgba(11, 30, 50, 0.40) 55%, rgba(201, 209, 218, 0.12) 85%, rgba(232, 236, 241, 0.20) 100%) !important;
}

/* RD: Mobile search — revert to exact desktop gradient (2026-05-18) */
html body form#rd-mobile-search,
html body #rd-mobile-search {
  background-color: rgb(30, 40, 52) !important;
  background-image:
    repeating-linear-gradient(
      90deg,
      rgba(201, 209, 218, 0.04) 0px,
      rgba(201, 209, 218, 0.04) 0.5px,
      transparent 0.5px,
      transparent 3px
    ),
    linear-gradient(180deg, rgba(201, 209, 218, 0.06) 0%, rgba(11, 30, 50, 0.10) 50%, rgba(201, 209, 218, 0.04) 100%) !important;
}

/* RD: Mobile search — soft drop shadow to lift off white background (2026-05-18) */

/* RD: Mobile search — stronger drop shadow for visible lift (2026-05-18) */
html body form#rd-mobile-search,
html body #rd-mobile-search {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    0 0 0 1px rgba(11, 30, 50, 0.30),
    0 8px 20px rgba(11, 30, 50, 0.35),
    0 2px 6px rgba(11, 30, 50, 0.25) !important;
}

/* RD: Mobile search — allow overflow so drop shadow renders (2026-05-18) */
html body form#rd-mobile-search,
html body #rd-mobile-search {
  overflow: visible !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
}

/* ===== RD Nav Clear Search Bar 2026-05-22 ===== */
@media (min-width: 922px){
  html body #ast-desktop-header .main-header-bar .ast-builder-menu-1,
  html body #ast-desktop-header .ast-primary-header-bar .ast-builder-menu-1 {
    transform: translateX(-54px) !important;
  }
}
/* ===== /RD Nav Clear Search Bar 2026-05-22 ===== */

/* ===== RD Header Creeds Rebalance 2026-05-31 ===== */
@media (min-width: 922px){
  html body #ast-desktop-header .main-header-bar .site-header-primary-section-center,
  html body #ast-desktop-header .ast-primary-header-bar .site-header-primary-section-center{justify-content:center !important;}
  html body #ast-desktop-header .ast-primary-header-bar .ast-builder-menu-1,
  html body #ast-desktop-header .main-header-bar .ast-builder-menu-1{margin-left:0 !important;transform:translateX(-49px) !important;}
  html body #ast-desktop-header .ast-primary-header-bar .ast-builder-grid-row.ast-grid-center-col-layout,
  html body #ast-desktop-header .main-header-bar .ast-builder-grid-row.ast-grid-center-col-layout{position:relative !important;}
  html body #ast-desktop-header .ast-primary-header-bar .site-header-primary-section-right-center form#rd-header-search,
  html body #ast-desktop-header .main-header-bar .site-header-primary-section-right-center form#rd-header-search{
    position:absolute !important;right:35px !important;left:auto !important;top:50% !important;
    transform:translateY(-50%) !important;margin:0 !important;
    width:min(275px, calc(100vw - 1130px)) !important;min-width:0 !important;max-width:275px !important;
    height:34px !important;min-height:34px;}
  html body #ast-desktop-header form#rd-header-search .rd-hs-input{width:100% !important;max-width:100% !important;min-width:0 !important;}
}
@media (min-width: 1601px){
  html body #ast-desktop-header .ast-primary-header-bar .ast-builder-menu-1,
  html body #ast-desktop-header .main-header-bar .ast-builder-menu-1{transform:translateX(-33px) !important;}
}
/* ===== /RD Header Creeds Rebalance 2026-05-31 ===== */

/* ===== RD Header Dropdown Contained Width 2026-05-31 ===== */
@media (min-width: 922px){
  html body #ast-desktop-header .main-header-menu .sub-menu,
  html body #ast-desktop-header .ast-builder-menu-1 .sub-menu{
    width:max-content !important;min-width:220px !important;max-width:420px !important;
  }
}
/* ===== /RD Header Dropdown Contained Width 2026-05-31 ===== */

/* Confessions dropdown: group divider */
li.rd-conf-divider > a{border-top:2px solid rgba(255,255,255,0.6) !important}

/* ===== RD Vault nav platinum hover underline 2026-06-03 ===== */
#ast-hf-menu-1 a.menu-link[href*="/vault/"]::after{background-color:#C9D1DA !important;height:3px !important;}

/* ===== RD Vault pill platinum soft glow (gold remnant retired) 2026-06-03 ===== */
html body #masthead .menu-item-22515 > a.menu-link .menu-text,
html body .main-header-bar .menu-item-22515 > a.menu-link .menu-text,
html body #ast-mobile-header ul.main-header-menu > li.menu-item-22515 > a.menu-link .menu-text{
  background:none !important;background-image:none !important;animation:none !important;
  border:1px solid rgba(201,209,218,0.55) !important;border-radius:20px !important;
  box-shadow:rgba(201,209,218,0.20) 0 0 10px 0, rgba(244,236,216,0.10) 0 1px 0 !important;
  color:#F4ECD8 !important;text-shadow:none !important;}
html body #masthead .menu-item-22515 > a.menu-link:hover .menu-text,
html body .main-header-bar .menu-item-22515 > a.menu-link:hover .menu-text,
html body #ast-mobile-header ul.main-header-menu > li.menu-item-22515 > a.menu-link:hover .menu-text{
  border-color:rgba(201,209,218,0.85) !important;
  box-shadow:rgba(201,209,218,0.30) 0 0 16px 0, rgba(244,236,216,0.14) 0 1px 0 inset !important;
  text-shadow:none !important;color:#FFFFFF !important;}

/* ===== RD nav underline uniform platinum 2026-06-03 ===== */
html body #ast-hf-menu-1 a.menu-link::after{background-color:#C9D1DA !important;}

/* ===== RD footer links platinum hover underline 2026-06-03 ===== */
html body #colophon a{position:relative;}
html body #colophon a::after{content:"";position:absolute;left:0;right:0;bottom:-2px;height:2px;background:#C9D1DA;transform:scaleX(0);transform-origin:center;transition:transform .25s ease;}
html body #colophon a:hover::after{transform:scaleX(1);}

/* ===== RD article prose links navy refined underline (light surface) 2026-06-03 ===== */
html body .rd-post-body p > a:not(.rd-cta-button):not(.button):not(.wp-block-button__link):not(.rd-readmore-link){color:#0B1E32 !important;text-decoration:underline !important;text-decoration-color:rgba(11,30,50,.38) !important;text-underline-offset:3px !important;text-decoration-thickness:1px !important;transition:text-decoration-color .2s, text-decoration-thickness .2s;}
html body .rd-post-body p > a:not(.rd-cta-button):not(.button):not(.wp-block-button__link):not(.rd-readmore-link):hover{text-decoration-color:#0B1E32 !important;text-decoration-thickness:2px !important;}

/* ===== RD confession proof refs readable slate 2026-06-03 ===== */
html body:is(.page-id-27561,.page-id-27559,.page-id-27570,.page-id-27583,.page-id-27594,.page-id-27596,.page-id-27598,.page-id-27469,.page-id-27477,.page-id-27479,.page-id-27481,.page-id-27487,.page-id-27489,.page-id-27617,.page-id-27618,.page-id-27619,.page-id-27620) .entry-content .rd-ref{font-size:1em !important;color:#455364 !important;font-weight:600 !important;white-space:normal !important;}
html body:is(.page-id-27561,.page-id-27559,.page-id-27570,.page-id-27583,.page-id-27594,.page-id-27596,.page-id-27598,.page-id-27469,.page-id-27477,.page-id-27479,.page-id-27481,.page-id-27487,.page-id-27489,.page-id-27617,.page-id-27618,.page-id-27619,.page-id-27620) .entry-content .rd-ref a,
html body:is(.page-id-27561,.page-id-27559,.page-id-27570,.page-id-27583,.page-id-27594,.page-id-27596,.page-id-27598,.page-id-27469,.page-id-27477,.page-id-27479,.page-id-27481,.page-id-27487,.page-id-27489,.page-id-27617,.page-id-27618,.page-id-27619,.page-id-27620) .entry-content .rd-ref a.esv-crossref-link{font-size:inherit !important;color:#455364 !important;font-weight:600 !important;}

/* ===== RD header rebalance test 2026-06-03 ===== */
@media (min-width: 922px){
html body #ast-desktop-header .custom-logo, html body #masthead .custom-logo{height:104px !important;width:104px !important;}
html body #ast-hf-menu-1 a.menu-link{font-size:22px !important;}
}

/* ===== RD mobile header premium pass 2026-06-03 ===== */
@media (max-width: 921px){
html body #ast-mobile-header .custom-logo, html body #ast-mobile-header .site-logo-img .custom-logo{height:72px !important;width:72px !important;}
html body #rd-mobile-search{margin:10px auto !important;}
html body #rd-mobile-search .rd-ms-input{padding-top:11px !important;padding-bottom:11px !important;font-size:15px !important;}
}

/* ===== RD search gold cleanup 2026-06-03 (desktop + mobile) ===== */
html body #rd-header-search:focus-within, html body #rd-mobile-search:focus-within{border-color:rgba(201,209,218,0.6) !important;box-shadow:0 0 0 1px rgba(201,209,218,0.5) !important;}
html body #rd-header-search .rd-hs-input, html body #rd-mobile-search .rd-ms-input{caret-color:#C9D1DA !important;}
html body #rd-header-search-suggest .rd-hs-item:hover, html body #rd-header-search-suggest .rd-hs-item.is-active, html body #rd-mobile-search-suggest .rd-hs-item:hover, html body #rd-mobile-search-suggest .rd-hs-item.is-active{background:rgba(201,209,218,0.16) !important;}

/* ===== RD search eyebrow flatten 2026-06-03 ===== */
html body .rd-sidebar-card.rd-search-card .rd-search-eyebrow, html body .widget .rd-search-card .rd-search-eyebrow{background:transparent !important;background-image:none !important;box-shadow:none !important;color:rgba(201,209,218,0.88) !important;border-bottom:1px solid rgba(201,209,218,0.30) !important;}
html body .rd-sidebar-card.rd-search-card .rd-search-eyebrow::before, html body .rd-sidebar-card.rd-search-card .rd-search-eyebrow::after{background:rgba(201,209,218,0.30) !important;background-image:none !important;box-shadow:none !important;}

/* eyebrow label color */
html body #rd-sidebar-search .rd-search-eyebrow, html body #rd-sidebar-search.rd-sidebar-card .rd-search-eyebrow{color:rgba(201,209,218,0.9) !important;}

/* ===== RD mobile search field flatten 2026-06-03 ===== */
@media (max-width: 921px){
html body #rd-mobile-search{background-image:none !important;box-shadow:none !important;border:1px solid rgba(201,209,218,0.40) !important;}
html body #rd-mobile-search::before, html body #rd-mobile-search::after{box-shadow:none !important;background-image:none !important;}
html body #rd-mobile-search:focus-within{box-shadow:0 0 0 1px rgba(201,209,218,0.55) !important;border-color:rgba(201,209,218,0.70) !important;}
html body #rd-mobile-search .rd-ms-kbd{box-shadow:none !important;background-image:none !important;}
}

/* ===== RD mobile search field flatten v2 (high-specificity) 2026-06-03 ===== */
@media (max-width: 921px){
html body #content #main #rd-mobile-search{background-image:none !important;box-shadow:none !important;border:1px solid rgba(201,209,218,0.45) !important;}
html body #content #main #rd-mobile-search:focus-within{box-shadow:0 0 0 1px rgba(201,209,218,0.60) !important;border-color:rgba(201,209,218,0.80) !important;}
}

/* ===== RD tablet header search collapse v2 2026-06-04 (iPad only 922-1280px; desktop & mobile untouched) ===== */
@media (min-width: 922px) and (max-width: 1280px){
html body #ast-desktop-header .ast-primary-header-bar .site-header-primary-section-right-center form#rd-header-search#rd-header-search{width:clamp(44px, calc(100vw - 1084px), 96px) !important;min-width:44px !important;max-width:96px !important;right:35px !important;overflow:hidden !important;transition:width .22s ease, max-width .22s ease;}
html body #ast-desktop-header form#rd-header-search#rd-header-search .rd-hs-icon{position:absolute !important;left:14px !important;pointer-events:none !important;z-index:2 !important;}
html body #ast-desktop-header form#rd-header-search#rd-header-search .rd-hs-input{width:100% !important;min-width:0 !important;padding-left:36px !important;padding-right:6px !important;}
html body #ast-desktop-header form#rd-header-search#rd-header-search .rd-hs-kbd{display:none !important;}
html body #ast-desktop-header .ast-primary-header-bar .site-header-primary-section-right-center form#rd-header-search#rd-header-search:focus-within{width:300px !important;min-width:300px !important;max-width:300px !important;background:#0B1E32 !important;z-index:100 !important;box-shadow:0 4px 16px rgba(0,0,0,0.45) !important;border:1px solid rgba(201,209,218,0.55) !important;}
}

/* RD Flat Sidebar Cards (all viewports) */
#secondary .widget,.sidebar-main .widget,.widget-area .widget{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding:0!important;margin:0 0 26px 0!important}

/* RD Sidebar mobile spacing */
@media(max-width: 600px){#secondary .widget,.sidebar-main .widget,.widget-area .widget{margin-bottom:34px!important}}

/* RD Contributors banner center (mobile) */
@media(max-width: 600px){html body .widget .rd-platinum-banner__title,html body .rd-platinum-banner__title{display:block!important;width:100%!important;max-width:100%!important;margin:0!important;padding-left:0!important;padding-right:0!important;text-align:center!important;text-indent:0;transform:none!important;left:auto!important;right:auto!important;position:static!important}html body .widget .rd-platinum-banner,html body .rd-platinum-banner{padding-left:14px!important;padding-right:14px!important;text-align:center!important}html body .widget .rd-platinum-banner__shield,html body .rd-platinum-banner__shield{margin-left:0!important;margin-right:0!important}}

/* ===== RD laptop search full-label band v1 (June 10, 2026) =====
   1264-1392px: widen header search to 216px so the full italic
   "Search the Dogmatika..." placeholder renders; paid for by
   tightening nav link padding 14->10 and item gap 12->10 in this
   band only. iPad band (922-1263) keeps the 44-96px magnifier
   pill; full desktop (>=1393) keeps the 275px ENTER-chip bar.
   Delete this whole block to restore prior behavior. */
@media (min-width: 1264px) and (max-width: 1392px){
  html body #ast-desktop-header .main-header-menu > .menu-item > a.menu-link{padding:10px 10px !important;}
  html body #ast-desktop-header .main-header-menu > .menu-item{margin-right:10px !important;}
  html body #ast-desktop-header .ast-primary-header-bar .site-header-primary-section-right-center form#rd-header-search#rd-header-search{width:216px !important;min-width:216px !important;max-width:216px !important;}
  html body #ast-desktop-header form#rd-header-search#rd-header-search .rd-hs-kbd{display:none !important;}
  html body #ast-desktop-header form#rd-header-search#rd-header-search .rd-hs-input{padding-left:36px !important;padding-right:6px !important;}
}

/* ===== RD suggest serif normalize v1 (June 10, 2026) =====
   Desktop header search suggest dropdown: EB Garamond -> Libre
   Baskerville to match the input field (Tech Log #216 flagged this
   as the future normalization candidate). Delete block to restore. */
@media (min-width: 922px){
  html body #rd-header-search-suggest .rd-hs-item{
    font-family: 'Libre Baskerville', Georgia, serif !important;
    font-size: 13px !important;
  }
}

/* ===== RD Header Search Exemplar Placeholder Width 2026-06-11 ===== */
@media (min-width: 1490px){
  html body #ast-desktop-header .ast-primary-header-bar .site-header-primary-section-right-center form#rd-header-search#rd-header-search,
  html body #ast-desktop-header .main-header-bar .site-header-primary-section-right-center form#rd-header-search#rd-header-search{
    width:min(362px, calc(100vw - 1144px)) !important;max-width:362px !important;
  }
}
@media (min-width: 1490px){
  html body input#rd-header-search-input{padding-right:78px !important;}
}
@media (min-width: 922px){
  html body input#rd-header-search-input{text-overflow:ellipsis !important;}
  html body input#rd-header-search-input::placeholder{text-overflow:ellipsis !important;}
}
/* ===== /RD Header Search Exemplar Placeholder Width 2026-06-11 ===== */

/* === RD Recommended Articles row fix (2026-06-12) === */
@media (min-width: 922px){
  html body .manual-related-posts-with-thumbs .related-item a{ display:flex !important; align-items:center !important; gap:16px !important; }
  html body .manual-related-posts-with-thumbs .related-item img{ flex:0 0 80px !important; width:80px !important; height:80px !important; margin:0 !important; }
  html body .manual-related-posts-with-thumbs .related-item span{ flex:1 1 auto !important; display:block !important; min-width:0 !important; }
}
html body .manual-related-posts-with-thumbs .related-item a,
html body .manual-related-posts-with-thumbs .related-item a:hover,
html body .manual-related-posts-with-thumbs h3{ color:#0B1E32 !important; }
html body .manual-related-posts-with-thumbs .related-item a:hover{ text-decoration:underline !important; }
/* === end RD Recommended Articles row fix === */

/* === RD Recommended Articles spacing polish (2026-06-12) === */
@media (min-width: 922px){
  html body .manual-related-posts-with-thumbs{ display:flex !important; flex-direction:column; gap:22px !important; }
  html body .manual-related-posts-with-thumbs h3{ margin-bottom:0 !important; }
  html body .manual-related-posts-with-thumbs .related-item{ margin:0 !important; }
}
/* === end RD Recommended Articles spacing polish === */

/* RD email-safe article styles (added 2026-06-16) */
.rd-fig{text-align:center;margin:2em auto;}
.rd-fig img{display:inline-block;width:100%;height:auto;border:1px solid #C9D1DA;max-width:380px;}
.rd-fig.rd-fig-wide img{max-width:660px;}
.rd-fig figcaption{font-style:italic;font-size:.9em;color:#0b1e32;margin-top:.55em;line-height:1.4;}
.rd-sequel-box{background:linear-gradient(135deg,#f0f7fa 0%,#e6f2f7 100%);border-left:4px solid #4A8FA8;border-radius:6px;padding:28px 32px;margin:40px auto;max-width:660px;}
.rd-sequel-box .rd-fs-label{font-family:Cinzel,Georgia,serif;font-size:13px;letter-spacing:2px;color:#4A8FA8;font-weight:700;margin:0 0 14px 0;}
.rd-sequel-box .rd-fs-text{font-size:17px;line-height:1.7;color:#1B2A4A;margin:0 0 20px 0;}
.rd-sequel-box .rd-cta-button{display:inline-block;background:#4A8FA8;color:#fff;padding:10px 20px;border-radius:4px;text-decoration:none;font-weight:700;}
.rd-closer{text-align:center;margin:16px 0 22px;}
.rd-closer-glyph{font-size:26px;line-height:1;letter-spacing:.5em;}
.rd-closer-mark{font-family:Georgia,'Times New Roman',serif;font-size:13px;letter-spacing:1.5px;color:#4a8fa8;margin-top:8px;}
.rd-closer-mark a{color:#4a8fa8;text-decoration:none;}

/* Confession citation links match body serif font and full size */
.entry-content a.rdcl-link,.entry-content a.rdcl-ref,.entry-content a.esv-crossref-link{font-family:inherit !important;font-size:inherit !important;line-height:inherit !important;}

/* Confession citation links: regular weight + subtle underline (option D) */
html body .entry-content a.rdcl-link.rdcl-link.rdcl-link.rdcl-link.rdcl-link.rdcl-link.rdcl-link.rdcl-link,html body .entry-content a.rdcl-ref.rdcl-ref.rdcl-ref.rdcl-ref.rdcl-ref.rdcl-ref.rdcl-ref.rdcl-ref{font-weight:400 !important;text-decoration:underline !important;text-decoration-thickness:1px;text-underline-offset:3px;text-decoration-color:rgba(46,94,150,.5);}

/* rd-mobile20-sitewide 2026-07-03 — premium mobile reading default for resource pages; page-id-scoped kits (compact app pages, reading editions) out-specify this and keep their designed scales */
@media (max-width: 768px) {
  body.page .entry-content p { font-size: 20px !important; line-height: 1.75 !important; }
}

/* ============================================================
   RD QUOTE-CARD GUARD (sitewide)  ·  added July 4, 2026  ·  Tech Log #348
   Out-specifies two sitewide !important rules so quote cards never
   regress: (1) work title stays on its own line, (2) navy pull-quote
   band stays navy. Applies to every current and future page.
   ============================================================ */
.entry-content p.rd-attribution .rd-attribution-source{display:block !important;}
html body .entry-content .rd-post-body blockquote.rd-band.rd-blockquote.rd-blockquote{background-color:#0B1E32 !important;background-image:none !important;border:1px solid #C9D1DA !important;}
html body .entry-content .rd-post-body blockquote.rd-band.rd-blockquote.rd-blockquote p:not(.rd-attribution){color:#F4ECD8 !important;}
html body .entry-content .rd-post-body blockquote.rd-band.rd-blockquote.rd-blockquote p.rd-attribution{color:#C9D1DA !important;}
html body .entry-content .rd-post-body blockquote.rd-band.rd-blockquote.rd-blockquote .rd-attribution-source{color:rgba(201,209,218,.82) !important;}
html body .entry-content .rd-post-body blockquote.rd-band.rd-blockquote.rd-blockquote sup a{color:#C9D1DA !important;}

/* ============================================================
   rd-reading-mobile-premium 2026-07-14 — sitewide premium mobile
   reading scale (Catholicity 29131 template).
   Append-only; rollback = delete this block.
   Body slot mirrors rd-mobile20-sitewide specificity on purpose:
   page-id kits keep out-specifying it; wins over mobile20 by order.
   ============================================================ */
@media (max-width: 768px) {
  body.page .entry-content p { font-size: 18px !important; line-height: 1.66 !important; }
  body.page .entry-content p.rd-dropcap::first-letter,
  body.single .entry-content p.rd-dropcap::first-letter { font-size: 2.6rem !important; line-height: 1 !important; margin: 4px 8px 0 0 !important; }
}

/* rd-link-font-inherit 2026-07-14 — prose links inherit the surrounding
   paragraph family. Sits above the rd-font-stability sans pin (html body a),
   below component link kits (Further Study buttons, sequel box, pills),
   which keep their designed sans. Rollback = delete this block. */
.entry-content p a { font-family: inherit !important; }

/* ============================================================
   rd-longread-mobile-width 2026-07-14 — Reader’s Guides and
   long-read pages match article mobile geometry: 16px gutters,
   18px/1.66 body, 65px (2.6rem) drop cap. Covers guides (Calvin
   24031, Zwingli 24203, Bavinck 24248, Luther 28765, Huguenots
   29068, Neo-Calvinism 30034), The Christian Faith 29563-29570,
   Five Points 29808, Future of Calvinism 29815. :not(#rdx) lifts
   these above in-body page kits. Rollback = delete this block.
   ============================================================ */
@media (max-width: 768px) {
html body.page-id-24031 .site-content:not(#rdx),
html body.page-id-24203 .site-content:not(#rdx),
html body.page-id-24248 .site-content:not(#rdx),
html body.page-id-28765 .site-content:not(#rdx),
html body.page-id-29068 .site-content:not(#rdx),
html body.page-id-30034 .site-content:not(#rdx),
html body.page-id-29563 .site-content:not(#rdx),
html body.page-id-29564 .site-content:not(#rdx),
html body.page-id-29565 .site-content:not(#rdx),
html body.page-id-29566 .site-content:not(#rdx),
html body.page-id-29567 .site-content:not(#rdx),
html body.page-id-29568 .site-content:not(#rdx),
html body.page-id-29569 .site-content:not(#rdx),
html body.page-id-29570 .site-content:not(#rdx),
html body.page-id-29808 .site-content:not(#rdx),
html body.page-id-29815 .site-content:not(#rdx) { padding-left: 12px !important; padding-right: 12px !important; }
html body.page-id-24031 #primary:not(#rdx),
html body.page-id-24203 #primary:not(#rdx),
html body.page-id-24248 #primary:not(#rdx),
html body.page-id-28765 #primary:not(#rdx),
html body.page-id-29068 #primary:not(#rdx),
html body.page-id-30034 #primary:not(#rdx),
html body.page-id-29563 #primary:not(#rdx),
html body.page-id-29564 #primary:not(#rdx),
html body.page-id-29565 #primary:not(#rdx),
html body.page-id-29566 #primary:not(#rdx),
html body.page-id-29567 #primary:not(#rdx),
html body.page-id-29568 #primary:not(#rdx),
html body.page-id-29569 #primary:not(#rdx),
html body.page-id-29570 #primary:not(#rdx),
html body.page-id-29808 #primary:not(#rdx),
html body.page-id-29815 #primary:not(#rdx) { padding-left: 0 !important; padding-right: 0 !important; }
html body.page-id-24031 .entry-content .rd-post-body > p:not(#rdx),
html body.page-id-24203 .entry-content .rd-post-body > p:not(#rdx),
html body.page-id-24248 .entry-content .rd-post-body > p:not(#rdx),
html body.page-id-28765 .entry-content .rd-post-body > p:not(#rdx),
html body.page-id-29068 .entry-content .rd-post-body > p:not(#rdx),
html body.page-id-30034 .entry-content .rd-post-body > p:not(#rdx),
html body.page-id-29563 .entry-content .rd-post-body > p:not(#rdx),
html body.page-id-29564 .entry-content .rd-post-body > p:not(#rdx),
html body.page-id-29565 .entry-content .rd-post-body > p:not(#rdx),
html body.page-id-29566 .entry-content .rd-post-body > p:not(#rdx),
html body.page-id-29567 .entry-content .rd-post-body > p:not(#rdx),
html body.page-id-29568 .entry-content .rd-post-body > p:not(#rdx),
html body.page-id-29569 .entry-content .rd-post-body > p:not(#rdx),
html body.page-id-29570 .entry-content .rd-post-body > p:not(#rdx),
html body.page-id-29808 .entry-content .rd-post-body > p:not(#rdx),
html body.page-id-29815 .entry-content .rd-post-body > p:not(#rdx) { font-size: 18px !important; line-height: 1.66 !important; }
html body.page-id-24031 .entry-content p.rd-dropcap:not(#rdx)::first-letter,
html body.page-id-24203 .entry-content p.rd-dropcap:not(#rdx)::first-letter,
html body.page-id-24248 .entry-content p.rd-dropcap:not(#rdx)::first-letter,
html body.page-id-28765 .entry-content p.rd-dropcap:not(#rdx)::first-letter,
html body.page-id-29068 .entry-content p.rd-dropcap:not(#rdx)::first-letter,
html body.page-id-30034 .entry-content p.rd-dropcap:not(#rdx)::first-letter,
html body.page-id-29563 .entry-content p.rd-dropcap:not(#rdx)::first-letter,
html body.page-id-29564 .entry-content p.rd-dropcap:not(#rdx)::first-letter,
html body.page-id-29565 .entry-content p.rd-dropcap:not(#rdx)::first-letter,
html body.page-id-29566 .entry-content p.rd-dropcap:not(#rdx)::first-letter,
html body.page-id-29567 .entry-content p.rd-dropcap:not(#rdx)::first-letter,
html body.page-id-29568 .entry-content p.rd-dropcap:not(#rdx)::first-letter,
html body.page-id-29569 .entry-content p.rd-dropcap:not(#rdx)::first-letter,
html body.page-id-29570 .entry-content p.rd-dropcap:not(#rdx)::first-letter,
html body.page-id-29808 .entry-content p.rd-dropcap:not(#rdx)::first-letter,
html body.page-id-29815 .entry-content p.rd-dropcap:not(#rdx)::first-letter { font-size: 2.6rem !important; line-height: 1 !important; margin: 4px 8px 0 0 !important; }
}

/* rd-cath-mobile-width 2026-07-14 — Catholicity 29131 joins the
   long-read article geometry: 16px gutters (12px site + 4px ast),
   zeroing the July 13 refinement side padding. Companion to
   rd-longread-mobile-width above. Rollback = delete this block. */
@media (max-width: 768px) {
html body.page-id-29131 .site-content:not(#rdx) { padding-left: 12px !important; padding-right: 12px !important; }
html body.page-id-29131 #primary:not(#rdx) { padding-left: 0 !important; padding-right: 0 !important; }
html body.page-id-29131 .rd-cath:not(#rdx) { padding-left: 0 !important; padding-right: 0 !important; }
}

/* ============================================================
   rd-longread-mobile-width-2 2026-07-14 — second sweep to article
   mobile geometry (16px gutters, 18px/1.66 prose, 65px caps):
   Lectures on Calvinism 30061 + 30093-30122, Little Book on Prayer
   27945, Golden Booklet 27944, confession library (27561 27598 27596
   27583 27570 27559 27594 27487 29046 27481 27489 27469 28446 28416
   28376 27479 27477), ecumenical creeds 27617-27620, Geneva Notes
   editorial method 28305. Numbered-apparatus docs (rd-art padding)
   keep their 52px gutter by design. Per-kit paragraph selectors
   below were iframe-verified per page. Rollback = delete block.
   ============================================================ */
@media (max-width: 768px) {
html body.page-id-30061 .site-content:not(#rdx),
html body.page-id-30093 .site-content:not(#rdx),
html body.page-id-30101 .site-content:not(#rdx),
html body.page-id-30105 .site-content:not(#rdx),
html body.page-id-30114 .site-content:not(#rdx),
html body.page-id-30119 .site-content:not(#rdx),
html body.page-id-30122 .site-content:not(#rdx),
html body.page-id-27945 .site-content:not(#rdx),
html body.page-id-27944 .site-content:not(#rdx),
html body.page-id-27561 .site-content:not(#rdx),
html body.page-id-27598 .site-content:not(#rdx),
html body.page-id-27596 .site-content:not(#rdx),
html body.page-id-27583 .site-content:not(#rdx),
html body.page-id-27570 .site-content:not(#rdx),
html body.page-id-27559 .site-content:not(#rdx),
html body.page-id-27594 .site-content:not(#rdx),
html body.page-id-27487 .site-content:not(#rdx),
html body.page-id-29046 .site-content:not(#rdx),
html body.page-id-27481 .site-content:not(#rdx),
html body.page-id-27489 .site-content:not(#rdx),
html body.page-id-27469 .site-content:not(#rdx),
html body.page-id-28446 .site-content:not(#rdx),
html body.page-id-28416 .site-content:not(#rdx),
html body.page-id-28376 .site-content:not(#rdx),
html body.page-id-27479 .site-content:not(#rdx),
html body.page-id-27477 .site-content:not(#rdx),
html body.page-id-27617 .site-content:not(#rdx),
html body.page-id-27618 .site-content:not(#rdx),
html body.page-id-27619 .site-content:not(#rdx),
html body.page-id-27620 .site-content:not(#rdx),
html body.page-id-28305 .site-content:not(#rdx) { padding-left: 12px !important; padding-right: 12px !important; }
html body.page-id-30061 #primary:not(#rdx),
html body.page-id-30093 #primary:not(#rdx),
html body.page-id-30101 #primary:not(#rdx),
html body.page-id-30105 #primary:not(#rdx),
html body.page-id-30114 #primary:not(#rdx),
html body.page-id-30119 #primary:not(#rdx),
html body.page-id-30122 #primary:not(#rdx),
html body.page-id-27945 #primary:not(#rdx),
html body.page-id-27944 #primary:not(#rdx),
html body.page-id-27561 #primary:not(#rdx),
html body.page-id-27598 #primary:not(#rdx),
html body.page-id-27596 #primary:not(#rdx),
html body.page-id-27583 #primary:not(#rdx),
html body.page-id-27570 #primary:not(#rdx),
html body.page-id-27559 #primary:not(#rdx),
html body.page-id-27594 #primary:not(#rdx),
html body.page-id-27487 #primary:not(#rdx),
html body.page-id-29046 #primary:not(#rdx),
html body.page-id-27481 #primary:not(#rdx),
html body.page-id-27489 #primary:not(#rdx),
html body.page-id-27469 #primary:not(#rdx),
html body.page-id-28446 #primary:not(#rdx),
html body.page-id-28416 #primary:not(#rdx),
html body.page-id-28376 #primary:not(#rdx),
html body.page-id-27479 #primary:not(#rdx),
html body.page-id-27477 #primary:not(#rdx),
html body.page-id-27617 #primary:not(#rdx),
html body.page-id-27618 #primary:not(#rdx),
html body.page-id-27619 #primary:not(#rdx),
html body.page-id-27620 #primary:not(#rdx),
html body.page-id-28305 #primary:not(#rdx) { padding-left: 0 !important; padding-right: 0 !important; }
html body.page-id-30061 .entry-content .rd-post-body > p:not(#rdx),
html body.page-id-30093 .entry-content .rd-post-body > p:not(#rdx),
html body.page-id-30101 .entry-content .rd-post-body > p:not(#rdx),
html body.page-id-30105 .entry-content .rd-post-body > p:not(#rdx),
html body.page-id-30114 .entry-content .rd-post-body > p:not(#rdx),
html body.page-id-30119 .entry-content .rd-post-body > p:not(#rdx),
html body.page-id-30122 .entry-content .rd-post-body > p:not(#rdx),
html body.page-id-27945 .entry-content .rd-post-body > p:not(#rdx),
html body.page-id-27944 .entry-content .rd-post-body > p:not(#rdx),
html body.page-id-27561 .entry-content .rd-post-body > p:not(#rdx),
html body.page-id-27598 .entry-content .rd-post-body > p:not(#rdx),
html body.page-id-27596 .entry-content .rd-post-body > p:not(#rdx),
html body.page-id-27583 .entry-content .rd-post-body > p:not(#rdx),
html body.page-id-27570 .entry-content .rd-post-body > p:not(#rdx),
html body.page-id-27559 .entry-content .rd-post-body > p:not(#rdx),
html body.page-id-27594 .entry-content .rd-post-body > p:not(#rdx),
html body.page-id-27487 .entry-content .rd-post-body > p:not(#rdx),
html body.page-id-29046 .entry-content .rd-post-body > p:not(#rdx),
html body.page-id-27481 .entry-content .rd-post-body > p:not(#rdx),
html body.page-id-27489 .entry-content .rd-post-body > p:not(#rdx),
html body.page-id-27469 .entry-content .rd-post-body > p:not(#rdx),
html body.page-id-28446 .entry-content .rd-post-body > p:not(#rdx),
html body.page-id-28416 .entry-content .rd-post-body > p:not(#rdx),
html body.page-id-28376 .entry-content .rd-post-body > p:not(#rdx),
html body.page-id-27479 .entry-content .rd-post-body > p:not(#rdx),
html body.page-id-27477 .entry-content .rd-post-body > p:not(#rdx),
html body.page-id-27617 .entry-content .rd-post-body > p:not(#rdx),
html body.page-id-27618 .entry-content .rd-post-body > p:not(#rdx),
html body.page-id-27619 .entry-content .rd-post-body > p:not(#rdx),
html body.page-id-27620 .entry-content .rd-post-body > p:not(#rdx),
html body.page-id-28305 .entry-content .rd-post-body > p:not(#rdx) { font-size: 18px !important; line-height: 1.66 !important; }
html body.page-id-30061 .entry-content p.rd-dropcap:not(#rdx)::first-letter,
html body.page-id-30093 .entry-content p.rd-dropcap:not(#rdx)::first-letter,
html body.page-id-30101 .entry-content p.rd-dropcap:not(#rdx)::first-letter,
html body.page-id-30105 .entry-content p.rd-dropcap:not(#rdx)::first-letter,
html body.page-id-30114 .entry-content p.rd-dropcap:not(#rdx)::first-letter,
html body.page-id-30119 .entry-content p.rd-dropcap:not(#rdx)::first-letter,
html body.page-id-30122 .entry-content p.rd-dropcap:not(#rdx)::first-letter,
html body.page-id-27945 .entry-content p.rd-dropcap:not(#rdx)::first-letter,
html body.page-id-27944 .entry-content p.rd-dropcap:not(#rdx)::first-letter,
html body.page-id-27561 .entry-content p.rd-dropcap:not(#rdx)::first-letter,
html body.page-id-27598 .entry-content p.rd-dropcap:not(#rdx)::first-letter,
html body.page-id-27596 .entry-content p.rd-dropcap:not(#rdx)::first-letter,
html body.page-id-27583 .entry-content p.rd-dropcap:not(#rdx)::first-letter,
html body.page-id-27570 .entry-content p.rd-dropcap:not(#rdx)::first-letter,
html body.page-id-27559 .entry-content p.rd-dropcap:not(#rdx)::first-letter,
html body.page-id-27594 .entry-content p.rd-dropcap:not(#rdx)::first-letter,
html body.page-id-27487 .entry-content p.rd-dropcap:not(#rdx)::first-letter,
html body.page-id-29046 .entry-content p.rd-dropcap:not(#rdx)::first-letter,
html body.page-id-27481 .entry-content p.rd-dropcap:not(#rdx)::first-letter,
html body.page-id-27489 .entry-content p.rd-dropcap:not(#rdx)::first-letter,
html body.page-id-27469 .entry-content p.rd-dropcap:not(#rdx)::first-letter,
html body.page-id-28446 .entry-content p.rd-dropcap:not(#rdx)::first-letter,
html body.page-id-28416 .entry-content p.rd-dropcap:not(#rdx)::first-letter,
html body.page-id-28376 .entry-content p.rd-dropcap:not(#rdx)::first-letter,
html body.page-id-27479 .entry-content p.rd-dropcap:not(#rdx)::first-letter,
html body.page-id-27477 .entry-content p.rd-dropcap:not(#rdx)::first-letter,
html body.page-id-27617 .entry-content p.rd-dropcap:not(#rdx)::first-letter,
html body.page-id-27618 .entry-content p.rd-dropcap:not(#rdx)::first-letter,
html body.page-id-27619 .entry-content p.rd-dropcap:not(#rdx)::first-letter,
html body.page-id-27620 .entry-content p.rd-dropcap:not(#rdx)::first-letter,
html body.page-id-28305 .entry-content p.rd-dropcap:not(#rdx)::first-letter { font-size: 2.6rem !important; line-height: 1 !important; margin: 4px 8px 0 0 !important; }
html body.page-id-30061 .entry-content .rd-reading > p:not(#rdx),
html body.page-id-30093 .entry-content .rd-reading > p:not(#rdx),
html body.page-id-30101 .entry-content .rd-reading > p:not(#rdx),
html body.page-id-30105 .entry-content .rd-reading > p:not(#rdx),
html body.page-id-30114 .entry-content .rd-reading > p:not(#rdx),
html body.page-id-30119 .entry-content .rd-reading > p:not(#rdx),
html body.page-id-30122 .entry-content .rd-reading > p:not(#rdx),
html body.page-id-30061 .entry-content .rd-intro > p:not(#rdx),
html body.page-id-30093 .entry-content .rd-intro > p:not(#rdx),
html body.page-id-30101 .entry-content .rd-intro > p:not(#rdx),
html body.page-id-30105 .entry-content .rd-intro > p:not(#rdx),
html body.page-id-30114 .entry-content .rd-intro > p:not(#rdx),
html body.page-id-30119 .entry-content .rd-intro > p:not(#rdx),
html body.page-id-30122 .entry-content .rd-intro > p:not(#rdx),
html body.page-id-30061 .entry-content .rd-lec-body > p:not(#rdx),
html body.page-id-30093 .entry-content .rd-lec-body > p:not(#rdx),
html body.page-id-30101 .entry-content .rd-lec-body > p:not(#rdx),
html body.page-id-30105 .entry-content .rd-lec-body > p:not(#rdx),
html body.page-id-30114 .entry-content .rd-lec-body > p:not(#rdx),
html body.page-id-30119 .entry-content .rd-lec-body > p:not(#rdx),
html body.page-id-30122 .entry-content .rd-lec-body > p:not(#rdx) { font-size: 18px !important; line-height: 1.66 !important; }
html body.page-id-30061 .entry-content p.rd-drop:not(#rdx)::first-letter,
html body.page-id-30093 .entry-content p.rd-drop:not(#rdx)::first-letter,
html body.page-id-30101 .entry-content p.rd-drop:not(#rdx)::first-letter,
html body.page-id-30105 .entry-content p.rd-drop:not(#rdx)::first-letter,
html body.page-id-30114 .entry-content p.rd-drop:not(#rdx)::first-letter,
html body.page-id-30119 .entry-content p.rd-drop:not(#rdx)::first-letter,
html body.page-id-30122 .entry-content p.rd-drop:not(#rdx)::first-letter { font-size: 2.6rem !important; line-height: 1 !important; margin: 4px 8px 0 0 !important; }
html body.page-id-27945 .entry-content p.rd-sec:not(#rdx):not(#rdx),
html body.page-id-27944 .entry-content p.rd-sec:not(#rdx):not(#rdx) { font-size: 18px !important; line-height: 1.66 !important; }
html body.page-id-27487 .entry-content p.rd-art-p:not(#rdx),
html body.page-id-27489 .entry-content p.rd-art-p:not(#rdx),
html body.page-id-27469 .entry-content p.rd-art-p:not(#rdx) { font-size: 18px !important; line-height: 1.66 !important; }
html body.page-id-28446 .entry-content p.rd-art:not(#rdx),
html body.page-id-28416 .entry-content p.rd-art:not(#rdx),
html body.page-id-28376 .entry-content p.rd-art:not(#rdx) { font-size: 18px !important; line-height: 1.66 !important; }
html body.page-id-28416 .entry-content p.rd-proof:not(#rdx),html body.page-id-28416 .entry-content p.rd-prooflead:not(#rdx),html body.page-id-28416 .entry-content p.rd-preamble:not(#rdx) { font-size: 18px !important; line-height: 1.66 !important; }
}

/* rd-ref-serif 2026-07-14 — Scripture proof apparatus (.rd-ref) inherits
   the surrounding serif on pages; companion to WPCode snippet 28076 v2
   (page refs: navy #1B4E74 + hairline). Rollback = delete this block. */
html body.page .entry-content .rd-ref:not(#rdx) { font-family: inherit !important; }

/* rd-audit-fix-20260715: retire EB Garamond on mid-article subscribe popup button; canon UI = Source Sans 3 */
html body #rd-mid-subscribe form#rd-mid-subscribe-form button[type="submit"]:not(#rdx){font-family:'Source Sans 3',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif !important;}

/* rd-audit-fix-20260715b: raise classless footnote superscripts to the standard rd-fn treatment (guides/reading editions) */
html body .entry-content sup:not(.rd-fn):not(#rdx){vertical-align:super !important;line-height:0 !important;font-size:.72em !important;}

/* rd-audit-fix-20260717: floating controls (back-to-top, Contents pill) translucent at rest on phone/tablet so they stop visually sitting on the reading column; full opacity on touch/hover */
@media (max-width: 921px){
  html body #ast-scroll-top:not(#rdx){opacity:.45 !important;transition:opacity .25s ease !important;}
  html body #ast-scroll-top:not(#rdx):hover,html body #ast-scroll-top:not(#rdx):active,html body #ast-scroll-top:not(#rdx):focus{opacity:1 !important;}
  html body a#rd-toc-fab:not(#rdx){opacity:.72 !important;transition:opacity .25s ease !important;}
  html body a#rd-toc-fab:not(#rdx):hover,html body a#rd-toc-fab:not(#rdx):active,html body a#rd-toc-fab:not(#rdx):focus{opacity:1 !important;}
}

/* rd-audit-fix-20260717b: (1) navy crosslink box description legible platinum; (2) creeds hub badge gap; (3) historical intro notes serif on 5 older confession kits (matches the creeds' serif intro cards); (4) editorial-method page reading prose serif */
html body .entry-content .rd-crosslink:not(#rdx){color:#C9D1DA !important;}
html body #rd-creedhub .rd-hosted:not(#rdx){margin-left:9px !important;}
body.page-id-27469 .entry-content .rd-meta p:not(#rdx),
body.page-id-27477 .entry-content .rd-meta p:not(#rdx),
body.page-id-27479 .entry-content .rd-meta p:not(#rdx),
body.page-id-27481 .entry-content .rd-meta p:not(#rdx),
body.page-id-27489 .entry-content .rd-meta p:not(#rdx),
body.page-id-27489 .entry-content .rd-histnote:not(#rdx),
html body .entry-content .rd-histnote:not(#rdx){font-family:'Libre Baskerville', Georgia, serif !important;}
body.page-id-28305 .entry-content p:not([class]):not(#rdx){font-family:'Libre Baskerville', Georgia, serif !important;}



/* rd-audit-fix-20260717d: (1) Recommended Articles widget must not list the page it is on; (2) Calvin reading-edition H2s to canon link navy; (3) Genevan Consistory hub phone reading size to spec */
body.page-id-24031 .manual-related-posts-with-thumbs .related-item:has(a[href*="john-calvin-a-reformed-readers-guide"]),
body.page-id-27944 .manual-related-posts-with-thumbs .related-item:has(a[href*="golden-booklet"]),
body.page-id-27945 .manual-related-posts-with-thumbs .related-item:has(a[href*="little-book-on-prayer"]),
body.page-id-29980 .manual-related-posts-with-thumbs .related-item:has(a[href*="five-myths"]),
body.page-id-27299 .manual-related-posts-with-thumbs .related-item:has(a[href*="genevan-consistory"]){display:none !important;}
html body.page-id-27944 .entry-content h2:not(#rdx):not(#rdx2), html body.page-id-27945 .entry-content h2:not(#rdx):not(#rdx2){color:#1B4E74 !important;}
@media(max-width:600px){ body.page-id-27299 .entry-content p:not([class]):not(#rdx){font-size:18px !important;line-height:1.65 !important;} }

/* rd-audit-fix-20260717e: Recommended Articles block appears only under articles, not on the blog index (Tony, July 17) */
body.blog .manual-related-posts-with-thumbs:not(#rdx){display:none !important;}

/* rd-audit-fix-20260717f: one-control-height separation between archive pagination and footer (Tony, July 17) */
body.blog .navigation.pagination:not(#rdx){margin-bottom:64px !important;}
@media(max-width:600px){body.blog .navigation.pagination:not(#rdx){margin-bottom:48px !important;}}