/*
Theme Name: Muslim Family Academy
Theme URI: https://muslimfamilyacademy.com
Author: Muslim Family Academy
Description: Brand-kit theme for Muslim Family Academy — blog, ebook library, and content pillars. Maroon and cherry palette, Lora and Poppins typography, built to the MFA Brand Kit v1.0.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mfa
Tags: education, blog, custom-logo, custom-menu, featured-images, translation-ready
*/

/* ============================================================
   1. TOKENS  — from MFA Brand Kit v1.0
   ============================================================ */
:root {
  --maroon-950: #3A0A10;
  --maroon-800: #5C1219;
  --maroon-600: #8C1D24;
  --cherry-600: #C4232F;
  --cherry-400: #E85D5F;
  --cherry-100: #FBE4E1;
  --ivory:      #FBF8F2;
  --cream:      #F5EFE2;
  --ink:        #1C1C1A;

  --serif: 'Lora', Georgia, 'Times New Roman', serif;
  --sans:  'Poppins', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  --wrap: 1140px;
  --wrap-narrow: 720px;
  --radius: 4px;
  --shadow: 0 1px 2px rgba(58, 10, 16, .06), 0 8px 24px rgba(58, 10, 16, .07);
  --shadow-lift: 0 2px 4px rgba(58, 10, 16, .08), 0 18px 40px rgba(58, 10, 16, .14);
  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ============================================================
   2. RESET / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--maroon-600); text-decoration: none; }
a:hover { color: var(--cherry-600); }
:focus-visible { outline: 2px solid var(--cherry-600); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, h4, h5 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--maroon-950);
  line-height: 1.22;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
p  { margin: 0 0 1.15em; }
blockquote {
  margin: 2rem 0;
  padding: .25rem 0 .25rem 1.6rem;
  border-left: 3px solid var(--cherry-600);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--maroon-800);
}
blockquote p:last-child { margin-bottom: 0; }
hr { border: 0; border-top: 1px solid rgba(58,10,16,.12); margin: 2.5rem 0; }
code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; }
pre { background: var(--cream); padding: 1rem 1.15rem; border-radius: var(--radius); overflow-x: auto; }
table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .95rem; }
th, td { text-align: left; padding: .7rem .9rem; border-bottom: 1px solid rgba(58,10,16,.1); }
th { font-family: var(--sans); font-weight: 600; color: var(--maroon-950); }
tbody tr:nth-child(even) { background: var(--cream); }

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px;
  overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--maroon-950); color: var(--ivory); padding: .75rem 1.25rem;
}
.skip-link:focus { left: 1rem; top: 1rem; color: var(--ivory); }

/* ============================================================
   3. LAYOUT HELPERS
   ============================================================ */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: var(--wrap-narrow); }
.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section--cream { background: var(--cream); }
.section--maroon { background: var(--maroon-950); color: var(--cream); }
.section--maroon h2, .section--maroon h3 { color: var(--ivory); }

.eyebrow {
  font-family: var(--sans);
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cherry-600);
  margin: 0 0 .9rem;
  display: block;
}
.section--maroon .eyebrow { color: var(--cherry-400); }
.lede { font-size: 1.075rem; color: rgba(28,28,26,.78); max-width: 62ch; }
.section--maroon .lede { color: rgba(251,248,242,.78); }
.section-head { margin-bottom: 40px; }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; max-width: 660px; }
.section-head--center .lede { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--sans); font-weight: 600; font-size: .9rem;
  letter-spacing: .01em;
  padding: .85rem 1.6rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--cherry-600); color: var(--ivory); }
.btn--primary:hover { background: var(--maroon-600); color: var(--ivory); }
.btn--ghost { background: transparent; color: var(--ivory); border-color: rgba(251,248,242,.42); }
.btn--ghost:hover { background: rgba(251,248,242,.1); color: var(--ivory); border-color: var(--ivory); }
.btn--outline { background: transparent; color: var(--maroon-600); border-color: rgba(140,29,36,.35); }
.btn--outline:hover { background: var(--maroon-600); color: var(--ivory); }
.btn--block { display: flex; justify-content: center; width: 100%; }

/* ============================================================
   4. HEADER
   ============================================================ */
.site-header {
  background: var(--ivory);
  border-bottom: 1px solid rgba(58,10,16,.1);
  position: sticky; top: 0; z-index: 50;
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.site-brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.site-brand img { width: 46px; height: 46px; object-fit: contain; }
.site-brand .brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.site-brand .brand-name {
  font-family: var(--serif); font-weight: 600; font-size: 1.02rem; color: var(--maroon-950);
  letter-spacing: .005em;
}
.site-brand .brand-tag {
  font-family: var(--sans); font-size: .62rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--maroon-600); opacity: .8;
}

.nav-menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-menu li { position: relative; }
.nav-menu a {
  display: block; padding: .5rem .85rem;
  font-size: .9rem; font-weight: 500; color: var(--ink);
  border-radius: var(--radius); transition: color .18s var(--ease), background-color .18s var(--ease);
}
.nav-menu a:hover { color: var(--maroon-600); background: var(--cream); }
.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a { color: var(--cherry-600); }
.nav-menu .sub-menu {
  position: absolute; left: 0; top: 100%; min-width: 210px;
  background: var(--ivory); border: 1px solid rgba(58,10,16,.1);
  border-radius: var(--radius); box-shadow: var(--shadow);
  list-style: none; margin: 0; padding: .35rem;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: all .18s var(--ease);
}
.nav-menu li:hover > .sub-menu,
.nav-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.header-cta { flex-shrink: 0; }
.nav-toggle {
  display: none; background: none; border: 0; padding: .5rem; cursor: pointer;
  color: var(--maroon-950);
}
.nav-toggle svg { display: block; }

@media (max-width: 900px) {
  .nav-toggle { display: block; margin-left: auto; }
  .site-brand { margin-right: 0; }
  .header-cta { display: none; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--ivory); border-bottom: 1px solid rgba(58,10,16,.1);
    box-shadow: var(--shadow);
    max-height: 0; overflow: hidden; transition: max-height .3s var(--ease);
  }
  .site-nav.is-open { max-height: 80vh; overflow-y: auto; }
  .nav-menu { flex-direction: column; align-items: stretch; padding: 12px 24px 20px; gap: 0; }
  .nav-menu a { padding: .8rem 0; border-bottom: 1px solid rgba(58,10,16,.07); border-radius: 0; }
  .nav-menu .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; padding: 0 0 0 1rem;
  }
}

/* ============================================================
   5. HERO
   ============================================================ */
.hero {
  position: relative;
  background:
    radial-gradient(120% 90% at 78% 12%, rgba(196,35,47,.30) 0%, rgba(58,10,16,0) 58%),
    linear-gradient(168deg, var(--maroon-950) 0%, var(--maroon-800) 62%, #460d14 100%);
  color: var(--cream);
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232,93,95,.5), transparent);
}
.hero-inner {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center;
  padding: 84px 0 92px;
}
.hero h1 { color: var(--ivory); font-size: clamp(2.15rem, 4.6vw, 3.35rem); margin-bottom: .55em; }
.hero h1 em { font-style: italic; color: var(--cherry-400); }
.hero .lede { color: rgba(251,248,242,.8); font-size: 1.1rem; max-width: 52ch; }
.hero-eyebrow { color: var(--cherry-400); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-crest { justify-self: center; position: relative; }
.hero-crest img {
  width: min(340px, 80vw);
  filter: drop-shadow(0 24px 48px rgba(0,0,0,.4));
  mix-blend-mode: normal;
  border-radius: 8px;
}
.hero-proof {
  display: flex; flex-wrap: wrap; gap: 28px; margin-top: 34px;
  padding-top: 26px; border-top: 1px solid rgba(251,248,242,.16);
}
.hero-proof div { line-height: 1.3; }
.hero-proof strong {
  display: block; font-family: var(--serif); font-size: 1.5rem; color: var(--ivory); font-weight: 600;
}
.hero-proof span {
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(251,248,242,.6);
}
@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; padding: 56px 0 64px; text-align: left; }
  .hero-crest { order: -1; justify-self: start; }
  .hero-crest img { width: min(190px, 46vw); }
}

/* ============================================================
   6. JOURNEY RAIL  (signature element)
   ============================================================ */
.journey { background: var(--maroon-950); color: var(--cream); padding: 64px 0 70px; }
.journey .section-head { margin-bottom: 34px; }
.journey-rail {
  display: flex; gap: 0; overflow-x: auto; padding-bottom: 12px;
  scrollbar-width: thin; scrollbar-color: rgba(232,93,95,.5) transparent;
}
.journey-rail::-webkit-scrollbar { height: 4px; }
.journey-rail::-webkit-scrollbar-thumb { background: rgba(232,93,95,.5); border-radius: 4px; }
.journey-step {
  flex: 0 0 auto; min-width: 156px; padding: 26px 22px 22px 0; position: relative;
}
.journey-step::before {
  content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 1px;
  background: rgba(251,248,242,.2);
}
.journey-step::after {
  content: ""; position: absolute; left: 0; top: 5px;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--maroon-950); border: 2px solid var(--cherry-400);
}
.journey-step:last-child::before { background: linear-gradient(90deg, rgba(251,248,242,.2), transparent); }
.journey-step .step-no {
  font-size: .65rem; letter-spacing: .16em; color: rgba(232,93,95,.9); display: block; margin-bottom: .35rem;
}
.journey-step .step-label {
  font-family: var(--serif); font-size: 1rem; color: var(--ivory); font-weight: 600; display: block;
}
.journey-step .step-note { font-size: .78rem; color: rgba(251,248,242,.55); margin-top: .3rem; display: block; }

/* ============================================================
   7. PILLAR CARDS
   ============================================================ */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.pillar {
  background: var(--ivory);
  border: 1px solid rgba(58,10,16,.11);
  border-radius: var(--radius);
  padding: 26px 24px 24px;
  display: flex; flex-direction: column;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.pillar:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: rgba(196,35,47,.3); }
.pillar .pillar-no {
  font-family: var(--serif); font-size: .95rem; color: var(--cherry-600);
  border-bottom: 1px solid rgba(196,35,47,.25); padding-bottom: .5rem; margin-bottom: .9rem;
  display: block; letter-spacing: .04em;
}
.pillar h3 { margin-bottom: .4rem; }
.pillar p { font-size: .9rem; color: rgba(28,28,26,.72); margin: 0; }

/* ============================================================
   8. POST + EBOOK CARDS
   ============================================================ */
.card {
  background: var(--ivory);
  border: 1px solid rgba(58,10,16,.11);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.card-thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--cream); }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card-thumb img { transform: scale(1.04); }
.card-thumb--placeholder {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, var(--maroon-950), var(--maroon-800));
}
.card-thumb--placeholder span {
  font-family: var(--serif); font-size: 2rem; color: rgba(232,93,95,.75);
}
.card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card-meta {
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cherry-600); margin-bottom: .6rem; font-weight: 600;
}
.card h3 { font-size: 1.13rem; margin-bottom: .5rem; }
.card h3 a { color: var(--maroon-950); }
.card h3 a:hover { color: var(--cherry-600); }
.card p { font-size: .9rem; color: rgba(28,28,26,.72); margin: 0 0 1.1rem; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-link {
  font-size: .82rem; font-weight: 600; color: var(--maroon-600);
  display: inline-flex; align-items: center; gap: .35rem;
}
.card-link::after { content: "→"; transition: transform .2s var(--ease); }
.card-link:hover::after { transform: translateX(3px); }
.card-price { font-family: var(--serif); font-weight: 600; color: var(--maroon-950); }
.card-price .free { color: var(--cherry-600); }

/* Ebook cards use portrait covers */
.ebook-card .card-thumb { aspect-ratio: 3 / 4; }
.ebook-card .card-thumb img { object-fit: cover; }

/* ============================================================
   9. SINGLE POST / PAGE
   ============================================================ */
.page-hero {
  background: linear-gradient(165deg, var(--maroon-950), var(--maroon-800));
  color: var(--cream);
  padding: 62px 0 66px;
}
.page-hero h1 { color: var(--ivory); margin-bottom: .3em; }
.page-hero .lede { color: rgba(251,248,242,.78); }
.page-hero .post-meta { color: rgba(251,248,242,.6); }
.post-meta {
  font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(28,28,26,.55); display: flex; flex-wrap: wrap; gap: 14px; align-items: center;
}
.post-meta a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

.entry { padding: 56px 0 72px; }
.entry-content { font-size: 1.03rem; }
.entry-content h2 { margin-top: 2.2em; }
.entry-content h3 { margin-top: 1.8em; }
.entry-content ul, .entry-content ol { padding-left: 1.3rem; margin: 0 0 1.3em; }
.entry-content li { margin-bottom: .45em; }
.entry-content img, .entry-content figure { border-radius: var(--radius); margin: 2rem 0; }
.entry-content figcaption { font-size: .82rem; color: rgba(28,28,26,.6); text-align: center; margin-top: .6rem; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.featured-image { margin-bottom: 40px; border-radius: var(--radius); overflow: hidden; }

.evidence-note {
  background: var(--cream);
  border-left: 3px solid var(--maroon-600);
  padding: 18px 22px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .92rem;
  margin: 2rem 0;
}
.evidence-note strong { font-family: var(--sans); color: var(--maroon-950); }

.entry-tags { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 8px; }
.entry-tags a {
  background: var(--cherry-100); color: var(--maroon-800);
  font-size: .76rem; padding: .35rem .8rem; border-radius: 100px;
}
.entry-tags a:hover { background: var(--cherry-600); color: var(--ivory); }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 48px; }
.post-nav a {
  border: 1px solid rgba(58,10,16,.12); border-radius: var(--radius);
  padding: 18px 20px; display: block;
}
.post-nav a:hover { border-color: var(--cherry-600); }
.post-nav span {
  display: block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cherry-600); margin-bottom: .4rem;
}
.post-nav strong { font-family: var(--serif); font-weight: 600; color: var(--maroon-950); font-size: .98rem; }
.post-nav .next { text-align: right; }
@media (max-width: 620px) { .post-nav { grid-template-columns: 1fr; } }

/* ============================================================
   10. EBOOK SINGLE
   ============================================================ */
.ebook-single { padding: 0 0 72px; }
.ebook-hero {
  background: linear-gradient(165deg, var(--maroon-950), var(--maroon-800));
  color: var(--cream); padding: 62px 0 66px;
}
.ebook-hero-inner { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: start; }
.ebook-cover {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.42);
  background: var(--cream);
}
.ebook-cover img { width: 100%; }
.ebook-hero h1 { color: var(--ivory); }
.ebook-hero .lede { color: rgba(251,248,242,.8); }
.ebook-specs {
  list-style: none; padding: 0; margin: 26px 0 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 18px;
  border-top: 1px solid rgba(251,248,242,.16); padding-top: 22px;
}
.ebook-specs span {
  display: block; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(251,248,242,.55); margin-bottom: .25rem;
}
.ebook-specs strong { font-family: var(--serif); font-weight: 600; color: var(--ivory); font-size: 1.05rem; }
.ebook-buy { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }
.ebook-price { font-family: var(--serif); font-size: 1.6rem; color: var(--ivory); font-weight: 600; }
.ebook-price small { font-size: .85rem; color: rgba(251,248,242,.5); text-decoration: line-through; margin-left: .5rem; }
@media (max-width: 820px) {
  .ebook-hero-inner { grid-template-columns: 1fr; gap: 30px; }
  .ebook-cover { max-width: 240px; }
}

.buy-bar {
  background: var(--cream); border: 1px solid rgba(58,10,16,.12);
  border-radius: var(--radius); padding: 26px 28px; margin-top: 44px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
}
.buy-bar h3 { margin: 0 0 .25rem; }
.buy-bar p { margin: 0; font-size: .9rem; color: rgba(28,28,26,.7); }

/* ============================================================
   11. EMAIL CAPTURE
   ============================================================ */
.capture {
  background:
    radial-gradient(110% 120% at 90% 0%, rgba(196,35,47,.28), transparent 60%),
    var(--maroon-950);
  color: var(--cream); padding: 64px 0;
}
.capture-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.capture h2 { color: var(--ivory); }
.capture p { color: rgba(251,248,242,.76); margin-bottom: 0; }
.capture-form { display: flex; gap: 10px; flex-wrap: wrap; }
.capture-form input[type="email"] {
  flex: 1 1 240px; padding: .9rem 1.1rem;
  border: 1px solid rgba(251,248,242,.3); background: rgba(251,248,242,.07);
  color: var(--ivory); border-radius: var(--radius); font-family: var(--sans); font-size: .95rem;
}
.capture-form input::placeholder { color: rgba(251,248,242,.45); }
.capture-form input:focus { outline: 2px solid var(--cherry-400); outline-offset: 1px; }
.capture-note { font-size: .76rem; color: rgba(251,248,242,.5); margin-top: .9rem; }
@media (max-width: 780px) { .capture-inner { grid-template-columns: 1fr; gap: 26px; } }

/* ============================================================
   12. PAGINATION / ARCHIVE
   ============================================================ */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 48px; flex-wrap: wrap; }
.pagination .page-numbers {
  min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  padding: 0 .7rem; border: 1px solid rgba(58,10,16,.14); border-radius: var(--radius);
  font-size: .88rem; color: var(--maroon-800);
}
.pagination .page-numbers:hover { border-color: var(--cherry-600); color: var(--cherry-600); }
.pagination .current { background: var(--maroon-950); border-color: var(--maroon-950); color: var(--ivory); }

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter-bar a {
  font-size: .82rem; padding: .45rem 1rem; border-radius: 100px;
  border: 1px solid rgba(58,10,16,.16); color: var(--maroon-800);
}
.filter-bar a:hover, .filter-bar a.is-active { background: var(--maroon-950); color: var(--ivory); border-color: var(--maroon-950); }

.search-form { display: flex; gap: 8px; max-width: 420px; }
.search-form input[type="search"] {
  flex: 1; padding: .75rem 1rem; border: 1px solid rgba(58,10,16,.18);
  border-radius: var(--radius); font-family: var(--sans); font-size: .92rem; background: var(--ivory);
}
.search-form input[type="search"]:focus { outline: 2px solid var(--cherry-600); outline-offset: 1px; }

.empty-state { text-align: center; padding: 64px 0; }
.empty-state h2 { margin-bottom: .4rem; }
.empty-state p { color: rgba(28,28,26,.7); }

/* ============================================================
   13. FOOTER
   ============================================================ */
.site-footer { background: var(--maroon-950); color: rgba(251,248,242,.72); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 48px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { width: 44px; height: 44px; object-fit: contain; }
.footer-brand span { font-family: var(--serif); font-size: 1rem; color: var(--ivory); font-weight: 600; }
.site-footer p { font-size: .88rem; line-height: 1.7; }
.site-footer h4 {
  font-family: var(--sans); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--cherry-400); margin-bottom: 1rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { color: rgba(251,248,242,.72); font-size: .9rem; }
.site-footer a:hover { color: var(--cherry-400); }
.footer-bottom {
  border-top: 1px solid rgba(251,248,242,.14); padding: 22px 0 28px;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: .8rem; color: rgba(251,248,242,.5);
}
.footer-dua { font-family: var(--serif); font-style: italic; color: rgba(251,248,242,.62); }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ============================================================
   14. WP CORE CLASSES
   ============================================================ */
.alignleft { float: left; margin: .5rem 1.5rem 1rem 0; }
.alignright { float: right; margin: .5rem 0 1rem 1.5rem; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.sticky .card-meta::after { content: " · Featured"; }
.comment-respond { margin-top: 56px; }
.comment-respond input[type="text"], .comment-respond input[type="email"],
.comment-respond input[type="url"], .comment-respond textarea {
  width: 100%; padding: .7rem .9rem; border: 1px solid rgba(58,10,16,.18);
  border-radius: var(--radius); font-family: var(--sans); margin-bottom: 1rem; font-size: .95rem;
}
.comment-respond .submit {
  background: var(--cherry-600); color: var(--ivory); border: 0;
  padding: .85rem 1.6rem; border-radius: var(--radius); font-family: var(--sans);
  font-weight: 600; cursor: pointer;
}
.comment-list { list-style: none; padding: 0; }
.comment-list li { border-bottom: 1px solid rgba(58,10,16,.1); padding: 1.2rem 0; }
