/* ============================================================
   Christian Bread — style.css
   Design: Editorial minimalism with sacred warmth
   Fonts: Lora (display) + DM Sans (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;1,400;1,500&family=DM+Sans:wght@300;400;500&display=swap');

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --white:      #ffffff;
  --off-white:  #faf9f7;
  --warm-gray:  #f2ede6;
  --rule:       #e8e0d4;
  --gold:       #b8922a;
  --gold-light: #e8d5a0;
  --ink:        #1c1510;
  --ink-soft:   #3d3128;
  --muted:      #8c7b68;
  --link:       #7a4f1e;
  --sidebar-w:  260px;
  --content-max: 1080px;
  --header-h:   64px;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--ink);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--gold); }

/* ── HEADER ── */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
}

.site-header-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.logo-cross {
  color: var(--gold);
  font-size: 1.1rem;
  line-height: 1;
}

.logo-text {
  font-family: 'Lora', serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
}

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

.site-nav a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 2px;
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.25s ease;
}

.site-nav a:hover { color: var(--gold); }
.site-nav a:hover::after { width: 100%; }
.site-nav a.active { color: var(--gold); }
.site-nav a.active::after { width: 100%; }

/* ── PAGE LAYOUT ── */
.site-body {
  flex: 1;
  max-width: var(--content-max);
  margin: 0 auto;
  width: 100%;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr var(--sidebar-w);
  grid-template-areas: "main sidebar";
  gap: 56px;
  align-items: start;
  padding-top: 48px;
  padding-bottom: 64px;
}

.site-main  { grid-area: main; min-width: 0; }
.site-sidebar { grid-area: sidebar; }

/* Full-width pages (no sidebar) */
.site-body.full-width {
  grid-template-columns: 1fr;
  grid-template-areas: "main";
  max-width: 720px;
}

/* ── HERO (homepage) ── */
.hero {
  border-bottom: 1px solid var(--rule);
  padding-bottom: 40px;
  margin-bottom: 48px;
}

.hero-label {
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  font-family: 'Lora', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 20px;
  max-width: 580px;
}

.hero p {
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.8;
  max-width: 560px;
}

/* ── FEATURED POST ── */
.featured-label {
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.featured-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--rule);
}

.featured-post {
  margin-bottom: 52px;
}

.featured-post h2 {
  font-family: 'Lora', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.3;
}

.featured-post h2 a { color: var(--ink); }
.featured-post h2 a:hover { color: var(--gold); }

.featured-post .post-meta {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.featured-post .post-meta .verse-tag {
  background: var(--warm-gray);
  padding: 2px 9px;
  border-radius: 20px;
  font-size: 0.72rem;
  color: var(--muted);
}

.featured-post p {
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: 18px;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gold);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: gap 0.2s;
}

.read-more:hover { gap: 10px; color: var(--gold); }
.read-more::after { content: '→'; }

/* ── POST LIST (posts.php) ── */
.post-list-header {
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rule);
}

.post-list-header h1 {
  font-family: 'Lora', serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--ink);
}

.post-entry {
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
}

.post-entry:last-child { border-bottom: none; }

.post-entry h2 {
  font-family: 'Lora', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.35;
}

.post-entry h2 a { color: var(--ink); }
.post-entry h2 a:hover { color: var(--gold); }

.post-entry .post-meta {
  font-size: 0.76rem;
  color: var(--muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.post-entry p {
  font-size: 0.93rem;
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 12px;
}

/* ── SINGLE POST ── */
.post-title {
  font-family: 'Lora', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 20px;
}

.post-verse {
  border-left: 2px solid var(--gold);
  padding: 12px 20px;
  margin: 28px 0;
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink-soft);
  background: var(--off-white);
  border-radius: 0 6px 6px 0;
}

.post-body p {
  font-size: 1.03rem;
  line-height: 1.85;
  color: var(--ink-soft);
  margin-bottom: 1.4em;
}

/* ── ABOUT PAGE ── */
.about-img {
  float: left;
  width: 38%;
  margin: 6px 28px 16px 0;
  border-radius: 4px;
}

.about-content h2 {
  font-family: 'Lora', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 20px;
}

.about-content p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--ink-soft);
  margin-bottom: 1.2em;
}

/* ── SIDEBAR ── */
.site-sidebar {
  padding-top: 4px;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.sidebar-section {
  margin-bottom: 36px;
}

.sidebar-heading {
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
}

.sidebar-post-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-post-list li a {
  font-size: 0.875rem;
  color: var(--ink-soft);
  line-height: 1.4;
  transition: color 0.2s;
}

.sidebar-post-list li a:hover { color: var(--gold); }

.social-icons {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
}

.social-icons a {
  display: flex;
  align-items: center;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.social-icons a:hover { opacity: 1; }

.social-icons img {
  width: 26px;
  height: 26px;
}

.rss-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--muted);
  transition: color 0.2s;
}

.rss-link:hover { color: var(--gold); }

/* ── FOOTER ── */
.site-footer {
  border-top: 1px solid var(--rule);
  padding: 28px 32px;
  text-align: center;
}

.site-footer-inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.site-footer p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.8;
}

.site-footer .footer-cross {
  color: var(--gold);
  font-size: 1rem;
  display: block;
  margin-bottom: 8px;
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  .site-body {
    grid-template-columns: 1fr;
    grid-template-areas:
      "main"
      "sidebar";
    gap: 40px;
    padding: 32px 20px 48px;
  }

  .site-header-inner { padding: 0 20px; }
  .site-nav { gap: 20px; }
  .site-sidebar { position: static; }
  .about-img { width: 50%; margin-right: 20px; }
}

@media (max-width: 480px) {
  .site-nav a { font-size: 0.78rem; letter-spacing: 0.06em; }
  .logo-text { font-size: 1.1rem; }
  .about-img { float: none; width: 100%; margin: 0 0 20px 0; }
}



 
/* ----------------------------------------------------------
   Lead Magnet Box
   ---------------------------------------------------------- */
 
.lead-magnet {
    margin-top: 2.5rem;
    padding: 2rem 2rem 1.5rem;
    background-color: #f7f3ee;       /* warm off-white — faith-friendly, not clinical */
    border-left: 4px solid #8b6f47;  /* earthy brown to match homesteading feel */
    border-radius: 4px;
}
 
.lead-magnet h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
    color: #2c2c2c;
}
 
.lead-magnet p {
    margin-bottom: 1.25rem;
    font-size: 0.97rem;
    color: #444;
    line-height: 1.65;
}
 
 
/* ----------------------------------------------------------
   Lead Magnet Form
   ---------------------------------------------------------- */
 
.lead-magnet-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}
 
.lead-magnet-form input[type="email"] {
    flex: 1 1 220px;
    padding: 0.6rem 0.85rem;
    font-size: 0.95rem;
    border: 1px solid #ccc;
    border-radius: 3px;
    background: #fff;
    color: #222;
    outline: none;
    transition: border-color 0.2s;
}
 
.lead-magnet-form input[type="email"]:focus {
    border-color: #8b6f47;
}
 
.lead-magnet-form button[type="submit"] {
    flex: 0 0 auto;
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    background-color: #8b6f47;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.2s;
    white-space: nowrap;
}
 
.lead-magnet-form button[type="submit"]:hover {
    background-color: #6e5535;
}
 
 
/* ----------------------------------------------------------
   Fine Print
   ---------------------------------------------------------- */
 
.fine-print {
    font-size: 0.78rem !important;
    color: #888 !important;
    margin-bottom: 0 !important;
}
 
 
/* ----------------------------------------------------------
   Responsive — stack on small screens
   ---------------------------------------------------------- */
 
@media (max-width: 540px) {
    .lead-magnet {
        padding: 1.5rem 1.25rem 1.25rem;
    }
 
    .lead-magnet-form {
        flex-direction: column;
    }
 
    .lead-magnet-form input[type="email"],
    .lead-magnet-form button[type="submit"] {
        width: 100%;
        flex: none;
    }
}

/* Wrapper for single post article content */
.post-content {
  max-width: 680px;
}
 
.post-content h2 {
  font-family: 'Lora', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 8px;
}
 
/* Byline / date line under the post title */
.post-content .post-meta {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 2rem;
}
 
.post-content h3 {
  font-family: 'Lora', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  margin-top: 2.2rem;
  margin-bottom: 0.6rem;
  line-height: 1.35;
}
 
.post-content p {
  font-size: 1.03rem;
  line-height: 1.85;
  color: var(--ink-soft);
  margin-bottom: 1.4em;
}
 
.post-content hr {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 2.2rem 0;
}
 
.post-content ul,
.post-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.4em;
}
 
.post-content li {
  font-size: 1.03rem;
  line-height: 1.85;
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
}
 
.post-content em {
  color: var(--ink);
}
 
.post-content strong {
  color: var(--ink);
  font-weight: 600;
}
 
/* Call-to-action box at the bottom of each post */
.post-cta {
  margin-top: 2.5rem;
  padding: 1.1rem 1.4rem;
  background: var(--off-white);
  border-left: 3px solid var(--gold);
  border-radius: 0 4px 4px 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ink-soft);
}
 
.post-cta a {
  color: var(--link);
  font-weight: 600;
  text-decoration: none;
}
 
.post-cta a:hover {
  color: var(--gold);
}

/* ============================================================
   Social Icons — updated inline SVG styles
   Add to bottom of style.css
   ============================================================ */
 
.social-icons {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
 
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--muted);
  border: 1px solid var(--rule);
  background: var(--off-white);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  text-decoration: none;
}
 
.social-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}
 
.social-icon:hover {
  color: var(--gold);
  border-color: var(--gold-light);
  background: var(--warm-gray);
}
 
/* Pending accounts — slightly muted to signal not-yet-active */
.social-icon--pending {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
}

/* ============================================================
   Christian Bread — Dark Mode
   Add to bottom of style.css
   ============================================================ */

/* ── SYSTEM PREFERENCE (auto dark if no manual toggle yet) ── */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --white:      #1a1410;
    --off-white:  #221d18;
    --warm-gray:  #2a2420;
    --rule:       #3d3530;
    --gold:       #c9a44a;
    --gold-light: #6b5420;
    --ink:        #f0e8df;
    --ink-soft:   #c8b8a8;
    --muted:      #8c7b68;
    --link:       #c9a44a;
  }
}

/* ── MANUAL DARK TOGGLE ── */
[data-theme="dark"] {
  --white:      #1a1410;
  --off-white:  #221d18;
  --warm-gray:  #2a2420;
  --rule:       #3d3530;
  --gold:       #c9a44a;
  --gold-light: #6b5420;
  --ink:        #f0e8df;
  --ink-soft:   #c8b8a8;
  --muted:      #8c7b68;
  --link:       #c9a44a;
}

/* ── MANUAL LIGHT TOGGLE (overrides system dark preference) ── */
[data-theme="light"] {
  --white:      #ffffff;
  --off-white:  #faf9f7;
  --warm-gray:  #f2ede6;
  --rule:       #e8e0d4;
  --gold:       #b8922a;
  --gold-light: #e8d5a0;
  --ink:        #1c1510;
  --ink-soft:   #3d3128;
  --muted:      #8c7b68;
  --link:       #7a4f1e;
}

/* ── DARK MODE SPECIFICS ── */
/* Lead magnet box */
[data-theme="dark"] .lead-magnet {
  background-color: #2a2420;
  border-left-color: #c9a44a;
}
 
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .lead-magnet {
    background-color: #2a2420;
    border-left-color: #c9a44a;
  }
}

[data-theme="dark"] .lead-magnet h3 { color: #f0e8df; }
[data-theme="dark"] .lead-magnet p  { color: #c8b8a8; }

[data-theme="dark"] .lead-magnet-form input[type="email"] {
  background: #1a1410;
  border-color: #3d3530;
  color: #f0e8df;
}

[data-theme="dark"] .lead-magnet-form input[type="email"]:focus {
  border-color: #c9a44a;
}

[data-theme="dark"] .lead-magnet-form button[type="submit"] {
  background-color: #c9a44a;
  color: #1a1410;
}

[data-theme="dark"] .lead-magnet-form button[type="submit"]:hover {
  background-color: #b8922a;
}

/* Post verse block */
[data-theme="dark"] .post-verse {
  background: #221d18;
  border-left-color: #c9a44a;
}

/* Post CTA box */
[data-theme="dark"] .post-cta {
  background: #221d18;
  border-left-color: #c9a44a;
}

/* Social icons */
[data-theme="dark"] .social-icon {
  background: #221d18;
  border-color: #3d3530;
  color: #8c7b68;
}

[data-theme="dark"] .social-icon:hover {
  color: #c9a44a;
  border-color: #6b5420;
  background: #2a2420;
}

/* ── DARK MODE TOGGLE BUTTON ── */
.dark-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--rule);
  background: var(--off-white);
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  flex-shrink: 0;
  padding: 0;
}

.dark-toggle:hover {
  color: var(--gold);
  border-color: var(--gold-light);
  background: var(--warm-gray);
}

.dark-toggle svg {
  width: 16px;
  height: 16px;
  display: block;
  pointer-events: none;
}

/* Show sun in dark mode, moon in light mode */
.dark-toggle .icon-moon { display: block; }
.dark-toggle .icon-sun  { display: none;  }

[data-theme="dark"] .dark-toggle .icon-moon { display: none;  }
[data-theme="dark"] .dark-toggle .icon-sun  { display: block; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .dark-toggle .icon-moon { display: none;  }
  :root:not([data-theme="light"]) .dark-toggle .icon-sun  { display: block; }
}


/* ============================================================
   Contact Page Styles — add to bottom of style.css
   ============================================================ */

.contact-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule);
}

.contact-intro {
  font-size: 1.03rem;
  line-height: 1.85;
  color: var(--ink-soft);
  max-width: 560px;
  margin-top: 0.75rem;
}

/* ── Status messages ── */
.contact-msg {
  padding: 0.9rem 1.2rem;
  border-radius: 4px;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.contact-msg--success {
  background: #eaf3de;
  border-left: 3px solid #3b6d11;
  color: #2a4f0c;
}

.contact-msg--error {
  background: #fdf0ef;
  border-left: 3px solid #c0392b;
  color: #7b1f1f;
}

/* ── Form layout ── */
.contact-form {
  max-width: 560px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.4rem;
  position: relative;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.required {
  color: var(--gold);
  margin-left: 2px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.9rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.97rem;
  color: var(--ink);
  background: var(--off-white);
  border: 1px solid var(--rule);
  border-radius: 4px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  line-height: 1.6;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 160px;
}

/* Character counter */
.char-count {
  font-size: 0.75rem;
  color: var(--muted);
  text-align: right;
  margin-top: 4px;
}

/* ── Submit button ── */
.contact-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.7rem 1.6rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  background: var(--gold);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s, gap 0.2s;
  margin-top: 0.5rem;
}

.contact-submit:hover {
  background: var(--link);
  gap: 12px;
}

/* ── Honeypot — visually hidden from real users ── */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

/* ── hCaptcha sizing ── */
.h-captcha {
  margin-bottom: 0.5rem;
}

/* ── Dark mode overrides ── */
[data-theme="dark"] .form-group input[type="text"],
[data-theme="dark"] .form-group input[type="email"],
[data-theme="dark"] .form-group textarea {
  background: var(--off-white);
  border-color: var(--rule);
  color: var(--ink);
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group textarea:focus {
  border-color: var(--gold);
  background: var(--warm-gray);
}

[data-theme="dark"] .contact-msg--success {
  background: #1a2e0f;
  color: #8fc96a;
}

[data-theme="dark"] .contact-msg--error {
  background: #2e0f0f;
  color: #e07070;
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .contact-form { max-width: 100%; }
}

/* ============================================================
   Sitemap Page + Footer Layout — add to bottom of style.css
   New rules only — no duplicates with existing footer styles
   ============================================================ */

/* ── Sitemap page ── */
.sitemap-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule);
}

.sitemap-section {
  margin-bottom: 2.5rem;
}

.sitemap-section-title {
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--rule);
}

.sitemap-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sitemap-list li {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.95rem;
  line-height: 1.5;
}

.sitemap-list li:last-child { border-bottom: none; }

.sitemap-list a {
  color: var(--link);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.sitemap-list a:hover { color: var(--gold); }

.sitemap-desc {
  color: var(--muted);
  font-size: 0.87rem;
}

/* ── Footer layout overrides ──────────────────────────────── */
/* Overrides the existing centered single-column footer */

.site-footer {
  border-top: 1px solid var(--rule);
  padding: 40px 32px 24px;
  text-align: left;             /* override existing center */
}

.site-footer-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Two-column top row */
.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 20px;
  align-items: start;
}


.footer-block-label {
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 14px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav a {
  font-size: 0.88rem;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 400;
}

.footer-nav a:hover { color: var(--gold); }

/* Right — tagline block */
.footer-tagline-block {
  text-align: right;
}

.site-footer .footer-cross {
  color: var(--gold);
  font-size: 1.1rem;
  display: block;
  margin-bottom: 10px;
}

.footer-tagline {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 0.95rem !important;
  color: var(--ink-soft) !important;
  line-height: 1.7 !important;
  margin-bottom: 6px !important;
}

.footer-site {
  font-size: 0.78rem !important;
  color: var(--muted) !important;
  font-weight: 500;
}

/* Bottom — copyright centered across full width */
.footer-bottom {
  text-align: center;
}

.footer-bottom p {
  font-size: 0.78rem !important;
  color: var(--muted) !important;
  line-height: 1.6 !important;
}

/* ── Dark mode ── */
[data-theme="dark"] .footer-nav a { color: var(--ink-soft); }
[data-theme="dark"] .footer-nav a:hover { color: var(--gold); }

/* ── Mobile — stack columns ── */
@media (max-width: 640px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-tagline-block {
    text-align: left;
  }

  .site-footer {
    padding: 32px 20px 20px;
    text-align: left;
  }
}