/* ========================================
   EMET HOUSE CHAPEL — Modern UI (premium church)
   Primary: navy | Accent: gold | Secondary: mauve | Surface: off-white
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Libre+Baskerville:ital,wght@0,600;0,700;1,400&display=swap');

:root {
  --navy: #1a1f3a;
  --navy-soft: #252b4a;
  --gold: #c9a227;
  --gold-dark: #a8871c;
  --gold-glow: rgba(201, 162, 39, 0.45);
  --mauve: #6b4e7e;
  --mauve-dark: #4a3560;
  --mauve-light: #9b7fb0;
  --blush: #f4eef7;
  --white: #ffffff;
  --surface: #f7f6f9;
  --surface-2: #eeecf2;
  --text-dark: #2d2640;
  --text-muted: #5c5470;
  --dark: #2d2640;
  --gold-gradient: linear-gradient(135deg, #d4af37 0%, #c9a227 55%, #a8871c 100%);
  --mauve-gradient: linear-gradient(135deg, #6b4e7e 0%, #4a3560 100%);
  --navy-gradient: linear-gradient(160deg, #1a1f3a 0%, #2d2640 50%, #4a3560 100%);
  --hero-overlay: linear-gradient(105deg, rgba(26, 31, 58, 0.82) 0%, rgba(74, 53, 96, 0.55) 50%, rgba(201, 162, 39, 0.25) 100%);
  --shadow: 0 8px 32px rgba(26, 31, 58, 0.08);
  --shadow-md: 0 12px 40px rgba(26, 31, 58, 0.12);
  --shadow-lg: 0 24px 60px rgba(26, 31, 58, 0.18);
  --shadow-gold: 0 8px 28px var(--gold-glow);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
  --header-height: 72px;
}

[data-theme='dark'] {
  --surface: #141824;
  --surface-2: #1c2230;
  --white: #1e2433;
  --text-dark: #ece8f4;
  --text-muted: #a89bc4;
  --dark: #ece8f4;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 12px 40px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.5);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  line-height: 1.65;
  overflow-x: hidden;
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; color: var(--text-dark); margin-bottom: 1rem; }
h3 { font-size: 1.5rem; }

a {
  color: var(--mauve-dark);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--gold-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ========== TOP BAR ========== */
.top-bar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.92);
  padding: 0.55rem 2rem;
  font-size: 0.875rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  border-bottom: 1px solid rgba(201, 162, 39, 0.15);
}

.top-bar a {
  color: var(--white);
  font-weight: 500;
}

.top-bar a:hover {
  color: var(--gold);
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,0,0,0.2);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-weight: 600;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: red;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ========== MAIN HEADER ========== */
.main-header {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(26, 31, 58, 0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

[data-theme='dark'] .main-header {
  background: rgba(30, 36, 51, 0.85);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.main-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-md);
}

[data-theme='dark'] .main-header.is-scrolled {
  background: rgba(30, 36, 51, 0.95);
}

.main-header.shrink .header-inner {
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: padding 0.3s ease;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo img {
  height: 60px;
  width: auto;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
}

.logo-tagline {
  font-size: 0.75rem;
  color: var(--mauve-dark);
}

/* Navigation */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

.main-nav > ul > li > a {
  display: block;
  padding: 0.65rem 1rem;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.9375rem;
  border-radius: var(--radius-sm);
  position: relative;
}

.main-nav > ul > li > a::after {
  content: '';
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.35rem;
  height: 2px;
  background: var(--gold-gradient);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.main-nav > ul > li > a:hover {
  color: var(--mauve-dark);
  background: rgba(107, 78, 126, 0.08);
}

.main-nav > ul > li > a.active {
  color: var(--navy);
  background: rgba(201, 162, 39, 0.12);
}

.main-nav > ul > li > a.active::after {
  transform: scaleX(1);
}

[data-theme='dark'] .main-nav > ul > li > a {
  color: var(--text-dark);
}

[data-theme='dark'] .main-nav > ul > li > a:hover {
  background: rgba(201, 162, 39, 0.1);
}

.main-nav .dropdown {
  position: relative;
}

.main-nav .dropdown-content {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  min-width: 230px;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  padding: 0.5rem;
  border: 1px solid rgba(26, 31, 58, 0.06);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
  z-index: 100;
}

[data-theme='dark'] .main-nav .dropdown-content {
  background: rgba(36, 42, 58, 0.96);
  border-color: rgba(255, 255, 255, 0.08);
}

.main-nav .dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.main-nav .dropdown-content a {
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--text-dark);
}

.main-nav .dropdown-content a:hover {
  background: rgba(107, 78, 126, 0.1);
  color: var(--mauve-dark);
}

.btn-give {
  background: var(--gold-gradient);
  color: var(--navy) !important;
  padding: 0.6rem 1.35rem !important;
  border-radius: var(--radius-pill);
  font-weight: 700;
  box-shadow: var(--shadow-gold);
  border: none !important;
}

.btn-give::after {
  display: none;
}

.btn-give:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 36px var(--gold-glow);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: var(--mauve);
  color: var(--white);
  border: none;
  padding: 0.75rem;
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: 8px;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--navy);
  background-image: var(--hero-overlay), url('../images/emetfront-view.jpeg');
  background-size: cover;
  background-position: center;
  padding: 5rem 1.5rem 4rem;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(201, 162, 39, 0.12), transparent 55%);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  color: #fff;
  max-width: 820px;
  padding: 2rem;
  position: relative;
  z-index: 2;
  animation: heroContentIn 1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

@keyframes heroContentIn {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  color: #fff;
  text-shadow: 0 4px 32px rgba(0, 0, 0, 0.35);
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.hero .verse {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  font-style: italic;
  margin-bottom: 2.25rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
  opacity: 0.95;
  line-height: 1.55;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-buttons .btn {
  padding: 0.95rem 1.85rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.hero .btn-gold {
  background: var(--gold-gradient);
  color: var(--navy);
  border-color: transparent;
  box-shadow: var(--shadow-gold);
}

.hero .btn-gold:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 40px var(--gold-glow);
  filter: brightness(1.05);
}

.hero .btn-mauve {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(8px);
}

.hero .btn-mauve:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #fff;
  transform: translateY(-3px);
}

.hero .btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.hero .btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  transform: translateY(-3px);
}

.btn-gold {
  background: var(--gold-gradient);
  color: var(--navy);
  border-color: transparent;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-mauve {
  background: var(--mauve-gradient);
  color: var(--white);
  border-color: transparent;
}

.btn-mauve:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  filter: brightness(1.05);
}

.btn-outline {
  background: transparent;
  color: var(--mauve-dark);
  border: 2px solid var(--mauve-light);
}

.btn-outline:hover {
  background: var(--mauve);
  color: var(--white);
  border-color: var(--mauve);
}

.countdown-box {
  margin-top: 2.25rem;
  padding: 1.25rem 2rem 1.35rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius);
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.countdown-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  margin-bottom: 0.35rem;
  opacity: 0.9;
}

.countdown-timer {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--gold);
  text-shadow: 0 0 24px var(--gold-glow);
}

/* ========== QUICK ACCESS BAR ========== */
.quick-access {
  background: linear-gradient(90deg, #c9a227 0%, #d4b84a 50%, #c9a227 100%);
  padding: 1.15rem 2rem;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  box-shadow: 0 8px 32px rgba(201, 162, 39, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.quick-access-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.quick-access .btn-mauve {
  padding: 0.5rem 1.5rem;
}

/* ========== SECTIONS ========== */
section {
  padding: clamp(3.5rem, 8vw, 6.5rem) 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.section-shell {
  position: relative;
}

.section-shell::before {
  content: '';
  display: block;
  height: 1px;
  max-width: 120px;
  margin: 0 auto 3rem;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.6;
}

section:first-of-type.section-shell::before,
.hero + .quick-access + section::before {
  display: none;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.section-header h2 {
  position: relative;
  display: inline-block;
  color: var(--navy);
}

[data-theme='dark'] .section-header h2 {
  color: var(--text-dark);
}

.section-header p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0.75rem auto 0;
  font-size: 1.05rem;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 64px;
  height: 3px;
  background: var(--gold-gradient);
  margin: 0.65rem auto 0;
  border-radius: var(--radius-pill);
}

.bg-mauve {
  background: var(--navy-gradient);
  color: var(--white);
  max-width: none !important;
  padding-left: clamp(1.5rem, 4vw, 3rem);
  padding-right: clamp(1.5rem, 4vw, 3rem);
}

.bg-mauve .container {
  max-width: 1400px;
  margin: 0 auto;
}

.bg-mauve h2,
.bg-mauve p,
.bg-mauve a {
  color: var(--white);
}

.bg-mauve .section-header h2 {
  color: #fff;
}

.bg-mauve .section-header h2::after {
  background: var(--gold-gradient);
}

.bg-gold {
  background: linear-gradient(135deg, #e8d48a 0%, #c9a227 100%);
  color: var(--navy);
  max-width: none !important;
}

.bg-dark {
  background: linear-gradient(180deg, var(--navy-soft) 0%, var(--navy) 100%);
  color: var(--white);
  max-width: none !important;
}

.bg-dark h2 {
  color: var(--gold);
}

.bg-dark .section-header p {
  color: rgba(255, 255, 255, 0.85);
}

/* ========== ABOUT PAGE COLOR ACCENTS ========== */
.about-themed #story .section-header h2 {
  color: var(--navy);
}

.about-themed #vision-mission-values .card,
.about-themed #beliefs .card,
.about-themed #leadership .card {
  border-top: 3px solid rgba(201, 162, 39, 0.55);
}

.about-themed #vision-mission-values .card h3 {
  color: var(--navy);
}

.about-themed #beliefs .card h3,
.about-themed #leadership .card h3 {
  color: var(--mauve-dark);
}

[data-theme='dark'] .about-themed #beliefs .card h3,
[data-theme='dark'] .about-themed #leadership .card h3 {
  color: var(--gold);
}

/* ========== WELCOME SECTION ========== */
.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.welcome-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.welcome-text h2 {
  color: var(--gold-dark);
}

/* ========== CARDS GRID ========== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(26, 31, 58, 0.06);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(201, 162, 39, 0.25);
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.card:hover img {
  transform: scale(1.08);
}

.card-body {
  padding: 1.5rem 1.65rem 1.65rem;
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card .meta {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

/* ========== MINISTRIES GRID ========== */
.ministries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}

.ministry-card {
  background: rgba(255, 255, 255, 0.95);
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid rgba(26, 31, 58, 0.06);
  border-top: 4px solid var(--gold);
}

.ministry-card:hover {
  border-top-color: var(--mauve);
  background: linear-gradient(145deg, rgba(201, 162, 39, 0.95) 0%, var(--mauve) 100%);
  color: var(--white);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.ministry-card .icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* ========== GIVING TICKER ========== */
.giving-ticker {
  background: var(--navy-gradient);
  color: #fff;
  padding: clamp(2rem, 5vw, 3rem);
  text-align: center;
  border-radius: var(--radius);
  border: 1px solid rgba(201, 162, 39, 0.35);
  box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.12), var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.giving-ticker::before {
  content: '';
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 30% 50%, rgba(201, 162, 39, 0.18), transparent 45%);
  pointer-events: none;
}

.giving-ticker h3 {
  margin-bottom: 1rem;
  color: var(--gold);
  position: relative;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
}

.momo-numbers {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 1rem 0;
  position: relative;
}

.momo-number {
  background: rgba(201, 162, 39, 0.15);
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1.15rem;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid rgba(201, 162, 39, 0.35);
  color: #fff;
}

.momo-number:hover {
  background: var(--gold);
  color: var(--navy);
  transform: scale(1.05);
  box-shadow: var(--shadow-gold);
}

@keyframes copyFlash {
  0%,
  100% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.08);
    box-shadow: 0 0 0 3px var(--gold-glow);
  }
}

.amount-presets {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
  position: relative;
}

.amount-presets button {
  padding: 0.55rem 1.15rem;
  background: var(--gold-gradient);
  color: var(--navy);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 700;
  transition: var(--transition);
}

.amount-presets button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.momo-number.is-copied,
.amount-presets button.is-copied,
.btn-copy-inline.is-copied {
  animation: copyFlash 0.6s ease;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ========== DONATE HUB (bank + multi-currency) ========== */
.donate-hub-section {
  padding-top: clamp(2.5rem, 6vw, 4rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

.donate-hub {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.donate-hub-badge {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.35rem;
  filter: drop-shadow(0 0 12px rgba(201, 162, 39, 0.35));
}

.donate-trust-badge {
  display: inline-block;
  margin: 0 0 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  background: rgba(201, 162, 39, 0.2);
  border: 1px solid rgba(201, 162, 39, 0.45);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.donate-trust-badge--compact {
  font-size: 0.65rem;
  padding: 0.3rem 0.65rem;
}

.donate-hub-title {
  font-family: var(--font-display);
  color: #fff;
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

.donate-hub-lead {
  color: rgba(255, 255, 255, 0.88);
  max-width: 36rem;
  margin: 0 auto 1.75rem;
  line-height: 1.55;
  font-size: 0.98rem;
}

.giving-widget-tagline {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  max-width: 28rem;
  margin: -0.25rem auto 1.25rem;
  line-height: 1.45;
}

.donate-progress-block {
  text-align: left;
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.25rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(201, 162, 39, 0.2);
}

.donate-progress-block--compact {
  padding: 0.75rem 1rem;
  margin-bottom: 1.15rem;
}

.donate-progress-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.5rem;
}

.donate-progress-pct {
  font-weight: 700;
  color: var(--gold);
}

.donate-progress-track {
  height: 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.donate-progress-fill {
  height: 100%;
  border-radius: var(--radius-pill);
  background: var(--gold-gradient);
  box-shadow: 0 0 16px var(--gold-glow);
  transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.donate-progress-meta {
  margin: 0.6rem 0 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
}

.donate-progress-meta--compact {
  margin-top: 0.45rem;
  font-size: 0.78rem;
  text-align: center;
}

.donate-rates-note {
  margin: 0.5rem 0 0;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.35;
}

.donate-rates-note--compact {
  margin: 0.35rem 0 0;
  font-size: 0.68rem;
}

.donate-method-toggle {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.donate-method-toggle--compact {
  margin-bottom: 1rem;
}

.donate-method-tab {
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(201, 162, 39, 0.35);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition);
}

.donate-method-tab:hover {
  background: rgba(201, 162, 39, 0.15);
  border-color: rgba(201, 162, 39, 0.55);
}

.donate-method-tab.is-active {
  background: var(--gold-gradient);
  color: var(--navy);
  border-color: transparent;
  box-shadow: var(--shadow-gold);
}

.donate-panel {
  margin-bottom: 1.5rem;
  position: relative;
}

.donate-panel[hidden] {
  display: none !important;
}

.donate-panel-intro {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  margin: 0 0 1rem;
  line-height: 1.45;
}

.momo-numbers--donate {
  margin-bottom: 0;
}

.donate-bank-card {
  text-align: left;
  background: rgba(255, 255, 255, 0.97);
  color: var(--text-dark);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(201, 162, 39, 0.25);
}

[data-theme='dark'] .donate-bank-card {
  background: var(--surface-2);
  color: var(--text-dark);
}

.donate-bank-card-title {
  font-family: var(--font-display);
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  color: var(--navy);
}

[data-theme='dark'] .donate-bank-card-title {
  color: var(--gold);
}

.donate-bank-card-note {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.donate-bank-dl {
  margin: 0;
}

.donate-bank-dl > div {
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(26, 31, 58, 0.08);
}

.donate-bank-dl > div:last-child {
  border-bottom: none;
}

.donate-bank-dl dt {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.donate-bank-dl dd {
  margin: 0;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-dark);
}

.donate-bank-row-value {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.btn-copy-inline {
  flex-shrink: 0;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(201, 162, 39, 0.5);
  background: rgba(201, 162, 39, 0.12);
  color: var(--gold-dark);
  cursor: pointer;
  transition: var(--transition);
}

.btn-copy-inline:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.btn-copy-inline--light {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn-copy-inline--light:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.giving-bank-teaser {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9rem;
  margin: 0 0 0.65rem;
  line-height: 1.45;
}

.giving-bank-hint {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0.75rem 0;
  line-height: 1.4;
}

.giving-bank-hint code {
  font-size: 0.7rem;
  background: rgba(0, 0, 0, 0.25);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}

a.giving-bank-link.btn-outline {
  display: inline-flex;
  margin-top: 0.25rem;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-pill);
  border: 2px solid rgba(255, 255, 255, 0.45);
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition);
}

a.giving-bank-link.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--gold);
  color: var(--gold) !important;
}

.donate-currency-block {
  margin-top: 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.donate-subhead {
  font-size: 1rem;
  color: var(--gold);
  margin: 0 0 0.35rem;
  font-weight: 700;
}

.donate-subhead--compact {
  font-size: 0.88rem;
  margin-top: 0.25rem;
}

.donate-subhead-note {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 1rem;
  line-height: 1.45;
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
}

.donate-currency-select {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.donate-currency-select--compact {
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.donate-currency-btn {
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.15);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  transition: var(--transition);
}

.donate-currency-select--compact .donate-currency-btn {
  padding: 0.4rem 0.65rem;
  font-size: 0.8rem;
}

.donate-currency-btn:hover {
  border-color: rgba(201, 162, 39, 0.5);
  background: rgba(201, 162, 39, 0.12);
}

.donate-currency-btn.is-active {
  background: var(--gold-gradient);
  color: var(--navy);
  border-color: transparent;
  box-shadow: var(--shadow-gold);
}

.donate-dynamic-presets {
  margin-top: 0.25rem;
}

.donate-custom-wrap {
  margin-top: 1rem;
  text-align: left;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

.donate-custom-wrap label {
  display: block;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0.35rem;
}

.donate-custom-wrap input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  font-size: 1rem;
}

.donate-custom-wrap input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.donate-custom-wrap input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.25);
}

.donate-custom-wrap--compact {
  margin-top: 0.65rem;
  max-width: 220px;
}

.donate-equiv {
  min-height: 1.25rem;
  margin: 0.65rem 0 0;
  font-size: 0.82rem;
  color: rgba(201, 162, 39, 0.95);
  font-weight: 600;
}

.donate-equiv--compact {
  font-size: 0.75rem;
  margin-top: 0.45rem;
}

.donate-pay-row {
  margin-top: 1.35rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.donate-pay-now-btn {
  padding: 1rem 2.25rem;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 1.05rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 36px var(--gold-glow);
  transition: var(--transition);
  width: 100%;
  max-width: 320px;
}

.donate-pay-now-btn:hover {
  transform: translateY(-3px) scale(1.02);
  filter: brightness(1.06);
}

.donate-pay-now-btn--compact {
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  max-width: 260px;
  margin-top: 0.35rem;
}

.donate-pay-hint {
  margin: 0.75rem auto 0;
  max-width: 34rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.68);
}

.donate-pay-hint--compact {
  font-size: 0.72rem;
  max-width: 22rem;
  margin-top: 0.45rem;
}

.donate-pay-hint strong {
  color: rgba(255, 255, 255, 0.9);
}

.donate-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.donate-btn-ghost {
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-pill);
  border: 2px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.donate-btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 162, 39, 0.08);
}

.donate-finance-cta {
  padding: 0.85rem 1.65rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: var(--shadow-gold);
}

.donate-finance-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.giving-full-cta {
  margin-top: 1rem !important;
}

.donate-toast {
  position: fixed;
  bottom: 5.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 10001;
  padding: 0.85rem 1.35rem;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(201, 162, 39, 0.4);
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  font-weight: 600;
  max-width: min(90vw, 380px);
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.35s;
  pointer-events: none;
}

.donate-toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 480px) {
  .donate-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .donate-finance-cta,
  .donate-btn-ghost {
    width: 100%;
    justify-content: center;
  }
}

/* ========== SERMON VIDEOS (local MP4) ========== */
.sermon-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(1.35rem, 3.5vw, 2rem);
  margin-bottom: 2rem;
}

.sermon-video-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  border: 1px solid rgba(201, 162, 39, 0.22);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

[data-theme='dark'] .sermon-video-card {
  background: var(--surface-2);
  border-color: rgba(201, 162, 39, 0.28);
}

.sermon-video-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.sermon-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-soft) 100%);
}

.sermon-video-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000;
}

.sermon-video-body {
  padding: clamp(1.1rem, 2.5vw, 1.45rem) clamp(1.15rem, 2.5vw, 1.5rem) clamp(1.25rem, 3vw, 1.65rem);
  text-align: left;
}

.sermon-video-title {
  font-family: var(--font-display);
  margin: 0 0 0.45rem;
  color: var(--text-dark);
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  line-height: 1.25;
}

.sermon-video-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0 0 0.65rem;
  font-weight: 500;
}

.sermon-video-speaker {
  color: var(--mauve-dark);
  font-weight: 600;
}

[data-theme='dark'] .sermon-video-speaker {
  color: var(--gold);
}

.sermon-video-desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-dark);
  opacity: 0.92;
}

.sermon-video-footnote {
  text-align: center;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 42rem;
  margin: 0 auto;
  line-height: 1.55;
}

.sermon-video-footnote a {
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 162, 39, 0.45);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.sermon-video-footnote a:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.5);
}

.sermon-video-footnote code {
  font-size: 0.78em;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.2);
}

@media (max-width: 480px) {
  .sermon-video-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== EVENTS PAGE (featured photo) ========== */
.events-photo-section {
  padding-top: clamp(2rem, 5vw, 3.5rem);
  padding-bottom: clamp(1.75rem, 4.5vw, 2.75rem);
}

.events-feature-figure {
  margin: 0 auto;
  max-width: min(1280px, 100%);
  width: 100%;
}

/* Widescreen player area (16:9) — same proportions as typical site / YouTube embeds */
.events-feature-video-shell {
  aspect-ratio: 16 / 9;
  position: relative;
  width: 100%;
  background: rgba(26, 31, 58, 0.09);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(26, 31, 58, 0.08);
  overflow: hidden;
}

.events-feature-video-shell video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border: 0;
  background: transparent;
}

.events-feature-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(26, 31, 58, 0.08);
}

[data-theme='dark'] .events-feature-video-shell {
  background: rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.12);
}

[data-theme='dark'] .events-feature-img {
  border-color: rgba(255, 255, 255, 0.1);
}

.events-feature-caption {
  margin: 0.85rem 0 0;
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ========== ABOUT — LEADERSHIP PHOTOS (portrait-friendly) ========== */
.leadership-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 3vw, 1.75rem);
  margin-top: clamp(2rem, 4vw, 2.75rem);
  max-width: min(920px, 100%);
  margin-inline: auto;
}

.leadership-gallery__item {
  margin: 0;
}

.leadership-gallery__item img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(26, 31, 58, 0.08);
}

[data-theme='dark'] .leadership-gallery__item img {
  border-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 640px) {
  .leadership-gallery {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}

/* ========== HOME — BISHOP GALLERY ========== */
.bishop-home-section {
  padding-top: clamp(2rem, 5vw, 3rem);
  padding-bottom: clamp(2rem, 5vw, 3rem);
}

.bishop-home-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.75rem, 2vw, 1.25rem);
  margin-top: clamp(0.5rem, 2vw, 1rem);
  max-width: min(1100px, 100%);
  margin-inline: auto;
}

.bishop-home-gallery__cell {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(26, 31, 58, 0.08);
  aspect-ratio: 3 / 4;
  position: relative;
  background: rgba(26, 31, 58, 0.12);
  min-height: 0;
}

.bishop-home-gallery__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

[data-theme='dark'] .bishop-home-gallery__cell {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.35);
}

@media (max-width: 900px) {
  .bishop-home-gallery {
    grid-template-columns: 1fr;
    max-width: min(420px, 100%);
  }
}

/* ========== MINISTRIES — MUSIC DEPT (landscape gallery) ========== */
.music-dept-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.75rem, 2.2vw, 1.35rem);
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
  max-width: min(1080px, 100%);
  margin-inline: auto;
}

.music-dept-gallery__cell {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(26, 31, 58, 0.08);
  aspect-ratio: 16 / 10;
  position: relative;
  background: rgba(26, 31, 58, 0.07);
}

.music-dept-gallery__cell img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

[data-theme='dark'] .music-dept-gallery__cell {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.35);
}

@media (max-width: 720px) {
  .music-dept-gallery {
    grid-template-columns: 1fr;
    max-width: 560px;
  }

  .music-dept-gallery__cell {
    aspect-ratio: 16 / 11;
  }
}

/* ========== GALLERY ========== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.5rem, 2vw, 1rem);
}

.gallery-item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
  cursor: pointer;
  border: none;
  padding: 0;
  display: block;
  width: 100%;
  background: var(--navy);
  box-shadow: var(--shadow);
}

.gallery-item:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.gallery-item::after {
  content: 'View';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 31, 58, 0.75), transparent 55%);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 12%;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.gallery-item:hover::after,
.gallery-item:focus-visible::after {
  opacity: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.08);
}

/* ========== PRAYER WALL ========== */
.prayer-request {
  background: var(--white);
  padding: 1.65rem 1.75rem;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  border: 1px solid rgba(107, 78, 126, 0.15);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.prayer-request:hover {
  border-color: rgba(201, 162, 39, 0.4);
  box-shadow: var(--shadow-md);
}

.prayer-request .category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mauve);
  margin-bottom: 0.65rem;
  font-weight: 700;
}

.i-prayed-btn {
  background: var(--gold-gradient);
  color: var(--navy);
  border: none;
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-weight: 700;
  margin-top: 0.75rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.i-prayed-btn::before {
  content: '♥';
  font-size: 0.9rem;
  transition: transform 0.35s ease;
}

.i-prayed-btn:hover:not(:disabled) {
  transform: scale(1.05);
  box-shadow: var(--shadow-gold);
}

.i-prayed-btn:hover:not(:disabled)::before {
  transform: scale(1.2);
}

.i-prayed-btn.prayed-glow {
  animation: prayPulse 0.9s ease;
}

@keyframes prayPulse {
  0% {
    box-shadow: 0 0 0 0 var(--gold-glow);
  }
  70% {
    box-shadow: 0 0 0 14px transparent;
  }
  100% {
    box-shadow: none;
  }
}

/* ========== FORMS ========== */
.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--mauve);
  border-radius: 8px;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--mauve);
  outline: none;
}

.btn-submit {
  background: var(--gold);
  color: var(--text-dark);
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.btn-submit:hover {
  background: var(--mauve);
  color: var(--white);
}

/* ========== FIND US / GOOGLE MAPS ========== */
.find-us-card {
  max-width: 1100px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(26, 31, 58, 0.06);
  padding: clamp(1.25rem, 3vw, 2rem);
  transition: box-shadow 0.3s ease;
}

.find-us-card:hover {
  box-shadow: var(--shadow-lg);
}

[data-theme='dark'] .find-us-card {
  background: var(--surface-2);
  border-color: rgba(255, 255, 255, 0.08);
}

.find-us-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: stretch;
}

.find-us-map-wrap {
  position: relative;
  width: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 11;
  min-height: 240px;
  background: var(--surface-2);
}

.find-us-map-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.find-us-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: 0.25rem 0;
}

.find-us-name {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.6rem);
  color: var(--text-dark);
  margin: 0;
  line-height: 1.25;
}

.find-us-address,
.find-us-times {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-dark);
}

.find-us-address strong,
.find-us-times strong {
  color: var(--navy);
  display: block;
  margin-bottom: 0.35rem;
}

[data-theme='dark'] .find-us-address strong,
[data-theme='dark'] .find-us-times strong {
  color: var(--gold);
}

.find-us-decimal {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.find-us-directions-btn {
  align-self: flex-start;
  margin-top: 0.25rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.85rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: var(--transition);
  box-shadow: var(--shadow-gold);
}

.find-us-directions-btn:hover {
  transform: translateY(-2px) scale(1.02);
}

.find-us-note {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Card sits on full-bleed mauve/navy band — reset inherited band link/text colors */
.bg-mauve .find-us-card .find-us-name,
.bg-mauve .find-us-card .find-us-address,
.bg-mauve .find-us-card .find-us-times {
  color: var(--text-dark);
}

.bg-mauve .find-us-card .find-us-address strong,
.bg-mauve .find-us-card .find-us-times strong {
  color: var(--navy);
}

.bg-mauve .find-us-card a.btn-gold {
  color: var(--navy);
}

[data-theme='dark'] .bg-mauve .find-us-card .find-us-address strong,
[data-theme='dark'] .bg-mauve .find-us-card .find-us-times strong {
  color: var(--gold);
}

@media (max-width: 768px) {
  .find-us-layout {
    grid-template-columns: 1fr;
  }

  .find-us-map-wrap {
    aspect-ratio: 16 / 10;
    min-height: 220px;
  }
}

/* ========== FOOTER ========== */
.footer-gold {
  background: var(--gold);
  padding: 2rem;
  text-align: center;
}

.footer-gold .momo-banner {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.footer-main {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.9);
  padding: clamp(3.5rem, 8vw, 5rem) 2rem 2.5rem;
  border-top: 1px solid rgba(201, 162, 39, 0.2);
}

.footer-main a {
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.2s ease;
}

.footer-main a:hover {
  color: var(--gold);
}

.footer-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 3rem;
}

.footer-main .footer-column h4 {
  margin-bottom: 1.25rem;
  color: #fff;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(201, 162, 39, 0.35);
  padding-bottom: 0.5rem;
}

.footer-column h4 {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 0.5rem;
}

.footer-main .footer-column a {
  color: var(--white);
}

.footer-column a {
  color: var(--text-dark);
}

.footer-column a:hover {
  color: var(--gold-dark);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy) !important;
  transform: translateY(-3px);
}

.footer-social svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
}

.footer-bottom {
  background: var(--surface-2);
  color: var(--text-dark);
  padding: 2rem;
  text-align: center;
  border-top: 1px solid rgba(26, 31, 58, 0.08);
}

[data-theme='dark'] .footer-bottom {
  background: #12151f;
  border-top-color: rgba(255, 255, 255, 0.08);
}

.footer-bottom a {
  color: var(--mauve-dark);
}

/* CREDITS - User specified */
.footer-credits {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--gold);
  font-size: 1rem;
  color: var(--text-dark);
}

.footer-credits .contact-num {
  font-weight: 700;
  color: var(--gold-dark);
  margin: 0.5rem 0;
}

.footer-credits .company {
  font-weight: 700;
  color: var(--mauve-dark);
  margin-top: 0.5rem;
}

.footer-credits .tagline {
  font-size: 0.9rem;
  color: var(--mauve-dark);
}

/* ========== UTILITIES ========== */
.container { max-width: 1400px; margin: 0 auto; padding: 0 2rem; }
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

/* Copy button */
.copy-btn {
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  font-size: 0.8rem;
  background: var(--gold);
  border: none;
  border-radius: 4px;
  margin-left: 0.5rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
  .welcome-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .mobile-nav { display: block !important; }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .top-bar { flex-direction: column; }
  .quick-access { flex-direction: column; }
  .ministries-grid { grid-template-columns: 1fr 1fr; }
  .prayer-layout { grid-template-columns: 1fr !important; }
  .contact-layout { grid-template-columns: 1fr !important; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; }
  .momo-numbers { flex-direction: column; }
}

/* Mobile Nav */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(26, 31, 58, 0.45);
  backdrop-filter: blur(4px);
  z-index: 1998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s;
}

.mobile-nav-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: min(300px, 88vw);
  height: 100vh;
  height: 100dvh;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  background: rgba(26, 31, 58, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 4rem 1.5rem 2rem;
  z-index: 2000;
  box-shadow: -12px 0 48px rgba(0, 0, 0, 0.25);
  border-left: 1px solid rgba(201, 162, 39, 0.2);
  overflow-y: auto;
}

.mobile-nav a {
  color: rgba(255, 255, 255, 0.92);
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav ul {
  list-style: none;
}

.mobile-nav a {
  display: block;
  padding: 0.9rem 0.25rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.mobile-nav a:hover {
  color: var(--gold);
  padding-left: 0.35rem;
}

.mobile-nav .close-btn {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-size: 1.75rem;
  cursor: pointer;
  color: #fff;
  line-height: 1;
  padding: 0.25rem;
  border-radius: 8px;
  transition: background 0.2s;
}

.mobile-nav .close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ========== NEWS (public + data-driven) ========== */
.news-home-section {
  padding: 3rem 0;
}

.news-page-section {
  padding: 2rem 0 4rem;
}

.news-card .card-body h3 a {
  color: inherit;
}

.news-card .card-body h3 a:hover {
  color: var(--gold-dark);
}

.news-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mauve);
  margin-bottom: 0.5rem;
}

.news-category-lg {
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.news-summary {
  margin-bottom: 0.75rem;
}

.news-read-more {
  font-weight: 600;
}

.news-card-placeholder {
  height: 200px;
  background: linear-gradient(135deg, var(--mauve-light), var(--mauve));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  opacity: 0.85;
}

.news-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2rem;
  color: var(--mauve-dark);
}

.news-article-wrap {
  max-width: 720px;
  margin: 0 auto;
}

.news-article-inner {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.news-back {
  margin-bottom: 1rem;
}

.news-back a {
  font-weight: 600;
}

.news-article-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.news-article-meta {
  margin-bottom: 1.5rem;
}

.news-article-figure {
  margin: 0 0 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
}

.news-article-figure img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
}

.news-article-body p {
  margin-bottom: 1rem;
}

.news-toolbar {
  margin-bottom: 2rem;
  background: var(--white);
  padding: 1.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.news-toolbar-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: flex-end;
}

.news-toolbar-label {
  font-weight: 600;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 0.25rem;
  width: 100%;
}

.news-toolbar-input {
  flex: 1;
  min-width: 200px;
  padding: 0.65rem 0.75rem;
  border: 2px solid var(--mauve);
  border-radius: 8px;
  font-size: 1rem;
}

.news-toolbar-select {
  padding: 0.65rem 0.75rem;
  border: 2px solid var(--mauve);
  border-radius: 8px;
  min-width: 180px;
  font-size: 1rem;
}

.news-author-line {
  font-size: 0.9rem;
  color: var(--mauve-dark);
  margin: 0 0 0.5rem;
}

.news-article-author {
  margin-top: -0.25rem;
  margin-bottom: 1rem;
}

.news-share-row {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #e8e0ef;
}

.news-share-btn {
  font-size: 0.95rem;
}

.news-share-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.news-share-label {
  font-weight: 700;
  color: var(--mauve-dark);
  margin-right: 0.25rem;
}

.news-comments {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 2px solid #e8e0ef;
}

.news-comments-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.news-comments-list {
  margin-bottom: 1.5rem;
}

.news-comment-item {
  background: #faf9fc;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--gold);
  margin-bottom: 1rem;
}

.news-comment-meta {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--mauve-dark);
}

.news-comment-body {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
}

.news-comments-empty {
  color: var(--mauve-dark);
  font-style: italic;
}

.news-comment-form {
  max-width: 520px;
}

.news-comment-note {
  font-size: 0.85rem;
  color: var(--mauve-dark);
  margin-top: 0.75rem;
}

.news-comment-msg {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
}

.news-comment-msg-ok {
  background: rgba(201, 162, 39, 0.2);
  color: var(--text-dark);
}

.news-comment-msg-error {
  background: rgba(180, 60, 80, 0.15);
  color: #8b2942;
}

.news-comments-static-note {
  margin-top: 2rem;
  padding: 1rem;
  background: #faf9fc;
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--mauve-dark);
}

.news-load-more-wrap {
  margin-top: 1.5rem;
}

.btn-sm {
  padding: 0.35rem 0.75rem !important;
  font-size: 0.85rem !important;
}

.dash-moderation-side {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e0d8e8;
}

.dash-comments-ul {
  max-height: 320px;
}

.dash-comment-li {
  list-style: none;
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: #faf9fc;
  border-radius: 8px;
  border: 1px solid #e8e0ef;
}

.dash-comment-text {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  white-space: pre-wrap;
  word-break: break-word;
}

.dash-comment-status {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--mauve);
}

.dash-comment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.dash-pending-badge {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.news-dash-layout .news-admin-sidebar {
  max-height: none;
}

.quill-wrap {
  background: var(--white);
  border-radius: 8px;
  border: 2px solid var(--mauve);
}

.quill-wrap .ql-editor {
  min-height: 220px;
  font-size: 1rem;
}

.news-dash-main {
  max-width: 900px;
}

/* ========== NEWS ADMIN ========== */
.news-admin-body {
  min-height: 100vh;
  background: #f5f2f8;
}

.news-admin-gate {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.news-admin-gate-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-width: 420px;
  width: 100%;
}

.news-admin-gate-card h1 {
  margin-bottom: 0.75rem;
}

.news-admin-gate-card p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.news-admin-hint {
  margin-top: 1rem;
  font-size: 0.9rem;
}

.news-admin-toolbar {
  background: var(--mauve-dark);
  color: var(--white);
  padding: 1rem 0;
  margin-bottom: 1.5rem;
}

.news-admin-toolbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.news-admin-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.news-admin-toolbar .btn {
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
}

.news-admin-toolbar .btn-outline {
  border-color: var(--white);
  color: var(--white);
}

.news-admin-toolbar .btn-outline:hover {
  background: var(--white);
  color: var(--mauve-dark);
}

.news-admin-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: 2rem;
  align-items: start;
  padding-bottom: 3rem;
}

.news-admin-sidebar {
  background: var(--white);
  padding: 1.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: sticky;
  top: 1rem;
}

.news-admin-sidebar h2 {
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.news-admin-item-list {
  list-style: none;
  max-height: 55vh;
  overflow-y: auto;
  margin-bottom: 1rem;
}

.news-admin-item-list li {
  margin-bottom: 0.35rem;
}

.news-admin-list-btn {
  width: 100%;
  text-align: left;
  padding: 0.65rem 0.75rem;
  border: 1px solid #e0d8e8;
  border-radius: 8px;
  background: #faf9fc;
  cursor: pointer;
  transition: var(--transition);
}

.news-admin-list-btn:hover {
  border-color: var(--mauve);
  background: var(--white);
}

.news-admin-list-title {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
}

.news-admin-list-date {
  font-size: 0.75rem;
  color: var(--mauve-dark);
}

.news-admin-import {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid #e0d8e8;
}

.news-admin-file-label {
  display: block;
  text-align: center;
  padding: 0.6rem;
  background: var(--gold);
  color: var(--text-dark);
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
}

.news-admin-file-label:hover {
  filter: brightness(0.95);
}

.news-admin-main {
  background: var(--white);
  padding: 1.5rem 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.news-admin-main h2 {
  margin-bottom: 1rem;
}

.news-admin-checkbox-row label {
  font-weight: 500;
  cursor: pointer;
}

.news-admin-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.news-admin-help {
  margin-top: 1.5rem;
  font-size: 0.88rem;
  color: var(--mauve-dark);
  line-height: 1.5;
}

.news-admin-danger {
  color: #8b2942 !important;
  border-color: #c97a8c !important;
}

.admin-toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--mauve-dark);
  color: var(--white);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-width: min(90vw, 480px);
  z-index: 9999;
  transition: transform 0.35s ease;
  font-size: 0.95rem;
}

.admin-toast.visible {
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 900px) {
  .news-admin-layout {
    grid-template-columns: 1fr;
  }

  .news-admin-sidebar {
    position: static;
    max-height: none;
  }

  .news-admin-item-list {
    max-height: 240px;
  }
}

/* ========== MODERN UI: lightbox, FABs, theme, scroll reveal, news layout ========== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(26, 31, 58, 0.92);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: min(96vw, 1100px);
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  transform: scale(0.94);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.lightbox.is-open img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  width: 3rem;
  height: 3rem;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-close:hover {
  background: var(--gold);
  color: var(--navy);
}

.fab-stack {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 950;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: flex-end;
}

.fab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  border: 1px solid transparent;
}

.fab:hover {
  transform: translateY(-3px) scale(1.02);
}

.fab-live {
  background: linear-gradient(135deg, #c41e3a 0%, #8b1538 100%);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.fab-dot {
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.fab-give {
  background: var(--gold-gradient);
  color: var(--navy);
}

.theme-toggle {
  position: fixed;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 950;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid rgba(26, 31, 58, 0.12);
  background: var(--white);
  box-shadow: var(--shadow);
  cursor: pointer;
  font-size: 1.25rem;
  transition: var(--transition);
}

.theme-toggle:hover {
  transform: scale(1.08);
  box-shadow: var(--shadow-md);
}

[data-theme='dark'] .theme-toggle {
  background: var(--surface-2);
  border-color: rgba(255, 255, 255, 0.1);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

body.page-enter {
  animation: pageFadeIn 0.5s ease;
}

@keyframes pageFadeIn {
  from {
    opacity: 0.85;
  }
  to {
    opacity: 1;
  }
}

a.gallery-item {
  text-decoration: none;
  color: inherit;
}

.news-home-section {
  background: var(--surface);
  max-width: none !important;
  padding-left: clamp(1.5rem, 4vw, 3rem);
  padding-right: clamp(1.5rem, 4vw, 3rem);
}

.news-home-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.news-home-section .cards-grid[data-news-feed='home'] {
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .news-home-section .cards-grid[data-news-feed='home'] {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
  }

  .news-home-section .cards-grid[data-news-feed='home'] .news-card:first-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 0;
    align-items: stretch;
  }

  .news-home-section .cards-grid[data-news-feed='home'] .news-card:first-child img,
  .news-home-section .cards-grid[data-news-feed='home'] .news-card:first-child .news-card-placeholder {
    height: 100%;
    min-height: 260px;
  }

  .news-home-section .cards-grid[data-news-feed='home'] .news-card:first-child .card-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

.news-card {
  position: relative;
}

.news-card--featured {
  box-shadow: 0 12px 40px rgba(26, 31, 58, 0.12), 0 0 0 1px rgba(201, 162, 39, 0.25);
}

[data-theme='dark'] .news-card--featured {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(201, 162, 39, 0.35);
}

.news-featured-badge {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.25), rgba(201, 162, 39, 0.08));
  color: var(--gold-dark);
  border: 1px solid rgba(201, 162, 39, 0.35);
}

.news-card .news-category {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
  background: rgba(107, 78, 126, 0.12);
  color: var(--mauve-dark);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}

.news-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.news-card-dot {
  opacity: 0.45;
}

.news-feed-animated .news-card {
  animation: cardFadeUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.news-feed-animated .news-card:nth-child(1) {
  animation-delay: 0.06s;
}
.news-feed-animated .news-card:nth-child(2) {
  animation-delay: 0.12s;
}
.news-feed-animated .news-card:nth-child(3) {
  animation-delay: 0.18s;
}

@keyframes cardFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.news-skeleton .news-card {
  pointer-events: none;
  animation: skeletonPulse 1.2s ease-in-out infinite;
}

@keyframes skeletonPulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.55;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}
