/*

Theme Name: stxavierscathedral

Theme URI: http://www.stxavierscathedral.com

Author: stxavierscathedral

Author URI: http://www.stxavierscathedral.com

Description: Simple and Responsive Wordpress theme.

*/

/* Google Fonts loaded via preconnect + link in header.php */

:root {
  --primary: #D4AF37;
  /* Golden */
  --primary-light: #F5F1E8;
  /* Beige */
  --primary-dark: #8B5A2B;
  /* Wooden */
  --black: #2E1E14;
  /* Deep Wooden background */
  --white: #FDFBF7;
  /* Lighter beige for bright text */
  --glass-bg: rgba(46, 30, 20, 0.65);
  /* Deep wooden glass */
  --glass-border: rgba(212, 175, 55, 0.25);
  /* Golden border */
  --text-light: #F5EFEB;
  /* Beige text */
  --text-muted: rgba(245, 239, 235, 0.7);
  /* Muted beige text */
  --font-serif: 'Cormorant Garamond';
  --font-sans: 'Inter';
  --glow-color: rgba(212, 175, 55, 0.4);
}

/* Base resets & styles */
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-sans);
  background-color: var(--primary-light);
  color: var(--text-light);
  overflow-x: hidden;
}

p {
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
}

:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
  font-family: var(--font-serif);
  color: var(--text-light);
  letter-spacing: 1.5px;
}

a {
  color: var(--text-light);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

a:hover {
  color: var(--primary-light);
  text-decoration: none;
}

/* Glassmorphism Header */
.header {
  position: fixed;
  top: 0px;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(46, 30, 20, 0.95);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.4s ease;
}

.page-template-template-Home .header,
.page-template-template-home .header {
  background: #2E1E141A;
}

.single-event .header {
  background: #2e1e148f;
}

.header.scrolled,
.single-event .header.scrolled {
  background: rgba(46, 30, 20, 0.95);
  box-shadow: 0 10px 30px rgba(20, 12, 8, 0.5);
}

.page-template-template-home .header.scrolled,
.page-template-template-Home .header.scrolled {
  top: 0;
  background: rgba(46, 30, 20, 0.95);
}

/* Header Scroll Direction Visibility Utilities */
.header.header-hidden {
  top: -150px !important;
}

.header.header-visible {
  top: 0 !important;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 2%;
  max-width: 1920px;
  margin: 0 auto;
  position: relative;
  min-height: 110px;
}

/* Left Logo */
.header-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 1001;
}

.logo-crest {
  font-size: 24px;
  color: var(--primary);
  filter: drop-shadow(0 0 8px var(--glow-color));
  animation: pulse-crest 4s infinite ease-in-out;
  display: flex;
  align-items: center;
}

.logo-text-wrapper {
  display: flex;
  flex-direction: column;
}

.logo-title-main,
.logo-title-sub {
  font-family: var(--font-serif);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.2;
  color: var(--white);
  text-shadow: 1px 1px 1px #FFA200;
}


/* Navigation layout */
.header-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 50px;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 10%;
  text-transform: capitalize;
  color: var(--text-light);
  position: relative;
  padding: 10px 0;
}

.nav-links li a:hover,
.nav-links li.active a {
  color: var(--primary-light);
}

/* Hover Underline with center dot */
.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 100%;
  height: 1px;
  background: var(--primary);
  transition: transform 0.3s ease;
}

.nav-links li a:hover::after,
.nav-links li.active a::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-links li a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
  transition: transform 0.3s ease;
  box-shadow: 0 0 8px var(--primary-light);
}

.nav-links li a:hover::before,
.nav-links li.active a::before {
  transform: translateX(-50%) scale(1);
}

/* Center Emblem */
.emblem-wrapper {
  margin: 0 35px;
  z-index: 1002;
  position: relative;
}

.center-emblem {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid var(--primary);
  box-shadow: 0 0 20px rgba(197, 168, 128, 0.4), inset 0 0 10px rgba(0, 0, 0, 0.8);
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  background-color: var(--black);
  object-fit: cover;
}

.center-emblem:hover {
  transform: scale(1.1) rotate(5deg);
  border-color: var(--primary-light);
  box-shadow: 0 0 30px rgba(197, 168, 128, 0.7);
}

/* Right side CTAs */
.header-ctas {
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 1001;
}

/* Mobile drawer CTAs - hidden on desktop */
.mobile-ctas-drawer {
  display: none;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 3px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-gold {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  color: var(--black) !important;
  font-weight: 700;
  border: none;
  box-shadow: 0 4px 15px rgba(197, 168, 128, 0.3);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(197, 168, 128, 0.6);
  filter: brightness(1.1);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white) !important;
  display: flex;
  align-items: center;
}

.btn-outline:hover {
  background: var(--primary);
  border-color: var(--primary-light);
  color: var(--primary-light) !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(197, 168, 128, 0.2);
}

.play-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  transition: all 0.3s ease;
}

.btn-outline:hover .play-icon-wrapper svg {
  color: #111111;
}

/* Mobile Hamburger Menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  z-index: 1010;
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--white);
  transition: all 0.3s ease;
}

/* Fullscreen Hero Section */
.hero-banner {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 650px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 8%;
  overflow: hidden;
  background-color: var(--black);
}

/* Cinematic Video Background */
.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}


/* Multi-layered dark and gold cinematic overlays */


.hero-glow-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
  background: radial-gradient(circle at 70% 50%, rgba(197, 168, 128, 0.12) 0%, transparent 60%);
  animation: glow-pulse 10s infinite alternate ease-in-out;
}



/* Dynamic light ray or fog overlay */
.hero-fog {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
  background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.4) 0%, transparent 50%);
  opacity: 0.8;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 5;
  max-width: 650px;
  text-align: left;
}

.hero-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 20px;
  animation: fade-in-down 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero-subtitle-icon {
  font-size: 14px;
  filter: drop-shadow(0 0 5px var(--primary));
}

.hero-title {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 25px;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.8), 0 5px 15px rgba(0, 0, 0, 0.5);
  animation: fade-in-up 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero-title span {
  display: block;
}

.hero-divider {
  width: 100px;
  height: 1.5px;
  background: var(--primary);
  position: relative;
  margin-bottom: 30px;
  animation: extend-divider 1.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
}

.hero-description {
  font-size: 18px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  letter-spacing: 0.5px;
  margin-bottom: 0;
  animation: fade-in-up 1.4s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  max-width: 400px;
}

/* Animations */
@keyframes pulse-crest {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.9;
  }

  50% {
    transform: scale(1.05);
    opacity: 1;
    filter: drop-shadow(0 0 12px var(--primary));
  }
}

@keyframes glow-pulse {
  0% {
    opacity: 0.6;
    background-size: 100% 100%;
  }

  100% {
    opacity: 1;
    background-size: 120% 120%;
  }
}


@keyframes fade-in-down {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in-up {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes extend-divider {
  0% {
    width: 0;
    opacity: 0;
  }

  100% {
    width: 100px;
    opacity: 1;
  }
}

/* Common Container for general content if any */
.common-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.inner_section {
  padding: 80px 0;
  background-color: var(--black);
}

.post-content {
  color: var(--text-muted);
}

/* Mini Banner (Inner Pages) */
.banner_image.min_banner {
  position: relative;
  width: 100%;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--black);
  border-bottom: 1px solid var(--glass-border);
}

.banner_image.min_banner .hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.banner_image.min_banner .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.7) 100%);
}

.banner_image.min_banner .hero-glow-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(197, 168, 128, 0.08) 0%, transparent 70%);
}

.banner_image.min_banner .title-sec {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 0 20px;
  margin-top: 60px;
  /* offset for sticky header */
}

.banner_image.min_banner .page-title {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
  margin: 0;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.banner_image.min_banner .page-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: var(--primary);
}

.banner_image.min_banner .page-title::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--primary-light);
  box-shadow: 0 0 6px var(--primary-light);
}

/* ==========================================================================
   Premium Cinematic Scroll Storytelling Section
   ========================================================================== */

/* Theme Variables for Story Section */
:root {
  --beige-bg: #F5EFEB;
  --text-dark-gold: #D4AF37;
  --text-charcoal: #2E1E14;
  --text-muted-brown: #8B5A2B;
}

.scroll-story-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  background-color: var(--beige-bg);
  z-index: 20;
}

/* Pin Container */
.journey-pin-container {
  position: relative;
  width: 100%;
  height: 100vh;
  /* overflow: hidden; */
  background-color: var(--beige-bg);
  transition: background-color 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Background Sketch Backdrop */
.journey-backdrop-sketch {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 100%;
  max-width: 100%;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: multiply;
  transition: opacity 0.8s ease, transform 0.8s ease;
  height: 100%;
}

.sketch-cathedral-backdrop {
  width: 100%;
  height: 100%;
  opacity: 0.07;
  filter: sepia(0.3) contrast(1.1);
}

/* Decorative Sketches */
.journey-sketches {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.slide-sketch {
  position: absolute;
  opacity: 0;
  transition: opacity 0.8s ease;
  width: 250px;
  height: auto;
}

.vine-top-right {
  top: 0;
  right: 0;
  transform: scale(0.9);
}

.vine-left-side {
  top: 15%;
  left: 0%;
}

.praying-hands-sketch {
  bottom: 2%;
  right: 0%;
}

/* Stone Cross (Centered & Background Offset) */
.journey-desktop-cross {
  position: absolute;
  top: 50%;
  left: 75%;
  transform: translate(-50%, -50%) scale(0.65);
  width: 25%;
  max-width: 640px;
  z-index: 3;
  opacity: 0.18;
  pointer-events: none;
  text-align: center;
}

.stone-cross-img {
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
  display: block;
  margin: 0 auto;
}

/* Image Showcase (Left Arched Card) */
.journey-video-showcase {
  position: absolute;
  width: 26%;
  height: 76%;
  left: 8%;
  top: 8%;
  border-radius: 240px 240px 20px 20px;
  z-index: 4;
  overflow: hidden;
  box-shadow: 0 25px 55px rgba(140, 111, 74, 0.15);
  background-color: var(--beige-bg);
}

.showcase-arch-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-overlay-tint {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgb(0 0 0 / 17%) 0%, rgb(0 0 0 / 4%) 50%, rgb(0 0 0 / 0%) 100%);
  z-index: 1;
}

/* Slide 1: Short Story Content Columns (Middle & Right) */
.journey-story-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 36% 50%;
  align-items: center;
  padding: 0 5%;
  z-index: 7;
  pointer-events: none;
}

.journey-story-content * {
  pointer-events: auto;
}

/* Middle Portrait Column */
.story-middle-col {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.portrait-card-frame {
  width: 85%;
  max-width: 280px;
  aspect-ratio: 3/4.2;
  border: 1px solid rgba(140, 111, 74, 0.3);
  padding: 10px;
  background: rgba(255, 255, 255, 0.4);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  border-radius: 4px;
}

.saint-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
}

/* Right Story Text Column */
.story-right-col {
  padding-left: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.short-story-header {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.double-gold-divider {
  width: 90px;
  height: 4px;
  border-top: 1px solid var(--primary);
  border-bottom: 1px solid var(--primary);
  margin-bottom: 8px;
}

.short-story-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-dark-gold);
  font-family: var(--font-serif);
  margin: 0;
}

.short-story-desc {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-charcoal);
  margin-bottom: 15px;
  font-weight: 400;
}

.story-tagline {
  font-family: var(--font-serif);
  font-size: 16px;
  font-style: italic;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 18px;
  letter-spacing: 0.5px;
  display: block;
}

.short-story-additional {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-muted-brown);
  margin-bottom: 25px;
  font-weight: 400;
}

/* Elegant Drop Cap for Story Description (Desktop only) */
@media only screen and (min-width: 1024px) {
  .short-story-desc::first-letter {
    font-family: var(--font-serif);
    font-size: 46px;
    font-weight: 700;
    color: var(--primary-dark);
    float: left;
    line-height: 0.85;
    padding-right: 8px;
    margin-top: 4px;
  }
}

.read-more-text-link {
  font-family: var(--font-sans, inherit);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--primary, #D4AF37);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  position: relative;
  padding-bottom: 6px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.read-more-text-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary, #D4AF37);
  transform: scaleX(0.3);
  transform-origin: left center;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.read-more-text-link:hover {
  color: var(--primary-dark, #2E1E14);
}

.read-more-text-link:hover::after {
  transform: scaleX(1);
}

.cta-arrow {
  color: inherit;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.read-more-text-link:hover .cta-arrow {
  transform: translateX(6px);
}

/* Slide 2: Narrative Blocks (Scrolling Panel) */
.journey-narratives-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 6;
  opacity: 0;
  pointer-events: none;
  overflow: visible;
}

.narratives-scroll-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  gap: 40%;
  align-items: start;
  pointer-events: auto;
  /* Top padding ensures elements start below fold, bottom padding holds scroll end */
  padding-top: 60vh;
  padding-bottom: 60vh;
}

.narratives-column {
  display: flex;
  flex-direction: column;
  gap: 35vh;
}

.narrative-block-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: transparent;
  border: none;
  padding: 0;
}

/* ==========================================================================
   Modern History Editor Content
   ========================================================================== */
.history-editor-content {
  background-color: #0a0705;
  color: rgba(255, 255, 255, 0.85);
  padding: 80px 0;
  position: relative;
  background-image: url('data:image/svg+xml;utf8,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="4" stitchTiles="stitch"/></filter><rect width="100" height="100" filter="url(%23noise)" opacity="0.03"/></svg>');
}

.editor-glass-container {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(212, 175, 55, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(212, 175, 55, 0.02);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 60px;
  max-width: 900px !important;
  /* Keep it centered and narrow for good reading */
  margin: 0 auto;
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.8;
  text-align: justify;
}

.editor-glass-container h1,
.editor-glass-container h2,
.editor-glass-container h3 {
  font-family: var(--font-sans);
  color: var(--primary);
  text-align: center;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.editor-glass-container p {
  margin-bottom: 25px;
}

/* Optional drop-cap for first paragraph in editor */
.editor-glass-container>p:first-of-type::first-letter {
  font-size: 3em;
  float: left;
  line-height: 0.8;
  padding-right: 10px;
  color: var(--primary);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

@media (max-width: 768px) {
  .editor-glass-container {
    padding: 30px 20px;
  }
}

.narrative-icon-wrapper {
  margin-bottom: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 120px;
  height: 120px;
}

.narrative-gold-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.narrative-icon-underline {
  width: 50px;
  height: 1px;
  background: var(--primary);
  margin-bottom: 18px;
}

.narrative-text {
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-charcoal);
  font-weight: 500;
  max-width: 400px;
  margin: 0;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
}

.narrative-text.text-highlight {
  font-style: italic;
  color: var(--text-dark-gold);
}

/* ==========================================================================
   Homepage Charity - Reference Layout
   ========================================================================== */
.home-charity-reference {
  position: relative;
  padding: 100px 0 60px 0;
  background-color: var(--primary-light);
  overflow: hidden;
  /* Added to contain watermark */
}

/* Split background effect */
.charity-bg-split {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 75%;
  background-color: var(--white);
  z-index: 1;
}

.home-charity-reference .common-container {
  position: relative;
  z-index: 5;
}

.charity-watermark {
  position: absolute;
  bottom: 2%;
  left: 0%;
  width: 180px;
  height: 235px;
  z-index: 2;
  opacity: 0.05 !important;
  pointer-events: none;
  transform: rotate(340deg);
}

.charity-watermark svg {
  width: 100%;
  height: 100%;
  color: var(--primary-dark);
}

.animated-watermark-svg path,
.animated-watermark-svg circle {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
}

.charity-ref-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: flex-start;
}

/* Left Content */
.charity-ref-left {
  padding-top: 20px;
}

.charity-ref-subtitle {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  font-size: 38px;
  /* Slightly larger */
  color: var(--primary-dark);
  margin-bottom: 25px;
}

.charity-ref-subtitle svg {
  color: var(--primary-dark);
}

.charity-ref-title {
  font-family: var(--font-sans);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.15;
  color: #111;
  text-transform: uppercase;
  margin-bottom: 30px;
  letter-spacing: -0.5px;
  max-width: 500px;
}

.charity-ref-title .highlight {
  color: var(--primary);
}

.highlight-text {
  font-size: 48px;
  display: block;
  font-weight: 500;
  color: var(--primary);
}

.charity-ref-desc {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 45px;
  max-width: 95%;
}

.btn-ref-solid {
  display: inline-block;
  padding: 18px 45px;
  background-color: var(--primary);
  color: #111;
  font-family: var(--font-sans);
  font-weight: 800;
  /* Bolder button text */
  font-size: 15px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.4s, transform 0.4s, box-shadow 0.4s;
  letter-spacing: 2px;
  box-shadow: 0 4px 10px rgba(255, 188, 0, 0.3);
}

.btn-ref-solid:hover {
  background-color: #e6a800;
  transform: translateY(-4px);
  box-shadow: 0 12px 20px rgba(255, 188, 0, 0.4);
}

/* Right Content */
.charity-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 50px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-item {
  text-align: center;
  padding: 0 15px 30px 15px;
  position: relative;
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  /* Soft gradient divider */
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0) 100%);
}

.stat-item .stat-icon {
  width: 40px;
  height: 40px;
  color: var(--primary-dark);
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.stat-item:hover .stat-icon {
  color: var(--primary);
  transform: scale(1.1);
}

.stat-item h4 {
  font-family: var(--font-sans);
  font-size: 46px;
  font-weight: 900;
  color: #1a1a1a;
  margin-bottom: 8px;
  line-height: 1;
}

.stat-item p {
  font-size: 15px;
  color: #555;
  font-weight: 600;
  margin: 0;
}

.charity-ref-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  /* deeper shadow */
  position: relative;
}

.charity-ref-image::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  pointer-events: none;
}

.charity-ref-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.charity-ref-image:hover img {
  transform: scale(1.03);
}

@media (max-width: 992px) {
  .charity-ref-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .charity-bg-split {
    height: 60%;
  }

  .charity-stats-row {
    gap: 30px;
    border-bottom: none;
    margin-top: 50px;
    margin-bottom: 40px;
  }
}

.stat-item:not(:last-child)::after {
  display: none;
}

.stat-item {
  padding-bottom: 0;
}


@media (max-width: 576px) {
  .charity-ref-title {
    font-size: 36px;
  }

  .stat-item h4 {
    font-size: 38px;
  }
}

/* ==========================================================================
   Modern Bento Gallery Section
   ========================================================================== */
.home-modern-bento-gallery {
  padding: 0px 0 100px;
  background-color: var(--primary-light);
}

.gallery-ref-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 0px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.gallery-ref-title {
  font-family: var(--font-serif);
  font-size: 42px;
  color: var(--black);
  line-height: 1.2;
  margin: 0;
}

.gallery-ref-title strong {
  font-weight: 700;
}

.gallery-ref-desc {
  color: #555;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.gallery-ref-btn {
  display: inline-block;
  background-color: var(--primary);
  /* Dark green/black similar to reference */
  color: var(--black);
  padding: 12px 30px;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-top: 10px;
}

.gallery-ref-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  color: #fff;
}

/* Gallery Staggered Grid */
.gallery-staggered-wrapper {
  display: flex;
  gap: 20px;
  align-items: center;
  /* This centers columns vertically to create masonry effect */
  width: 100%;
  margin-top: -40px;
}

.stagger-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

.stagger-item {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  width: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stagger-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.stagger-item:hover img {
  transform: scale(1.05);
}

/* Height definitions for the specific masonry look */
.tall-1 {
  height: 350px;
}

.square-1 {
  height: 180px;
}

.tall-2 {
  height: 420px;
}

.square-2 {
  height: 250px;
}

.tall-3 {
  height: 380px;
}

.large-square {
  height: 280px;
}

.landscape-1 {
  height: 160px;
}

/* Overlays */
.stagger-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.7) 100%);
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
}

.stagger-overlay.align-bottom {
  justify-content: flex-end;
}

.stagger-overlay h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--primary);
  font-family: var(--font-serif);
}

.stagger-overlay h3 {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 10px;
  font-family: var(--font-serif);
}

.stagger-overlay p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  font-family: var(--font-sans);
}

.stagger-overlay .large-text {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 20px;
}

.stagger-btn {
  display: inline-block;
  padding: 10px 20px;
  background: var(--black);
  color: var(--primary);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  align-self: flex-start;
  text-transform: uppercase;
}

.huge-title {
  font-size: 54px !important;
  margin-bottom: 0 !important;
}

.right-align {
  text-align: right;
  font-size: 18px !important;
  font-weight: 500;
}

@media (max-width: 992px) {
  .gallery-staggered-wrapper {
    flex-wrap: wrap;
  }

  .stagger-col {
    min-width: 45%;
  }
}

@media (max-width: 576px) {
  .stagger-col {
    min-width: 100%;
  }

  .gallery-staggered-wrapper {
    align-items: stretch;
  }
}

@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item.item-large,
  .gallery-item.item-tall,
  .gallery-item.item-wide {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* ==========================================================================
   Homepage Donation Section (Modern Design)
   ========================================================================== */
.home-modern-donation {
  padding: 120px 0;
  background-color: var(--white);
  overflow: hidden;
  font-family: var(--font-sans);
}

.modern-donation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Left Content */
.donation-content-col {
  padding-right: 40px;
}

.donation-badge-text {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
}

.donation-badge-text svg {
  color: #1A3628;
  /* Dark green/black */
}

.donation-badge-text span {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  color: #444;
}

.donation-title {
  font-family: var(--font-sans);
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  color: #111;
  text-transform: uppercase;
  margin-bottom: 30px;
  letter-spacing: -0.5px;
}

.donation-title .highlight-yellow {
  color: var(--primary);
}

.donation-desc {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 40px;
  max-width: 90%;
}

.donation-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  position: relative;
  z-index: 10;
}

.donation-actions a {
  padding: 16px 40px 16px 0;
  border-radius: 50px;
  font-family: var(--font-sans, inherit);
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 2px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-yellow-solid {
  background-color: var(--primary, #D4AF37);
  color: #111;
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.25);
  border: 1px solid var(--primary, #D4AF37);
}

.btn-yellow-solid:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.45);
  background-color: transparent;
  color: var(--primary, #D4AF37);
}

.btn-dark-solid {
  background-color: #1A3628;
  color: var(--white, #ffffff);
  box-shadow: 0 10px 25px rgba(26, 54, 40, 0.25);
  border: 1px solid #1A3628;
}

.btn-dark-solid:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(26, 54, 40, 0.45);
  background-color: transparent;
  color: #1A3628;
}

/* Right Image Area */
.donation-image-col {
  position: relative;
}

.donation-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: visible;
  /* To allow stamp to overflow */
}

.main-donation-img {
  width: 100%;
  height: 600px;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  display: block;
  object-fit: cover;
  object-position: top;
}

.donation-stamp {
  position: absolute;
  top: -40px;
  left: -40px;
  width: 140px;
  height: 140px;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(255, 193, 7, 0.4);
  z-index: 10;
}

.rotating-text-svg {
  position: absolute;
  width: 130px;
  height: 130px;
  animation: rotateText 15s linear infinite;
}


@keyframes rotateText {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.stamp-icon {
  position: relative;
  z-index: 2;
  color: #111;
}

/* Responsive */
@media (max-width: 1024px) {
  .modern-donation-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .donation-content-col {
    padding-right: 0;
  }

  .donation-stamp {
    top: -20px;
    left: -10px;
    width: 120px;
    height: 120px;
  }

  .rotating-text-svg {
    width: 110px;
    height: 110px;
  }
}

@media (max-width: 768px) {
  .donation-title {
    font-size: 36px;
  }

  .donation-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .donation-actions a {
    text-align: center;
  }
}

/* ==========================================================================
   Dedicated Charity Page Styles
   ========================================================================== */
.charity-page-wrapper {
  background-color: var(--beige-bg);
  min-height: 100vh;
  overflow: hidden;
}

.charity-hero-header {
  position: relative;
  padding: 180px 0 120px;
  text-align: center;
  background-color: var(--white);
  border-bottom: 1px solid rgba(228, 178, 91, 0.2);
  overflow: hidden;
}

.charity-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.charity-main-title {
  font-family: var(--font-serif);
  font-size: 56px;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 25px;
  font-weight: 500;
}

/* ==========================================================================
   Cinematic Pinned Scroll Section
   ========================================================================== */
.charity-pin-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  background-color: var(--beige-bg);
  overflow: visible;
}

.charity-pin-left {
  width: 50%;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5%;
}

.charity-text-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 300px;
  /* Space for the text blocks to overlap */
}

.charity-text-block {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  opacity: 0;
  visibility: hidden;
}

/* First block is visible initially */
.charity-text-block.char-block-1 {
  opacity: 1;
  visibility: visible;
}

.charity-tag {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--primary);
  font-weight: 600;
  display: block;
  margin-bottom: 15px;
}

.charity-text-title {
  font-family: var(--font-serif);
  font-size: 42px;
  color: var(--text-dark);
  margin-bottom: 25px;
  line-height: 1.2;
}

.charity-intro-text {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-muted);
}

.charity-project-title {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.charity-project-desc {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 30px;
  border-left: 3px solid var(--primary);
  padding-left: 20px;
}

.charity-hands-sketch-inline {
  width: 200px;
  opacity: 0.8;
}

.charity-hands-sketch-inline img {
  width: 100%;
  height: auto;
}

/* Right Side: Scrolling Images */
.charity-pin-right {
  width: 50%;
  display: flex;
  flex-direction: column;
}

.charity-image-panel {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10%;
}

.charity-img-inner {
  position: relative;
  width: 100%;
  height: 80vh;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.charity-img-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   Footer Premium Unique Light Layout
   ========================================================================== */
.site-footer.premium-light-footer {
  background-color: #FAF8F5;
  /* Premium soft beige */
  position: relative;
  z-index: 10;
  color: #2A2A2A;
  font-family: var(--font-sans);
  border-top: 1px solid rgba(228, 178, 91, 0.3);
}

/* Subtle Background Pattern */
.footer-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.03;
  background-image: radial-gradient(var(--primary) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

/* CTA Banner Overlap */
.footer-cta-wrapper {
  position: relative;
  margin-top: -100px;
  width: 100%;
  z-index: 20;
}

.premium-cta-card {
  background: linear-gradient(135deg, var(--white) 0%, #FFFDF9 100%);
  border-radius: 30px;
  padding: 50px 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 40px 80px rgba(140, 111, 74, 0.15), inset 0 0 0 2px rgba(228, 178, 91, 0.2);
  position: relative;
  overflow: hidden;
}

.cta-glow-circle {
  position: absolute;
  top: -50px;
  left: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(228, 178, 91, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.cta-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--primary-dark);
  text-transform: uppercase;
  margin-bottom: 15px;
}

.cta-title {
  font-family: var(--font-serif);
  font-size: 38px;
  color: #1A1A1A;
  font-weight: 900;
  margin-bottom: 10px;
  line-height: 1.1;
}

.cta-title em {
  color: var(--primary);
  font-style: italic;
}

.cta-content p {
  color: #555;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

.btn-premium-dark {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background-color: #1A1A1A;
  color: var(--white) !important;
  padding: 18px 40px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 2;
}

.btn-premium-dark i {
  transition: transform 0.3s ease;
}

.btn-premium-dark:hover {
  background-color: var(--primary);
  box-shadow: 0 15px 35px rgba(228, 178, 91, 0.4);
  transform: translateY(-3px);
}

.btn-premium-dark:hover i {
  transform: translateX(5px);
}

/* Main Area */
.footer-main-area {
  padding: 80px 0 80px;
  position: relative;
  overflow: hidden;
}

.relative-container {
  position: relative;
}

.premium-footer-grid {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 80px;
  position: relative;
  z-index: 2;
}

/* Brand Column */
.footer-logo img {
  max-width: 90px;
  margin-bottom: 30px;
  display: block;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.05));
}

.brand-desc p {
  font-size: 15px;
  line-height: 1.8;
  color: #5A5A5A;
  margin-bottom: 35px;
}

.premium-socials {
  display: flex;
  gap: 12px;
}

.social-bubble {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: var(--white);
  color: #1A1A1A;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-bubble:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-8px) scale(1.1);
  box-shadow: 0 15px 25px rgba(228, 178, 91, 0.3);
}

/* Links Grid */
.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.links-group h4 {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Animated Underline Links */
.animated-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.animated-links li {
  margin-bottom: 16px;
}

.animated-links a {
  color: #5A5A5A;
  font-size: 15px;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
  display: inline-block;
}

.animated-links a::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: var(--primary);
  transform-origin: bottom right;
  transition: transform 0.4s cubic-bezier(0.86, 0, 0.07, 1);
}

.animated-links a:hover {
  color: var(--primary-dark);
}

.animated-links a:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* Contact Info List */
.contact-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.icon-box {
  width: 40px;
  height: 40px;
  background: rgba(228, 178, 91, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  font-size: 14px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.contact-info-list li:hover .icon-box {
  background: var(--primary);
  color: var(--white);
  transform: rotate(5deg) scale(1.1);
}

.info-text span {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  color: #888;
  letter-spacing: 1px;
  margin-bottom: 3px;
}

.info-text strong {
  display: block;
  font-size: 14px;
  color: #1A1A1A;
  font-weight: 500;
  line-height: 1.4;
}

/* Huge Watermark Typography */
.footer-watermark {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, -0%);
  width: 100%;
  text-align: center;
  pointer-events: none;
  z-index: 0;
  opacity: 0.1;
}

.footer-watermark h2 {
  font-family: var(--font-serif);
  font-size: clamp(120px, 30vw, 230px);
  font-weight: 700;
  color: #1A1A1A;
  opacity: 0.03;
  margin: 0;
  line-height: 0.8;
  white-space: nowrap;
}

/* Bottom Bar */
.footer-bottom-premium {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: 25px 0;
  position: relative;
  z-index: 2;
  background-color: transparent;
}

.bottom-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  font-size: 13px;
  color: #777;
  margin: 0;
}

.designer p {
  font-size: 13px;
  color: #777;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

.designer a {
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 2px;
  font-weight: 700;
}

.designer a svg {
  width: 20px;
  height: 20px;
}

/* Responsive */
@media (max-width: 1024px) {
  .premium-footer-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .footer-links-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .premium-cta-card {
    flex-direction: column;
    text-align: center;
    padding: 40px 30px;
    gap: 30px;
  }

  .cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .cta-title {
    font-size: 32px;
  }

  .footer-links-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .bottom-bar-inner {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

/* ==========================================================================
   Preloader (Blesso style)
   ========================================================================== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999999;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  overflow: hidden;
}

.preloader svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 110vh;
  fill: #050505;
  /* Deep black theme color */
  pointer-events: none;
}

.preloader .inner {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 300px;
}

.modern-loader-icon {
  width: 80px;
  height: auto;
  margin: 0 0 20px 0;
  padding: 0;
  animation: goldPulse 2s infinite ease-in-out;
}

.modern-loader-icon img {
  max-width: 100%;
  filter: brightness(0) invert(1) sepia(1) hue-rotate(5deg) saturate(3) drop-shadow(0 0 5px rgba(244, 199, 36, 0.5));
}

.loading-text-modern {
  font-family: var(--font-cinzel), serif;
  color: #F4C724;
  /* Theme gold */
  font-size: 16px;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeInText 1.5s forwards 0.3s;
}

@keyframes goldPulse {
  0% {
    transform: scale(0.95);
    opacity: 0.7;
    filter: drop-shadow(0 0 5px rgba(244, 199, 36, 0.2));
  }

  50% {
    transform: scale(1.05);
    opacity: 1;
    filter: drop-shadow(0 0 15px rgba(244, 199, 36, 0.6));
  }

  100% {
    transform: scale(0.95);
    opacity: 0.7;
    filter: drop-shadow(0 0 5px rgba(244, 199, 36, 0.2));
  }
}

@keyframes fadeInText {
  to {
    opacity: 1;
  }
}

/* Custom Cross Cursor */
@media (pointer: fine) {

  body,
  a,
  button,
  .btn,
  input,
  textarea {
    cursor: none !important;
  }
}

@media (pointer: coarse) {

  .custom-cursor-cross,
  .custom-cursor-follower {
    display: none !important;
  }
}

.custom-cursor-cross {
  position: fixed;
  top: 0;
  left: 0;
  width: 35px;
  height: 35px;
  margin-top: -15px;
  margin-left: -15px;
  pointer-events: none;
  z-index: 999999;
  color: var(--primary);
  /* Golden */
  transition: width 0.3s ease, height 0.3s ease, margin 0.3s ease, color 0.3s ease;
  will-change: transform;
}

.custom-cursor-cross svg {
  width: 100%;
  height: 100%;
  display: block;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.5));
}

.custom-cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 45px;
  height: 45px;
  margin-top: -20px;
  margin-left: -20px;
  border: 1px solid rgba(212, 175, 55, 0.5);
  /* Golden border */
  border-radius: 50%;
  pointer-events: none;
  z-index: 999998;
  transition: width 0.3s ease, height 0.3s ease, margin 0.3s ease, background-color 0.3s ease, border 0.3s ease;
  will-change: transform;
  mix-blend-mode: difference;
}

/* Hover States for Cross Cursor */
.custom-cursor-cross.cursor-hover {
  color: var(--white);
}

.custom-cursor-follower.cursor-hover {
  width: 60px;
  height: 60px;
  margin-top: -30px;
  margin-left: -30px;
  background-color: rgba(212, 175, 55, 0.1);
  border-color: var(--primary);
  mix-blend-mode: normal;
}

/* ==========================================================================
   Modern History Page Banner
   ========================================================================== */
.history-hero-cinematic {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--black);
  overflow: hidden;
  text-align: center;
}

.hero-parallax-bg {
  position: absolute;
  top: -10%;
  left: -10%;
  right: -10%;
  bottom: -10%;
  background-image: url(images/antique_book_banner.webp);
  background-size: 60%;
  background-repeat: no-repeat;
  background-position: bottom 0 center;
  z-index: 0;
  animation: subtleZoom 20s infinite alternate linear;
}

@keyframes subtleZoom {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.1);
  }
}

.hero-overlay-dark {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(10, 7, 5, 1) 100%);
  z-index: 1;
}

/* Floating Particles for Hero */
.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
}

.particle {
  position: absolute;
  background-color: rgba(212, 175, 55, 0.4);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.8);
  animation: float-particle linear infinite;
}

.p1 {
  width: 4px;
  height: 4px;
  left: 20%;
  top: 80%;
  animation-duration: 15s;
}

.p2 {
  width: 6px;
  height: 6px;
  left: 80%;
  top: 90%;
  animation-duration: 20s;
}

.p3 {
  width: 3px;
  height: 3px;
  left: 50%;
  top: 70%;
  animation-duration: 12s;
}

.p4 {
  width: 8px;
  height: 8px;
  left: 10%;
  top: 40%;
  animation-duration: 25s;
}

.p5 {
  width: 5px;
  height: 5px;
  left: 90%;
  top: 30%;
  animation-duration: 18s;
}

@keyframes float-particle {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  80% {
    opacity: 1;
  }

  100% {
    transform: translateY(-100vh) translateX(50px);
    opacity: 0;
  }
}

.hero-glow-accent {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
  z-index: 2;
  pointer-events: none;
}

.hero-content-center {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title-modern {
  font-family: var(--font-serif);
  font-size: 80px;
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 25px;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.hero-title-modern span {
  font-style: italic;
  color: var(--primary);
}

.hero-divider-modern {
  width: 60px;
  height: 1px;
  background-color: var(--primary);
  margin-bottom: 30px;
}

.hero-desc-modern {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  text-align: center;
  line-height: 1.8;
  margin-bottom: 50px;
}

.scroll-indicator-down {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--primary);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: bounce-scroll 2s infinite ease-in-out;
}

.scroll-indicator-down svg {
  width: 24px;
  height: 24px;
  margin-top: 10px;
}

@keyframes bounce-scroll {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(10px);
  }
}

/* ==========================================================================
   Ultra-Realistic Bible Flipbook Section (StPageFlip)
   ========================================================================== */
.bible-history-section {
  padding: 170px 0 120px;
  background-color: #0a0705;
  background-image: radial-gradient(circle at center, #1f140e 0%, #050302 100%);
  overflow: hidden;
  position: relative;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.section-heading p {
  max-width: 600px;
  margin: auto;
}

.book-scene-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0px 0 20px;
  width: 100%;
}

/* Divine Rays Behind Book */
.divine-light-rays {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1000px;
  height: 1000px;
  background: conic-gradient(from 0deg, transparent 0%, rgba(212, 175, 55, 0.05) 10%, transparent 20%, rgba(212, 175, 55, 0.02) 30%, transparent 40%, rgba(212, 175, 55, 0.08) 50%, transparent 60%, rgba(212, 175, 55, 0.03) 70%, transparent 80%, rgba(212, 175, 55, 0.05) 90%, transparent 100%);
  animation: rotate-rays 60s linear infinite;
  z-index: 1;
  pointer-events: none;
  opacity: 0.8;
  border-radius: 50%;
  mask-image: radial-gradient(circle at center, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at center, black 0%, transparent 70%);
}

@keyframes rotate-rays {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.flipbook {
  margin: 0 auto;
  box-shadow: 0 50px 80px rgba(0, 0, 0, 0.9), 0 20px 30px rgba(0, 0, 0, 0.7);
}

.flipbook .page {
  background-color: #f7eedf;
  background-image: url('assets/images/bible-page-bg.webp');
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  color: #3b2718;
  box-shadow: inset 0 0 20px rgba(139, 90, 43, 0.2);
  /* Lighter vignette for Turn.js */
}

/* Hard Cover Styling for Turn.js */
.flipbook .hard {
  background-color: #24140d;
  color: var(--primary);
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.9);
}

.flipbook .page-cover-top {
  background-image: url('assets/images/bible-cover.webp');
  background-size: cover;
  background-position: center;
}

.flipbook .page-cover-bottom {
  background-image: url('assets/images/bible-cover-end.webp');
  background-size: cover;
  background-position: center;
}

/* Turn.js wraps pages, so we don't need absolute spine styling if gradients handles it, but let's keep it subtle */
.book-spine-left {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 40px;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 100%);
  z-index: 10;
  pointer-events: none;
}

.book-spine-right {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 40px;
  background: linear-gradient(to left, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 100%);
  z-index: 10;
  pointer-events: none;
}

.flipbook .page-content {
  width: 100%;
  height: 100%;
  padding: 40px;
  box-sizing: border-box;
  position: relative;
}

/* Inner Page Design (Vintage Cultural) */
.bible-page-inner {
  padding: 30px 40px;
  height: 100%;
  position: relative;
  z-index: 2;
}

.bible-cover-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  position: relative;
  z-index: 2;
}

/* Vintage Gold Foil Typography Effect */
.gold-foil-text {
  color: var(--primary);
  font-family: var(--font-serif);
  max-width: 800px;
  margin: auto;
  font-weight: 400;
  font-size: 44px;
}

.gold-foil-text span {
  font-family: var(--font-sans);
  font-size: 34px;
}

.bible-cover-inner .book-title {
  font-family: var(--font-serif);
  font-size: 52px;
  margin-bottom: 25px;
  line-height: 1.1;
}

.cross-decor {
  font-size: 50px;
  margin: 30px 0;
  filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.6));
}

.book-subtitle {
  font-family: var(--font-serif);
  font-size: 22px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Vintage Chapter Titles */
.chapter-title {
  font-family: var(--font-serif);
  font-size: 28px;
  border-bottom: 2px solid rgba(139, 90, 43, 0.4);
  padding-bottom: 15px;
  margin-bottom: 25px;
  text-align: center;
  color: #5c3b21;
}

.bible-page-inner p {
  color: #3b2718;
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.7;
  text-align: justify;
  margin-bottom: 18px;
}

span.drop-cap {
  float: left;
  font-size: 65px;
  line-height: 50px;
  padding-top: 6px;
  padding-right: 10px;
  padding-left: 0;
  font-family: var(--font-serif);
  color: #8B5A2B;
  text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.5);
}

.page-number {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  text-align: center;
  font-family: var(--font-serif);
  color: #8B5A2B;
  font-size: 15px;
  font-style: italic;
}

.stf__wrapper {
  border-radius: 6px;
}


/* ==========================================================================
   SVG Cutout Pinned Animation Section
   ========================================================================== */
.svg-overlay-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 50;
  pointer-events: none;
}

@media (max-width: 768px) {
  .svg-text-scale text {
    font-size: 50px;
    /* Make text smaller on mobile so it doesn't get cut off on the sides */
  }
}

/* ==========================================================================
   Charity Page Styles
   ========================================================================== */

/* Charity Wrapper */
.charity-modern-wrapper {
  background-color: var(--primary-light);
  color: var(--text-muted);
}

/* 1. Hero Section */
.charity-hero-modern {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--black);
}

.charity-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.charity-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  filter: sepia(0.3) brightness(0.8);
}

.charity-hero-overlay-dark {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(46, 30, 20, 0.4) 0%, rgba(46, 30, 20, 0.9) 100%);
}

.charity-hero-glow {
  position: absolute;
  top: 30%;
  left: 50%;
  width: 60%;
  height: 60%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 60%);
  animation: glow-pulse 6s infinite alternate ease-in-out;
}

.charity-hero-content-modern {
  position: relative;
  z-index: 5;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.charity-hero-glass-card {
  background: rgba(46, 30, 20, 0.4);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 60px 40px;
  border-radius: 20px;
  max-width: 800px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transform: translateY(20px);
  animation: fade-in-up 1s forwards ease-out;
}

.charity-subtitle-modern {
  display: block;
  font-family: var(--font-serif);
  color: var(--primary);
  font-size: 16px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.charity-subtitle-modern i {
  margin-right: 8px;
}

.charity-title-modern {
  font-size: 64px;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 25px;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.charity-desc-modern {
  font-size: 18px;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 40px;
}

.charity-hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.charity-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--primary);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: fade-in-up 1.5s forwards 1s ease-out;
  opacity: 0;
}

.mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--primary);
  border-radius: 12px;
  margin-bottom: 10px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background: var(--primary);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-wheel 2s infinite;
}

@keyframes scroll-wheel {
  0% {
    transform: translate(-50%, 0);
    opacity: 1;
  }

  100% {
    transform: translate(-50%, 15px);
    opacity: 0;
  }
}

/* 2. Mission Section */
.charity-mission-modern {
  padding: 100px 20px;
  background-color: var(--primary-light);
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.section-tag {
  color: var(--primary);
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 15px;
}

.section-title {
  font-size: 48px;
  color: var(--black);
  margin-bottom: 20px;
}

.gold-accent-line-left {
  width: 80px;
  height: 2px;
  background-color: var(--primary);
  margin-bottom: 30px;
}

.gold-accent-line-center {
  width: 80px;
  height: 2px;
  background-color: var(--primary);
  margin: 0 auto 40px;
}

.mission-paragraph {
  font-size: 18px;
  color: var(--black);
  line-height: 1.8;
  margin-bottom: 40px;
}

.mission-stats {
  display: flex;
  gap: 40px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 42px;
  color: var(--primary-dark);
  font-weight: 700;
}

.stat-label {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--black);
}

.mission-image-wrapper {
  position: relative;
}

.mission-image-main {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.mission-image-main img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.mission-image-main:hover img {
  transform: scale(1.05);
}

.mission-floating-card {
  position: absolute;
  bottom: -30px;
  left: -30px;
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-left: 4px solid var(--primary);
}

.mission-floating-card i {
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 10px;
}

.mission-floating-card h4 {
  font-family: var(--font-sans);
  font-size: 18px;
  color: var(--black);
  margin-bottom: 5px;
}

.mission-floating-card p {
  font-size: 14px;
  color: var(--text-dark);
  margin: 0;
}

/* 3. Projects Section */
.charity-projects-modern {
  background-color: var(--white);
}

.section-header-center {
  text-align: center;
  margin-bottom: 60px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.project-card {
  background: var(--primary-light);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.project-img-container {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(46, 30, 20, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-link-icon {
  width: 60px;
  height: 60px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 20px;
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.project-card:hover .project-link-icon {
  transform: translateY(0);
}

.project-content {
  padding: 40px 30px;
}

.project-date {
  font-size: 12px;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}

.project-title {
  font-size: 24px;
  color: var(--black);
  margin-bottom: 15px;
}

.project-excerpt {
  font-size: 15px;
  color: var(--black);
  margin-bottom: 25px;
}

.project-read-more {
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
  border-bottom: 1px solid var(--primary);
  padding-bottom: 3px;
}

.project-read-more:hover {
  color: var(--primary-dark);
  border-color: var(--primary-dark);
}

/* Coming Soon Placeholder */
.project-card-coming-soon .placeholder-img {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--black), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: rgba(255, 255, 255, 0.2);
}

/* 4. CTA Section */
.charity-cta-modern {
  position: relative;
  background-color: var(--black);
  padding: 100px 0;
  text-align: center;
  overflow: hidden;
}

.cta-glow-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
}

.cta-glass-box {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 175, 55, 0.2);
  padding: 60px 40px;
  border-radius: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.cta-glass-box h2 {
  font-size: 42px;
  color: var(--primary);
  margin-bottom: 20px;
}

.cta-glass-box p {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 40px;
}

.cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

@media (max-width: 991px) {
  .mission-grid {
    grid-template-columns: 1fr;
  }

  .charity-title-modern {
    font-size: 48px;
  }

  .mission-floating-card {
    left: 20px;
    right: 20px;
    bottom: -40px;
  }
}

@media (max-width: 768px) {

  .charity-hero-actions,
  .cta-actions {
    flex-direction: column;
  }
}

/* Scroll Animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-on-scroll.reveal-active {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for children if needed */
.reveal-on-scroll.delay-100 {
  transition-delay: 0.1s;
}

.reveal-on-scroll.delay-200 {
  transition-delay: 0.2s;
}

.reveal-on-scroll.delay-300 {
  transition-delay: 0.3s;
}

/* ==========================================================================
   Charity Page - V2 Premium Upgrades
   ========================================================================== */

/* 1. Animated Gradient Typography */
.charity-title-modern {
  background: linear-gradient(to right, #ffffff, #D4AF37, #ffffff);
  background-size: 200% auto;
  color: #000;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine-text 5s linear infinite;
  text-shadow: none;
  /* Remove shadow to let gradient pop */
  filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.5));
}

@keyframes shine-text {
  to {
    background-position: 200% center;
  }
}

/* 2. Advanced Glassmorphism */
.charity-hero-glass-card {
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  background: rgba(30, 20, 15, 0.45);
}

.charity-hero-glass-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
  opacity: 0.05;
  pointer-events: none;
  z-index: -1;
}

/* Parallax Hero Background */
.charity-hero-img {
  animation: slow-zoom 20s infinite alternate ease-in-out;
}

@keyframes slow-zoom {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.15);
  }
}

/* 3. Mission Section - Floating Rotating Badge */
.mission-rotating-badge {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
  animation: rotate-badge 15s linear infinite;
  z-index: 10;
}

@keyframes rotate-badge {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* 4. Cinematic Card Hover Effects */
.project-card {
  position: relative;
  overflow: hidden;
}

/* Zoom out effect instead of zoom in */
.project-card:hover .project-img {
  transform: scale(0.95);
  filter: brightness(0.6);
}

.project-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* Pill Tags */
.project-pill-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--black);
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 5;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Slide Up Content */
.project-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  background: transparent;
  transform: translateY(40px);
  /* Partially hidden */
  opacity: 0.9;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.5s ease;
  z-index: 5;
  /* Darken background slightly to ensure readability */
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
}

.project-card:hover .project-content {
  transform: translateY(0);
  opacity: 1;
}

.project-title {
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.project-excerpt {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  margin-bottom: 20px;
}

.project-read-more {
  color: var(--primary);
  border-color: var(--primary);
}

/* Remove default static date since we have pill tag */
.project-date {
  display: none;
}

/* ==========================================================================
   Premium Charity Page Redesign
   ========================================================================== */

/* Variables specific to Charity Page */
:root {
  --char-primary: #D4AF37;
  --char-primary-glow: rgba(212, 175, 55, 0.4);
  --char-dark: #f8f5f0;
  --char-darker: #ffffff;
  --char-glass-bg: rgba(255, 255, 255, 0.85);
  --char-glass-border: rgba(212, 175, 55, 0.3);
  --char-text: #4a3525;
  --char-white: #24140d;
}

.premium-charity-wrapper {
  background-color: var(--char-darker);
  color: var(--char-text);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

.premium-charity-wrapper .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography & Utilities */
.text-gold {
  color: var(--char-primary);
}

.bg-dark {
  background-color: rgba(0, 0, 0, 0.8);
}

.char-divider {
  width: 100px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--char-primary), transparent);
  margin: 25px 0;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.char-divider.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.char-divider-diamond {
  width: 8px;
  height: 8px;
  background-color: var(--char-primary);
  transform: rotate(45deg);
  box-shadow: 0 0 10px var(--char-primary-glow);
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 50px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--char-primary);
  margin-bottom: 20px;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background-color: var(--char-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(212, 175, 55, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
  }
}

.glass-card {
  background: var(--char-glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--char-glass-border);
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

/* Premium Earthy & Gold Overrides */
.premium-charity-wrapper {
  --prem-gold: #D4AF37;
  --prem-gold-dark: #b38728;
  --prem-beige: #F5F0EB;
  --prem-beige-light: #FAF8F5;
  --prem-wood: #2e1b10;
  --prem-wood-light: #3E2723;

  background-color: var(--prem-beige-light);
  color: var(--prem-wood);
  font-family: var(--font-sans);
  overflow: hidden;
}

.text-gold {
  color: var(--prem-gold);
}

.section-padding {
  padding: 80px 0;
}

.section-heading {
  font-family: var(--font-serif);
  font-size: 48px;
  color: var(--prem-wood);
  margin-bottom: 20px;
}

.heading-divider {
  width: 60px;
  height: 3px;
  background-color: var(--prem-gold);
  margin-bottom: 30px;
}

.center-divider {
  margin: 0 auto 30px;
}

/* Premium Buttons */
.btn-premium-solid {
  display: inline-block;
  background-color: var(--prem-gold);
  color: #fff;
  padding: 16px 40px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.4s ease;
  border: 1px solid var(--prem-gold);
}

.btn-premium-solid:hover {
  background-color: var(--prem-wood);
  border-color: var(--prem-wood);
  color: #fff;
}

.btn-premium-outline {
  display: inline-block;
  background-color: transparent;
  color: var(--prem-gold);
  padding: 16px 40px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.4s ease;
  border: 1px solid var(--prem-gold);
}

.btn-premium-outline:hover {
  background-color: var(--prem-gold);
  color: #fff;
}

.btn-premium-link {
  display: inline-block;
  color: var(--prem-wood);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid var(--prem-wood);
  padding-bottom: 5px;
  transition: all 0.3s ease;
}

.btn-premium-link:hover {
  color: var(--prem-gold);
  border-color: var(--prem-gold);
}

/* 1. Hero Section */
.premium-hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.hero-image-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('assets/assets/images/bible-cover.webp') center/cover no-repeat;
  background-color: var(--prem-wood);
  animation: kenBurns 20s infinite alternate linear;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.6) 100%), linear-gradient(to bottom, rgb(0 0 0 / 16%) 0%, transparent 25%, rgb(0 0 0 / 26%) 75%, #000000 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 0 40px;
}

.hero-kicker {
  color: var(--prem-gold);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 14px;
  display: block;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 80px;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  gap: 20px;
}

/* 2. Premium Mission Section */
.premium-mission {
  background-color: var(--prem-beige);
}

.mission-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 60px;
  align-items: center;
}

.mission-image-wrapper {
  position: relative;
}

.mission-img {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
  box-shadow: 0 20px 40px rgba(46, 27, 16, 0.1);
}

.gold-accent-frame {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 40px;
  left: 40px;
  border: 2px solid var(--prem-gold);
  z-index: 1;
}

.mission-lead {
  font-family: var(--font-serif);
  font-size: 24px;
  font-style: italic;
  color: var(--prem-gold-dark);
  margin-bottom: 30px;
  line-height: 1.6;
}

.mission-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--prem-wood-light);
}

/* 3. Animated Gallery / Initiatives */
.premium-initiatives {
  background-color: var(--prem-beige-light);
}

.section-subtext {
  font-size: 18px;
  color: var(--prem-wood-light);
  max-width: 600px;
  margin: 0 auto 60px;
}

.premium-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(46, 27, 16, 0.08);
}

.gallery-image-box {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.gallery-image-box img,
.placeholder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.gallery-item:hover .gallery-image-box img,
.gallery-item:hover .placeholder-img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(46, 27, 16, 0.95) 0%, rgba(46, 27, 16, 0.2) 100%);
  display: flex;
  align-items: flex-end;
  padding: 40px 30px;
  opacity: 0.9;
  transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-content {
  color: #fff;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-content {
  transform: translateY(0);
}

.gallery-date {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--prem-gold);
  margin-bottom: 10px;
  display: block;
}

.gallery-title {
  font-family: var(--font-serif);
  font-size: 26px;
  margin-bottom: 15px;
}

.gallery-desc {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.gallery-link {
  color: var(--prem-gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.gallery-link:hover {
  border-color: var(--prem-gold);
}

/* 4. Impact Section */
.premium-impact {
  background-color: var(--prem-wood);
  color: #fff;
  text-align: center;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.impact-stat {
  padding: 40px;
}

.stat-circle {
  width: 200px;
  height: 200px;
  margin: 0 auto 30px;
  border: 2px solid rgba(212, 175, 55, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.stat-circle::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border: 1px dashed var(--prem-gold);
  border-radius: 50%;
  animation: rotateCircle 20s infinite linear;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 60px;
  color: var(--prem-gold);
  line-height: 1;
}

.stat-circle .text-gold {
  font-size: 40px;
  font-family: var(--font-serif);
  margin-left: 5px;
}

.stat-label {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.8);
}

/* 5. CTA Section */
.premium-cta {
  background-color: var(--prem-beige);
}

.cta-box {
  background-color: #fff;
  padding: 100px 60px;
  border: 1px solid rgba(46, 27, 16, 0.1);
  box-shadow: 0 40px 80px rgba(46, 27, 16, 0.05);
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.cta-box::after {
  content: '';
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  border: 1px solid var(--prem-gold);
  pointer-events: none;
}

.cta-subtext {
  font-size: 18px;
  color: var(--prem-wood-light);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.cta-actions {
  display: flex;
  gap: 30px;
  justify-content: center;
  align-items: center;
}

/* Animation Utilities */
@keyframes kenBurns {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.1);
  }
}

@keyframes rotateCircle {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.premium-anim-fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.premium-anim-slide-left {
  opacity: 0;
  transform: translateX(40px);
  transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.premium-anim-slide-right {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.is-animated {
  opacity: 1;
  transform: translate(0);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 60px;
  }

  .mission-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .mission-image-wrapper {
    margin-bottom: 40px;
  }

  .premium-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 42px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .section-heading {
    font-size: 36px;
  }

  .premium-gallery-grid {
    grid-template-columns: 1fr;
  }

  .impact-grid {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    flex-direction: column;
    gap: 20px;
  }

  .cta-box {
    padding: 60px 30px;
  }

  .stat-circle {
    width: 160px;
    height: 160px;
  }

  .stat-number {
    font-size: 48px;
  }
}

/* ==========================================================================
   Parish Priest Cinematic Timeline Section
   ========================================================================== */

.timeline-section-wrapper {
  background-color: var(--black);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.priest-timeline-header {
  text-align: center;
  margin-bottom: 80px;
}

.timeline-main-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.timeline-main-title .highlight-gold {
  color: var(--primary);
  font-style: italic;
  text-transform: none;
  font-family: var(--font-serif);
  display: block;
}

.timeline-desc {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Timeline Container */
.priest-timeline-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 0;
}

/* Center Line */
.timeline-center-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background-color: rgba(212, 175, 55, 0.15);
  /* Faint gold */
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-line-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  /* Animated by GSAP */
  background: linear-gradient(to bottom, transparent, var(--primary), var(--primary-light));
  box-shadow: 0 0 15px var(--primary);
}

/* End Ornament */
.timeline-end-ornament {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--primary);
  filter: drop-shadow(0 0 8px var(--primary));
  opacity: 0;
  /* Faded in by GSAP */
}

.timeline-cards-wrapper {
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: relative;
  z-index: 2;
}

.timeline-row {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  position: relative;
}

.timeline-row.timeline-left {
  justify-content: flex-start;
}

/* Timeline Dot */
.timeline-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--black);
  border: 3px solid var(--primary);
  z-index: 5;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
  transition: transform 0.4s ease;
}

.timeline-row:hover .timeline-dot {
  transform: translate(-50%, -50%) scale(1.3);
  background-color: var(--primary);
}

/* Timeline Card */
.timeline-card {
  width: 45%;
  background: rgba(30, 30, 30, 0.4);
  border: 1px solid rgba(212, 175, 55, 0.15);
  padding: 30px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transform: translateY(40px);
  opacity: 0;
  /* Animated by GSAP */
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
  box-sizing: border-box;
}

.timeline-card:hover {
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(212, 175, 55, 0.05);
}

.priest-tenure {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.tenure-date {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 2px;
}

.tenure-divider {
  color: var(--text-muted);
}

.priest-name {
  font-size: 28px;
  font-family: var(--font-serif);
  color: var(--white);
  margin: 0;
  line-height: 1.2;
}

/* Card Glow Effect */
.card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.timeline-card:hover .card-glow {
  opacity: 1;
}

/* Responsive Timeline */
@media (max-width: 768px) {
  .priest-timeline-container {
    padding: 20px 0;
  }

  .timeline-center-line {
    left: 15px;
  }

  .timeline-end-ornament {
    left: 15px;
  }

  .timeline-dot {
    left: 15px;
    width: 12px;
    height: 12px;
  }

  .timeline-row {
    justify-content: flex-end !important;
  }

  .timeline-card {
    width: calc(100% - 40px);
    padding: 15px;
    transform: translateY(20px);
  }

  .priest-name {
    font-size: 20px;
  }

  .tenure-date {
    font-size: 12px;
  }

  .timeline-main-title {
    font-size: 28px;
  }

  .timeline-desc {
    font-size: 15px;
    padding: 0 10px;
  }

  .priest-pagination {
    gap: 15px;
    margin-top: 40px;
    flex-wrap: wrap;
  }

  .page-nav {
    padding: 8px 16px;
    font-size: 12px;
  }

  .page-info {
    font-size: 14px;
    width: 100%;
    text-align: center;
    order: -1;
    margin-bottom: 10px;
  }
}

/* ==========================================================================
   Parish Priest - Light Theme Overrides
   ========================================================================== */

.timeline-section-wrapper.light-theme {
  background-color: var(--primary-light);
}

.timeline-section-wrapper.light-theme .timeline-main-title {
  color: var(--text-charcoal);
}

.timeline-section-wrapper.light-theme .timeline-desc {
  color: var(--text-muted-brown);
}

.timeline-section-wrapper.light-theme .timeline-card {
  background: var(--white);
  border: 1px solid rgba(139, 90, 43, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.timeline-section-wrapper.light-theme .timeline-card:hover {
  border-color: rgba(212, 175, 55, 0.6);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08), inset 0 0 20px rgba(212, 175, 55, 0.05);
}

.timeline-section-wrapper.light-theme .priest-name {
  color: var(--text-charcoal);
}

.timeline-section-wrapper.light-theme .timeline-dot {
  background-color: var(--white);
}

/* ==========================================================================
   Parish Priest - Pagination
   ========================================================================== */

.priest-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-top: 80px;
  position: relative;
  z-index: 5;
  margin-bottom: 50px;
}

.page-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: 1.5px solid var(--primary);
  border-radius: 50px;
  color: var(--primary-dark);
  font-family: var(--font-sans);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 13px;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  background-color: transparent;
  cursor: pointer;
}

.page-nav:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.page-info {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--text-muted-brown);
  font-weight: 600;
  letter-spacing: 1px;
}

/* ==========================================================================
   Navigation Submenu Styles (Modern & Glassmorphism)
   ========================================================================== */

/* Submenu Base - Desktop */
.nav-links .dropdown {
  position: relative;
}

.nav-links .dropdown>a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
}

/* Custom CSS dropdown chevron */
.nav-links .dropdown>a::after {
  content: '';
  display: inline-block;
  margin-left: 0px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.3s ease;
  background: none;
  transform-origin: center;
  position: relative !important;
  left: auto !important;
  bottom: auto !important;
}

/* Disable existing FontAwesome chevron added by the Walker */
span.dropdown-toggle {
  display: none !important;
}

/* Desktop Hover Chevron Rotation */
@media (min-width: 1025px) {
  .nav-links .dropdown:hover>a::after {
    transform: rotate(225deg) translateY(-2px) translateX(-2px);
  }
}

.nav-links .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(10, 8, 5, 0.7);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-top: 3px solid var(--primary);
  min-width: 240px;
  list-style: none;
  padding: 15px 0;
  margin: 0;
  border-radius: 0 0 12px 12px;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  z-index: 1000;
  display: flex;
  flex-direction: column;
}

/* Pseudo-element bridge to prevent hover from dropping */
.nav-links .dropdown-menu::before {
  content: '';
  position: absolute;
  top: -25px;
  left: 0;
  width: 100%;
  height: 25px;
  background: transparent;
}

/* Submenu Links */
.nav-links .dropdown-menu li {
  width: 100%;
}

.nav-links .dropdown-menu li a {
  display: block;
  padding: 12px 20px;
  font-size: 15px;
  color: var(--text-light);
  text-align: left;
  border-bottom: 1px solid rgba(212, 175, 55, 0.05);
  text-transform: capitalize;
  font-family: var(--font-sans);
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nav-links .dropdown-menu li:last-child a {
  border-bottom: none;
}

.nav-links .dropdown-menu li a:hover {
  color: var(--primary);
  background: rgba(212, 175, 55, 0.08);
  padding-left: 30px;
}

/* Remove dot and animated line for sub-menu items */
.nav-links .dropdown-menu li a::after,
.nav-links .dropdown-menu li a::before {
  display: none !important;
}

/* Desktop Hover Interaction */
@media (min-width: 1025px) {
  .nav-links .dropdown:hover>.dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
}

/* Mobile Submenu Accordion (<= 1024px) */
@media (max-width: 1024px) {
  .nav-links .dropdown-menu {
    position: static;
    transform: none !important;
    background: transparent;
    border: none;
    box-shadow: none;
    min-width: 100%;
    padding: 0;
    margin-top: 5px;
    opacity: 1 !important;
    visibility: visible !important;

    /* Accordion animation using max-height */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  }

  .nav-links .dropdown.active-submenu .dropdown-menu {
    max-height: 800px;
    /* Arbitrary large height to allow expansion */
  }

  .nav-links .dropdown.active-submenu>a::after {
    transform: rotate(225deg) translateY(-2px) translateX(-2px);
  }

  /* Reset hover rotation on mobile to prevent conflict */
  .nav-links .dropdown:hover>a::after {
    transform: rotate(45deg) translateY(-3px);
    /* Reset from desktop hover */
  }

  .nav-links .dropdown.active-submenu:hover>a::after {
    transform: rotate(225deg) translateY(-2px) translateX(-2px);
  }

  .nav-links .dropdown-menu li a {
    padding: 12px 0;
    font-size: 20px;
    border-bottom: none;
    color: var(--text-muted);
    text-align: start;
  }

  .nav-links .dropdown-menu li a:hover {
    padding-left: 0;
    background: transparent;
  }
}

/* ==========================================================================
   Old Website Revamp (Centered Live Stream)
   ========================================================================== */

/* Premium Hero Banner */
.premium-hero {
  position: relative;
  padding: 120px 0 100px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  text-align: center;
  overflow: hidden;
}

.premium-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%);
  z-index: 1;
}

.premium-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  animation: fadeUpIn 1s ease-out;
}

.premium-hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(211, 47, 47, 0.4);
}

.premium-hero-badge i {
  margin-right: 5px;
}

.premium-hero-title {
  color: #ffffff;
  font-family: var(--font-serif);
  font-size: 54px;
  font-weight: 700;
  margin: 0 0 20px;
  line-height: 1.1;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.premium-hero-divider {
  width: 60px;
  height: 3px;
  background: #D4AF37;
  /* Gold accent */
  margin: 0 auto 20px;
  border-radius: 2px;
}

.premium-hero-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 300;
  margin: 0;
  letter-spacing: 1px;
}

@keyframes fadeUpIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Main Light Background Section - Premium Finish */
.revamp-livestream-section {
  padding: 80px 0 150px;
  min-height: calc(100vh - 300px);
}

.revamp-video-container {
  max-width: 1050px;
  margin: 0 auto;
}

.revamp-video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  /* 16:9 Aspect Ratio */
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.02);
  margin-bottom: 40px;
  transform: translateZ(0);
}

.revamp-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Event Info under video */
.revamp-video-info {
  text-align: center;
  padding: 50px 40px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 1);
  border-radius: 24px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04), 0 5px 15px rgba(0, 0, 0, 0.02);
}

.revamp-live-status {
  display: inline-flex;
  align-items: center;
  margin-bottom: 15px;
  background: rgba(229, 57, 53, 0.1);
  padding: 6px 16px;
  border-radius: 30px;
  border: 1px solid rgba(229, 57, 53, 0.2);
}

.revamp-pulsing-dot {
  width: 10px;
  height: 10px;
  background-color: #E53935;
  border-radius: 50%;
  margin-right: 8px;
  animation: revamp-pulse 1.5s infinite;
}

.revamp-live-text {
  color: #d32f2f;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 13px;
  text-transform: uppercase;
}

@keyframes revamp-pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.4);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(229, 57, 53, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(229, 57, 53, 0);
  }
}

.revamp-event-title {
  color: #1a1a1a;
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 700;
  margin: 0 0 25px;
  line-height: 1.2;
}

.revamp-social-share {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding-top: 25px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  max-width: 300px;
  margin: 0 auto;
}

.share-label {
  color: #888888;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}

.revamp-share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  color: #4a4a4a;
  font-size: 18px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.revamp-share-btn:hover {
  background: #E53935;
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 8px 15px rgba(229, 57, 53, 0.3);
  border-color: #E53935;
}

.revamp-editor-content {
  color: #4a4a4a;
  max-width: 1000px;
  margin: 50px auto 0;
  text-align: center;
  font-size: 16px;
  line-height: 1.8;
}

.livestream-hero .live-badge-wrapper {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 59, 48, 0.15);
  border: 1px solid rgba(255, 59, 48, 0.5);
  padding: 8px 15px;
  border-radius: 30px;
  margin-bottom: 15px;
  backdrop-filter: blur(10px);
}

.pulsing-dot {
  width: 10px;
  height: 10px;
  background-color: #FF3B30;
  border-radius: 50%;
  margin-right: 10px;
  box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.7);
  animation: pulse-red 1.5s infinite;
}

.live-text {
  color: #FF3B30;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
}

@keyframes pulse-red {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(255, 59, 48, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 59, 48, 0);
  }
}

.dark-theater-mode {
  background: #0a0a0a;
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.livestream-grid {
  display: grid;
  grid-template-columns: 2.5fr 1fr;
  gap: 40px;
  align-items: start;
}

/* Video Player */
.video-player-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  /* 16:9 Aspect Ratio */
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #000;
}

.video-glass-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 16px;
}

/* Live Stream Details */
.livestream-details-card {
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  padding: 25px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.livestream-meta .date-badge {
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 10px;
}

.current-event-title {
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 28px;
  margin-bottom: 5px;
}

.presiding-priest {
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
}

.presiding-priest strong {
  color: var(--white);
}

.social-share-buttons {
  display: flex;
  align-items: center;
  gap: 15px;
}

.share-title {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 18px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.share-btn:hover {
  background: var(--primary);
  transform: translateY(-3px);
  color: #fff;
}

/* Sidebar Schedule */
.livestream-sidebar .glass-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 30px;
}

.sidebar-title {
  color: var(--primary);
  font-family: var(--font-serif);
  font-size: 22px;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.festival-timeline-list {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}

.festival-timeline-list::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 5px;
  width: 2px;
  background: rgba(255, 255, 255, 0.1);
}

.festival-timeline-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 25px;
}

.festival-timeline-list li::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #2a2a2a;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.festival-timeline-list li.completed::before {
  background: var(--primary);
  border-color: var(--primary);
}

.festival-timeline-list li.active::before {
  background: #FF3B30;
  border-color: #FF3B30;
  box-shadow: 0 0 10px rgba(255, 59, 48, 0.6);
}

.festival-timeline-list li:last-child {
  margin-bottom: 0;
}

.festival-timeline-list .time {
  display: block;
  font-size: 13px;
  color: var(--primary);
  margin-bottom: 3px;
  font-weight: 600;
}

.festival-timeline-list .event {
  display: block;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
}

.festival-timeline-list li.active .event {
  color: var(--white);
  font-weight: 600;
}

/* Interaction Section */
.interaction-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 20px;
  margin-bottom: 40px;
}

.interaction-card {
  background: var(--white);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

.interaction-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 50px rgba(212, 175, 55, 0.1);
}

.interaction-card .card-icon {
  width: 60px;
  height: 60px;
  background: rgba(212, 175, 55, 0.1);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 20px;
}

.interaction-card h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.interaction-card p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 25px;
}

.simple-form input,
.simple-form textarea {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 15px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  font-family: var(--font-sans);
  background: #f9f9f9;
  transition: border-color 0.3s ease;
}

.simple-form input:focus,
.simple-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
}

.btn-primary.submit-prayer-btn {
  width: 100%;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
}

.donation-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* ==========================================================================
   Premium Modal Component
   ========================================================================== */
.premium-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 8, 5, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.premium-modal-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.premium-modal-container {
  background: #ffffff;
  width: 90%;
  max-width: 600px;
  border-radius: 6px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(212, 175, 55, 0.2);
  transform: scale(0.95) translateY(20px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.premium-modal-overlay.is-active .premium-modal-container {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.premium-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 25px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  background: #fbfbfb;
}

.premium-modal-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: #111111;
  margin: 0;
}

.premium-modal-close {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transition: all 0.3s ease;
  color: #666;
}

.premium-modal-close:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #e63946;
  transform: rotate(90deg);
}

.premium-modal-body {
  padding: 30px 25px;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  color: #444;
}

.premium-modal-footer {
  padding: 15px 25px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  background: #fbfbfb;
  display: flex;
  justify-content: flex-end;
  gap: 15px;
}

body.modal-open {
  overflow: hidden;
  padding-right: 8px;
  /* Prevent scrollbar jump */
}

/* ==========================================================================
   Background Music Toggle
   ========================================================================== */
.music-toggle-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  border: none;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  z-index: 9999;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.music-toggle-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

.music-toggle-btn.muted {
  background: rgba(255, 255, 255, 0.9);
  color: #888;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.music-toggle-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.music-toggle-btn.muted .music-icon-playing,
.music-toggle-btn:not(.muted) .music-icon-muted {
  display: none;
}

/* ==========================================================================
   Bloom-Style Donation Page UI (Premium Mixed Theme)
   ========================================================================== */

/* --- DARK HERO SECTION --- */
.bloom-hero {
  padding: 150px 0 0;
  background: var(--black, #1a0f0a);
  background-image: radial-gradient(circle at top, rgba(212, 175, 55, 0.15) 0%, transparent 60%);
  text-align: center;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.bloom-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('assets/assets/images/noise.png');
  /* subtle texture */
  opacity: 0.03;
  pointer-events: none;
}

.bloom-hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

.bloom-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.15);
  color: #d4af37;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 25px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.1);
}

.bloom-badge i {
  font-size: 14px;
}

.bloom-hero-title {
  font-family: var(--font-serif);
  font-size: 64px;
  color: #ffffff;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 25px;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.bloom-hero-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.bloom-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #d4af37 0%, #e6c55c 100%);
  color: #1a0f0a !important;
  padding: 16px 45px;
  border-radius: 40px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.bloom-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.5);
  background: linear-gradient(135deg, #e6c55c 0%, #f9e29c 100%);
}

.bloom-hero-graphic {
  margin-top: 70px;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.bloom-graphic-inner {
  max-width: 1100px;
  height: 400px;
  margin: 0 auto;
  background-size: cover;
  background-position: center;
  border-radius: 40px 40px 0 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-bottom: none;
}

.bloom-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, #1a0f0a 0%, rgba(212, 175, 55, 0.2) 100%);
}

/* --- LIGHT THEME SECTIONS --- */
.bloom-explain {
  padding: 120px 0;
  background: #fdfbf7;
  /* Very light, warm beige */
  position: relative;
}

.bloom-explain::before {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.bloom-explain-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.bloom-explain-left h2 {
  font-family: var(--font-serif);
  font-size: 52px;
  color: #1a0f0a;
  font-weight: 700;
  margin-bottom: 40px;
  line-height: 1.1;
  position: relative;
}

.bloom-explain-left h2::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 0;
  width: 60px;
  height: 3px;
  background: #d4af37;
  border-radius: 2px;
}

.bloom-btn-outline {
  display: inline-block;
  background: transparent;
  color: #1a0f0a;
  padding: 16px 40px;
  border-radius: 40px;
  font-weight: 600;
  letter-spacing: 1px;
  border: 2px solid rgba(26, 15, 10, 0.2);
  transition: all 0.4s ease;
  text-decoration: none;
  font-size: 15px;
  text-transform: uppercase;
}

.bloom-btn-outline:hover {
  background: #1a0f0a;
  color: #fff !important;
  border-color: #1a0f0a;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.bloom-explain-right .bloom-lead-text {
  font-size: 22px;
  color: #4a3e38;
  line-height: 1.8;
  margin: 0;
  font-weight: 300;
}

.bloom-form-section {
  padding: 0 0 120px;
  background: #fdfbf7;
}

.bloom-form-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(139, 90, 43, 0.08), 0 1px 3px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(212, 175, 55, 0.15);
  position: relative;
}

.bloom-form-container::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(212, 175, 55, 0.2), transparent);
}

.bloom-form-text {
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.bloom-form-text h2 {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 700;
  color: #1a0f0a;
  margin-bottom: 25px;
}

.bloom-form-text p {
  font-size: 17px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 40px;
}

.bloom-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bloom-benefits li {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 16px;
  color: #1a0f0a;
  margin-bottom: 20px;
  font-weight: 600;
  background: rgba(212, 175, 55, 0.05);
  padding: 12px 20px;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.bloom-benefits li:hover {
  transform: translateX(5px);
  background: rgba(212, 175, 55, 0.1);
}

.bloom-benefits li i {
  color: #d4af37;
  font-size: 22px;
}

.bloom-form-wrapper {
  background: #ffffff;
  padding: 80px 60px;
  position: relative;
}

/* Specific overrides to make GiveWP form look modern if needed */
.bloom-form-wrapper form[id*="give-form"] {
  margin: 0;
}

/* GiveWP Light Theme overrides */
.bloom-form-wrapper .give-btn {
  background: linear-gradient(135deg, #d4af37 0%, #e6c55c 100%) !important;
  color: #1a0f0a !important;
  font-weight: 600 !important;
  border: none !important;
  border-radius: 8px !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2) !important;
}

.bloom-form-wrapper .give-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4) !important;
}

.bloom-form-wrapper .give-donation-amount .give-currency-symbol {
  background: #fdfbf7 !important;
  border-color: #eee !important;
  color: #d4af37 !important;
  font-weight: bold;
}

.bloom-form-wrapper input.give-text-input {
  background: #fdfbf7 !important;
  border: 1px solid #eee !important;
  color: #333 !important;
  border-radius: 8px !important;
  transition: border-color 0.3s ease;
}

.bloom-form-wrapper input.give-text-input:focus {
  border-color: #d4af37 !important;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2) !important;
}

.premium-nav-btn {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: rgba(36, 20, 13, 0.6);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: #d4af37;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.premium-nav-btn svg {
  transition: transform 0.3s ease;
}

.premium-nav-btn:hover {
  background: linear-gradient(135deg, #d4af37 0%, #e6c55c 100%);
  color: #1a0f0a;
  border-color: #d4af37;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
  transform: translateY(-3px);
}

.premium-nav-btn:hover#book-prev svg {
  transform: translateX(-3px);
}

.premium-nav-btn:hover#book-next svg {
  transform: translateX(3px);
}

.premium-nav-btn:active {
  transform: translateY(0);
}

/* ── INCH BY INCH CONTACT PAGE REPLICA ── */
.ct-page-wrapper {
  overflow: hidden;
  padding-bottom: 80px;
}

/* Typography */
.ct-heading-serif {
  font-weight: 700;
  font-style: italic;
  color: var(--primary-dark);
  margin: 0;
}

.ct-sub-serif {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  color: #2C2621;
  margin: 0;
}

.ct-kicker {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #6A502D;
  margin: 0;
}

.ct-text {
  font-size: 14px;
  line-height: 1.6;
  color: #6A6054;
  margin: 0;
}

/* Thin Crosses */
.ct-thin-cross {
  font-family: 'Inter', sans-serif;
  font-size: 38px;
  font-weight: 200;
  color: #A39B8F;
  text-align: center;
  line-height: 1;
  width: 50px;
  height: 50px;
  margin: 0 auto 20px;
}

.ct-thin-cross svg {
  width: 100%;
  height: 100%;
}

/* ── HERO SECTION ── */
.ct-hero {
  position: relative;
  padding: 170px 20px 30px;
  text-align: center;
  /* background: linear-gradient(to bottom, var(--primary) 0%, #ffffff00 100%); */
}

.ct-hero h1 {
  font-size: 64px;
  letter-spacing: 4px;
  margin-bottom: 15px;
}

.ct-hero-desc {
  max-width: 500px;
  margin: 0 auto;
}

.ct-hero-rule {
  width: 60px;
  height: 1px;
  margin: 30px auto 0;
}

.ct-hero-medallion {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 450px;
  height: 450px;
  object-fit: cover;
  z-index: 1;
}

/* ── INFO & MAP SECTION ── */
.ct-info-map {
  max-width: 1000px;
  margin: 0 auto 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

.ct-card {
  background: #FFFDFC;
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  position: relative;
  overflow: hidden;
}

.ct-card-bg-icon {
  position: absolute;
  right: 20px;
  bottom: -10px;
  font-size: 220px;
  color: #F5EFE6;
  pointer-events: none;
  line-height: 1;
  z-index: 0;
}

.ct-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  position: relative;
  z-index: 2;
}

.ct-info-item h4 {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #795C34;
  text-transform: uppercase;
  margin: 0 0 8px 0;
}

.ct-info-item p {
  font-size: 16px;
  line-height: 1.6;
  color: #4A4238;
  margin: 0;
}

/* Map Card */
.ct-map-card {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.ct-map-card img.ct-map-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ct-map-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(255, 253, 252, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 8px;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.ct-map-icon {
  width: 36px;
  height: 36px;
  background: #795C34;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
}

.ct-map-icon span {
  font-size: 18px;
}

.ct-map-text {
  display: flex;
  flex-direction: column;
}

.ct-map-title {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #2C2621;
}

.ct-map-subtitle {
  font-size: 10px;
  color: #6A6054;
}

/* ── PLAN YOUR VISIT ── */
.ct-plan {
  background-color: #F1EBE2;
  padding: 80px 20px;
  text-align: center;
}

.ct-plan h2 {
  font-size: 42px;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.ct-plan-grid {
  max-width: 1000px;
  margin: 50px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ct-plan-card {
  background: #FFFDFC;
  border-radius: 8px;
  padding: 30px 20px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.ct-plan-icon {
  color: #795C34;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  font-family: 'Cormorant Garamond', serif;
}

.ct-plan-icon .material-symbols-outlined {
  font-size: 24px;
}

.ct-plan-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

/* ── BENEDICTION ── */
.ct-benediction {
  text-align: center;
  padding: 60px 20px 40px;
}

.ct-benediction p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 24px;
  color: #4A4238;
  max-width: 500px;
  margin: 0 auto 30px;
}

.ct-star {
  color: #C8C0B2;
}

/* Responsive */
@media (max-width: 900px) {

  .ct-info-map,
  .ct-plan-grid {
    grid-template-columns: 1fr;
  }

  .ct-hero-medallion {
    display: none;
  }

  .ct-plan-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 500px) {
  .ct-plan-grid {
    grid-template-columns: 1fr;
  }
}

/* PREMIUM ANIMATIONS */
.premium-anim-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.premium-anim-slide-left {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.premium-anim-slide-right {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.premium-anim-fade-up.is-animated,
.premium-anim-slide-left.is-animated,
.premium-anim-slide-right.is-animated {
  opacity: 1;
  transform: translate(0, 0);
}

.delay-1 {
  transition-delay: 0.15s;
}

.delay-2 {
  transition-delay: 0.3s;
}

.delay-3 {
  transition-delay: 0.45s;
}

/* ── MASS TIMING V2 PAGE REPLICA ── */

.mt-page-wrapper-v2 {
  background-color: var(--primary-light);
  color: var(--black);
  font-family: var(--font-sans);
  position: relative;
  overflow: hidden;
  padding-bottom: 150px;
}

/* Watermarks */
.mt-watermark {
  position: absolute;
  color: var(--primary);
  z-index: 0;
  pointer-events: none;
}

.mt-watermark-1 {
  top: 150px;
  left: 0;
  transform: rotate(-15deg) scale(1.5);
}

.mt-watermark-2 {
  top: 350px;
  right: 0;
  transform: rotate(-15deg) scale(1.5);
}

.mt-watermark-1 img {
  width: 200px;
}

.mt-watermark-2 img {
  width: 150px;
}

/* Header */
.mt-header-v2 {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 200px 20px 150px;
}

.mt-header-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.mt-title-v2 {
  font-family: var(--font-serif);
  font-size: 52px;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: 2px;
  margin-bottom: 10px;
  text-shadow: 0 2px 10px rgba(139, 90, 43, 0.1);
}

.mt-subtitle-v2 {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  color: var(--black);
  letter-spacing: 2px;
}

/* Grid Layout */
.mt-grid-v2 {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.6fr 1fr;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
  align-items: start;
  padding: 0 20px;
}

/* Column Headers */
.mt-col-header {
  display: block;
  margin-bottom: 30px;
}

.mt-col-header h2 {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 600;
  color: var(--primary-dark);
  white-space: nowrap;
  margin: 0;
}

.mt-col-line {
  flex: 1;
  height: 1px;
  background: rgba(139, 90, 43, 0.2);
}

.mt-col-header.right-align {
  flex-direction: row-reverse;
}

/* Side Cards */
.mt-card-v2 {
  background: var(--white);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(139, 90, 43, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mt-card-v2:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.mt-card-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--black);
}

.mt-card-kicker svg {
  color: var(--primary-dark);
}

.mt-card-kicker.right {
  flex-direction: row-reverse;
}

.mt-card-v2.right-align {
  text-align: right;
}

.mt-card-time {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--black);
  margin: 15px 0;
}

.mt-card-text {
  font-size: 13px;
  color: #5A5248;
  line-height: 1.7;
  margin: 0;
}

/* Center Pill Column */
.mt-col-center {
  display: flex;
  justify-content: center;
}

.mt-center-pill {
  background: #FCFBF8;
  padding: 60px 40px;
  width: 100%;
  max-width: 550px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(139, 90, 43, 0.05);
}

.mt-center-header {
  text-align: center;
  margin-bottom: 50px;
}

.mt-center-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 50%;
  color: var(--primary-dark);
}

.mt-center-header h2 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--primary-dark);
  margin: 0 0 10px;
}

.mt-center-line {
  width: 120px;
  height: 1px;
  background: var(--primary);
  margin: 0 auto 10px;
  opacity: 0.5;
}

.mt-center-header p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  color: var(--black);
  margin: 0;
}

/* Timeline */
.mt-timeline {
  position: relative;
  padding: 20px 0;
}

.mt-timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(139, 90, 43, 0.2);
  transform: translateX(-50%);
  z-index: 0;
}

.mt-timeline-item {
  position: relative;
  z-index: 1;
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mt-timeline-item:last-child {
  margin-bottom: 0;
}

.mt-timeline-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: var(--primary);
  border: 3px solid #FCFBF8;
  border-radius: 50%;
  z-index: 2;
}

.mt-timeline-card {
  background: var(--white);
  padding: 25px 40px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(139, 90, 43, 0.15);
  width: 80%;
  position: relative;
  z-index: 3;
  transition: transform 0.3s ease;
}

.mt-timeline-card:hover {
  transform: scale(1.02);
}

.mt-card-large {
  width: 95%;
  padding: 35px 40px;
}

.mt-tl-kicker {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.mt-tl-time {
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--black);
  margin-bottom: 10px;
}

.mt-tl-time-large {
  font-family: var(--font-serif);
  font-size: 48px;
  color: var(--black);
  margin-bottom: 15px;
}

.mt-tl-desc {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  color: #5A5248;
  margin: 0;
}

.mt-tl-desc-main {
  font-size: 13px;
  color: #5A5248;
  line-height: 1.6;
  margin: 0;
}

/* Center Footer */
.mt-center-footer {
  text-align: center;
  margin-top: 50px;
}

.mt-center-footer p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
  color: #5A5248;
  max-width: 300px;
  margin: 0 auto;
}

/* Page Footer */
.mt-footer-v2 {
  text-align: center;
  margin-top: 80px;
  padding-bottom: 20px;
}

.mt-footer-icon {
  margin-bottom: 15px;
  opacity: 0.5;
}

.mt-footer-v2 p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
  color: #8C847A;
  max-width: 400px;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 1024px) {
  .mt-grid-v2 {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .mt-center-pill {
    border-radius: 40px;
    padding: 40px 20px;
  }

  .mt-col-right {
    order: 3;
  }
}

/* ── DONATE PAGE REPLICA ── */

.donate-page-v2 {
  background-color: #F8F6F2;
  font-family: var(--font-sans);
  color: var(--black);
}

/* Hero Section */
.don-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 150px 20px 180px;
}

.don-hero-bg {
  position: absolute;
  top: 60%;
  left: 50%;
  width: 100%;
  height: 100%;
  z-index: 0;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: end;
}

.don-hero-bg img {
  height: 600px;
  object-fit: contain;
  opacity: 0.1;
}

.don-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(15, 10, 5, 0.85) 0%, rgba(15, 10, 5, 0.5) 50%, #F8F6F2 100%);
}

.don-hero-top-nav {
  position: absolute;
  top: 40px;
  left: 40px;
  z-index: 2;
}

.don-back-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-decoration: none;
  transition: opacity 0.3s;
}

.don-back-link:hover {
  opacity: 0.8;
}

.don-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.don-kicker {
  display: inline-block;
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 5px;
  margin-bottom: 30px;
  text-transform: uppercase;
  padding: 8px 24px;
  border-top: 1px solid rgba(139, 90, 43, 0.2);
  border-bottom: 1px solid rgba(139, 90, 43, 0.2);
}

.don-title {
  font-family: var(--font-serif);
  font-size: 76px;
  color: var(--black);
  line-height: 1.05;
  margin-bottom: 30px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.don-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--primary-dark);
}

.don-hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  color: var(--primary);
}

.don-hero-divider::before,
.don-hero-divider::after {
  content: '';
  width: 80px;
  height: 1px;
  background: var(--primary);
  opacity: 0.3;
  margin: 0 20px;
}

.don-subtitle {
  font-family: var(--font-serif);
  font-size: 20px;
  font-style: italic;
  color: #4A4238;
  line-height: 1.8;
  max-width: 650px;
  margin: 0 auto;
}

/* Main Content Grid */
.don-main-section {
  position: relative;
  z-index: 3;
}

.don-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Left Column */
.don-left-col {
  padding-top: 40px;
}

.don-left-title {
  font-family: var(--font-serif);
  font-size: 42px;
  color: var(--black);
  line-height: 1.1;
  margin-bottom: 25px;
}

.don-left-desc {
  font-size: 15px;
  color: #5A5248;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 90%;
}

.don-heritage-badge {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 40px;
}

.don-badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(139, 90, 43, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.don-badge-text strong {
  display: block;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--black);
}

.don-badge-text span {
  font-size: 12px;
  color: #8C847A;
}

.don-image-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.don-image-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.don-image-card .don-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
  padding: 40px 30px 25px;
  color: var(--white);
}

.don-image-overlay h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  margin: 0 0 5px;
}

.don-image-overlay p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* Right Column Card */
.don-card {
  background: var(--white);
  border-radius: 16px;
  padding: 50px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(139, 90, 43, 0.1);
  overflow: hidden;
}

.don-card-watermark {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 250px;
  height: 250px;
  opacity: 0.05;
  pointer-events: none;
}

.don-card-header {
  position: relative;
  z-index: 2;
  margin-bottom: 5px;
}

.don-card-kicker {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #8C847A;
  margin-bottom: 10px;
}

.don-card-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.don-card-title-row h2 {
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--black);
  margin: 0;
}

.don-amounts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
}

.don-amt-btn {
  background: transparent;
  border: 1px solid rgba(139, 90, 43, 0.2);
  color: var(--black);
  font-size: 15px;
  padding: 15px 0;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.don-amt-btn.active,
.don-amt-btn:hover {
  background: #A07B4F;
  border-color: #A07B4F;
  color: var(--white);
}

.don-custom-amt {
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
}

.don-custom-amt label,
.don-designation label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #8C847A;
  margin-bottom: 10px;
}

.don-input-group {
  position: relative;
  border-bottom: 1px solid rgba(139, 90, 43, 0.2);
  padding-bottom: 10px;
}

.don-currency {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--black);
}

.don-input-group input {
  width: 100%;
  border: none;
  background: transparent;
  padding-left: 25px;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--black);
  outline: none;
}

.don-freq-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
}

.don-freq-btn {
  background: transparent;
  border: 1px solid rgba(139, 90, 43, 0.2);
  color: var(--black);
  font-size: 13px;
  font-weight: 600;
  padding: 12px 0;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.don-freq-btn.active {
  background: #6A4D27;
  border-color: #6A4D27;
  color: var(--white);
}

.don-designation {
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.don-select-wrapper {
  position: relative;
  border-bottom: 1px solid rgba(139, 90, 43, 0.2);
}

.don-select-wrapper select {
  width: 100%;
  appearance: none;
  border: none;
  background: transparent;
  padding: 10px 0;
  font-size: 15px;
  color: var(--black);
  outline: none;
  cursor: pointer;
}

.don-select-arrow {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #8C847A;
}

.don-submit-btn {
  width: 100%;
  background: #6A4D27;
  color: var(--white);
  border: none;
  padding: 18px 0;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: background 0.3s ease;
  position: relative;
  z-index: 2;
  margin-bottom: 15px;
}

.don-submit-btn:hover {
  background: #4A3317;
}

.don-secure-text {
  text-align: center;
  font-size: 10px;
  color: #8C847A;
  margin: 0;
}

/* ==========================================================================
   Sacred Direct UPI & Official Bank Account Showcase (Donate Page)
   ========================================================================== */
.don-offering-showcase {
  margin-top: 20px;
  position: relative;
  z-index: 2;
}

/* Mode Switcher Tabs */
.don-mode-tabs {
  display: flex;
  align-items: stretch;
  background: rgba(139, 90, 43, 0.08);
  border-radius: 30px;
  padding: 4px;
  margin-bottom: 25px;
  gap: 6px;
  border: 1px solid rgba(212, 175, 55, 0.25);
  box-sizing: border-box;
  width: 100%;
}

.don-mode-tab {
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border: none;
  background: transparent;
  color: var(--black);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  border-radius: 25px;
  cursor: pointer;
  white-space: nowrap;
  box-sizing: border-box;
  text-align: center;
  line-height: 1.2;
  min-height: 44px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.don-tab-text-full {
  display: inline;
}

.don-tab-text-short {
  display: none;
}

.don-mode-tab svg {
  transition: transform 0.3s ease;
}

.don-mode-tab.active {
  background: linear-gradient(135deg, #8B5A2B 0%, #A07B4F 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(139, 90, 43, 0.25);
}

.don-mode-tab.active svg {
  transform: scale(1.1);
  stroke: #F5F1E8;
}

.don-mode-tab:hover:not(.active) {
  background: rgba(139, 90, 43, 0.12);
  color: #8B5A2B;
}

/* Tab Panes */
.don-tab-pane {
  display: none;
  animation: donFadeIn 0.35s ease forwards;
}

.don-tab-pane.active {
  display: block;
}

@keyframes donFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- TAB 1: UPI STYLING --- */
.upi-bank-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(139, 90, 43, 0.15);
  margin-bottom: 16px;
}

.upi-bank-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.upi-bank-name {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: #8B5A2B;
  letter-spacing: 0.5px;
}

.upi-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #1e7e34;
  font-weight: 600;
}

.bhim-upi-pill {
  background: #1b263b;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.upi-payee-box {
  background: #FBF8F3;
  border: 1px dashed rgba(212, 175, 55, 0.4);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 20px;
  text-align: center;
}

.upi-payee-label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #8C847A;
  margin-bottom: 4px;
  font-weight: 600;
}

.upi-payee-name {
  display: block;
  font-size: 13px;
  color: var(--black);
  letter-spacing: 0.5px;
  line-height: 1.4;
}

/* QR Frame & Card */
.upi-qr-card {
  text-align: center;
  padding: 24px 20px 20px;
  background: linear-gradient(180deg, #FDFBF7 0%, #F8F4EC 100%);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 16px;
  box-shadow: inset 0 0 20px rgba(212, 175, 55, 0.05), 0 10px 25px rgba(0, 0, 0, 0.03);
  margin-bottom: 20px;
}

.upi-qr-frame {
  position: relative;
  display: inline-block;
  padding: 16px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(46, 30, 20, 0.08);
  margin-bottom: 14px;
}

.upi-qr-image {
  display: block;
  width: 220px;
  height: 220px;
  object-fit: contain;
  border-radius: 6px;
}

/* Ornamental Golden Corners */
.qr-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: #D4AF37;
  border-style: solid;
  pointer-events: none;
}

.qr-corner.top-left {
  top: 6px;
  left: 6px;
  border-width: 2px 0 0 2px;
}

.qr-corner.top-right {
  top: 6px;
  right: 6px;
  border-width: 2px 2px 0 0;
}

.qr-corner.bottom-left {
  bottom: 6px;
  left: 6px;
  border-width: 0 0 2px 2px;
}

.qr-corner.bottom-right {
  bottom: 6px;
  right: 6px;
  border-width: 0 2px 2px 0;
}

.upi-scan-hint {
  font-size: 13px;
  color: #6d5b4a;
  margin-bottom: 14px;
  font-weight: 500;
}

.upi-apps-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.upi-app-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid rgba(139, 90, 43, 0.15);
  color: #4a3e35;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.upi-app-badge.gpay {
  border-color: #4285F4;
  color: #1a73e8;
}

.upi-app-badge.phonepe {
  border-color: #5f259f;
  color: #5f259f;
}

.upi-app-badge.paytm {
  border-color: #00baf2;
  color: #002970;
}

.upi-app-badge.bhim {
  border-color: #00796b;
  color: #004d40;
}

.upi-app-badge.anyapp {
  background: transparent;
  border-style: dashed;
}

/* UPI ID Bar */
.upi-id-container {
  margin-bottom: 20px;
}

.upi-id-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.upi-id-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #8C847A;
}

.copy-feedback {
  font-size: 11px;
  color: #2e7d32;
  font-weight: 700;
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.25s ease;
  pointer-events: none;
}

.copy-feedback.visible {
  opacity: 1;
  transform: translateY(0);
}

.upi-id-bar {
  display: flex;
  align-items: center;
  background: #FDFBF7;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 8px;
  padding: 6px 6px 6px 14px;
  gap: 10px;
  transition: border-color 0.2s ease;
}

.upi-id-bar:hover {
  border-color: #D4AF37;
}

.upi-id-text {
  flex: 1;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  overflow-x: auto;
  white-space: nowrap;
}

.btn-copy-upi {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #8B5A2B 0%, #D4AF37 100%);
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-copy-upi:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(139, 90, 43, 0.25);
}

/* Action Buttons (Direct Pay on mobile & Download QR) */
.upi-actions-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-direct-upi {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: linear-gradient(135deg, #6A4D27 0%, #8B5A2B 100%);
  color: #fff !important;
  padding: 14px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none !important;
  box-shadow: 0 6px 18px rgba(106, 77, 39, 0.2);
  transition: all 0.3s ease;
}

.btn-direct-upi:hover {
  background: linear-gradient(135deg, #553d1e 0%, #6A4D27 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(106, 77, 39, 0.3);
  color: #fff !important;
}

.btn-download-qr {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: transparent;
  color: #8B5A2B !important;
  border: 1px solid rgba(139, 90, 43, 0.3);
  padding: 11px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.btn-download-qr:hover {
  background: rgba(139, 90, 43, 0.08);
  border-color: #8B5A2B;
  color: #6A4D27 !important;
}

/* --- TAB 2: BANK DETAILS STYLING --- */
.bank-card-intro {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(139, 90, 43, 0.15);
  margin-bottom: 20px;
}

.bank-emblem-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #F5EFEB;
  border: 1px solid rgba(212, 175, 55, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bank-passbook-title {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--black);
  margin: 0 0 4px;
  font-weight: 700;
}

.bank-passbook-subtitle {
  font-size: 12px;
  color: #7d7265;
  margin: 0;
  line-height: 1.5;
}

.bank-details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.bank-detail-item {
  background: #FDFBF7;
  border: 1px solid rgba(139, 90, 43, 0.12);
  border-radius: 8px;
  padding: 12px 14px;
  transition: border-color 0.2s ease;
}

.bank-detail-item:hover {
  border-color: rgba(212, 175, 55, 0.5);
}

.bank-detail-item.full-width {
  grid-column: span 2;
}

.bank-detail-item.highlight-row {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(139, 90, 43, 0.04) 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.45);
}

.detail-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.detail-label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #8C847A;
  font-weight: 600;
  margin-bottom: 3px;
}

.detail-value-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.detail-value-wrap.with-copy {
  display: flex;
  align-items: center;
  gap: 10px;
}

.detail-value {
  font-size: 14px;
  color: var(--black);
  font-weight: 600;
}

.detail-value.highlight-gold {
  color: #8B5A2B;
  font-size: 14px;
  letter-spacing: 0.3px;
}

.detail-value.font-mono {
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 15px;
  font-weight: 700;
  color: #2E1E14;
}

.detail-value.address-val {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  color: #4a3e35;
}

.btn-copy-mini {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #F5EFEB;
  border: 1px solid rgba(139, 90, 43, 0.25);
  color: #6A4D27;
  padding: 4px 10px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.btn-copy-mini:hover {
  background: #8B5A2B;
  color: #fff;
  border-color: #8B5A2B;
}

.bank-transfer-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(212, 175, 55, 0.08);
  border-left: 3px solid #D4AF37;
  padding: 12px 14px;
  border-radius: 0 8px 8px 0;
  font-size: 12px;
  line-height: 1.6;
  color: #554433;
}

.bank-transfer-note svg {
  flex-shrink: 0;
  margin-top: 2px;
}

/* Mobile responsiveness for the new elements */
@media (max-width: 600px) {
  .don-tab-text-full {
    display: none;
  }

  .don-tab-text-short {
    display: inline;
  }

  .don-mode-tabs {
    padding: 3px;
    gap: 4px;
    margin-bottom: 20px;
    border-radius: 28px;
  }

  .don-mode-tab {
    font-size: 12.5px;
    padding: 9px 8px;
    gap: 6px;
    min-height: 40px;
    border-radius: 24px;
    white-space: nowrap;
  }

  .don-mode-tab svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
  }

  .bank-details-grid {
    grid-template-columns: 1fr;
  }

  .bank-detail-item.full-width {
    grid-column: span 1;
  }

  .upi-qr-image {
    width: 190px;
    height: 190px;
  }

  .don-card {
    padding: 26px 15px !important;
  }

  .upi-id-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
  }

  .upi-id-text {
    font-size: 11px;
    text-align: center;
  }

  .btn-copy-upi {
    justify-content: center;
    width: 100%;
  }

  .detail-value-wrap.with-copy {
    flex-wrap: wrap;
    gap: 8px;
  }
}

@media (max-width: 380px) {
  .don-mode-tab {
    font-size: 11.5px;
    padding: 8px 4px;
    gap: 4px;
    min-height: 38px;
  }

  .don-mode-tab svg {
    width: 14px;
    height: 14px;
  }
}

/* ==========================================================================
   Payment Proof Screenshot Upload Component (Shared across Donate, Charity, Mass)
   ========================================================================== */
.proof-upload-wrapper {
  margin: 18px 0;
  position: relative;
}

.proof-upload-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  color: #2E1E14;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.proof-upload-label .proof-req {
  color: #c0392b;
}

.proof-upload-label .proof-tag {
  font-size: 11px;
  font-weight: 600;
  color: #1e7e34;
  background: #e8f5e9;
  padding: 2px 8px;
  border-radius: 12px;
}

.proof-upload-zone {
  position: relative;
  border: 2px dashed rgba(212, 175, 55, 0.55);
  border-radius: 12px;
  background: #FDFBF7;
  padding: 22px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  overflow: hidden;
}

.proof-upload-zone:hover,
.proof-upload-zone.dragover {
  border-color: #8B5A2B;
  background: #FAF3E8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(139, 90, 43, 0.08);
}

.proof-upload-zone input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 5;
}

.proof-zone-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.proof-zone-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8B5A2B;
  transition: transform 0.25s ease;
}

.proof-upload-zone:hover .proof-zone-icon {
  transform: scale(1.1);
  background: rgba(212, 175, 55, 0.25);
}

.proof-zone-title {
  font-size: 14px;
  font-weight: 700;
  color: #2E1E14;
}

.proof-zone-title span {
  color: #8B5A2B;
  text-decoration: underline;
}

.proof-zone-sub {
  font-size: 11px;
  color: #8C847A;
  margin: 0;
}

/* Proof Preview Card */
.proof-preview-card {
  display: none;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  border: 1.5px solid #2e7d32;
  border-radius: 10px;
  padding: 10px 14px;
  margin-top: 10px;
  box-shadow: 0 3px 10px rgba(46, 125, 50, 0.08);
  animation: donFadeIn 0.3s ease;
}

.proof-preview-card.visible {
  display: flex;
}

.proof-preview-thumb {
  width: 50px;
  height: 50px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid #ddd;
  flex-shrink: 0;
}

.proof-preview-info {
  flex: 1;
  min-width: 0;
}

.proof-preview-name {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #1b263b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.proof-preview-size {
  display: inline-block;
  font-size: 11px;
  color: #666;
}

.proof-preview-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #1e7e34;
  font-weight: 600;
  margin-left: 8px;
}

.proof-remove-btn {
  background: #fee2e2;
  color: #dc2626;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.proof-remove-btn:hover {
  background: #dc2626;
  color: #fff;
  transform: scale(1.1);
}

.proof-error-msg {
  display: none;
  color: #dc3545;
  font-size: 12px;
  font-weight: 600;
  margin-top: 6px;
}

/* Cathedral Action Button with Loading State */
.btn-cathedral-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: linear-gradient(135deg, #6A4D27 0%, #8B5A2B 100%);
  color: #fff !important;
  border: none;
  padding: 16px 24px;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(106, 77, 39, 0.25);
  transition: all 0.3s ease;
}

.btn-cathedral-submit:hover:not(:disabled) {
  background: linear-gradient(135deg, #523a1c 0%, #6A4D27 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(106, 77, 39, 0.35);
}

.btn-cathedral-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.btn-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: slow-spin 0.8s linear infinite;
}

/* Compact QR Showcase for Charity & Mass Pages */
.qr-compact-widget {
  background: #FDFBF7;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 14px;
  padding: 22px 20px;
  box-shadow: 0 6px 20px rgba(46, 30, 20, 0.04);
  margin-bottom: 25px;
}

.qr-compact-row {
  display: flex;
  gap: 24px;
  align-items: center;
}

.qr-compact-img-wrap {
  flex-shrink: 0;
  background: #fff;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.qr-compact-img-wrap img {
  display: block;
  width: 140px;
  height: 140px;
  object-fit: contain;
}

.qr-compact-content {
  flex: 1;
}

.qr-compact-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #8B5A2B;
  background: rgba(212, 175, 55, 0.15);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.qr-compact-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: #2E1E14;
  margin: 0 0 6px;
}

.qr-compact-vpa {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 6px;
  padding: 5px 10px;
  margin: 8px 0;
  max-width: fit-content;
}

.qr-compact-vpa code {
  font-family: 'Consolas', monospace;
  font-size: 12px;
  font-weight: 600;
  color: #2E1E14;
}

.qr-compact-desc {
  font-size: 12px;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 650px) {
  .qr-compact-row {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .qr-compact-vpa {
    margin: 8px auto;
  }
}

/* Features Section */
.don-features-section {
  padding: 80px 0 100px;
  text-align: center;
}

.don-features-header {
  margin-bottom: 60px;
}

.don-features-header h2 {
  font-family: var(--font-serif);
  font-size: 36px;
  color: var(--black);
  margin: 0 0 15px;
}

.don-features-header p {
  font-size: 15px;
  color: #8C847A;
  margin: 0;
}

.don-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.don-feat-card {
  background: var(--white);
  padding: 50px 40px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.don-feat-icon {
  margin-bottom: 25px;
}

.don-feat-card h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--black);
  margin: 0 0 15px;
}

.don-feat-card p {
  font-size: 13px;
  color: #5A5248;
  line-height: 1.6;
  margin: 0 0 25px;
}

.don-feat-line {
  width: 30px;
  height: 2px;
  background: var(--primary);
  margin: 0 auto;
}

/* Quote Footer Section */
.don-quote-section {
  position: relative;
  padding: 120px 20px 170px;
  text-align: center;
  color: var(--black);
}

.don-quote-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('./assets/images/cathedral_arches.webp') center/cover;
  opacity: 0.2;
  filter: blur(8px);
  z-index: 0;
}

.don-quote-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.don-quote-content h2 {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 36px;
  color: #6A4D27;
  margin: 0 0 20px;
}

.don-quote-content p {
  font-size: 14px;
  color: #5A5248;
  font-style: italic;
  margin: 0 0 40px;
}

.don-btn-outline {
  display: inline-block;
  border: 1px solid #6A4D27;
  color: #6A4D27;
  padding: 12px 30px;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.don-btn-outline:hover {
  background: #6A4D27;
  color: var(--white);
}

/* Responsive */
@media (max-width: 991px) {
  .don-main-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .don-features-grid {
    grid-template-columns: 1fr;
  }

  .don-title {
    font-size: 38px;
  }

  .don-left-col {
    padding-top: 10px;
  }

  .don-left-title {
    font-size: 32px;
    margin-bottom: 16px;
  }

  .don-left-desc {
    font-size: 14px;
    margin-bottom: 25px;
    max-width: 100%;
  }

  .don-heritage-badge {
    margin-bottom: 25px;
  }

  .don-image-card img {
    height: 250px;
  }
}

.donate-hand-right {
  bottom: -200px;
}

.contact-right-side {
  bottom: -100%;
}

/* Sketch Fade Animation */
.sketch-anim {
  opacity: 0;
  transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

.sketch-anim.is-animated {
  opacity: 0.5;
}

.contact-left-side.sketch-anim {
  transform: rotate(345deg) translateY(30px);
}

.contact-left-side.sketch-anim.is-animated {
  transform: rotate(345deg) translateY(0);
}

/* ── SCHOOL PAGE ── */
.school-page-wrapper {
  background-color: #FDFCF9;
  font-family: var(--font-sans);
  color: var(--black);
  overflow-x: hidden;
}

/* Typography & Globals */
.sch-kicker {
  display: inline-block;
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.sch-kicker-gold {
  color: #DC8F00;
}

.sch-title {
  font-family: var(--font-serif);
  font-size: 64px;
  color: var(--black);
  line-height: 1.1;
  margin-bottom: 25px;
}

.sch-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--primary-dark);
}

.sch-title-white {
  font-family: var(--font-serif);
  font-size: 56px;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 25px;
}

.sch-title-white em {
  font-style: italic;
  font-weight: 400;
}

.sch-subtitle {
  font-family: var(--font-serif);
  font-size: 16px;
  color: #5A5248;
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto 40px;
}

.sch-section-title {
  font-family: var(--font-serif);
  font-size: 48px;
  color: var(--black);
  margin-bottom: 15px;
}

.sch-section-title em {
  font-style: italic;
  color: var(--primary-dark);
}

.sch-btn-solid {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  padding: 15px 35px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--black);
  transition: all 0.3s ease;
}

.sch-btn-solid:hover {
  background: var(--white);
  color: var(--black);
}

.sch-btn-text {
  display: inline-block;
  color: #5A5248;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 10px;
  transition: color 0.3s ease;
}

.sch-btn-text:hover {
  color: var(--black);
}

/* Hero Section */
.sch-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 170px 20px 50px;
}

.sch-feat-title aside {
  font-size: 26px;
}

.sch-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.sch-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
}

.sch-hero-arrow {
  margin-top: 60px;
  color: #A9A096;
}

/* Academic Formation */
.sch-formation-section {
  padding: 0px 0 120px;
  background-color: #FDFCF9;
  position: relative;
}

.sch-section-header {
  text-align: center;
  margin-bottom: 80px;
}

.sch-section-header .sch-kicker {
  border-bottom: 1px solid rgba(139, 90, 43, 0.2);
  padding-bottom: 8px;
}

.sch-formation-container {
  max-width: 1100px;
  margin: 0 auto;
}

.sch-feature-row {
  display: flex;
  align-items: center;
  gap: 80px;
  margin-bottom: 50px;
}

.sch-feature-row.reverse {
  flex-direction: row-reverse;
}

.sch-feature-image {
  flex: 1;
  position: relative;
}

.sch-feature-image img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.sch-feature-content {
  flex: 1;
}

.sch-feat-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-serif);
  font-size: 24px;
  color: #A07B4F;
  font-weight: 400;
  margin-bottom: 15px;
}

.sch-feat-kicker svg {
  color: #A07B4F;
}

.sch-feat-title {
  font-family: var(--font-sans);
  font-size: 40px;
  font-weight: 800;
  color: var(--black);
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 25px;
  margin-top: 0;
}

.sch-feat-title span {
  color: #DC8F00;
}

.sch-feat-desc {
  font-family: var(--font-sans);
  font-size: 16px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 30px;
}

.sch-round-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(220, 143, 0, 0.3);
  color: #DC8F00;
  background-color: transparent;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.sch-round-btn:hover {
  background-color: #DC8F00;
  color: var(--white);
  border-color: #DC8F00;
}

/* Dark Section */
.sch-dark-section {
  background-color: #0A0A0A;
  padding: 150px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.sch-dark-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.sch-dark-divider {
  width: 40px;
  height: 1px;
  background: #DC8F00;
  margin: 30px auto;
}

.sch-dark-quote {
  font-family: var(--font-serif);
  font-size: 22px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

/* Footer CTA */
.sch-cta-section {
  padding: 120px 20px;
  background-color: #F4F2EB;
  text-align: center;
}

.sch-cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.sch-cta-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(139, 90, 43, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
}

.sch-cta-icon img {
  width: 20px;
  opacity: 0.7;
}

.sch-cta-desc {
  font-size: 14px;
  color: #5A5248;
  line-height: 1.6;
  margin-bottom: 40px;
}

.sch-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

/* Sketch positions for School page */
.sch-sketch-left {
  top: 15%;
  left: -2%;
  width: 300px;
}

.sch-sketch-left.sketch-anim.is-animated {
  opacity: 0.3;
}

.sch-sketch-right {
  top: 50%;
  right: -2%;
  width: 250px;
  transform: rotate(15deg);
}

.sch-dark-sketch-left {
  bottom: -10%;
  left: 5%;
  width: 200px;
  filter: invert(1);
}

.sch-dark-sketch-left.sketch-anim.is-animated {
  opacity: 0.1;
}

@media (max-width: 992px) {

  .sch-feature-row,
  .sch-feature-row.reverse {
    flex-direction: column;
    gap: 40px;
  }

  .sch-title {
    font-size: 42px;
  }

  .sch-title-white {
    font-size: 36px;
  }

  .sch-hero-actions {
    flex-direction: column;
    gap: 15px;
  }
}

/* Premium Swipe Hint Animation */
.premium-swipe-hint {
  position: absolute;
  top: 50%;
  right: 30%;
  z-index: 100;
  pointer-events: none;
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transform: translateY(-50%);
}

.premium-swipe-hint.show-hint {
  animation: premiumSwipe 3s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.hint-hand-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  color: var(--white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hint-hand-container svg {
  width: 30px;
  height: 30px;
}

.hint-ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  background: var(--primary);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: rippleEffect 3s infinite;
  z-index: -1;
}

.hint-text {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--black);
  background: rgba(255, 255, 255, 0.9);
  padding: 6px 15px;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@keyframes premiumSwipe {
  0% {
    opacity: 0;
    transform: translate(20px, -50%);
  }

  15% {
    opacity: 1;
    transform: translate(0px, -50%) scale(0.95);
  }

  60% {
    opacity: 1;
    transform: translate(-120px, -50%) scale(0.95);
  }

  75% {
    opacity: 0;
    transform: translate(-140px, -50%) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate(20px, -50%);
  }
}

@keyframes rippleEffect {

  0%,
  10% {
    width: 20px;
    height: 20px;
    opacity: 0;
  }

  15% {
    opacity: 0.8;
  }

  60% {
    width: 80px;
    height: 80px;
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

/* Memorial Project Charity Page Layout (Integrated) */
body.page-template-template-charity {
  background-color: var(--primary-light);
  color: var(--black);
  margin: 0;
  padding: 0;
}

.memorial-page-wrapper {
  background-color: var(--primary-light);
  font-family: var(--font-sans);
  color: var(--black);
  overflow-x: hidden;
  padding-top: 150px;
}

.memorial-page-wrapper * {
  box-sizing: border-box;
}

/* Hero Section */
.memorial-hero {
  text-align: center;
  padding: 0px 20px 20px;
  max-width: 800px;
  margin: 0 auto;
}

.memorial-diamond {
  width: 6px;
  height: 6px;
  background-color: var(--primary);
  transform: rotate(45deg);
  margin: 0 auto 20px;
}

.memorial-subtitle {
  font-family: var(--font-sans);
  font-size: 14px;
  letter-spacing: 5px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 25px;
  text-transform: uppercase;
}

.memorial-title {
  font-family: var(--font-serif);
  font-size: 58px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 30px;
  line-height: 1.1;
}

.memorial-desc {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.8;
  color: var(--black);
  opacity: 0.7;
  max-width: 500px;
  margin: 0 auto 0px;
}

.memorial-scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0.6;
}

.memorial-scroll-indicator span {
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--primary);
  text-transform: uppercase;
}

/* Mission Section */
.memorial-mission {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 40px;
  display: flex;
  align-items: center;
  gap: 50px;
}

.memorial-mission2 {
  padding-bottom: 150px;
}

.mission-left {
  flex: 1;
  width: 100%;
}

.mission-label {
  font-size: 14px;
  letter-spacing: 3px;
  font-weight: 700;
  color: var(--black);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.mission-title {
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--black);
  margin-bottom: 20px;
  max-width: 500px;
}

.mission-sep {
  width: 30px;
  height: 1px;
  background-color: var(--primary);
  margin-bottom: 20px;
}

.mission-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--black);
  opacity: 0.7;
  margin-bottom: 25px;
}

.mission-quote {
  font-family: var(--font-serif);
  font-size: 22px;
  font-style: italic;
  line-height: 1.5;
  color: var(--primary);
  margin: 20px 0;
  padding-left: 20px;
  border-left: 2px solid var(--primary);
}

.mission-stats {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.m-stat-box {
  background-color: rgba(46, 30, 20, 0.03);
  padding: 25px 30px;
  border-radius: 4px;
  min-width: 180px;
}

.m-stat-box h3 {
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 5px;
  font-weight: 600;
}

.m-stat-box p {
  font-size: 9px;
  letter-spacing: 1px;
  font-weight: 700;
  color: var(--black);
  margin: 0;
}

.mission-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.mission-image-wrapper {
  width: 100%;
  max-width: 500px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.mission-image-wrapper img {
  width: 100%;
  height: auto;
  max-height: 500px;
  display: block;
  object-fit: cover;
  aspect-ratio: 4/5;
}

/* Gallery Section */
.memorial-gallery {
  background-color: var(--white);
  padding: 80px 40px;
  position: relative;
}

.gallery-header {
  max-width: 1200px;
  margin: 0 auto 60px;
  text-align: center;
}

.gallery-header-text h2 {
  font-family: var(--font-serif);
  font-size: 46px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 20px;
  line-height: 1.2;
}

.gallery-header-text p {
  font-size: 16px;
  color: var(--black);
  opacity: 0.75;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.8;
}

.gallery-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
}

.g-col-left {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.g-col-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  aspect-ratio: 4/5;
}

.g-col-left:hover img {
  transform: scale(1.05);
}

.g-col-right {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.g-col-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
  aspect-ratio: 4/3;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s ease;
}

.g-col-right img:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.1);
}

/* Sustain Section */
.memorial-sustain {
  text-align: center;
  padding: 120px 20px;
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.05) 0%, transparent 60%);
}

.sustain-icon {
  margin-bottom: 20px;
}

.sustain-icon svg path {
  stroke: var(--primary);
}

.memorial-scroll-indicator svg path {
  stroke: var(--primary);
}

.memorial-sustain h2 {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 600;
  margin-bottom: 20px;
}

.sustain-desc {
  font-size: 15px;
  color: var(--black);
  opacity: 0.7;
  max-width: 550px;
  margin: 0 auto 50px;
  line-height: 1.7;
}

.donation-options {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.donation-card {
  background-color: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 30px 40px;
  border-radius: 8px;
  min-width: 200px;
  position: relative;
  cursor: pointer;
  transition: all 0.3s;
}

.donation-card:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.donation-card.active {
  background-color: rgba(46, 30, 20, 0.03);
  border-color: var(--primary);
  box-shadow: 0 15px 30px rgba(212, 175, 55, 0.15);
}

.d-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary);
  color: var(--black);
  font-size: 8px;
  letter-spacing: 1px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 12px;
  white-space: nowrap;
}

.d-label {
  display: block;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--black);
  opacity: 0.7;
  margin-bottom: 10px;
  font-weight: 600;
}

.d-amount {
  display: block;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--black);
}

.btn-contribute {
  display: inline-block;
  background-color: var(--primary-dark);
  color: var(--primary-light);
  padding: 16px 45px;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-decoration: none;
  transition: all 0.3s;
  margin-bottom: 30px;
}

.btn-contribute:hover {
  background-color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(46, 30, 20, 0.3);
  color: var(--primary);
}

.sustain-note {
  font-size: 11px;
  color: var(--black);
  opacity: 0.6;
  font-style: italic;
  margin-bottom: 80px;
}

.sustain-footer h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-style: italic;
  color: var(--primary);
  margin-bottom: 10px;
}

.sustain-footer p {
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--black);
  opacity: 0.6;
}

.ct-plan-icon svg {
  width: 34px;
  height: 34px;
}

/* Responsive */
@media only screen and (max-width: 991px) {
  .memorial-mission {
    flex-direction: column;
    gap: 40px;
  }

  .mission-right {
    width: 100%;
    justify-content: center;
  }

  .gallery-header {
    margin-bottom: 40px;
    padding: 0 15px;
  }

  .gallery-header-text h2 {
    font-size: 34px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .g-col-left img,
  .g-col-right img {
    aspect-ratio: auto;
  }
}

@media only screen and (max-width: 600px) {
  .memorial-title {
    font-size: 40px;
  }

  .mission-title {
    font-size: 34px;
  }

  .mission-stats {
    flex-direction: column;
  }

  .donation-options {
    flex-direction: column;
    align-items: center;
  }

  .donation-card {
    width: 100%;
    max-width: 300px;
  }
}

/* ==========================================================================
   Events Feature Styles
   ========================================================================== */

/* Events List Page */
.events-page-wrapper {
  background-color: var(--primary-light, #F4F2EB);
  font-family: var(--font-sans, 'Inter', sans-serif);
  padding-top: 150px;
  min-height: 100vh;
}

.events-hero {
  text-align: center;
  padding: 30px 20px 30px;
  max-width: 800px;
  margin: 0 auto;
}

.events-diamond {
  width: 6px;
  height: 6px;
  background-color: var(--primary, #D4AF37);
  transform: rotate(45deg);
  margin: 0 auto 20px;
}

.events-subtitle {
  font-size: 14px;
  letter-spacing: 5px;
  font-weight: 900;
  color: var(--primary, #D4AF37);
  margin-bottom: 25px;
  text-transform: uppercase;
}

.events-title {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-size: 58px;
  font-weight: 600;
  color: var(--primary-dark, #2E1E14);
  margin-bottom: 30px;
  line-height: 1.1;
}

.events-desc {
  font-size: 16px;
  line-height: 1.8;
  color: var(--black, #1a1a1a);
  opacity: 0.7;
  max-width: 500px;
  margin: 0 auto;
}

.events-listing-section {
  padding: 40px 20px 150px;
}

.events-grid-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 40px;
}

.event-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.15);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.event-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.event-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.event-card-image {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.event-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.event-placeholder-img {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.05) 100%);
}

.event-card:hover .event-card-image img {
  transform: scale(1.05);
}

.event-date-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--white, #ffffff);
  border-radius: 8px;
  padding: 8px 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.event-month {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary, #D4AF37);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.event-day {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--primary-dark, #2E1E14);
  line-height: 1;
  margin-top: 2px;
}

.event-year {
  font-size: 10px;
  font-weight: 700;
  color: rgba(46, 30, 20, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 2px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 4px;
}

.event-card-content {
  padding: 35px 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.event-card-title {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--primary-dark, #2E1E14);
  margin-top: 0;
  margin-bottom: 15px;
  line-height: 1.3;
}

.event-card-excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: var(--black, #1a1a1a);
  opacity: 0.7;
  margin-bottom: 25px;
  flex-grow: 1;
}

.event-card-readmore {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary, #D4AF37);
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: gap 0.3s ease;
}

.event-card:hover .event-card-readmore {
  gap: 12px;
}

.no-events-found {
  text-align: center;
  grid-column: 1 / -1;
  font-size: 18px;
  color: var(--black, #1a1a1a);
  opacity: 0.6;
  padding: 60px 0;
}

/* Single Event Page */
.single-event-page {
  background-color: var(--white, #ffffff);
  padding-bottom: 150px;
}

.single-event-header {
  position: relative;
  width: 100%;
}

.single-event-hero {
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 400px;
  max-height: 700px;
  overflow: hidden;
}

.event-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.single-event-title-box {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 60px 20px;
  text-align: center;
  z-index: 2;
}

/* If there is no featured image, style the title box differently */
.single-event-header:not(:has(.single-event-hero)) {
  padding-top: 180px;
  background-color: var(--primary-light, #F4F2EB);
}

.single-event-header:not(:has(.single-event-hero)) .single-event-title-box {
  position: relative;
  padding: 40px 20px 80px;
}

.single-event-header:not(:has(.single-event-hero)) .single-event-title {
  color: var(--primary-dark, #2E1E14);
}

.single-event-header:not(:has(.single-event-hero)) .event-meta-date span {
  color: var(--primary, #D4AF37);
}

.event-meta-date {
  display: inline-flex;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary, #D4AF37);
}

.meta-day {
  color: #ffffff;
}

.single-event-header:not(:has(.single-event-hero)) .meta-day {
  color: var(--primary-dark, #2E1E14);
}

.single-event-title {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-size: 64px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 auto;
  max-width: 900px;
  line-height: 1.1;
}

.single-event-content-wrapper {
  max-width: 1100px;
  margin: 60px auto 0;
  padding: 0 20px;
}

.single-event-content {
  font-size: 18px;
  line-height: 1.8;
  color: #333;
}

.single-event-content p {
  margin-bottom: 25px;
}

.single-event-content img,
.single-event-content .wp-block-image img,
.single-event-content .wp-block-gallery {
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  margin-top: 40px;
  margin-bottom: 40px;
  max-width: 100%;
  height: auto;
}

.event-navigation {
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
}

.btn-back-events {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 35px;
  background-color: var(--primary-dark, #2E1E14);
  color: var(--white, #ffffff);
  border-radius: 30px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.btn-back-events:hover {
  background-color: var(--primary, #D4AF37);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

@media only screen and (max-width: 768px) {
  .events-title {
    font-size: 42px;
  }

  .single-event-title {
    font-size: 42px;
  }

  .single-event-hero {
    height: 50vh;
    min-height: 350px;
  }

  .events-grid-container {
    grid-template-columns: 1fr;
  }
}

/* Event Gallery Styles */
.event-gallery-wrapper {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.event-gallery-title {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-size: 36px;
  font-weight: 600;
  color: var(--primary-dark, #2E1E14);
  margin-bottom: 30px;
  text-align: center;
}

.event-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.event-gallery-item {
  display: block;
  width: 100%;
  height: 250px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  position: relative;
}

.event-gallery-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(212, 175, 55, 0);
  transition: background-color 0.3s ease;
  z-index: 1;
}

.event-gallery-item:hover::after {
  background-color: rgba(212, 175, 55, 0.2);
}

.event-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.event-gallery-item:hover img {
  transform: scale(1.08);
}

/* Lightbox Styles */
.event-lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 40px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(10, 10, 10, 0.95);
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(5px);
}

.event-lightbox.show {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
}

.lightbox-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 85vh;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  border-radius: 8px;
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  object-fit: contain;
}

.event-lightbox.show .lightbox-content {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: 300;
  cursor: pointer;
  z-index: 10000;
  transition: color 0.3s ease, transform 0.3s ease;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
}

.lightbox-close:hover {
  color: var(--primary, #D4AF37);
  transform: rotate(90deg);
  background-color: rgba(255, 255, 255, 0.2);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 40px;
  font-weight: bold;
  padding: 16px;
  cursor: pointer;
  z-index: 10001;
  user-select: none;
  transition: all 0.3s ease;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  color: var(--primary, #D4AF37);
  background-color: rgba(0, 0, 0, 0.8);
}

@media only screen and (max-width: 768px) {
  .event-gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
  }

  .event-gallery-item {
    height: 150px;
  }

  .lightbox-close {
    top: 15px;
    right: 15px;
    font-size: 30px;
    width: 40px;
    height: 40px;
  }

  .lightbox-prev,
  .lightbox-next {
    font-size: 24px;
    padding: 10px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }
}

body .pfg-lightbox {
  z-index: 999 !important;
}

.pfg-filter {
  background: #d4af37 !important;
}

.pfg-filter--active,
.pfg-filter:hover,
.pfg-filter:focus {}

/* ==========================================================================
   Cathedral Modern Masonry Gallery & Lightbox Styles
   ========================================================================== */

.cathedral-gallery-experience {
  position: relative;
  padding-top: 150px;
  padding-bottom: 120px;
  min-height: 100vh;
  background-color: var(--primary-light, #F5F1E8);
  overflow: hidden;
}

/* Atmospheric Glow */
.gallery-bg-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(140px);
  z-index: 0;
  opacity: 0.35;
}

.gallery-bg-glow.glow-1 {
  top: -100px;
  left: -150px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.4) 0%, transparent 70%);
}

.gallery-bg-glow.glow-2 {
  top: 35%;
  right: -200px;
  background: radial-gradient(circle, rgba(139, 90, 43, 0.3) 0%, transparent 70%);
}

.gallery-container {
  position: relative;
  z-index: 1;
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header Section */
.gallery-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 50px auto;
}

.gallery-header-emblem {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  margin-bottom: 20px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-header-emblem:hover {
  transform: rotate(15deg) scale(1.05);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.35);
}

.gallery-subtitle {
  display: block;
  font-size: 13px;
  letter-spacing: 5px;
  font-weight: 700;
  color: var(--primary, #D4AF37);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.gallery-title {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-size: clamp(38px, 5.2vw, 64px);
  font-weight: 600;
  color: var(--primary-dark, #2E1E14);
  line-height: 1.1;
  margin-bottom: 15px;
}

.gallery-divider-accent {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 15px 0 22px 0;
}

.gallery-divider-accent .divider-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.6));
}

.gallery-divider-accent .divider-line:last-child {
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.6), transparent);
}

.gallery-divider-accent .divider-gem {
  color: var(--primary, #D4AF37);
  font-size: 14px;
}

.gallery-lead {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(46, 30, 20, 0.75);
  margin: 0 auto;
}

/* Category Filter Navigation (Modern Elevated Tab Bar) */
.gallery-filter-nav {
  margin-bottom: 35px;
  display: flex;
  justify-content: center;
}

.filter-pills-wrap {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 10px;
  background: #ffffff;
  border-radius: 50px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 8px 24px rgba(46, 30, 20, 0.06), 0 2px 6px rgba(0, 0, 0, 0.03);
  position: relative;
}

.filter-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 40px;
  font-size: 13.5px;
  font-weight: 600;
  font-family: var(--font-sans, 'Inter', sans-serif);
  color: #3A2B20;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  user-select: none;
}

.filter-pill-btn .pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--primary, #D4AF37);
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.filter-pill-btn .pill-count {
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 10px;
  background: rgba(46, 30, 20, 0.07);
  color: #6A5440;
  font-weight: 700;
  transition: all 0.25s ease;
}

.filter-pill-btn:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: rgba(212, 175, 55, 0.35);
  color: var(--primary-dark, #8B5A2B);
  transform: translateY(-1px);
}

.filter-pill-btn.active {
  background: linear-gradient(135deg, #D4AF37 0%, #B88E1F 100%);
  border-color: #D4AF37;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.4);
  transform: translateY(-1px);
}

.filter-pill-btn.active .pill-dot {
  background-color: #ffffff;
  transform: scale(1.2);
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
}

.filter-pill-btn.active .pill-count {
  background: rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

/* ==========================================================================
   CSS Multi-Column Masonry Grid (5 Columns on Desktop, 2 Columns on Mobile)
   ========================================================================== */
.cathedral-masonry-wrapper {
  column-count: 5;
  column-gap: 12px;
  width: 100%;
}

@media only screen and (max-width: 1350px) {
  .cathedral-masonry-wrapper {
    column-count: 4;
    column-gap: 12px;
  }
}

@media only screen and (max-width: 991px) {
  .cathedral-masonry-wrapper {
    column-count: 3;
    column-gap: 10px;
  }
}

@media only screen and (max-width: 768px) {
  .cathedral-masonry-wrapper {
    column-count: 2 !important;
    column-gap: 8px !important;
  }
}

/* Single Masonry Item */
.cathedral-masonry-item {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  margin-bottom: 14px;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 18px rgba(46, 30, 20, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.2);
  transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
}

.cathedral-masonry-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(46, 30, 20, 0.12), 0 0 18px rgba(212, 175, 55, 0.2);
  border-color: rgba(212, 175, 55, 0.5);
}

.masonry-card-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.masonry-media-wrap {
  position: relative;
  width: 100%;
  cursor: pointer;
  background: #1e130c;
  display: block;
}

/* Responsive Image & Video in Grid */
.masonry-grid-img,
.masonry-grid-video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.4s ease;
}

.cathedral-masonry-item:hover .masonry-grid-img,
.cathedral-masonry-item:hover .masonry-grid-video {
  transform: scale(1.05);
}

/* Format Badges (Hidden per user request) */
.masonry-badge-wrap {
  display: none !important;
}

/* Hover Overlay (Center Action Only - No headings on card) */
.masonry-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 12, 8, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 3;
}

.cathedral-masonry-item:hover .masonry-overlay {
  opacity: 1;
}

/* Center Action Pulse (Play/Zoom) */
.overlay-center-action {
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-pulse-circle,
.zoom-pulse-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.95);
  color: #1a0f08;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.6);
  transform: scale(0.85);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.play-pulse-circle svg {
  margin-left: 2px;
}

.cathedral-masonry-item:hover .play-pulse-circle,
.cathedral-masonry-item:hover .zoom-pulse-circle {
  transform: scale(1);
}

/* Heading on Hover (Hidden on grid - Displayed inside Lightbox Popup) */
.overlay-content {
  display: none !important;
}

/* Animations for filter transition */
.anim-fade-scale {
  animation: sxcFadeScale 0.4s ease forwards;
}

@keyframes sxcFadeScale {
  0% {
    opacity: 0;
    transform: scale(0.96) translateY(10px);
  }

  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* ==========================================================================
   Infinite Scroll Sentinel & Load More Elements
   ========================================================================== */
.gallery-scroll-sentinel {
  padding: 40px 0 20px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Sacred Spinner */
.gallery-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.sacred-spinner {
  position: relative;
  width: 50px;
  height: 50px;
}

.sacred-spinner svg {
  animation: rotateSpinner 2s linear infinite;
  width: 100%;
  height: 100%;
}

.sacred-spinner .path {
  stroke: var(--primary, #D4AF37);
  stroke-linecap: round;
  animation: dashSpinner 1.5s ease-in-out infinite;
}

.sacred-spinner .spinner-cross {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--primary-dark, #8B5A2B);
  font-size: 16px;
  font-weight: bold;
}

@keyframes rotateSpinner {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes dashSpinner {
  0% {
    stroke-dasharray: 1, 150;
    stroke-dashoffset: 0;
  }

  50% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -35;
  }

  100% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -124;
  }
}

.loading-label {
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--primary-dark, #8B5A2B);
  font-weight: 600;
}

/* Manual Button */
.gallery-load-more-wrap {
  margin-top: 15px;
}

.btn-load-more-gallery {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 30px;
  border-radius: 50px;
  background: var(--primary-dark, #2E1E14);
  color: #FDFBF7;
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 6px 20px rgba(46, 30, 20, 0.15);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-load-more-gallery:hover {
  background: #1a0f08;
  border-color: var(--primary, #D4AF37);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
  color: #fff;
}

/* End of Gallery Notification */
.gallery-end-message {
  padding: 30px 20px;
  color: rgba(46, 30, 20, 0.6);
  font-size: 15px;
  font-style: italic;
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
}

/* Empty State (When no moments are uploaded yet in WP-Admin) */
.cathedral-masonry-wrapper.is-empty-wrapper {
  column-count: 1 !important;
  display: flex;
  justify-content: center;
}

.gallery-empty-state {
  text-align: center;
  padding: 80px 30px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px dashed rgba(212, 175, 55, 0.45);
  border-radius: 20px;
  max-width: 600px;
  margin: 20px auto 40px auto;
  backdrop-filter: blur(8px);
}

.empty-state-icon {
  margin-bottom: 20px;
  opacity: 0.85;
}

.empty-title {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-size: 32px;
  color: var(--primary-dark, #2E1E14);
  margin-bottom: 12px;
}

.empty-desc {
  font-size: 16px;
  color: rgba(46, 30, 20, 0.75);
  line-height: 1.6;
  margin-bottom: 20px;
}

.empty-admin-action {
  margin-top: 15px;
}



/* ==========================================================================
   CINEMATIC SACRED LIGHTBOX MODAL
   ========================================================================== */
body.lightbox-no-scroll {
  overflow: hidden !important;
}

.cathedral-lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.cathedral-lightbox-modal.is-active {
  opacity: 1;
  visibility: visible;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 11, 7, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.lightbox-dialog {
  position: relative;
  z-index: 2;
  width: 95vw;
  max-width: 1400px;
  height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 15px;
}

/* Lightbox Header */
.lightbox-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px;
  color: #fff;
  z-index: 10;
}

.lightbox-meta-tag {
  display: flex;
  align-items: center;
  gap: 15px;
}

.lightbox-cat-badge {
  background: rgba(212, 175, 55, 0.2);
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: #E6C564;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.lightbox-counter {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-sans, sans-serif);
}

.lightbox-counter strong {
  color: #fff;
}

.lightbox-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lightbox-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.lightbox-btn:hover {
  background: var(--primary, #D4AF37);
  color: #1a0f08;
  border-color: var(--primary, #D4AF37);
  transform: scale(1.08);
}

.lightbox-close-btn:hover {
  background: #dc2626;
  border-color: #dc2626;
  color: #fff;
}

/* Lightbox Stage */
.lightbox-stage {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 10px 0;
}

.lightbox-media-container {
  max-width: 90%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-active-img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.25);
  animation: lbZoomIn 0.3s ease;
}

.lightbox-active-video {
  max-width: 100%;
  max-height: 70vh;
  width: 900px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.25);
  background: #000;
  animation: lbZoomIn 0.3s ease;
}

.lightbox-active-iframe {
  width: 900px;
  max-width: 90vw;
  height: 520px;
  max-height: 70vh;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.25);
  animation: lbZoomIn 0.3s ease;
}

@keyframes lbZoomIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Navigation Arrows */
.lightbox-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  backdrop-filter: blur(8px);
}

.lightbox-nav-arrow.arrow-prev {
  left: 20px;
}

.lightbox-nav-arrow.arrow-next {
  right: 20px;
}

.lightbox-nav-arrow:hover {
  background: var(--primary, #D4AF37);
  color: #1a0f08;
  border-color: var(--primary, #D4AF37);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.4);
}

/* Lightbox Footer Bar */
.lightbox-footer-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 15px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
  border-radius: 12px;
  color: #fff;
}

.lightbox-text-info {
  max-width: 75%;
}

.lightbox-title {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-size: 26px;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0 0 6px 0;
  line-height: 1.2;
}

.lightbox-caption {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  line-height: 1.5;
}

.lightbox-parish-tag {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--primary, #D4AF37);
  font-weight: 700;
  white-space: nowrap;
}

@media only screen and (max-width: 768px) {
  .cathedral-gallery-experience {
    padding-top: 110px !important;
    padding-bottom: 60px !important;
  }

  .gallery-container {
    padding: 0 10px !important;
  }

  .gallery-header {
    margin-bottom: 20px !important;
  }

  .gallery-header-emblem {
    width: 48px !important;
    height: 48px !important;
    margin-bottom: 10px !important;
  }

  .gallery-header-emblem svg {
    width: 24px !important;
    height: 24px !important;
  }

  .gallery-subtitle {
    font-size: 11px !important;
    letter-spacing: 3px !important;
    margin-bottom: 6px !important;
  }

  .gallery-title {
    font-size: 28px !important;
    margin-bottom: 6px !important;
    line-height: 1.2 !important;
  }

  /* Sleek Modern Filter Bar (Horizontal Swipeable, Never Awkward Multi-Line Blob) */
  .gallery-filter-nav {
    margin-bottom: 20px !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    padding: 0 4px !important;
  }

  .filter-pills-wrap {
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    max-width: 100% !important;
    padding: 4px 6px !important;
    gap: 6px !important;
    border-radius: 30px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 4px 16px rgba(46, 30, 20, 0.08) !important;
    border: 1px solid rgba(212, 175, 55, 0.25) !important;
  }

  .filter-pills-wrap::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  .filter-pill-btn {
    flex: 0 0 auto !important;
    padding: 6px 13px !important;
    font-size: 12px !important;
    border-radius: 20px !important;
    white-space: nowrap !important;
    gap: 6px !important;
  }

  .filter-pill-btn .pill-dot {
    width: 5px !important;
    height: 5px !important;
  }

  .filter-pill-btn .pill-count {
    font-size: 10px !important;
    padding: 1px 5px !important;
    border-radius: 8px !important;
  }

  /* Strictly 2 Columns on Mobile */
  .cathedral-masonry-wrapper {
    column-count: 2 !important;
    column-gap: 8px !important;
    width: 100% !important;
  }

  .cathedral-masonry-item {
    margin-bottom: 8px !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 10px rgba(46, 30, 20, 0.08) !important;
  }

  .play-pulse-circle,
  .zoom-pulse-circle {
    width: 36px !important;
    height: 36px !important;
  }

  .play-pulse-circle svg,
  .zoom-pulse-circle svg {
    width: 16px !important;
    height: 16px !important;
  }

  .lightbox-nav-arrow {
    width: 44px;
    height: 44px;
  }

  .lightbox-nav-arrow.arrow-prev {
    left: 5px;
  }

  .lightbox-nav-arrow.arrow-next {
    right: 5px;
  }

  .lightbox-footer-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .lightbox-text-info {
    max-width: 100%;
  }

  .lightbox-title {
    font-size: 20px;
  }
}

/* ==========================================================================
   Thank You Page Styles
   ========================================================================== */

.thank-you-page-wrapper {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 150px 20px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #fdfbf7 0%, #f4f0e6 100%);
  color: #222;
}

.thank-you-page-wrapper .ty-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.04;
  pointer-events: none;
}

.thank-you-page-wrapper .vine-left-side {
  position: absolute;
  left: -2%;
  top: 15%;
  opacity: 0.15;
  max-width: 350px;
}

.thank-you-page-wrapper .vine-left-side img {
  width: 100%;
  opacity: 0.5;
}

.thank-you-page-wrapper .praying-hands-sketch {
  position: absolute;
  right: -2%;
  bottom: 5%;
  opacity: 0.1;
  max-width: 400px;
}

.thank-you-page-wrapper .praying-hands-sketch img {
  width: 100%;
  border-radius: 20px;
  /* filter: sepia(100%) hue-rotate(5deg) saturate(200%); */
  mix-blend-mode: multiply;
}

.thank-you-page-wrapper .ty-main-container {
  position: relative;
  z-index: 10;
  max-width: 850px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 70px 50px;
  border-radius: 2px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.06), 0 0 0 10px rgba(255, 255, 255, 0.5);
}

.thank-you-page-wrapper .ty-corner {
  position: absolute;
  width: 30px;
  height: 30px;
  border-color: #d4af37;
  border-style: solid;
  border-width: 0;
  opacity: 0.6;
}

.thank-you-page-wrapper .ty-corner-tl {
  top: 15px;
  left: 15px;
  border-top-width: 1px;
  border-left-width: 1px;
}

.thank-you-page-wrapper .ty-corner-tr {
  top: 15px;
  right: 15px;
  border-top-width: 1px;
  border-right-width: 1px;
}

.thank-you-page-wrapper .ty-corner-bl {
  bottom: 15px;
  left: 15px;
  border-bottom-width: 1px;
  border-left-width: 1px;
}

.thank-you-page-wrapper .ty-corner-br {
  bottom: 15px;
  right: 15px;
  border-bottom-width: 1px;
  border-right-width: 1px;
}

.thank-you-page-wrapper .ty-icon {
  margin-bottom: 35px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.15), inset 0 0 20px rgba(212, 175, 55, 0.05);
  animation: ty-float 6s ease-in-out infinite;
}

@keyframes ty-float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-12px);
    box-shadow: 0 25px 45px rgba(212, 175, 55, 0.2), inset 0 0 20px rgba(212, 175, 55, 0.05);
  }

  100% {
    transform: translateY(0px);
  }
}

.thank-you-page-wrapper .don-kicker {
  display: block;
  letter-spacing: 5px;
  font-size: 13px;
  text-transform: uppercase;
  color: #b8922b;
  margin-bottom: 20px;
  font-weight: 700;
}

.thank-you-page-wrapper .don-title {
  font-size: clamp(40px, 6vw, 64px);
  margin-bottom: 25px;
  line-height: 1.15;
  font-family: 'Playfair Display', serif;
  color: #1a1a1a;
  font-weight: 500;
}

.thank-you-page-wrapper .don-title em {
  color: #d4af37;
  font-style: italic;
  font-weight: 400;
}

.thank-you-page-wrapper .ty-divider {
  width: 60px;
  height: 2px;
  background: #d4af37;
  margin: 0 auto 35px auto;
}

.thank-you-page-wrapper .don-subtitle {
  font-size: 19px;
  color: #4a4a4a;
  line-height: 1.8;
  margin-bottom: 45px;
  font-weight: 300;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.thank-you-page-wrapper .ty-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.thank-you-page-wrapper .btn-premium-dark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  border-radius: 2px;
  background: #1a1a1a;
  color: #fff;
  font-weight: 500;
  font-family: 'Playfair Display', serif;
  letter-spacing: 2px;
  text-decoration: none;
  transition: all 0.4s ease;
  border: 1px solid #1a1a1a;
}

.thank-you-page-wrapper .btn-premium-dark:hover {
  background-color: #d4af37;
  border-color: #d4af37;
  color: #fff;
  box-shadow: 0 15px 25px rgba(212, 175, 55, 0.2);
}

.thank-you-page-wrapper .btn-premium-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  border-radius: 2px;
  border: 1px solid rgba(212, 175, 55, 0.5);
  color: #b8922b;
  font-weight: 500;
  font-family: 'Playfair Display', serif;
  letter-spacing: 2px;
  text-decoration: none;
  transition: all 0.4s ease;
  background: transparent;
}

.thank-you-page-wrapper .btn-premium-outline:hover {
  background: rgba(212, 175, 55, 0.05);
  border-color: #d4af37;
  color: #1a1a1a;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

/* ==========================================================================
   Premium Donation Form Styles
   ========================================================================== */
.premium-don-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 25px;
}

.don-input-wrapper {
  position: relative;
  width: 100%;
}

.don-input-icon {
  position: absolute;
  left: 20px;
  top: 20px;
  width: 20px;
  height: 20px;
  color: #a39171;
  pointer-events: none;
  transition: color 0.3s ease;
}

.textarea-wrapper .don-input-icon {
  top: 10px !important;
}

.don-form-control {
  width: 100%;
  background: rgba(251, 249, 246, 0.7);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 8px;
  padding: 16px 20px 16px 55px;
  font-size: 16px;
  color: #222;
  font-family: var(--font-primary, sans-serif);
  transition: all 0.3s ease;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.02);
}

.don-form-control:focus {
  outline: none;
  background: #fff;
  border-color: #d4af37;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1), inset 0 2px 5px rgba(0, 0, 0, 0.01);
}

.don-form-control:focus+.don-input-icon,
.don-input-wrapper:focus-within .don-input-icon {
  color: #d4af37;
}

.don-form-control::placeholder {
  color: #999;
  font-weight: 400;
}

.don-textarea {
  resize: vertical;
  min-height: 80px;
  padding-top: 10px;
}

.don-amount-wrapper .don-currency-symbol {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  font-weight: 600;
  color: #d4af37;
  pointer-events: none;
}

.don-amount-wrapper .don-amount-input {
  padding-left: 55px;
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
}

.don-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #222 0%, #111 100%);
  color: #fff;
  border: none;
  padding: 18px 30px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.4s ease;
  margin-top: 10px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.don-submit-btn:hover {
  background: linear-gradient(135deg, #d4af37 0%, #b8922b 100%);
  box-shadow: 0 15px 30px rgba(212, 175, 55, 0.3);
  transform: translateY(-2px);
}

.don-submit-btn svg {
  transition: transform 0.3s ease;
}

.don-submit-btn:hover svg {
  transform: translateX(5px);
}

/* Hide number input arrows */
.don-amount-input::-webkit-outer-spin-button,
.don-amount-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.don-amount-input[type=number] {
  -moz-appearance: textfield;
}

/* Validation Error Styles */
.don-error-message {
  color: #d32f2f;
  font-size: 13px;
  margin-top: 5px;
  display: none;
  font-weight: 500;
  animation: fadeIn 0.3s ease;
}

.don-form-control.is-invalid {
  border-color: #d32f2f;
  box-shadow: 0 0 0 4px rgba(211, 47, 47, 0.1);
}

.don-form-control.is-invalid+.don-input-icon,
.don-input-wrapper:focus-within .don-form-control.is-invalid+.don-input-icon {
  color: #d32f2f;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pfg-filter.pfg-filter--active {
  background: #38281f !important;
}

/* Charity Custom Form - Completely Different Design */
.charity-donation-section {
  background-color: #FAF6F0;
  padding: 5rem 0 150px;
  position: relative;
}

.charity-container {
  max-width: 750px;
  width: 90%;
  margin: 0 auto;
  background: #ffffff;
  padding: 4rem 3rem;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
}

.charity-header {
  text-align: center;
  margin-bottom: 3rem;
}

.charity-header h3 {
  font-size: 2.4rem;
  color: #1a1a1a;
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.charity-header p {
  color: #666;
  font-size: 1.1rem;
}

.charity-custom-form {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.charity-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .charity-grid-2 {
    grid-template-columns: 1fr;
  }

  .charity-container {
    padding: 2.5rem 1.5rem;
    width: 95%;
  }
}

.charity-input-group {
  display: flex;
  flex-direction: column;
  position: relative;
}

.charity-input-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #444;
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}

.charity-input-group input,
.charity-input-group textarea {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #eaeaea;
  padding: 1.2rem;
  border-radius: 10px;
  font-size: 1.05rem;
  background: #fcfcfc;
  transition: all 0.3s ease;
  color: #333;
}

.charity-input-group input:focus,
.charity-input-group textarea:focus {
  border-color: #b0914f;
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 4px rgba(176, 145, 79, 0.1);
}

.charity-input-group .charity-currency {
  position: absolute;
  left: 1.2rem;
  top: 3rem;
  font-size: 1.1rem;
  color: #555;
  pointer-events: none;
}

.charity-input-group input.with-currency {
  padding-left: 2.5rem;
}

.charity-error {
  color: #e74c3c;
  font-size: 0.85rem;
  margin-top: 0.4rem;
  display: none;
}

.charity-submit-wrap {
  text-align: center;
  margin-top: 1.5rem;
}

.charity-submit-btn {
  background: #1a1a1a;
  color: #fff;
  border: none;
  padding: 1.2rem 4rem;
  font-size: 1.1rem;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  letter-spacing: 1px;
}

.charity-submit-btn:hover {
  background: #b0914f;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(176, 145, 79, 0.25);
}

.charity-form-control.is-invalid {
  border-color: #e74c3c !important;
  background: #fffafa !important;
}

/* Mass Booking Form */
.mt-booking-section {
  padding: 80px 20px 0;
  display: flex;
  justify-content: center;
}

.mt-booking-container {
  background: var(--white);
  max-width: 800px;
  width: 100%;
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.mt-booking-form {
  margin-top: 40px;
}

.mt-form-row {
  display: flex;
  gap: 30px;
  margin-bottom: 25px;
}

.mt-form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.mt-form-group label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-dark);
  margin-bottom: 10px;
  font-weight: 600;
}

.mt-form-group input,
.mt-form-group select {
  padding: 15px 20px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  color: var(--black);
  background: rgba(253, 251, 247, 0.5);
  transition: all 0.3s ease;
}

.mt-form-group select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b0914f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 16px;
  padding-right: 40px;
  cursor: pointer;
}

.mt-form-group input:focus,
.mt-form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
  background: var(--white);
}

.mt-form-submit {
  margin-top: 40px;
  text-align: center;
}

.mt-form-submit .premium-btn {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 18px 45px;
  font-size: 1rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.mt-form-submit .premium-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(212, 175, 55, 0.4);
}

@media (max-width: 768px) {
  .mt-form-row {
    flex-direction: column;
    gap: 20px;
  }

  .mt-booking-container {
    padding: 30px 20px;
  }
}

/* Compact layout adjustments */
.memorial-mission-custom {
  max-width: 1000px;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Premium List Styling for Units */
.premium-unit-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.premium-unit-list li {
  display: flex;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  /* Faint gold border */
  font-size: 1.10rem;
  color: var(--black);
  transition: transform 0.3s ease, color 0.3s ease;
}

.premium-unit-list li:hover {
  transform: translateX(10px);
  color: var(--primary-dark);
}

/* Diamond shaped bullet */
.premium-unit-list li::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: var(--primary);
  transform: rotate(45deg);
  margin-right: 20px;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.premium-unit-list .title-role {
  font-weight: 600;
  color: var(--primary-dark);
  margin-right: 15px;
  min-width: 130px;
  display: inline-block;
  letter-spacing: 0.5px;
}

.premium-unit-list .name-person {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 500;
}

/* Premium Read More Button */
.premium-readmore-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 12px 30px;
  margin-top: 25px;
  color: var(--primary-dark);
  border: 1px solid var(--primary);
  background: transparent;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.85rem;
  text-decoration: none;
  overflow: hidden;
  transition: color 0.4s ease;
  border-radius: 4px;
  z-index: 1;
}

.premium-readmore-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.premium-readmore-btn:hover {
  color: var(--white);
  border-color: var(--primary);
}

.premium-readmore-btn:hover::before {
  transform: scaleX(1);
}

.premium-readmore-btn .arrow {
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.premium-readmore-btn:hover .arrow {
  transform: translateX(6px);
}

.transparent-mission-img {
  background: transparent;
}

.transparent-mission-img img {
  object-fit: cover !important;
  aspect-ratio: 4/5 !important;
}

.priest-img-shadow {
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15));
}

.mt-watermark-2 {
  opacity: 0.3;
}

/* Responsive overrides */
@media (min-width: 992px) {
  .memorial-mission-custom {
    gap: 20px;
  }

  .memorial-mission-reverse {
    flex-direction: row-reverse;
  }

  .mission-left-padded {
    padding-left: 3%;
    padding-right: 0;
  }
}

@media (max-width: 991px) {
  .memorial-mission-custom {
    gap: 40px !important;
  }

  .premium-unit-list li {
    font-size: 1rem;
  }

  .premium-unit-list .title-role {
    min-width: 110px;
    font-size: 0.9rem;
  }

  .premium-unit-list .name-person {
    font-size: 1.2rem;
  }
}

@media (max-width: 576px) {
  .premium-unit-list .title-role {
    min-width: auto;
    display: block;
    margin-bottom: 4px;
  }

  .premium-unit-list li {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 0;
  }

  .premium-unit-list li::before {
    display: none;
    /* Hide diamond if stacking, or keep it differently */
  }
}

.slide-sketch img {
  width: 100%;
}

/* Contact Page Action Buttons */
.ct-action-buttons {
  display: flex;
  gap: 25px;
  justify-content: center;
  align-items: center;
  margin: 40px 20px 80px;
  flex-wrap: wrap;
}

.ct-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 35px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.ct-action-btn.btn-mass {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 30px rgba(220, 143, 0, 0.3);
  border: 1px solid transparent;
}

.ct-action-btn.btn-mass::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #B87600;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}

.ct-action-btn.btn-mass:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.ct-action-btn.btn-mass:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(220, 143, 0, 0.4);
}

.ct-action-btn.btn-charity {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.ct-action-btn.btn-charity:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(220, 143, 0, 0.2);
}

/* ==========================================================================
   Way of the Cross - Journey Circle Layout (Premium Design)
   ========================================================================== */
.mt-page-wrapper-v2 {
  position: relative;
  overflow: hidden;
  background-color: #FDFBF7;
}

/* ==========================================================================
   Floating Station Watermark Background (Scoped to Journey Section)
   ========================================================================== */
.floating-stations-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.float-img {
  position: absolute;
  opacity: 0.08;
  mix-blend-mode: multiply;
  filter: sepia(0.6) blur(0.5px);
  animation: floatDrift 18s ease-in-out infinite alternate;
  user-select: none;
}

@keyframes floatDrift {
  0% {
    transform: translateY(0) scale(1);
  }

  100% {
    transform: translateY(-24px) scale(1.04);
  }
}

.float-s1 {
  top: 4%;
  left: 3%;
  width: 240px;
  animation-delay: 0s;
}

.float-s2 {
  top: 6%;
  right: 4%;
  width: 260px;
  animation-delay: -2s;
}

.float-s3 {
  top: 22%;
  left: 6%;
  width: 220px;
  animation-delay: -5s;
}

.float-s4 {
  top: 25%;
  right: 5%;
  width: 240px;
  animation-delay: -1s;
}

.float-s5 {
  top: 42%;
  left: 2%;
  width: 250px;
  animation-delay: -8s;
}

.float-s6 {
  top: 45%;
  right: 3%;
  width: 240px;
  animation-delay: -4s;
}

.float-s7 {
  top: 62%;
  left: 5%;
  width: 250px;
  animation-delay: -6s;
}

.float-s8 {
  top: 65%;
  right: 4%;
  width: 260px;
  animation-delay: -3s;
}

.float-s9 {
  bottom: 8%;
  left: 8%;
  width: 230px;
  animation-delay: -7s;
}

.float-s10 {
  bottom: 6%;
  right: 9%;
  width: 220px;
  animation-delay: -9s;
}

.float-s11 {
  top: 2%;
  left: 32%;
  width: 190px;
  animation-delay: -11s;
}

.float-s12 {
  top: 1%;
  right: 32%;
  width: 200px;
  animation-delay: -2s;
}

.float-s13 {
  bottom: 2%;
  left: 35%;
  width: 220px;
  animation-delay: -10s;
}

.float-s14 {
  bottom: 3%;
  right: 34%;
  width: 210px;
  animation-delay: -12s;
}

@media (max-width: 900px) {
  .float-img {
    opacity: 0.04;
    width: 140px !important;
  }
}

/* ==========================================================================
   Way of the Cross - Modern Sacred Circular Stations Pilgrimage Section
   ========================================================================== */
.way-cross-journey-section {
  padding: 40px 20px 100px;
  position: relative;
  overflow: hidden;
  z-index: 2;
  background-color: #FDFBF7;
  text-align: center;
}

.journey-header {
  max-width: 820px;
  margin: 0 auto 50px;
  position: relative;
  z-index: 5;
}

/* Sacred Pill Badge (High-Contrast & Gold Rim) */
.wotc-badge-pill-light {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  padding: 8px 24px;
  border-radius: 999px;
  background: #FFFFFF !important;
  border: 1.5px solid #D4AF37 !important;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #8B5A2B !important;
  box-shadow: 0 4px 15px rgba(139, 90, 43, 0.12), inset 0 1px 0 #FFFFFF;
  margin-bottom: 16px;
  line-height: 1.2;
}

.wotc-badge-pill-light span {
  color: #8B5A2B !important;
  font-weight: 800;
}

.wotc-badge-pill-light .badge-cross {
  color: #B8860B !important;
  font-size: 13px;
  text-shadow: 0 0 6px rgba(212, 175, 55, 0.6);
}

.journey-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 700;
  color: #2E1E14;
  margin: 0 0 10px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

/* Sacred Title Ornament Divider */
.wotc-title-ornament {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 14px auto 18px;
}

.wotc-title-ornament .ornament-line {
  display: inline-block !important;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #D4AF37, transparent);
  border-radius: 2px;
}

.wotc-title-ornament .ornament-star {
  color: #B8860B !important;
  font-size: 16px;
  line-height: 1;
  text-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

.journey-subtitle {
  font-family: var(--font-sans);
  color: #8B5A2B;
  text-transform: uppercase;
  letter-spacing: 3.5px;
  font-size: 13.5px;
  font-weight: 700;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Circular Orbit Wrapper & Geometry
   -------------------------------------------------------------------------- */
.stations-circle-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0 80px;
  position: relative;
  z-index: 5;
}

.stations-circle {
  position: relative;
  width: 920px;
  height: 920px;
  border-radius: 50%;
  z-index: 2;
}

/* Elegant Golden Orbit Rings */
.circle-orbit-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.circle-orbit-ring.orbit-outer {
  inset: 0;
  border: 2px dashed rgba(212, 175, 55, 0.48);
}

.circle-orbit-ring.orbit-middle {
  inset: 50px;
  border: 1px solid rgba(212, 175, 55, 0.22);
}

.circle-orbit-ring.orbit-inner {
  inset: 140px;
  border: 1.5px dashed rgba(139, 90, 43, 0.16);
}

/* --------------------------------------------------------------------------
   Modern Circular Station Nodes (I to XIV)
   -------------------------------------------------------------------------- */
.station-node {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(145deg, #FFFFFF 0%, #FAF5EB 60%, #F5ECE0 100%);
  border: 2.5px solid #D4AF37;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 8px 24px rgba(139, 90, 43, 0.16), inset 0 0 12px rgba(212, 175, 55, 0.14);
  cursor: pointer;
  z-index: 10;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.35s ease, border-color 0.3s ease, background 0.35s ease;
  user-select: none;
  outline: none;

  /* Circular Orbit Trigonometric Placement */
  --angle: calc(var(--i) * 25.714285deg - 90deg);
  --radius: 460px;
  transform: translate(-50%, -50%) rotate(var(--angle)) translate(var(--radius)) rotate(calc(var(--angle) * -1));
}

.station-node:focus-visible {
  outline: 3px solid #B8860B;
  outline-offset: 4px;
}

.station-node .node-halo {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.3s ease;
  pointer-events: none;
}

.station-node .node-inner-disc {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.station-node .node-label {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 10px;
  color: #8B5A2B;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 2px;
  transition: color 0.3s ease;
}

.station-node .node-roman {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 26px;
  color: #2E1E14;
  line-height: 1;
  transition: color 0.3s ease;
}

/* Hover & Focus Interactions */
.station-node:hover {
  background: linear-gradient(145deg, #2E1E14 0%, #4A3324 100%);
  border-color: #D4AF37;
  box-shadow: 0 18px 40px rgba(46, 30, 20, 0.35), 0 0 25px rgba(212, 175, 55, 0.4);
  transform: translate(-50%, -50%) rotate(var(--angle)) translate(var(--radius)) rotate(calc(var(--angle) * -1)) scale(1.18);
  z-index: 50;
}

.station-node:hover .node-roman {
  color: #FFFFFF;
}

.station-node:hover .node-label {
  color: #D4AF37;
}

.station-node:hover .node-halo {
  opacity: 1;
  transform: scale(1.12);
  border-color: rgba(212, 175, 55, 0.8);
}

/* --------------------------------------------------------------------------
   Modern Interactive Tooltip with Sacred Thumbnail
   -------------------------------------------------------------------------- */
.station-node .node-preview-card {
  position: absolute;
  bottom: calc(100% + 15px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 250px;
  background: #FFFFFF;
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 16px 40px rgba(46, 30, 20, 0.24), 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1.5px solid rgba(212, 175, 55, 0.45);
  display: flex;
  gap: 12px;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.28s ease;
  z-index: 100;
}

.station-node .node-preview-card::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 7px;
  border-style: solid;
  border-color: #FFFFFF transparent transparent transparent;
}

.station-node:hover .node-preview-card,
.station-node:focus-visible .node-preview-card {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* Directional Adjustment: For bottom stations (V to IX), point tooltips downward to avoid overlapping center prayer */
.station-node[data-station="5"] .node-preview-card,
.station-node[data-station="6"] .node-preview-card,
.station-node[data-station="7"] .node-preview-card,
.station-node[data-station="8"] .node-preview-card,
.station-node[data-station="9"] .node-preview-card {
  bottom: auto;
  top: calc(100% + 15px);
  transform: translateX(-50%) translateY(-8px);
}

.station-node[data-station="5"]:hover .node-preview-card,
.station-node[data-station="6"]:hover .node-preview-card,
.station-node[data-station="7"]:hover .node-preview-card,
.station-node[data-station="8"]:hover .node-preview-card,
.station-node[data-station="9"]:hover .node-preview-card {
  transform: translateX(-50%) translateY(0);
}

.station-node[data-station="5"] .node-preview-card::after,
.station-node[data-station="6"] .node-preview-card::after,
.station-node[data-station="7"] .node-preview-card::after,
.station-node[data-station="8"] .node-preview-card::after,
.station-node[data-station="9"] .node-preview-card::after {
  top: auto;
  bottom: 100%;
  border-color: transparent transparent #FFFFFF transparent;
}

.node-preview-thumb {
  width: 58px;
  height: 58px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(212, 175, 55, 0.3);
  background: #EFE8DA;
}

.node-preview-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.node-preview-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.node-preview-text .preview-badge {
  font-family: var(--font-sans);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: #8B5A2B;
}

.node-preview-text .preview-title {
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 700;
  color: #2E1E14;
  line-height: 1.25;
  margin: 2px 0 4px;
}

.node-preview-text .preview-cta {
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 700;
  color: #B8860B;
}

/* --------------------------------------------------------------------------
   Center Devotional Sanctuary Content
   -------------------------------------------------------------------------- */
.stations-center-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 620px;
  text-align: center;
  padding: 48px 58px;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.98) 0%, rgba(253, 251, 247, 0.94) 65%, rgba(253, 251, 247, 0) 100%);
  border-radius: 50%;
  box-shadow: 0 0 75px 50px rgba(253, 251, 247, 0.95);
  z-index: 5;
}

.center-cross-emblem {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.14);
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  color: #8B5A2B;
  font-size: 20px;
  margin-bottom: 18px;
  box-shadow: 0 2px 8px rgba(139, 90, 43, 0.08);
}

.center-intro {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.75;
  color: #4A3A2C;
  margin: 0 0 18px;
}

.center-ornament-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 15px auto;
  max-width: 180px;
}

.center-ornament-divider .center-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.5), transparent);
}

.center-ornament-divider .center-star {
  color: #D4AF37;
  font-size: 13px;
}

.center-red-title {
  color: #2E1E14;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 23px;
  margin: 0 0 12px;
  letter-spacing: -0.3px;
}

.center-desc {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.7;
  color: #5C4A3A;
  margin: 0 0 20px;
}

.center-prayer {
  font-style: italic;
  font-family: var(--font-serif);
  font-size: 18px;
  color: #8B5A2B;
  line-height: 1.55;
  margin: 0 0 26px;
  font-weight: 600;
}

/* Modernized Golden CTA Button */
.begin-journey-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
  padding: 16px 42px;
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 13.5px;
  color: #FFFFFF;
  background: linear-gradient(135deg, #B8860B 0%, #D4AF37 50%, #8B5A2B 100%);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(184, 134, 11, 0.32);
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.begin-journey-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(184, 134, 11, 0.45);
  background: linear-gradient(135deg, #9C7207 0%, #C49F31 50%, #73481F 100%);
}

/* --------------------------------------------------------------------------
   Responsive Adaptations
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .stations-circle {
    width: 86vw;
    height: 86vw;
    max-width: 800px;
    max-height: 800px;
  }

  .station-node {
    --radius: calc(43vw - 20px);
    width: 78px;
    height: 78px;
  }

  .station-node .node-roman {
    font-size: 21px;
  }

  .station-node .node-label {
    font-size: 9px;
  }

  .stations-center-content {
    width: 70vw;
    max-width: 500px;
    padding: 30px;
  }

  .center-intro,
  .center-desc {
    font-size: 13.5px;
  }

  .center-red-title {
    font-size: 20px;
  }

  .center-prayer {
    font-size: 16px;
  }
}

@media (max-width: 860px) {
  .way-cross-journey-section {
    padding: 40px 15px 70px;
  }

  .stations-circle-wrapper {
    padding: 0;
  }

  .stations-circle {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 0;
  }

  .circle-orbit-ring {
    display: none;
  }

  .stations-center-content {
    position: static;
    transform: none;
    width: 100%;
    max-width: 640px;
    border-radius: 24px;
    padding: 36px 24px;
    box-shadow: 0 10px 30px rgba(139, 90, 43, 0.08);
    background: #FAF5EB;
    border: 1.5px solid rgba(212, 175, 55, 0.4);
    margin-bottom: 35px;
    order: -1;
  }

  .station-node {
    position: relative;
    top: auto;
    left: auto;
    transform: none !important;
    width: 100%;
    max-width: 640px;
    height: auto;
    min-height: 84px;
    border-radius: 18px;
    margin-bottom: 14px;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 12px 18px;
    gap: 16px;
    border: 1.5px solid rgba(212, 175, 55, 0.35);
    background: #FFFFFF !important;
    box-shadow: 0 4px 18px rgba(139, 90, 43, 0.07);
    display: none !important;
    cursor: pointer;
  }

  .station-node:hover {
    transform: translateY(-2px) !important;
    background: #FFFFFF !important;
    box-shadow: 0 8px 24px rgba(139, 90, 43, 0.15);
  }

  .station-node .node-halo {
    display: none;
  }

  .station-node .node-inner-disc {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(145deg, #2E1E14 0%, #4A3324 100%);
    border: 2px solid #D4AF37;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(46, 30, 20, 0.2);
  }

  .station-node .node-label {
    font-size: 8px;
    color: #D4AF37 !important;
    margin-bottom: 1px;
    line-height: 1;
  }

  .station-node .node-roman {
    font-size: 20px;
    color: #FFFFFF !important;
    line-height: 1;
  }

  .station-node .node-preview-card {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    width: auto !important;
    flex: 1;
    display: flex !important;
    align-items: center;
    gap: 14px;
    background: transparent !important;
  }

  .station-node .node-preview-card::after {
    display: none !important;
  }

  .node-preview-thumb {
    width: 58px;
    height: 58px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid rgba(212, 175, 55, 0.35);
    background: #EFE8DA;
  }

  .node-preview-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .node-preview-text {
    flex: 1;
    text-align: left;
  }

  .node-preview-text .preview-badge {
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 800;
    color: #8B5A2B !important;
    letter-spacing: 1px;
  }

  .node-preview-text .preview-title {
    font-family: var(--font-serif);
    font-size: 15px;
    font-weight: 700;
    color: #2E1E14 !important;
    line-height: 1.3;
    margin: 2px 0 3px;
  }

  .node-preview-text .preview-cta {
    font-family: var(--font-sans);
    font-size: 11.5px;
    font-weight: 700;
    color: #B8860B !important;
  }

  .btn-direct-upi {
    display: flex;
  }
}

/* ==========================================================================
   Visit in Person Section (Modern Sacred Sanctuary Card)
   ========================================================================== */
.wotc-visit-section {
  padding: 60px 20px 140px;
  position: relative;
  z-index: 5;
  background-color: #FDFBF7;
}

.wotc-visit-inner {
  background: linear-gradient(145deg, #FFFFFF 0%, #FCF9F3 55%, #F7EFE2 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.42);
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(139, 90, 43, 0.08), 0 2px 10px rgba(0, 0, 0, 0.02);
  padding: 60px 65px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  outline: none;
}

.wotc-visit-inner::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.visit-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 55px;
  position: relative;
  z-index: 2;
}

.visit-text {
  flex: 1.15;
  max-width: 600px;
}

.visit-title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.6vw, 44px);
  color: #2E1E14;
  margin: 0 0 8px;
  line-height: 1.2;
  letter-spacing: -0.3px;
  font-weight: 700;
}

.visit-desc {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  color: #5C4A3A;
  margin: 0 0 32px;
}

/* Luxury Gold Pill Action Button */
.visit-btn-modern {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 14px 34px 14px 18px;
  background: linear-gradient(135deg, #B8860B 0%, #D4AF37 50%, #8B5A2B 100%);
  color: #FFFFFF !important;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(184, 134, 11, 0.3);
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.visit-btn-modern:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(184, 134, 11, 0.45);
  background: linear-gradient(135deg, #9C7207 0%, #C49F31 50%, #73481F 100%);
  color: #FFFFFF !important;
}

.visit-btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.visit-btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.visit-btn-main {
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  line-height: 1.2;
}

.visit-btn-sub {
  font-family: var(--font-sans);
  font-size: 11.5px;
  letter-spacing: 0.8px;
  opacity: 0.92;
  font-weight: 500;
  margin-top: 3px;
}

.visit-image-wrapper {
  flex: 0.85;
  display: flex;
  justify-content: center;
  align-items: center;
}

.visit-image-frame {
  max-width: 420px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.visit-image-frame img {
  max-width: 100%;
  height: auto;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 15px 30px rgba(139, 90, 43, 0.12));
}

@media (max-width: 900px) {
  .wotc-visit-section {
    padding: 0px 15px 130px;
  }

  .wotc-visit-inner {
    padding: 38px 24px;
    border-radius: 22px;
  }

  .visit-content {
    flex-direction: column;
    text-align: center;
    gap: 35px;
  }

  .visit-text {
    max-width: 100%;
  }

  .visit-text .wotc-title-ornament {
    justify-content: center !important;
  }

  .visit-btn-modern {
    padding: 12px 28px 12px 14px;
    width: 100%;
    justify-content: center;
  }

  .visit-image-frame {
    max-width: 300px;
  }
}


/* ==========================================================================
   Way of the Cross - Modern Light Sacred Hero Banner
   ========================================================================== */
.wotc-modern-hero {
  position: relative;
  background: linear-gradient(180deg, #FBF8F2 0%, #F5EFE4 40%, #EFE8DA 80%, #FDFBF7 100%);
  padding: 180px 20px 120px;
  color: #2E1E14;
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Atmospheric Background Layers (Light Ethereal) */
.wotc-hero-bg-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.wotc-hero-radial-glow {
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  max-width: 100vw;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(248, 241, 227, 0.6) 40%, rgba(212, 175, 55, 0.12) 65%, transparent 100%);
  filter: blur(40px);
  border-radius: 50%;
}

.wotc-hero-arch-silhouette {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 950px;
  max-width: 95%;
  height: 480px;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: contain;
  opacity: 0.12;
  mix-blend-mode: multiply;
  filter: sepia(0.6) drop-shadow(0 0 15px rgba(212, 175, 55, 0.3));
}

.wotc-hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(139, 90, 43, 0.04) 100%);
}

/* Floating Subtle Golden Dust Particles */
.wotc-hero-dust-particles {
  position: absolute;
  inset: 0;
}

.wotc-sparkle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #D4AF37;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.7);
  animation: floatSparkle 6s ease-in-out infinite alternate;
}

.wotc-sparkle.s1 {
  top: 25%;
  left: 15%;
  animation-duration: 5s;
  animation-delay: 0s;
}

.wotc-sparkle.s2 {
  top: 35%;
  right: 18%;
  animation-duration: 7s;
  animation-delay: -2s;
  width: 5px;
  height: 5px;
}

.wotc-sparkle.s3 {
  top: 60%;
  left: 22%;
  animation-duration: 6.5s;
  animation-delay: -3.5s;
}

.wotc-sparkle.s4 {
  top: 70%;
  right: 25%;
  animation-duration: 8s;
  animation-delay: -1s;
  width: 6px;
  height: 6px;
}

.wotc-sparkle.s5 {
  top: 20%;
  right: 35%;
  animation-duration: 5.5s;
  animation-delay: -4s;
}

@keyframes floatSparkle {
  0% {
    transform: translateY(0) scale(0.8);
    opacity: 0.3;
  }

  50% {
    opacity: 0.9;
  }

  100% {
    transform: translateY(-30px) scale(1.2);
    opacity: 0.4;
  }
}

/* Hero Main Container */
.wotc-hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Sacred Eyebrow Badge (Light Frosted Glass Pill) */
.wotc-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(212, 175, 55, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: #8B5A2B;
  box-shadow: 0 4px 18px rgba(139, 90, 43, 0.08), inset 0 1px 0 #FFFFFF;
  margin-bottom: 24px;
  transition: all 0.35s ease;
}

.wotc-hero-badge:hover {
  background: #FFFFFF;
  border-color: #D4AF37;
  color: #70451E;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(212, 175, 55, 0.22);
}

.badge-icon-cross {
  font-size: 13px;
  color: #D4AF37;
  text-shadow: 0 0 6px rgba(212, 175, 55, 0.6);
}

/* Crown of Thorns Emblem */
.wotc-crown-emblem {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wotc-crown-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: crownRotate 40s linear infinite;
  filter: drop-shadow(0 4px 16px rgba(139, 90, 43, 0.25));
}

.wotc-inner-cross {
  position: absolute;
  font-family: var(--font-serif);
  font-size: 24px;
  line-height: 1;
  color: #8B5A2B;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
  pointer-events: none;
}

.wotc-crown-glow {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.22) 0%, transparent 70%);
  animation: pulseCrownGlow 4s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes crownRotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes pulseCrownGlow {
  0% {
    transform: scale(0.9);
    opacity: 0.5;
  }

  100% {
    transform: scale(1.15);
    opacity: 1;
  }
}

/* Main Heading Typography (Crisp Light Theme) */
.wotc-hero-heading {
  margin: 0 0 14px;
  text-align: center;
}

.wotc-heading-prefix {
  display: block;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 7px;
  text-transform: uppercase;
  color: #8B5A2B;
  margin-bottom: 8px;
  opacity: 0.95;
}

.wotc-heading-main {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(40px, 6.5vw, 76px);
  font-weight: 700;
  letter-spacing: 2.5px;
  line-height: 1.1;
  color: #2E1E14;
  text-shadow: 0 2px 15px rgba(139, 90, 43, 0.12);
}

.wotc-gold-gradient {
  background: linear-gradient(135deg, #B8860B 0%, #D4AF37 40%, #8B5A2B 75%, #5C3818 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.35));
}

/* Cathedral Meta Location */
.wotc-hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: #6E5341;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.wotc-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.wotc-meta-item svg {
  color: #8B5A2B;
}

.wotc-meta-dot {
  color: #D4AF37;
  opacity: 0.85;
}

/* Elegant Filigree Ornament Line */
.wotc-hero-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  max-width: 320px;
  margin: 0 auto 22px;
}

.wotc-hero-ornament .ornament-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 90, 43, 0.35), transparent);
}

.wotc-hero-ornament .ornament-cross {
  color: #8B5A2B;
  font-size: 14px;
  text-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

/* Engaging Spiritual Narrative */
.wotc-hero-desc {
  font-family: var(--font-sans);
  font-size: clamp(15px, 1.8vw, 17.5px);
  font-weight: 400;
  line-height: 1.85;
  color: #4A3A2F;
  max-width: 720px;
  margin: 0 auto 38px;
}

/* Modern Action Buttons (CTA Group) */
.wotc-hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 45px;
}

.wotc-cta-btn {
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.wotc-cta-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #E6C265 0%, #D4AF37 50%, #B8860B 100%);
  color: #1a1209;
  font-weight: 700;
  padding: 16px 36px;
  border: none;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.wotc-cta-primary .cta-shimmer {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shimmerCTA 3.5s infinite;
}

@keyframes shimmerCTA {
  0% {
    left: -100%;
  }

  35%,
  100% {
    left: 150%;
  }
}

.wotc-cta-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  color: #0d0904;
}

.wotc-cta-secondary {
  background: rgba(255, 255, 255, 0.9);
  border: 1.5px solid rgba(139, 90, 43, 0.35);
  color: #382416;
  padding: 15px 32px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(139, 90, 43, 0.08);
}

.wotc-cta-secondary:hover {
  background: #FFFFFF;
  border-color: #8B5A2B;
  color: #8B5A2B;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(139, 90, 43, 0.18);
}

/* Feature Badges Row (3 Light Pills) */
.wotc-hero-features {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 12px 28px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(139, 90, 43, 0.08), inset 0 1px 0 #FFFFFF;
  flex-wrap: wrap;
}

.wotc-feat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  color: #382416;
  letter-spacing: 0.5px;
}

.wotc-feat-pill .feat-num {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: #8B5A2B;
  line-height: 1;
}

.wotc-feat-pill .feat-icon {
  font-size: 15px;
  line-height: 1;
}

.wotc-hero-features .feat-sep {
  width: 1px;
  height: 18px;
  background: rgba(139, 90, 43, 0.2);
}

/* Bottom Transition Curve */
.wotc-hero-bottom-curve {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 50px;
  pointer-events: none;
  z-index: 3;
}

.wotc-hero-bottom-curve svg {
  width: 100%;
  height: 100%;
  display: block;
}

select {
  width: 100%;
  border: 1px solid #eaeaea;
  padding: 1.2rem;
  border-radius: 10px;
  font-size: 1.05rem;
  background: #fcfcfc;
  transition: all 0.3s ease;
  color: #333;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .wotc-modern-hero {
    padding: 150px 18px 90px;
  }

  .wotc-crown-emblem {
    width: 70px;
    height: 70px;
    margin-bottom: 16px;
  }

  .wotc-hero-badge {
    padding: 6px 18px;
    font-size: 11px;
    letter-spacing: 2.5px;
    margin-bottom: 18px;
  }

  .wotc-heading-main {
    font-size: clamp(34px, 7vw, 56px);
  }

  .wotc-hero-desc {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .wotc-hero-cta-group {
    gap: 14px;
    margin-bottom: 35px;
  }

  .wotc-cta-primary,
  .wotc-cta-secondary {
    padding: 14px 28px;
    font-size: 12.5px;
  }

  .wotc-hero-features {
    padding: 10px 20px;
    gap: 16px;
  }

  .wotc-feat-pill {
    font-size: 12px;
  }
}

@media (max-width: 600px) {
  .wotc-modern-hero {
    padding: 130px 15px 80px;
  }

  .wotc-hero-cta-group {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
  }

  .wotc-cta-btn {
    width: 100%;
    justify-content: center;
  }

  .wotc-hero-features {
    border-radius: 18px;
    flex-direction: column;
    gap: 10px;
    padding: 14px 20px;
    width: 100%;
    max-width: 300px;
  }

  .wotc-hero-features .feat-sep {
    display: none;
  }

  input,
  textarea,
  select {
    padding: 0.7rem 1rem !important;
    font-size: 14px !important;
  }

  .charity-input-group .charity-currency {
    left: 0.4rem;
    top: 2.5rem;
    color: #959595;
  }

  .charity-custom-form {
    gap: 15px;
  }

  .mt-form-group label {
    font-size: 13px;
    letter-spacing: 1px;
  }

  .don-input-icon {
    left: 14px;
    top: 14px;
    width: 16px;
    height: 16px;
  }

  .don-form-control {
    padding: 0.7rem 2rem !important;
  }

  .don-amount-wrapper .don-currency-symbol {
    left: 18px;
  }

  .btn-cathedral-submit {
    font-size: 12px;
  }

}


/* ==========================================================================
   PARISH ASSOCIATIONS PAGE (Refined Luxury 2-Column Cards - No Left Border)
   ========================================================================== */

.assoc-clean-wrapper {
  position: relative;
  overflow: hidden;
  padding-bottom: 110px;
}

.assoc-clean-hero {
  padding-bottom: 40px;
}

.assoc-clean-section {
  position: relative;
  z-index: 2;
  padding: 10px 24px 40px;
}

.assoc-clean-container {
  max-width: 1120px;
  margin: 0 auto;
}

.assoc-clean-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 28px;
}

.assoc-clean-item {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 26px;
  background: linear-gradient(135deg, #ffffff 0%, #fdfaf3 100%);
  border: 1px solid rgba(197, 160, 89, 0.22);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(46, 30, 20, 0.045), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.assoc-clean-item::after {
  content: '';
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(197, 160, 89, 0.65), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.assoc-clean-item:hover {
  transform: translateY(-4px);
  background: linear-gradient(135deg, #ffffff 0%, #faf3e3 100%);
  border-color: rgba(197, 160, 89, 0.52);
  box-shadow: 0 18px 38px rgba(139, 90, 43, 0.11);
}

.assoc-clean-item:hover::after {
  opacity: 1;
}

.assoc-clean-num-wrap {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.assoc-clean-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fbf5e8 0%, #eeddc0 100%);
  border: 1px solid rgba(197, 160, 89, 0.48);
  box-shadow: inset 0 0 0 3px #ffffff, 0 5px 14px rgba(197, 160, 89, 0.18);
  font-family: 'Cormorant Garamond', var(--font-serif, serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-dark, #2e1e14);
  letter-spacing: 0.5px;
  transition: all 0.35s ease;
}

.assoc-clean-item:hover .assoc-clean-num {
  background: linear-gradient(135deg, #c5a059 0%, #8b5a2b 100%);
  border-color: #8b5a2b;
  color: #ffffff;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35), 0 8px 18px rgba(139, 90, 43, 0.3);
  transform: scale(1.06);
}

.assoc-clean-body {
  position: relative;
  z-index: 2;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.assoc-clean-name {
  margin: 0;
  font-family: 'Cormorant Garamond', var(--font-serif, serif);
  font-size: 1.44rem;
  font-weight: 700;
  color: var(--primary-dark, #2e1e14);
  line-height: 1.25;
  letter-spacing: 0.2px;
  transition: color 0.3s ease;
}

.assoc-clean-item:hover .assoc-clean-name {
  color: #7a5019;
}

.assoc-clean-accent-line {
  display: block;
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary, #c5a059), rgba(197, 160, 89, 0.2));
  transition: width 0.35s ease;
}

.assoc-clean-item:hover .assoc-clean-accent-line {
  width: 64px;
}

.assoc-clean-watermark {
  position: absolute;
  right: 68px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Cormorant Garamond', var(--font-serif, serif);
  font-size: 3.6rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(197, 160, 89, 0.07);
  pointer-events: none;
  user-select: none;
  z-index: 1;
  transition: color 0.35s ease, transform 0.35s ease;
}

.assoc-clean-item:hover .assoc-clean-watermark {
  color: rgba(197, 160, 89, 0.14);
  transform: translateY(-50%) scale(1.06);
}

.assoc-clean-icon {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(197, 160, 89, 0.1);
  border: 1px solid rgba(197, 160, 89, 0.25);
  color: #a67c37;
  flex-shrink: 0;
  transition: all 0.4s ease;
}

.assoc-clean-item:hover .assoc-clean-icon {
  background: rgba(197, 160, 89, 0.22);
  border-color: rgba(197, 160, 89, 0.55);
  color: #7a5019;
  transform: translateY(-2px) scale(1.1);
}

@media (max-width: 991px) {
  .assoc-clean-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 576px) {
  .assoc-clean-section {
    padding: 10px 16px 30px;
  }

  .assoc-clean-item {
    padding: 18px 18px;
    gap: 14px;
    border-radius: 14px;
  }

  .assoc-clean-num {
    width: 40px;
    height: 40px;
    font-size: 1.05rem;
  }

  .assoc-clean-name {
    font-size: 1.24rem;
  }

  .assoc-clean-watermark {
    font-size: 2.6rem;
    right: 54px;
  }

  .assoc-clean-icon {
    width: 32px;
    height: 32px;
  }
}