@charset "UTF-8";
/* ============================================================
   Divine Realm Books
   Main SCSS Entry
   Description:
   Imports the theme Sass layers in order. Do not write component styles directly in this file.

   Notes:
   - Use existing design tokens and CSS custom properties whenever possible.
   - Keep styles scoped to their layer: base, components, utilities, or theme variables.

   Author: Adam Williams
   ============================================================ */
/* Design Tokens */
/* ============================================================
   Divine Realm Books
   Design Tokens
   Description:
   Defines Sass maps for colors, typography, spacing, radius,
   shadows, motion, and layout.

   Notes:
   - This file should not output CSS directly.
   - Tokens are mapped to CSS custom properties in _css-vars.scss.
   - Use tokens and CSS variables instead of hardcoded values
     whenever possible.

   Author: Adam Williams
   ============================================================ */
/* ------------------------------------------------------------
   Color Tokens
   ------------------------------------------------------------ */
/* ------------------------------------------------------------
   Typography Tokens
   ------------------------------------------------------------ */
/* ------------------------------------------------------------
   Spacing Tokens
   ------------------------------------------------------------ */
/* ------------------------------------------------------------
   Radius Tokens
   ------------------------------------------------------------ */
/* ------------------------------------------------------------
   Shadow Tokens
   ------------------------------------------------------------ */
/* ------------------------------------------------------------
   Motion Tokens
   ------------------------------------------------------------ */
/* ------------------------------------------------------------
   Layout Tokens
   ------------------------------------------------------------ */
/* ------------------------------------------------------------
   Navbar Semantic Tokens
   ------------------------------------------------------------ */
/* ============================================================
   Divine Realm Books
   Main SCSS Entry
   Description:
   Imports the theme Sass layers in order. Do not write component styles directly in this file.

   Notes:
   - Use existing design tokens and CSS custom properties whenever possible.
   - Keep styles scoped to their layer: base, components, utilities, or theme variables.

   Author: Adam Williams
   ============================================================ */
/* Design Tokens */
/* =========================================================
   CSS VARIABLES (LIGHT MODE DEFAULTS)
   Light Theme
   ========================================================= */
:root {
  /* ---------------------------------
     Base colors
     --------------------------------- */
  --color-bg: #f7f7f7;
  --color-bg-alt: #ececec;
  --color-surface: #ffffff;
  --color-surface-alt: #ececec;
  --color-surface-muted: #dcdcdc;
  --color-surface-accent-light: #eef3fb;
  /*
     Section / component surfaces.
     Note:
     - color-surface-warm is used for designed brand sections.
     - color-surface-inverse is used for dark/inverse components.
  */
  --color-surface-warm: #131545;
  --color-surface-inverse: rgba(44, 47, 156, 0.3);
  /*
     Elevated surface is mostly useful in dark mode,
     but we define it here so components can safely reference it.
  */
  --color-surface-elevated: #ffffff;
  --paper: var(--color-bg-alt);
  --white: #ffffff;
  --color-white: #ffffff;
  /* ---------------------------------
     Text
     --------------------------------- */
  --color-text: #1d2326;
  --color-text-muted: #4f5563;
  /*
     Stable dark text token for buttons placed on gold/light backgrounds.
     Do not use color-surface-inverse for button text.
  */
  --color-button-text-dark: #131545;
  /* ---------------------------------
     Brand (navy)
     --------------------------------- */
  --color-primary: #2C2F9C;
  --color-primary-dark: #10182f;
  --color-primary-hover: #131545;
  /* ---------------------------------
     Gold system
     --------------------------------- */
  --color-gold: #DEC173;
  --color-gold-muted: #BAA261;
  --color-gold-radiant: #DEC173;
  --color-gold-glow: rgba(222, 193, 115, 0.35);
  --color-gold-50: rgba(186, 162, 97, 0.5);
  --color-gold-20: rgba(186, 162, 97, 0.2);
  /* ---------------------------------
     Borders & effects
     --------------------------------- */
  --color-border: #dcdcdc;
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 8px 30px rgba(212, 175, 55, 0.25);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  /* ---------------------------------
     Typography
     --------------------------------- */
  --font-heading: Libre Baskerville, Georgia, serif;
  --font-display: Firlest, serif;
  --font-body: Lato, Helvetica, Arial, sans-serif;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: var(--text-base);
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-hero: 3.75rem;
  /* ---------------------------------
     Spacing
     --------------------------------- */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  /* ---------------------------------
     Radius
     --------------------------------- */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  /* =====================================================
     NAVBAR — SEMANTIC CSS VARIABLES
     ===================================================== */
  --navbar-bg: linear-gradient(
  	180deg,
  	#DEC173 0%,
  	#BAA261 100%
  );
  --navbar-text: #ffffff;
  --navbar-link-hover: #1d2326;
  --navbar-mobile-bg: #BAA261;
  --navbar-toggle-line: #131545;
  /* =====================================================
     FOOTER — SEMANTIC TOKENS (LIGHT MODE)
     ===================================================== */
  --color-footer-bg: #131545;
  --color-footer-text: #ffffff;
  --color-footer-muted: rgba(255, 255, 255, 0.75);
  --color-accent: #DEC173;
  --color-accent-soft: #BAA261;
}

/* Base */
/* ============================================================
   Divine Realm Books
   Base: Reset
   Description:
   Normalizes browser defaults and establishes predictable base element behavior.

   Notes:
   - Use existing design tokens and CSS custom properties whenever possible.
   - Keep styles scoped to their layer: base, components, utilities, or theme variables.

   Author: Adam Williams
   ============================================================ */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =========================================================
   FONT: Firlest (Display / Accent)
   Use sparingly — hero headlines only
   ========================================================= */
@font-face {
  font-family: "Firlest";
  src: url("../fonts/Firlest/firlest-regular-webfont.woff2") format("woff2"), url("../fonts/Firlest/firlest-regular-webfont.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* =========================================================
   FONT: Libre Baskerville
   ========================================================= */
@font-face {
  font-family: "Libre Baskerville";
  src: url("../fonts/Libre_Baskerville/LibreBaskerville-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Libre Baskerville";
  src: url("../fonts/Libre_Baskerville/LibreBaskerville-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Libre Baskerville";
  src: url("../fonts/Libre_Baskerville/LibreBaskerville-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Libre Baskerville";
  src: url("../fonts/Libre_Baskerville/LibreBaskerville-SemiBoldItalic.ttf") format("truetype");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Libre Baskerville";
  src: url("../fonts/Libre_Baskerville/LibreBaskerville-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Libre Baskerville";
  src: url("../fonts/Libre_Baskerville/LibreBaskerville-BoldItalic.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
/* =========================================================
   FONT: Lato
   ========================================================= */
@font-face {
  font-family: "Lato";
  src: url("../fonts/Lato/Lato-Hairline.woff2") format("woff2"), url("../fonts/Lato/Lato-Hairline.woff") format("woff");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("../fonts/Lato/Lato-HarlineItalic.woff2") format("woff2"), url("../fonts/Lato/Lato-HairlineItalic.woff") format("woff");
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("../fonts/Lato/Lato-Light.woff2") format("woff2"), url("../fonts/Lato/Lato-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("../fonts/Lato/Lato-LightItalic.woff2") format("woff2"), url("../fonts/Lato/Lato-LightItalic.woff") format("woff");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("../fonts/Lato/Lato-Regular.woff2") format("woff2"), url("../fonts/Lato/Lato-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("../fonts/Lato/Lato-Italic.woff2") format("woff2"), url("../fonts/Lato/Lato-Italic.woff") format("woff");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("../fonts/Lato/Lato-Bold.woff2") format("woff2"), url("../fonts/Lato/Lato-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("../fonts/Lato/Lato-BoldItalic.woff2") format("woff2"), url("../fonts/Lato/Lato-BoldItalic.woff") format("woff");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("../fonts/Lato/Lato-Black.woff2") format("woff2"), url("../fonts/Lato/Lato-Black.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("../fonts/Lato/Lato-BlackItalic.woff2") format("woff2"), url("../fonts/Lato/Lato-BlackItalic.woff") format("woff");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}
/* ============================================================
   Divine Realm Books
   Base: Typography
   Description:
   Defines global typography defaults for headings, body copy, links, and content rhythm.

   Notes:
   - Use existing design tokens and CSS custom properties whenever possible.
   - Keep styles scoped to their layer: base, components, utilities, or theme variables.

   Author: Adam Williams
   ============================================================ */
h1,
h2 {
  font-family: var(--font-heading);
  color: var(--color-text);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.01em;
}

h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.005em;
}

h1 {
  font-size: var(--text-hero);
}

h2 {
  font-size: var(--text-3xl);
}

h3 {
  font-size: var(--text-2xl);
}

p {
  margin-bottom: var(--space-sm);
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--color-gold-radiant);
}

/* ============================================================
   Divine Realm Books
   Base: Layout
   Description:
   Defines global layout helpers, containers, sections, and page-level spacing.

   Notes:
   - Use existing design tokens and CSS custom properties whenever possible.
   - Keep styles scoped to their layer: base, components, utilities, or theme variables.

   Author: Adam Williams
   ============================================================ */
.site-main {
  background-color: var(--color-bg);
  min-height: 60vh;
}

.section {
  padding: var(--space-lg) 0;
}

.section--tight {
  padding: var(--space-md) 0;
}

.section--alt {
  background-color: var(--color-bg-alt);
}

.anchor-offset {
  position: relative;
  top: -4rem;
  height: 0;
  visibility: hidden;
}

/* =========================================================
   MOBILE BASELINE ADJUSTMENTS
   ========================================================= */
@media (max-width: 767px) {
  .container {
    padding-left: var(--space-sm);
    padding-right: var(--space-sm);
  }
}
/* ============================================================
   Divine Realm Books
   Base: WordPress
   Description:
   Styles default WordPress editor/output patterns and common core block behavior.

   Notes:
   - Use existing design tokens and CSS custom properties whenever possible.
   - Keep styles scoped to their layer: base, components, utilities, or theme variables.

   Author: Adam Williams
   ============================================================ */
/* =========================================
   PAGE / POST HERO
========================================= */
.page-hero,
.post-hero {
  padding: 4rem 1rem 3rem;
  background: var(--drb-color-navy, #10182f);
  color: #fff;
}

.page-hero .container,
.post-hero .container {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.page-title,
.post-title,
.page-hero .page-title,
.post-hero .post-title {
  margin: 0;
  line-height: 1.2;
  color: #fff;
}

.post-meta {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

/* =========================================
   CONTENT WRAPPER
========================================= */
.page-content,
.post-content {
  padding-top: 2.5rem;
  padding-bottom: 4rem;
}

/* =========================================
   READABLE CONTENT WIDTH
========================================= */
.page-content > *,
.post-content > * {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

.page-content > :first-child,
.post-content > :first-child {
  margin-top: 0;
}

.page-content > :last-child,
.post-content > :last-child {
  margin-bottom: 0;
}

/* =========================================
   GUTENBERG ALIGNMENTS
========================================= */
.page-content > .alignwide,
.post-content > .alignwide {
  max-width: 1140px;
}

.page-content > .alignfull,
.post-content > .alignfull {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

/* =========================================
   TYPOGRAPHY STRUCTURE
========================================= */
.page-content p,
.post-content p {
  line-height: 1.7;
}

/* =========================================
   LISTS
========================================= */
.page-content ul,
.page-content ol,
.post-content ul,
.post-content ol {
  max-width: 960px;
  padding-left: 2.5rem;
  margin-bottom: 1.5rem;
}

.page-content li,
.post-content li {
  margin-bottom: 0.5rem;
}

/* =========================================
   IMAGES
========================================= */
.page-content img,
.post-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.5rem auto;
}

/* =========================================
   BLOCKQUOTES
========================================= */
.page-content blockquote,
.post-content blockquote {
  border-left: 4px solid var(--color-gold-radiant);
  padding-left: 1rem;
  margin: 2rem auto;
  font-style: italic;
  max-width: 960px;
}

/* =========================================
   TABLES
========================================= */
.page-content table,
.post-content table {
  width: 100%;
  max-width: 960px;
  margin: 2rem auto;
  border-collapse: collapse;
}

.page-content th,
.page-content td,
.post-content th,
.post-content td {
  padding: 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.15);
  text-align: left;
}

/* =========================================
   WORDPRESS BLOCK HELPERS
========================================= */
.wp-block-image {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.wp-block-button {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

/* =========================================
   GUTENBERG IMAGES
========================================= */
.page-content .wp-block-image img,
.post-content .wp-block-image img {
  border-radius: var(--radius-md);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.page-content .wp-block-image figcaption,
.post-content .wp-block-image figcaption {
  margin-top: 0.75rem;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  text-align: center;
}

/* =========================================================
   ANIMATIONS
   ========================================================= */
/* Fade-up entrance */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Utility class for fade-up animation */
.animate-fade-up {
  animation: fade-up 0.6s var(--ease-soft) both;
}

/* =========================================================
   Reduced motion support
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  /* Disable intentional animations */
  .animate-fade-up {
    animation: none !important;
  }
  /* Disable non-essential transitions */
  * {
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}
/* =========================================================
   ACCESSIBILITY — SKIP LINK
   ========================================================= */
.skip-link {
  position: absolute;
  top: -60px;
  left: 1rem;
  z-index: 10000;
  padding: 0.75rem 1.25rem;
  background-color: var(--color-gold-radiant);
  color: var(--color-text);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  transition: top 0.2s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 0.85rem;
  outline: none;
}

/* Components */
/* ============================================================
   Divine Realm Books
   Component: Navbar
   Description:
   Styles the primary site navigation, brand mark, responsive navigation, and menu interactions.

   Notes:
   - Use existing design tokens and CSS custom properties whenever possible.
   - Keep styles scoped to their layer: base, components, utilities, or theme variables.

   Author: Adam Williams
   ============================================================ */
html {
  transition: background-color 0.25s ease, color 0.25s ease;
}

.site-brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.25rem;
  border-radius: 50%;
  background: var(--color-primary) linear-gradient(128deg, rgb(62, 66, 184) 0%, rgb(25, 30, 94) 100%);
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
}

.site-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navbar-bg);
  box-shadow: var(--shadow-md);
  /* Slightly tighter vertical rhythm */
  padding: 0.85rem 0;
  /* Brand */
}
.site-navbar .site-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--navbar-text);
}
.site-navbar .site-brand .brand-text {
  font-size: var(--text-2xl);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
.site-navbar {
  /* Navigation links */
}
.site-navbar .navbar-nav .nav-link {
  padding: 0.5rem 0.75rem;
  font-weight: 600;
  font-size: var(--text-xl);
  color: var(--navbar-text);
  transition: color 0.25s var(--ease-soft);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}
.site-navbar .navbar-nav .nav-link:hover, .site-navbar .navbar-nav .nav-link:focus {
  color: var(--navbar-link-hover);
}

.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

/* ---------------------------------
   Theme toggle button
   --------------------------------- */
.theme-toggle {
  background: none;
  border: none;
  padding: 0.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-primary);
  transition: color 0.25s var(--ease-soft);
}
.theme-toggle .icon {
  width: 1.25rem;
  height: 1.25rem;
}
.theme-toggle .icon--moon {
  display: none;
}
.theme-toggle:hover, .theme-toggle:focus {
  color: var(--color-gold-radiant);
  outline: none;
}

/* Dark mode icon swap */
[data-theme=dark] .theme-toggle {
  color: var(--color-gold-radiant);
}
[data-theme=dark] .theme-toggle .icon--sun {
  display: none;
}
[data-theme=dark] .theme-toggle .icon--moon {
  display: inline-block;
}

/* =========================================================
   MOBILE BASELINE ADJUSTMENTS
   ========================================================= */
@media (max-width: 991px) {
  .site-navbar {
    padding: 0.4rem 0;
  }
  .site-navbar .site-brand .brand-text {
    font-size: var(--text-lg);
  }
  .site-navbar .navbar-nav {
    background-color: var(--navbar-mobile-bg);
    padding-top: var(--space-sm);
    padding-bottom: var(--space-sm);
    margin-top: var(--space-sm);
    margin-bottom: var(--space-sm);
    border-radius: var(--radius-md);
  }
  .site-navbar .navbar-nav .nav-link {
    padding: 0.75rem 0;
    font-size: var(--text-2xl);
  }
  .site-navbar .theme-toggle {
    margin-top: var(--space-sm);
  }
}
/* extra to align the text centered */
.align-items-lg-center {
  text-align: center;
}

/* =========================================================
   NAVBAR — Mobile Toggle
   ========================================================= */
.navbar-toggler {
  background-color: var(--color-gold-muted);
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.55rem;
  line-height: 1;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.navbar-toggler:focus {
  box-shadow: 0 0 0 2px rgba(222, 193, 115, 0.45);
}
.navbar-toggler:hover {
  background-color: var(--color-gold-radiant);
}

.navbar-toggler-icon {
  background-image: none;
  width: 1.25rem;
  height: 1.25rem;
  position: relative;
}

/* Custom hamburger lines */
.navbar-toggler-icon::before,
.navbar-toggler-icon::after,
.navbar-toggler-icon span {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--navbar-toggle-line);
  border-radius: 1px;
}

/* Top line */
.navbar-toggler-icon::before {
  top: 0;
}

/* Middle line */
.navbar-toggler-icon span {
  top: 50%;
  transform: translateY(-50%);
}

/* Bottom line */
.navbar-toggler-icon::after {
  bottom: 0;
}

/* =========================================================
   WORDPRESS MENU SUPPORT
   ========================================================= */
.site-navbar .navbar-nav,
.site-navbar .menu {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin: 0;
  padding: 0;
}

.site-navbar .menu-item {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-navbar .nav-link,
.site-navbar .menu-item > a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0.5rem 0.75rem;
  color: var(--navbar-text);
  font-family: var(--font-body);
  font-size: var(--text-xl);
  font-weight: 600;
  text-decoration: none;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
  transition: color 0.25s var(--ease-soft), transform 0.25s var(--ease-soft);
}
.site-navbar .nav-link:link, .site-navbar .nav-link:visited,
.site-navbar .menu-item > a:link,
.site-navbar .menu-item > a:visited {
  color: var(--navbar-text);
}
.site-navbar .nav-link:hover, .site-navbar .nav-link:focus,
.site-navbar .menu-item > a:hover,
.site-navbar .menu-item > a:focus {
  color: var(--navbar-link-hover);
  text-decoration: none;
  transform: translateY(-1px);
}

.site-navbar .current-menu-item > a,
.site-navbar .current_page_item > a {
  color: var(--navbar-link-hover);
  font-weight: 700;
}

/* ============================================================
   Divine Realm Books
   Component: Hero
   Description:
   Styles the homepage hero section including image layers, overlay, logo, title, and hero content.

   Notes:
   - Use existing design tokens and CSS custom properties whenever possible.
   - Keep styles scoped to their layer: base, components, utilities, or theme variables.

   Author: Adam Williams
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  color: var(--navbar-text);
  overflow: hidden;
  /* Background layers */
}
.hero-section .hero-bg,
.hero-section .hero-overlay {
  position: absolute;
  inset: 0;
}
.hero-section .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-section {
  /* Overlay gradient */
}
.hero-section .hero-overlay {
  background: linear-gradient(180deg, rgba(19, 21, 69, 0.75), rgba(11, 13, 26, 0.65));
}
.hero-section {
  /* Foreground content */
}
.hero-section .hero-content {
  position: relative;
  z-index: 2;
}
.hero-section .hero-header {
  animation: fade-up 0.8s var(--ease-soft) both;
}
.hero-section .hero-logo {
  margin-top: var(--space-sm);
  margin-bottom: var(--space-sm);
  filter: drop-shadow(0px 8px 8px rgba(0, 0, 0, 0.85));
}
.hero-section .hero-logo img {
  max-width: 250px;
  margin-inline: auto;
}
.hero-section .hero-title {
  color: var(--navbar-text);
  font-family: var(--font-display);
  font-weight: 400;
  margin-bottom: var(--space-sm);
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.85);
}
.hero-section .hero-title .accent {
  color: var(--color-gold-radiant);
  font-style: normal;
  font-size: clamp(4rem, 5vw, 5rem);
}
.hero-section .hero-title .accent-sm {
  color: var(--navbar-text);
  font-style: normal;
  font-size: clamp(2.5rem, 3vw, 5rem);
}
.hero-section .hero-subtitle {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.85);
  margin: 0 auto;
}
.hero-section .hero-subtitle .tagline-sm {
  display: inline-block;
  font-family: var(--font-body);
  color: var(--navbar-text);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(1.25rem, 1.5vw, 3rem);
  margin: var(--space-md) auto var(--space-xs);
}
.hero-section .hero-subtitle .tagline-md {
  display: inline;
  font-family: var(--font-body);
  color: var(--navbar-text);
  font-style: normal;
  font-size: clamp(1.5rem, 2.5vw, 5rem);
  margin: var(--space-xs) auto var(--space-sm);
}
.hero-section .hero-subtitle .tagline-alt {
  display: inline-block;
  color: var(--color-white);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.75rem, 2vw, 3rem);
  margin: var(--space-lg) auto var(--space-sm);
}
.hero-section .hero-subtitle .address-divider {
  font-weight: 300;
}
.hero-section .btn-hero {
  margin-top: var(--space-sm);
  font-size: var(--text-xl);
}
.hero-section .btn-hero .icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--color-gold-radiant);
}

/* =========================================================
   MOBILE BASELINE ADJUSTMENTS
   ========================================================= */
@media (max-width: 767px) {
  .hero-section {
    min-height: 65vh;
  }
  .hero-logo img {
    width: 200px;
  }
}
@media (max-width: 375px) {
  .address-divider {
    display: block;
    height: 0;
    visibility: hidden;
  }
}
/* =========================================================
   BUTTONS
   ========================================================= */
.btn-primary,
.btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--color-primary);
  color: var(--navbar-text);
  font-weight: 600;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: transform 0.25s var(--ease-soft), box-shadow 0.25s var(--ease-soft), background-color 0.25s var(--ease-soft);
  /* Icon support (Lucide) */
}
.btn-primary .icon,
.btn-hero .icon {
  width: 1rem;
  height: 1rem;
}

.btn-primary:hover,
.btn-hero:hover {
  transform: translateY(-2px);
  background-color: var(--color-primary-hover);
  box-shadow: var(--shadow-glow);
}

/* =========================================================
   DIVINE BUTTON MIXINS
   Shared by custom buttons and Gutenberg Button blocks.
   ========================================================= */
/* =========================================================
   DIVINE BUTTON BLOCK
   ========================================================= */
.divine-button-wrap {
  margin: var(--space-md) 0;
  text-align: left;
}

.divine-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-sizing: border-box;
  width: auto;
  height: auto;
  border-radius: var(--radius-lg);
  padding: 0.75rem 1.35rem;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none !important;
  transition: transform 0.2s var(--ease-soft), background-color 0.2s var(--ease-soft), color 0.2s var(--ease-soft), border-color 0.2s var(--ease-soft), box-shadow 0.2s var(--ease-soft);
}
.divine-button, .divine-button:link, .divine-button:visited, .divine-button:active {
  color: inherit;
}
.divine-button:hover, .divine-button:focus {
  transform: translateY(-2px);
  text-decoration: none;
}
.divine-button {
  /* Ensure icon + text always match */
}
.divine-button .divine-button__icon,
.divine-button .divine-button__text {
  color: inherit;
}

/* =========================================================
   PRIMARY BUTTON
   ========================================================= */
.divine-button--primary {
  background-color: var(--color-gold-radiant);
  border: 2px solid var(--color-gold-radiant);
}
.divine-button--primary, .divine-button--primary:link, .divine-button--primary:visited, .divine-button--primary:active {
  color: var(--color-primary-dark, #10182f) !important;
}
.divine-button--primary:hover, .divine-button--primary:focus {
  background-color: var(--color-primary-dark, #10182f);
  border-color: var(--color-primary-dark, #10182f);
  color: var(--white) !important;
}

/* =========================================================
   SECONDARY BUTTON
   ========================================================= */
.divine-button--secondary {
  background-color: rgba(222, 193, 115, 0.16);
  border: 2px solid rgba(222, 193, 115, 0.48);
}
.divine-button--secondary, .divine-button--secondary:link, .divine-button--secondary:visited, .divine-button--secondary:active {
  color: var(--color-gold-radiant) !important;
}
.divine-button--secondary:hover, .divine-button--secondary:focus {
  background-color: var(--color-gold-radiant);
  border-color: var(--color-gold-radiant);
  color: var(--color-button-text-dark) !important;
}

/* =========================================================
   OUTLINE BUTTON
   ========================================================= */
.divine-button--outline {
  background-color: transparent;
  border: 2px solid var(--color-gold-radiant);
  box-shadow: none;
}
.divine-button--outline, .divine-button--outline:link, .divine-button--outline:visited, .divine-button--outline:active {
  color: var(--color-gold-radiant) !important;
}
.divine-button--outline:hover, .divine-button--outline:focus {
  background-color: var(--color-gold-radiant);
  border-color: var(--color-gold-radiant);
  color: var(--color-button-text-dark) !important;
}

/* =========================================================
   GUTENBERG BUTTON SUPPORT
   WordPress places custom classes on .wp-block-button,
   so the actual <a> needs to be targeted through the wrapper.
   ========================================================= */
.wp-block-button.divine-button .wp-block-button__link,
.wp-block-button.btn .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-sizing: border-box;
  width: auto;
  height: auto;
  border-radius: var(--radius-lg);
  padding: 0.75rem 1.35rem;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none !important;
  transition: transform 0.2s var(--ease-soft), background-color 0.2s var(--ease-soft), color 0.2s var(--ease-soft), border-color 0.2s var(--ease-soft), box-shadow 0.2s var(--ease-soft);
}
.wp-block-button.divine-button .wp-block-button__link, .wp-block-button.divine-button .wp-block-button__link:link, .wp-block-button.divine-button .wp-block-button__link:visited, .wp-block-button.divine-button .wp-block-button__link:active,
.wp-block-button.btn .wp-block-button__link,
.wp-block-button.btn .wp-block-button__link:link,
.wp-block-button.btn .wp-block-button__link:visited,
.wp-block-button.btn .wp-block-button__link:active {
  color: inherit;
}
.wp-block-button.divine-button .wp-block-button__link:hover, .wp-block-button.divine-button .wp-block-button__link:focus,
.wp-block-button.btn .wp-block-button__link:hover,
.wp-block-button.btn .wp-block-button__link:focus {
  transform: translateY(-2px);
  text-decoration: none;
}

.wp-block-button .wp-block-button__link {
  border-radius: var(--radius-lg);
}

.wp-block-button.divine-button,
.wp-block-button.divine-button--primary,
.wp-block-button.divine-button--secondary,
.wp-block-button.divine-button--outline,
.wp-block-button.btn,
.wp-block-button.btn-primary,
.wp-block-button.btn-secondary,
.wp-block-button.btn-outline,
.wp-block-button.is-style-primary,
.wp-block-button.is-style-secondary,
.wp-block-button.is-style-divine-primary,
.wp-block-button.is-style-divine-secondary,
.wp-block-button.is-style-divine-outline {
  flex: 0 0 auto;
  width: auto;
}

.wp-block-button.divine-button--primary .wp-block-button__link,
.wp-block-button.btn-primary .wp-block-button__link,
.wp-block-button.is-style-primary .wp-block-button__link,
.wp-block-button.is-style-divine-primary .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-sizing: border-box;
  width: auto;
  height: auto;
  border-radius: var(--radius-lg);
  padding: 0.75rem 1.35rem;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none !important;
  transition: transform 0.2s var(--ease-soft), background-color 0.2s var(--ease-soft), color 0.2s var(--ease-soft), border-color 0.2s var(--ease-soft), box-shadow 0.2s var(--ease-soft);
}
.wp-block-button.divine-button--primary .wp-block-button__link, .wp-block-button.divine-button--primary .wp-block-button__link:link, .wp-block-button.divine-button--primary .wp-block-button__link:visited, .wp-block-button.divine-button--primary .wp-block-button__link:active,
.wp-block-button.btn-primary .wp-block-button__link,
.wp-block-button.btn-primary .wp-block-button__link:link,
.wp-block-button.btn-primary .wp-block-button__link:visited,
.wp-block-button.btn-primary .wp-block-button__link:active,
.wp-block-button.is-style-primary .wp-block-button__link,
.wp-block-button.is-style-primary .wp-block-button__link:link,
.wp-block-button.is-style-primary .wp-block-button__link:visited,
.wp-block-button.is-style-primary .wp-block-button__link:active,
.wp-block-button.is-style-divine-primary .wp-block-button__link,
.wp-block-button.is-style-divine-primary .wp-block-button__link:link,
.wp-block-button.is-style-divine-primary .wp-block-button__link:visited,
.wp-block-button.is-style-divine-primary .wp-block-button__link:active {
  color: inherit;
}
.wp-block-button.divine-button--primary .wp-block-button__link:hover, .wp-block-button.divine-button--primary .wp-block-button__link:focus,
.wp-block-button.btn-primary .wp-block-button__link:hover,
.wp-block-button.btn-primary .wp-block-button__link:focus,
.wp-block-button.is-style-primary .wp-block-button__link:hover,
.wp-block-button.is-style-primary .wp-block-button__link:focus,
.wp-block-button.is-style-divine-primary .wp-block-button__link:hover,
.wp-block-button.is-style-divine-primary .wp-block-button__link:focus {
  transform: translateY(-2px);
  text-decoration: none;
}
.wp-block-button.divine-button--primary .wp-block-button__link,
.wp-block-button.btn-primary .wp-block-button__link,
.wp-block-button.is-style-primary .wp-block-button__link,
.wp-block-button.is-style-divine-primary .wp-block-button__link {
  background-color: var(--color-gold-radiant);
  border: 2px solid var(--color-gold-radiant);
}
.wp-block-button.divine-button--primary .wp-block-button__link, .wp-block-button.divine-button--primary .wp-block-button__link:link, .wp-block-button.divine-button--primary .wp-block-button__link:visited, .wp-block-button.divine-button--primary .wp-block-button__link:active,
.wp-block-button.btn-primary .wp-block-button__link,
.wp-block-button.btn-primary .wp-block-button__link:link,
.wp-block-button.btn-primary .wp-block-button__link:visited,
.wp-block-button.btn-primary .wp-block-button__link:active,
.wp-block-button.is-style-primary .wp-block-button__link,
.wp-block-button.is-style-primary .wp-block-button__link:link,
.wp-block-button.is-style-primary .wp-block-button__link:visited,
.wp-block-button.is-style-primary .wp-block-button__link:active,
.wp-block-button.is-style-divine-primary .wp-block-button__link,
.wp-block-button.is-style-divine-primary .wp-block-button__link:link,
.wp-block-button.is-style-divine-primary .wp-block-button__link:visited,
.wp-block-button.is-style-divine-primary .wp-block-button__link:active {
  color: var(--color-primary-dark, #10182f) !important;
}
.wp-block-button.divine-button--primary .wp-block-button__link:hover, .wp-block-button.divine-button--primary .wp-block-button__link:focus,
.wp-block-button.btn-primary .wp-block-button__link:hover,
.wp-block-button.btn-primary .wp-block-button__link:focus,
.wp-block-button.is-style-primary .wp-block-button__link:hover,
.wp-block-button.is-style-primary .wp-block-button__link:focus,
.wp-block-button.is-style-divine-primary .wp-block-button__link:hover,
.wp-block-button.is-style-divine-primary .wp-block-button__link:focus {
  background-color: var(--color-primary-dark, #10182f);
  border-color: var(--color-primary-dark, #10182f);
  color: var(--white) !important;
}

.wp-block-button.divine-button--secondary .wp-block-button__link,
.wp-block-button.btn-secondary .wp-block-button__link,
.wp-block-button.is-style-secondary .wp-block-button__link,
.wp-block-button.is-style-divine-secondary .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-sizing: border-box;
  width: auto;
  height: auto;
  border-radius: var(--radius-lg);
  padding: 0.75rem 1.35rem;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none !important;
  transition: transform 0.2s var(--ease-soft), background-color 0.2s var(--ease-soft), color 0.2s var(--ease-soft), border-color 0.2s var(--ease-soft), box-shadow 0.2s var(--ease-soft);
}
.wp-block-button.divine-button--secondary .wp-block-button__link, .wp-block-button.divine-button--secondary .wp-block-button__link:link, .wp-block-button.divine-button--secondary .wp-block-button__link:visited, .wp-block-button.divine-button--secondary .wp-block-button__link:active,
.wp-block-button.btn-secondary .wp-block-button__link,
.wp-block-button.btn-secondary .wp-block-button__link:link,
.wp-block-button.btn-secondary .wp-block-button__link:visited,
.wp-block-button.btn-secondary .wp-block-button__link:active,
.wp-block-button.is-style-secondary .wp-block-button__link,
.wp-block-button.is-style-secondary .wp-block-button__link:link,
.wp-block-button.is-style-secondary .wp-block-button__link:visited,
.wp-block-button.is-style-secondary .wp-block-button__link:active,
.wp-block-button.is-style-divine-secondary .wp-block-button__link,
.wp-block-button.is-style-divine-secondary .wp-block-button__link:link,
.wp-block-button.is-style-divine-secondary .wp-block-button__link:visited,
.wp-block-button.is-style-divine-secondary .wp-block-button__link:active {
  color: inherit;
}
.wp-block-button.divine-button--secondary .wp-block-button__link:hover, .wp-block-button.divine-button--secondary .wp-block-button__link:focus,
.wp-block-button.btn-secondary .wp-block-button__link:hover,
.wp-block-button.btn-secondary .wp-block-button__link:focus,
.wp-block-button.is-style-secondary .wp-block-button__link:hover,
.wp-block-button.is-style-secondary .wp-block-button__link:focus,
.wp-block-button.is-style-divine-secondary .wp-block-button__link:hover,
.wp-block-button.is-style-divine-secondary .wp-block-button__link:focus {
  transform: translateY(-2px);
  text-decoration: none;
}
.wp-block-button.divine-button--secondary .wp-block-button__link,
.wp-block-button.btn-secondary .wp-block-button__link,
.wp-block-button.is-style-secondary .wp-block-button__link,
.wp-block-button.is-style-divine-secondary .wp-block-button__link {
  background-color: rgba(222, 193, 115, 0.16);
  border: 2px solid rgba(222, 193, 115, 0.48);
}
.wp-block-button.divine-button--secondary .wp-block-button__link, .wp-block-button.divine-button--secondary .wp-block-button__link:link, .wp-block-button.divine-button--secondary .wp-block-button__link:visited, .wp-block-button.divine-button--secondary .wp-block-button__link:active,
.wp-block-button.btn-secondary .wp-block-button__link,
.wp-block-button.btn-secondary .wp-block-button__link:link,
.wp-block-button.btn-secondary .wp-block-button__link:visited,
.wp-block-button.btn-secondary .wp-block-button__link:active,
.wp-block-button.is-style-secondary .wp-block-button__link,
.wp-block-button.is-style-secondary .wp-block-button__link:link,
.wp-block-button.is-style-secondary .wp-block-button__link:visited,
.wp-block-button.is-style-secondary .wp-block-button__link:active,
.wp-block-button.is-style-divine-secondary .wp-block-button__link,
.wp-block-button.is-style-divine-secondary .wp-block-button__link:link,
.wp-block-button.is-style-divine-secondary .wp-block-button__link:visited,
.wp-block-button.is-style-divine-secondary .wp-block-button__link:active {
  color: var(--color-gold-radiant) !important;
}
.wp-block-button.divine-button--secondary .wp-block-button__link:hover, .wp-block-button.divine-button--secondary .wp-block-button__link:focus,
.wp-block-button.btn-secondary .wp-block-button__link:hover,
.wp-block-button.btn-secondary .wp-block-button__link:focus,
.wp-block-button.is-style-secondary .wp-block-button__link:hover,
.wp-block-button.is-style-secondary .wp-block-button__link:focus,
.wp-block-button.is-style-divine-secondary .wp-block-button__link:hover,
.wp-block-button.is-style-divine-secondary .wp-block-button__link:focus {
  background-color: var(--color-gold-radiant);
  border-color: var(--color-gold-radiant);
  color: var(--color-button-text-dark) !important;
}

.wp-block-button.divine-button--outline .wp-block-button__link,
.wp-block-button.btn-outline .wp-block-button__link,
.wp-block-button.is-style-outline .wp-block-button__link,
.wp-block-button.is-style-divine-outline .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-sizing: border-box;
  width: auto;
  height: auto;
  border-radius: var(--radius-lg);
  padding: 0.75rem 1.35rem;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none !important;
  transition: transform 0.2s var(--ease-soft), background-color 0.2s var(--ease-soft), color 0.2s var(--ease-soft), border-color 0.2s var(--ease-soft), box-shadow 0.2s var(--ease-soft);
}
.wp-block-button.divine-button--outline .wp-block-button__link, .wp-block-button.divine-button--outline .wp-block-button__link:link, .wp-block-button.divine-button--outline .wp-block-button__link:visited, .wp-block-button.divine-button--outline .wp-block-button__link:active,
.wp-block-button.btn-outline .wp-block-button__link,
.wp-block-button.btn-outline .wp-block-button__link:link,
.wp-block-button.btn-outline .wp-block-button__link:visited,
.wp-block-button.btn-outline .wp-block-button__link:active,
.wp-block-button.is-style-outline .wp-block-button__link,
.wp-block-button.is-style-outline .wp-block-button__link:link,
.wp-block-button.is-style-outline .wp-block-button__link:visited,
.wp-block-button.is-style-outline .wp-block-button__link:active,
.wp-block-button.is-style-divine-outline .wp-block-button__link,
.wp-block-button.is-style-divine-outline .wp-block-button__link:link,
.wp-block-button.is-style-divine-outline .wp-block-button__link:visited,
.wp-block-button.is-style-divine-outline .wp-block-button__link:active {
  color: inherit;
}
.wp-block-button.divine-button--outline .wp-block-button__link:hover, .wp-block-button.divine-button--outline .wp-block-button__link:focus,
.wp-block-button.btn-outline .wp-block-button__link:hover,
.wp-block-button.btn-outline .wp-block-button__link:focus,
.wp-block-button.is-style-outline .wp-block-button__link:hover,
.wp-block-button.is-style-outline .wp-block-button__link:focus,
.wp-block-button.is-style-divine-outline .wp-block-button__link:hover,
.wp-block-button.is-style-divine-outline .wp-block-button__link:focus {
  transform: translateY(-2px);
  text-decoration: none;
}
.wp-block-button.divine-button--outline .wp-block-button__link,
.wp-block-button.btn-outline .wp-block-button__link,
.wp-block-button.is-style-outline .wp-block-button__link,
.wp-block-button.is-style-divine-outline .wp-block-button__link {
  background-color: transparent;
  border: 2px solid var(--color-gold-radiant);
  box-shadow: none;
}
.wp-block-button.divine-button--outline .wp-block-button__link, .wp-block-button.divine-button--outline .wp-block-button__link:link, .wp-block-button.divine-button--outline .wp-block-button__link:visited, .wp-block-button.divine-button--outline .wp-block-button__link:active,
.wp-block-button.btn-outline .wp-block-button__link,
.wp-block-button.btn-outline .wp-block-button__link:link,
.wp-block-button.btn-outline .wp-block-button__link:visited,
.wp-block-button.btn-outline .wp-block-button__link:active,
.wp-block-button.is-style-outline .wp-block-button__link,
.wp-block-button.is-style-outline .wp-block-button__link:link,
.wp-block-button.is-style-outline .wp-block-button__link:visited,
.wp-block-button.is-style-outline .wp-block-button__link:active,
.wp-block-button.is-style-divine-outline .wp-block-button__link,
.wp-block-button.is-style-divine-outline .wp-block-button__link:link,
.wp-block-button.is-style-divine-outline .wp-block-button__link:visited,
.wp-block-button.is-style-divine-outline .wp-block-button__link:active {
  color: var(--color-gold-radiant) !important;
}
.wp-block-button.divine-button--outline .wp-block-button__link:hover, .wp-block-button.divine-button--outline .wp-block-button__link:focus,
.wp-block-button.btn-outline .wp-block-button__link:hover,
.wp-block-button.btn-outline .wp-block-button__link:focus,
.wp-block-button.is-style-outline .wp-block-button__link:hover,
.wp-block-button.is-style-outline .wp-block-button__link:focus,
.wp-block-button.is-style-divine-outline .wp-block-button__link:hover,
.wp-block-button.is-style-divine-outline .wp-block-button__link:focus {
  background-color: var(--color-gold-radiant);
  border-color: var(--color-gold-radiant);
  color: var(--color-button-text-dark) !important;
}
.wp-block-button.divine-button--outline .wp-block-button__link,
.wp-block-button.btn-outline .wp-block-button__link,
.wp-block-button.is-style-outline .wp-block-button__link,
.wp-block-button.is-style-divine-outline .wp-block-button__link {
  outline: 0;
  box-shadow: none;
}

.wp-block-button.is-style-outline {
  outline: 0;
}
.wp-block-button.is-style-outline .wp-block-button__link {
  outline: 0;
}

/* =========================================================
   ICON WRAPPER
   ========================================================= */
.divine-button__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* =========================================================
   FEATURE CARDS SECTION
   Homepage feature-card block
   ========================================================= */
/*
   Supports both class names:
   - .feature-section = current ACF block template
   - .feature-cards-section = older/legacy component naming
*/
.feature-section,
.feature-cards-section {
  background-color: var(--color-bg);
  padding-top: var(--space-lg);
  padding-bottom: var(--space-lg);
}

/* =========================================================
   FEATURE SECTION HEADING
   ========================================================= */
.feature-title {
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  letter-spacing: -0.04em;
}

.feature-title::after {
  content: "";
  display: block;
  width: 110px;
  height: 4px;
  margin: var(--space-sm) auto 0;
  background-color: var(--color-gold-radiant);
}

.feature-intro-text {
  margin-top: var(--space-md);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-xl);
  font-weight: 400;
  line-height: 1.7;
  text-align: center;
}
.feature-intro-text .bolder {
  display: block;
  color: var(--color-primary);
  font-weight: 700;
}

/* =========================================================
   FEATURE CARD
   ========================================================= */
.feature-card {
  height: 100%;
  padding: var(--space-lg);
  background-color: var(--color-surface);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease-soft), box-shadow 0.25s var(--ease-soft), border-color 0.25s var(--ease-soft);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 0, 0, 0.08);
}
.feature-card h3,
.feature-card .feature-title {
  margin-bottom: var(--space-md);
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  letter-spacing: -0.03em;
}
.feature-card h3::after,
.feature-card .feature-title::after {
  content: "";
  display: block;
  width: 110px;
  height: 4px;
  margin: var(--space-sm) auto var(--space-md);
  background-color: var(--color-gold-radiant);
}
.feature-card p {
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
}
.feature-card .feature-text {
  margin-bottom: var(--space-md);
  color: var(--color-text);
}
.feature-card .feature-text-center,
.feature-card .feature-text.feature-text-center {
  text-align: center;
}

/* =========================================================
   FEATURE ICON
   ========================================================= */
/*
   Supports both icon wrappers:
   - .feature-icon = current block template
   - .feature-icon-wrapper = older/legacy markup
*/
.feature-icon,
.feature-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5.5rem;
  height: 5.5rem;
  margin: 0 auto var(--space-md);
  background-color: rgba(222, 193, 115, 0.22);
  border: 1px solid rgba(222, 193, 115, 0.35);
  border-radius: 50%;
  color: var(--color-primary);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.45), 0 8px 20px rgba(0, 0, 0, 0.08);
}
.feature-icon .icon,
.feature-icon svg,
.feature-icon-wrapper .icon,
.feature-icon-wrapper svg {
  width: 2.25rem;
  height: 2.25rem;
  color: currentColor;
  stroke: currentColor;
}

/* =========================================================
   FEATURE LIST
   ========================================================= */
.feature-list {
  margin: var(--space-md) 0 0;
  padding-left: 1.35rem;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
}
.feature-list li {
  margin-bottom: 0.45rem;
}
.feature-list li:last-child {
  margin-bottom: 0;
}

/* =========================================================
   FEATURE CARDS — MOBILE
   ========================================================= */
@media (max-width: 767px) {
  .feature-section,
  .feature-cards-section {
    padding-top: var(--space-md);
    padding-bottom: var(--space-md);
  }
  .feature-title {
    font-size: var(--text-3xl);
  }
  .feature-card {
    padding: var(--space-md);
  }
  .feature-icon,
  .feature-icon-wrapper {
    width: 4.75rem;
    height: 4.75rem;
  }
  .feature-icon .icon,
  .feature-icon svg,
  .feature-icon-wrapper .icon,
  .feature-icon-wrapper svg {
    width: 2rem;
    height: 2rem;
  }
}
/* =========================================================
   FEATURE CARDS — DARK MODE
   ========================================================= */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .feature-section,
  :root:not([data-theme]) .feature-cards-section {
    background-color: var(--color-bg);
  }
  :root:not([data-theme]) .feature-title {
    color: var(--color-gold-radiant);
  }
  :root:not([data-theme]) .feature-intro-text {
    color: var(--color-text);
  }
  :root:not([data-theme]) .feature-intro-text .bolder {
    color: var(--color-gold-radiant);
  }
  :root:not([data-theme]) .feature-card {
    background-color: var(--color-surface-elevated);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
  }
  :root:not([data-theme]) .feature-card:hover {
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
    border-color: rgba(255, 255, 255, 0.14);
  }
  :root:not([data-theme]) .feature-card h3,
  :root:not([data-theme]) .feature-card .feature-title {
    color: var(--color-gold-radiant);
  }
  :root:not([data-theme]) .feature-card p,
  :root:not([data-theme]) .feature-card .feature-text,
  :root:not([data-theme]) .feature-card .feature-list {
    color: var(--color-text);
  }
  :root:not([data-theme]) .feature-icon,
  :root:not([data-theme]) .feature-icon-wrapper {
    background-color: rgba(240, 215, 124, 0.12);
    border-color: rgba(240, 215, 124, 0.22);
    color: var(--color-gold-radiant);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.06), 0 8px 20px rgba(0, 0, 0, 0.35);
  }
}
[data-theme=dark] .feature-section,
[data-theme=dark] .feature-cards-section {
  background-color: var(--color-bg);
}
[data-theme=dark] .feature-title {
  color: var(--color-gold-radiant);
}
[data-theme=dark] .feature-intro-text {
  color: var(--color-text);
}
[data-theme=dark] .feature-intro-text .bolder {
  color: var(--color-gold-radiant);
}
[data-theme=dark] .feature-card {
  background-color: var(--color-surface-elevated);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}
[data-theme=dark] .feature-card:hover {
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  border-color: rgba(255, 255, 255, 0.14);
}
[data-theme=dark] .feature-card h3,
[data-theme=dark] .feature-card .feature-title {
  color: var(--color-gold-radiant);
}
[data-theme=dark] .feature-card p,
[data-theme=dark] .feature-card .feature-text,
[data-theme=dark] .feature-card .feature-list {
  color: var(--color-text);
}
[data-theme=dark] .feature-icon,
[data-theme=dark] .feature-icon-wrapper {
  background-color: rgba(240, 215, 124, 0.12);
  border-color: rgba(240, 215, 124, 0.22);
  color: var(--color-gold-radiant);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.06), 0 8px 20px rgba(0, 0, 0, 0.35);
}

/* =========================================================
   CARE TO COMMUNITY SECTION
   ========================================================= */
.care-to-community-section {
  background-color: var(--color-bg-alt);
  padding-top: var(--space-lg);
  padding-bottom: var(--space-sm);
}
.care-to-community-section h3 {
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 700;
  text-align: left;
}
.care-to-community-section .about-photo {
  width: 100%;
  max-width: 300px;
  height: 300px;
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  display: flex;
  margin: 0 auto 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease-soft), box-shadow 0.25s var(--ease-soft);
}
.care-to-community-section .about-photo:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.care-to-community-section .about-photo img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}
.care-to-community-section .about-text {
  color: var(--color-text);
}

/* ============================================================
   Divine Realm Books
   Component: Visit Us
   Description:
   Styles the visit/location section, cards, headings, and related content blocks.

   Notes:
   - Use existing design tokens and CSS custom properties whenever possible.
   - Keep styles scoped to their layer: base, components, utilities, or theme variables.

   Author: Adam Williams
   ============================================================ */
.visit-us-section {
  background-color: var(--color-bg);
  padding-top: var(--space-lg);
  padding-bottom: var(--space-lg);
}
.visit-us-section h3 {
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 700;
  text-align: left;
}

.visit-us-title {
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 400;
  text-align: center;
  letter-spacing: -0.04em;
}

.visit-us-title::after {
  content: "";
  display: block;
  width: 100px;
  height: 3px;
  background-color: var(--color-accent);
  margin: 1rem auto 0;
}

.visit-us-text {
  font-size: var(--text-xl);
  color: var(--color-text);
}

.visit-us-card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease-soft), box-shadow 0.25s var(--ease-soft);
}
.visit-us-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.visit-us-card .visit-us-title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-xs);
  color: var(--color-primary);
}
.visit-us-card .visit-us-title::after {
  content: none;
  display: none;
}
.visit-us-card .visit-us-hours {
  font-size: var(--text-xl);
  color: var(--color-text);
}

/* =========================================================
   EVENTS SECTION
   Homepage / Home Events Block
   ========================================================= */
.events-section {
  background-color: var(--color-surface-warm);
  padding-top: var(--space-lg);
  padding-bottom: var(--space-sm);
}
.events-section h3 {
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 700;
  text-align: left;
}
.events-section p {
  color: var(--white);
}
.events-section .events-title {
  color: var(--white);
}
.events-section .events-intro-text {
  color: var(--white);
}
.events-section .events-intro-text .bolder {
  color: var(--color-gold-radiant);
}

.events-title {
  color: var(--color-text-muted);
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 400;
  text-align: center;
  letter-spacing: -0.04em;
}

.events-title::after {
  content: none;
  display: none;
  width: auto;
  height: auto;
  background-color: transparent;
}

.events-intro-text {
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: var(--text-xl);
  font-weight: 400;
  text-align: center;
  font-style: italic;
}
.events-intro-text .bolder {
  color: var(--color-gold-radiant);
  font-weight: 700;
  display: block;
}

.events-card {
  background-color: var(--color-surface-inverse);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease-soft), box-shadow 0.25s var(--ease-soft);
}
.events-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.events-card p {
  color: var(--white);
}
.events-card .events-title {
  color: var(--color-gold-radiant);
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-md);
  text-align: left;
}
.events-card .events-title a {
  color: var(--color-gold-radiant);
  text-decoration: none;
}
.events-card .events-title a:visited {
  color: var(--color-gold-radiant);
}
.events-card .events-title a:hover,
.events-card .events-title a:focus {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.events-card .events-subtitle {
  color: var(--color-gold-radiant);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: var(--space-sm);
}
.events-card .events-meta {
  color: var(--color-gold-radiant);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: var(--space-sm);
}
.events-card .events-meta span {
  display: block;
}
.events-card .events-text {
  color: var(--white);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  margin-bottom: var(--space-md);
}
.events-card .events-text p {
  color: var(--white);
  margin-bottom: var(--space-sm);
}
.events-card .events-text p:last-child {
  margin-bottom: 0;
}
.events-card .events-text strong {
  color: var(--color-gold-radiant);
}
.events-card .events-link {
  color: var(--color-gold-radiant);
  font-family: var(--font-body);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: color 0.2s var(--ease-soft), border-color 0.2s var(--ease-soft);
}
.events-card .events-link:visited {
  color: var(--color-gold-radiant);
}
.events-card .events-link:hover, .events-card .events-link:focus {
  color: var(--white);
  border-color: var(--white);
}
.events-card .events-list {
  color: var(--white);
  font-size: var(--text-base);
  line-height: 1.6;
  text-align: left;
}
.events-card .events-list li {
  margin-bottom: var(--space-xs);
}
.events-card .events-title.events-title-center {
  text-align: center;
}

/* =========================================================
   EVENT BACK LINK
   Used on single event detail pages
   ========================================================= */
.event-back-link a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  text-decoration: none;
}

.event-back-link a:hover,
.event-back-link a:focus {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* =========================================================
   EVENTS ARCHIVE PAGE
   /events/
   ========================================================= */
.events-main {
  background-color: var(--color-bg);
}

.events-archive-section {
  padding: var(--space-lg) 0 var(--space-xl);
}

.drb-events-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  max-width: 1040px;
  margin: 0 auto;
}

.drb-event-card {
  background-color: var(--paper);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.14);
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  gap: var(--space-xs) var(--space-md);
  align-items: start;
  transition: transform 0.25s var(--ease-soft), box-shadow 0.25s var(--ease-soft), border-color 0.25s var(--ease-soft);
}
.drb-event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
  border-color: rgba(0, 0, 0, 0.14);
}
.drb-event-card h2,
.drb-event-card h3 {
  margin-bottom: var(--space-sm);
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
  grid-column: 2;
}
.drb-event-card h2::after,
.drb-event-card h3::after {
  content: "";
  display: block;
  width: 110px;
  height: 4px;
  margin: var(--space-sm) 0 var(--space-md);
  background-color: var(--color-gold-radiant);
}
.drb-event-card h2 a,
.drb-event-card h3 a {
  color: var(--color-primary);
  text-decoration: none;
}
.drb-event-card h2 a:visited,
.drb-event-card h3 a:visited {
  color: var(--color-primary);
}
.drb-event-card h2 a:hover, .drb-event-card h2 a:focus,
.drb-event-card h3 a:hover,
.drb-event-card h3 a:focus {
  color: var(--color-gold-radiant);
  text-decoration: none;
}
.drb-event-card p {
  color: var(--color-text);
}

/* =========================================================
   EVENT CARD IMAGE
   16:9 featured image treatment
   ========================================================= */
.drb-event-card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  grid-column: 2;
}
.drb-event-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s var(--ease-soft);
}

.drb-event-card:hover .drb-event-card-image img {
  transform: scale(1.05);
}

/* =========================================================
   HOMEPAGE EVENT CARD DATE BADGE
   ========================================================= */
.events-card-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  min-width: 76px;
  padding: 0.65rem;
  margin: 0 0 var(--space-md); /* <----- UPDATED: flush left on homepage cards */
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--color-gold-radiant);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  text-align: center;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.06);
}
.events-card-date .month {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.events-card-date .day {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
}

/* =========================================================
   EVENT ARCHIVE CARD DETAILS
   ========================================================= */
.drb-event-subtitle {
  max-width: 52rem;
  margin: 0 0 var(--space-md);
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  line-height: 1.45;
  text-align: left;
  grid-column: 2;
}

.drb-event-type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.25rem 0.65rem;
  background-color: var(--color-gold-radiant);
  color: var(--color-button-text-dark);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.drb-event-note {
  margin-top: var(--space-xs);
  margin-bottom: var(--space-md);
  padding: 0.85rem 1rem;
  background-color: rgba(222, 193, 115, 0.16);
  border-left: 4px solid var(--color-gold-radiant);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
  grid-column: 2;
  max-width: 36rem;
}

/* =========================================================
   EVENT ARCHIVE DATE BADGE
   ========================================================= */
.drb-event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  min-width: 76px;
  padding: 0.65rem;
  margin: 0 auto;
  background-color: var(--color-surface-muted);
  color: var(--color-primary);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  text-align: center;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.45);
  grid-column: 1;
  grid-row: 1/span 6;
  align-self: start;
}

.drb-event-date .month {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.drb-event-date .day {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
}

.drb-event-meta {
  margin-bottom: var(--space-sm);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
  grid-column: 2;
}
.drb-event-meta div {
  color: var(--color-text);
}

.drb-event-excerpt {
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  margin-bottom: var(--space-md);
  text-align: left;
  grid-column: 2;
  max-width: 40rem;
}
.drb-event-excerpt p {
  color: var(--color-text);
  margin-bottom: var(--space-sm);
  text-align: left;
}
.drb-event-excerpt p:last-child {
  margin-bottom: 0;
}

.drb-event-action {
  margin-top: 0;
  text-align: center;
  grid-column: 3;
  grid-row: 1/span 6;
  align-self: start;
  justify-self: center;
  white-space: nowrap;
}

/* =========================================================
   EVENTS ARCHIVE EMPTY STATE
   ========================================================= */
.events-empty-state {
  max-width: 760px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
  text-align: center;
}

.events-empty-state__title {
  margin-bottom: var(--space-sm);
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1.2;
}

.events-empty-state__text {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-xl);
  line-height: 1.6;
}

/* =========================================================
   EVENT HERO
   Single event detail page
   ========================================================= */
.event-hero {
  position: relative;
  padding: 5rem 1rem 4rem;
  background-color: var(--color-surface-inverse);
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.event-hero.has-image {
  min-height: 420px;
  display: flex;
  align-items: center;
}

.event-hero-subtitle {
  max-width: 760px;
  margin-top: var(--space-sm);
  margin-bottom: var(--space-md);
  color: var(--color-gold-radiant);
  font-family: var(--font-body);
  font-size: var(--text-xl);
  font-weight: 700;
  line-height: 1.4;
}

.event-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 24, 47, 0.9) 0%, rgba(16, 24, 47, 0.72) 45%, rgba(16, 24, 47, 0.45) 100%);
  z-index: 1;
}

.event-hero .container {
  position: relative;
  z-index: 2;
}

/* =========================================================
   EVENT HERO META
   Date circle + event details
   ========================================================= */
.event-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.event-hero-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  padding: 0.65rem;
  background-color: var(--color-surface-muted);
  color: var(--color-primary);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.2);
}
.event-hero-date .month {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.event-hero-date .day {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}

.event-hero-details {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.event-hero-date-full {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
}

.event-hero-time {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 600;
}

.event-hero-location {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
}

/* =========================================================
   SINGLE EVENT DETAILS PANEL
   ========================================================= */
.single-event-details {
  max-width: 960px;
  margin: var(--space-lg) auto;
  padding: var(--space-md);
  background-color: var(--paper);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.single-event-details__title {
  margin-bottom: var(--space-md);
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.single-event-details__title::after {
  content: "";
  display: block;
  width: 110px;
  height: 4px;
  margin: var(--space-sm) auto 0;
  background-color: var(--color-gold-radiant);
}

.single-event-details__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-sm);
  margin: 0;
  padding: 0;
}

.single-event-details__item {
  padding: var(--space-sm);
  background-color: rgba(222, 193, 115, 0.12);
  border-radius: var(--radius-md);
}

.single-event-details__item dt {
  margin-bottom: 0.25rem;
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.single-event-details__item dd {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  line-height: 1.45;
}

/* =========================================================
   EVENTS — MOBILE ADJUSTMENTS
   ========================================================= */
@media (max-width: 767px) {
  .drb-events-grid {
    grid-template-columns: 1fr;
  }
  .drb-event-card {
    display: block;
    padding: var(--space-lg);
  }
  .drb-event-date {
    margin: 0 auto var(--space-md);
  }
  .drb-event-card h2,
  .drb-event-card h3,
  .drb-event-subtitle,
  .drb-event-meta {
    text-align: center;
  }
  .drb-event-card h2::after,
  .drb-event-card h3::after {
    margin-left: auto;
    margin-right: auto;
  }
  .drb-event-note,
  .drb-event-excerpt {
    max-width: none;
  }
  .drb-event-action {
    margin-top: var(--space-md);
    white-space: normal;
  }
  .event-meta {
    align-items: flex-start;
    flex-direction: column;
  }
  .event-hero.has-image {
    min-height: 360px;
  }
  .event-hero-date {
    width: 76px;
    height: 76px;
  }
  .single-event-details__list {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 991px) and (min-width: 768px) {
  .drb-event-card {
    grid-template-columns: 88px minmax(0, 1fr);
  }
  .drb-event-action {
    grid-column: 2;
    grid-row: auto;
    justify-self: start;
    margin-top: var(--space-xs);
    white-space: normal;
  }
}
/* =========================================================
   EVENTS — DARK MODE REFINEMENTS
   ========================================================= */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .drb-event-card {
    background-color: var(--color-surface-elevated);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
  }
  :root:not([data-theme]) .drb-event-card:hover {
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
    border-color: rgba(255, 255, 255, 0.14);
  }
  :root:not([data-theme]) .drb-event-card p {
    color: var(--white);
  }
  :root:not([data-theme]) .drb-event-card-image {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  }
  :root:not([data-theme]) .drb-event-date {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--color-gold-radiant);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.06);
  }
  :root:not([data-theme]) .drb-event-card h2,
  :root:not([data-theme]) .drb-event-card h3,
  :root:not([data-theme]) .drb-event-card h2 a,
  :root:not([data-theme]) .drb-event-card h3 a {
    color: var(--color-gold-radiant);
  }
  :root:not([data-theme]) .drb-event-subtitle,
  :root:not([data-theme]) .drb-event-meta,
  :root:not([data-theme]) .drb-event-meta div,
  :root:not([data-theme]) .drb-event-excerpt,
  :root:not([data-theme]) .drb-event-excerpt p,
  :root:not([data-theme]) .drb-event-card p {
    color: var(--white);
  }
  :root:not([data-theme]) .drb-event-type {
    background-color: var(--color-gold-radiant);
    color: var(--color-button-text-dark);
  }
  :root:not([data-theme]) .drb-event-note {
    background-color: rgba(240, 215, 124, 0.12);
    border-left-color: var(--color-gold-radiant);
    color: var(--white);
  }
  :root:not([data-theme]) .events-empty-state__title {
    color: var(--color-gold-radiant);
  }
  :root:not([data-theme]) .events-empty-state__text {
    color: var(--color-text);
  }
  :root:not([data-theme]) .single-event-details {
    background-color: var(--color-surface-elevated);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
  }
  :root:not([data-theme]) .single-event-details__title {
    color: var(--color-gold-radiant);
  }
  :root:not([data-theme]) .single-event-details__item {
    background-color: rgba(255, 255, 255, 0.06);
  }
  :root:not([data-theme]) .single-event-details__item dt {
    color: var(--color-gold-radiant);
  }
  :root:not([data-theme]) .single-event-details__item dd {
    color: var(--white);
  }
}
[data-theme=dark] .drb-event-card {
  background-color: var(--color-surface-elevated);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}
[data-theme=dark] .drb-event-card:hover {
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  border-color: rgba(255, 255, 255, 0.14);
}
[data-theme=dark] .drb-event-card p {
  color: var(--white);
}
[data-theme=dark] .drb-event-card-image {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}
[data-theme=dark] .drb-event-date {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--color-gold-radiant);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.06);
}
[data-theme=dark] .drb-event-card h2,
[data-theme=dark] .drb-event-card h3,
[data-theme=dark] .drb-event-card h2 a,
[data-theme=dark] .drb-event-card h3 a {
  color: var(--color-gold-radiant);
}
[data-theme=dark] .drb-event-subtitle,
[data-theme=dark] .drb-event-meta,
[data-theme=dark] .drb-event-meta div,
[data-theme=dark] .drb-event-excerpt,
[data-theme=dark] .drb-event-excerpt p,
[data-theme=dark] .drb-event-card p {
  color: var(--white);
}
[data-theme=dark] .drb-event-type {
  background-color: var(--color-gold-radiant);
  color: var(--color-button-text-dark);
}
[data-theme=dark] .drb-event-note {
  background-color: rgba(240, 215, 124, 0.12);
  border-left-color: var(--color-gold-radiant);
  color: var(--white);
}
[data-theme=dark] .events-empty-state__title {
  color: var(--color-gold-radiant);
}
[data-theme=dark] .events-empty-state__text {
  color: var(--color-text);
}
[data-theme=dark] .single-event-details {
  background-color: var(--color-surface-elevated);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}
[data-theme=dark] .single-event-details__title {
  color: var(--color-gold-radiant);
}
[data-theme=dark] .single-event-details__item {
  background-color: rgba(255, 255, 255, 0.06);
}
[data-theme=dark] .single-event-details__item dt {
  color: var(--color-gold-radiant);
}
[data-theme=dark] .single-event-details__item dd {
  color: var(--white);
}

/* =========================================================
   BOOK / STORE CARDS
   ========================================================= */
.book-card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease-soft), box-shadow 0.3s var(--ease-soft);
}
.book-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.book-card {
  /* Cover image */
}
.book-card__cover {
  position: relative;
  aspect-ratio: 3/4;
  background-color: var(--color-surface-alt);
  overflow: hidden;
}
.book-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.book-card {
  /* Card body */
}
.book-card__body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.book-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}
.book-card__author {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}
.book-card__description {
  font-size: var(--text-sm);
  line-height: 1.55;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}
.book-card__meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}
.book-card__price {
  font-weight: 700;
  color: var(--color-gold-radiant);
}
.book-card__cta .btn {
  padding: 0.4rem 0.9rem;
  font-size: var(--text-sm);
}

/* =========================================================
   DIVIDER
   ========================================================= */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin: var(--space-lg) 0;
}
.section-divider .divider-line {
  flex: 1;
  max-width: 260px;
  height: 2px;
  background-color: var(--color-gold-muted);
  opacity: 0.5;
}
.section-divider .divider-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.section-divider .divider-icon .icon {
  width: 1.5rem;
  height: 1.5rem;
  opacity: 0.9;
}

/* ============================================================
   Divine Realm Books
   Component: Footer
   Description:
   Styles the site footer, footer text, links, and footer layout.

   Notes:
   - Use existing design tokens and CSS custom properties whenever possible.
   - Keep styles scoped to their layer: base, components, utilities, or theme variables.

   Author: Adam Williams
   ============================================================ */
.site-footer {
  background-color: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: var(--space-sm) 0 var(--space-md);
}
.site-footer .footer-main {
  margin-top: var(--space-sm);
  margin-bottom: var(--space-sm);
}
.site-footer .footer-heading {
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-xs);
}
.site-footer .footer-heading .site-brand-icon {
  width: 1.75rem;
  height: 1.75rem;
  padding: 0.25rem;
  border-radius: 50%;
  vertical-align: bottom;
  background: var(--color-surface) linear-gradient(128deg, var(--color-accent) 0%, var(--color-accent-soft) 100%);
}
.site-footer .footer-subheading {
  color: var(--color-accent);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-xs);
}
.site-footer .footer-text {
  color: var(--color-footer-text);
  font-size: var(--text-md);
  line-height: 1.6;
  margin-bottom: var(--space-xs);
}
.site-footer .footer-link {
  color: var(--color-footer-muted);
  transition: color 0.25s var(--ease-soft);
}
.site-footer .footer-link:hover, .site-footer .footer-link:focus {
  color: var(--color-accent);
  text-decoration: none;
}
.site-footer .footer-social {
  margin-top: var(--space-md);
}
.site-footer .footer-social li {
  margin-bottom: var(--space-md);
}
.site-footer .footer-social .icon {
  width: 1rem;
  height: 1rem;
}
.site-footer .footer-bottom {
  font-size: var(--text-base);
  margin-top: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 2px solid var(--color-surface-inverse);
  text-align: center;
}

/* =========================================================
   MOBILE BASELINE ADJUSTMENTS
   ========================================================= */
@media (max-width: 991px) {
  .site-footer {
    text-align: center;
  }
  .site-footer .footer-social {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .site-footer .footer-bottom {
    font-size: 0.75rem;
  }
  .site-footer .footer-subheading {
    color: var(--color-accent);
    margin-top: var(--space-md);
  }
}
/* ============================================================
   Divine Realm Books
   Component: Forms
   Description:
   Styles form components and third-party form plugin output, including Fluent Forms scoped inside .contact-form-wrapper.

   Notes:
   - Use existing design tokens and CSS custom properties whenever possible.
   - Keep styles scoped to their layer: base, components, utilities, or theme variables.

   Author: Adam Williams
   ============================================================ */
/* ------------------------------------------------------------
   Contact Form Wrapper
   ------------------------------------------------------------ */
.contact-form-wrapper {
  width: 100%;
  margin: var(--space-lg) auto;
  padding: var(--space-md);
  background-color: var(--color-surface-accent-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
@media (max-width: 768px) {
  .contact-form-wrapper {
    padding: var(--space-md);
  }
}
.contact-form-wrapper {
  /* ------------------------------------------------------------
     Fluent Forms Base Spacing
     ------------------------------------------------------------ */
}
.contact-form-wrapper .fluentform,
.contact-form-wrapper .frm-fluent-form {
  width: 100%;
}
.contact-form-wrapper .ff-el-group {
  margin-bottom: var(--space-md);
}
.contact-form-wrapper .ff-default .ff-el-input--label label {
  font-weight: 700;
}
.contact-form-wrapper {
  /* ------------------------------------------------------------
     Labels
     ------------------------------------------------------------ */
}
.contact-form-wrapper .ff-el-input--label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700 !important;
  letter-spacing: 0.01em;
}
.contact-form-wrapper .ff-el-input--label label {
  margin-bottom: 0;
}
.contact-form-wrapper {
  /* ------------------------------------------------------------
     Required Field Marker
     ------------------------------------------------------------ */
}
.contact-form-wrapper .ff-el-input--label .required,
.contact-form-wrapper .ff-el-input--label .ff_required {
  color: var(--color-gold-radiant);
  font-weight: 700 !important;
}
.contact-form-wrapper {
  /* ------------------------------------------------------------
     Inputs, Selects, and Textareas
     ------------------------------------------------------------ */
}
.contact-form-wrapper .ff-el-form-control {
  width: 100%;
  min-height: 46px;
  padding: 0.7rem 0.85rem;
  color: var(--color-text);
  background-color: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.4;
  transition: border-color 0.2s var(--ease-soft), box-shadow 0.2s var(--ease-soft), background-color 0.2s var(--ease-soft);
}
.contact-form-wrapper .ff-el-form-control:focus {
  outline: none;
  border-color: var(--color-gold-radiant);
  box-shadow: 0 0 0 0.2rem var(--color-gold-20);
}
.contact-form-wrapper .ff-el-form-control::placeholder {
  color: var(--color-text-muted);
}
.contact-form-wrapper textarea.ff-el-form-control {
  min-height: 150px;
  resize: vertical;
}
.contact-form-wrapper {
  /* ------------------------------------------------------------
     Help Text / Small Descriptions
     ------------------------------------------------------------ */
}
.contact-form-wrapper .ff-el-help-message {
  margin-top: 0.3rem;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  line-height: 1.4;
}
.contact-form-wrapper {
  /* ------------------------------------------------------------
     Submit Button
     Matches the standard .divine-button--primary button style.
     Scoped here because Fluent Forms outputs its own button markup.
     ------------------------------------------------------------ */
}
.contact-form-wrapper .ff-btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  color: var(--color-button-text-dark) !important;
  background-color: var(--color-gold-radiant) !important;
  border: 2px solid var(--color-gold-radiant) !important;
  border-radius: var(--radius-lg);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  line-height: 1;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform 0.2s var(--ease-soft), background-color 0.2s var(--ease-soft), color 0.2s var(--ease-soft), border-color 0.2s var(--ease-soft), box-shadow 0.2s var(--ease-soft);
}
.contact-form-wrapper .ff-btn-submit:hover, .contact-form-wrapper .ff-btn-submit:focus {
  color: var(--white) !important;
  background-color: var(--color-primary-dark) !important;
  border-color: var(--color-primary-dark) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.contact-form-wrapper .ff-btn-submit:focus {
  outline: 3px solid var(--color-gold-50);
  outline-offset: 3px;
}
.contact-form-wrapper .ff-btn-submit:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}
.contact-form-wrapper {
  /* ------------------------------------------------------------
     Success Message
     ------------------------------------------------------------ */
}
.contact-form-wrapper .ff-message-success {
  margin-top: var(--space-md);
  padding: var(--space-sm);
  color: var(--color-text);
  background-color: var(--color-surface);
  border: 1px solid var(--color-gold-radiant);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 700;
}
.contact-form-wrapper {
  /* ------------------------------------------------------------
     Error States
     ------------------------------------------------------------ */
}
.contact-form-wrapper .ff-el-is-error .ff-el-form-control,
.contact-form-wrapper .ff-el-form-control.error {
  border-color: var(--color-gold-radiant);
}
.contact-form-wrapper .ff-el-error {
  margin-top: 0.3rem;
  color: var(--color-gold-radiant);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
}

/* Pages */
/* ============================================================
   Divine Realm Books
   Page: About
   Description:
   Styles the standard WordPress/Gutenberg About Divine Realm Books page.

   Notes:
   - Use existing design tokens and CSS custom properties whenever possible.
   - Keep styles scoped to the Gutenberg section classes used on the About page.

   Author: Adam Williams
   ============================================================ */
.about-intro,
.about-story,
.about-quote-callout,
.about-fantasy,
.about-intention,
.about-inside-realm,
.about-visit-cta {
  --about-panel-bg: var(--color-primary-hover, #131545);
  --about-panel-text: var(--white, #ffffff);
  --about-panel-muted: rgba(255, 255, 255, 0.86);
  --about-panel-border: rgba(200, 167, 78, 0.35);
  --about-panel-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.06);
  --about-accent: var(--color-gold-radiant, #d7bd67);
  --about-intention-bg: var(--color-surface-soft, #faf7ef);
  --about-intention-text: var(--color-text, #20242a);
  --about-intention-heading: var(--color-primary-hover, #131545);
}

.about-intro,
.about-story,
.about-quote-callout,
.about-fantasy,
.about-intention,
.about-inside-realm,
.about-visit-cta {
  margin-block: clamp(2.5rem, 5vw, 5rem);
}

/* ----------------------------------------
   Intro Section
---------------------------------------- */
.about-intro {
  max-width: 72rem;
  margin-inline: auto;
  padding-block: clamp(0.5rem, 2vw, 1.5rem);
}
.about-intro p {
  max-width: 66rem;
  margin-inline: auto;
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.8;
  color: var(--about-intro-text, var(--color-primary-hover, #131545));
}
.about-intro strong {
  color: var(--about-intro-accent, var(--color-primary, #2c2f9c));
}

/* ----------------------------------------
   Media + Text Sections
---------------------------------------- */
.about-story,
.about-fantasy {
  max-width: 72rem;
  margin-inline: auto;
}
.about-story .wp-block-media-text,
.about-fantasy .wp-block-media-text {
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.about-story .wp-block-media-text__media img,
.about-fantasy .wp-block-media-text__media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.12);
}
.about-story .wp-block-media-text__content,
.about-fantasy .wp-block-media-text__content {
  padding: 0;
}
.about-story h2,
.about-fantasy h2 {
  margin-block-end: 1rem;
}
.about-story p,
.about-fantasy p {
  line-height: 1.75;
}
.about-story .wp-block-buttons,
.about-fantasy .wp-block-buttons {
  margin-block-start: 1.5rem;
}

/* ----------------------------------------
   About Page Button Layout
   Visual button styling lives in components/_buttons.scss.
---------------------------------------- */
.about-story .wp-block-buttons,
.about-visit-cta .wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.about-story .wp-block-button,
.about-visit-cta .wp-block-button {
  flex: 0 0 auto;
  width: auto;
}

.about-visit-cta .wp-block-buttons {
  align-items: center;
}
.about-visit-cta .wp-block-button {
  margin: 0;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
}
.about-visit-cta .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: auto !important;
  height: auto;
  min-width: 0;
  border-radius: var(--radius-lg) !important;
  padding: 0.75rem 1.35rem !important;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none !important;
  box-shadow: none !important;
  outline: 0 !important;
}
.about-visit-cta .wp-block-button__link::before,
.about-visit-cta .wp-block-button__link::after {
  content: none !important;
}

/* ----------------------------------------
   Quote Callout
---------------------------------------- */
.about-quote-callout {
  max-width: 72rem;
  margin-inline: auto;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--about-panel-bg);
  border-left: 0.35rem solid var(--about-accent);
  border-radius: 0.75rem;
  box-shadow: var(--about-panel-shadow);
}
.about-quote-callout blockquote {
  margin: 0;
  padding: 0;
  border: 0;
}
.about-quote-callout p:first-child {
  margin-block: 0 1rem;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.65;
  font-style: italic;
  color: var(--about-panel-text);
}
.about-quote-callout p:last-child {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--about-accent);
}

/* ----------------------------------------
   Built With Intention
---------------------------------------- */
.about-intention {
  max-width: 64rem;
  margin-inline: auto;
  padding: clamp(2rem, 5vw, 4rem);
  background: var(--about-intention-bg);
  border: 1px solid rgba(200, 167, 78, 0.45);
  border-left: 0.35rem solid var(--about-accent);
  border-radius: 1rem;
  box-shadow: 0 0.85rem 2rem rgba(19, 21, 69, 0.08);
  color: var(--about-intention-text);
}
.about-intention h2 {
  margin-block-end: 1rem;
  color: var(--about-intention-heading);
}
.about-intention p {
  line-height: 1.8;
  color: var(--about-intention-text);
}

/* ----------------------------------------
   Inside the Realm
---------------------------------------- */
.about-inside-realm {
  max-width: 72rem;
  margin-inline: auto;
}
.about-inside-realm h2 {
  margin-block-end: 1.5rem;
}
.about-inside-realm .wp-block-columns {
  gap: 1.25rem;
}
.about-inside-realm .wp-block-column {
  padding: 1.5rem;
  background: var(--about-panel-bg);
  border: 1px solid var(--about-panel-border);
  border-radius: 0.85rem;
  box-shadow: var(--about-panel-shadow);
  color: var(--about-panel-text);
}
.about-inside-realm .wp-block-column h3,
.about-inside-realm .wp-block-column h4,
.about-inside-realm .wp-block-column h5,
.about-inside-realm .wp-block-column h6 {
  margin-block-start: 0;
  margin-block-end: 0.75rem;
  color: var(--about-accent);
}
.about-inside-realm .wp-block-column p {
  margin-block-end: 0;
  line-height: 1.7;
  color: var(--about-panel-muted);
}

/* ----------------------------------------
   Visit CTA
---------------------------------------- */
.about-visit-cta {
  max-width: 72rem;
  margin-inline: auto;
  padding: clamp(2rem, 5vw, 4rem);
  background: var(--about-panel-bg);
  color: var(--about-panel-text);
  border: 1px solid var(--about-panel-border);
  border-radius: 1rem;
  box-shadow: var(--about-panel-shadow);
  text-align: center;
}
.about-visit-cta h2 {
  color: var(--about-accent);
  margin-block-end: 0.75rem;
}
.about-visit-cta p {
  max-width: 42rem;
  margin-inline: auto;
  line-height: 1.75;
  color: var(--about-panel-muted);
}
.about-visit-cta .wp-block-buttons {
  gap: 0.75rem;
  justify-content: center;
  margin-block-start: 1.5rem;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .about-intro,
  :root:not([data-theme]) .about-story,
  :root:not([data-theme]) .about-quote-callout,
  :root:not([data-theme]) .about-fantasy,
  :root:not([data-theme]) .about-intention,
  :root:not([data-theme]) .about-inside-realm,
  :root:not([data-theme]) .about-visit-cta {
    --about-panel-bg: var(--color-surface-elevated, #111a36);
    --about-panel-text: #f7f7fb;
    --about-panel-muted: rgba(247, 247, 251, 0.84);
    --about-panel-border: rgba(255, 255, 255, 0.08);
    --about-panel-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
    --about-accent: var(--color-gold-radiant, #f0d77c);
    --about-intro-text: #bfc2ff;
    --about-intro-accent: var(--color-gold-radiant, #f0d77c);
    --about-intention-bg: var(--color-surface-elevated, #111a36);
    --about-intention-text: rgba(247, 247, 251, 0.88);
    --about-intention-heading: var(--color-gold-radiant, #f0d77c);
  }
}
[data-theme=dark] .about-intro,
[data-theme=dark] .about-story,
[data-theme=dark] .about-quote-callout,
[data-theme=dark] .about-fantasy,
[data-theme=dark] .about-intention,
[data-theme=dark] .about-inside-realm,
[data-theme=dark] .about-visit-cta {
  --about-panel-bg: var(--color-surface-elevated, #111a36);
  --about-panel-text: #f7f7fb;
  --about-panel-muted: rgba(247, 247, 251, 0.84);
  --about-panel-border: rgba(255, 255, 255, 0.08);
  --about-panel-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
  --about-accent: var(--color-gold-radiant, #f0d77c);
  --about-intro-text: #bfc2ff;
  --about-intro-accent: var(--color-gold-radiant, #f0d77c);
  --about-intention-bg: var(--color-surface-elevated, #111a36);
  --about-intention-text: rgba(247, 247, 251, 0.88);
  --about-intention-heading: var(--color-gold-radiant, #f0d77c);
}

html[data-theme=dark] .about-intention,
[data-theme=dark] .about-intention {
  background: var(--about-intention-bg);
  color: var(--about-intention-text);
}
html[data-theme=dark] .about-intention h2,
[data-theme=dark] .about-intention h2 {
  color: var(--about-intention-heading);
}
html[data-theme=dark] .about-intention p,
[data-theme=dark] .about-intention p {
  color: var(--about-intention-text);
}

/* ----------------------------------------
   Mobile Adjustments
---------------------------------------- */
@media (max-width: 781px) {
  .about-story .wp-block-media-text,
  .about-fantasy .wp-block-media-text {
    gap: 1.5rem;
  }
  .about-story .wp-block-media-text__content,
  .about-fantasy .wp-block-media-text__content {
    padding-block-start: 1.5rem;
  }
  .about-fantasy .wp-block-media-text {
    display: flex;
    flex-direction: column;
  }
  .about-fantasy .wp-block-media-text__content {
    order: 1;
  }
  .about-fantasy .wp-block-media-text__media {
    order: 2;
  }
  .about-inside-realm .wp-block-columns {
    gap: 1rem;
  }
  .about-visit-cta .wp-block-buttons {
    align-items: stretch;
  }
  .about-visit-cta .wp-block-button,
  .about-visit-cta .wp-block-button__link {
    width: 100%;
  }
}
/* ============================================================
   Divine Realm Books
   Page: Books
   Description:
   Styles the standard WordPress/Gutenberg Books page and temporary catalog placeholder content.

   Notes:
   - Use existing design tokens and CSS custom properties whenever possible.
   - Keep styles scoped to the Books page until a dedicated catalog layout is built.

   Author: Adam Williams
   ============================================================ */
body.page .page-content > h3:first-of-type {
  color: var(--color-primary);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) body.page .page-content > h3:first-of-type {
    color: var(--color-gold-radiant);
  }
}
[data-theme=dark] body.page .page-content > h3:first-of-type {
  color: var(--color-gold-radiant);
}

/* Utilities */
/* ============================================================
   Divine Realm Books
   Utility: Icons
   Description:
   Defines reusable icon sizing, color, and legacy helper classes.

   Notes:
   - Use existing design tokens and CSS custom properties whenever possible.
   - Keep styles scoped to their layer: base, components, utilities, or theme variables.

   Author: Adam Williams
   ============================================================ */
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  stroke-width: 1.75;
  color: currentColor;
  vertical-align: middle;
  /* Shape-aware shadow for the icon */
}

/* Sizes */
.icon--sm {
  width: 1rem;
  height: 1rem;
}

.icon--lg {
  width: 1.5rem;
  height: 1.5rem;
}

.icon--xl {
  width: 2.5rem;
  height: 2.5rem;
}

/* =========================================================
   Color variants (SEMANTIC)
   ========================================================= */
/* Brand / accents */
.icon--gold {
  color: var(--color-gold-radiant);
}

.icon--gold-muted {
  color: var(--color-gold-muted);
}

.icon--primary {
  color: var(--color-primary);
}

/* Text / neutral */
.icon--text {
  color: var(--color-text);
}

.icon--text-muted {
  color: var(--color-text-muted);
}

/* Inverse / on-dark */
.icon--inverse {
  color: var(--navbar-text);
}

/* =========================================================
   Legacy aliases (SAFE TO REMOVE LATER)
   ========================================================= */
.icon--navy {
  color: var(--color-primary);
}

.icon--ink {
  color: var(--color-text);
}

.icon--white {
  color: var(--navbar-text);
}

/* ============================================================
   Divine Realm Books
   Utility: Gold Accents
   Description:
   Defines reusable gold accent helpers for text, borders, dividers, icons, and subtle decorative effects.

   Notes:
   - Use existing design tokens and CSS custom properties whenever possible.
   - Keep styles scoped to their layer: base, components, utilities, or theme variables.

   Author: Adam Williams
   ============================================================ */
/* =========================================================
   Text accents
   ========================================================= */
.text-gold {
  color: var(--color-gold-radiant) !important;
}

.text-gold-muted {
  color: var(--color-gold-muted) !important;
}

/* =========================================================
   Borders
   ========================================================= */
.border-gold {
  border-color: var(--color-gold-radiant) !important;
}

.border-gold-muted {
  border-color: var(--color-gold-muted) !important;
}

/* =========================================================
   Horizontal rule / divider helper
   ========================================================= */
.hr-gold {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-gold-radiant), transparent);
  opacity: 0.6;
}

/* =========================================================
   Icon accents
   ========================================================= */
.icon-gold {
  color: var(--color-gold-radiant);
}

/* =========================================================
   Subtle glow (use sparingly)
   ========================================================= */
.gold-glow {
  box-shadow: none;
  transition: box-shadow 0.3s var(--ease-soft);
}
.gold-glow:hover {
  box-shadow: 0 0 18px var(--color-gold-glow);
}

/* =========================================================
   Underline accent (for headings or links)
   ========================================================= */
.gold-underline {
  position: relative;
  display: inline-block;
}
.gold-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2em;
  width: 100%;
  height: 2px;
  background-color: var(--color-gold-radiant);
  opacity: 0.7;
}

/* Dark Mode */
/* =========================================================
   DARK MODE OVERRIDES
   Uses CSS variable redefinition only
   ========================================================= */
/* -----------------------------------
   System preference (automatic)
   ----------------------------------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    /* ---------------------------------
       Base colors
       --------------------------------- */
    --color-bg: #0b0d1a;
    --color-bg-alt: #1a1d2e;
    --color-surface: #1a1d2e;
    --color-surface-alt: #23264a;
    --color-surface-muted: #23264a;
    --color-surface-accent-light: #111a36;
    /*
       Warm brand section background.
       Used for gold/parchment-inspired sections.
    */
    --color-surface-warm: rgba(186, 162, 97, 0.2);
    /*
       Inverse surfaces should be dark in dark mode,
       but should NOT replace literal white text.
    */
    --color-surface-inverse: var(--color-surface);
    /*
       Elevated dark surface for cards/panels that need to sit
       slightly above the page background.
    */
    --color-surface-elevated: #111a36;
    --paper: #0b0d1a;
    --white: #ffffff;
    --color-white: #ffffff;
    /* ---------------------------------
       Text
       --------------------------------- */
    --color-text: #e6e8f0;
    --color-text-muted: #b5b8d6;
    /*
       Stable dark text token for buttons placed on gold/light backgrounds.
    */
    --color-button-text-dark: #10182f;
    /* ---------------------------------
       Brand
       --------------------------------- */
    --color-primary: #5e609a;
    --color-primary-dark: #10182f;
    --color-primary-hover: #7a7dc0;
    /* ---------------------------------
       Borders & effects
       --------------------------------- */
    --color-border: #2f3370;
    --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 0 rgba(0, 0, 0, 0);
    /* ---------------------------------
       Gold
       --------------------------------- */
    --color-gold: #e6c766;
    --color-gold-muted: #baa261;
    --color-gold-radiant: #f0d77c;
    --color-gold-glow: rgba(240, 215, 124, 0.25);
    --color-gold-20: var(--color-primary);
    /* =====================================================
       NAVBAR
       ===================================================== */
    --navbar-bg: linear-gradient(
    	180deg,
    	#1a1d2e 0%,
    	#0b0d1a 100%
    );
    --navbar-text: var(--color-text);
    --navbar-link-hover: var(--color-primary);
    --navbar-mobile-bg: var(--color-surface);
    --navbar-toggle-line: var(--color-text);
    /* =====================================================
       FOOTER — SEMANTIC TOKENS
       ===================================================== */
    --color-footer-bg: #0b0d1a;
    --color-footer-text: #e6e8f0;
    --color-footer-muted: rgba(230, 232, 240, 0.7);
    --color-accent: var(--color-gold-radiant);
    --color-accent-soft: var(--color-gold-muted);
  }
}
/* -----------------------------------
   Manual override (wins over system)
   ----------------------------------- */
[data-theme=dark] {
  /* ---------------------------------
     Core surfaces
     --------------------------------- */
  --color-bg: #0b0d1a;
  --color-bg-alt: #1a1d2e;
  --color-surface: #1a1d2e;
  --color-surface-alt: #23264a;
  --color-surface-muted: #23264a;
  --color-surface-accent-light: #111a36;
  /*
     Warm brand section background.
     Used for gold/parchment-inspired sections.
  */
  --color-surface-warm: rgba(186, 162, 97, 0.2);
  /*
     Inverse surfaces should be dark in dark mode,
     but should NOT replace literal white text.
  */
  --color-surface-inverse: var(--color-surface);
  /*
     Elevated dark surface for cards/panels that need to sit
     slightly above the page background.
  */
  --color-surface-elevated: #111a36;
  --paper: #0b0d1a;
  --white: #ffffff;
  --color-white: #ffffff;
  /* ---------------------------------
     Text
     --------------------------------- */
  --color-text: #e6e8f0;
  --color-text-muted: #b5b8d6;
  /*
     Stable dark text token for buttons placed on gold/light backgrounds.
  */
  --color-button-text-dark: #10182f;
  /* ---------------------------------
     Brand
     --------------------------------- */
  --color-primary: #5e609a;
  --color-primary-dark: #10182f;
  --color-primary-hover: #7a7dc0;
  /* ---------------------------------
     Borders & effects
     --------------------------------- */
  --color-border: #2f3370;
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 0 rgba(0, 0, 0, 0);
  /* ---------------------------------
     Gold
     --------------------------------- */
  --color-gold: #e6c766;
  --color-gold-muted: #baa261;
  --color-gold-radiant: #f0d77c;
  --color-gold-glow: rgba(240, 215, 124, 0.25);
  --color-gold-20: var(--color-primary);
  /* =====================================================
     NAVBAR
     ===================================================== */
  --navbar-bg: linear-gradient(
  	180deg,
  	#1a1d2e 0%,
  	#0b0d1a 100%
  );
  --navbar-text: var(--color-text);
  --navbar-link-hover: var(--color-primary);
  --navbar-mobile-bg: var(--color-surface);
  --navbar-toggle-line: var(--color-text);
  /* =====================================================
     FOOTER — SEMANTIC TOKENS
     ===================================================== */
  --color-footer-bg: #0b0d1a;
  --color-footer-text: #e6e8f0;
  --color-footer-muted: rgba(230, 232, 240, 0.7);
  --color-accent: var(--color-gold-radiant);
  --color-accent-soft: var(--color-gold-muted);
}

/*# sourceMappingURL=main.css.map */
