/* ============================================================
   THE LIGHT MEDIA — Global Stylesheet
   Aesthetic: Sacred-Modern | Deep Navy + Gold + Ivory
   ============================================================ */

/* Fonts (Playfair Display, Cormorant Garamond, Jost) are loaded by a <link> in each page's <head>,
   so the browser fetches them in parallel instead of after this stylesheet. */

/* ─── CSS Variables ──────────────────────────────────────── */
:root {
  --navy:      #0d1b2a;
  --navy-mid:  #132336;
  --navy-light:#1e3a5f;
  --gold:      #c9a84c;
  --gold-light:#e6c97a;
  --gold-pale: #f5e9c8;
  --ivory:     #faf6ee;
  --ivory-dark:#f0e9d8;
  --white:     #ffffff;
  --text-dark: #1a1a1a;
  --text-mid:  #4a4a4a;
  --text-muted:#8a8a8a;
  --border:    rgba(201,168,76,0.25);
  --shadow-sm: 0 2px 12px rgba(13,27,42,0.12);
  --shadow-md: 0 8px 32px rgba(13,27,42,0.18);
  --shadow-lg: 0 20px 60px rgba(13,27,42,0.28);
  --radius:    4px;
  --radius-lg: 10px;
  --ff-display: 'Playfair Display', Georgia, serif;
  --ff-serif:   'Cormorant Garamond', Georgia, serif;
  --ff-sans:    'Jost', sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--ff-sans);
  background: var(--ivory);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ─── Scrollbar ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ─── Utility Classes ────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.container--wide { max-width: 1400px; margin: 0 auto; padding: 0 2rem; }
.section-pad { padding: 80px 0; }
.text-gold   { color: var(--gold); }
.text-ivory  { color: var(--ivory); }
.text-navy   { color: var(--navy); }
.text-center { text-align: center; }

.divider {
  width: 60px; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 1.2rem auto;
}
.divider--left { margin-left: 0; }

/* ─── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }

.eyebrow {
  font-family: var(--ff-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.lead {
  font-family: var(--ff-serif);
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.8;
}

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.8rem;
  font-family: var(--ff-sans); font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  border: none; cursor: pointer; border-radius: var(--radius);
  transition: all var(--transition);
}
.btn--gold {
  background: var(--gold);
  color: var(--navy);
}
.btn--gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.35);
}
.btn--custom {
  background: rgb(1, 96, 164);
  color: white;
}
.btn--custom:hover {
  background: rgb(1, 96, 164);
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(1,96,164,0.35);
}
.btn--outline {
  background: transparent;
  border: 1.5px solid rgb(1, 96, 164);
  color: var(--navy);
}
.btn--outline:hover {
  background: rgb(1, 96, 164);
  color: var(--ivory);
  transform: translateY(-2px);
}
.btn--white {
  background: var(--white);
  color: var(--navy);
}
.btn--white:hover {
  background: var(--ivory);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn--nav {
  background: var(--ivory);
  color: var(--navy);
  padding: 0.55rem 1.3rem;
  font-size: 0.78rem;
}
.btn--nav:hover { background: var(--ivory-dark); }

/* ─── NAVIGATION ─────────────────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background:rgb(1, 96, 164);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.navbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px; gap: 1.5rem;
}

.navbar__brand {
  display: flex; align-items: center; gap: 0.8rem;
  flex-shrink: 0;
}
.navbar__logo {
  width: 40px;
  height: 40px;
  display: block;
  border-radius: 50%;
  border: 2px solid var(--gold);
  padding: 2px;
  object-fit: cover;
  box-shadow: 0 0 12px rgba(201, 168, 76, 0.3);
}
.navbar__brand-text { display: flex; flex-direction: column; line-height: 1; }
.navbar__brand-name {
  font-family: var(--ff-display); font-size: 1.05rem; font-weight: 700;
  color: var(--ivory); letter-spacing: 0.03em;
}
.navbar__brand-tagline {
  font-size: 0.34rem; font-weight: 400; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ivory);
}

.navbar__nav { display: flex; align-items: center; gap: 0.2rem; }
.navbar__link {
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(250,246,238,0.75);
  padding: 0.45rem 0.85rem; border-radius: var(--radius);
  transition: all var(--transition); position: relative;
}
.navbar__link:hover,
.navbar__link.active { color: rgb(76, 176, 201); }
.navbar__link::after {
  content: ''; position: absolute; bottom: 0; left: 0.85rem; right: 0.85rem;
  height: 1.5px; background: rgb(76, 176, 201); transform: scaleX(0);
  transition: transform var(--transition);
}
.navbar__link:hover::after,
.navbar__link.active::after { transform: scaleX(1); }

/* Dropdown */
.navbar__dropdown { position: relative; }
.navbar__dropdown-menu {
  position: absolute; top: calc(100% + 0.5rem); left: 50%; transform: translateX(-50%);
  background:rgb(1, 96, 164); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 0.5rem;
  min-width: 180px; opacity: 0; visibility: hidden;
  transform: translateX(-50%) translateY(-10px);
  transition: all 0.25s ease;
  box-shadow: var(--shadow-lg);
}
.navbar__dropdown:hover .navbar__dropdown-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.navbar__dropdown-item {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.65rem 1rem; border-radius: var(--radius);
  font-size: 0.82rem; color: rgba(250,246,238,0.8);
  transition: all var(--transition);
}
.navbar__dropdown-item:hover { background: rgba(201,168,76,0.1); color: var(--gold); }
.navbar__dropdown-item .icon { font-size: 1rem; }

/* Search Bar in Nav */
.navbar__search {
  display: flex; align-items: center;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 30px;
  overflow: hidden; transition: all var(--transition);
  flex: 0 1 220px;
}
.navbar__search:focus-within {
  border-color: var(--gold);
  background: rgba(255,255,255,0.1);
  flex-basis: 260px;
}
.navbar__search input {
  background: none; border: none; outline: none;
  padding: 0.45rem 1rem; color: var(--ivory); font-size: 0.82rem;
  font-family: var(--ff-sans); width: 100%;
}
.navbar__search input::placeholder { color: rgba(250,246,238,0.4); }
.navbar__search button {
  background: none; border: none; cursor: pointer;
  padding: 0.45rem 0.85rem; color: var(--navy); font-size: 0.9rem;
  transition: color var(--transition);
}
.navbar__search button:hover { color: var(--ivory); }

/* Mobile menu toggle */
.navbar__toggle {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 4px;
}
.navbar__toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--gold); transition: all var(--transition);
}

/* ─── PAGE HERO BANNER ───────────────────────────────────── */
.page-hero {
  background:rgb(1, 96, 164);
  padding: 60px 0 50px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(201,168,76,0.08) 0%, transparent 70%);
}
.page-hero__content { position: relative; z-index: 1; }
.page-hero h1 { color: var(--ivory); margin-bottom: 0.75rem; }
.page-hero p { color: rgba(250,246,238,0.65); max-width: 560px; }

/* Breadcrumb */
.breadcrumb {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; color: rgba(250,246,238,0.5);
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span::before { content: '/'; margin-right: 0.5rem; }

/* ─── CARDS ──────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.05);
  transition: all var(--transition);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.card__img { width: 100%; height: 200px; object-fit: cover; }
.card__body { padding: 1.5rem; }
.card__tag {
  display: inline-block;
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gold);
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.25);
  padding: 0.25rem 0.65rem; border-radius: 30px;
  margin-bottom: 0.8rem;
}
.card__title { font-size: 1.15rem; margin-bottom: 0.5rem; }
.card__desc { font-size: 0.88rem; color: var(--text-mid); line-height: 1.65; }
.card__footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(0,0,0,0.06);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem; color: var(--text-muted);
}
.card__read-more {
  font-size: 0.8rem; font-weight: 600; color: var(--gold);
  display: flex; align-items: center; gap: 0.3rem;
  transition: gap var(--transition);
}
.card:hover .card__read-more { gap: 0.6rem; }

/* ─── GRID LAYOUTS ───────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }

/* ─── SECTION HEADERS ────────────────────────────────────── */
.section-header { margin-bottom: 3rem; }
.section-header--center { text-align: center; }
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p { max-width: 560px; color: var(--text-mid); }
.section-header--center p { margin: 0 auto; }

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer {
  background:rgb(1, 96, 164);
  color: rgba(250,246,238,0.7);
  padding: 60px 0 0;
  border-top: 1px solid rgba(201,168,76,0.15);
}
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(201,168,76,0.12);
}
.footer__brand p { font-size: 0.88rem; margin: 1rem 0 1.5rem; line-height: 1.8; }
.footer__socials { display: flex; gap: 0.75rem; }
.footer__social-link {
  width: 36px; height: 36px;
  background: rgba(201,168,76,0.1); border: 1px solid rgba(201,168,76,0.2);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; color: var(--gold); transition: all var(--transition);
}
.footer__social-link:hover {
  background: var(--gold); color: var(--navy);
}
.footer__col h4 {
  font-family: var(--ff-sans); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 1.2rem;
}
.footer__col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__col a { font-size: 0.88rem; transition: color var(--transition); }
.footer__col a:hover { color: var(--gold); }

.footer__newsletter p { font-size: 0.88rem; margin-bottom: 1rem; }
.footer__newsletter-form { display: flex; gap: 0; }
.footer__newsletter-form input {
  flex: 1; background: rgba(255,255,255,0.07); border: 1px solid rgba(201,168,76,0.2);
  border-right: none; border-radius: var(--radius) 0 0 var(--radius);
  padding: 0.65rem 1rem; color: var(--ivory); font-family: var(--ff-sans); font-size: 0.85rem;
  outline: none;
}
.footer__newsletter-form input:focus { border-color: var(--gold); }
.footer__newsletter-form button {
  background: var(--gold); border: none; color: var(--navy);
  padding: 0.65rem 1.1rem; border-radius: 0 var(--radius) var(--radius) 0;
  cursor: pointer; font-size: 0.85rem; transition: background var(--transition);
}
.footer__newsletter-form button:hover { background: var(--gold-light); }

.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 0; font-size: 0.78rem; color: rgba(250,246,238,0.4);
}
.footer__bottom-links { display: flex; gap: 1.5rem; }
.footer__bottom-links a:hover { color: var(--gold); }

/* ─── SEARCH RESULTS OVERLAY ─────────────────────────────── */
.search-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(13,27,42,0.95); backdrop-filter: blur(8px);
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 10vh;
  opacity: 0; visibility: hidden; transition: all 0.3s ease;
}
.search-overlay.active { opacity: 1; visibility: visible; }
.search-overlay__box {
  background: var(--navy-mid); border: 1px solid var(--border);
  border-radius: var(--radius-lg); width: 100%; max-width: 680px;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.search-overlay__header {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.search-overlay__input {
  flex: 1; background: none; border: none; outline: none;
  font-family: var(--ff-display); font-size: 1.4rem; color: var(--ivory);
}
.search-overlay__input::placeholder { color: rgba(250,246,238,0.3); }
.search-overlay__close {
  background: none; border: none; cursor: pointer;
  color: rgba(250,246,238,0.5); font-size: 1.2rem; padding: 0.3rem;
  transition: color var(--transition);
}
.search-overlay__close:hover { color: var(--gold); }
.search-overlay__results { padding: 1rem; max-height: 60vh; overflow-y: auto; }
.search-result-item {
  display: flex; gap: 1rem; padding: 1rem;
  border-radius: var(--radius); cursor: pointer; transition: background var(--transition);
}
.search-result-item:hover { background: rgba(201,168,76,0.08); }
.search-result-item__icon {
  width: 42px; height: 42px; flex-shrink: 0;
  background: rgba(201,168,76,0.12); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1.1rem;
}
.search-result-item__text h4 { font-size: 0.95rem; color: var(--ivory); margin-bottom: 0.25rem; }
.search-result-item__text p  { font-size: 0.8rem; color: rgba(250,246,238,0.5); }
.search-overlay__empty { text-align: center; padding: 2rem; color: rgba(250,246,238,0.4); }
.search-overlay__hint {
  padding: 0.85rem 1.5rem; border-top: 1px solid rgba(201,168,76,0.1);
  font-size: 0.75rem; color: rgba(250,246,238,0.35);
  display: flex; gap: 1.5rem;
}
.search-overlay__hint kbd {
  background: rgba(255,255,255,0.08); border-radius: 3px;
  padding: 0.15rem 0.45rem; font-size: 0.7rem; margin-right: 0.35rem;
}

/* ─── TABS ───────────────────────────────────────────────── */
.tabs {
  display: flex; gap: 0.25rem;
  background: rgba(13,27,42,0.06); border-radius: 30px;
  padding: 0.3rem; width: fit-content; margin-bottom: 2.5rem;
}
.tab-btn {
  padding: 0.55rem 1.3rem; border: none; background: none; cursor: pointer;
  font-family: var(--ff-sans); font-size: 0.82rem; font-weight: 500;
  border-radius: 30px; color: var(--text-mid); transition: all var(--transition);
}
.tab-btn.active { background: var(--navy); color: var(--gold); }
.tab-btn:hover:not(.active) { background: rgba(13,27,42,0.08); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ─── ACCORDION (FAQ) ────────────────────────────────────── */
.accordion { display: flex; flex-direction: column; gap: 0.75rem; }
.accordion-item {
  background: var(--white); border: 1px solid rgba(0,0,0,0.07);
  border-radius: var(--radius-lg); overflow: hidden;
}
.accordion-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.25rem 1.5rem; cursor: pointer;
  font-weight: 600; font-size: 1rem; color: var(--navy);
  transition: color var(--transition); gap: 1rem;
}
.accordion-header:hover { color: var(--gold); }
.accordion-header .icon {
  font-size: 1.1rem; flex-shrink: 0;
  transition: transform var(--transition); color: var(--gold);
}
.accordion-item.open .accordion-header .icon { transform: rotate(45deg); }
.accordion-body {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease;
  font-size: 0.92rem; color: var(--text-mid); line-height: 1.8;
}
.accordion-body-inner { padding: 0 1.5rem 1.5rem; }
.accordion-item.open .accordion-body { max-height: 400px; }

/* ─── CONTACT FORM ───────────────────────────────────────── */
.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block; font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-mid); margin-bottom: 0.5rem;
}
.form-control {
  width: 100%;
  background: var(--ivory); border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: var(--radius); padding: 0.85rem 1.1rem;
  font-family: var(--ff-sans); font-size: 0.92rem; color: var(--text-dark);
  outline: none; transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}
textarea.form-control { resize: vertical; min-height: 140px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-select {
  width: 100%; appearance: none;
  background: var(--ivory) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a8a8a' fill='none' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 1rem center;
  border: 1.5px solid rgba(0,0,0,0.1); border-radius: var(--radius);
  padding: 0.85rem 2.5rem 0.85rem 1.1rem;
  font-family: var(--ff-sans); font-size: 0.92rem; color: var(--text-dark);
  outline: none; cursor: pointer; transition: border-color var(--transition);
}

/* ─── DONATION INFO ITEM ─────────────────────────────────── */
.donation-info,
.donation-info__item {
  display: grid;
  gap: 0.85rem;
  padding: 1.35rem 1.5rem;
  background: var(--white);
  border: 1px solid rgba(13,27,42,0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  font-weight: 700;
  color: var(--navy);
}
.donation-info:hover,
.donation-info__item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(201,168,76,0.35);
}
.donation-info h3,
.donation-info h4,
.donation-info__item h3,
.donation-info__item h4 {
  margin: 0;
  color: var(--navy);
  font-family: var(--ff-display);
  line-height: 1.2;
}
.donation-info p,
.donation-info__item p {
  margin: 0;
  color: var(--navy);
  line-height: 1.8;
  font-weight: 700;
}
.donation-info strong,
.donation-info .highlight,
.donation-info__item strong,
.donation-info__item .highlight,
.donation-info__value strong,
.donation-info__value .highlight {
  color: var(--gold);
}
.donation-info .donation-info__meta,
.donation-info__item .donation-info__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
}
.donation-info .donation-info__meta span,
.donation-info__item .donation-info__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
@media (max-width: 768px) {
  .donation-info,
  .donation-info__item {
    padding: 1.1rem 1.2rem;
  }
}
.form-select:focus { border-color: var(--gold); }

/* ─── TOAST NOTIFICATION ─────────────────────────────────── */
.toast {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 3000;
  background: var(--navy); color: var(--ivory);
  border-left: 3px solid var(--gold); border-radius: var(--radius);
  padding: 1rem 1.5rem; box-shadow: var(--shadow-lg);
  font-size: 0.88rem; display: flex; align-items: center; gap: 0.75rem;
  transform: translateX(calc(100% + 2rem));
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.toast.show { transform: translateX(0); }
.toast__icon { color: var(--gold); font-size: 1.1rem; }

/* ─── HERO (Homepage) ────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background: rgb(1, 96, 164);
  min-height: 90vh; display: flex; align-items: center;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(255,255,255,0.15) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(255,255,255,0.2) 0%, transparent 70%),
    linear-gradient(135deg, white 0%, #f5f5f5 100%);
}
.hero__content {
  position: relative; z-index: 2;
  max-width: 720px; padding: 80px 0;
}
.hero__title { color: var(--navy); margin-bottom: 1.25rem; }
.hero__title em { font-style: italic; color: var(--gold); }
.hero__subtitle {
  font-family: var(--ff-serif); font-size: 1.25rem; font-weight: 300;
  color: var(--navy); margin-bottom: 2rem; max-width: 540px; line-height: 1.8;
}
.hero__cta { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.hero__verse {
  position: absolute; bottom: 0.5rem; left: 50%; transform: translateX(-50%);
  z-index: 2; text-align: center;
  font-family: var(--ff-serif); font-style: italic;
  font-size: 0.8rem; color: var(--navy);
}

/* ─── STATS BAR ──────────────────────────────────────────── */
.stats-bar {
  background: rgb(1, 96, 164);
  padding: 1.5rem 0;
}
.stats-bar__inner {
  display: flex; justify-content: space-around; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.stat-item { text-align: center; }
.stat-item__num {
  font-family: var(--ff-display); font-size: 2rem; font-weight: 700; color: var(--ivory);
  line-height: 1;
}
.stat-item__label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(13,27,42,0.7); }

/* ─── FEATURE SECTION ────────────────────────────────────── */
.feature-strip { background: var(--ivory-dark); padding: 70px 0; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.feature-item { text-align: center; }
.feature-item__icon {
  width: 62px; height: 62px; margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, rgba(201,168,76,0.12), rgba(201,168,76,0.05));
  border: 1px solid rgba(201,168,76,0.25); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--gold);
  transition: all var(--transition);
}
.feature-item:hover .feature-item__icon {
  background: var(--gold); color: var(--navy); transform: scale(1.1);
}
.feature-item h4 { margin-bottom: 0.5rem; color: var(--navy); }
.feature-item p { font-size: 0.88rem; color: var(--text-mid); }

/* ─── VIDEO SECTION ──────────────────────────────────────── */
.video-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 16/9; background: var(--navy-mid);
  cursor: pointer;
}
.video-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.video-card:hover img { transform: scale(1.04); }
.video-card__overlay {
  position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,27,42,0.8), transparent 60%);
  display: flex; align-items: center; justify-content: center;
}
.video-card__play {
  width: 60px; height: 60px;
  background: rgba(201,168,76,0.9); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--navy);
  transition: all var(--transition);
  box-shadow: 0 0 30px rgba(201,168,76,0.5);
}
.video-card:hover .video-card__play { transform: scale(1.15); background: var(--gold); }
.video-card__info {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 1.25rem;
}
.video-card__title { color: var(--ivory); font-size: 1.05rem; margin-bottom: 0.25rem; }
.video-card__meta { font-size: 0.78rem; color: rgba(250,246,238,0.55); }

.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.video-modal.active {
  display: flex;
}
.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
}
.video-modal__panel {
  position: relative;
  width: min(100%, 980px);
  max-height: min(100%, 760px);
  min-height: 0;
  background: rgba(13, 27, 42, 0.97);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  z-index: 1;
  display: flex;
  flex-direction: column;
}
.video-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: var(--ivory);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background var(--transition);
  z-index: 2;
}
.video-modal__close:hover {
  background: rgba(255,255,255,0.18);
}
.video-modal__header {
  padding: 1.5rem 1.75rem 0.75rem;
}
.video-modal__header h3 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  color: var(--ivory);
}
.video-modal__header p {
  margin: 0;
  color: rgba(250,246,238,0.65);
  font-size: 0.9rem;
}
.video-modal__content {
  padding: 0 1.75rem 1.75rem;
  max-height: calc(90vh - 6rem);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-gutter: stable both-edges;
}
.video-modal__content video {
  width: 100%;
  height: auto;
  max-height: 600px;
  border-radius: var(--radius-md);
  background: #000;
}

/* ─── GALLERY MODAL ──────────────────────────────────────── */
.gallery-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.gallery-modal.active {
  display: flex;
}
.gallery-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
}
.gallery-modal__panel {
  position: relative;
  width: min(100%, 1200px);
  max-height: min(100%, 800px);
  background: rgba(13, 27, 42, 0.97);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  z-index: 1;
  display: flex;
  flex-direction: column;
}
.gallery-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: var(--ivory);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background var(--transition);
  z-index: 2;
}
.gallery-modal__close:hover {
  background: rgba(255,255,255,0.18);
}
.gallery-modal__header {
  padding: 1.5rem 1.75rem 0.75rem;
}
.gallery-modal__header h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  color: var(--ivory);
}
.gallery-modal__content {
  padding: 0 1.75rem 1.75rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
  overflow-y: auto;
}
.gallery-modal__content img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: transform var(--transition);
}
.gallery-modal__content img:hover {
  transform: scale(1.05);
}

/* ─── VIDEO MODAL ────────────────────────────────────────── */
.video-modal {
  display: none;
  /*flex-direction: column;*/
  position: fixed;
  max-height: 100%;
  width: 100%;
  inset: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.video-modal.active {
  display: flex;
}
.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
}
.video-modal__panel {
  position: relative;
  width: min(100%, 1200px);
  max-height: 90vh;
  min-height: 0;
  background: rgba(13, 27, 42, 0.97);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  z-index: 1;
  display: flex;
  flex-direction: column;
}
.video-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: var(--ivory);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background var(--transition);
  z-index: 2;
}
.video-modal__close:hover {
  background: rgba(255,255,255,0.18);
}
.video-modal__header {
  padding: 1.5rem 1.75rem 0.75rem;
  border-bottom: 1px solid rgba(201,168,76,0.25);
  flex-shrink: 0;
}
.video-modal__header h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  color: var(--ivory);
}
.video-modal__content {
  position: relative;
  padding: 1.75rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  scrollbar-gutter: stable both-edges;
}
.video-modal__content::-webkit-scrollbar {
  width: 10px;
}
.video-modal__content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
}
.video-modal__content::-webkit-scrollbar-thumb {
  background: rgba(201, 168, 76, 0.75);
  border-radius: 999px;
}
.video-modal__footer {
  padding: 1.5rem;
  border-top: 1px solid rgba(201,168,76,0.25);
  text-align: center;
}
.youtube-video-card {
  position: relative;
  cursor: pointer;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(201,168,76,0.25);
  transition: all var(--transition);
}
.youtube-video-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 12px 32px rgba(201,168,76,0.15);
}
.youtube-video-card__thumbnail {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.youtube-video-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.youtube-video-card:hover .youtube-video-card__overlay {
  background: rgba(0, 0, 0, 0.4);
}
.youtube-video-card__play {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 1.5rem;
  opacity: 0.9;
  transition: opacity var(--transition);
}
.youtube-video-card:hover .youtube-video-card__play {
  opacity: 1;
  transform: scale(1.1);
}
.youtube-video-card__info {
  padding: 1rem;
}
.youtube-video-card__title {
  font-family: var(--ff-sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ivory);
  line-height: 1.3;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.youtube-video-card__date {
  font-family: var(--ff-sans);
  font-size: 0.75rem;
  color: var(--gold);
}

/* ─── TESTIMONIAL ────────────────────────────────────────── */
.testimonial-section { background: rgb(1, 96, 164); padding: 80px 0; }
.testimonial-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(201,168,76,0.15);
  border-radius: var(--radius-lg); padding: 2.5rem;
}
.testimonial-card__quote {
  font-family: var(--ff-serif); font-style: italic;
  font-size: 1.15rem; color: rgba(250,246,238,0.85); line-height: 1.9;
  margin-bottom: 1.5rem;
}
.testimonial-card__author { display: flex; align-items: center; gap: 0.8rem; }
.testimonial-card__avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--navy-light));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-family: var(--ff-display); color: var(--ivory); font-size: 1rem;
}
.testimonial-card__name { font-size: 0.9rem; font-weight: 600; color: var(--ivory); }
.testimonial-card__role { font-size: 0.78rem; color: var(--gold); }

/* ─── CTA BAND ───────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--ivory-dark) 0%, var(--ivory) 100%);
  padding: 60px 0; text-align: center;
}
.cta-band h2 { color: var(--navy); margin-bottom: 0.75rem; }
.cta-band p  { color: rgba(13,27,42,0.7); margin-bottom: 2rem; max-width: 520px; margin-left: auto; margin-right: auto; }

/* ─── GALLERY GRID ───────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 200px);
  gap: 0.75rem;
}
.gallery-item {
  border-radius: var(--radius); overflow: hidden; position: relative; cursor: pointer;
}
.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item__overlay {
  position: absolute; inset: 0; background: rgba(13,27,42,0.5);
  opacity: 0; transition: opacity var(--transition);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1.5rem;
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; }

/* ─── AUDIO PLAYER ───────────────────────────────────────── */
.audio-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 1.5rem; border: 1px solid rgba(0,0,0,0.06);
  display: flex; align-items: center; gap: 1.2rem;
  transition: all var(--transition);
}
.audio-card:hover { box-shadow: var(--shadow-sm); transform: translateX(4px); }
.audio-card__icon {
  width: 50px; height: 50px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1.2rem;
}
.audio-card__info { flex: 1; min-width: 0; }
.audio-card__title { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.2rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.audio-card__meta  { font-size: 0.78rem; color: var(--text-muted); }
.audio-card__controls { display: flex; align-items: center; gap: 0.5rem; }
.audio-card__play-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--gold); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy); font-size: 0.85rem; transition: all var(--transition);
}
.audio-card__play-btn:hover { background: var(--gold-light); transform: scale(1.1); }
.audio-card audio { display: none; }
.audio-card__duration { font-size: 0.78rem; color: var(--text-muted); min-width: 40px; text-align: right; }
/* Audio messages are listed one per row, and each card wraps onto two lines on small phones. */
.audio-list { display: flex; flex-direction: column; gap: 1rem; }
.audio-list > [hidden] { display: none; }   /* cards on other pages of the list */
#audios-pagination:empty { display: none; }
.audio-card__controls, .audio-card__play-btn { flex-shrink: 0; }
.audio-card__controls .btn { width: auto; }
@media (max-width: 480px) {
  .audio-card { flex-wrap: wrap; padding: 1.1rem; gap: 0.75rem 1rem; }
  .audio-card__info { flex: 1 1 calc(100% - 50px - 1rem); }
  .audio-card__title { white-space: normal; } /* long titles wrap instead of being cut off */
  .audio-card__controls { margin-left: calc(50px + 1rem); }
  .audio-card__duration { margin-left: auto; }
}

/* ─── ABOUT PAGE ─────────────────────────────────────────── */
.about-mission {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
}
.about-mission__visual {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
}
.about-mission__img { width: 100%; height: 450px; object-fit: cover; border-radius: var(--radius-lg); }
.about-mission__badge {
  position: absolute; bottom: 2rem; right: -1.5rem;
  background: var(--gold); color: var(--navy); border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem; text-align: center;
  box-shadow: var(--shadow-md);
}
.about-mission__badge-num { font-family: var(--ff-display); font-size: 2.5rem; font-weight: 700; line-height: 1; }
.about-mission__badge-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.value-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2rem; border: 1px solid rgba(0,0,0,0.06);
  border-bottom: 3px solid var(--gold); transition: transform var(--transition);
}
.value-card:hover { transform: translateY(-4px); }
.value-card__icon { font-size: 1.8rem; margin-bottom: 1rem; }
.value-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; color: var(--navy); }
.value-card p { font-size: 0.88rem; color: var(--text-mid); }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.team-card { text-align: center; }
.team-card__img {
  width: 110px; height: 110px; border-radius: 50%; margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--navy-light), var(--navy));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display); font-size: 1.8rem; color: var(--gold); font-weight: 700;
  border: 3px solid var(--border);
}
.team-card h4 { font-size: 1rem; margin-bottom: 0.25rem; }
.team-card__role { font-size: 0.8rem; color: var(--gold); font-weight: 500; letter-spacing: 0.06em; }

/* ─── CONTACT INFO CARDS ─────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; }
.info-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2rem; display: flex; gap: 1.25rem; align-items: flex-start;
  border: 1px solid rgba(0,0,0,0.06); margin-bottom: 1.25rem;
}
.info-card__icon {
  width: 46px; height: 46px; flex-shrink: 0;
  background: rgba(201,168,76,0.1); border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1.1rem;
}
.info-card h4 { font-size: 0.92rem; margin-bottom: 0.35rem; color: var(--navy); }
.info-card p  { font-size: 0.85rem; color: var(--text-mid); }

/* ─── PAGINATION ─────────────────────────────────────────── */
.pagination {
  display: flex; justify-content: center; align-items: center; gap: 0.4rem;
  margin-top: 3rem;
}
.pagination a, .pagination span {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius); font-size: 0.85rem; font-weight: 500;
  border: 1.5px solid rgba(0,0,0,0.1); transition: all var(--transition);
}
.pagination a:hover, .pagination a.active {
  background: var(--navy); color: var(--gold); border-color: var(--navy);
}
.pagination a.active { background: var(--gold); color: var(--navy); border-color: var(--gold); }

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4, .feature-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(4, 160px); }
  .gallery-item:nth-child(1) { grid-column: span 1; grid-row: span 1; }
  .about-mission { gap: 3rem; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .container { padding: 0 1.2rem; }
  .navbar__nav, .navbar__search { display: none; }
  .navbar__toggle { display: flex; }
  .grid-3, .grid-2, .values-grid, .about-mission { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__cross { display: none; }
  .stats-bar__inner { gap: 2rem; }
  .about-mission__badge { right: 0; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .gallery-item { height: 200px; }
  .hero__cta { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}

/* ─── Animations ─────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp 0.7s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ─── Highlight boxes ────────────────────────────────────── */
.scripture-box {
  background: linear-gradient(135deg, rgba(201,168,76,0.08), rgba(201,168,76,0.03));
  border-left: 3px solid var(--gold); border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 1.5rem 2rem; margin: 2rem 0;
}
.scripture-box blockquote {
  font-family: var(--ff-serif); font-style: italic;
  font-size: 1.15rem; color: var(--navy); line-height: 1.8; margin-bottom: 0.5rem;
}
.scripture-box cite { font-size: 0.82rem; color: var(--gold); font-weight: 600; }

/* ─── Book Card ──────────────────────────────────────────── */
.book-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.05); transition: all var(--transition);
  display: flex; flex-direction: column;
}
.book-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.book-card__cover {
  height: 220px; background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.book-card__cover-design {
  width: 120px; height: 170px;
  border: 2px solid rgba(201,168,76,0.4); border-radius: 3px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.5rem; padding: 1rem;
}
.book-card__cover-icon { font-size: 5rem; color: var(--gold); }
/*.book-card__cover-title {
  font-family: var(--ff-display); font-size: 0.75rem; color: var(--ivory);
  text-align: center; line-height: 1.4;
}*/
.book-card__body { padding: 1.25rem; flex: 1; }
.book-card__body h4 { margin-bottom: 0.3rem; font-size: 1rem; }
.book-card__author { font-size: 0.8rem; color: var(--gold); margin-bottom: 0.5rem; }
.book-card__desc { font-size: 0.82rem; color: var(--text-mid); }
.book-card__footer {
  padding: 1rem 1.25rem; border-top: 1px solid rgba(0,0,0,0.06);
  display: flex; justify-content: space-between; align-items: center;
}

/*-------- ARTICLES TAB-------- */
.skeleton-block {
    background: linear-gradient(90deg, rgba(0,0,0,.06) 25%, rgba(0,0,0,.12) 50%, rgba(0,0,0,.06) 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.4s infinite;
    border-radius: 4px;
  }
  @keyframes skeleton-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
  }
  .card--skeleton .card__img.skeleton-block {
    height: 200px;
    border-radius: 0;
  }

  /* Placeholder when a WordPress post has no featured image */
  .card__img--placeholder {
    height: 200px;
    background-color: var(--card-img-placeholder, #e8e4dc);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .card__img--placeholder::after {
    content: "\f03e"; /* FA image icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 2rem;
    opacity: .2;
  }

/* ─── Bottom audio player (main.js → AudioDock) ──────────────── */
/* While audio plays, pages open in place (main.js → SoftNav): show that the next page is on its way. */
html.is-page-loading, html.is-page-loading * { cursor: progress; }
h1[tabindex="-1"]:focus { outline: none; }
.audio-dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1500;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-top: 2px solid var(--gold);
  box-shadow: 0 -8px 30px rgba(13,27,42,0.35);
  color: var(--ivory);
  padding: 0.7rem 0 calc(0.7rem + env(safe-area-inset-bottom, 0px));
  animation: audioDockIn 0.35s ease both;
}
.audio-dock[hidden] { display: none; }
@keyframes audioDockIn {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
.audio-dock__bar {
  display: grid; align-items: center; gap: 0.5rem 1.5rem;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.6fr) auto;
  grid-template-areas: "track controls progress close";
}
.audio-dock__track { grid-area: track; display: flex; align-items: center; gap: 0.8rem; min-width: 0; }
.audio-dock__art {
  flex: none; width: 44px; height: 44px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(201,168,76,0.15); border: 1px solid rgba(201,168,76,0.35);
  color: var(--gold); font-size: 1.1rem;
}
.audio-dock.is-playing .audio-dock__art i { animation: audioDockPulse 1.6s ease-in-out infinite; }
@keyframes audioDockPulse { 50% { opacity: 0.45; } }
.audio-dock__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.audio-dock__title {
  font-weight: 600; font-size: 0.92rem; color: var(--ivory);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
a.audio-dock__title[href]:hover { color: var(--gold-light); text-decoration: underline; }
.audio-dock__artist {
  font-size: 0.76rem; color: rgba(250,246,238,0.65);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.audio-dock__controls { grid-area: controls; display: flex; align-items: center; gap: 0.35rem; }
.audio-dock__skip, .audio-dock__play, .audio-dock__close {
  border: none; cursor: pointer; font-family: inherit;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.audio-dock__skip {
  gap: 0.2rem; min-width: 44px; height: 44px; padding: 0 0.4rem; border-radius: 22px;
  background: transparent; color: var(--ivory); font-size: 0.95rem;
}
.audio-dock__skip span { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.02em; }
.audio-dock__skip:hover { background: rgba(255,255,255,0.08); color: var(--gold-light); }
.audio-dock__play {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--gold); color: var(--navy); font-size: 1rem;
}
.audio-dock__play:hover { background: var(--gold-light); transform: scale(1.06); }
.audio-dock__progress { grid-area: progress; display: flex; align-items: center; gap: 0.7rem; min-width: 0; }
.audio-dock__time {
  flex: none; min-width: 2.8rem; font-size: 0.74rem; color: rgba(250,246,238,0.75);
  font-variant-numeric: tabular-nums; text-align: center;
}
.audio-dock__seek {
  --audio-dock-progress: 0%;
  flex: 1; min-width: 0; height: 22px; margin: 0; background: transparent;
  -webkit-appearance: none; appearance: none; cursor: pointer;
}
.audio-dock__seek:disabled { cursor: default; opacity: 0.6; }
.audio-dock__seek::-webkit-slider-runnable-track {
  height: 4px; border-radius: 2px;
  background: linear-gradient(to right, var(--gold) var(--audio-dock-progress), rgba(250,246,238,0.22) var(--audio-dock-progress));
}
.audio-dock__seek::-moz-range-track { height: 4px; border-radius: 2px; background: rgba(250,246,238,0.22); }
.audio-dock__seek::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--gold); }
.audio-dock__seek::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 14px; height: 14px; margin-top: -5px;
  border-radius: 50%; background: var(--gold-light); border: 2px solid var(--navy);
}
.audio-dock__seek::-moz-range-thumb {
  width: 12px; height: 12px; border-radius: 50%; background: var(--gold-light); border: 2px solid var(--navy);
}
.audio-dock__close {
  grid-area: close; width: 40px; height: 40px; border-radius: 50%;
  background: transparent; color: rgba(250,246,238,0.6); font-size: 1rem;
}
.audio-dock__close:hover { background: rgba(255,255,255,0.08); color: var(--ivory); }
.audio-dock button:focus-visible, .audio-dock a:focus-visible, .audio-dock__seek:focus-visible {
  outline: 2px solid var(--gold-light); outline-offset: 2px;
}
body.has-audio-dock { padding-bottom: var(--audio-dock-space, 76px); }
body.has-audio-dock .toast { bottom: calc(var(--audio-dock-space, 76px) + 1rem); }
@media (max-width: 768px) {
  /* Sized to the screen itself, so it stays fully visible even if something on the page is wider than the phone. */
  .audio-dock { padding-top: 0.55rem; right: auto; width: 100vw; }
  .audio-dock__bar {
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas: "track controls close" "progress progress progress";
    gap: 0.35rem 0.5rem;
  }
  .audio-dock__art { width: 38px; height: 38px; }
  .audio-dock__controls { gap: 0.1rem; }
  .audio-dock__skip { min-width: 40px; height: 40px; padding: 0 0.25rem; }
  .audio-dock__play { width: 42px; height: 42px; }
  .audio-dock__close { width: 34px; height: 34px; }
}
@media (max-width: 400px) {
  .audio-dock__art { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .audio-dock, .audio-dock.is-playing .audio-dock__art i { animation: none; }
}
