/* ==========================================================================
   DIOCESE OF JAMMU-SRINAGAR — OFFICIAL HOMEPAGE DESIGN SYSTEM
   Pixel-Accurate Visual Recreation from Master Design Blueprint
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,600;1,700&family=Great+Vibes&family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* Exact Reference Color Palette */
  --forest-green: #514d6c;
  --deep-teal: #433f5d;
  --dark-green: #37334d;
  --cream: #f8f5ec;
  --warm-white: #fffdf8;
  --gold: #d5aa4a;
  --light-gold: #efcf78;
  --gold-hover: #c49938;
  --text-dark: #2a263f;
  --muted-text: #686480;
  --border-light: #e5e0d2;
  --card-bg: #ffffff;

  /* Additional Accents */
  --mint-light: #ecebf4;
  --mint-icon: #7b76a2;
  --gold-pill: #d6ab4e;
  --white: #ffffff;

  /* Typography - Modern High-Legibility Sans-Serif System */
  --font-serif: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Public Sans', sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Public Sans', sans-serif;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Public Sans', sans-serif;
  --font-motto: 'Cormorant Garamond', Georgia, serif;
  --font-script: 'Great Vibes', cursive;

  /* Shadows & Radius */
  --shadow-soft: 0 12px 35px rgba(81, 77, 108, 0.08);
  --shadow-card: 0 8px 24px rgba(81, 77, 108, 0.06);
  --shadow-hover: 0 16px 40px rgba(81, 77, 108, 0.14);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--cream);
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 0.95rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
}

.container {
  width: 100%;
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Spacing Utility Classes */
.me-1 {
  margin-right: 0.35rem !important;
}

.me-2 {
  margin-right: 0.55rem !important;
}

.me-3 {
  margin-right: 0.85rem !important;
}

.ms-1 {
  margin-left: 0.35rem !important;
}

.ms-2 {
  margin-left: 0.55rem !important;
}

.ms-3 {
  margin-left: 0.85rem !important;
}

/* ==========================================================================
   Typography Standards
   ========================================================================== */
h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  color: var(--forest-green);
  line-height: 1.2;
  font-weight: 700;
}

.eyebrow-tag {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 0.6rem;
  display: inline-block;
}

.eyebrow-tag.light {
  color: var(--light-gold);
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.55rem 1.35rem;
  border-radius: var(--radius-pill);
  transition: var(--transition);
}

.btn-gold {
  background: var(--gold);
  color: var(--forest-green);
  font-weight: 700;
}

.btn-gold:hover {
  background: var(--light-gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(213, 170, 74, 0.35);
}

.btn-dark {
  background: var(--forest-green);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--deep-teal);
  transform: translateY(-2px);
  color: var(--light-gold);
}

.btn-trans-green {
  background: rgba(81, 77, 108, 0.45);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px);
}

.btn-trans-green:hover {
  background: rgba(81, 77, 108, 0.75);
  border-color: var(--light-gold);
}

.circle-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--forest-green);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: var(--transition);
}

.circle-nav-btn:hover {
  background: var(--gold);
  color: var(--forest-green);
  transform: scale(1.08);
}

/* ==========================================================================
   Top Header Bar (Atop Header)
   ========================================================================== */
.top-header-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 101;
  background: #37334d;
  border-bottom: 1px solid rgba(213, 170, 74, 0.3);
  height: 40px;
  display: flex;
  align-items: center;
}

.top-header-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.9);
}

.top-header-left,
.top-header-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-info-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
}

.top-icon {
  width: 14px;
  height: 14px;
  color: var(--light-gold);
  flex-shrink: 0;
}

.top-info-divider {
  color: var(--gold);
  opacity: 0.5;
}

.top-info-link {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.top-info-link:hover {
  color: var(--light-gold, #efcf78) !important;
  text-decoration: none !important;
}

.top-social-links {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: 0.5rem;
}

.top-social-links a,
.ft-social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  text-decoration: none;
  transition: transform 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease;
  flex-shrink: 0;
}

.top-social-links a.social-fb,
.ft-social-links a.social-fb {
  background-color: #1877f2 !important;
  color: #ffffff !important;
}

.top-social-links a.social-insta,
.ft-social-links a.social-insta {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
  color: #ffffff !important;
}

.top-social-links a.social-yt,
.ft-social-links a.social-yt {
  background-color: #ff0000 !important;
  color: #ffffff !important;
}

.top-social-links a.social-phone,
.ft-social-links a.social-phone {
  background-color: #25d366 !important;
  color: #ffffff !important;
}

.top-social-links a:hover,
.ft-social-links a:hover {
  transform: translateY(-2px) scale(1.15);
  filter: brightness(1.1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}

.ft-social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.ft-social-links a {
  width: 32px;
  height: 32px;
}

@media (max-width: 900px) {
  .top-header-bar {
    display: none;
  }
}

/* ==========================================================================
   Header & Navigation (White Background Theme)
   ========================================================================== */
.site-header {
  position: absolute;
  top: 40px;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 2px solid var(--gold);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 0.85rem 2rem;
  transition: all 0.35s ease;
}

.site-header.sticky {
  position: fixed;
  top: 0;
  background: rgba(255, 255, 255, 0.98);
  padding: 0.7rem 2rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  border-bottom-color: var(--gold);
}

@media (max-width: 900px) {
  .site-header {
    top: 0;
  }
}

.header-container {
  width: 100%;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-crest {
  width: 56px;
  height: 56px;
  max-height: 56px;
  object-fit: contain;
  margin-top: 0;
  margin-bottom: 0;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.15));
  flex-shrink: 0;
}

.brand-titles {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 25px;
  font-weight: 900;
  color: #3e3b52;
  line-height: 1.15;
  white-space: nowrap;
  letter-spacing: 0.01em;
  text-shadow: none;
}

.brand-motto {
  font-size: 0.7rem;
  color: #d5aa4a;
  letter-spacing: 0.12em;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 2px;
  white-space: nowrap;
  text-shadow: none;
}

/* Navigation Links on White Background */
.nav-links-wrap {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: transparent;
  padding: 0;
}

.nav-item {
  color: #35314a;
  font-size: 14px;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  position: relative;
  text-decoration: none;
  transition: var(--transition);
}

.nav-item:hover {
  color: #514d6c;
  background: #ecebf4;
}

.nav-item.active-nav,
.nav-item.active-pill {
  background: #514d6c;
  color: #ffffff;
  font-weight: 700;
  padding: 0.45rem 1.25rem;
  box-shadow: 0 4px 12px rgba(81, 77, 108, 0.25);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.header-cta-btn {
  background: #514d6c;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.55rem 1.35rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(81, 77, 108, 0.25);
  border: none;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}

.header-cta-btn:hover {
  background: #d5aa4a;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(213, 170, 74, 0.4);
}

.mobile-menu-btn {
  display: none;
  background: #ecebf4;
  color: #514d6c;
  border: 1px solid var(--border-light);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  font-size: 1.25rem;
}

/* Mobile Offcanvas Drawer */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: min(290px, 85vw);
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  background: var(--forest-green);
  z-index: 999;
  padding: 1.75rem 1.5rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
  transition: right 0.35s ease;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(213, 170, 74, 0.4) transparent;
}

.mobile-drawer::-webkit-scrollbar {
  width: 5px;
}

.mobile-drawer::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.15);
}

.mobile-drawer::-webkit-scrollbar-thumb {
  background: rgba(213, 170, 74, 0.45);
  border-radius: 4px;
}

.mobile-drawer::-webkit-scrollbar-thumb:hover {
  background: rgba(213, 170, 74, 0.75);
}

.mobile-drawer.open {
  right: 0;
}

.drawer-close-btn {
  align-self: flex-end;
  color: var(--white);
  font-size: 1.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  line-height: 1;
}

.mobile-drawer .brand-block {
  flex-shrink: 0;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-shrink: 0;
  padding-bottom: 2.5rem;
}

.mobile-nav-list a {
  color: var(--white);
  font-size: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-list a.active-nav,
.mobile-nav-list a.active-pill {
  color: var(--light-gold);
  font-weight: 700;
}

/* ==========================================================================
   Hero Visual Showcase Slider (Bright, Clear, Pure Photography)
   ========================================================================== */
/* ==========================================================================
   Hero Visual Showcase & Diocesan Gateway Overlay Widget
   ========================================================================== */
.hero-wrapper {
  position: relative;
  width: 100%;
  min-height: clamp(580px, 80vh, 760px);
  background-color: #37334d;
  overflow: hidden;
  top: 80px;
  display: flex;
  align-items: center;
}

.hero-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 6s cubic-bezier(0.25, 1, 0.5, 1);
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  filter: brightness(1.06) contrast(1.04) saturate(1.05);
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.hero-overlay-dark {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(20, 18, 30, 0.72) 0%, rgba(55, 51, 77, 0.55) 50%, rgba(20, 18, 30, 0.78) 100%);
  z-index: 2;
}

.hero-container {
  position: relative;
  z-index: 10;
  width: 100%;
  padding-top: 3.5rem;
  /* padding-bottom: 5rem; */
}

.hero-split-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

/* Left Hero Content */
.hero-left-content {
  color: #ffffff;
  padding-top: 70px;
}

.hero-presence-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: #f3cf7a;
  margin-bottom: 1.25rem;
}

.presence-icon {
  font-size: 0.9rem;
  color: #d5aa4a;
}

.hero-main-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.8vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-lead-desc {
  font-size: clamp(0.98rem, 1.15vw, 1.1rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-cta-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
  /* margin-bottom: 3rem; */
  flex-wrap: wrap;
}

.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #d5aa4a;
  color: #37334d;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(213, 170, 74, 0.4);
  transition: all 0.3s ease;
}

.hero-btn-primary:hover {
  background: #ffffff;
  color: #37334d;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.5);
}

.hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Bottom Stats Row */
.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 800;
  color: #d5aa4a;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
}

/* Right Panel: Diocesan Gateway Widget (Frosted Glass Card matching reference screenshot) */
.hero-right-gateway {
  display: flex;
  justify-content: flex-end;
}

.diocesan-gateway-card {
  width: 100%;
  max-width: 420px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.gateway-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.gateway-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: #35314a;
  margin: 0;
}

.gateway-pause-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #35314a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
}

.gateway-pause-btn:hover {
  background: #514d6c;
  color: #ffffff;
}

.gateway-menu-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.gateway-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  padding: 1.1rem 1.25rem;
  border-radius: 14px;
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
}

.gateway-menu-item:hover {
  transform: translateY(-2px);
  border-color: #d5aa4a;
  box-shadow: 0 8px 20px rgba(81, 77, 108, 0.12);
}

.gateway-item-title {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: #222030;
  margin: 0 0 0.2rem 0;
}

.gateway-item-sub {
  font-size: 0.8rem;
  color: #6c6882;
  margin: 0;
}

.gateway-item-arrow {
  font-size: 1.2rem;
  color: #d5aa4a;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.gateway-menu-item:hover .gateway-item-arrow {
  transform: translateX(4px);
  color: #514d6c;
}

/* Bottom Quick Action Tabs */
.gateway-bottom-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.gateway-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 0.75rem;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}

.gateway-action-btn.primary-action {
  background: #514d6c;
  color: #ffffff;
}

.gateway-action-btn.primary-action:hover {
  background: #37334d;
  transform: translateY(-2px);
}

.gateway-action-btn.dark-action {
  background: #1e1c2b;
  color: #ffffff;
}

.gateway-action-btn.dark-action:hover {
  background: #12111c;
  transform: translateY(-2px);
}

.gateway-btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Organic Wave Bottom Separator */
.hero-wave-bottom {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 5;
  line-height: 0;
}

.hero-wave-bottom svg {
  width: 100%;
  height: 52px;
  fill: #f7f6fa;
}

/* Responsive adjustments for Hero Gateway */
@media (max-width: 992px) {
  .hero-split-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-right-gateway {
    justify-content: center;
  }

  .diocesan-gateway-card {
    max-width: 100%;
  }

  .hero-wrapper {
    top: 0;
    min-height: auto;
    padding-top: 100px;
  }
}

/* ==========================================================================
   Section 2: Redesigned About Us / History Section
   ========================================================================== */
.about-diocese-section {
  background-color: #fff;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  margin-top: 80px;
}

.about-redesign-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.95fr;
  gap: 4rem;
  align-items: center;
}

.about-main-content {
  padding-right: 1rem;
}

.about-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.eyebrow-line {
  width: 32px;
  height: 3px;
  background: #d5aa4a;
  border-radius: 2px;
}

.eyebrow-text {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #514d6c;
  text-transform: uppercase;
}

.about-main-heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  line-height: 1.2;
  color: #2b283d;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.about-lead-paragraph {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #433e5c;
  font-weight: 600;
  margin-bottom: 1.25rem;
  border-left: 4px solid #d5aa4a;
  padding-left: 1.25rem;
}

.about-body-paragraph {
  font-size: 0.98rem;
  line-height: 1.75;
  color: #202020;
  margin-bottom: 2rem;
  letter-spacing: 0.5px;
}

.about-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}

.about-pillar-card {
  background: #ffffff;
  padding: 1.25rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(81, 77, 108, 0.08);
  box-shadow: 0 6px 18px rgba(81, 77, 108, 0.05);
  transition: all 0.3s ease;
}

.about-pillar-card:hover {
  transform: translateY(-3px);
  border-color: #d5aa4a;
  box-shadow: 0 10px 24px rgba(81, 77, 108, 0.1);
}

.pillar-icon-box {
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
}

.pillar-title {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: #2b283d;
  margin-bottom: 0.25rem;
}

.pillar-desc {
  font-size: 14px;
  color: #373448;
  line-height: 1.4;
  margin: 0;
  letter-spacing: 0.5px;
}

.about-cta-row {
  display: flex;
  align-items: center;
}

.btn-theme-purple {
  background: #514d6c;
  color: #ffffff;
  font-weight: 700;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 6px 20px rgba(81, 77, 108, 0.25);
  transition: all 0.3s ease;
}

.btn-theme-purple:hover {
  background: #d5aa4a;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(213, 170, 74, 0.4);
}

/* Right Visual Column */
.about-visual-column {
  position: relative;
}

.about-image-card {
  position: relative;
}

.about-arch-frame {
  border-radius: 180px 180px 24px 24px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(55, 51, 77, 0.15);
  border: 8px solid #ffffff;
  background: #ffffff;
}

.about-arch-frame img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.about-experience-badge {
  position: absolute;
  bottom: -72px;
  right: -20px;
  background: linear-gradient(135deg, #514d6c 0%, #37334d 100%);
  color: #ffffff;
  padding: 1.25rem 1.5rem;
  border-radius: 18px;
  border: 3px solid #d5aa4a;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 300px;
}

.badge-number {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 800;
  color: #d5aa4a;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.badge-text {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
  color: #ffffff;
}

@media (max-width: 992px) {
  .about-redesign-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-pillars-grid {
    grid-template-columns: 1fr;
  }

  .about-experience-badge {
    right: 10px;
    bottom: -15px;
  }
}

.floating-crest-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  margin-bottom: 0.4rem;
}

.crest-card-motto {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--forest-green);
  margin-bottom: 0.2rem;
}

.crest-card-sub {
  font-size: 0.68rem;
  color: var(--muted-text);
  line-height: 1.35;
}

.decorative-cross-bg {
  position: absolute;
  top: 10px;
  right: -40px;
  font-size: 5rem;
  color: var(--light-gold);
  opacity: 0.25;
  pointer-events: none;
  font-family: var(--font-serif);
}

/* ==========================================================================
   Section 3: Three Feature Cards (Mission, Vision, History)
   ========================================================================== */
.feature-cards-section {
  background-color: var(--cream);
  padding-bottom: 3.5rem;
}

.cards-three-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.85rem;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  border: 1px solid rgba(229, 224, 210, 0.8);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold);
}

/* Vision Card Dark Theme */
.feature-card.dark-theme {
  background: linear-gradient(145deg, var(--forest-green) 0%, var(--dark-green) 100%);
  color: var(--white);
  border: none;
}

.feature-card.dark-theme .vision-bg-overlay {
  position: absolute;
  inset: 0;
  background-image: url('assets/images/home/vision-church-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  transition: transform 0.6s ease;
}

.feature-card.dark-theme:hover .vision-bg-overlay {
  transform: scale(1.06);
}

.feature-card.dark-theme h3 {
  color: var(--white);
}

.feature-card.dark-theme p {
  color: rgba(255, 255, 255, 0.85);
}

.feature-card.dark-theme .card-link {
  color: var(--light-gold);
}

.feature-card.dark-theme .card-ghost-num {
  color: rgba(255, 255, 255, 0.08);
}

/* Icon Bubble */
.card-icon-bubble {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--mint-light);
  color: var(--forest-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
}

.feature-card.dark-theme .card-icon-bubble {
  background: rgba(213, 170, 74, 0.2);
  color: var(--light-gold);
  border: 1px solid rgba(213, 170, 74, 0.4);
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--muted-text);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  position: relative;
  z-index: 1;
}

.card-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--forest-green);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  position: relative;
  z-index: 1;
}

.card-link:hover {
  gap: 0.55rem;
  color: var(--gold);
}

.card-ghost-num {
  position: absolute;
  bottom: 0.75rem;
  right: 1.25rem;
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(81, 77, 108, 0.07);
  line-height: 1;
  pointer-events: none;
}

/* ==========================================================================
   Section 4: Bishop's Message
   ========================================================================== */
.bishop-message-section {
  background: linear-gradient(135deg, var(--forest-green) 0%, var(--dark-green) 100%);
  padding: 3.5rem 0;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.bishop-row-grid {
  display: grid;
  grid-template-columns: 240px 1.3fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.bishop-portrait-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(213, 170, 74, 0.4);
  background: url('assets/images/home/bishop-watercolor-bg.jpg') center/cover no-repeat, var(--dark-green);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.bishop-portrait-card img {
  width: 100%;
  height: 290px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
}

.bishop-content-col h2 {
  font-size: clamp(2rem, 3vw, 2.5rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 0.85rem;
}

.bishop-quote-lead {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.bishop-signature-line {
  font-family: var(--font-script);
  font-size: 2.1rem;
  color: var(--light-gold);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

/* Right Quote Box */
.bishop-quote-framed-box {
  background: rgba(81, 77, 108, 0.5);
  border: 1px solid rgba(213, 170, 74, 0.45);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.85rem;
  text-align: center;
  position: relative;
}

.quote-symbol-gold {
  color: var(--light-gold);
  font-size: 1.75rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.bishop-framed-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 30px;
  color: var(--light-gold);
  line-height: 1.6;
  margin-bottom: 0.85rem;
}

.quote-cross-mini {
  color: var(--light-gold);
  font-size: 1.1rem;
}

/* ==========================================================================
   Section 5: Schools Section
   ========================================================================== */
.schools-section {
  background-color: #fff;
  padding: 3.5rem 0;
}

.schools-top-block {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

.schools-title {
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  margin-bottom: 0.85rem;
}

.schools-intro-p {
  font-size: 0.95rem;
  color: var(--muted-text);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

/* Large Horizontal School Capsule */
.school-hero-capsule-holder {
  position: relative;
}

.school-capsule-img-wrap {
  border-radius: 120px 24px 24px 120px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(81, 77, 108, 0.1);
  height: 180px;
}

.school-capsule-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.capsule-gold-plus-btn {
  position: absolute;
  top: 50%;
  left: -15px;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--forest-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(213, 170, 74, 0.4);
}

/* School Cards Carousel */
.schools-carousel-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  position: relative;
}

.school-carousel-prev,
.school-carousel-next {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--forest-green);
  color: #fff;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.25s ease;
  box-shadow: 0 6px 18px rgba(81, 77, 108, 0.15);
  z-index: 5;
}

.school-carousel-prev:hover,
.school-carousel-next:hover {
  background: var(--gold);
  color: #1a162d;
  transform: scale(1.08);
}

.school-cards-track {
  display: flex;
  gap: 1.5rem;
  flex-grow: 1;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 0.5rem 0.25rem 1rem;
  scrollbar-width: none;
}

.school-cards-track::-webkit-scrollbar {
  display: none;
}

.school-mini-card {
  flex: 0 0 calc((100% - 3rem) / 3);
  min-width: 290px;
  scroll-snap-align: start;
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(81, 77, 108, 0.08);
  border: 1.5px solid rgba(81, 77, 108, 0.1);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

@media (max-width: 991px) {
  .school-mini-card {
    flex: 0 0 calc((100% - 1.5rem) / 2);
  }
}

@media (max-width: 640px) {
  .school-mini-card {
    flex: 0 0 100%;
  }
}

.school-mini-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 16px 36px rgba(81, 77, 108, 0.15);
}

.school-card-img-holder {
  height: 210px;
  position: relative;
  overflow: hidden;
  background: #f1f0f5;
}

.school-card-img-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.school-mini-card:hover .school-card-img-holder img {
  transform: scale(1.06);
}

.school-card-logo-float {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  padding: 4px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  border: 2px solid var(--gold);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.school-card-logo-float img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.school-card-top-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(26, 22, 45, 0.88);
  color: #f6c867;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(246, 200, 103, 0.4);
  z-index: 2;
}

.school-card-body {
  padding: 1.15rem 1.35rem 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.school-name-text {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--forest-green);
  margin-bottom: 0.35rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.school-card-loc-est-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
  font-size: 0.84rem;
}

.school-card-loc {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #475569;
  font-weight: 500;
  min-width: 0;
}

.school-card-loc i {
  font-size: 0.95rem;
  flex-shrink: 0;
}

.school-meta-est {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  background: #fdf8eb;
  color: #b45309;
  border: 1px solid rgba(213, 170, 74, 0.35);
  white-space: nowrap;
}

.school-meta-est i {
  font-size: 0.85rem;
}

.school-card-action {
  margin-top: 0.85rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(81, 77, 108, 0.08);
}

.school-view-details-link {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--forest-green);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.2s ease;
}

.school-mini-card:hover .school-view-details-link {
  color: #d97706;
  transform: translateX(4px);
}

/* ==========================================================================
   Section 6: Statistics / Presence Section
   ========================================================================== */
.presence-stats-section {
  background: linear-gradient(135deg, var(--forest-green) 0%, var(--deep-teal) 60%, var(--dark-green) 100%);
  padding: 2.75rem 0;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.presence-bg-texture {
  position: absolute;
  inset: 0;
  background-image: url('assets/images/slider/slde1.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.18;
}

.presence-grid-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 2.5fr;
  align-items: center;
  gap: 3rem;
}

.presence-title {
  font-size: 2.2rem;
  color: var(--light-gold);
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

.presence-sub {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
}

.stats-four-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}

.stat-item-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
  position: relative;
}

.stat-item-block:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.stat-icon-gold-ring {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  background: rgba(81, 77, 108, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-gold);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.stat-number-val {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 700;
  color: #46425f;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-label-text {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.9);
}

/* ==========================================================================
   Section 7A: Parishes — Cinematic Full-Bleed Slider
   ========================================================================== */
@keyframes pcBgIn {
  from {
    transform: scale(1.06);
    opacity: 0.7;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes pcTextIn {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pcRomanPulse {

  0%,
  100% {
    opacity: 0.06;
  }

  50% {
    opacity: 0.12;
  }
}

.parish-cinema-section {
  position: relative;
  background: #1f1c2d;
  overflow: hidden;
}

/* Side counter */
.pc-side-counter {
  position: absolute;
  left: 2.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.pc-current-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--light-gold);
  line-height: 1;
}

.pc-side-line {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.25);
}

.pc-total-num {
  color: rgba(255, 255, 255, 0.4);
}

/* Slider container */
.pc-slider {
  position: relative;
  width: 100%;
  height: 88vh;
  min-height: 520px;
  max-height: 780px;
}

/* Individual slides */
.pc-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.pc-slide.pc-slide-active {
  opacity: 1;
  pointer-events: all;
}

/* Background image */
.pc-bg-image {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.pc-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  animation: pcBgIn 0.9s ease forwards;
}

.pc-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(24, 22, 36, 0.97) 0%,
      rgba(24, 22, 36, 0.7) 40%,
      rgba(24, 22, 36, 0.15) 75%,
      transparent 100%);
}

/* ==========================================================================
   Section 7A: Parishes — Compact Split Card Slider
   ========================================================================== */
.par-section {
  padding: 4rem 0;
  background: linear-gradient(180deg, #f6f5f9 0%, #edeaf3 100%);
  position: relative;
}

.par-label-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.par-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--forest-green);
  background: rgba(81, 77, 108, 0.08);
  border: 1px solid rgba(81, 77, 108, 0.18);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.5rem;
}

.par-heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--forest-green);
  line-height: 1.15;
  margin: 0;
}

.par-heading em {
  font-style: italic;
  color: var(--gold);
}

.par-label-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.par-counter {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--forest-green);
}

.par-counter small {
  font-size: 0.9rem;
  color: var(--muted-text);
  font-weight: 400;
}

.par-all-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--forest-green);
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
  transition: var(--transition);
}

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

/* Card Wrap */
.par-card-wrap {
  position: relative;
  min-height: 380px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(81, 77, 108, 0.12);
  background: var(--forest-green);
}

.par-card {
  position: absolute;
  inset: 0;
  display: flex;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.97) translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.par-card.par-card-on {
  position: relative;
  opacity: 1;
  pointer-events: all;
  transform: scale(1) translateY(0);
}

.par-img-col {
  width: 46%;
  position: relative;
  overflow: hidden;
  align-self: stretch;
  min-height: 100%;
}

.par-img-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.8s ease;
}

.par-card:hover .par-img-col img {
  transform: scale(1.06);
}

.par-img-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.1) 0%, rgba(81, 77, 108, 0.4) 100%);
}

.par-info-col {
  width: 54%;
  background: var(--forest-green);
  padding: 3rem 3.5rem 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
  position: relative;
}

.par-title-with-cross {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.par-title-with-cross .par-cross {
  font-size: 1.6rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0;
  flex-shrink: 0;
}

.par-title-with-cross .par-name {
  margin-bottom: 0;
}

.par-cross {
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 0.6rem;
  opacity: 0.7;
}

.par-loc-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--light-gold);
  background: rgba(213, 170, 74, 0.12);
  border: 1px solid rgba(213, 170, 74, 0.3);
  padding: 0.25rem 0.8rem;
  border-radius: var(--radius-pill);
  align-self: flex-start;
  margin-bottom: 1rem;
}

.par-name {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 0.85rem;
}

.par-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.par-chips {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.par-chips span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--light-gold);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-pill);
}

.par-readmore-wrap {
  margin-top: 1.4rem;
  display: flex;
}

.par-readmore-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: linear-gradient(135deg, #d5aa4a 0%, #b8860b 100%);
  color: #1a1721 !important;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  padding: 0.48rem 1.15rem;
  border-radius: 9999px;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(213, 170, 74, 0.3);
}

.par-readmore-btn:hover {
  background: #ffffff;
  color: #1a1721 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

.par-readmore-btn svg {
  transition: transform 0.25s ease;
}

.par-readmore-btn:hover svg {
  transform: translateX(4px);
}

/* Nav Row */
.par-nav-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.75rem;
  justify-content: flex-end;
}

.par-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--forest-green);
  background: var(--white);
  color: var(--forest-green);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(81, 77, 108, 0.08);
}

.par-btn svg {
  width: 18px;
  height: 18px;
}

.par-btn:hover {
  background: var(--forest-green);
  color: var(--white);
  transform: scale(1.05);
}

.par-track {
  width: 160px;
  height: 4px;
  background: rgba(81, 77, 108, 0.12);
  border-radius: 2px;
  overflow: hidden;
}

.par-fill {
  height: 100%;
  background: var(--gold);
  border-radius: 2px;
  width: 25%;
  transition: width 0.4s ease;
}

/* Responsive Parishes */
@media (max-width: 900px) {

  .par-card,
  .par-card.par-card-on {
    flex-direction: column;
  }

  .par-img-col,
  .par-info-col {
    width: 100%;
  }

  .par-img-col {
    height: 220px;
  }

  .par-info-col {
    padding: 2rem;
  }

  .par-card-wrap {
    min-height: auto;
  }
}

/* ==========================================================================
   Section 7B: Priests — Compact Horizontal Profile Card
   ========================================================================== */
.pri-section {
  padding: 2.25rem 0 3.75rem;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.pri-stripe {
  position: absolute;
  top: 0;
  left: -10%;
  right: -10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(213, 170, 74, 0.4), transparent);
}

.pri-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.pri-heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--forest-green);
  line-height: 1.15;
  margin: 0;
}

.pri-heading em {
  font-style: italic;
  color: var(--gold);
}

.pri-label-right {
  display: flex;
  align-items: center;
}

.pri-all-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--forest-green);
  text-decoration: none;
  padding: 0.45rem 1.15rem;
  border-radius: 999px;
  background: rgba(213, 170, 74, 0.12);
  border: 1px solid rgba(213, 170, 74, 0.35);
  transition: all 0.25s ease;
}

.pri-all-link:hover {
  background: var(--gold);
  color: #1a162d;
  border-color: var(--gold);
  transform: translateX(3px);
  box-shadow: 0 4px 12px rgba(213, 170, 74, 0.25);
}

/* Stage */
.pri-stage {
  position: relative;
  min-height: 280px;
}

.pri-card {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  background: linear-gradient(135deg, #fcfafc 0%, #f3f1f7 100%);
  border: 1px solid rgba(81, 77, 108, 0.1);
  border-radius: 24px;
  padding: 2.25rem 3rem;
  box-shadow: 0 12px 35px rgba(81, 77, 108, 0.06);
  opacity: 0;
  pointer-events: none;
  transform: translateX(30px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.pri-card.pri-card-on {
  position: relative;
  opacity: 1;
  pointer-events: all;
  transform: translateX(0);
}

.pri-photo-wrap {
  position: relative;
  width: 140px;
  height: 140px;
  flex-shrink: 0;
}

.pri-photo-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px dashed var(--gold);
  opacity: 0.6;
  animation: priHaloSpin 18s linear infinite;
}

@keyframes priHaloSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.pri-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 8px 24px rgba(81, 77, 108, 0.15);
  display: block;
}

.pri-cross-badge {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.pri-info-wrap {
  flex: 1;
}

.pri-role-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--forest-green);
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.5rem;
}

.pri-name {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--forest-green);
  margin-bottom: 0.2rem;
  line-height: 1.2;
}

.pri-forane {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.pri-quote {
  font-size: 0.92rem;
  font-style: italic;
  color: var(--muted-text);
  line-height: 1.6;
  margin-bottom: 1rem;
  border: none;
  padding: 0;
}

.pri-divider {
  height: 1px;
  background: rgba(81, 77, 108, 0.1);
  margin-bottom: 1rem;
}

.pri-nav-thumbs {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.pri-thumb {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  padding: 0;
  border: 2px solid transparent;
  background: none;
  cursor: pointer;
  overflow: hidden;
  transition: var(--transition);
}

.pri-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.pri-thumb:hover {
  transform: scale(1.1);
}

.pri-thumb.pri-thumb-on {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(213, 170, 74, 0.3);
  transform: scale(1.15);
}

/* Arrow row */
.pri-arrow-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.75rem;
}

.pri-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--forest-green);
  background: transparent;
  color: var(--forest-green);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.pri-arrow svg {
  width: 18px;
  height: 18px;
}

.pri-arrow:hover {
  background: var(--forest-green);
  color: var(--white);
  transform: scale(1.08);
}

.pri-dot-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.pri-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(81, 77, 108, 0.2);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}

.pri-dot.pri-dot-on {
  background: var(--forest-green);
  width: 22px;
  border-radius: var(--radius-pill);
}

/* Responsive Priests */
@media (max-width: 768px) {
  .brand-motto {
    font-size: 9px !important;
  }

  .brand-name {
    font-size: 16px !important;
  }

  .header-cta-btn {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-hover) 100%);
    color: var(--forest-green);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.55rem 1.4rem;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 16px rgba(213, 170, 74, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
    white-space: nowrap;
    display: none !important;
  }

  .pri-card,
  .pri-card.pri-card-on {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
  }

  .pri-photo-wrap {
    margin: 0 auto;
  }

  .pri-nav-thumbs {
    justify-content: center;
  }
}


/* ==========================================================================
   Shared Section Header Utilities
   ========================================================================== */
.sec-label-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.sec-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--forest-green);
  background: rgba(81, 77, 108, 0.08);
  border: 1px solid rgba(81, 77, 108, 0.18);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.5rem;
}

.sec-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--forest-green);
  line-height: 1.15;
  margin: 0;
}

.sec-title em {
  font-style: italic;
  color: var(--gold);
}

.sec-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--forest-green);
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
  transition: var(--transition);
}

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

/* ==========================================================================
   Section 8: Standalone News & Events Section
   ========================================================================== */
.news-section {
  padding: 5rem 0;
  background: #f8f7fa;
  position: relative;
}

.news-cards-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

/* Main Featured News Card */
.news-card-featured {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(81, 77, 108, 0.1);
  border: 1.5px solid rgba(81, 77, 108, 0.12);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.news-card-featured:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(81, 77, 108, 0.15);
}

.news-card-img-wrap {
  position: relative;
  height: 230px;
  overflow: hidden;
}

.news-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.news-card-featured:hover .news-card-img-wrap img {
  transform: scale(1.06);
}

.news-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--forest-green);
  color: var(--white);
  padding: 0.45rem 0.85rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  border: 1.5px solid #fbbf24;
}

.news-badge-day {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
  display: block;
  color: #fbbf24;
}

.news-badge-month {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: block;
  color: var(--white);
}

.news-card-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-cat-tag {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d97706;
  margin-bottom: 0.6rem;
}

.news-card-title {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--forest-green);
  line-height: 1.25;
  margin-bottom: 0.85rem;
}

.news-card-excerpt {
  font-size: 1rem;
  color: #1e293b;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex: 1;
  font-weight: 500;
}

.news-read-btn {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--forest-green);
  text-decoration: none;
  transition: var(--transition);
  align-self: flex-start;
  border-bottom: 2px solid #d5aa4a;
  padding-bottom: 2px;
}

.news-read-btn:hover {
  color: #d97706;
  transform: translateX(4px);
}

/* Events Stack */
.news-events-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: space-between;
}

.event-item-card {
  background: var(--white);
  border-radius: 18px;
  padding: 1.4rem 1.6rem;
  border: 1.5px solid rgba(81, 77, 108, 0.12);
  box-shadow: 0 8px 24px rgba(81, 77, 108, 0.06);
  display: flex;
  align-items: center;
  gap: 1.35rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.event-item-card:hover {
  transform: translateX(6px);
  border-color: #d5aa4a;
  box-shadow: 0 14px 35px rgba(81, 77, 108, 0.12);
}

.event-date-box {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  background: var(--forest-green);
  border: 1.5px solid #fbbf24;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(81, 77, 108, 0.2);
}

.ed-day {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.ed-mon {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #fbbf24;
  text-transform: uppercase;
}

.event-item-info {
  flex: 1;
}

.event-tag {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d97706;
  display: block;
  margin-bottom: 0.3rem;
}

.event-item-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--forest-green);
  line-height: 1.35;
  margin-bottom: 0.35rem;
}

.event-loc {
  font-size: 0.88rem;
  font-weight: 600;
  color: #1e293b;
}

/* Responsive News */
@media (max-width: 900px) {
  .news-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Section 9: Standalone Photo Gallery Section
   ========================================================================== */
.gallery-section {
  padding: 4rem 0;
  background: #ffffff;
  position: relative;
}

.gallery-compact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.gal-card {
  position: relative;
  height: 220px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(81, 77, 108, 0.07);
  cursor: pointer;
}

.gal-card-lg {
  grid-column: span 2;
}

.gal-card-wide {
  grid-column: span 2;
}

.gal-card img.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.gal-card:hover img.gallery-img {
  transform: scale(1.08);
}

.gal-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(81, 77, 108, 0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gal-card:hover .gal-overlay {
  opacity: 1;
}

.gal-icon {
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
  transform: translateY(10px);
  transition: transform 0.4s ease;
}

.gal-card:hover .gal-icon {
  transform: translateY(0);
}

.gal-caption {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
}

@media (max-width: 768px) {
  .gallery-compact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gal-card-lg,
  .gal-card-wide {
    grid-column: span 2;
  }
}

@media (max-width: 480px) {
  .gallery-compact-grid {
    grid-template-columns: 1fr;
  }

  .gal-card-lg,
  .gal-card-wide {
    grid-column: span 1;
  }
}

/* Lightbox Modal */
.gallery-lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(4, 22, 18, 0.92);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.gallery-lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content-box {
  position: relative;
  max-width: 860px;
  max-height: 85vh;
}

.lightbox-content-box img {
  max-height: 75vh;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  display: block;
  margin: 0 auto;
}

.lightbox-close {
  position: absolute;
  top: -44px;
  right: 0;
  color: var(--white);
  font-size: 2.2rem;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-prev {
  left: -56px;
}

.lightbox-next {
  right: -56px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--gold);
  color: var(--forest-green);
}

/* ==========================================================================
   Section 11: Institutional Footer (Fixed Layout & Modern Animation)
   ========================================================================== */
.site-footer {
  background: #181624;
  color: var(--white);
  padding: 0 0 2rem;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(213, 170, 74, 0.25);
}

/* Glowing Cross Divider Bar */
.ft-divider-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 2.5rem 0 3rem;
}

.ft-line {
  height: 1px;
  flex: 1;
  max-width: 300px;
  background: linear-gradient(90deg, transparent, rgba(213, 170, 74, 0.4), transparent);
}

.ft-cross {
  font-size: 1.5rem;
  color: var(--gold);
  animation: ftCrossPulse 4s ease-in-out infinite;
}

@keyframes ftCrossPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.25);
    opacity: 1;
    text-shadow: 0 0 16px rgba(213, 170, 74, 0.6);
  }
}

/* Footer Grid */
.ft-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 1.25fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.ft-col {
  display: flex;
  flex-direction: column;
}

/* Brand Box */
.ft-brand-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.ft-logo-crest {
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
  flex-shrink: 0;
}

.ft-brand-text {
  display: flex;
  flex-direction: column;
}

.ft-brand-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin: 0 0 0.2rem 0;
  white-space: nowrap;
}

.ft-brand-motto {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--light-gold);
}

.ft-bio {
  font-size: 13px;
  color: #f1f5f9;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

/* Social Buttons */
.ft-socials {
  display: flex;
  gap: 0.65rem;
}

.ft-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.ft-social-btn:hover {
  background: #fbbf24;
  color: #181624;
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 6px 16px rgba(251, 191, 36, 0.4);
  border-color: #fbbf24;
}

/* Section Headings */
.ft-heading {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fbbf24;
  margin-bottom: 1.35rem;
  position: relative;
  padding-bottom: 0.55rem;
}

.ft-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2.5px;
  background: #fbbf24;
  border-radius: 2px;
}

/* Links List */
.ft-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ft-links a {
  font-size: 13px;
  color: #f8fafc;
  text-decoration: none;
  transition: all 0.25s ease;
  display: inline-block;
  font-weight: 500;
}

.ft-links a:hover {
  color: #fbbf24;
  transform: translateX(6px);
}

/* Address & Contact Details Col */
.ft-contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.ft-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 13px;
  color: #f8fafc;
  line-height: 1.5;
  margin: 0;
}

.ft-contact-item a {
  color: #f8fafc;
  text-decoration: none;
  transition: color 0.25s ease;
}

.tiptap-content table th p {
  color: #fff !important;
}

.ft-contact-item a:hover {
  color: #fbbf24;
}

.ft-c-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  line-height: 1.2;
}

/* Copyright Bottom Bar */
.ft-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 13px;
  color: #cbd5e1;
  flex-wrap: wrap;
  gap: 1rem;
}

.ft-copy {
  margin: 0;
}

.ft-bottom-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ft-bottom-links a {
  color: #f8fafc;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.25s ease;
}

.ft-bottom-links a:hover {
  color: #fbbf24;
}

.ft-sep {
  color: rgba(255, 255, 255, 0.3);
}

.ft-top-btn {
  color: #fbbf24 !important;
  font-weight: 800;
}


/* Responsive Footer */
@media (max-width: 1024px) {
  .ft-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 600px) {
  .ft-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .ft-bottom-bar {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   STATISTICAL DATA SECTION (DIOCESE AT A GLANCE)
   ========================================================================== */
.diocesan-stats-section {
  padding: 5.5rem 0;
  background: linear-gradient(180deg, #f8f5ec 0%, #ffffff 50%, #f8f5ec 100%);
  position: relative;
  overflow: hidden;
}

.diocesan-stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.stats-section-header {
  max-width: 720px;
  margin: 0 auto 3.5rem auto;
  text-align: center;
}

.stats-section-header .eyebrow-tag {
  color: var(--gold);
  letter-spacing: 0.22em;
}

.stats-section-title {
  font-size: 2.75rem;
  color: var(--forest-green);
  margin-top: 0.25rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-serif);
  font-weight: 700;
}

.stats-header-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0.85rem 0 1.25rem;
}

.stats-header-divider .divider-line {
  height: 1px;
  width: 60px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.stats-header-divider .divider-line:last-child {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.stats-header-divider .divider-cross {
  color: var(--gold);
  font-size: 1.1rem;
}

.stats-section-subtitle {
  color: var(--muted-text);
  font-size: 1rem;
  line-height: 1.65;
}

/* Main Grid Layout */
.stats-main-wrapper {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 2rem;
  align-items: stretch;
}

/* Featured Hero Card */
.stat-hero-card {
  background: linear-gradient(145deg, #514d6c 0%, #37334d 100%);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2.25rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(55, 51, 77, 0.22);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(213, 170, 74, 0.35);
  transition: var(--transition);
}

.stat-hero-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(55, 51, 77, 0.32);
  border-color: rgba(213, 170, 74, 0.65);
}

.hero-card-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(213, 170, 74, 0.18) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.5;
  pointer-events: none;
}

.hero-card-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(213, 170, 74, 0.18);
  border: 1px solid rgba(213, 170, 74, 0.4);
  color: var(--light-gold);
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2rem;
}

.hero-badge-icon {
  color: var(--gold);
}

.hero-stat-number {
  font-family: var(--font-serif);
  font-size: 3.8rem;
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero-stat-number .stat-number-val {
  color: var(--light-gold);
}

.hero-stat-label {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: #ffffff;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.hero-stat-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

.hero-card-icon-watermark {
  position: absolute;
  bottom: -20px;
  right: -10px;
  font-size: 11rem;
  color: rgba(213, 170, 74, 0.08);
  font-family: var(--font-serif);
  user-select: none;
  pointer-events: none;
  line-height: 1;
}

/* 6 Grid Cards */
.stats-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(213, 170, 74, 0.45);
}

.stat-card:hover::before {
  background: linear-gradient(90deg, var(--forest-green), var(--gold));
}

.stat-card-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--mint-light);
  color: var(--forest-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.35rem;
  transition: var(--transition);
  border: 1px solid rgba(81, 77, 108, 0.08);
}

.stat-card-icon-wrap svg {
  width: 26px;
  height: 26px;
  stroke: var(--forest-green);
}

.stat-card-icon-wrap i {
  font-size: 22px;
  color: var(--forest-green);
  transition: var(--transition);
}

.stat-card:hover .stat-card-icon-wrap {
  background: var(--forest-green);
  color: var(--gold);
}

.stat-card:hover .stat-card-icon-wrap svg {
  stroke: var(--gold);
}

.stat-card:hover .stat-card-icon-wrap i {
  color: var(--gold);
}

.stat-card-body {
  display: flex;
  flex-direction: column;
}

.stat-card-value {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--forest-green);
  line-height: 1;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

.stat-card-title {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.2rem;
}

.stat-card-sub {
  font-size: 0.8rem;
  color: var(--muted-text);
  font-weight: 500;
}

/* ==========================================================================
   Responsive Rules
   ========================================================================== */
@media (max-width: 1024px) {
  .nav-links-wrap {
    display: none;
  }

  .mobile-menu-btn {
    display: -webkit-box !important;
  }

  .about-row-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-right-visual {
    max-width: 520px;
    margin: 0 auto;
  }

  .bishop-row-grid {
    grid-template-columns: 200px 1fr;
  }

  .bishop-quote-framed-box {
    grid-column: span 2;
  }

  .schools-top-block {
    grid-template-columns: 1fr;
  }

  .presence-grid-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  /* Parishes showcase responsive */
  .ps-slide-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .ps-image-panel {
    height: 240px;
  }

  .ps-info-panel {
    padding: 1.75rem 1.5rem;
  }

  /* Priests spotlight responsive */
  .pss-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .pss-priest-card {
    grid-template-columns: 200px 1fr;
    min-height: 320px;
  }

  .pss-card-info {
    padding: 1.75rem 1.5rem;
  }

  .news-gallery-grid {
    grid-template-columns: 1fr;
  }

  .contact-four-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-five-columns {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Diocesan Stats Responsive */
  .stats-main-wrapper {
    grid-template-columns: 1fr;
  }

  .stats-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 850px) {
  .stats-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .hero-layout-grid {
    grid-template-columns: 1fr;
  }

  .hero-right-badge {
    text-align: left;
    margin-top: 1.5rem;
  }

  .cards-three-grid {
    grid-template-columns: 1fr;
  }

  .bishop-row-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .bishop-portrait-card {
    max-width: 240px;
    margin: 0 auto;
  }

  .bishop-quote-framed-box {
    grid-column: span 1;
  }

  .schools-carousel-row {
    flex-direction: column;
  }

  .school-cards-track {
    grid-template-columns: 1fr;
  }

  .stats-four-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .stat-item-block:not(:last-child)::after {
    display: none;
  }

  /* Parishes showcase mobile */
  .ps-slide-inner {
    grid-template-columns: 1fr;
  }

  .ps-image-panel {
    height: 200px;
  }

  .ps-parish-name {
    font-size: 1.4rem;
  }

  .pss-priest-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .pss-card-image-wrap {
    height: 220px;
  }

  .pss-card-info {
    padding: 1.5rem 1.25rem;
  }

  .pss-layout {
    gap: 1.5rem;
  }

  .news-events-combined-card {
    grid-template-columns: 1fr;
  }

  .contact-four-grid {
    grid-template-columns: 1fr;
  }

  .footer-five-columns {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Responsive: Priests Spotlight — Tablet (1024px)
   ========================================================================== */
@media (max-width: 1024px) {
  .pss-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .pss-priest-card {
    grid-template-columns: 220px 1fr;
    min-height: 340px;
    position: relative;
  }

  .pss-priest-card.pss-card-active {
    position: relative;
  }
}

/* Priest card stack on small screens */
@media (max-width: 520px) {
  .pss-priest-card {
    grid-template-columns: 1fr;
  }

  .pss-card-image-wrap {
    height: 200px;
  }

  .ps-info-panel {
    padding: 1.25rem;
  }

  .pss-thumb {
    width: 44px;
    height: 44px;
  }
}

/* ==========================================================================
   Navigation Dropdown & Responsive Society Information Menu
   ========================================================================== */

/* Desktop Dropdown Styles */
.nav-item-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-item-dropdown .dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.dropdown-caret {
  transition: transform 0.3s ease, color 0.2s ease;
  color: #686480;
}

.nav-item-dropdown:hover .dropdown-caret,
.nav-item-dropdown.active .dropdown-caret {
  transform: rotate(180deg);
  color: #514d6c;
}

/* When the nav-item is active, the caret and text must ALWAYS be white, especially on hover */
.nav-item.active-nav,
.nav-item.active-nav:hover,
.nav-item-dropdown:hover .nav-item.active-nav,
.nav-item-dropdown.active .nav-item.active-nav {
  color: #ffffff !important;
  background: #514d6c !important;
}

.nav-item.active-nav .dropdown-caret,
.nav-item.active-nav svg,
.nav-item.active-nav:hover .dropdown-caret,
.nav-item.active-nav:hover svg,
.nav-item-dropdown:hover .nav-item.active-nav .dropdown-caret,
.nav-item-dropdown:hover .nav-item.active-nav svg,
.nav-item-dropdown.active .nav-item.active-nav .dropdown-caret,
.nav-item-dropdown.active .nav-item.active-nav svg {
  color: #ffffff !important;
  stroke: #ffffff !important;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  background: #ffffff;
  border-radius: 12px;
  min-width: 210px;
  padding: 8px 0;
  box-shadow: 0 12px 32px rgba(42, 38, 63, 0.14);
  border: 1px solid rgba(81, 77, 108, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1050;
}

.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  color: #35314a;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.dropdown-item svg {
  color: #7b76a2;
  transition: color 0.2s ease;
  flex-shrink: 0;
}

.dropdown-item:hover {
  background: #ecebf4;
  color: #514d6c;
  padding-left: 22px;
}

.dropdown-item:hover svg {
  color: #d5aa4a;
}

.dropdown-item.active {
  background: rgba(81, 77, 108, 0.08);
  color: #514d6c;
  font-weight: 700;
  border-left: 3px solid #514d6c;
}

/* Submenu (Level 3 under Level 2) */
.dropdown-submenu {
  position: relative;
  width: 100%;
}

.dropdown-submenu-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  color: #35314a;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.dropdown-submenu-toggle:hover,
.dropdown-submenu:hover>.dropdown-submenu-toggle,
.dropdown-submenu.active>.dropdown-submenu-toggle {
  background: #ecebf4;
  color: #514d6c;
  padding-left: 22px;
}

.dropdown-submenu-caret {
  color: #7b76a2;
  transition: transform 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
  margin-left: auto;
}

.dropdown-submenu:hover>.dropdown-submenu-toggle .dropdown-submenu-caret,
.dropdown-submenu.active>.dropdown-submenu-toggle .dropdown-submenu-caret {
  color: #514d6c;
  transform: translateX(3px);
}

.dropdown-sub-menu {
  position: absolute;
  top: 0;
  left: 100%;
  margin-left: 4px;
  margin-top: -6px;
  background: #ffffff;
  border-radius: 12px;
  min-width: 220px;
  padding: 8px 0;
  box-shadow: 0 14px 36px rgba(42, 38, 63, 0.18);
  border: 1px solid rgba(81, 77, 108, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateX(8px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1060;
  pointer-events: none;
}

.dropdown-submenu:hover>.dropdown-sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
}

.dropdown-sub-menu .dropdown-item {
  padding: 9px 18px;
  font-size: 13.5px;
}

.dropdown-sub-menu .dropdown-item:hover {
  padding-left: 22px;
}

/* Mobile Navigation Dropdown Accordion */
.mobile-dropdown-wrap {
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-dropdown-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.5rem 0;
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.mobile-dropdown-icon {
  color: var(--light-gold);
  transition: transform 0.3s ease;
}

.mobile-dropdown-wrap.open .mobile-dropdown-icon {
  transform: rotate(180deg);
}

.mobile-dropdown-content {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem 0.75rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  margin: 0.25rem 0 0.5rem 0;
}

.mobile-dropdown-wrap.open .mobile-dropdown-content {
  display: flex;
}

.mobile-dropdown-content a {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 0.92rem !important;
  padding: 0.4rem 0.6rem !important;
  border-bottom: none !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.6rem !important;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.mobile-dropdown-content a:hover,
.mobile-dropdown-content a:focus {
  color: var(--light-gold) !important;
  background: rgba(255, 255, 255, 0.1);
}

.mobile-dropdown-content svg {
  color: var(--light-gold);
  flex-shrink: 0;
}

/* Mobile Nested Submenu (Level 3 under Level 2) */
.mobile-sub-dropdown-wrap {
  width: 100%;
  margin: 3px 0;
}

.mobile-sub-dropdown-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.45rem 0.6rem;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.92rem;
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.mobile-sub-dropdown-btn:hover,
.mobile-sub-dropdown-btn.active {
  color: var(--light-gold);
  background: rgba(255, 255, 255, 0.08);
}

.mobile-sub-dropdown-icon {
  color: var(--light-gold);
  transition: transform 0.25s ease;
}

.mobile-sub-dropdown-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.4rem 0.6rem 0.4rem 1.1rem;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 6px;
  margin: 0.25rem 0;
  border-left: 2px solid var(--light-gold);
}

.mobile-sub-dropdown-content a {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 0.88rem !important;
  padding: 0.35rem 0.5rem !important;
  display: block !important;
}

.mobile-sub-dropdown-content a.active-nav,
.mobile-sub-dropdown-content a:hover {
  color: var(--light-gold) !important;
  font-weight: 600;
}

/* ==========================================================================
   Society Information & Statutory Disclosures Section
   ========================================================================== */
.society-section {
  padding: 5rem 0;
  background: var(--warm-white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.society-sec-desc {
  max-width: 580px;
  color: var(--muted-text);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-top: 0.5rem;
}

.society-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

@media (max-width: 900px) {
  .society-grid {
    grid-template-columns: 1fr;
  }
}

.society-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  scroll-margin-top: 90px;
}

.society-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--gold);
}

.society-card-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.society-icon-badge {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: var(--mint-light);
  color: var(--forest-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(81, 77, 108, 0.15);
}

.society-card-title {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  color: var(--forest-green);
  line-height: 1.2;
}

.society-card-text {
  color: var(--muted-text);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.society-info-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--cream);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(229, 224, 210, 0.8);
  margin-bottom: 1.75rem;
}

.society-info-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.info-label {
  font-weight: 600;
  color: var(--text-dark);
}

.info-value {
  color: var(--forest-green);
  font-weight: 600;
}

.badge-active {
  background: #e6f4ea;
  color: #137333;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
}

.docs-block-heading {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--forest-green);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.85rem;
}

.doc-download-grid {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.doc-download-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.15rem;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: var(--transition);
}

.doc-download-item svg {
  color: var(--forest-green);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.doc-file-type {
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--forest-green);
  color: #ffffff;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.doc-download-item:hover {
  background: var(--forest-green);
  color: #ffffff;
  border-color: var(--forest-green);
  transform: translateX(4px);
}

.doc-download-item:hover svg {
  color: var(--light-gold);
  transform: translateY(2px);
}

.doc-download-item:hover .doc-file-type {
  background: var(--gold);
  color: var(--text-dark);
}

/* Home News Section - Left Featured Card & Right Stack Fixes */
.news-card-featured .news-card-img-wrap {
  height: 260px !important;
}

.news-card-featured .news-card-body {
  padding: 1.25rem 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.news-card-featured .news-card-title {
  font-size: 1.35rem;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.news-card-featured .news-card-excerpt {
  flex: none;
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 0.85rem;
  -webkit-line-clamp: 3;
}

/* Right Stack Cards Layout - Start Title & Image from Top, Eliminate Empty Space */
.event-item-card-rich {
  background: var(--white);
  border-radius: 18px;
  padding: 1.55rem 1.6rem;
  border: 1.5px solid rgba(81, 77, 108, 0.12);
  box-shadow: 0 8px 24px rgba(81, 77, 108, 0.06);
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 1.4rem;
  flex: 1;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.event-item-card-rich:hover {
  transform: translateX(4px);
  border-color: #d5aa4a;
  box-shadow: 0 14px 35px rgba(81, 77, 108, 0.12);
}

.event-item-card-rich .event-item-info {
  flex: 1 1 0%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.25rem 0;
}

.event-item-card-rich .event-tag {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d97706;
  margin-bottom: 0.5rem;
}

.event-item-card-rich .event-item-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--forest-green);
  line-height: 1.35;
  margin-bottom: 0.65rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-item-card-rich .event-item-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.event-item-card-rich .event-item-title a:hover {
  color: #d97706;
}

.event-item-card-rich .event-item-excerpt {
  font-size: 0.86rem;
  color: #475569;
  line-height: 1.55;
  margin: 0 0 1rem;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.event-item-card-rich .event-read-btn {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--forest-green);
  text-decoration: none;
  align-self: flex-start;
  border-bottom: 2px solid #d5aa4a;
  padding-bottom: 3px;
  transition: transform 0.2s ease, color 0.2s ease;
  margin-top: auto;
}

.event-item-card-rich .event-read-btn:hover {
  color: #d97706;
  transform: translateX(4px);
}

.event-item-thumb-wrap {
  position: relative;
  width: 140px !important;
  min-width: 140px !important;
  max-width: 140px !important;
  height: 100% !important;
  min-height: 140px !important;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0 !important;
  box-shadow: 0 4px 14px rgba(81, 77, 108, 0.1);
}

.event-item-thumb-wrap a {
  display: block;
  width: 100%;
  height: 100%;
}

.event-item-thumb-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
  transition: transform 0.4s ease;
}

.event-item-card-rich:hover .event-item-thumb-wrap img {
  transform: scale(1.06);
}

.event-thumb-date-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(81, 77, 108, 0.94);
  backdrop-filter: blur(4px);
  color: #fff;
  padding: 4px 8px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid #fbbf24;
  line-height: 1;
}

.event-thumb-date-badge .ed-day {
  font-size: 0.85rem;
  font-weight: 800;
  color: #fbbf24;
  display: block;
}

.event-thumb-date-badge .ed-mon {
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: #fff;
  text-transform: uppercase;
  display: block;
}

/* ==========================================================================
   Priests Directory & Profile Modal Styles
   ========================================================================== */
.priests-directory-section {
  padding: 3.5rem 0 5rem;
  background: #fbfbfd;
  min-height: 60vh;
}

/* Segmented Navigation Tabs */
.priests-nav-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.priest-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  border-radius: 30px;
  background: var(--white);
  color: var(--forest-green);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  border: 1.5px solid rgba(81, 77, 108, 0.15);
  box-shadow: 0 4px 12px rgba(81, 77, 108, 0.04);
  transition: all 0.25s ease;
}

.priest-tab-btn:hover {
  border-color: #d5aa4a;
  color: #d97706;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(81, 77, 108, 0.08);
}

.priest-tab-btn.active {
  background: var(--forest-green);
  color: #ffffff;
  border-color: var(--forest-green);
  box-shadow: 0 6px 20px rgba(81, 77, 108, 0.25);
}

.priest-tab-btn.active .tab-cross-icon {
  color: #fbbf24;
}

.tab-cross-icon {
  color: #d5aa4a;
  font-size: 0.85rem;
}

/* Filter Card */
.priests-filter-card {
  background: var(--white);
  border-radius: 18px;
  padding: 1.5rem 1.75rem;
  border: 1.5px solid rgba(81, 77, 108, 0.12);
  box-shadow: 0 8px 24px rgba(81, 77, 108, 0.05);
  margin-bottom: 1.75rem;
}

.priests-search-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(81, 77, 108, 0.08);
}

.priests-search-form {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 1;
  max-width: 580px;
}

.priests-search-box {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}

.priests-search-box .search-icon {
  position: absolute;
  left: 1rem;
  color: #94a3b8;
  font-size: 0.95rem;
  pointer-events: none;
}

.priests-search-input {
  width: 100%;
  padding: 0.65rem 2.2rem 0.65rem 2.6rem;
  border-radius: 10px;
  border: 1.5px solid rgba(81, 77, 108, 0.18);
  font-size: 0.92rem;
  color: #1e293b;
  outline: none;
  background: #f8f7fa;
  transition: all 0.2s ease;
}

.priests-search-input:focus {
  background: #ffffff;
  border-color: #d5aa4a;
  box-shadow: 0 0 0 3px rgba(213, 170, 74, 0.15);
}

.priests-clear-search-btn {
  position: absolute;
  right: 0.75rem;
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  font-size: 0.85rem;
  padding: 0.2rem;
}

.priests-clear-search-btn:hover {
  color: #ef4444;
}

.priests-search-submit-btn {
  padding: 0.65rem 1.4rem;
  border-radius: 10px;
  background: var(--forest-green);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.priests-search-submit-btn:hover {
  background: #3e3a53;
  transform: translateY(-1px);
}

.priests-reset-filters-btn {
  background: none;
  border: 1px solid rgba(81, 77, 108, 0.2);
  color: #64748b;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.priests-reset-filters-btn:hover {
  color: #ef4444;
  border-color: #ef4444;
}

/* Alphabet Filter Row */
.priests-alphabet-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.alphabet-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
}

.priests-alphabet-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.priest-alphabet-btn {
  min-width: 32px;
  height: 32px;
  padding: 0 0.5rem;
  border-radius: 8px;
  border: 1px solid rgba(81, 77, 108, 0.12);
  background: #f4f3f8;
  color: var(--forest-green);
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.priest-alphabet-btn:hover {
  background: #e6e4ee;
  color: #d97706;
  border-color: #d5aa4a;
}

.priest-alphabet-btn.active {
  background: #d5aa4a;
  color: #ffffff;
  border-color: #d5aa4a;
  box-shadow: 0 4px 10px rgba(213, 170, 74, 0.35);
  font-weight: 800;
}

/* Status Bar */
.priests-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.priests-count-badge {
  font-size: 0.9rem;
  color: #64748b;
}

.priests-count-badge strong {
  color: var(--forest-green);
}

/* 4 Cards Per Row Grid */
.priests-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .priests-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 768px) {
  .priests-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }
}

@media (max-width: 380px) {
  .priests-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }
}

/* Card Styling */
.priest-card {
  background: var(--white);
  border-radius: 16px;
  border: 1.5px solid rgba(81, 77, 108, 0.12);
  box-shadow: 0 6px 18px rgba(81, 77, 108, 0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.priest-card:hover {
  transform: translateY(-5px);
  border-color: #d5aa4a;
  box-shadow: 0 14px 32px rgba(81, 77, 108, 0.12);
}

.priest-card-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.15;
  height: auto;
  background: #f1f0f5;
  overflow: hidden;
}

.priest-card-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s ease;
  display: block;
}

.priest-card:hover .priest-card-photo {
  transform: scale(1.04);
}

.priest-status-tag {
  display: none !important;
}

.priest-heaven-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(81, 77, 108, 0.92);
  color: #fbbf24;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 6px;
  border: 1px solid #fbbf24;
  backdrop-filter: blur(4px);
}

.priest-card-body {
  padding: 0.9rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.priest-card-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--forest-green);
  line-height: 1.3;
  margin-bottom: 0.35rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: auto;
}

.priest-card-line {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: #475569;
  line-height: 1.35;
  margin-bottom: 0.32rem;
}

.priest-card-line .line-icon {
  font-size: 0.85rem;
  color: #d5aa4a;
  margin-top: 2px;
  flex-shrink: 0;
}

.priest-card-line .line-text {
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.priest-posting-line .line-icon {
  color: #d97706;
}

.priest-heaven-date-line .line-icon {
  color: #fbbf24;
}

.priest-card-action {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(81, 77, 108, 0.08);
}

.priest-view-link {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--forest-green);
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s ease, color 0.2s ease;
}

.priest-card:hover .priest-view-link {
  color: #d97706;
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .priest-card-body {
    padding: 0.75rem 0.65rem 0.85rem;
  }

  .priest-card-name {
    font-size: 0.95rem;
    line-height: 1.25;
    margin-bottom: 0.25rem;
  }

  .priest-card-line {
    font-size: 0.76rem;
    gap: 0.35rem;
    margin-bottom: 0.22rem;
  }

  .priest-card-line .line-icon {
    font-size: 0.75rem;
  }

  .priest-card-action {
    padding-top: 0.5rem;
  }

  .priest-view-link {
    font-size: 0.76rem;
  }
}

/* Empty State */
.priests-empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--white);
  border-radius: 18px;
  border: 1.5px dashed rgba(81, 77, 108, 0.15);
  margin: 1.5rem 0;
}

.empty-icon-wrap {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  background: #f4f3f8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 1.6rem;
}

.empty-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--forest-green);
  margin-bottom: 0.5rem;
}

.empty-desc {
  color: #64748b;
  max-width: 420px;
  margin: 0 auto 1.5rem;
  font-size: 0.95rem;
}

.priests-reset-btn-pill {
  padding: 0.6rem 1.4rem;
  border-radius: 30px;
  background: var(--forest-green);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.priests-reset-btn-pill:hover {
  background: #3c3852;
}

/* Pagination Controls */
.priests-pagination-wrap {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
  margin-bottom: 2rem;
}

.priests-pagination-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.priests-pagination-btns {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.priests-page-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 0.95rem;
  border-radius: 10px;
  border: 1px solid rgba(81, 77, 108, 0.18);
  background: var(--white);
  color: var(--forest-green);
  font-weight: 700;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  margin: 0 0.2rem;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(81, 77, 108, 0.04);
}

.priests-page-btn:hover:not(.disabled) {
  border-color: #d5aa4a;
  color: #d97706;
  background: #f8f7fa;
}

.priests-page-btn.active {
  background: var(--forest-green);
  color: #ffffff;
  border-color: var(--forest-green);
  box-shadow: 0 4px 12px rgba(81, 77, 108, 0.2);
}

.priests-page-btn.disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

/* Card Category Badges (Homepage / Directory) */
.priest-category-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2;
}

.priest-category-badge.diocesan {
  background: rgba(26, 22, 45, 0.9);
  color: #f6c867;
  border: 1px solid rgba(246, 200, 103, 0.45);
}

.priest-category-badge.religious {
  background: rgba(15, 76, 58, 0.9);
  color: #6ee7b7;
  border: 1px solid rgba(110, 231, 183, 0.45);
}

.priest-category-badge.deceased {
  background: rgba(69, 26, 31, 0.92);
  color: #fca5a5;
  border: 1px solid rgba(252, 165, 165, 0.45);
}

/* Modal Popup Styles */
.priest-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 12, 28, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: modalFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.priest-modal-container {
  background: #ffffff;
  border-radius: 22px;
  max-width: 760px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 65px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(213, 170, 74, 0.25);
  border: 1px solid rgba(213, 170, 74, 0.25);
  animation: modalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.priest-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f1f0f5;
  border: 1px solid rgba(81, 77, 108, 0.1);
  font-size: 1rem;
  color: #514d6c;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.priest-modal-close:hover {
  background: #ef4444;
  color: #ffffff;
  border-color: #ef4444;
  transform: rotate(90deg);
}

.priest-modal-content {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
  padding: 2.25rem;
}

@media (max-width: 680px) {
  .priest-modal-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }
}

.priest-modal-left {
  display: flex;
  flex-direction: column;
}

.priest-modal-photo-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(81, 77, 108, 0.12);
  background: #f4f3f7;
  border: 1.5px solid rgba(81, 77, 108, 0.1);
  aspect-ratio: 1 / 1.2;
}

.priest-modal-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

@media (max-width: 680px) {
  .priest-modal-backdrop {
    padding: 0.85rem;
  }

  .priest-modal-container {
    border-radius: 16px;
    max-height: 92vh;
  }

  .priest-modal-content {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.35rem 1.15rem;
  }

  .priest-modal-photo-frame {
    max-width: 175px;
    margin: 0 auto;
    aspect-ratio: 1 / 1.18;
  }

  .priest-modal-photo {
    height: 100%;
  }

  .priest-modal-name {
    font-size: 1.35rem;
    padding-right: 1.5rem;
  }
}

.priest-modal-right {
  display: flex;
  flex-direction: column;
}

.priest-modal-name {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--forest-green);
  line-height: 1.25;
  margin-bottom: 0.65rem;
  padding-right: 2rem;
}

.priest-modal-role-pill {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.5rem;
  background: #fdf8ee;
  border: 1px solid rgba(213, 170, 74, 0.35);
  color: #78350f;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border-radius: 10px;
  line-height: 1.4;
  margin-bottom: 1.1rem;
}

.priest-modal-role-pill i {
  color: #d97706;
  margin-top: 2px;
  flex-shrink: 0;
}

.priest-modal-divider {
  width: 44px;
  height: 3px;
  background: #d5aa4a;
  border-radius: 2px;
  margin-bottom: 1.25rem;
}

.priest-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

@media (max-width: 520px) {
  .priest-details-grid {
    grid-template-columns: 1fr;
  }
}

.priest-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0.85rem;
  background: #f9f8fb;
  border-radius: 12px;
  border: 1px solid rgba(81, 77, 108, 0.08);
  transition: all 0.2s ease;
}

.priest-detail-item:hover {
  background: #ffffff;
  border-color: rgba(213, 170, 74, 0.35);
  box-shadow: 0 4px 12px rgba(81, 77, 108, 0.06);
}

.priest-detail-item-full {
  grid-column: 1 / -1;
}

.priest-detail-heaven {
  background: #fffdf7;
  border-color: rgba(213, 170, 74, 0.35);
}

.detail-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(81, 77, 108, 0.08);
  color: var(--forest-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.detail-icon-box.gold {
  background: rgba(213, 170, 74, 0.2);
  color: #b45309;
}

.detail-text-box {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.detail-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}

.detail-value {
  font-size: 0.92rem;
  color: #1e293b;
  font-weight: 600;
  line-height: 1.35;
  word-break: break-word;
}

.priest-modal-footer {
  margin-top: auto;
  display: flex;
  justify-content: flex-end;
  padding-top: 0.85rem;
}

.priest-modal-close-btn {
  padding: 0.55rem 1.4rem;
  border-radius: 10px;
  background: var(--forest-green);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.priest-modal-close-btn:hover {
  background: #3e3a53;
  transform: translateY(-1px);
}

/* ==========================================================================
   Schools Module Styles (Modal + Directory 2-Card Grid)
   ========================================================================== */

/* School Detail Modal */
.school-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 12, 28, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: modalFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.school-modal-container {
  background: #ffffff;
  border-radius: 24px;
  max-width: 950px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 65px rgba(15, 23, 42, 0.28), 0 0 0 1px rgba(213, 170, 74, 0.25);
  border: 1px solid rgba(213, 170, 74, 0.2);
  animation: modalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.school-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(81, 77, 108, 0.15);
  font-size: 1rem;
  color: #1a162d;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 15;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.school-modal-close:hover {
  background: #ef4444;
  color: #ffffff;
  border-color: #ef4444;
  transform: rotate(90deg);
}

.school-modal-banner {
  position: relative;
  height: 350px;
  background: #f1f0f5;
  overflow: hidden;
}

.school-modal-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.school-modal-logo-badge {
  position: absolute;
  bottom: 8px;
  left: 2rem;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #ffffff;
  padding: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  border: 3px solid var(--gold);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.school-modal-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.school-modal-body {
  padding: 2.25rem 2rem 2rem;
}

.school-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.school-modal-title-wrap {
  flex: 1;
  min-width: 260px;
}

.school-modal-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--forest-green);
  line-height: 1.25;
  margin-bottom: 0.35rem;
}

.school-modal-location {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: #475569;
  font-weight: 500;
}

.school-modal-location i {
  font-size: 1.05rem;
  margin-right: 0.2rem;
}

.school-modal-district-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(81, 77, 108, 0.08);
  color: #475569;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 6px;
  margin-left: 0.35rem;
}

.school-modal-district-badge strong {
  font-weight: 700;
  color: var(--forest-green);
}

.school-modal-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.school-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 5px 12px;
  border-radius: 8px;
  text-transform: uppercase;
}

.school-badge i {
  font-size: 0.88rem;
  margin-right: 0.25rem;
}

.school-badge-level {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.school-badge-aff {
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.school-badge-est {
  background: #fdf8ee;
  color: #92400e;
  border: 1px solid rgba(213, 170, 74, 0.35);
}

.school-modal-divider {
  height: 1px;
  background: rgba(81, 77, 108, 0.1);
  margin-bottom: 1.5rem;
}

.school-details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 600px) {
  .school-details-grid {
    grid-template-columns: 1fr;
  }
}

.school-detail-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  background: #f9f8fb;
  border-radius: 14px;
  border: 1px solid rgba(81, 77, 108, 0.08);
  transition: all 0.2s ease;
}

.school-detail-card:hover {
  background: #ffffff;
  border-color: rgba(213, 170, 74, 0.35);
  box-shadow: 0 4px 12px rgba(81, 77, 108, 0.06);
}

.detail-icon-circle {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(81, 77, 108, 0.08);
  color: var(--forest-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.detail-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.detail-lbl {
  font-size: 0.7rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.detail-val {
  font-size: 0.92rem;
  color: #1e293b;
  font-weight: 600;
  line-height: 1.35;
  word-break: break-word;
}

.detail-link {
  color: var(--forest-green);
  text-decoration: none;
}

.detail-link:hover {
  color: #d97706;
  text-decoration: underline;
}

.school-modal-about {
  background: #fbfafc;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  border-left: 3px solid var(--gold);
  margin-bottom: 1.5rem;
}

.school-modal-about .about-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--forest-green);
  margin-bottom: 0.3rem;
}

.school-modal-about .about-text {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.5;
  margin: 0;
}

.school-modal-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(81, 77, 108, 0.08);
}

.school-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 1.4rem;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
}

.school-action-btn i {
  font-size: 1rem;
}

.school-website-btn {
  background: var(--forest-green);
  color: #ffffff;
}

.school-website-btn:hover {
  background: #3e3a53;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(81, 77, 108, 0.25);
}

.school-map-btn {
  background: #fdf8ee;
  color: #b45309;
  border: 1px solid rgba(213, 170, 74, 0.4);
}

.school-map-btn:hover {
  background: #d5aa4a;
  color: #1a162d;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(213, 170, 74, 0.3);
}

.school-close-action-btn {
  margin-left: auto;
  background: #f1f0f5;
  color: #514d6c;
}

.school-close-action-btn:hover {
  background: #e2e0ea;
}

/* --------------------------------------------------------------------------
   Schools Directory Page (2 Cards Per Row)
   -------------------------------------------------------------------------- */
.schools-directory-section {
  padding: 3rem 0 5rem;
  background: #fbfbfd;
}

.schools-filter-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 8px 30px rgba(81, 77, 108, 0.06);
  border: 1px solid rgba(81, 77, 108, 0.1);
  margin-bottom: 2.25rem;
}

.schools-search-form {
  display: flex;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

@media (max-width: 680px) {
  .schools-search-form {
    flex-direction: column;
  }
}

.schools-search-box {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.schools-search-box .search-icon {
  position: absolute;
  left: 1rem;
  color: #94a3b8;
  font-size: 1.1rem;
  pointer-events: none;
}

.schools-search-input {
  width: 100%;
  padding: 0.75rem 2.5rem 0.75rem 2.85rem;
  border-radius: 12px;
  border: 1.5px solid rgba(81, 77, 108, 0.18);
  font-size: 0.92rem;
  transition: all 0.2s ease;
  background: #fbfafc;
}

.schools-search-input:focus {
  outline: none;
  border-color: var(--gold);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(213, 170, 74, 0.15);
}

.schools-clear-btn {
  position: absolute;
  right: 0.85rem;
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1rem;
  cursor: pointer;
}

.schools-search-btn {
  padding: 0.75rem 1.6rem;
  border-radius: 12px;
  background: var(--forest-green);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.schools-search-btn:hover {
  background: #3e3a53;
  transform: translateY(-1px);
}

.schools-districts-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(81, 77, 108, 0.08);
}

.districts-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.districts-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.district-pill-btn {
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  background: #f1f0f5;
  color: #514d6c;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.district-pill-btn:hover {
  background: #e2e0ea;
  color: var(--forest-green);
}

.district-pill-btn.active {
  background: var(--forest-green);
  color: #ffffff;
  border-color: var(--forest-green);
}

.schools-active-filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px dashed rgba(81, 77, 108, 0.15);
  font-size: 0.84rem;
  color: #64748b;
}

.schools-reset-btn {
  background: none;
  border: none;
  color: #dc2626;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.schools-reset-btn:hover {
  text-decoration: underline;
}

/* 2-Column Big Cards Grid */
.schools-two-col-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (max-width: 960px) {
  .schools-two-col-grid {
    grid-template-columns: 1fr;
  }
}

.school-big-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(81, 77, 108, 0.08);
  border: 1.5px solid rgba(81, 77, 108, 0.1);
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.school-big-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 20px 45px rgba(81, 77, 108, 0.15);
}

.school-big-card-img-wrap {
  width: 100%;
  height: 260px;
  position: relative;
  overflow: hidden;
  background: #f1f0f5;
  cursor: pointer;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .school-big-card-img-wrap {
    height: 210px;
  }
}

.school-big-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
  display: block;
}

.school-big-card:hover .school-big-card-img {
  transform: scale(1.06);
}

.school-big-card-sno {
  position: absolute;
  bottom: 12px;
  right: 12px;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.85);
  color: #f6c867;
  font-size: 0.75rem;
  font-weight: 800;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(246, 200, 103, 0.4);
}

.school-big-card-body {
  padding: 1.4rem 1.6rem 1.6rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.school-card-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}

.school-tag {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 9px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.school-tag-level {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.school-tag-aff {
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.school-tag-est {
  background: #fdf8ee;
  color: #92400e;
  border: 1px solid rgba(213, 170, 74, 0.3);
}

.school-big-card-title-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.6rem;
}

.school-title-logo-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  padding: 3px;
  border: 2px solid var(--gold);
  box-shadow: 0 4px 12px rgba(81, 77, 108, 0.12);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.school-title-logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.school-big-card-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--forest-green);
  line-height: 1.25;
  margin: 0;
  cursor: pointer;
  transition: color 0.2s ease;
}

.school-big-card:hover .school-big-card-title {
  color: #b45309;
}

.school-big-card-loc-est-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
  font-size: 0.88rem;
}

.school-big-card-loc {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #475569;
  font-weight: 500;
  min-width: 0;
}

.school-big-card-loc i {
  font-size: 0.95rem;
  margin-right: 0.2rem;
}

.school-card-district-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(81, 77, 108, 0.08);
  color: #475569;
  font-size: 0.74rem;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 6px;
  margin-left: 0.35rem;
}

.school-card-district-tag b {
  font-weight: 700;
  color: var(--forest-green);
}

.school-big-card-est {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  background: #fdf8eb;
  color: #b45309;
  border: 1px solid rgba(213, 170, 74, 0.35);
  white-space: nowrap;
}

.school-big-card-est i {
  font-size: 0.85rem;
  margin-right: 0.2rem;
}

.school-card-key-info {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.83rem;
  color: #334155;
  margin-bottom: 1.25rem;
  background: #f9f8fc;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(81, 77, 108, 0.06);
}

.key-info-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.key-info-item .info-icon {
  font-size: 0.9rem;
  color: var(--gold);
  flex-shrink: 0;
  margin-right: 0.25rem;
}

.key-info-item .info-val {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.key-info-item a {
  color: var(--forest-green);
  text-decoration: none;
  font-weight: 600;
}

.key-info-item a:hover {
  color: #d97706;
  text-decoration: underline;
}

.school-big-card-actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(81, 77, 108, 0.08);
}

.school-btn-sm {
  padding: 0.45rem 0.95rem;
  border-radius: 9px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.school-btn-web {
  background: rgba(81, 77, 108, 0.08);
  color: var(--forest-green);
  border: 1px solid rgba(81, 77, 108, 0.15);
}

.school-btn-web:hover {
  background: var(--forest-green);
  color: #ffffff;
  border-color: var(--forest-green);
}

.school-btn-map {
  background: #fdf8ee;
  color: #b45309;
  border: 1px solid rgba(213, 170, 74, 0.35);
}

.school-btn-map:hover {
  background: var(--gold);
  color: #1a162d;
  border-color: var(--gold);
}

.school-btn-details {
  margin-left: auto;
  background: var(--forest-green);
  color: #ffffff;
}

.school-btn-details:hover {
  background: #d97706;
  color: #ffffff;
  transform: translateX(3px);
}

@media (max-width: 580px) {
  .school-big-card-body {
    padding: 1.15rem 1.1rem 1.25rem;
  }

  .school-big-card-actions {
    gap: 0.5rem;
  }

  .school-btn-sm {
    flex: 1 1 auto;
    justify-content: center;
    padding: 0.55rem 0.85rem;
    font-size: 0.8rem;
  }

  .school-btn-details {
    width: 100%;
    margin-left: 0;
    justify-content: center;
    order: 3;
    padding: 0.6rem 1rem;
  }
}

.schools-empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background: #ffffff;
  border-radius: 20px;
  border: 1.5px dashed rgba(81, 77, 108, 0.15);
  margin-bottom: 2rem;
}

.schools-empty-state .empty-icon {
  font-size: 3rem;
  color: #94a3b8;
  margin-bottom: 1rem;
}

/* ========================================================
   PARISH DEDICATED DETAIL / READ MORE PAGE STYLES
   ======================================================== */
.parish-detail-section {
  background: #fbf9f5;
  padding: 3rem 0 5rem;
  min-height: 85vh;
}

.parish-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--forest-green, #514d6c);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  padding: 0.5rem 1rem;
  background: #ffffff;
  border-radius: 9999px;
  border: 1px solid rgba(81, 77, 108, 0.15);
  box-shadow: 0 2px 8px rgba(81, 77, 108, 0.05);
  transition: all 0.25s ease;
  margin-bottom: 1.75rem;
}

.parish-back-link:hover {
  background: var(--forest-green, #514d6c);
  color: #ffffff;
  transform: translateX(-4px);
}

/* Main Showcase Card */
.parish-showcase-card {
  background: #ffffff;
  border-radius: 24px;
  border: 1.5px solid rgba(81, 77, 108, 0.1);
  box-shadow: 0 15px 45px rgba(81, 77, 108, 0.09);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 2rem;
}

@media (max-width: 960px) {
  .parish-showcase-card {
    grid-template-columns: 1fr;
  }
}

.parish-showcase-img-col {
  position: relative;
  min-height: 420px;
  background: #241f2f;
  overflow: hidden;
}

@media (max-width: 960px) {
  .parish-showcase-img-col {
    min-height: 320px;
  }
}

.parish-showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.parish-showcase-card:hover .parish-showcase-img {
  transform: scale(1.04);
}

.parish-showcase-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(26, 23, 33, 0.65) 100%);
  pointer-events: none;
}

.parish-showcase-badge-deanery {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: rgba(26, 23, 33, 0.88);
  color: var(--gold, #d5aa4a);
  backdrop-filter: blur(8px);
  padding: 0.45rem 1.1rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  border: 1px solid rgba(213, 170, 74, 0.45);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.parish-showcase-badge-estd {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background: rgba(255, 255, 255, 0.95);
  color: #1a1721;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  z-index: 2;
}

.parish-showcase-info-col {
  padding: 2.75rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 600px) {
  .parish-showcase-info-col {
    padding: 1.75rem 1.5rem;
  }
}

.parish-header-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.parish-cross-icon {
  color: var(--gold, #d5aa4a);
  font-size: 1.5rem;
  line-height: 1;
}

.parish-loc-pill {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #92400e;
  background: #fdf8ee;
  border: 1px solid rgba(213, 170, 74, 0.35);
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
}

.parish-detail-title {
  font-family: var(--font-serif, Cinzel, serif);
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  font-weight: 700;
  color: #2b2538;
  line-height: 1.22;
  margin-bottom: 0.85rem;
}

.parish-detail-address {
  color: #554f60;
  font-size: 0.96rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.parish-patron-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
}

.parish-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.95rem;
  background: #faf8f4;
  border: 1px solid #ede8dc;
  border-radius: 12px;
  font-size: 0.84rem;
  color: #3a3347;
  font-weight: 600;
}

.parish-badge-item b {
  color: #1a1721;
}

/* Parish Priest Card */
.parish-priest-card {
  background: linear-gradient(135deg, #fbf7ee 0%, #f4ede0 100%);
  border: 1.5px solid #ebdcb9;
  border-radius: 18px;
  padding: 1.1rem 1.35rem;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 1.75rem;
}

.parish-priest-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  background: #3e384c;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold, #d5aa4a);
  font-size: 1.6rem;
  border: 2px solid var(--gold, #d5aa4a);
  box-shadow: 0 4px 12px rgba(81, 77, 108, 0.15);
}

.parish-priest-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.parish-priest-info {
  flex: 1;
  min-width: 0;
}

.parish-priest-role {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8c6b1f;
  margin-bottom: 0.15rem;
}

.parish-priest-name {
  font-size: 1.12rem;
  font-weight: 800;
  color: #2b2538;
  line-height: 1.25;
}

.parish-priest-link {
  font-size: 0.8rem;
  color: #b8860b;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.25rem;
  transition: color 0.2s ease;
}

.parish-priest-link:hover {
  color: #2b2538;
  text-decoration: underline;
}

/* Actions Row */
.parish-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.parish-btn-map {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: linear-gradient(135deg, #d5aa4a 0%, #b8860b 100%);
  color: #1a1721 !important;
  font-weight: 500;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  padding: 0.7rem 1.5rem;
  border-radius: 9999px;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(213, 170, 74, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.parish-btn-map:hover {
  background: #ffffff;
  color: #1a1721 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.parish-btn-pill-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.86rem;
  font-weight: 600;
  color: #2b2538;
  background: #ffffff;
  border: 1.5px solid rgba(81, 77, 108, 0.2);
  text-decoration: none;
  transition: all 0.2s ease;
}

.parish-btn-pill-link:hover {
  background: #2b2538;
  color: #ffffff;
  border-color: #2b2538;
}

@media (max-width: 600px) {
  .parish-actions-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .parish-btn-map,
  .parish-btn-pill-link {
    width: 100%;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
  }

  .parish-patron-badges {
    gap: 0.45rem;
  }

  .parish-badge-item {
    font-size: 0.82rem;
    padding: 0.35rem 0.75rem;
    flex: 1 1 auto;
  }

  .parish-priest-card {
    padding: 0.95rem 1rem;
    gap: 0.85rem;
  }

  .parish-priest-avatar {
    width: 50px;
    height: 50px;
  }

  .parish-priest-name {
    font-size: 1.05rem;
  }
}

/* 4-Column Key Metrics Grid */
.parish-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 900px) {
  .parish-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .parish-metrics-grid {
    grid-template-columns: 1fr;
  }
}

.parish-metric-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1.5px solid rgba(81, 77, 108, 0.08);
  box-shadow: 0 6px 20px rgba(81, 77, 108, 0.04);
  padding: 1.5rem 1.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.parish-metric-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(81, 77, 108, 0.09);
  border-color: var(--gold);
}

.parish-metric-icon {
  font-size: 2rem;
  color: var(--gold, #d5aa4a);
  margin-bottom: 0.5rem;
}

.parish-metric-val {
  font-size: 1.55rem;
  font-weight: 800;
  color: #2b2538;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.parish-metric-label {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7a7585;
}

/* 2-Column Main Layout: Main Content + Sidebar */
.parish-main-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 960px) {
  .parish-main-layout {
    grid-template-columns: 1fr;
  }
}

.parish-content-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1.5px solid rgba(81, 77, 108, 0.08);
  box-shadow: 0 10px 30px rgba(81, 77, 108, 0.04);
  padding: 2.25rem 2.5rem;
  margin-bottom: 2rem;
}

@media (max-width: 600px) {
  .parish-content-card {
    padding: 1.5rem;
  }
}

.parish-section-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.5rem;
}

.parish-section-title {
  font-family: var(--font-serif, Cinzel, serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: #2b2538;
  margin: 0;
}

.parish-title-gold-bar {
  width: 54px;
  height: 3px;
  background: linear-gradient(90deg, #d5aa4a, transparent);
  border-radius: 2px;
  margin-bottom: 1.4rem;
}

.parish-history-body {
  color: #4a4456;
  line-height: 1.75;
  font-size: 14px;
  white-space: pre-line;
}

.parish-history-body p,
.parish-content-card p {
  font-size: 14px;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.parish-founders-box {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px dashed #e8e2d5;
  color: #554f60;
  font-size: 0.92rem;
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}

/* Custom Distinct Sections for Sub-Stations, Congregations, and Institutions */
.parish-section-caption {
  font-size: 0.8rem;
  color: #7a7585;
  margin-top: 0.15rem;
  font-weight: 500;
}

.parish-section-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.badge-substations {
  background: #fbf5e6;
  color: #b8860b;
  border: 1px solid #ebdcb9;
}

.badge-congregations {
  background: #fdf0f2;
  color: #c0392b;
  border: 1px solid #fadbd8;
}

.badge-institutions {
  background: #eef4fb;
  color: #2471a3;
  border: 1px solid #d4e6f1;
}

.parish-title-gold-bar.congregation-bar {
  background: linear-gradient(90deg, #c0392b, transparent);
}

.parish-title-gold-bar.institution-bar {
  background: linear-gradient(90deg, #2471a3, transparent);
}

.parish-cards-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.parish-pill-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.8rem 1.15rem;
  border-radius: 14px;
  background: #faf8f5;
  border: 1px solid #eee8dc;
  transition: all 0.25s ease;
}

.parish-pill-item:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 14px rgba(81, 77, 108, 0.08);
}

.item-substation {
  background: #fffcf6;
  border-color: #f1e4c7;
}

.item-substation:hover {
  border-color: #d5aa4a;
  background: #ffffff;
}

.item-substation .parish-item-icon {
  color: #b8860b;
  font-size: 1rem;
}

.item-congregation {
  background: #fffafa;
  border-color: #f9e2e5;
}

.item-congregation:hover {
  border-color: #e6b0b8;
  background: #ffffff;
}

.item-congregation .parish-item-icon {
  color: #c0392b;
  font-size: 1rem;
}

.item-institution {
  background: #f8fbff;
  border-color: #e0ecf7;
}

.item-institution:hover {
  border-color: #adcde7;
  background: #ffffff;
}

.item-institution .parish-item-icon {
  color: #2471a3;
  font-size: 1rem;
}

.parish-item-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ede6d6;
  color: #554f60;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.item-congregation .parish-item-num {
  background: #fbe3e6;
  color: #a93226;
}

.item-institution .parish-item-num {
  background: #e1eef9;
  color: #2471a3;
}

.parish-item-content {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  flex: 1;
}

.parish-item-name {
  font-size: 14px;
  color: #2b2538;
  font-weight: 600;
  line-height: 1.45;
}

/* Sidebar Styles */
.parish-sidebar-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1.5px solid rgba(81, 77, 108, 0.08);
  box-shadow: 0 10px 30px rgba(81, 77, 108, 0.04);
  padding: 1.75rem 1.6rem;
  margin-bottom: 2rem;
}

.parish-sidebar-title {
  font-family: var(--font-serif, Cinzel, serif);
  font-size: 1.22rem;
  font-weight: 700;
  color: #2b2538;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1.5px solid #f1ece1;
}

.parish-info-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.parish-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.92rem;
}

.parish-info-item .info-icon {
  color: var(--gold, #d5aa4a);
  font-size: 1.15rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.parish-info-label {
  font-weight: 700;
  color: #2b2538;
  margin-bottom: 0.15rem;
}

.parish-info-text {
  color: #554f60;
}

.parish-info-text a {
  color: var(--forest-green, #514d6c);
  text-decoration: none;
  font-weight: 600;
}

.parish-info-text a:hover {
  text-decoration: underline;
}

/* Related Parishes Mini Cards */
.parish-related-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.parish-related-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.7rem;
  background: #faf8f4;
  border: 1px solid #ede8dc;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.parish-related-card:hover {
  background: #ffffff;
  border-color: var(--gold);
  transform: translateX(4px);
  box-shadow: 0 6px 18px rgba(81, 77, 108, 0.08);
}

.parish-related-thumb {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  overflow: hidden;
  background: #2b2538;
  flex-shrink: 0;
}

.parish-related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.parish-related-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: #2b2538;
  line-height: 1.3;
  margin-bottom: 0.2rem;
}

.parish-related-meta {
  font-size: 0.78rem;
  color: #878191;
}

.parish-all-link-btn {
  display: block;
  text-align: center;
  margin-top: 1.25rem;
  padding: 0.65rem 1rem;
  border-radius: 12px;
  background: #fdf8ee;
  border: 1px solid rgba(213, 170, 74, 0.4);
  color: #92400e;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.2s ease;
}

.parish-all-link-btn:hover {
  background: var(--gold, #d5aa4a);
  color: #1a1721;
}

/* ==========================================================================
   DIOCESE AT A GLANCE — CLEAN IMAGE & STATS SHOWCASE
   ========================================================================== */
.glance-clean-section {
  padding: 3.5rem 0 5rem;
  background: #fbfaf8;
  min-height: 60vh;
}

.glance-container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.glance-clean-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.glance-item-card {
  flex: 0 1 calc(25% - 1.25rem);
  min-width: 260px;
  max-width: 295px;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #ebe6f2;
  box-shadow: 0 6px 20px rgba(22, 19, 34, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.glance-item-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(22, 19, 34, 0.12);
  border-color: #d5aa4a;
}

.glance-item-img-wrap {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: #231e30;
}

.glance-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.glance-item-card:hover .glance-item-img {
  transform: scale(1.06);
}

.glance-item-content {
  padding: 1.4rem 1.25rem 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #ffffff;
}

.glance-item-count {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.15rem;
  margin-bottom: 0.35rem;
}

.glance-item-count .count-num {
  font-size: 2.25rem;
  font-weight: 800;
  color: #c99326;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.glance-item-count .count-suffix {
  font-size: 1.2rem;
  font-weight: 700;
  color: #b45309;
}

.glance-item-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e192a;
  margin: 0;
  line-height: 1.3;
}

/* Responsive Grid */
@media (max-width: 1200px) {
  .glance-item-card {
    flex: 0 1 calc(33.333% - 1.25rem);
    max-width: 330px;
  }

  .glance-item-img-wrap {
    height: 260px;
  }
}

@media (max-width: 860px) {
  .glance-item-card {
    flex: 0 1 calc(50% - 1rem);
    max-width: 360px;
  }

  .glance-item-img-wrap {
    height: 240px;
  }
}

@media (max-width: 540px) {
  .glance-item-card {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .glance-item-img-wrap {
    height: 250px;
  }
}

/* ==========================================================================
   Vision & Mission Section (Clean White Theme + Subtle Shadow Watermark)
   ========================================================================== */
.vision-mission-white-section {
  position: relative;
  background-color: #f8f7fa;
  padding: 3rem 0 3.25rem;
  margin-top: 80px;
  overflow: hidden;
  border-bottom: 1.5px solid #ebdcb9;
}

@media (max-width: 991px) {
  .vision-mission-white-section {
    margin-top: 0;
    padding: 2.25rem 0 2.5rem;
  }
}

/* Watermark background image with 0.2 opacity */
.vm-watermark-bg {
  position: absolute;
  inset: 0;
  background: url('/assets/images/home/vision-mission-bg.jpg') center center / cover no-repeat;
  opacity: 0.2;
  filter: contrast(1.15) brightness(1.02);
  pointer-events: none;
  z-index: 1;
}

/* #f8f7fa overlay over the image */
.vm-watermark-overlay {
  position: absolute;
  inset: 0;
  background: rgba(248, 247, 250, 0.45);
  pointer-events: none;
  z-index: 1;
}

.vm-white-container {
  position: relative;
  z-index: 2;
  max-width: 1140px;
  margin: 0 auto;
}

.vm-white-header {
  margin-bottom: 1.5rem;
  text-align: center;
}

.vm-white-title {
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 700;
  color: #2b2538;
  letter-spacing: 0.01em;
  margin: 0;
}

.vm-gold-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
}

.vm-divider-line {
  width: 50px;
  height: 2px;
  background: #d5aa4a;
  border-radius: 2px;
}

.vm-divider-cross {
  color: #d5aa4a;
  font-size: 1.05rem;
  font-weight: 700;
}

/* Unified White Showcase Card */
.vm-white-card {
  background: linear-gradient(180deg, #f8f5ec 0%, #ffffff 50%, #f8f5ec 100%);
  border: 1.5px solid #ebdcb9;
  border-radius: 24px;
  box-shadow: 0 10px 32px rgba(81, 77, 108, 0.07), 0 2px 6px rgba(81, 77, 108, 0.03);
  padding: 2rem 3rem 2.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.32s ease, border-color 0.32s ease, transform 0.32s ease;
}

.vm-white-card:hover {
  border-color: #d5aa4a;
  box-shadow: 0 16px 42px rgba(81, 77, 108, 0.11);
  transform: translateY(-2px);
}

/* Centered Top Motto inside the Card */
.vm-card-motto-row {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 1.75rem;
}

.vm-motto-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.4rem 1.4rem;
  background: #ffffff;
  border: 1.5px solid #ebdcb9;
  border-radius: 9999px;
  box-shadow: 0 2px 10px rgba(184, 134, 11, 0.08);
}

.vm-motto-icon {
  color: #d5aa4a;
  font-weight: 700;
  font-size: 0.95rem;
}

.vm-motto-label {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8c6d1f;
}

.vm-motto-quote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #2b2538;
  font-style: italic;
  letter-spacing: 0.01em;
}

/* 2-Column Content Grid: Vision & Mission */
.vm-card-content-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2.75rem;
  align-items: center;
  width: 100%;
}

@media (max-width: 900px) {
  .vm-white-card {
    padding: 1.75rem 1.4rem 2rem;
  }

  .vm-card-content-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .vm-motto-pill {
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
    text-align: center;
  }

  .vm-motto-quote {
    font-size: 1.1rem;
  }
}

.vm-white-col {
  display: flex;
  flex-direction: column;
}

.vm-col-header {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  margin-bottom: 1.15rem;
}

.vm-col-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vision-light-glow {
  background: #eff6ff;
  border: 1.5px solid #bfdbfe;
  color: #1d4ed8;
}

.mission-light-glow {
  background: #fef2f2;
  border: 1.5px solid #fecaca;
  color: #b91c1c;
}

.vm-col-svg {
  width: 24px;
  height: 24px;
}

.vm-col-heading {
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: clamp(1.6rem, 2.2vw, 1.95rem);
  font-weight: 700;
  color: #2b2538;
  margin: 0;
  letter-spacing: 0.01em;
}

.vm-col-desc {
  font-size: 15px;
  color: #4b4658;
  line-height: 1.8;
  margin: 0;
}

/* Central Divider */
.vm-white-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  height: 100%;
}

.vm-white-divider .vm-vert-line {
  width: 1.5px;
  flex-grow: 1;
  min-height: 60px;
  background: linear-gradient(180deg, transparent, #ebdcb9 30%, #d5aa4a 50%, #ebdcb9 70%, transparent);
}

.vm-white-divider .vm-vert-cross {
  color: #d5aa4a;
  font-size: 0.95rem;
  font-weight: 700;
}

@media (max-width: 900px) {
  .vm-white-divider {
    flex-direction: row;
    height: auto;
    width: 100%;
    margin: 0.5rem 0;
  }

  .vm-white-divider .vm-vert-line {
    width: auto;
    height: 1.5px;
    flex-grow: 1;
    min-height: unset;
    background: linear-gradient(90deg, transparent, #ebdcb9 30%, #d5aa4a 50%, #ebdcb9 70%, transparent);
  }
}

/* ========================================================
   3-COLUMN DIRECTORY GRID (Schools & Parishes)
   ======================================================== */
.schools-three-col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 1080px) {
  .schools-three-col-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 640px) {
  .schools-three-col-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }
}

/* DJES School Card Styles */
.djes-school-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(81, 77, 108, 0.07);
  border: 1.5px solid rgba(81, 77, 108, 0.12);
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.djes-school-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold, #d5aa4a);
  box-shadow: 0 16px 36px rgba(81, 77, 108, 0.14);
}

.djes-card-banner {
  width: 100%;
  height: 200px;
  position: relative;
  overflow: hidden;
  background: #f1f0f5;
  cursor: pointer;
  flex-shrink: 0;
}

.djes-card-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
  display: block;
}

.djes-school-card:hover .djes-card-banner img {
  transform: scale(1.05);
}

.djes-card-body {
  padding: 1.25rem 1.35rem 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.djes-card-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--muted-text, #686480);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.djes-card-meta-top .school-sno {
  color: var(--forest-green, #514d6c);
}

.djes-card-title-row {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 0.45rem;
}

.djes-card-logo-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: #ffffff;
  border: 1.5px solid var(--gold, #d5aa4a);
  box-shadow: 0 3px 10px rgba(81, 77, 108, 0.1);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.djes-card-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 3px;
}

.djes-card-title {
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark, #2a263f);
  line-height: 1.3;
  margin: 0;
  cursor: pointer;
  transition: color 0.2s ease;
}

.djes-card-title:hover {
  color: var(--gold, #d5aa4a);
}

.djes-card-subtitle {
  font-size: 0.78rem;
  color: var(--muted-text, #686480);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.djes-card-line {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.84rem;
  color: #4b4658;
  margin-bottom: 0.35rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.djes-card-line a {
  color: var(--forest-green, #514d6c);
  text-decoration: none;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.djes-card-line a:hover {
  text-decoration: underline;
  color: var(--gold, #d5aa4a);
}

.djes-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.7rem;
  margin-bottom: 1rem;
}

.djes-tag-pill {
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.djes-tag-region {
  background: #fdf8ee;
  color: #92400e;
  border: 1px solid rgba(213, 170, 74, 0.4);
}

.djes-tag-board {
  background: #ecebf4;
  color: var(--forest-green, #514d6c);
  border: 1px solid rgba(81, 77, 108, 0.18);
}

.djes-tag-level {
  background: #faf8f5;
  color: #554f60;
  border: 1px solid rgba(81, 77, 108, 0.1);
}

.djes-card-actions {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(81, 77, 108, 0.08);
}

.djes-btn-details {
  background: var(--forest-green, #514d6c);
  color: #ffffff;
  padding: 0.58rem 0.95rem;
  border-radius: 9999px;
  font-size: 0.84rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(81, 77, 108, 0.15);
}

.djes-btn-details:hover {
  background: var(--dark-green, #37334d);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(81, 77, 108, 0.25);
}

.djes-btn-directions {
  background: #ffffff;
  color: var(--forest-green, #514d6c);
  border: 1.5px solid rgba(81, 77, 108, 0.22);
  padding: 0.58rem 0.95rem;
  border-radius: 9999px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.djes-btn-directions:hover {
  border-color: var(--forest-green, #514d6c);
  background: #fbf9f5;
  transform: translateY(-1px);
}

/* ========================================================
   MODERN FILTER BAR (Inspired by djes.idnet.in, site themed)
   ======================================================== */
.djes-filter-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 8px 30px rgba(81, 77, 108, 0.06);
  border: 1.5px solid rgba(81, 77, 108, 0.12);
  margin-bottom: 2rem;
}

.djes-search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 1.25rem;
}

.djes-search-input-wrap .search-icon {
  position: absolute;
  left: 1.15rem;
  color: #94a3b8;
  font-size: 1.1rem;
  pointer-events: none;
}

.djes-search-input {
  width: 100%;
  padding: 0.85rem 2.5rem 0.85rem 3rem;
  border-radius: 14px;
  border: 1.5px solid rgba(81, 77, 108, 0.16);
  font-size: 0.95rem;
  background: #faf8f5;
  color: var(--text-dark, #2a263f);
  transition: all 0.2s ease;
  outline: none;
}

.djes-search-input:focus {
  background: #ffffff;
  border-color: var(--gold, #d5aa4a);
  box-shadow: 0 0 0 3px rgba(213, 170, 74, 0.18);
}

.djes-search-clear {
  position: absolute;
  right: 1rem;
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  font-size: 1.1rem;
}

.djes-filters-toolbar {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.djes-filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.djes-filter-divider-line {
  height: 1px;
  background: rgba(81, 77, 108, 0.08);
  width: 100%;
}

.djes-filter-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.djes-group-label {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--forest-green, #514d6c);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-right: 0.25rem;
}

.djes-pill-btn {
  padding: 0.38rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  background: #ffffff;
  color: var(--forest-green, #514d6c);
  border: 1.5px solid rgba(81, 77, 108, 0.2);
  cursor: pointer;
  transition: all 0.2s ease;
}

.djes-pill-btn:hover {
  background: #ecebf4;
  border-color: var(--forest-green, #514d6c);
}

.djes-pill-btn.active {
  background: var(--forest-green, #514d6c);
  color: #ffffff;
  border-color: var(--forest-green, #514d6c);
  box-shadow: 0 2px 10px rgba(81, 77, 108, 0.25);
}

.djes-reset-link-btn {
  background: none;
  border: none;
  color: #dc2626;
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.5rem;
  transition: all 0.15s ease;
}

.djes-reset-link-btn:hover {
  text-decoration: underline;
  color: #b91c1c;
}

.djes-counter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  color: var(--muted-text, #686480);
  font-weight: 600;
}

.djes-counter-row strong {
  color: var(--forest-green, #514d6c);
  font-weight: 800;
}

/* ========================================================
   LOAD MORE BUTTON (Progressive Loader)
   ======================================================== */
.load-more-wrap {
  text-align: center;
  margin: 2.5rem 0 3.5rem;
}

.btn-load-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 2.4rem;
  border-radius: 9999px;
  background: #0f2b48;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(15, 43, 72, 0.2);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-load-more:hover {
  background: #d5aa4a;
  color: #0f2b48;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(213, 170, 74, 0.35);
}

.load-more-complete {
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* ==========================================================================
   History Page Module Styles (Diocese Heritage & Interactive Chapters)
   ========================================================================== */

.history-page-wrapper {
  background: #ffffff;
  color: var(--text-dark, #2a263f);
  overflow-x: hidden;
}

/* Intro block */
.history-intro-section {
  padding: 3.5rem 1.5rem 2.5rem;
  background: linear-gradient(180deg, #fbf9f4 0%, #ffffff 100%);
  border-bottom: 1px solid rgba(81, 77, 108, 0.08);
}

.history-intro-container {
  max-width: 1140px;
  margin: 0 auto;
}

.history-motto-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.1rem;
  background: rgba(213, 170, 74, 0.12);
  border: 1px solid rgba(213, 170, 74, 0.35);
  border-radius: 9999px;
  color: #8b6b08;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.history-intro-heading {
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--forest-green, #514d6c);
  margin-bottom: 1.25rem;
}

.history-intro-text {
  font-size: 1.08rem;
  line-height: 1.8;
  color: #433f57;
  max-width: 960px;
  margin: 0;
}

/* Stats ribbon */
.history-stats-ribbon {
  background: #ffffff;
  border-top: 1px solid rgba(81, 77, 108, 0.1);
  border-bottom: 1px solid rgba(81, 77, 108, 0.1);
  box-shadow: 0 4px 20px rgba(81, 77, 108, 0.04);
}

.history-stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.history-stat-box {
  padding: 1.75rem 1rem;
  text-align: center;
  border-right: 1px solid rgba(81, 77, 108, 0.08);
  transition: all 0.25s ease;
}

.history-stat-box:last-child {
  border-right: none;
}

.history-stat-box:hover {
  background: rgba(248, 245, 236, 0.5);
}

.history-stat-number {
  display: block;
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: clamp(1.75rem, 2.6vw, 2.4rem);
  font-weight: 700;
  color: var(--forest-green, #514d6c);
  line-height: 1.1;
  margin-bottom: 0.4rem;
}

.history-stat-label {
  display: block;
  font-size: 0.82rem;
  color: var(--muted-text, #686480);
  font-weight: 600;
  line-height: 1.4;
}

/* Table of Contents bar */
.history-toc-bar {
  background: #fbf9f4;
  border-bottom: 1px solid rgba(81, 77, 108, 0.1);
  padding: 0.9rem 1.5rem;
  position: sticky;
  top: 72px;
  z-index: 100;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.history-toc-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.75rem 1.25rem;
  flex-wrap: wrap;
}

.history-toc-label {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold, #d5aa4a);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.history-toc-links {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.history-toc-btn {
  background: #ffffff;
  border: 1px solid rgba(81, 77, 108, 0.15);
  color: #4a4561;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.history-toc-btn:hover,
.history-toc-btn.active {
  background: var(--forest-green, #514d6c);
  color: #ffffff;
  border-color: var(--forest-green, #514d6c);
  transform: translateY(-1px);
}

/* Chapters Accordion Section */
.history-chapters-section {
  padding: 4rem 1.5rem 5rem;
  background: #ffffff;
}

.history-chapters-container {
  max-width: 1200px;
  margin: 0 auto;
}

.history-section-header {
  margin-bottom: 2.5rem;
}

.history-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold, #d5aa4a);
  margin-bottom: 0.5rem;
}

.history-section-title {
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--forest-green, #514d6c);
  margin-bottom: 0.6rem;
}

.history-section-desc {
  font-size: 1.05rem;
  color: var(--muted-text, #686480);
  line-height: 1.7;
  max-width: 750px;
}

/* Accordion card items */
.hacc-item {
  border: 1px solid rgba(81, 77, 108, 0.14);
  border-radius: 16px;
  margin-bottom: 1.25rem;
  background: #ffffff;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hacc-item:hover {
  border-color: rgba(81, 77, 108, 0.3);
  box-shadow: 0 6px 24px rgba(81, 77, 108, 0.08);
}

.hacc-item.is-open {
  border-color: var(--forest-green, #514d6c);
  box-shadow: 0 10px 32px rgba(81, 77, 108, 0.12);
}

.hacc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.4rem 1.75rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s ease;
}

.hacc-trigger:hover {
  background: #fbf9f4;
}

.hacc-item.is-open .hacc-trigger {
  background: linear-gradient(90deg, #f7f4ed 0%, #ffffff 100%);
  border-bottom: 1px solid rgba(81, 77, 108, 0.08);
}

.hacc-numeral {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--forest-green, #514d6c) 0%, #3a3650 100%);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 1.4rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(81, 77, 108, 0.25);
  transition: all 0.25s ease;
}

.hacc-item.is-open .hacc-numeral {
  background: linear-gradient(135deg, var(--gold, #d5aa4a) 0%, #e2be67 100%);
  color: #2a263f;
  box-shadow: 0 4px 16px rgba(213, 170, 74, 0.4);
  transform: scale(1.05);
}

.hacc-title-wrap {
  flex: 1;
  min-width: 0;
}

.hacc-period-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8b6b08;
  margin-bottom: 0.25rem;
}

.hacc-title {
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 700;
  color: var(--text-dark, #2a263f);
  margin: 0;
  line-height: 1.25;
}

.hacc-chevron {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(81, 77, 108, 0.2);
  display: grid;
  place-items: center;
  color: var(--muted-text, #686480);
  transition: all 0.25s ease;
}

.hacc-chevron svg {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hacc-item.is-open .hacc-chevron {
  background: var(--forest-green, #514d6c);
  border-color: var(--forest-green, #514d6c);
  color: #ffffff;
}

.hacc-item.is-open .hacc-chevron svg {
  transform: rotate(180deg);
}

/* Accordion Body */
.hacc-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.hacc-item.is-open .hacc-body {
  grid-template-rows: 1fr;
}

.hacc-body-inner {
  overflow: hidden;
}

.hacc-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 3.5vw, 3.5rem);
  padding: 1.75rem 1.75rem 2.5rem;
  align-items: start;
}

.hacc-narrative p {
  font-size: 1.02rem;
  line-height: 1.82;
  color: #403c54;
  margin-bottom: 1.25rem;
}

.hacc-narrative p:last-of-type {
  margin-bottom: 0;
}

.hacc-photo-card {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin: 1.5rem 0 1.25rem;
  border: 1px solid rgba(81, 77, 108, 0.12);
  box-shadow: 0 6px 20px rgba(81, 77, 108, 0.08);
  position: relative;
  background: #f1ede4;
}

.hacc-photo-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.hacc-photo-card figcaption {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  background: linear-gradient(0deg, rgba(17, 14, 28, 0.88) 0%, rgba(17, 14, 28, 0) 100%);
  color: #ffffff;
  padding: 1.25rem 1.25rem 0.85rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.hacc-photo-card figcaption small {
  display: block;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
  margin-top: 0.2rem;
}

.hacc-note-box {
  background: #fbf9f4;
  border: 1px solid rgba(213, 170, 74, 0.3);
  border-left: 4px solid var(--gold, #d5aa4a);
  border-radius: 8px;
  padding: 1.1rem 1.25rem;
  font-size: 0.94rem;
  line-height: 1.7;
  color: #4a4561;
  margin-top: 1.4rem;
}

.hacc-note-box strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--forest-green, #514d6c);
  margin-bottom: 0.35rem;
}

/* Timeline on right side of accordion */
.hacc-timeline {
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid rgba(81, 77, 108, 0.15);
  margin-top: 0.5rem;
}

.hacc-event {
  position: relative;
  margin-bottom: 1.5rem;
}

.hacc-event:last-child {
  margin-bottom: 0;
}

.hacc-event::before {
  content: "";
  position: absolute;
  left: -2.45rem;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--gold, #d5aa4a);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(213, 170, 74, 0.2);
}

.hacc-event-year {
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--forest-green, #514d6c);
  margin-bottom: 0.2rem;
}

.hacc-event-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-dark, #2a263f);
  margin: 0 0 0.3rem;
}

.hacc-event-desc {
  font-size: 0.88rem;
  line-height: 1.62;
  color: var(--muted-text, #686480);
  margin: 0;
}

/* Quote banner */
.history-quote-band {
  background: linear-gradient(135deg, #f8f5ec 0%, #ffffff 50%, #f8f5ec 100%);
  border: 1px solid rgba(213, 170, 74, 0.35);
  border-radius: 16px;
  padding: 2.75rem 2rem;
  text-align: center;
  margin: 1.5rem 0 2rem;
  position: relative;
  box-shadow: 0 6px 20px rgba(81, 77, 108, 0.04);
}

.history-quote-cross {
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 2.2rem;
  color: var(--gold, #d5aa4a);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.history-quote-band blockquote {
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.4vw, 1.85rem);
  line-height: 1.45;
  color: var(--forest-green, #514d6c);
  max-width: 900px;
  margin: 0 auto 0.85rem;
}

.history-quote-band cite {
  font-family: var(--font-sans, Inter, sans-serif);
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #8b6b08;
}

/* Shepherds / Leaders Section */
.history-leaders-section {
  padding: 5rem 1.5rem;
  background: linear-gradient(180deg, #fbf9f4 0%, #ffffff 100%);
  border-top: 1px solid rgba(81, 77, 108, 0.08);
  border-bottom: 1px solid rgba(81, 77, 108, 0.08);
}

.history-leaders-container {
  max-width: 1200px;
  margin: 0 auto;
}

.history-leaders-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.history-leader-card {
  background: #ffffff;
  border: 1px solid rgba(81, 77, 108, 0.12);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(81, 77, 108, 0.06);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.history-leader-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold, #d5aa4a);
  box-shadow: 0 10px 28px rgba(81, 77, 108, 0.12);
}

.history-leader-img-wrap {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: #2a2538;
  position: relative;
  overflow: hidden;
}

.history-leader-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.history-leader-card:hover .history-leader-img-wrap img {
  transform: scale(1.03);
}

.history-leader-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fcfbf7 0%, #f3eee2 100%);
  color: var(--forest-green, #514d6c);
  padding: 1.5rem 1rem;
  text-align: center;
  border-bottom: 2px solid rgba(213, 170, 74, 0.4);
}

.history-leader-placeholder-crest {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--gold, #d5aa4a);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  color: var(--gold, #d5aa4a);
  box-shadow: 0 4px 14px rgba(213, 170, 74, 0.25);
  margin-bottom: 0.75rem;
}

.history-leader-placeholder-era {
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--forest-green, #514d6c);
  line-height: 1.25;
  margin-bottom: 0.25rem;
}

.history-leader-placeholder span {
  font-family: var(--font-sans, Inter, sans-serif);
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8b6b08;
}

.history-leader-info {
  padding: 1.2rem 1rem;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.history-leader-name {
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--forest-green, #514d6c);
  margin: 0 0 0.4rem;
  line-height: 1.2;
}

.history-leader-role {
  font-size: 0.78rem;
  color: var(--muted-text, #686480);
  line-height: 1.45;
  margin: 0;
  font-weight: 600;
}

/* Journey Section */
.history-journey-section {
  padding: 5rem 1.5rem;
  background: #ffffff;
}

.history-journey-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.history-journey-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.75rem;
}

.history-journey-table tr {
  border-bottom: 1px solid rgba(81, 77, 108, 0.1);
}

.history-journey-table td {
  padding: 0.85rem 0;
  font-size: 0.98rem;
}

.history-journey-table td:first-child {
  font-weight: 700;
  color: var(--text-dark, #2a263f);
}

.history-journey-table td:last-child {
  text-align: right;
  color: var(--forest-green, #514d6c);
  font-weight: 600;
}

.history-journey-map-card {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(81, 77, 108, 0.15);
  box-shadow: 0 10px 30px rgba(81, 77, 108, 0.12);
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}

.history-journey-map-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(26, 21, 44, 0.88) 0%, rgba(26, 21, 44, 0.25) 60%, rgba(26, 21, 44, 0.1) 100%);
}

.history-journey-map-content {
  position: relative;
  z-index: 1;
  padding: 1.75rem;
  color: #ffffff;
}

.history-journey-map-content strong {
  display: block;
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.history-journey-map-content small {
  display: block;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

/* Today Section */
.history-today-section {
  padding: 5rem 1.5rem 6rem;
  background: #fbf9f4;
  border-top: 1px solid rgba(81, 77, 108, 0.08);
}

.history-today-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.history-today-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #403c54;
  margin-bottom: 1.25rem;
}

.history-today-banner {
  background: linear-gradient(135deg, var(--forest-green, #514d6c) 0%, #2f2a42 100%);
  border-radius: 20px;
  padding: 3.5rem 2.5rem;
  text-align: center;
  color: #ffffff;
  border: 1px solid rgba(213, 170, 74, 0.3);
  box-shadow: 0 12px 36px rgba(47, 42, 66, 0.25);
  position: relative;
  overflow: hidden;
}

.history-today-banner::before {
  content: "";
  position: absolute;
  inset: -100px;
  background: radial-gradient(circle, rgba(213, 170, 74, 0.15) 0%, transparent 65%);
}

.history-today-banner-cross {
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 2.5rem;
  color: var(--gold, #d5aa4a);
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.history-today-banner-title {
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: clamp(1.4rem, 2.2vw, 1.95rem);
  font-style: italic;
  font-weight: 600;
  color: #f7efdd;
  line-height: 1.35;
  margin-bottom: 0.85rem;
  position: relative;
  z-index: 1;
}

.history-today-banner-sub {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .history-stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .history-stat-box:nth-child(3) {
    border-right: none;
  }

  .history-stat-box:nth-child(4),
  .history-stat-box:nth-child(5) {
    border-top: 1px solid rgba(81, 77, 108, 0.08);
  }

  .history-leaders-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hacc-content-grid {
    grid-template-columns: 1fr;
  }

  .history-journey-container,
  .history-today-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .history-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .history-stat-box:nth-child(2) {
    border-right: none;
  }

  .history-stat-box:nth-child(3) {
    border-right: 1px solid rgba(81, 77, 108, 0.08);
  }

  .history-stat-box:last-child {
    grid-column: span 2;
    border-top: 1px solid rgba(81, 77, 108, 0.08);
  }

  .history-leaders-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hacc-trigger {
    padding: 1.1rem 1.25rem;
    gap: 0.85rem;
  }

  .hacc-numeral {
    width: 44px;
    height: 44px;
    font-size: 1.15rem;
  }

  .hacc-content-grid {
    padding: 1.25rem 1.25rem 1.75rem;
  }

  .hacc-timeline {
    padding-left: 1.5rem;
  }

  .hacc-event::before {
    left: -1.9rem;
  }
}

@media (max-width: 480px) {
  .history-leaders-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Heritage & Bishops Modules (History, Present Bishop, Former Bishops)
   ========================================================================== */

.serif {
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-variant-numeric: lining-nums proportional-nums;
}

.heritage-page-container {
  background: #F6F1E7;
  color: #22201C;
  font-family: var(--font-sans, Inter, system-ui, sans-serif);
  line-height: 1.6;
}

/* Subpage Navigation Bar for Heritage Trio */
.heritage-nav-bar {
  background: #FFFDF8;
  border-bottom: 1px solid #E2D8C4;
  position: sticky;
  top: 72px;
  z-index: 99;
  backdrop-filter: blur(8px);
}

.heritage-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.heritage-nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.heritage-nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.heritage-nav-btn {
  background: none;
  border: none;
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  padding: 8px 16px;
  border-radius: 999px;
  color: #3D3832;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.heritage-nav-btn:hover {
  color: #7A1F2B;
  background: rgba(122, 31, 43, 0.06);
}

.heritage-nav-btn.active {
  color: #FFFDF8;
  background: #7A1F2B;
}

/* Timeline Milestones */
.ms {
  display: flex;
  gap: 20px;
  align-items: stretch;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ms-year {
  flex: 0 0 88px;
  text-align: right;
  font-family: var(--font-sans, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
  font-size: 20px;
  font-weight: 800;
  color: var(--forest-green, #514d6c);
  line-height: 1.25;
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: -0.02em;
}

.ms-rail {
  flex: 0 0 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ms-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold, #d5aa4a);
  margin-top: 5px;
  flex: 0 0 auto;
  box-shadow: 0 0 0 3px rgba(213, 170, 74, 0.25);
}

.ms-line {
  width: 2px;
  flex: 1 1 auto;
  background: var(--border-light, #e5e0d2);
}

.ms-body {
  flex: 1 1 auto;
  min-width: 0;
  padding-bottom: 28px;
}

.ms-body h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark, #2a263f);
}

.ms-body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted-text, #686480);
}

/* Interactive Details / Read More */
.heritage-readmore-box {
  margin-top: 16px;
  border-top: 1px dashed var(--border-light, #e5e0d2);
  padding-top: 10px;
}

.heritage-readmore-trigger {
  cursor: pointer;
  font-weight: 700;
  color: var(--forest-green, #514d6c);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 4px 0;
  transition: all 0.2s ease;
}

.heritage-readmore-trigger:hover {
  color: var(--gold-hover, #c49938);
  text-decoration: underline;
}

.heritage-readmore-content {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-dark, #2a263f);
  margin-top: 14px;
  animation: fadeInDown 0.3s ease;
}

.heritage-readmore-content p {
  margin: 0 0 16px !important;
  line-height: 1.7;
}

.heritage-readmore-content p:last-child {
  margin-bottom: 0 !important;
}

/* Photo Cards in Heritage */
.heritage-photo-frame {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-light, #e5e0d2);
  box-shadow: 0 6px 20px rgba(81, 77, 108, 0.08);
  background: var(--cream, #f8f5ec);
}

.heritage-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ph {
  background-color: var(--cream, #f8f5ec);
  background-image: repeating-linear-gradient(135deg, rgba(81, 77, 108, 0.05) 0 2px, transparent 2px 14px);
  border: 1px dashed var(--gold, #d5aa4a);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--muted-text, #686480);
  font-size: 14px;
  font-weight: 600;
  padding: 16px;
  box-sizing: border-box;
}

@media (max-width: 640px) {
  .ms-year {
    flex-basis: 64px;
    font-size: 18px;
  }

  .hero-title {
    font-size: 44px !important;
  }
}