/* ==========================================================================
   Me Alegro En Tu Palabra - Main Theme Stylesheet
   Modern, Elegant, Editorial Design for Christian Blog
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;0,6..72,600;0,6..72,700;1,6..72,400;1,6..72,600&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Color Palette - Light Mode */
  --bg-body: #faf8f5;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-subtle: #f4efe8;
  --bg-header: rgba(250, 248, 245, 0.92);
  
  --text-main: #1c2430;
  --text-muted: #57657a;
  --text-light: #7e8b9f;
  
  --primary: #1a365d;          /* Deep biblical navy */
  --primary-hover: #2b4c7e;
  --primary-light: #edf2f7;
  
  --gold: #b45309;             /* Sacred amber/gold */
  --gold-hover: #92400e;
  --gold-bg: rgba(180, 83, 9, 0.08);
  --gold-border: rgba(180, 83, 9, 0.3);
  
  --border-light: #e6dfd5;
  --border-card: #ece6dc;
  
  --link-color: #1d4ed8;       /* Clear, readable hyperlink blue */
  --link-underline: rgba(29, 78, 216, 0.4);
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 16px 32px -8px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.04);
  
  /* Typography */
  --font-serif: 'Newsreader', 'Georgia', 'Ibarra Real Nova', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Sizing & Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --container-max: 1200px;
  --container-post: 780px;
  --header-height: 74px;
}

/* Dark Mode Variables */
[data-theme="dark"] {
  --bg-body: #0d131f;
  --bg-surface: #141d2e;
  --bg-surface-elevated: #1a263d;
  --bg-subtle: #192438;
  --bg-header: rgba(13, 19, 31, 0.92);
  
  --text-main: #f1f5f9;
  --text-muted: #cbd5e1;
  --text-light: #94a3b8;
  
  --primary: #60a5fa;
  --primary-hover: #93c5fd;
  --primary-light: rgba(96, 165, 250, 0.15);
  
  --gold: #f59e0b;
  --gold-hover: #fbbf24;
  --gold-bg: rgba(245, 158, 11, 0.12);
  --gold-border: rgba(245, 158, 11, 0.35);
  
  --border-light: #24334f;
  --border-card: #202f48;
  
  --link-color: #93c5fd;       /* Bright readable sky blue in dark mode */
  --link-underline: rgba(147, 197, 253, 0.55);
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 32px rgba(0, 0, 0, 0.5);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background-color 0.25s ease, color 0.25s ease;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-narrow {
  width: 100%;
  max-width: var(--container-post);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ==========================================================================
   Header & Navbar
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg-header);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  height: var(--header-height);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-main);
  flex-shrink: 0;
}

.site-logo {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  box-shadow: 0 0 0 2px var(--border-light);
  object-fit: cover;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.site-brand:hover .site-logo {
  transform: scale(1.05);
}

.brand-text {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text-main);
  white-space: nowrap;
}

.brand-tagline {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

@media (max-width: 1240px) {
  .brand-tagline {
    display: none;
  }
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.75rem;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.35rem 0.2rem;
  position: relative;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

/* Modern Elevated Icon Buttons */
.icon-btn {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-light);
  color: var(--text-main);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.icon-btn:hover {
  background-color: var(--bg-surface);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(26, 54, 93, 0.12);
}

.icon-btn:active {
  transform: translateY(0) scale(0.94);
}

/* Theme Toggle Special Styling */
.theme-toggle-btn {
  position: relative;
}

.theme-toggle-btn svg {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), stroke 0.2s ease, filter 0.2s ease;
}

.theme-toggle-btn:hover svg {
  transform: rotate(20deg) scale(1.12);
}

[data-theme="dark"] .icon-btn {
  background: var(--bg-surface-elevated);
  border-color: var(--border-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .icon-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.25);
}

[data-theme="dark"] .theme-toggle-btn {
  color: var(--gold);
}

[data-theme="dark"] .theme-toggle-btn svg {
  filter: drop-shadow(0 0 5px rgba(245, 158, 11, 0.5));
}

/* Elevated Search Trigger */
.search-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  height: 42px;
  padding: 0 1.1rem;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-size: 0.86rem;
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-trigger:hover {
  border-color: var(--primary);
  color: var(--text-main);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(26, 54, 93, 0.12);
}

.search-trigger:active {
  transform: translateY(0) scale(0.97);
}

[data-theme="dark"] .search-trigger {
  background: var(--bg-surface-elevated);
  border-color: var(--border-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .search-trigger:hover {
  border-color: var(--gold);
  color: var(--text-main);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.2);
}

.search-trigger .kbd-hint {
  font-size: 0.72rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 2px 6px;
  color: var(--text-muted);
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-weight: 600;
  letter-spacing: -0.02em;
}

@media (max-width: 1140px) {
  .search-trigger .kbd-hint {
    display: none;
  }
  .search-trigger span:not(.kbd-hint) {
    display: none;
  }
  .search-trigger {
    padding: 0;
    width: 42px;
    height: 42px;
    justify-content: center;
    border-radius: var(--radius-full);
  }
}

.mobile-menu-toggle {
  display: none;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 3.5rem 0 2.5rem;
  text-align: center;
  position: relative;
  border-bottom: 1px solid var(--border-light);
  background: radial-gradient(circle at 50% 0%, var(--gold-bg) 0%, transparent 75%);
}

.hero-verse-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 1.75rem;
  font-weight: 400;
}

.hero-categories {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1rem;
}

.hero-cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.hero-cat-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background-color: var(--primary-light);
  transform: translateY(-1px);
}

/* ==========================================================================
   Featured Post Card
   ========================================================================== */
.featured-section {
  padding: 2.5rem 0 1rem;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 1.2em;
  background-color: var(--gold);
  border-radius: 2px;
}

.card-featured {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card-featured:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-light);
}

.featured-img-wrap {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  background-color: var(--bg-subtle);
}

.featured-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card-featured:hover .featured-img-wrap img {
  transform: scale(1.03);
}

.featured-content {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.meta-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.category-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background-color: var(--primary-light);
  color: var(--primary);
}

.featured-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
  margin-bottom: 0.9rem;
  letter-spacing: -0.01em;
}

.featured-title a:hover {
  color: var(--primary);
}

.featured-excerpt {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

/* ==========================================================================
   Post Cards Grid
   ========================================================================== */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
  margin-bottom: 3rem;
}

.post-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  content-visibility: auto;
  contain-intrinsic-size: 0 380px;
}

.post-card[data-staged="true"] {
  display: none !important;
}

.post-card.card-revealing {
  animation: cardFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.post-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-light);
}

.card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: var(--bg-subtle);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.post-card:hover .card-media img {
  transform: scale(1.04);
}

.card-body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-main);
  margin-bottom: 0.65rem;
}

.card-title a:hover {
  color: var(--primary);
}

.card-excerpt {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.card-footer {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.tag-badge {
  font-size: 0.72rem;
  padding: 0.15rem 0.5rem;
  background-color: var(--bg-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-weight: 500;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.tag-badge:hover {
  background-color: var(--gold-bg);
  color: var(--gold);
}

/* ==========================================================================
   Pagination
   ========================================================================== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 2.5rem 0 4rem;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 0.75rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-main);
  transition: all 0.15s ease;
}

.page-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.page-btn.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.page-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* ==========================================================================
   Single Post Detail View
   ========================================================================== */
.post-header {
  padding: 3rem 0 2rem;
  text-align: center;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.breadcrumbs a:hover {
  color: var(--primary);
}

.post-title {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.post-meta-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.post-featured-image {
  margin: 1.5rem 0 2.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background-color: var(--bg-subtle);
}

.post-featured-image img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.post-content {
  font-size: 1.12rem;
  line-height: 1.8;
  color: var(--text-main);
}

.post-content > p {
  margin-bottom: 1.6rem;
}

/* Drop cap for first paragraph */
.post-content > p:first-of-type::first-letter {
  float: left;
  font-family: var(--font-serif);
  font-size: 3.8rem;
  line-height: 0.85;
  font-weight: 700;
  padding-right: 0.6rem;
  padding-top: 0.2rem;
  color: var(--primary);
}

.post-content h2 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 2.5rem 0 1rem;
  line-height: 1.3;
}

.post-content h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 2rem 0 0.85rem;
  line-height: 1.35;
}

.post-content ul, .post-content ol {
  margin: 1.25rem 0 1.75rem 1.75rem;
}

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

/* Editorial Hyperlinks in Post and Page Content */
.post-content a:not(.rtBibleRef):not(.share-btn):not(.tag-badge):not(.category-badge):not(.card-media),
.page-content a:not(.rtBibleRef):not(.share-btn):not(.tag-badge):not(.category-badge) {
  color: var(--link-color);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--link-underline);
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  border-radius: 2px;
  padding: 0 1px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease, background-color 0.15s ease;
}

.post-content a:not(.rtBibleRef):not(.share-btn):not(.tag-badge):not(.category-badge):not(.card-media):hover,
.page-content a:not(.rtBibleRef):not(.share-btn):not(.tag-badge):not(.category-badge):hover {
  color: var(--gold);
  text-decoration-color: var(--gold);
  background-color: var(--gold-bg);
}

[data-theme="dark"] .post-content a:not(.rtBibleRef):not(.share-btn):not(.tag-badge):not(.category-badge):not(.card-media),
[data-theme="dark"] .page-content a:not(.rtBibleRef):not(.share-btn):not(.tag-badge):not(.category-badge) {
  color: #93c5fd;
  text-decoration-color: rgba(147, 197, 253, 0.55);
}

[data-theme="dark"] .post-content a:not(.rtBibleRef):not(.share-btn):not(.tag-badge):not(.category-badge):not(.card-media):hover,
[data-theme="dark"] .page-content a:not(.rtBibleRef):not(.share-btn):not(.tag-badge):not(.category-badge):hover {
  color: #fbbf24;
  text-decoration-color: #fbbf24;
  background-color: rgba(245, 158, 11, 0.2);
}

/* Category & Page Toolbar / Sorting Controls */
.category-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 0.85rem 1.25rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.category-toolbar-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sort-toggle-group {
  display: inline-flex;
  align-items: center;
  background: var(--bg-subtle);
  border-radius: var(--radius-full);
  padding: 3px;
  gap: 2px;
}

.sort-btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
}

.sort-btn:hover {
  color: var(--text-main);
}

.sort-btn.active {
  background: var(--bg-surface);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

/* Scripture Callout Card */
.scripture-card, blockquote.scripture-quote {
  display: flow-root;
  box-sizing: border-box;
  background: var(--gold-bg);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.4rem 1.6rem;
  margin: 2rem 0;
}

.scripture-card blockquote {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--text-main);
}

.scripture-card cite, .scripture-cite {
  display: block;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--gold);
  margin-top: 0.75rem;
  text-align: right;
  letter-spacing: 0.02em;
}

blockquote,
.post-content blockquote,
.wp-block-quote {
  display: flow-root;
  box-sizing: border-box;
  background: var(--bg-subtle);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.25rem 1.6rem;
  margin: 1.85rem 0;
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-style: italic;
  line-height: 1.75;
  color: var(--text-main);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

[data-theme="dark"] blockquote,
[data-theme="dark"] .post-content blockquote,
[data-theme="dark"] .wp-block-quote {
  background: var(--bg-surface);
  border-left-color: var(--primary-light);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.post-content blockquote p,
.wp-block-quote p {
  margin-bottom: 0.85rem;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

.post-content blockquote p:last-child,
.wp-block-quote p:last-child {
  margin-bottom: 0;
}

.post-content blockquote cite,
.wp-block-quote cite {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-style: normal;
  font-weight: 600;
  color: var(--gold);
  margin-top: 0.85rem;
  text-align: right;
  letter-spacing: 0.02em;
}

/* Evitar que blockquotes anidados dentro de scripture-card hereden estilos de caja */
.scripture-card blockquote {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--text-main);
}

/* ==========================================================================
   Pull Quotes (Citas destacadas del artículo con texto fluido)
   ========================================================================== */
.pull-quote {
  position: relative;
  font-family: var(--font-serif);
  font-size: 1.26rem;
  font-style: italic;
  line-height: 1.55;
  color: var(--text-main);
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.6rem;
  box-shadow: var(--shadow-sm);
  box-sizing: border-box;
  margin: 1.5rem 0;
}

.pull-quote::before {
  content: "“";
  position: absolute;
  top: -0.2rem;
  left: 0.8rem;
  font-family: Georgia, serif;
  font-size: 3.2rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.35;
  pointer-events: none;
}

.pull-quote cite,
.pull-quote .pull-quote-cite {
  display: block;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin-top: 0.85rem;
}

/* Align Right (Flota a la derecha, el texto fluye a la izquierda) */
.pull-quote.align-right,
.pull-quote.alignright {
  float: right;
  width: 45%;
  min-width: 250px;
  margin: 0.6rem 0 1.6rem 2rem;
  border-left: 4px solid var(--gold);
  clear: right;
}

.pull-quote.align-right cite,
.pull-quote.align-right .pull-quote-cite,
.pull-quote.alignright cite,
.pull-quote.alignright .pull-quote-cite {
  text-align: right;
}

/* Align Left (Flota a la izquierda, el texto fluye a la derecha) */
.pull-quote.align-left,
.pull-quote.alignleft {
  float: left;
  width: 45%;
  min-width: 250px;
  margin: 0.6rem 2rem 1.6rem 0;
  border-left: 4px solid var(--primary);
  clear: left;
}

/* Align Center (Bloque destacado central en el artículo) */
.pull-quote.align-center,
.pull-quote.aligncenter {
  float: none;
  clear: both;
  max-width: 86%;
  margin: 2.75rem auto;
  text-align: center;
  padding: 2rem 2.5rem;
  border-left: 1px solid var(--border-card);
  border-right: 1px solid var(--border-card);
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
  font-size: 1.38rem;
  border-radius: var(--radius-sm);
}

.pull-quote.align-center::before,
.pull-quote.aligncenter::before {
  left: 50%;
  transform: translateX(-50%);
  top: -1.2rem;
  background: var(--bg-surface);
  padding: 0 0.6rem;
  opacity: 0.6;
}

.pull-quote.align-center cite,
.pull-quote.align-center .pull-quote-cite,
.pull-quote.aligncenter cite,
.pull-quote.aligncenter .pull-quote-cite {
  text-align: center;
}

/* Quote Social Sharing Bar */
.quote-share-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 1.15rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--border-light);
  font-family: var(--font-sans) !important;
  font-style: normal !important;
  font-size: 0.75rem;
  opacity: 0.95;
  clear: both;
}

.pull-quote.align-left .quote-share-bar,
.pull-quote.alignleft .quote-share-bar {
  justify-content: flex-start;
}

.pull-quote.align-center .quote-share-bar,
.pull-quote.aligncenter .quote-share-bar,
.post-content blockquote.with-share .quote-share-bar {
  justify-content: center;
}

.scripture-card.with-share .quote-share-bar {
  border-top-color: var(--gold-border);
  justify-content: flex-end;
}

.quote-share-label {
  font-family: var(--font-sans) !important;
  font-style: normal !important;
  font-size: 0.65rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: var(--text-muted) !important;
  background: var(--bg-subtle);
  padding: 0.22rem 0.55rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-right: 0.25rem;
  user-select: none;
  line-height: 1;
}

.quote-share-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.quote-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  min-width: 30px;
  min-height: 30px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  font-family: inherit;
  font-size: 0;
  line-height: 1;
}

.quote-share-btn svg {
  display: block;
  flex-shrink: 0;
  pointer-events: none;
}

.quote-share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.quote-share-btn.twitter:hover {
  background: #000000;
  border-color: #000000;
  color: #ffffff;
}

[data-theme="dark"] .quote-share-btn.twitter:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #000000;
}

.quote-share-btn.whatsapp:hover {
  background: #25d366;
  border-color: #25d366;
  color: #ffffff;
}

.quote-share-btn.facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
  color: #ffffff;
}

.quote-share-btn.copy {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
}

.quote-share-btn.copy:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.quote-share-btn.copy.copied {
  background: #16a34a !important;
  border-color: #16a34a !important;
  color: #ffffff !important;
}

@media print {
  .quote-share-bar {
    display: none !important;
  }
}

/* Alineación de imágenes y elementos multimedia dentro del cuerpo del artículo */
.post-content figure,
.post-content .wp-block-image {
  margin: 0;
}

.post-content figure img,
.post-content .wp-block-image img,
.post-content img {
  display: block;
  width: 100%;
  max-width: 100% !important;
  height: auto !important;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.post-content figcaption {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 0.5rem;
  line-height: 1.4;
  font-style: italic;
}

.post-content img.align-right,
.post-content img.alignright,
.post-content figure.align-right,
.post-content figure.alignright,
.post-content .wp-block-image.alignright,
.post-content .wp-block-image.align-right,
.post-content figure.video-wrapper.align-right,
.post-content .video-container.align-right {
  float: right;
  max-width: 48%;
  margin: 0.5rem 0 1.5rem 1.75rem;
  border-radius: var(--radius-md);
  clear: right;
  position: relative;
  z-index: 2;
}

.post-content img.align-left,
.post-content img.alignleft,
.post-content figure.align-left,
.post-content figure.alignleft,
.post-content .wp-block-image.alignleft,
.post-content .wp-block-image.align-left,
.post-content figure.video-wrapper.align-left,
.post-content .video-container.align-left {
  float: left;
  max-width: 48%;
  margin: 0.5rem 1.75rem 1.5rem 0;
  border-radius: var(--radius-md);
  clear: left;
  position: relative;
  z-index: 2;
}

.post-content img.align-center,
.post-content img.aligncenter,
.post-content figure.align-center,
.post-content figure.aligncenter,
.post-content .wp-block-image.aligncenter,
.post-content .wp-block-image.align-center,
.post-content figure.video-wrapper.align-center,
.post-content .video-container.align-center {
  display: block;
  max-width: 100%;
  margin: 2rem auto;
  border-radius: var(--radius-md);
  clear: both;
}

/* Video Containers Responsive 16:9 */
.video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #000000;
}

.video-container iframe,
.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--radius-md);
}

.video-wrapper {
  margin: 2rem auto;
  max-width: 100%;
}

.video-wrapper .video-container {
  margin: 0;
}

/* Clearfix para evitar desbordes */
.post-content::after {
  content: "";
  display: table;
  clear: both;
}

@media (max-width: 768px) {
  .pull-quote.align-right,
  .pull-quote.alignright,
  .pull-quote.align-left,
  .pull-quote.alignleft,
  .post-content img.align-right,
  .post-content img.alignright,
  .post-content img.align-left,
  .post-content img.alignleft,
  .post-content figure.align-right,
  .post-content figure.alignright,
  .post-content figure.align-left,
  .post-content figure.alignleft,
  .post-content .wp-block-image.alignright,
  .post-content .wp-block-image.align-right,
  .post-content .wp-block-image.alignleft,
  .post-content .wp-block-image.align-left,
  .post-content figure.video-wrapper.align-left,
  .post-content figure.video-wrapper.align-right,
  .post-content .video-container.align-left,
  .post-content .video-container.align-right {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 1.75rem 0 !important;
  }
}

/* Post Share & Footer */
.post-footer {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}

.post-tags-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.share-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.4rem;
  margin-bottom: 2.5rem;
}

.share-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
}

.share-buttons {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid var(--border-light);
  background: var(--bg-subtle);
  color: var(--text-main);
}

.share-btn:hover {
  transform: translateY(-1px);
}

.share-btn.whatsapp { background: #25d366; color: #ffffff; border-color: #25d366; }
.share-btn.telegram { background: #229ed9; color: #ffffff; border-color: #229ed9; }
.share-btn.twitter { background: #000000; color: #ffffff; border-color: #000000; }
.share-btn.facebook { background: #1877f2; color: #ffffff; border-color: #1877f2; }
.share-btn.copy { background: var(--bg-surface); }

/* Author Bio Card */
.author-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 3rem;
  box-shadow: var(--shadow-sm);
}

.author-avatar {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  box-shadow: 0 0 0 3px var(--border-light);
  object-fit: cover;
  flex-shrink: 0;
}

.author-info h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.author-bio {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 0.85rem;
}

.author-socials {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-icon-link {
  color: var(--text-muted);
  transition: color 0.2s ease;
}

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

/* Post Navigation (Prev / Next) */
.post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.nav-post-card {
  padding: 1.25rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.nav-post-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.nav-direction {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.nav-post-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-main);
}

/* Related Posts */
.related-posts-section {
  margin: 3.5rem 0;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-light);
}

/* ==========================================================================
   Search Modal & Dedicated Search Page
   ========================================================================== */
.search-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(13, 19, 31, 0.65);
  backdrop-filter: blur(8px);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 5rem 1rem 2rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.search-modal.active {
  display: flex;
  opacity: 1;
}

.search-box-wrap {
  width: 100%;
  max-width: 680px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: searchSlideDown 0.2s ease-out;
}

@keyframes searchSlideDown {
  from { transform: translateY(-15px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.search-input-header {
  display: flex;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
  gap: 0.75rem;
}

.search-input {
  flex-grow: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 1.15rem;
  color: var(--text-main);
}

.search-input::placeholder {
  color: var(--text-light);
}

.search-filters-bar {
  padding: 0.75rem 1.25rem;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  white-space: nowrap;
}

.filter-chip {
  padding: 0.25rem 0.65rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}

.filter-chip:hover, .filter-chip.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.search-results-list {
  max-height: 440px;
  overflow-y: auto;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.search-result-item {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid transparent;
  transition: all 0.15s ease;
  display: block;
}

.search-result-item:hover, .search-result-item:focus {
  background-color: var(--bg-subtle);
  border-color: var(--border-light);
}

.result-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.result-excerpt {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.result-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.4rem;
  font-size: 0.75rem;
  color: var(--text-light);
}

.highlight-match {
  background-color: rgba(245, 158, 11, 0.25);
  color: var(--text-main);
  padding: 0 2px;
  border-radius: 2px;
  font-weight: 600;
}

.search-footer-hint {
  padding: 0.6rem 1.25rem;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  font-size: 0.75rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  margin-top: auto;
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  padding: 3.5rem 0 2rem;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 420px;
  margin-bottom: 1.25rem;
}

.footer-nav-col h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Toast */
.toast-msg {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background: var(--primary);
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.88rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.toast-msg.show {
  opacity: 1;
  transform: translateY(0);
}

/* Reading Progress Bar */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--primary));
  z-index: 1000;
  width: 0%;
  transition: width 0.1s ease;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 900px) {
  .card-featured {
    grid-template-columns: 1fr;
  }
  .featured-img-wrap {
    min-height: 240px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1040px) {
  .site-nav {
    display: none;
  }
  .site-nav.mobile-active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100vh - var(--header-height));
    height: calc(100dvh - var(--header-height));
    background: var(--bg-surface);
    padding: 1.5rem 1.25rem 2.5rem;
    z-index: 999;
    border-top: 1px solid var(--border-light);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: var(--shadow-lg);
    animation: mobileNavFadeSlide 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  @keyframes mobileNavFadeSlide {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .site-nav.mobile-active .nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    width: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .site-nav.mobile-active .nav-links li {
    width: 100%;
  }

  .site-nav.mobile-active .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.95rem 1.25rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-main);
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    text-decoration: none;
    box-sizing: border-box;
  }

  .site-nav.mobile-active .nav-link::after {
    content: '→';
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 400;
    opacity: 0.55;
    position: static;
    width: auto;
    height: auto;
    background: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .site-nav.mobile-active .nav-link:hover,
  .site-nav.mobile-active .nav-link:active {
    background: var(--bg-surface-elevated);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateX(4px);
  }

  .site-nav.mobile-active .nav-link:hover::after,
  .site-nav.mobile-active .nav-link:active::after {
    opacity: 1;
    transform: translateX(3px);
  }

  .site-nav.mobile-active .nav-link.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(26, 54, 93, 0.25);
  }

  .site-nav.mobile-active .nav-link.active::after {
    opacity: 0.9;
    color: #ffffff;
  }

  [data-theme="dark"] .site-nav.mobile-active {
    background: var(--bg-surface-elevated);
  }

  [data-theme="dark"] .site-nav.mobile-active .nav-link {
    background: var(--bg-surface);
    border-color: var(--border-light);
    color: var(--text-main);
  }

  [data-theme="dark"] .site-nav.mobile-active .nav-link:hover,
  [data-theme="dark"] .site-nav.mobile-active .nav-link:active {
    border-color: var(--gold);
    color: var(--gold);
  }

  [data-theme="dark"] .site-nav.mobile-active .nav-link.active {
    background: var(--gold);
    color: #1e293b;
    border-color: var(--gold);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.25);
  }

  [data-theme="dark"] .site-nav.mobile-active .nav-link.active::after {
    color: #1e293b;
  }

  .mobile-menu-toggle {
    display: inline-flex !important;
    flex-shrink: 0 !important;
  }
  .header-actions {
    flex-shrink: 0 !important;
  }
  .search-trigger .kbd-hint {
    display: none;
  }
  .posts-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .author-card {
    flex-direction: column;
    text-align: center;
  }
  .author-socials {
    justify-content: center;
  }
  .post-navigation {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .site-header .container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }
  .header-inner {
    gap: 0.5rem;
  }
  .site-logo {
    width: 36px;
    height: 36px;
  }
  .site-brand {
    gap: 0.5rem;
    min-width: 0;
    flex-shrink: 1;
    overflow: hidden;
  }
  .brand-text {
    min-width: 0;
    overflow: hidden;
  }
  .brand-title {
    font-size: clamp(0.92rem, 3.6vw, 1.15rem);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .header-actions {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0 !important;
  }
  .icon-btn,
  .search-trigger {
    width: 38px;
    height: 38px;
    flex-shrink: 0 !important;
  }
  .mobile-menu-toggle {
    display: inline-flex !important;
    flex-shrink: 0 !important;
  }
}

@media (max-width: 380px) {
  .site-header .container {
    padding-left: 0.55rem;
    padding-right: 0.55rem;
  }
  .header-inner {
    gap: 0.35rem;
  }
  .site-logo {
    width: 32px;
    height: 32px;
  }
  .brand-title {
    font-size: 0.88rem;
  }
  .header-actions {
    gap: 0.25rem;
  }
  .icon-btn,
  .search-trigger {
    width: 35px;
    height: 35px;
  }
}

/* ==========================================================================
   Reading Plan Articles (Clean Reading, No Cards)
   ========================================================================== */
.reading-plan-flow {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin: 1.5rem 0;
}

.reading-plan-flow > div {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
}

.reading-plan-flow h2,
.wp-block-jetpack-timeline h2 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 1.5rem 0 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid var(--gold-border);
  display: inline-block;
}

.reading-plan-flow p,
.wp-block-jetpack-timeline p {
  margin-bottom: 1.1rem;
}

.reading-plan-flow ul,
.wp-block-jetpack-timeline ul {
  margin: 0.75rem 0 1.5rem 1.5rem;
}

.reading-plan-flow li,
.wp-block-jetpack-timeline li {
  margin-bottom: 0.6rem;
  line-height: 1.7;
}

/* Ensure no gray card backgrounds on timeline items */
.wp-block-jetpack-timeline,
.wp-block-jetpack-timeline-item,
.timeline-item {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  list-style: none !important;
}

.timeline-item__bubble,
.timeline-item__dot {
  display: none !important;
}

/* ==========================================================================
   Logos RefTagger Bible References Styling
   ========================================================================== */
a.rtRef {
  color: var(--primary);
  text-decoration: underline dotted var(--gold) !important;
  text-underline-offset: 3px;
  font-weight: 500;
  transition: color 0.15s ease, text-decoration 0.15s ease;
  cursor: pointer;
}

a.rtRef:hover {
  color: var(--gold);
  text-decoration: underline solid var(--gold) !important;
}

/* Dark Mode RefTagger Tooltip Overrides */
[data-theme="dark"] .rtTooltip {
  background-color: var(--bg-surface-elevated) !important;
  color: var(--text-main) !important;
  border-color: var(--border-light) !important;
  box-shadow: var(--shadow-lg) !important;
}

[data-theme="dark"] .rtTooltip .rtBody {
  color: var(--text-main) !important;
}

[data-theme="dark"] .rtTooltip .rtMore {
  color: var(--gold) !important;
}

/* ==========================================================================
   Acerca de / Author Profile & Legacy Gutenberg Fallbacks
   ========================================================================== */
.about-hero-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 1.5rem auto 3rem;
  max-width: 640px;
  padding: 0 1rem;
}

.about-avatar-wrap {
  width: 140px;
  height: 140px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border: 4px solid var(--border-light);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-avatar {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.about-author-name {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-color);
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

.about-author-slogan {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto 1.75rem;
  font-style: italic;
}

.about-social-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 0.5rem 0 1.5rem;
}

.about-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-color);
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.about-social-link:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  background: var(--bg-subtle);
}

.about-social-link svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.about-divider {
  border: 0;
  height: 1px;
  background: var(--border-light);
  max-width: 400px;
  margin: 2.5rem auto;
}

.about-section {
  max-width: 640px;
  margin: 2rem auto;
  text-align: center;
}

.about-section h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--text-color);
  margin-bottom: 0.75rem;
}

.about-section p {
  color: var(--text-muted);
  line-height: 1.65;
  font-size: 0.98rem;
  margin-bottom: 1rem;
}

.about-license-badge {
  display: flex;
  justify-content: center;
  margin-top: 0.75rem;
}

/* Ensure WordPress Gutenberg blocks also follow these centering rules & hide labels */
.screen-reader-text,
.wp-block-social-link-label {
  display: none !important;
}

ul.wp-block-social-links {
  list-style: none !important;
  padding: 0 !important;
  margin: 1.5rem auto !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 1rem !important;
}

.wp-block-social-links li.wp-block-social-link {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.wp-block-social-link-anchor {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: var(--bg-card) !important;
  border: 1px solid var(--border-light) !important;
  color: var(--text-color) !important;
  transition: all 0.25s ease !important;
}

.wp-block-social-link-anchor:hover {
  transform: translateY(-3px) !important;
  border-color: var(--primary) !important;
  color: var(--primary) !important;
  background: var(--bg-subtle) !important;
}

.wp-block-image.aligncenter {
  display: flex !important;
  justify-content: center !important;
  margin: 1.5rem auto !important;
}

.wp-block-image.aligncenter img {
  display: block !important;
  margin: 0 auto !important;
}

/* Logos RefTagger Bible Links */
.rtBibleRef {
  color: var(--primary) !important;
  text-decoration: underline !important;
  text-decoration-color: var(--primary-light) !important;
  text-underline-offset: 3px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: color 0.15s ease, text-decoration-color 0.15s ease !important;
}

.rtBibleRef:hover {
  color: var(--gold) !important;
  text-decoration-color: var(--gold) !important;
}

[data-theme="dark"] .rtBibleRef {
  color: #93c5fd !important;
  text-decoration-color: rgba(147, 197, 253, 0.55) !important;
}

[data-theme="dark"] .rtBibleRef:hover {
  color: #fbbf24 !important;
  text-decoration-color: #fbbf24 !important;
}

cite .rtBibleRef,
.scripture-cite .rtBibleRef,
.pull-quote-cite .rtBibleRef {
  color: inherit !important;
  font-weight: inherit !important;
}

/* ==========================================================================
   Logos RefTagger - Popup Tooltip Styling
   Harmonized with "Me Alegro En Tu Palabra" editorial theme
   ========================================================================== */

/* Main Container & Frame */
.rtTooltip {
  width: 520px !important;
  max-width: min(94vw, 520px) !important;
  z-index: 99999 !important;
  filter: drop-shadow(0 14px 28px rgba(26, 54, 93, 0.16)) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.06));
}

.rtTooltip .rtContainer {
  background: var(--bg-surface) !important;
  border: 1px solid var(--border-light) !important;
  border-radius: var(--radius-md) !important;
  box-shadow: none !important;
  overflow: hidden !important;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

/* Header: Deep navy biblical banner with gold bottom border */
.rtTooltip .rtTooltipHeader {
  background: var(--primary) !important;
  color: #ffffff !important;
  font-family: var(--font-sans) !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  height: auto !important;
  line-height: 1.4 !important;
  padding: 0.85rem 1.25rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  border-bottom: 2px solid var(--gold) !important;
}

/* Neutralize any links inside header so they don't trigger mouseover popups or lose contrast */
.rtTooltip .rtTooltipHeader * {
  color: #ffffff !important;
}

.rtTooltip .rtTooltipHeader a,
.rtTooltip .rtTooltipHeader .rtBibleRef {
  color: #ffffff !important;
  text-decoration: none !important;
  pointer-events: none !important;
  cursor: default !important;
  border: none !important;
  background: transparent !important;
  font-weight: 700 !important;
}

.rtTooltip .rtTooltipHeader .rtTooltipReference {
  color: #ffffff !important;
  font-weight: 700 !important;
}

.rtTooltip .rtTooltipHeader .rtTooltipVersion {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  margin-left: 0.35rem !important;
  text-transform: uppercase !important;
}

/* Body: Warm, elegant serif reading typography with larger, readable font */
.rtTooltip .rtTooltipBody {
  background: var(--bg-surface) !important;
  color: var(--text-main) !important;
  font-family: var(--font-serif) !important;
  font-size: 1.34rem !important;
  line-height: 1.82 !important;
  padding: 1.4rem 1.55rem 0.95rem !important;
  min-height: 60px !important;
}

/* Verse & Chapter numbers in gold/amber badge */
.rtTooltip .rtTooltipBody .ch-ref,
.rtTooltip .rtTooltipBody .verse-ref {
  font-family: var(--font-sans) !important;
  font-size: 0.86rem !important;
  font-weight: 700 !important;
  color: var(--gold) !important;
  margin-right: 0.35rem !important;
  padding: 0.12rem 0.42rem !important;
  background: var(--gold-bg) !important;
  border-radius: var(--radius-sm) !important;
  vertical-align: baseline !important;
  position: relative !important;
  top: -2px !important;
  display: inline-block !important;
  line-height: 1.2 !important;
}

/* Footer: Clean, modern metadata & action bar */
.rtTooltip .rtTooltipFooter {
  background: var(--bg-subtle) !important;
  border-top: 1px solid var(--border-light) !important;
  padding: 0.65rem 1.25rem !important;
  font-family: var(--font-sans) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 38px !important;
}

/* "Leer más" link */
.rtTooltip .rtTooltipFooter .rtTooltipMoreLink,
.rtTooltip .rtTooltipMoreLink {
  color: var(--gold) !important;
  font-family: var(--font-sans) !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.25rem !important;
  float: right !important;
  transition: color 0.15s ease !important;
}

.rtTooltip .rtTooltipFooter .rtTooltipMoreLink:hover,
.rtTooltip .rtTooltipMoreLink:hover {
  color: var(--gold-hover) !important;
  text-decoration: underline !important;
}

/* Logos / Biblia brand link */
.rtTooltip .rtTooltipBrandLink,
.rtTooltip .rtTooltipBrandLink a {
  color: var(--text-light) !important;
  font-size: 0.68rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
}

.rtTooltip .rtTooltipBrandLink a:hover {
  color: var(--text-muted) !important;
}

.rtTooltip .rtTooltipBrandLink .rtTooltipLogosIcon path {
  fill: var(--text-light) !important;
}

/* --------------------------------------------------------------------------
   Dark Mode Adaptation for RefTagger Tooltip
   -------------------------------------------------------------------------- */
[data-theme="dark"] .rtTooltip {
  filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.65)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

[data-theme="dark"] .rtTooltip .rtContainer {
  background: var(--bg-surface) !important;
  border-color: var(--border-card) !important;
}

[data-theme="dark"] .rtTooltip .rtTooltipHeader {
  background: var(--bg-surface-elevated) !important;
  border-bottom: 2px solid var(--gold) !important;
}

[data-theme="dark"] .rtTooltip .rtTooltipHeader * {
  color: #93c5fd !important;
}

[data-theme="dark"] .rtTooltip .rtTooltipHeader a,
[data-theme="dark"] .rtTooltip .rtTooltipHeader .rtBibleRef {
  color: #93c5fd !important;
  pointer-events: none !important;
  cursor: default !important;
}

[data-theme="dark"] .rtTooltip .rtTooltipHeader .rtTooltipReference {
  color: #93c5fd !important;
}

[data-theme="dark"] .rtTooltip .rtTooltipHeader .rtTooltipVersion {
  color: var(--text-muted) !important;
}

[data-theme="dark"] .rtTooltip .rtTooltipBody {
  background: var(--bg-surface) !important;
  color: var(--text-main) !important;
}

[data-theme="dark"] .rtTooltip .rtTooltipBody .ch-ref,
[data-theme="dark"] .rtTooltip .rtTooltipBody .verse-ref {
  color: var(--gold) !important;
  background: var(--gold-bg) !important;
}

[data-theme="dark"] .rtTooltip .rtTooltipFooter {
  background: var(--bg-subtle) !important;
  border-top-color: var(--border-card) !important;
}

[data-theme="dark"] .rtTooltip .rtTooltipFooter .rtTooltipMoreLink,
[data-theme="dark"] .rtTooltip .rtTooltipMoreLink {
  color: var(--gold) !important;
}

[data-theme="dark"] .rtTooltip .rtTooltipFooter .rtTooltipMoreLink:hover,
[data-theme="dark"] .rtTooltip .rtTooltipMoreLink:hover {
  color: var(--gold-hover) !important;
}

[data-theme="dark"] .rtTooltip .rtTooltipBrandLink,
[data-theme="dark"] .rtTooltip .rtTooltipBrandLink a {
  color: var(--text-light) !important;
}

[data-theme="dark"] .rtTooltip .rtTooltipBrandLink .rtTooltipLogosIcon path {
  fill: var(--text-light) !important;
}

/* ==========================================================================
   Page Hero Header & Static Page Guide Styles
   ========================================================================== */
.page-hero-header {
  padding: 3.5rem 0 2.25rem;
  text-align: center;
  position: relative;
  background: radial-gradient(circle at 50% 0%, var(--gold-bg) 0%, transparent 70%);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 2.75rem;
}

.page-hero-header .page-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0.5rem 0 0;
}

.page-intro-lead {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--text-muted);
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2.25rem;
  padding: 0 1rem;
}

.page-intro-lead p {
  margin: 0;
}

.page-guide-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  margin: 0 auto 2.5rem;
  max-width: 720px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

[data-theme="dark"] .page-guide-card {
  border-left-color: var(--gold);
  background: var(--bg-surface-elevated);
}

.page-guide-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 1.15rem 0;
}

.page-guide-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.page-guide-list li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.page-guide-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: bold;
}

[data-theme="dark"] .page-guide-list li::before {
  color: var(--gold);
}

/* ==========================================================================
   Progressive Scroll Loading Indicator
   ========================================================================== */
.grid-scroll-status {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem 3.5rem;
  width: 100%;
}

.grid-scroll-loader {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .grid-scroll-loader {
  background: var(--bg-surface-elevated);
  border-color: var(--border-card);
}

.spinner-dots {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.spinner-dots span {
  width: 7px;
  height: 7px;
  background-color: var(--primary);
  border-radius: 50%;
  animation: dotPulse 1.4s infinite ease-in-out both;
}

[data-theme="dark"] .spinner-dots span {
  background-color: var(--gold);
}

.spinner-dots span:nth-child(1) {
  animation-delay: -0.32s;
}
.spinner-dots span:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes dotPulse {
  0%, 80%, 100% {
    transform: scale(0.3);
    opacity: 0.3;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

.grid-end-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
  font-size: 0.84rem;
  padding: 0.55rem 1.35rem;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  border: 1px dashed var(--border-light);
}

/* ==========================================================================
   404 Not Found Page
   ========================================================================== */
.error-404-section {
  padding: 4.5rem 1rem 5.5rem;
  text-align: center;
}

.error-404-wrap {
  max-width: 680px;
  margin: 0 auto;
}

.error-404-code {
  font-family: var(--font-serif);
  font-size: clamp(4.5rem, 12vw, 7.5rem);
  font-weight: 800;
  line-height: 1;
  color: var(--primary);
  margin: 0.25rem 0 0.5rem;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--primary), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="dark"] .error-404-code {
  background: linear-gradient(135deg, var(--gold), #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.error-404-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 1rem;
}

.error-404-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold);
  margin: 0 auto 1.5rem;
  max-width: 580px;
}

.error-404-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 auto 2.5rem;
  max-width: 580px;
}

.error-search-box {
  display: flex;
  align-items: center;
  max-width: 480px;
  margin: 0 auto 2.5rem;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.45rem 0.35rem 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.error-search-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.15);
}

.error-search-input {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--text-main);
  font-size: 0.95rem;
  outline: none;
}

.error-search-btn {
  background: var(--primary);
  color: #ffffff;
  border: none;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.error-search-btn:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
}

[data-theme="dark"] .error-search-btn {
  background: var(--gold);
  color: #1e293b;
}

[data-theme="dark"] .error-search-btn:hover {
  background: var(--gold-hover);
}

.error-quick-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}


