/* ==========================================================================
   CSI ST. THOMAS CHURCH, PUNNAKKADU - MODERN DESIGN SYSTEM
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600&display=swap');

:root {
    /* Color Palette - Executive Cathedral Theme with Authentic CSI Accents */
    --primary: #0b2545;
    /* Executive Cathedral Deep Navy */
    --primary-light: #133b6b;
    /* Royal Cathedral Blue */
    --primary-dark: #061527;
    /* Midnight Navy */
    --csi-maroon: #8b1e5a;
    /* Official CSI Liturgical Maroon */
    --csi-crimson: #133b6b;
    /* CSI Cardinal Plum */
    --accent: #d4af37;
    /* Blessed Gold */
    --accent-light: #f59e0b;
    /* Warm Amber */
    --accent-hover: #b8860b;
    /* Deep Gold */
    --flame: #ea580c;
    /* CSI Flame of Pentecost */
    --secondary: #8b1e5a;
    /* CSI Cross Lotus Accent */
    --secondary-light: #be185d;
    /* CSI Lotus Magenta */
    --gold: #d4af37;
    /* Divine Halo Gold */
    --gold-light: #fef08a;
    /* Light Gold Tint */

    /* Neutrals & Surfaces */
    --bg-main: #f8fafc;
    /* Crisp Light Slate */
    --bg-surface: #ffffff;
    /* Pure White */
    --bg-alt: #f1f5f9;
    /* Soft Ice Slate */
    --bg-dark: #061527;
    /* Executive Midnight Navy */
    --text-main: #0f172a;
    /* Deep Slate */
    --text-muted: #475569;
    /* Muted Slate */
    --text-light: #94a3b8;
    /* Subtle Grey */
    --text-inverse: #ffffff;
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;

    /* Elevation & Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 25px rgba(212, 175, 55, 0.25);

    /* Typography */
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;

    /* Geometry */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1240px;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a:hover {
    color: var(--accent-hover);
}

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

ul,
ol {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-sans);
    color: var(--primary);
    line-height: 1.25;
    font-weight: 700;
}

h1,
h2 {
    letter-spacing: -0.02em;
}

.serif-title {
    font-family: var(--font-serif);
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* ==========================================================================
   TOP BAR & HEADER
   ========================================================================== */

.top-bar {
    background: var(--primary-dark);
    color: #e2e8f0;
    font-size: 0.84rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.top-bar-info {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.top-bar-info span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.top-bar-badge {
    background: rgba(212, 175, 55, 0.18);
    color: var(--accent);
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.75rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.top-bar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.top-bar-actions a {
    color: #cbd5e1;
}

.top-bar-actions a:hover {
    color: var(--accent);
}

/* Main Navigation Header */
.site-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.96);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    gap: 1.5rem;
}

.brand-wrapper,
.custom-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    flex-shrink: 0;
    line-height: 1;
    transition: var(--transition);
}

.brand-wrapper:hover,
.custom-logo-link:hover {
    opacity: 0.96;
    transform: translateY(-1px);
}

.brand-emblem-img {
    width: 70px;
    height: 70px;
    min-width: 50px;
    min-height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(11, 37, 69, 0.12));
    flex-shrink: 0;
    transition: transform 0.25s ease;
    display: block;
    image-rendering: -webkit-optimize-contrast;
}

.brand-wrapper:hover .brand-emblem-img {
    transform: scale(1.05);
}

.brand-text-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.25;
}

.brand-church-title {
    font-family: var(--font-sans, 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
    font-size: 0.93rem;
    font-weight: 700;
    color: var(--primary, #0b2545);
    letter-spacing: -0.015em;
    white-space: nowrap;
    line-height: 1.25;
    transition: color 0.25s ease;
}

.brand-church-sub {
    font-family: var(--font-sans, 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary-light, #133b6b);
    letter-spacing: 0.02em;
    margin-top: 2px;
    white-space: nowrap;
    line-height: 1.2;
    transition: color 0.25s ease;
}

.brand-wrapper:hover .brand-church-title {
    color: var(--primary-light, #133b6b);
}

.brand-wrapper:hover .brand-church-sub {
    color: var(--accent-hover, #b8860b);
}

.brand-logo-img,
.custom-logo-link img,
.custom-logo {
    width: 50px !important;
    height: 50px !important;
    max-height: 50px !important;
    max-width: 50px !important;
    object-fit: contain !important;
    filter: drop-shadow(0 2px 6px rgba(11, 37, 69, 0.12));
    flex-shrink: 0;
    transition: transform 0.25s ease;
    display: block;
    image-rendering: -webkit-optimize-contrast;
}

.brand-wrapper:hover .brand-logo-img,
.custom-logo-link:hover img {
    transform: scale(1.05);
}

/* Desktop Navigation */
.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
}

.desktop-nav .nav-menu {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.25rem !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    flex-wrap: nowrap !important;
}

.desktop-nav .nav-item {
    position: relative !important;
    list-style: none !important;
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Hide Mobile Drawer on Desktop by Default */
.mobile-drawer {
    display: none;
}

.mobile-nav-backdrop {
    display: none;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    height: 38px;
    padding: 0 0.85rem;
    font-weight: 600;
    font-size: 0.93rem;
    color: var(--primary);
    border-radius: var(--radius-full);
    transition: var(--transition);
    text-decoration: none;
    line-height: 1;
}

.nav-arrow {
    display: inline-block;
    font-size: 0.7rem;
    margin-left: 0.25rem;
    transition: transform 0.2s ease;
    line-height: 1;
    color: #64748b;
}

.nav-item:hover .nav-arrow {
    transform: rotate(180deg);
    color: var(--primary);
}

.nav-link:hover,
.nav-item.current-menu-item>.nav-link {
    color: var(--primary);
    background: rgba(11, 43, 74, 0.08);
}

/* Dropdown */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 235px;
    background: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12), 0 4px 10px rgba(0, 0, 0, 0.04);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    z-index: 100;
    list-style: none;
}

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

.dropdown-link {
    display: block;
    padding: 0.6rem 1.25rem;
    font-size: 0.88rem;
    color: var(--text-main);
    font-weight: 500;
    white-space: nowrap;
    text-decoration: none;
    transition: var(--transition);
}

.dropdown-link:hover {
    background: var(--bg-alt);
    color: var(--primary);
    padding-left: 1.5rem;
}

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

.header-prayer-btn {
    white-space: nowrap !important;
    padding: 0.6rem 1.25rem !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
}

/* Mobile Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
    padding: 0.4rem;
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.7rem 1.4rem;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    line-height: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(11, 43, 74, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(11, 43, 74, 0.35);
    transform: translateY(-2px);
}

.btn-accent {
    background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.btn-accent:hover {
    background: linear-gradient(135deg, #e5be38 0%, #c49210 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(212, 175, 55, 0.45);
}

.btn-outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.6);
    color: #ffffff;
}

.btn-outline:hover {
    background: #ffffff;
    color: var(--primary);
    border-color: #ffffff;
    transform: translateY(-2px);
}

.btn-outline-primary {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.45rem 0.9rem;
    font-size: 0.82rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.badge-gold {
    background: rgba(212, 175, 55, 0.15);
    color: #b8860b;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.badge-emerald {
    background: rgba(15, 118, 110, 0.12);
    color: var(--secondary);
    border: 1px solid rgba(15, 118, 110, 0.25);
}

.badge-blue {
    background: rgba(11, 43, 74, 0.08);
    color: var(--primary);
    border: 1px solid rgba(11, 43, 74, 0.15);
}



/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
    position: relative;
    background: linear-gradient(135deg, rgba(6, 25, 45, 0.88) 0%, rgba(11, 43, 74, 0.78) 50%, rgba(6, 25, 45, 0.92) 100%), url('../images/hero-bg.jpg') center center/cover no-repeat;
    color: #ffffff;
    padding: 5.5rem 0 5rem;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to top, var(--bg-main), transparent);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-content {
    max-width: 680px;
}

.hero-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(212, 175, 55, 0.25);
    color: #fef08a;
    border: 1px solid rgba(212, 175, 55, 0.45);
    padding: 0.45rem 1.15rem;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-title {
    font-size: 3.3rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.hero-title span {
    color: var(--accent);
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 600;
    text-shadow: 0 0 25px rgba(212, 175, 55, 0.4);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #e2e8f0;
    margin-bottom: 2rem;
    line-height: 1.7;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.hero-buttons .btn {
    white-space: nowrap;
    padding: 0.75rem 1.45rem;
    font-size: 0.92rem;
    font-weight: 700;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.hero-buttons .btn-outline {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.hero-buttons .btn-outline:hover {
    background: #ffffff;
    color: var(--primary);
    border-color: #ffffff;
}

/* Floating Quick Service Card - Luxury Glass Aesthetic */
.hero-service-card {
    background: linear-gradient(145deg, rgba(11, 37, 69, 0.88) 0%, rgba(6, 21, 39, 0.96) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-top: 3px solid #d4af37;
    border-radius: 22px;
    padding: 2rem 2.2rem;
    box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.6), 0 0 35px rgba(212, 175, 55, 0.12);
    color: #ffffff;
    position: relative;
}

.service-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    margin-bottom: 1.35rem;
}

.service-card-header h3 {
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 0.15rem 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    border: 1px solid rgba(239, 68, 68, 0.45);
    white-space: nowrap;
}

.live-dot {
    width: 8px;
    height: 8px;
    background-color: #ef4444;
    border-radius: 50%;
    animation: pulse 1.8s infinite;
}

.service-timeline-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.service-timeline-item:last-child {
    margin-bottom: 0;
}

.service-time-badge {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.22) 0%, rgba(212, 175, 55, 0.1) 100%);
    color: #fef08a;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    padding: 0.55rem 1rem;
    border-radius: 12px;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    text-align: center;
    border: 1.5px solid rgba(212, 175, 55, 0.5);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    display: inline-block;
}

.service-details {
    flex: 1;
    min-width: 0;
}

.service-details h4 {
    font-size: 1.05rem;
    color: #ffffff;
    margin: 0 0 0.25rem 0;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.service-details p {
    font-size: 0.85rem;
    color: #94a3b8;
    margin: 0;
    line-height: 1.4;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.3);
        opacity: 1;
    }

    100% {
        transform: scale(0.95);
        opacity: 0.8;
    }
}

/* ==========================================================================
   SECTION COMMON STYLES
   ========================================================================== */

.section {
    padding: 5rem 0;
}

.section-alt {
    background-color: var(--bg-alt);
}

.section-white {
    background-color: var(--bg-surface);
}

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

.section-badge {
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.25rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* ==========================================================================
   VICAR'S WELCOME & ABOUT SHOWCASE SECTION (EXECUTIVE MODERN REDESIGN)
   ========================================================================== */

.welcome-showcase-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
}

.welcome-executive-grid {
    display: grid;
    grid-template-columns: 370px 1fr;
    gap: 3.5rem;
    align-items: start;
}

/* 1. Left: Vicar Spotlight Executive Card */
.vicar-executive-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(11, 37, 69, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.3);
    position: sticky;
    top: 100px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.vicar-executive-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 55px rgba(11, 37, 69, 0.12);
}

.vicar-image-holder {
    position: relative;
    height: 380px;
    background: #0b2545;
    overflow: hidden;
}

.vicar-portrait-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.vicar-executive-card:hover .vicar-portrait-img {
    transform: scale(1.04);
}

.vicar-badge-seal {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: rgba(11, 37, 69, 0.92);
    backdrop-filter: blur(10px);
    color: #fef08a;
    padding: 0.45rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid rgba(212, 175, 55, 0.45);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.vicar-card-body {
    padding: 1.5rem 1.35rem 1.65rem;
    text-align: center;
}

.vicar-name {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0b2545;
    font-family: var(--font-serif);
    margin-bottom: 0.2rem;
    line-height: 1.25;
}

.vicar-role {
    font-size: 0.82rem;
    color: #b45309;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.2rem;
}

.vicar-diocese-line {
    font-size: 0.82rem;
    color: #64748b;
    margin-bottom: 1.15rem;
    line-height: 1.4;
}

.vicar-quick-meta-list {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    background: #f8fafc;
    padding: 0.75rem 0.9rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    margin-bottom: 1.25rem;
    text-align: left;
}

.vicar-meta-item {
    font-size: 0.8rem;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.vicar-meta-item strong {
    color: #0b2545;
}

.vicar-action-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.vicar-action-btns .btn {
    padding: 0.5rem 0.6rem;
    font-size: 0.82rem;
    justify-content: center;
}

.vicar-messages-link {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #0b2545;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.vicar-messages-link:hover {
    color: #d4af37;
    transform: translateX(3px);
}

/* 2. Right: Pastoral Welcome & Experience Content */
.welcome-content-col {
    display: flex;
    flex-direction: column;
}

.welcome-main-title {
    font-size: 2.35rem;
    line-height: 1.2;
    color: #0b2545;
    font-family: var(--font-serif);
    font-weight: 800;
    margin: 0.6rem 0 0.35rem;
}

.welcome-mal-sub {
    font-size: 1rem;
    color: #b45309;
    font-weight: 600;
    margin-bottom: 1.35rem;
    line-height: 1.5;
}

.welcome-quote-card {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12) 0%, rgba(11, 43, 74, 0.03) 100%);
    border-left: 4px solid var(--accent);
    padding: 1.15rem 1.35rem 1.15rem 3.25rem;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    position: relative;
    margin: 0.5rem 0 1.5rem;
    border-top: 1px solid rgba(212, 175, 55, 0.25);
    border-right: 1px solid rgba(212, 175, 55, 0.25);
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

.quote-symbol {
    position: absolute;
    left: 0.85rem;
    top: -0.4rem;
    font-family: var(--font-serif);
    font-size: 4rem;
    color: rgba(212, 175, 55, 0.4);
    line-height: 1;
    pointer-events: none;
}

.quote-text {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.12rem;
    color: var(--primary);
    margin-bottom: 0.25rem;
    line-height: 1.5;
    font-weight: 600;
}

.quote-author {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-hover);
    display: block;
}

.welcome-text-paragraphs {
    color: #334155;
    font-size: 1.02rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.welcome-lead-paragraph {
    margin-bottom: 0.85rem;
}

/* 4 Feature Pillars Grid */
.welcome-pillars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 0.5rem 0 1.5rem;
}

.pillar-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.1rem 1.15rem;
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    box-shadow: 0 4px 12px rgba(11, 37, 69, 0.03);
    transition: all 0.3s ease;
}

.pillar-card:hover {
    transform: translateY(-3px);
    border-color: #d4af37;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.12);
}

.pillar-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 10px;
    background: linear-gradient(135deg, #0b2545 0%, #1e3a8a 100%);
    color: #fef08a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(11, 37, 69, 0.2);
}

.pillar-info {
    flex: 1;
}

.pillar-title {
    font-size: 0.98rem;
    font-weight: 700;
    color: #0b2545;
    margin-bottom: 0.2rem;
}

.pillar-desc {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.45;
    margin: 0;
}

/* Pastoral Benediction / Signoff Block */
.welcome-pastoral-signoff {
    background: #f8fafc;
    border-left: 4px solid #0b2545;
    border-radius: 0 12px 12px 0;
    padding: 0.9rem 1.25rem;
    margin: 0.5rem 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    border-top: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.welcome-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.welcome-cta-group .btn {
    padding: 0.7rem 1.35rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.stats-matrix {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
}

.stat-box {
    background: #ffffff;
    padding: 1.5rem 1.25rem;
    border-radius: var(--radius-md);
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border-top: 3px solid var(--accent);
}

.stat-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: var(--accent);
}

.stat-icon {
    font-size: 1.5rem;
    margin-bottom: 0.35rem;
}

.stat-number {
    font-size: 1.95rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
    line-height: 1.1;
}

.stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   PARISH DAILY QUICK HUB (EXECUTIVE MODERN REDESIGN)
   ========================================================================== */

.parish-hub-section {
    padding: 0;
    margin-top: -3rem;
    position: relative;
    z-index: 30;
}

.modern-hub-style {
    background: #ffffff;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 20px 50px rgba(11, 43, 74, 0.08);
    overflow: hidden;
    transition: var(--transition);
}

.modern-hub-style:hover {
    box-shadow: 0 25px 60px rgba(11, 43, 74, 0.12);
}

/* 1. Sleek Segmented Pill Tabs Header */
.hub-nav-wrapper {
    background: #f8fafc;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.modern-hub-style .hub-tabs-bar {
    display: flex;
    background: #e2e8f0;
    padding: 5px;
    border-radius: 12px;
    gap: 4px;
    overflow-x: auto;
}

.modern-hub-style .hub-tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: #475569;
    font-size: 0.92rem;
    font-weight: 700;
    padding: 0.75rem 1.25rem;
    border-radius: 9px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.modern-hub-style .hub-tab-btn:hover {
    color: var(--primary);
    background: rgba(255, 255, 255, 0.6);
}

.modern-hub-style .hub-tab-btn.active {
    background: #0b2545;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(11, 43, 74, 0.2);
}

.modern-hub-style .hub-tab-btn.active .tab-icon {
    transform: scale(1.1);
}

.modern-hub-style .hub-tab-content {
    padding: 2.25rem 2.5rem;
    background: #ffffff;
}

/* Tab 1: Verse of the day */
.verse-modern-card {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 2rem;
    align-items: center;
    background: linear-gradient(135deg, #fffdf5 0%, #fefce8 40%, #ffffff 100%);
    padding: 2rem 2.25rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.08);
}

.verse-glowing-seal {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0b2545 0%, #133b6b 100%);
    border: 3px solid var(--accent);
    color: var(--accent);
    font-size: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(11, 43, 74, 0.2);
}

.verse-header-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.6rem;
}

.verse-label-chip {
    font-size: 0.78rem;
    font-weight: 700;
    color: #854d0e;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.verse-quote-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-serif);
    line-height: 1.55;
    margin: 0 0 1rem 0;
    font-style: italic;
}

.verse-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(212, 175, 55, 0.25);
}

.verse-copyright-txt {
    font-size: 0.78rem;
    color: #94a3b8;
    font-style: italic;
}

/* Tab 2: Newsletter */
.newsletter-modern-card {
    display: flex;
    align-items: center;
    gap: 2.25rem;
    background: var(--bg-alt);
    padding: 2rem 2.25rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.nl-icon-badge {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    background: rgba(14, 165, 233, 0.12);
    color: #0284c7;
    font-size: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(14, 165, 233, 0.25);
}

.nl-title-text {
    font-size: 1.3rem;
    color: var(--primary);
    margin: 0 0 0.4rem 0;
}

.nl-subtext {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0 0 1.25rem 0;
}

.nl-btn-group {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
}

/* Tab 3: About Church Split */
.about-modern-split {
    display: grid;
    grid-template-columns: 1fr 2px 1fr;
    gap: 3rem;
    align-items: center;
    background: #ffffff;
    padding: 1rem 0.5rem;
}

.about-split-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.split-icon-circle {
    width: 76px;
    height: 76px;
    border-radius: 20px;
    background: #f1f5f9;
    border: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    flex-shrink: 0;
}

.clock-circle {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-color: #bfdbfe;
}

.split-top-lbl {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--secondary);
    letter-spacing: 0.06em;
    display: block;
    margin-bottom: 0.2rem;
}

.split-main-title {
    font-size: 1.22rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0 0 0.25rem 0;
}

.split-day-txt {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}

.service-time-pill {
    display: inline-block;
    background: rgba(11, 43, 74, 0.08);
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 800;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
}

.split-separator {
    height: 100px;
    background: linear-gradient(180deg, transparent 0%, #cbd5e1 50%, transparent 100%);
}

.vicar-avatar-ring {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
}

.vicar-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vicar-link-pill {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--accent-hover);
    transition: var(--transition);
}

.vicar-link-pill:hover {
    color: var(--primary);
    transform: translateX(3px);
}

/* Tab 4: Videos Modern Grid */
.videos-modern-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.25rem;
}

.video-card-modern {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: var(--transition);
}

.video-card-modern:hover {
    transform: translateY(-5px);
}

.video-thumb-frame {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-play-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #dc2626;
    color: #ffffff;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.5);
    transition: transform 0.2s ease;
}

.video-card-modern:hover .video-play-btn {
    transform: scale(1.15);
    background: #ef4444;
}

.video-cat-badge {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: rgba(0, 0, 0, 0.75);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    backdrop-filter: blur(4px);
}

.video-card-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0.6rem 0 0 0;
    line-height: 1.35;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-card-modern:hover .video-card-title {
    color: var(--secondary);
}

.videos-footer-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.videos-count-note {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.btn-more-videos {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    transition: var(--transition);
}

.btn-more-videos:hover {
    color: var(--accent-hover);
    transform: translateX(4px);
}

/* ==========================================================================
   SPLIT PARISH LITURGICAL CALENDAR & AGENDA
   ========================================================================== */

.split-calendar-layout {
    display: grid;
    grid-template-columns: 430px 1fr;
    gap: 2rem;
    align-items: stretch;
    margin-top: 2rem;
    margin-bottom: 3.5rem;
}

/* Left: Interactive Calendar Card */
.calendar-picker-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
}

.cal-nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.cal-nav-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cal-nav-arrow {
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
}

.cal-nav-arrow:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.cal-month-title {
    font-size: 1.22rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0;
    min-width: 150px;
    text-align: center;
}

.cal-today-pill {
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: #b8860b;
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.cal-today-pill:hover {
    background: #d4af37;
    color: #ffffff;
}

.cal-weekdays-row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: 800;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.cal-weekday-name.sun-col {
    color: #ef4444;
    font-weight: 900;
}

.cal-days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.35rem;
}

.cal-day-cell {
    aspect-ratio: 1;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    border: 1px solid transparent;
    background: transparent;
}

.cal-day-cell:hover {
    background: #f0f7ff;
    border-color: #bae6fd;
}

.cal-day-cell.other-month {
    opacity: 0.25;
    cursor: default;
}

.cal-day-cell.today {
    border-color: #d4af37;
    background: #fffdf5;
    font-weight: 800;
}

.cal-day-cell.selected {
    background: #0b2545 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(11, 43, 74, 0.3);
    border-color: #0b2545;
}

.cal-day-cell.selected .cal-num {
    color: #ffffff !important;
}

.cal-num {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1;
}

.cal-dots-wrap {
    display: flex;
    gap: 3px;
    margin-top: 4px;
    height: 6px;
    align-items: center;
}

.chip-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    display: inline-block;
}

.dot-gold {
    background: #d4af37;
}

.dot-emerald {
    background: #0f766e;
}

.dot-blue {
    background: #0284c7;
}

.dot-purple {
    background: #7c3aed;
}

.cal-legend-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
}

.legend-chip {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

/* Right: Selected Day Agenda Card */
.calendar-agenda-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 2rem 2.2rem;
    display: flex;
    flex-direction: column;
}

.agenda-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.agenda-badge {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--secondary);
    letter-spacing: 0.06em;
    display: block;
    margin-bottom: 0.2rem;
}

.agenda-title {
    margin: 0;
    font-size: 1.45rem;
    color: var(--primary);
    font-family: var(--font-serif);
}

.agenda-events-list {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    flex-grow: 1;
}

.agenda-event-item {
    background: var(--bg-alt);
    border-radius: var(--radius-md);
    padding: 1.35rem 1.5rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    position: relative;
    border-left: 4px solid var(--primary);
}

.agenda-event-item:hover {
    transform: translateX(4px);
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.agenda-item-gold {
    border-left-color: #d4af37;
}

.agenda-item-emerald {
    border-left-color: #0f766e;
}

.agenda-item-blue {
    border-left-color: #0284c7;
}

.agenda-item-purple {
    border-left-color: #7c3aed;
}

.agenda-event-time {
    font-weight: 800;
    color: var(--primary);
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.agenda-event-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
}

.agenda-event-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.agenda-event-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #64748b;
    margin-top: 0.35rem;
}

.agenda-loc {
    color: var(--secondary);
    font-weight: 700;
}

/* Upcoming Parish Feasts Strip */
.upcoming-feasts-section {
    margin-top: 3.5rem;
}

.upcoming-title {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.upcoming-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.upcoming-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    transition: var(--transition);
}

.upcoming-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--accent);
}

.upcoming-date-badge {
    background: linear-gradient(135deg, #d4af37, #b8860b);
    color: #ffffff;
    border-radius: 12px;
    padding: 0.6rem 0.85rem;
    text-align: center;
    flex-shrink: 0;
    min-width: 58px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.up-month {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.up-day {
    display: block;
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1;
}

.upcoming-tag {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #b8860b;
    letter-spacing: 0.05em;
    margin-bottom: 0.2rem;
    display: block;
}

.upcoming-details h4 {
    font-size: 1.05rem;
    margin: 0 0 0.4rem 0;
    color: var(--text-main);
    font-weight: 700;
}

.upcoming-details p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0 0 0.5rem 0;
}

.upcoming-loc {
    font-size: 0.8rem;
    color: var(--secondary);
    font-weight: 700;
}

/* Action Banner */
.cal-action-banner {
    background: linear-gradient(135deg, #0b2545 0%, #061527 100%);
    border-radius: var(--radius-lg);
    padding: 2.25rem 3rem;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
    box-shadow: 0 20px 40px rgba(11, 43, 74, 0.25);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.cal-banner-text h2,
.cal-banner-text h3,
.cal-banner-text h4 {
    color: #ffffff !important;
    font-size: 1.38rem;
    font-weight: 800;
    margin: 0 0 0.4rem 0;
    line-height: 1.3;
}

.cal-banner-text p {
    color: #e2e8f0 !important;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

.cal-banner-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    flex-shrink: 0;
}

/* ==========================================================================
   THE PUNNAKKADU MODEL (COMMUNITY OUTREACH)
   ========================================================================== */

.outreach-modern-wrapper {
    background: linear-gradient(135deg, #0b2545 0%, #064e3b 100%);
    border-radius: var(--radius-lg);
    padding: 3.5rem;
    color: #ffffff;
    box-shadow: 0 25px 50px -12px rgba(6, 78, 59, 0.35);
    position: relative;
    overflow: hidden;
}

.outreach-modern-wrapper::after {
    content: '✝';
    position: absolute;
    right: -20px;
    bottom: -50px;
    font-size: 22rem;
    color: rgba(255, 255, 255, 0.03);
    pointer-events: none;
    line-height: 1;
}

.outreach-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.outreach-content-col {
    display: flex;
    flex-direction: column;
}

.outreach-badge {
    background: rgba(255, 255, 255, 0.18);
    color: #a7f3d0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 700;
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 1.2rem;
    backdrop-filter: blur(8px);
}

.outreach-title {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 1.1rem;
    line-height: 1.2;
}

.outreach-desc {
    font-size: 1.05rem;
    color: #e6fffa;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.outreach-photo-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35);
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.18);
}

.outreach-img {
    width: 100%;
    height: 270px;
    object-fit: cover;
    display: block;
}

.outreach-photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(6, 25, 45, 0.92) 0%, rgba(6, 25, 45, 0.2) 80%, transparent 100%);
    padding: 1rem 1.25rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: #fef08a;
}

.outreach-cards-stack {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.outreach-pillar-card {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-md);
    padding: 1.35rem 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    color: var(--text-main);
}

.outreach-pillar-card:hover {
    transform: translateX(6px);
    background: #ffffff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.pillar-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(15, 118, 110, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    border: 1px solid rgba(15, 118, 110, 0.25);
}

.pillar-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.pillar-desc {
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
}

/* ==========================================================================
   MINISTRIES & FELLOWSHIPS
   ========================================================================== */

.ministries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.ministry-card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.ministry-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.ministry-img-wrap {
    height: 200px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    position: relative;
    overflow: hidden;
}

.ministry-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ministry-card:hover .ministry-img-wrap img {
    transform: scale(1.05);
}

.ministry-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(11, 43, 74, 0.85);
    color: #ffffff;
    backdrop-filter: blur(6px);
    padding: 0.25rem 0.7rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
}

.ministry-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.ministry-title {
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
}

.ministry-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.ministry-text p {
    margin: 0 0 0.5rem 0;
    font-size: inherit;
    line-height: 1.6;
}

.ministry-text p:last-child {
    margin-bottom: 0;
}

.ministry-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

/* ==========================================================================
   ANNOUNCEMENTS & NOTICE BOARD
   ========================================================================== */

.notice-board-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 2rem;
}

.notice-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.notice-item {
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    transition: var(--transition);
}

.notice-item:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.notice-date-badge {
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.75rem;
    text-align: center;
    min-width: 65px;
}

.notice-date-day {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
    line-height: 1;
}

.notice-date-month {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-muted);
}

.notice-content h4 {
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
}

.notice-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.notice-meta {
    font-size: 0.78rem;
    color: var(--text-light);
    display: flex;
    gap: 1rem;
}

/* Sidebar Bulletin Box */
.bulletin-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.bulletin-box h3 {
    color: #ffffff;
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.bulletin-box p {
    color: #cbd5e1;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.bulletin-links-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.bulletin-download-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.88rem;
    font-weight: 600;
    transition: var(--transition);
}

.bulletin-download-btn:hover {
    background: #ffffff;
    color: var(--primary);
}

/* ==========================================================================
   PHOTO & MEDIA GALLERY
   ========================================================================== */

.gallery-filter-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 2.75rem;
}

.gallery-filter-nav .filter-btn {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    color: #475569;
    padding: 0.55rem 1.35rem;
    border-radius: 9999px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    outline: none;
}

.gallery-filter-nav .filter-btn:hover {
    border-color: var(--primary, #0b2545);
    color: var(--primary, #0b2545);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(11, 37, 69, 0.08);
}

.gallery-filter-nav .filter-btn.active {
    background: linear-gradient(135deg, #0b2545 0%, #173d6b 100%);
    color: #ffffff;
    border-color: #0b2545;
    box-shadow: 0 4px 14px rgba(11, 37, 69, 0.22);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 2rem;
}

/* Modern Gallery Card */
.gallery-card,
.gallery-item {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(11, 37, 69, 0.06);
    border: 1px solid #e2e8f0;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: auto;
}

.gallery-card:hover,
.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(11, 37, 69, 0.12);
    border-color: #cbd5e1;
}

.gallery-card-thumb,
.gallery-thumb-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10.5;
    overflow: hidden;
    background: #0f172a;
}

.gallery-card-thumb img,
.gallery-thumb-wrap img,
.gallery-item>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-card:hover .gallery-card-thumb img,
.gallery-card:hover .gallery-thumb-wrap img,
.gallery-item:hover>img {
    transform: scale(1.07);
}

/* Floating Category Tag */
.gallery-tag,
.gallery-item-category-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(11, 37, 69, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fef08a;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 11px;
    border-radius: 9999px;
    border: 1px solid rgba(254, 240, 138, 0.3);
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Hover Quick Zoom Pill */
.gallery-overlay-badge,
.gallery-hover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 37, 69, 0.32);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity 0.28s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.gallery-card:hover .gallery-overlay-badge,
.gallery-item:hover .gallery-overlay-badge,
.gallery-card:hover .gallery-hover-overlay,
.gallery-item:hover .gallery-hover-overlay {
    opacity: 1;
}

.gallery-zoom-pill {
    background: #ffffff;
    color: #0b2545;
    font-size: 0.82rem;
    font-weight: 800;
    padding: 8px 18px;
    border-radius: 9999px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transform: scale(0.9);
    transition: transform 0.28s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-card:hover .gallery-zoom-pill,
.gallery-item:hover .gallery-zoom-pill {
    transform: scale(1);
}

/* Card Info Body */
.gallery-card-info,
.gallery-card-body {
    padding: 1.15rem 1.35rem 1.25rem;
    background: #ffffff;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-top: 1px solid #f1f5f9;
}

.gallery-card-title,
.gallery-item-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
    margin: 0 0 0.35rem 0;
    font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
}

.gallery-card-caption,
.gallery-card-desc {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* Album Card Specifics */
.gallery-card.is-album {
    box-shadow: 0 4px 16px rgba(11, 37, 69, 0.08), 0 0 0 1px rgba(226, 232, 240, 0.8);
}

.gallery-card.is-album:hover {
    box-shadow: 0 20px 42px rgba(11, 37, 69, 0.15), 0 0 0 1.5px #d4af37;
}

.album-photo-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(11, 37, 69, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fef08a;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 9999px;
    border: 1px solid rgba(254, 240, 138, 0.35);
    z-index: 2;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.album-card-action {
    margin-top: 0.85rem;
    padding-top: 0.65rem;
    border-top: 1px solid #f1f5f9;
}

.album-action-text {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary, #0b2545);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.gallery-card:hover .album-action-text {
    color: #b45309;
    transform: translateX(4px);
}

/* ==========================================================================
   HIGH-END MODERN LIGHTBOX MODAL
   ========================================================================== */

.csi-lightbox-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(5, 14, 28, 0.96) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    z-index: 99999999 !important;
    display: none;
    flex-direction: column !important;
    opacity: 0;
    transition: opacity 0.25s ease !important;
    user-select: none;
}

.csi-lightbox-modal.active {
    display: flex !important;
    opacity: 1 !important;
}

/* Lightbox Topbar */
.csi-lb-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 28px;
    background: rgba(3, 9, 18, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
    z-index: 10;
}

.csi-lb-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.csi-lb-meta-line {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.csi-lb-album-badge {
    background: rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 2px 9px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    letter-spacing: 0.02em;
}

.csi-lb-badge {
    background: var(--accent, #d4af37);
    color: #0b2545;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 9px;
    border-radius: 9999px;
    flex-shrink: 0;
}

.csi-lb-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.csi-lb-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.csi-lb-counter {
    font-size: 0.85rem;
    font-weight: 700;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.08);
    padding: 4px 12px;
    border-radius: 9999px;
}

.csi-lb-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1.1rem;
    text-decoration: none;
}

.csi-lb-btn:hover {
    background: #ffffff;
    color: #0b2545;
    transform: scale(1.08);
}

.csi-lb-close:hover {
    background: #ef4444;
    color: #ffffff;
    border-color: #ef4444;
}

/* Lightbox Stage */
.csi-lb-stage {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 16px 80px;
    overflow: hidden;
    min-height: 0;
}

.csi-lb-image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    max-height: 100%;
    position: relative;
}

.csi-lb-active-img {
    max-width: 100%;
    max-height: calc(100vh - 210px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.7);
    transition: transform 0.25s ease, opacity 0.2s ease;
    display: block;
}

.csi-lb-desc-text {
    margin: 10px 0 0 0;
    font-size: 0.9rem;
    color: #cbd5e1;
    text-align: center;
    max-width: 700px;
    line-height: 1.4;
}

.csi-lb-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.22s ease;
    z-index: 10;
    outline: none;
}

.csi-lb-nav-btn:hover {
    background: #ffffff;
    color: #0b2545;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.csi-lb-prev {
    left: 20px;
}

.csi-lb-next {
    right: 20px;
}

/* Lightbox Bottom Filmstrip */
.csi-lb-filmstrip {
    height: 84px;
    background: rgba(3, 9, 18, 0.85);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 20px;
    overflow-x: auto;
    flex-shrink: 0;
}

.csi-lb-filmstrip::-webkit-scrollbar {
    height: 4px;
}

.csi-lb-filmstrip::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.csi-lb-thumb-item {
    height: 60px;
    width: 88px;
    border-radius: 8px;
    overflow: hidden;
    opacity: 0.45;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.csi-lb-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.csi-lb-thumb-item:hover,
.csi-lb-thumb-item.active {
    opacity: 1;
    border-color: var(--accent, #d4af37);
    transform: translateY(-2px) scale(1.05);
}

/* ==========================================================================
   DIGITAL MINISTRY & VIDEO MEDIA SECTION
   ========================================================================== */

.videos-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.85rem;
    margin-top: 2rem;
}

.video-card-modern {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(11, 37, 69, 0.06);
    border: 1px solid #e2e8f0;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.video-card-modern:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(11, 37, 69, 0.12);
    border-color: #cbd5e1;
}

.video-thumb-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0f172a;
}

.video-thumb-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.video-card-modern:hover .video-thumb-frame img {
    transform: scale(1.05);
}

.video-overlay-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.45) 100%);
    pointer-events: none;
}

.video-play-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ff0000;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(255, 0, 0, 0.45);
    border: 2px solid #ffffff;
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
}

.video-play-badge svg {
    margin-left: 2px;
}

.video-card-modern:hover .video-play-badge {
    transform: translate(-50%, -50%) scale(1.15);
    background: #e60000;
}

.video-cat-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(11, 37, 69, 0.88);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fef08a;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 3px 9px;
    border-radius: 6px;
    z-index: 2;
}

.video-platform-pill {
    position: absolute;
    bottom: 10px;
    right: 12px;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    z-index: 2;
}

.video-card-body {
    padding: 1.25rem 1.35rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    background: #ffffff;
}

.video-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.4;
    margin: 0 0 0.4rem 0;
    font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
    transition: color 0.2s ease;
}

.video-card-modern:hover .video-card-title {
    color: #c8102e;
}

.video-card-desc {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0 0 0.85rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.75rem;
    border-top: 1px solid #f1f5f9;
    margin-top: auto;
}

.video-channel-tag {
    font-size: 0.78rem;
    font-weight: 700;
    color: #64748b;
}

.video-play-action {
    font-size: 0.82rem;
    font-weight: 800;
    color: #c8102e;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.video-card-modern:hover .video-play-action {
    color: #990b22;
    transform: translateX(3px);
}

/* YouTube Channel Promo Banner */
.yt-channel-banner {
    background: linear-gradient(135deg, #0b2545 0%, #061527 100%);
    border-radius: 20px;
    padding: 2.5rem 3rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 16px 45px rgba(11, 37, 69, 0.2);
    position: relative;
    overflow: hidden;
}

.yt-channel-banner::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 0, 0, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.yt-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.yt-icon-box {
    width: 64px;
    height: 64px;
    min-width: 64px;
    border-radius: 16px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    flex-shrink: 0;
}

.yt-banner-text {
    flex-grow: 1;
}

.yt-banner-text h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 0.35rem 0;
    font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
}

.yt-banner-text p {
    font-size: 0.92rem;
    color: #cbd5e1;
    margin: 0;
    line-height: 1.5;
}

.btn-yt-sub {
    background: #ff0000;
    color: #ffffff !important;
    padding: 0.85rem 1.75rem;
    border-radius: 9999px;
    font-weight: 800;
    font-size: 0.92rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 24px rgba(255, 0, 0, 0.35);
    transition: all 0.25s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-yt-sub:hover {
    background: #cc0000;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(255, 0, 0, 0.45);
}

/* ==========================================================================
   CALL TO ACTION & PRAYER REQUEST
   ========================================================================== */

.cta-banner {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 4rem 3rem;
    text-align: center;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.cta-banner h2 {
    color: #ffffff;
    font-size: 2.4rem;
    margin-bottom: 1rem;
}

.cta-banner p {
    color: #cbd5e1;
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto 2rem;
}

.cta-action-group {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ==========================================================================
   INNER PAGE HERO & BREADCRUMBS
   ========================================================================== */

.page-header-banner {
    background: linear-gradient(135deg, #051329 0%, #0b223d 50%, #0e2a4d 100%);
    color: #ffffff;
    padding: 4.5rem 0 3.75rem;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid rgba(212, 175, 55, 0.35);
    box-shadow: 0 10px 30px rgba(5, 19, 41, 0.3);
}

/* Cathedral Ambient Light Flare */
.page-header-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: 5%;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.14) 0%, rgba(200, 16, 46, 0.08) 45%, transparent 70%);
    pointer-events: none;
    border-radius: 50%;
}

/* Watermark Church Cross */
.page-header-banner::after {
    content: '✝';
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 260px;
    font-weight: 200;
    color: rgba(255, 255, 255, 0.035);
    pointer-events: none;
    line-height: 1;
    user-select: none;
}

.page-header-content {
    position: relative;
    z-index: 2;
    max-width: 860px;
}

.page-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: #fef08a;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 30px;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-header-badge::before {
    content: '✦';
    color: var(--accent, #d4af37);
    font-size: 0.75rem;
}

.page-header-title {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 0.85rem;
    line-height: 1.18;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.01em;
}

.page-header-content.text-center {
    margin: 0 auto;
    text-align: center;
}

.page-header-content.text-center .page-header-desc,
.page-header-content.text-center .page-header-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.page-header-desc,
.page-header-subtitle {
    color: #cbd5e1;
    font-size: 1.1rem;
    line-height: 1.65;
    max-width: 720px;
    margin: 0 0 1.5rem 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Frosted Glass Breadcrumbs Bar */
.page-breadcrumbs {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 16px;
    border-radius: 30px;
    color: #e2e8f0;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-breadcrumbs a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.page-breadcrumbs a:hover {
    color: #fef08a;
    text-decoration: underline;
}

.page-breadcrumbs .separator {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.75rem;
}

.page-breadcrumbs span:last-child {
    color: #ffffff;
    font-weight: 700;
}

/* ==========================================================================
   CONTACT & LOCATION SECTION
   ========================================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
}

.contact-info-card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.contact-info-card h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 44px;
    height: 44px;
    background: rgba(11, 43, 74, 0.08);
    color: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item-text h4 {
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.contact-item-text p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: 0.92rem;
    transition: var(--transition);
    background: var(--bg-surface);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(22, 78, 99, 0.15);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* ==========================================================================
   CATHEDRAL FOOTER
   ========================================================================== */

.site-footer {
    background: linear-gradient(180deg, #051329 0%, #030a17 100%);
    color: #cbd5e1;
    padding: 5rem 0 2.5rem;
    border-top: 3px solid var(--accent, #d4af37);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    width: 600px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 1.35fr 1.3fr;
    gap: 3.5rem;
    margin-bottom: 3.5rem;
    position: relative;
    z-index: 2;
}

/* Col 1: Identity */
.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.95rem;
    margin-bottom: 1.25rem;
}

.footer-emblem-img {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.25));
    border-radius: 50%;
}

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

.footer-church-name {
    font-family: var(--font-sans, 'Plus Jakarta Sans', system-ui, sans-serif);
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
}

.footer-church-loc {
    font-size: 0.82rem;
    color: var(--accent, #d4af37);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #94a3b8;
}

.footer-social-links {
    display: flex;
    gap: 0.75rem;
}

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

.footer-social-icon.icon-fb:hover {
    background: #1877F2;
    border-color: #1877F2;
    color: #ffffff;
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 6px 16px rgba(24, 119, 242, 0.4);
}

.footer-social-icon.icon-yt:hover {
    background: #FF0000;
    border-color: #FF0000;
    color: #ffffff;
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 6px 16px rgba(255, 0, 0, 0.4);
}

.footer-social-icon.icon-wa:hover {
    background: #25D366;
    border-color: #25D366;
    color: #ffffff;
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

/* Col Titles */
.footer-col-title {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.65rem;
    letter-spacing: 0.02em;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 2.5px;
    background: var(--accent, #d4af37);
    border-radius: 2px;
}

/* Col 2: Navigation Links Grid */
.footer-menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1.75rem;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-menu li {
    margin: 0;
    padding: 0;
}

.footer-menu li a {
    color: #cbd5e1;
    font-size: 0.92rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    padding: 0.2rem 0;
    line-height: 1.4;
}

.footer-menu li a::before {
    content: '›';
    color: var(--accent, #d4af37);
    font-size: 1.15rem;
    font-weight: bold;
    line-height: 1;
    transition: transform 0.2s ease, color 0.2s ease;
}

.footer-menu li a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.footer-menu li a:hover::before {
    color: #fef08a;
    transform: translateX(2px);
}

/* Col 3: Parish Office List */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.95rem;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #cbd5e1;
    margin: 0 !important;
}

.footer-icon-bubble {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: #fef08a;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.1rem;
    transition: all 0.2s ease;
}

.footer-contact-item:hover .footer-icon-bubble {
    background: rgba(212, 175, 55, 0.22);
    border-color: rgba(212, 175, 55, 0.6);
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-contact-item a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact-item a:hover {
    color: var(--accent, #d4af37);
}

/* Footer Bottom Copyright */
.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: #64748b;
    position: relative;
    z-index: 2;
}

.footer-bottom p {
    margin: 0;
}

/* ==========================================================================
   FLOATING ACTION BUTTON (PRAYER REQUEST FAB)
   ========================================================================== */

.floating-prayer-fab-wrap {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 99999;
}

.floating-prayer-fab {
    background: linear-gradient(135deg, var(--secondary, #c8102e) 0%, #991b1b 100%);
    color: #ffffff;
    border: 2px solid rgba(212, 175, 55, 0.5);
    border-radius: 50px;
    padding: 11px 22px;
    font-size: 0.92rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(200, 16, 46, 0.45), 0 0 15px rgba(212, 175, 55, 0.3);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: inherit;
    outline: none;
}

.floating-prayer-fab:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 35px rgba(200, 16, 46, 0.6), 0 0 25px rgba(212, 175, 55, 0.5);
    background: linear-gradient(135deg, #b91c1c 0%, #7f1d1d 100%);
    border-color: #fef08a;
    color: #ffffff;
}

.floating-prayer-fab .fab-icon {
    font-size: 1.15rem;
}

/* ==========================================================================
   PRAYER REQUEST QUICK MODAL POPUP
   ========================================================================== */

.csi-modal-overlay {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 19, 41, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.csi-modal-overlay.active {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.csi-modal-card {
    background: #ffffff;
    border-radius: 20px;
    max-width: 580px;
    width: 100%;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transform: scale(0.96) translateY(10px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.csi-modal-overlay.active .csi-modal-card {
    transform: scale(1) translateY(0);
}

.csi-modal-header {
    background: linear-gradient(135deg, #0b2545 0%, #133a6b 100%);
    color: #ffffff;
    padding: 1.5rem 1.75rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    position: relative;
}

.modal-header-icon {
    font-size: 2rem;
    line-height: 1;
}

.csi-modal-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 0.25rem 0;
}

.csi-modal-sub {
    font-size: 0.82rem;
    color: #cbd5e1;
    margin: 0;
    line-height: 1.4;
}

.csi-modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.csi-modal-close:hover {
    background: #ef4444;
    transform: rotate(90deg);
}

.csi-modal-form {
    padding: 1.75rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.45rem;
}

.form-group label .required {
    color: #ef4444;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.92rem;
    color: #0f172a;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
    font-family: inherit;
    background-color: #ffffff;
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary, #c8102e);
    box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.15);
}

select.form-control optgroup {
    font-weight: 800;
    color: var(--primary, #0b2545);
    background: #f8fafc;
    padding: 6px 4px;
}

select.form-control option {
    font-weight: 500;
    color: #1e293b;
    padding: 6px 8px;
    background: #ffffff;
}

.form-check-wrap {
    margin-bottom: 1.25rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.82rem;
    color: #475569;
    cursor: pointer;
}

.modal-form-alert,
.prayer-slot-status-box {
    padding: 0.85rem 1.15rem;
    border-radius: 8px;
    font-size: 0.88rem;
    margin-bottom: 1.25rem;
    line-height: 1.5;
    transition: all 0.25s ease;
}

.csi-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.csi-modal-footer .btn {
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
}

.csi-modal-footer .btn-primary {
    background: linear-gradient(135deg, var(--secondary, #c8102e) 0%, #991b1b 100%);
    border: none;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(200, 16, 46, 0.3);
    transition: all 0.2s ease;
}

.csi-modal-footer .btn-primary:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #7f1d1d 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(200, 16, 46, 0.4);
}

.csi-modal-footer .btn-outline {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
}

.csi-modal-footer .btn-outline:hover {
    background: #f8fafc;
    color: #0f172a;
}

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

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .floating-prayer-fab-wrap {
        bottom: 16px;
        right: 16px;
    }

    .floating-prayer-fab {
        padding: 9px 16px;
        font-size: 0.85rem;
    }
}

transition: opacity 0.3s ease;
}

.modal-backdrop.active {
    display: flex;
    opacity: 1;
}

.modal-dialog {
    background: #ffffff;
    border-radius: var(--radius-lg);
    max-width: 580px;
    width: 100%;
    padding: 2.5rem;
    position: relative;
    box-shadow: var(--shadow-xl);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.modal-backdrop.active .modal-dialog {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
}

/* ==========================================================================
   ABOUT PAGE STYLES
   ========================================================================== */

.about-quote-box {
    background: linear-gradient(135deg, #fffdf5 0%, #fef9c3 100%);
    border-left: 4px solid var(--accent);
    padding: 1.5rem 1.75rem;
    border-radius: var(--radius-md);
    position: relative;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.1);
}

.about-quote-icon {
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    font-size: 3rem;
    line-height: 1;
    color: rgba(212, 175, 55, 0.2);
    font-family: var(--font-serif);
}

.about-quote-text {
    margin: 0;
    font-size: 1.05rem;
    font-style: italic;
    color: var(--primary);
    font-weight: 600;
    line-height: 1.6;
}

.about-image-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(11, 43, 74, 0.15);
    border: 4px solid #ffffff;
}

.about-main-img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.about-image-card:hover .about-main-img {
    transform: scale(1.03);
}

.about-image-badge {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: linear-gradient(135deg, #0b2545 0%, #133b6b 100%);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: #ffffff;
    padding: 0.85rem 1.4rem;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.badge-num {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.badge-lbl {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #cbd5e1;
}

/* About Pillars Grid */
.about-pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.75rem;
}

.pillar-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 2.2rem 1.8rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.08);
    border-color: var(--accent);
}

.pillar-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.25rem;
}

.pillar-card h3 {
    font-size: 1.22rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.pillar-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

/* Timeline Components */
.timeline-container {
    max-width: 820px;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 45px;
    width: 3px;
    background: linear-gradient(180deg, var(--accent) 0%, var(--primary) 100%);
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    position: relative;
}

.timeline-dot {
    width: 90px;
    height: 46px;
    border-radius: 24px;
    background: var(--primary);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(11, 43, 74, 0.3);
    border: 2px solid var(--accent);
    z-index: 2;
}

.timeline-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 1.6rem 2rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    flex-grow: 1;
    transition: var(--transition);
}

.timeline-card:hover {
    transform: translateX(6px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.timeline-year {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-hover);
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.35rem;
}

.timeline-card h4 {
    font-size: 1.2rem;
    color: var(--primary);
    margin: 0 0 0.5rem 0;
}

.timeline-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

/* Diocese Banner Card */
.diocese-info-card {
    background: linear-gradient(135deg, #0b2545 0%, #133b6b 100%);
    border-radius: var(--radius-xl);
    padding: 3rem;
    color: #ffffff;
    display: flex;
    gap: 2.5rem;
    align-items: center;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 20px 40px rgba(11, 43, 74, 0.2);
}

.diocese-badge-seal {
    width: 84px;
    height: 84px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.diocese-text h3 {
    color: #ffffff;
    font-size: 1.7rem;
    margin: 0 0 0.75rem 0;
}

.diocese-text p {
    color: #cbd5e1;
    font-size: 1rem;
    line-height: 1.75;
    margin: 0 0 1.25rem 0;
}

.diocese-meta-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
}

/* ==========================================================================
   CLERGY PAGE STYLES
   ========================================================================== */

.vicar-modern-showcase {
    background: #ffffff;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    padding: 3rem;
}

.vicar-showcase-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 3.5rem;
    align-items: center;
}

.vicar-portrait-frame {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border: 4px solid #ffffff;
}

.vicar-full-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
}

.vicar-full-name {
    font-size: 2.2rem;
    color: var(--primary);
    margin: 0 0 0.35rem 0;
    font-family: var(--font-serif);
}

.vicar-full-role {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1.25rem;
}

.vicar-scripture-quote {
    background: #f8fafc;
    border-left: 3px solid var(--accent);
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.25rem;
}

.vicar-scripture-quote p {
    margin: 0;
    font-style: italic;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.92rem;
}

.vicar-scripture-quote span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

.vicar-bio-text {
    font-size: 0.98rem;
    line-height: 1.75;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.vicar-timing-box {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: var(--bg-alt);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    margin-bottom: 1.75rem;
}

.timing-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.88rem;
}

.timing-item strong {
    color: var(--primary);
    display: block;
}

.timing-item span {
    color: var(--text-muted);
}

.vicar-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Clergy Honor Roll Grid */
.clergy-honor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.75rem;
}

.clergy-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 2.2rem 1.8rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.clergy-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.08);
    border-color: var(--accent);
}

.clergy-avatar-box {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: rgba(11, 43, 74, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    border: 2px solid var(--border-color);
}

.clergy-badge {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 0.2rem 0.65rem;
    border-radius: var(--radius-full);
    background: rgba(212, 175, 55, 0.15);
    color: #b8860b;
    letter-spacing: 0.05em;
    margin-bottom: 0.6rem;
}

.clergy-card h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin: 0 0 0.35rem 0;
}

.clergy-designation {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.75rem;
}

.clergy-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0 0 1.25rem 0;
}

.clergy-meta {
    margin-top: auto;
    font-size: 0.78rem;
    color: #94a3b8;
    font-weight: 600;
    padding-top: 0.85rem;
    border-top: 1px solid var(--border-color);
    width: 100%;
}

.episcopal-leadership-banner {
    background: linear-gradient(135deg, #061527 0%, #0b2545 100%);
    border-radius: var(--radius-xl);
    padding: 2.5rem 3rem;
    color: #ffffff;
    display: flex;
    gap: 2rem;
    align-items: center;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.episcopal-emblem {
    font-size: 3.5rem;
    flex-shrink: 0;
}

.episcopal-text h3 {
    color: #ffffff;
    font-size: 1.6rem;
    margin: 0 0 0.5rem 0;
}

.episcopal-text p {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0 0 0.75rem 0;
}

.episcopal-meta {
    font-size: 0.82rem;
    color: var(--accent);
    font-weight: 600;
}

/* ==========================================================================
   MESSAGES PAGE STYLES (INTEGRATED HERO-BANNER & EDITORIAL READING)
   ========================================================================== */

.episcopal-editorial-article {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.35);
    box-shadow: 0 15px 50px rgba(11, 43, 74, 0.08);
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 3.25rem;
    position: relative;
    transition: box-shadow 0.3s ease;
}

.episcopal-editorial-article:hover {
    box-shadow: 0 20px 60px rgba(11, 43, 74, 0.12);
}

.vicar-editorial-theme {
    border-color: rgba(11, 43, 74, 0.15);
}

/* Top Hero Banner */
.episcopal-hero-banner {
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 2.75rem;
    align-items: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid #f1ece1;
    margin-bottom: 2rem;
}

.episcopal-hero-photo-col {
    display: flex;
    justify-content: center;
}

.episcopal-photo-frame {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(11, 43, 74, 0.14);
    border: 3px solid #ffffff;
    outline: 1px solid rgba(212, 175, 55, 0.45);
    position: relative;
    background: #f8fafc;
    width: 100%;
    max-width: 230px;
}

.vicar-photo-border {
    outline-color: rgba(11, 43, 74, 0.25);
}

.episcopal-photo-frame img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.episcopal-photo-frame:hover img {
    transform: scale(1.03);
}

.episcopal-photo-badge {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(11, 37, 69, 0.92);
    color: #fef08a;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.25rem 0.8rem;
    border-radius: 999px;
    border: 1px solid var(--accent);
    white-space: nowrap;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.vicar-badge-tag {
    background: rgba(6, 78, 59, 0.92);
    color: #ffffff;
    border-color: #34d399;
}

.episcopal-hero-content-col {
    display: flex;
    flex-direction: column;
}

.episcopal-meta-tagline {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.episcopal-tag-pill {
    background: linear-gradient(135deg, #fef9c3 0%, #fef08a 100%);
    color: #854d0e;
    font-size: 0.74rem;
    font-weight: 800;
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(212, 175, 55, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.vicar-pill-color {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #065f46;
    border-color: #86efac;
}

.episcopal-motto-txt {
    font-size: 0.85rem;
    font-style: italic;
    color: #64748b;
    font-weight: 600;
}

.episcopal-main-headline {
    font-size: 1.85rem;
    color: var(--primary);
    font-family: var(--font-serif);
    font-weight: 800;
    line-height: 1.32;
    margin: 0 0 0.95rem 0;
    letter-spacing: -0.01em;
}

.malayalam-hero-title {
    font-size: 1.7rem;
    line-height: 1.4;
}

.episcopal-author-profile {
    margin-top: 0.25rem;
}

.episcopal-author-name {
    font-size: 1.18rem;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-serif);
    margin: 0 0 0.15rem 0;
    line-height: 1.35;
}

.episcopal-author-role {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 0 0 0.45rem 0;
}

.episcopal-heritage-badge {
    font-size: 0.76rem;
    font-weight: 600;
    color: #854d0e;
    background: #fffdf5;
    border: 1px solid rgba(212, 175, 55, 0.4);
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    display: inline-block;
}

/* Scripture Verse Banner */
.episcopal-verse-banner {
    background: linear-gradient(135deg, #fffdf8 0%, #fefcf3 100%);
    border: 1px solid #f1ece1;
    border-left: 4px solid var(--accent);
    border-radius: 12px;
    padding: 1.25rem 1.75rem;
    margin-bottom: 2.25rem;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.verse-quote-mark {
    font-size: 3rem;
    line-height: 0.8;
    color: var(--accent);
    font-family: var(--font-serif);
    font-weight: 700;
    flex-shrink: 0;
    opacity: 0.85;
    margin-top: 0.2rem;
}

.verse-text {
    font-size: 1.05rem;
    font-style: italic;
    color: #1e293b;
    font-weight: 600;
    line-height: 1.6;
    margin: 0 0 0.35rem 0;
}

.verse-ref {
    font-size: 0.82rem;
    font-weight: 800;
    color: #854d0e;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
}

/* Reading Body */
.episcopal-reading-body {
    max-width: 860px;
    margin: 0 auto 2.5rem;
}

.episcopal-reading-body p {
    font-size: 1.05rem;
    line-height: 1.95;
    color: #334155;
    margin-bottom: 1.35rem;
}

.salutation-lead {
    font-size: 1.12rem;
    color: var(--primary);
    margin-bottom: 1rem !important;
}

.malayalam-reading-body p {
    font-size: 1.08rem;
    line-height: 2.05;
}

/* Formal Episcopal Sign-off */
.episcopal-formal-signoff {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.35rem 1.75rem;
    background: #fdfbf7;
    border: 1px solid #f1ece1;
    border-radius: 14px;
}

.signoff-seal-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--accent);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    border: 2px solid var(--accent);
    flex-shrink: 0;
}

.signoff-lead {
    font-size: 0.84rem;
    color: var(--text-muted);
    font-style: italic;
    display: block;
    margin-bottom: 0.2rem;
}

.signoff-bishop-name {
    margin: 0;
    font-size: 1.18rem;
    color: var(--primary);
    font-weight: 800;
    font-family: var(--font-serif);
}

.signoff-diocese-desc {
    font-size: 0.82rem;
    color: var(--secondary);
    font-weight: 700;
}

/* Vicar Bottom Action Bar */
.vicar-bottom-action-bar {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

/* Messages Grid */
.messages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.message-grid-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.message-grid-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.08);
    border-color: var(--accent);
}

.card-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.msg-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}

.msg-card-title {
    font-size: 1.25rem;
    color: var(--primary);
    margin: 0 0 0.85rem 0;
    line-height: 1.4;
}

.msg-card-snippet {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0 0 1.5rem 0;
}

.msg-card-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.msg-signee strong {
    font-size: 0.9rem;
    color: var(--primary);
    display: block;
}

.msg-signee span {
    font-size: 0.78rem;
    color: var(--text-muted);
    display: block;
}

/* ==========================================================================
   PROJECTS PAGE STYLES
   ========================================================================== */

.projects-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.95fr;
    gap: 3.5rem;
    align-items: center;
    margin-bottom: 3.5rem;
}

.metric-box {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border: 1px solid #bbf7d0;
    padding: 1.25rem 1.4rem;
    border-radius: 14px;
    border-left: 4px solid #059669;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.06);
}

.metric-val {
    font-size: 1.85rem;
    font-weight: 800;
    color: #065f46;
    line-height: 1;
    display: block;
}

.metric-lbl {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #047857;
    margin-top: 0.35rem;
    display: block;
}

.projects-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.project-modern-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    overflow: hidden;
}

.project-modern-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.09);
}

.project-card-imgwrap {
    position: relative;
    width: 100%;
    height: 195px;
    overflow: hidden;
    background: #0b2545;
}

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

.project-modern-card:hover .project-card-imgwrap img {
    transform: scale(1.06);
}

.project-card-imgwrap .project-status-chip {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    background: rgba(11, 37, 69, 0.88);
    color: #fef08a;
    border: 1px solid rgba(212, 175, 55, 0.6);
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.project-card-header {
    padding: 1.5rem 1.75rem 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-icon-circle {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.project-status-chip {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 0.25rem 0.7rem;
    border-radius: var(--radius-full);
    letter-spacing: 0.05em;
}

.status-active {
    background: rgba(15, 118, 110, 0.12);
    color: #0f766e;
    border: 1px solid rgba(15, 118, 110, 0.25);
}

.status-edu {
    background: rgba(124, 58, 237, 0.12);
    color: #7c3aed;
    border: 1px solid rgba(124, 58, 237, 0.25);
}

.status-eco {
    background: rgba(5, 150, 105, 0.12);
    color: #059669;
    border: 1px solid rgba(5, 150, 105, 0.25);
}

.project-card-body {
    padding: 1.25rem 1.75rem;
    flex-grow: 1;
}

.project-num {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #94a3b8;
    letter-spacing: 0.06em;
    display: block;
    margin-bottom: 0.35rem;
}

.project-title {
    font-size: 1.3rem;
    color: var(--primary);
    margin: 0 0 0.75rem 0;
}

.project-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

.project-card-footer {
    padding: 1rem 1.75rem;
    background: var(--bg-alt);
    border-top: 1px solid var(--border-color);
}

.partner-tag {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--secondary);
}

/* ==========================================================================
   AUTHENTIC HISTORY & FOREFATHERS
   ========================================================================== */

.history-narrative-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    padding: 3rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    max-width: 960px;
    margin: 0 auto;
}

.history-block h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 0.85rem;
}

.history-block p {
    font-size: 1.02rem;
    line-height: 1.85;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.forefathers-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 1.25rem 0;
}

.forefather-chip {
    background: #fffdf5;
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: #854d0e;
    padding: 0.4rem 0.95rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.88rem;
    box-shadow: 0 2px 6px rgba(212, 175, 55, 0.1);
}

/* ==========================================================================
   OFFICE BEARERS LAYOUT
   ========================================================================== */

.office-bearers-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
    align-items: flex-start;
}

.officers-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    padding: 2rem;
}

.officers-card-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.officers-icon {
    font-size: 1.6rem;
}

.officers-card-header h3 {
    margin: 0;
    font-size: 1.3rem;
    color: var(--primary);
}

.officers-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.officer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
}

.officer-row strong {
    font-size: 0.98rem;
    color: var(--primary);
}

.officer-sub {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.officer-designation {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--secondary);
    background: #ffffff;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
}

.committee-members-wrap {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.members-chips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.5rem;
}

.members-chips-grid span {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 0.45rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    text-align: center;
}

.officers-side-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mini-card {
    padding: 1.5rem;
}

.simple-officers-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.simple-officers-list li {
    background: var(--bg-alt);
    padding: 0.5rem 0.85rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
}

.auditor-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.mini-lbl {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--secondary);
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.35rem;
}

.auditor-grid p {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.5;
}

.health-dir-card {
    border-color: rgba(15, 118, 110, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
}

.health-officers-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.health-officer-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(15, 118, 110, 0.2);
}

.h-role {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 800;
    color: #0f766e;
    display: block;
}

.health-officer-item strong {
    font-size: 0.92rem;
    color: var(--primary);
}

.h-phone {
    font-size: 0.82rem;
    font-weight: 700;
    color: #0f766e;
    background: rgba(15, 118, 110, 0.1);
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-full);
}

/* ==========================================================================
   CHURCH WORKERS & 32-VICAR ROLL
   ========================================================================== */

.church-workers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.worker-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    text-align: center;
    transition: var(--transition);
}

.worker-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: var(--secondary);
}

.worker-tenure {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--secondary);
    display: block;
    margin-bottom: 0.35rem;
}

.worker-card h4 {
    margin: 0 0 0.4rem 0;
    font-size: 1.05rem;
    color: var(--primary);
}

.worker-tag {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #94a3b8;
}

.featured-worker {
    border-top: 3px solid var(--accent);
    background: #fffdf5;
}

/* 32-Vicar Roll Grid */
.vicars-roll-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.25rem;
}

.vicar-roll-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 1.25rem 1.4rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
}

.vicar-roll-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
    border-color: var(--accent);
}

.v-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(11, 43, 74, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.v-tenure {
    font-size: 0.78rem;
    font-weight: 800;
    color: #b8860b;
    display: block;
}

.v-name {
    font-size: 0.98rem;
    color: var(--primary);
    margin: 0.1rem 0;
}

.v-note {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 0;
}

/* Anniversary Highlight Card */
.anniversary-highlight-card {
    background: linear-gradient(135deg, #0b2545 0%, #061527 100%);
    border-radius: var(--radius-xl);
    padding: 3rem;
    color: #ffffff;
    display: flex;
    gap: 2.5rem;
    align-items: center;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 20px 40px rgba(11, 43, 74, 0.2);
}

.anniv-badge {
    background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
    color: #ffffff;
    width: 90px;
    height: 90px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 900;
    text-align: center;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.anniv-content h3 {
    color: #ffffff;
    font-size: 1.6rem;
    margin: 0 0 0.75rem 0;
}

.anniv-content p {
    color: #cbd5e1;
    font-size: 1rem;
    line-height: 1.75;
    margin: 0 0 1rem 0;
}

/* ==========================================================================
   ABOUT & HERITAGE PAGE STYLES
   ========================================================================== */
.about-stats-bar {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 2rem 0;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.about-stat-box {
    padding: 0.75rem 1rem;
}

.about-stat-num {
    font-size: 2.35rem;
    font-weight: 800;
    font-family: var(--font-serif);
    line-height: 1;
    margin-bottom: 0.35rem;
}

.stat-maroon {
    color: #8b1e5a;
}

.stat-navy {
    color: #0b2545;
}

.stat-gold {
    color: #d4af37;
}

.stat-emerald {
    color: #059669;
}

.about-stat-lbl {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-story-heading {
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
    color: #0b2545;
    font-family: var(--font-serif);
    line-height: 1.25;
}

.about-story-lead {
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-story-body {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-image-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid #ffffff;
}

.about-main-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

.about-image-badge {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: rgba(11, 37, 69, 0.95);
    color: #ffffff;
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-sm);
    border-left: 3px solid #d4af37;
    backdrop-filter: blur(8px);
}

.forefathers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.forefather-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 1.25rem 1.25rem;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
}

.forefather-hero-card {
    background: #fdf2f8;
    border-color: #fbcfe8;
}

.forefather-icon {
    font-size: 1.8rem;
    margin-bottom: 0.35rem;
}

.forefather-name {
    display: block;
    font-size: 1.05rem;
    color: #0b2545;
    margin-bottom: 0.25rem;
}

.forefather-role {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
}

.role-highlight {
    color: #8b1e5a;
    font-weight: 700;
    text-transform: uppercase;
}

.office-bearers-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
}

.main-officers-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid #8b1e5a;
}

.officers-icon-box {
    font-size: 1.5rem;
    background: rgba(139, 30, 90, 0.1);
    color: #8b1e5a;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.officers-title {
    font-size: 1.35rem;
    color: #0b2545;
    margin-bottom: 0.15rem;
}

.officers-subtitle {
    font-size: 0.82rem;
    color: #64748b;
}

.officer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 1rem;
    background: #f8fafc;
    border-radius: var(--radius-sm);
    border: 1px solid #e2e8f0;
    margin-bottom: 0.75rem;
}

.vicar-officer-row {
    background: #fdf2f8;
    border-color: #fbcfe8;
}

.secretary-officer-row {
    background: #fefce8;
    border-color: #fef08a;
}

.officer-designation {
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
}

.designation-vicar {
    background: #8b1e5a;
    color: #ffffff;
    font-weight: 700;
}

.designation-navy {
    background: #0b2545;
    color: #ffffff;
}

.designation-gold {
    background: #ca8a04;
    color: #ffffff;
    font-weight: 700;
}

.committee-members-wrap {
    margin-top: 1.25rem;
}

.committee-members-heading {
    font-size: 0.88rem;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 0.85rem;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.members-chips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.5rem;
}

.member-chip {
    background: #f1f5f9;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
    text-align: center;
}

.officers-side-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mini-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.card-diocesan {
    border-top: 3px solid #0284c7;
}

.card-auditors {
    border-top: 3px solid #d4af37;
}

.officers-mini-icon {
    font-size: 1.25rem;
}

.mini-card-title {
    font-size: 1.15rem;
    color: #0b2545;
}

.simple-officers-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.simple-officers-list li {
    padding: 0.45rem 0.65rem;
    background: #f8fafc;
    border-radius: 4px;
    font-weight: 600;
    color: #0b2545;
    font-size: 0.92rem;
}

.auditor-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.auditor-item {
    background: #f8fafc;
    padding: 0.75rem;
    border-radius: 4px;
}

.auditor-names {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0b2545;
    line-height: 1.4;
}

.health-dir-card {
    background: #f0fdfa;
    border: 1px solid #99f6e4;
    border-top: 3px solid #0f766e;
}

.health-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    border-bottom: 1px solid rgba(15, 118, 110, 0.2);
    padding-bottom: 0.85rem;
    margin-bottom: 1rem;
}

.health-icon-box {
    background: rgba(15, 118, 110, 0.15);
    color: #0f766e;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-size: 1.15rem;
    flex-shrink: 0;
}

.health-title {
    color: #0f766e;
    font-size: 1.15rem;
    margin-bottom: 0.1rem;
}

.health-subtitle {
    font-size: 0.78rem;
    color: #115e59;
}

.health-officers-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.health-officer-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    padding: 0.6rem 0.85rem;
    border-radius: 4px;
    border: 1px solid #ccfbf1;
}

.h-role {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    color: #0f766e;
    font-weight: 700;
}

.h-name {
    color: #0b2545;
    font-size: 0.92rem;
}

.h-phone-pill {
    font-size: 0.82rem;
    font-weight: 700;
    color: #0f766e;
    background: #e6fffa;
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-full);
    text-decoration: none;
}

.diocese-info-card {
    background: linear-gradient(135deg, #0b2545 0%, #133b6b 100%);
    border-radius: var(--radius-lg);
    padding: 3rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    box-shadow: var(--shadow-xl);
}

.diocese-title {
    font-size: 2.2rem;
    color: #ffffff;
    font-family: var(--font-serif);
    margin-bottom: 1rem;
    line-height: 1.25;
}

.diocese-desc {
    color: #cbd5e1;
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 680px;
    margin-bottom: 1.5rem;
}

.diocese-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-outline-white {
    background: transparent;
    border: 1.5px solid #ffffff;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.btn-outline-white:hover {
    background: #ffffff;
    color: #0b2545;
}

.diocese-seal-wrap {
    text-align: center;
    flex-shrink: 0;
}

.diocese-seal-circle {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 3px solid #d4af37;
    backdrop-filter: blur(8px);
}

.diocese-seal-icon {
    font-size: 2.8rem;
}

.diocese-seal-caption {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.88rem;
    color: #fef08a;
    font-weight: 700;
}

/* ==========================================================================
   GLOBAL MODAL SYSTEM
   ========================================================================== */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(6, 21, 39, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 1.25rem 1rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.modal-dialog {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 2.25rem 2rem;
    width: 100%;
    max-width: 540px;
    position: relative;
    max-height: 88vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    margin: auto;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #0b2545;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.modal-close-btn:hover {
    background: #e2e8f0;
    color: #8b1e5a;
    transform: rotate(90deg);
}

/* ==========================================================================
   WORSHIP & LITURGICAL SERVICES PAGE (MODERN REDESIGN)
   ========================================================================== */
.worship-hero-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 400px 1fr;
    overflow: hidden;
    margin-bottom: 2.5rem;
    border-top: 4px solid #8b1e5a;
}

.worship-hero-img-wrap {
    position: relative;
    height: 100%;
    min-height: 320px;
    background: #0b2545;
}

.worship-hero-img {
    width: 100%;
    height: 100%;
    object-fit: unset;
    display: block;
}

.worship-hero-badge {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    right: 1.25rem;
    background: rgba(11, 37, 69, 0.92);
    backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    border-left: 3px solid #d4af37;
}

.badge-tag {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    color: #fef08a;
    letter-spacing: 0.05em;
    margin-bottom: 0.2rem;
}

.hero-time-val {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
}

.worship-hero-content {
    padding: 2.5rem 2.25rem;
    display: flex;
    flex-direction: column;
}

.worship-hero-top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.worship-lang-pill {
    background: #f1f5f9;
    color: #475569;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-full);
}

.worship-hero-title {
    font-size: 1.85rem;
    color: #0b2545;
    margin-bottom: 0.15rem;
    font-family: var(--font-serif);
}

.worship-hero-mal {
    font-size: 1.05rem;
    color: #8b1e5a;
    font-weight: 700;
    display: block;
    margin-bottom: 1rem;
}

.worship-hero-desc {
    color: #475569;
    font-size: 0.98rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.worship-pills-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.75rem;
}

.info-pill {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    color: #334155;
}

.worship-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: auto;
}

/* Secondary 3-Column Fellowship Cards */
.worship-secondary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.worship-subcard {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: var(--transition);
}

.worship-subcard:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: #cbd5e1;
}

.worship-subcard-header {
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
}

.header-emerald {
    background: #f0fdf4;
    border-bottom-color: #dcfce7;
}

.header-maroon {
    background: #fdf2f8;
    border-bottom-color: #fce7f3;
}

.header-navy {
    background: #f0f9ff;
    border-bottom-color: #e0f2fe;
}

.subcard-time-box {
    display: flex;
    flex-direction: column;
}

.s-day {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.header-emerald .s-day {
    color: #166534;
}

.header-maroon .s-day {
    color: #9d174d;
}

.header-navy .s-day {
    color: #0369a1;
}

.s-time {
    font-size: 0.92rem;
    font-weight: 700;
    color: #0b2545;
}

.subcard-icon {
    font-size: 1.5rem;
}

.worship-subcard-body {
    padding: 1.5rem;
    flex-grow: 1;
}

.subcard-title {
    font-size: 1.25rem;
    color: #0b2545;
    margin-bottom: 0.15rem;
}

.subcard-mal {
    font-size: 0.85rem;
    color: #8b1e5a;
    font-weight: 600;
    display: block;
    margin-bottom: 0.75rem;
}

.subcard-desc {
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.subcard-meta-list {
    background: #f8fafc;
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.84rem;
    color: #334155;
}

.worship-subcard-footer {
    padding: 1.1rem 1.5rem;
    border-top: 1px solid #f1f5f9;
    display: flex;
}

.worship-subcard-footer .btn {
    width: 100%;
    justify-content: center;
}


/* Liturgy Roadmap */
.liturgy-roadmap-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.liturgy-step-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 1.75rem 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    position: relative;
    display: flex;
    flex-direction: column;
    border-top: 3px solid #d4af37;
}

.step-num-badge {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #0b2545 0%, #133b6b 100%);
    color: #ffffff;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
    margin-bottom: 1rem;
}

.step-mal-title {
    font-size: 0.85rem;
    color: #8b1e5a;
    font-weight: 700;
    display: block;
    margin-bottom: 0.15rem;
}

.step-eng-title {
    font-size: 1.15rem;
    color: #0b2545;
    margin-bottom: 0.75rem;
}

.step-desc {
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 1rem;
}

.step-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: #854d0e;
    background: #fefce8;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    align-self: flex-start;
}

/* Sacraments Grid */
.sacraments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.sacrament-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 1.75rem;
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 1.25rem;
    transition: var(--transition);
}

.sacrament-card:hover {
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}

.sacrament-icon-wrap {
    width: 48px;
    height: 48px;
    background: #fdf2f8;
    border: 1px solid #fbcfe8;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.sacrament-body {
    flex-grow: 1;
}

.sacrament-name {
    font-size: 1.15rem;
    color: #0b2545;
    margin-bottom: 0.1rem;
}

.sacrament-mal {
    font-size: 0.82rem;
    color: #8b1e5a;
    font-weight: 600;
    display: block;
    margin-bottom: 0.6rem;
}

.sacrament-desc {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.55;
    margin-bottom: 0.85rem;
}

.sacrament-info-row {
    font-size: 0.8rem;
    color: #475569;
    background: #f8fafc;
    padding: 0.4rem 0.65rem;
    border-radius: 4px;
}

/* Visitor Guide */
.visitor-guide-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.visitor-guide-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
    text-align: center;
}

.vg-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.visitor-guide-card h4 {
    font-size: 1.05rem;
    color: #0b2545;
    margin-bottom: 0.5rem;
}

.visitor-guide-card p {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.55;
    margin: 0;
}

/* Authentic Clergy & Workers Portraits */
.worker-avatar-wrap {
    width: 64px;
    height: 64px;
    margin: 0 auto 0.75rem;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--border-color);
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.worker-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.worker-icon-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(11, 43, 74, 0.08);
    color: var(--primary);
    font-size: 1.2rem;
}

.v-card-avatar-wrap {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(212, 175, 55, 0.35);
    background: #f8fafc;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.v-card-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Project Card Thumbnail Header */
.project-card-img-wrap {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #f1f5f9;
    position: relative;
}

.project-card-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.project-modern-card:hover .project-card-thumb {
    transform: scale(1.05);
}

/* ==========================================================================
   ANNIVERSARY FEATURE CARD & ESAF MILESTONE GALLERY
   ========================================================================== */

.anniversary-feature-wrap {
    max-width: 1100px;
    margin: 0 auto;
}

.anniv-story-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(212, 175, 55, 0.35);
    box-shadow: 0 15px 45px rgba(11, 37, 69, 0.08);
    padding: 2.75rem 2.5rem;
    transition: box-shadow 0.3s ease;
}

.anniv-story-card:hover {
    box-shadow: 0 20px 55px rgba(11, 37, 69, 0.12);
}

.anniv-story-header {
    margin-bottom: 1.5rem;
}

.anniv-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #fef9c3 0%, #fef08a 100%);
    color: #854d0e;
    padding: 0.35rem 0.95rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.82rem;
    border: 1px solid rgba(212, 175, 55, 0.45);
    margin-bottom: 0.85rem;
    box-shadow: 0 2px 6px rgba(133, 77, 14, 0.08);
}

.anniv-main-title {
    font-size: 1.85rem;
    color: var(--primary);
    font-weight: 800;
    font-family: var(--font-serif);
    margin: 0 0 0.85rem 0;
    line-height: 1.35;
}

.anniv-lead-text {
    font-size: 1.02rem;
    line-height: 1.8;
    color: #475569;
    margin: 0;
}

/* ESAF Partnership Callout Banner */
.esaf-partnership-banner {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border: 1px solid #86efac;
    border-radius: 14px;
    padding: 1.35rem 1.75rem;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    margin: 1.5rem 0 2rem 0;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.05);
}

.esaf-banner-icon {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
}

.esaf-banner-text {
    flex: 1;
}

.esaf-banner-tag {
    font-size: 0.75rem;
    font-weight: 800;
    color: #065f46;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.35rem;
}

.esaf-banner-text p {
    color: #1e293b;
    font-size: 0.96rem;
    line-height: 1.65;
    margin: 0 0 0.5rem 0;
}

.esaf-dignitaries-list {
    font-size: 0.85rem;
    color: #047857;
    border-top: 1px dashed rgba(5, 150, 105, 0.3);
    padding-top: 0.5rem;
    line-height: 1.5;
}

/* ESAF 4-Photo Showcase Grid */
.esaf-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.esaf-gallery-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
}

.esaf-gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(11, 43, 74, 0.12);
    border-color: var(--accent);
}

.esaf-gallery-imgwrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #0b2545;
}

.esaf-gallery-imgwrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.esaf-gallery-card:hover .esaf-gallery-imgwrap img {
    transform: scale(1.06);
}

.esaf-gallery-overlay {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
}

.esaf-gallery-tag {
    background: rgba(11, 37, 69, 0.85);
    backdrop-filter: blur(4px);
    color: #fef08a;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    display: inline-block;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.esaf-gallery-info {
    padding: 0.85rem 1rem 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.esaf-gallery-info h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 0.3rem 0;
    line-height: 1.35;
}

.esaf-gallery-info p {
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.45;
    margin: 0;
}

/* ==========================================================================
   ABOUT US & HERITAGE PAGE STYLES
   ========================================================================== */

/* Key Stats Bar */
.about-stats-bar {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 1.75rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.about-stat-box {
    text-align: center;
    padding: 0.75rem;
    border-right: 1px solid var(--border-color);
}

.about-stat-box:last-child {
    border-right: none;
}

.about-stat-num {
    font-size: 2.25rem;
    font-weight: 800;
    font-family: var(--font-serif);
    line-height: 1.1;
    margin-bottom: 0.25rem;
}

.stat-maroon {
    color: #800020;
}

.stat-navy {
    color: var(--primary);
}

.stat-gold {
    color: #b8860b;
}

.stat-emerald {
    color: #047857;
}

.about-stat-lbl {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

/* About Feature Grid (2-Column) */
.about-feature-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}

.about-section-badge {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.about-meta-text {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--text-muted);
    font-style: italic;
}

.about-main-title {
    font-size: 2.2rem;
    color: var(--primary);
    font-family: var(--font-serif);
    font-weight: 800;
    line-height: 1.28;
    margin-bottom: 1.35rem;
    letter-spacing: -0.01em;
}

.about-text-lead p {
    font-size: 1.12rem;
    line-height: 1.85;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.about-text-body p {
    font-size: 1.02rem;
    line-height: 1.9;
    color: #334155;
    margin-bottom: 1.25rem;
}

.about-highlight-quote {
    background: linear-gradient(135deg, #fffdf8 0%, #fefcf3 100%);
    border-left: 4px solid var(--accent);
    border-radius: 0 12px 12px 0;
    border-top: 1px solid #f1ece1;
    border-right: 1px solid #f1ece1;
    border-bottom: 1px solid #f1ece1;
    padding: 1.25rem 1.5rem;
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.quote-symbol-gold {
    font-size: 2.5rem;
    line-height: 0.8;
    color: var(--accent);
    font-family: var(--font-serif);
    font-weight: 800;
    flex-shrink: 0;
}

.about-highlight-quote p {
    font-size: 0.95rem;
    font-style: italic;
    color: #1e293b;
    font-weight: 600;
    margin: 0;
    line-height: 1.6;
}

/* Image Showcase & Quick Milestones */
.about-visual-col {
    display: flex;
    flex-direction: column;
}

.about-image-showcase {
    background: #ffffff;
    border-radius: 20px;
    padding: 1rem;
    border: 1px solid rgba(212, 175, 55, 0.35);
    box-shadow: 0 15px 40px rgba(11, 43, 74, 0.08);
}

.showcase-img-wrap {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    height: 320px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.about-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.about-image-showcase:hover .about-hero-img {
    transform: scale(1.04);
}

.showcase-caption-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 1.25rem 1rem;
    background: linear-gradient(to top, rgba(11, 37, 69, 0.92) 0%, transparent 100%);
    color: #ffffff;
}

.overlay-tag {
    display: inline-block;
    background: var(--accent);
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    margin-bottom: 0.25rem;
}

.overlay-title {
    font-size: 1.05rem;
    color: #ffffff;
    font-weight: 700;
    margin: 0;
}

.about-quick-milestones {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 1rem;
}

.milestone-chip {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 0.55rem 0.85rem;
    border-radius: 10px;
    transition: var(--transition);
}

.milestone-chip:hover {
    background: #ffffff;
    border-color: var(--accent);
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.chip-year {
    background: var(--primary);
    color: #fef08a;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    border: 1px solid var(--accent);
    flex-shrink: 0;
}

.chip-desc {
    font-size: 0.82rem;
    font-weight: 600;
    color: #334155;
    line-height: 1.35;
}

/* History Editorial Card (2-Part Grid) */
.history-editorial-card {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid rgba(212, 175, 55, 0.35);
    box-shadow: 0 15px 45px rgba(11, 43, 74, 0.07);
    padding: 3rem;
}

.history-heading {
    font-size: 2.1rem;
    color: var(--primary);
    font-family: var(--font-serif);
    font-weight: 800;
    margin: 0.75rem 0 0.5rem 0;
}

.history-subheading {
    font-size: 1.02rem;
    color: var(--text-muted);
    margin: 0 auto 2.5rem;
}

.history-two-part-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.history-story-block {
    background: #fdfbf7;
    border: 1px solid #f1ece1;
    border-radius: 18px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.highlight-history-block {
    background: linear-gradient(135deg, #fffdf8 0%, #fefcf3 100%);
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: 0 8px 25px rgba(184, 134, 11, 0.08);
}

.history-block-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.history-block-title {
    font-size: 1.35rem;
    color: var(--primary);
    font-family: var(--font-serif);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.35;
}

.history-paragraph {
    font-size: 0.98rem;
    line-height: 1.85;
    color: #334155;
    margin-bottom: 1rem;
}

.history-paragraph a,
.history-link {
    color: #0b2545;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: #d4af37;
    text-underline-offset: 3px;
    transition: all 0.2s ease;
}

.history-paragraph a:hover,
.history-link:hover {
    color: #991b1b;
    text-decoration-color: #991b1b;
}

.history-callout-note {
    background: #ffffff;
    border-left: 3px solid #64748b;
    border-radius: 0 8px 8px 0;
    padding: 0.85rem 1.1rem;
    margin-top: auto;
    font-size: 0.88rem;
    color: #475569;
}

.callout-label {
    font-weight: 800;
    color: var(--primary);
    display: block;
    margin-bottom: 0.2rem;
}

.history-callout-note p {
    margin: 0;
    line-height: 1.55;
}

.forefathers-inline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0.75rem 0 1.25rem;
}

.forefather-tag {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.forefather-tag.tag-primary {
    background: var(--primary);
    color: #fef08a;
    border-color: var(--accent);
}

.history-result-badge {
    background: #0b2545;
    color: #fef08a;
    font-size: 0.84rem;
    font-weight: 700;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    border: 1px solid var(--accent);
    line-height: 1.5;
    margin-top: auto;
}

/* Timeline Components */
.timeline-container {
    max-width: 860px;
    margin: 0 auto;
    position: relative;
    padding: 1rem 0;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 28px;
    width: 3px;
    background: linear-gradient(to bottom, #d4af37, #0b2545);
    border-radius: 999px;
}

.timeline-item {
    position: relative;
    padding-left: 75px;
    margin-bottom: 2rem;
}

.timeline-dot {
    position: absolute;
    left: 0;
    top: 12px;
    width: 58px;
    height: 32px;
    border-radius: 999px;
    background: #0b2545;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.dot-navy {
    background: #0b2545;
    color: #fef08a;
}

.dot-sky {
    background: #0284c7;
    color: #ffffff;
}

.dot-maroon {
    background: #800020;
    color: #fef08a;
    border-color: #d4af37;
}

.dot-gold {
    background: #b8860b;
    color: #ffffff;
}

.dot-emerald {
    background: #047857;
    color: #ffffff;
}

.dot-gradient {
    background: linear-gradient(135deg, #0b2545, #d4af37);
    color: #ffffff;
}

.timeline-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 1.35rem 1.65rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.timeline-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.timeline-card.border-navy {
    border-left: 4px solid var(--primary);
}

.timeline-card.border-sky {
    border-left: 4px solid #0284c7;
}

.timeline-card.border-maroon {
    border-left: 4px solid #800020;
}

.timeline-card.border-gold {
    border-left: 4px solid var(--accent);
}

.timeline-card.border-emerald {
    border-left: 4px solid #047857;
}

.timeline-card h4 {
    font-size: 1.15rem;
    color: var(--primary);
    font-weight: 800;
    margin: 0 0 0.4rem 0;
}

.timeline-card p {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.65;
    margin: 0;
}

.timeline-card.card-gradient {
    background: linear-gradient(135deg, #0b2545 0%, #163e6e 100%);
    border: 1px solid var(--accent);
}

.timeline-card.card-gradient h4 {
    color: #fef08a;
}

.timeline-card.card-gradient p {
    color: #e2e8f0;
}

/* Forefathers Grid */
.forefathers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.forefather-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.forefather-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.07);
    border-color: var(--accent);
}

.forefather-hero-card {
    background: linear-gradient(135deg, #fffdf8 0%, #fefcf3 100%);
    border: 2px solid var(--accent);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.15);
}

.forefather-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.forefather-name {
    font-size: 1.05rem;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 0.35rem;
}

.forefather-role {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
}

.role-highlight {
    color: #854d0e;
    font-weight: 800;
    background: #fef9c3;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    margin-top: 0.25rem;
}

/* ==========================================================================
   PROJECTS LUXURY GRID & SHOWCASE STYLES
   ========================================================================== */

/* Modern Quick Nav Strip */
.projects-quicknav-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    max-width: 1050px;
    margin: 0 auto 2.5rem;
    padding: 0.5rem;
    background: #f1f5f9;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
}

.project-nav-item {
    background: #ffffff;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid transparent;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.project-nav-item:hover {
    background: var(--primary);
    color: #fef08a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(11, 37, 69, 0.15);
}

/* 3-Column Balanced Luxury Grid */
.projects-luxury-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.project-luxury-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 4px 20px rgba(11, 43, 74, 0.04);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.35s ease;
    scroll-margin-top: 115px;
}

.project-luxury-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(11, 43, 74, 0.1);
    border-color: rgba(212, 175, 55, 0.5);
}

/* Thumbnail with Overlay */
.project-card-thumb {
    position: relative;
    width: 100%;
    height: 185px;
    overflow: hidden;
    background: #0b2545;
}

.project-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.project-luxury-card:hover .project-card-thumb img {
    transform: scale(1.08);
}

.project-thumb-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.85rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, transparent 40%, rgba(0, 0, 0, 0.3) 100%);
    pointer-events: none;
}

.project-card-idx {
    background: rgba(11, 37, 69, 0.85);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.project-category-chip {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.chip-emerald {
    background: #047857;
    color: #ffffff;
}

.chip-sky {
    background: #0284c7;
    color: #ffffff;
}

.chip-gold {
    background: #d4af37;
    color: #0b2545;
}

.chip-purple {
    background: #7c3aed;
    color: #ffffff;
}

.chip-orange {
    background: #ea580c;
    color: #ffffff;
}

.chip-blue {
    background: #2563eb;
    color: #ffffff;
}

.chip-green {
    background: #16a34a;
    color: #ffffff;
}

.chip-pink {
    background: #db2777;
    color: #ffffff;
}

.chip-yellow {
    background: #ca8a04;
    color: #ffffff;
}

.chip-red {
    background: #dc2626;
    color: #ffffff;
}

/* Card Body */
.project-luxury-body {
    padding: 1.35rem 1.45rem 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-luxury-title {
    font-size: 1.18rem;
    color: var(--primary);
    font-family: var(--font-serif);
    font-weight: 800;
    line-height: 1.35;
    margin: 0 0 0.65rem 0;
}

.project-luxury-text {
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.65;
    margin: 0;
}

/* Card Footer */
.project-luxury-footer {
    padding: 0.75rem 1.45rem;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.meta-icon {
    font-size: 0.9rem;
    flex-shrink: 0;
}

.meta-txt {
    font-size: 0.76rem;
    font-weight: 700;
    color: #475569;
    line-height: 1.35;
}

/* 12th CTA Symmetrical Card */
.card-cta-featured {
    background: linear-gradient(135deg, #0b2545 0%, #163e6e 100%);
    border: 1px solid var(--accent);
    color: #ffffff;
    justify-content: center;
}

.card-cta-inner {
    padding: 2rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.card-cta-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.card-cta-title {
    font-size: 1.25rem;
    color: #fef08a;
    font-family: var(--font-serif);
    font-weight: 800;
    margin-bottom: 0.65rem;
    line-height: 1.3;
}

.card-cta-text {
    font-size: 0.84rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   NEWSLETTER ARCHIVE & PDF GRID STYLES
   ========================================================================== */

/* 1. Featured Spotlight Card */
.newsletter-spotlight-card {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0b2545 0%, #133b6b 100%);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    color: #ffffff;
    margin-bottom: 3.5rem;
    box-shadow: 0 15px 30px -5px rgba(11, 37, 69, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
}

.newsletter-spotlight-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, rgba(212, 175, 55, 0) 70%);
    pointer-events: none;
}

.spotlight-visual {
    flex-shrink: 0;
    margin-right: 2.5rem;
    cursor: pointer;
}

/* 3D Spotlight Publication Book Mockup */
.spotlight-3d-book {
    width: 140px;
    height: 190px;
    position: relative;
    perspective: 1000px;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.spotlight-3d-book:hover {
    transform: translateY(-8px) scale(1.04) rotate(-1deg);
}

.spotlight-book-cover {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 8px 12px 12px 8px;
    padding: 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), inset -4px 0 8px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 2;
}

.spotlight-book-spine {
    position: absolute;
    top: 0;
    left: 0;
    width: 12px;
    height: 100%;
    background: linear-gradient(to right, #b91c1c, #ef4444);
    border-radius: 8px 0 0 8px;
    z-index: 3;
}

.spotlight-book-cross {
    font-size: 1.5rem;
    color: var(--secondary, #c8102e);
    line-height: 1;
}

.spotlight-book-badge {
    background: linear-gradient(135deg, #c8102e, #b91c1c);
    color: #ffffff;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 2px 6px;
    border-radius: 4px;
}

.spotlight-book-title {
    font-family: var(--font-serif);
    font-size: 0.82rem;
    font-weight: 700;
    color: #0f172a;
    text-align: center;
    line-height: 1.2;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.spotlight-book-date {
    font-size: 0.68rem;
    font-weight: 600;
    color: #64748b;
}

.spotlight-book-pdf-tag {
    background: #0f172a;
    color: #ffffff;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

.spotlight-content {
    flex-grow: 1;
}

.spotlight-tag {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0.85rem;
}

.spotlight-date {
    color: #fef08a;
    font-size: 0.95rem;
    font-weight: 600;
}

.spotlight-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 0.75rem;
    line-height: 1.25;
}

.spotlight-desc {
    color: #cbd5e1;
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 1.25rem;
    max-width: 750px;
}

.spotlight-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.88rem;
    color: #94a3b8;
    margin-bottom: 1.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.spotlight-meta strong {
    color: #ffffff;
}

.spotlight-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.spotlight-actions .btn-outline-primary {
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
}

.spotlight-actions .btn-outline-primary:hover {
    background: #ffffff;
    color: var(--primary);
}

/* 2. Interactive Toolbar & Search */
.newsletter-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.newsletter-search-wrap {
    position: relative;
    flex-grow: 1;
    max-width: 480px;
}

.newsletter-search-wrap .search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
    color: #64748b;
    pointer-events: none;
}

.newsletter-search-input {
    width: 100%;
    padding: 0.85rem 1.25rem 0.85rem 2.85rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
    font-size: 0.95rem;
    color: var(--text-main);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.newsletter-search-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.newsletter-count-badge {
    font-size: 0.92rem;
    color: var(--text-muted);
    background: var(--bg-alt);
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
}

/* 3. Year Filter Pills */
.newsletter-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.nl-filter-btn {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 0.55rem 1.15rem;
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nl-filter-btn .pill-badge {
    background: #e2e8f0;
    color: #475569;
    font-size: 0.75rem;
    padding: 1px 6px;
    border-radius: 10px;
    font-weight: 700;
    transition: var(--transition);
}

.nl-filter-btn:hover {
    border-color: var(--primary-light);
    color: var(--primary);
    background: var(--bg-alt);
}

.nl-filter-btn.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 4px 10px rgba(11, 37, 69, 0.2);
}

.nl-filter-btn.active .pill-badge {
    background: var(--accent);
    color: var(--primary-dark);
}

/* 4. Luxury Newsletter Grid & Publication Mockup Cards */
.newsletter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 28px;
    margin-bottom: 3.5rem;
}

.newsletter-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.newsletter-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.16);
    border-color: rgba(200, 16, 46, 0.3);
}

/* Magazine Visual Cover Header */
.newsletter-cover-header {
    height: 175px;
    background: radial-gradient(ellipse at 50% 30%, #1e293b 0%, #0f172a 100%);
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.newsletter-cover-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.cover-header-top {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}

.cover-badge-date {
    background: rgba(255, 255, 255, 0.15);
    color: #f8fafc;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cover-badge-size {
    background: rgba(0, 0, 0, 0.4);
    color: #cbd5e1;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 3D Publication Mockup in Card */
.cover-book-mockup {
    width: 95px;
    height: 110px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
    margin-top: -8px;
}

.newsletter-card:hover .cover-book-mockup {
    transform: translateY(-4px) scale(1.05) rotate(-2deg);
}

.cover-book-face {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #ffffff, #f1f5f9);
    border-radius: 4px 8px 8px 4px;
    padding: 0.6rem 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45), inset -3px 0 6px rgba(0, 0, 0, 0.08);
    position: relative;
}

.cover-book-spine {
    position: absolute;
    top: 0;
    left: 0;
    width: 8px;
    height: 100%;
    background: linear-gradient(to right, #b91c1c, #ef4444);
    border-radius: 4px 0 0 4px;
    z-index: 3;
}

.cover-book-cross {
    font-size: 1rem;
    color: var(--secondary, #c8102e);
    line-height: 1;
}

.cover-book-series {
    font-size: 0.55rem;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 75px;
}

.cover-book-name {
    font-family: var(--font-serif);
    font-size: 0.65rem;
    font-weight: 700;
    color: #0f172a;
    text-align: center;
    line-height: 1.15;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cover-book-pill {
    background: #ef4444;
    color: #ffffff;
    font-size: 0.55rem;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 3px;
    letter-spacing: 0.04em;
}

/* Hover Overlay prompt */
.cover-hover-prompt {
    position: absolute;
    bottom: 8px;
    background: rgba(200, 16, 46, 0.95);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 5;
    box-shadow: 0 4px 15px rgba(200, 16, 46, 0.4);
}

.newsletter-card:hover .cover-hover-prompt {
    opacity: 1;
    transform: translateY(0);
}

/* Card Body */
.newsletter-card-body {
    padding: 1.25rem 1.25rem 1rem 1.25rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.nl-edition-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.nl-edition-badge {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--secondary, #c8102e);
    background: rgba(200, 16, 46, 0.08);
    padding: 2px 8px;
    border-radius: 4px;
}

.nl-format-tag {
    font-size: 0.7rem;
    font-weight: 600;
    color: #94a3b8;
}

.newsletter-card-title {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: #0f172a;
    font-weight: 700;
    margin: 0 0 0.45rem 0;
    line-height: 1.35;
    transition: color 0.2s ease;
}

.newsletter-card:hover .newsletter-card-title {
    color: var(--secondary, #c8102e);
}

.newsletter-card-note {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.45;
    margin: 0;
    margin-top: auto;
}

/* Card Actions */
.newsletter-card-actions {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 10px;
    padding: 1rem 1.25rem 1.25rem 1.25rem;
    border-top: 1px solid #f1f5f9;
    background: #fafafa;
}

.nl-action-btn {
    padding: 0.65rem 0.85rem;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    text-align: center;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
}

.nl-btn-read {
    background: linear-gradient(135deg, var(--secondary, #c8102e) 0%, #991b1b 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(200, 16, 46, 0.25);
}

.nl-btn-read:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #7f1d1d 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(200, 16, 46, 0.35);
}

.nl-btn-download {
    background: #ffffff;
    color: #334155;
    border: 1px solid #cbd5e1;
}

.nl-btn-download:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #0f172a;
    transform: translateY(-2px);
}

/* 5. Empty State Card */
.newsletter-empty-card {
    text-align: center;
    background: var(--bg-surface);
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-lg);
    padding: 3.5rem 2rem;
    margin: 2rem 0;
}

.newsletter-empty-card .empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.newsletter-empty-card h3 {
    font-size: 1.35rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.newsletter-empty-card p {
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
}

/* 6. Parish Subscription Box */
.newsletter-subscribe-box {
    display: flex;
    align-items: center;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    gap: 24px;
}

.subscribe-icon-wrap {
    font-size: 3rem;
    background: #fef08a;
    width: 80px;
    height: 80px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.subscribe-content {
    flex-grow: 1;
}

.subscribe-title {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    color: var(--primary);
    margin-bottom: 0.4rem;
    font-weight: 700;
}

.subscribe-desc {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin: 0;
    line-height: 1.6;
}

.subscribe-action {
    flex-shrink: 0;
}

/* ============================================
   IMAGE QUALITY & DISPLAY IMPROVEMENTS
   ============================================ */

/* General image rendering improvements */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Portrait/avatar images - use contain with branded background fill */
.v-card-avatar-img,
.worker-thumb-img,
.vicar-full-img,
.vicar-portrait-img {
    object-fit: cover;
    background: #0f1e33;
    image-rendering: auto;
}

/* For small portrait images that are smaller than the container,
   use contain to avoid upscaling blur, with a branded fill */
.v-card-avatar-wrap {
    background: linear-gradient(135deg, #0b1e35, #1a3a5c);
}

.vicar-portrait-frame,
.vicar-image-holder {
    background: linear-gradient(135deg, #0b1e35, #142d4c);
}

/* Project card thumbs - sharp cover */
.project-card-thumb {
    background: linear-gradient(135deg, #061527, #0b2545);
}

.project-card-thumb img {
    object-fit: cover;
    image-rendering: auto;
}

/* Gallery images - ensure sharp and non-blurred */
.gallery-item img {
    object-fit: cover;
    image-rendering: auto;
    will-change: transform;
}

/* Outreach photo */
.outreach-img {
    object-fit: cover;
    image-rendering: auto;
}

/* About page hero image */
.about-hero-img {
    object-fit: cover;
    image-rendering: auto;
}

/* Diocese emblem clean display */
.diocese-seal-circle img {
    object-fit: contain;
    image-rendering: auto;
    padding: 0.5rem;
}

/* Gallery lightbox improvements */
.csi-lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    cursor: pointer;
}

.csi-lightbox-inner {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    cursor: default;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.csi-lightbox-inner img {
    max-width: 80vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    display: block;
    image-rendering: auto;
}

.csi-lightbox-close {
    position: absolute;
    top: -2.5rem;
    right: 0;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    font-size: 1.5rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    line-height: 1;
}

.csi-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.csi-lightbox-nav {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    font-size: 1.5rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s, transform 0.15s;
}

.csi-lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.csi-lightbox-caption {
    position: absolute;
    bottom: -2.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 80vw;
}

/* ==========================================================================
   LUXURY REIMAGINED OUTREACH SECTION
   ========================================================================== */
.outreach-reimagined {
    background: linear-gradient(145deg, #06182c 0%, #082d24 50%, #03141f 100%);
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
    color: #ffffff;
}

/* Background glowing atmospheric orbs */
.outreach-reimagined .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 1;
}

.outreach-reimagined .orb-1 {
    width: 450px;
    height: 450px;
    top: -100px;
    left: -100px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.22) 0%, rgba(16, 185, 129, 0) 70%);
}

.outreach-reimagined .orb-2 {
    width: 500px;
    height: 500px;
    bottom: -150px;
    right: -100px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, rgba(59, 130, 246, 0) 70%);
}

.outreach-reimagined .cross-watermark {
    position: absolute;
    right: 3%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 32rem;
    color: rgba(255, 255, 255, 0.025);
    pointer-events: none;
    font-family: var(--font-serif);
    line-height: 1;
    z-index: 1;
    user-select: none;
}

.outreach-badge-new {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.15);
    color: #6ee7b7;
    border: 1px solid rgba(52, 211, 153, 0.35);
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.15);
}

.text-glow-gold {
    background: linear-gradient(135deg, #fef08a 0%, #f59e0b 50%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(245, 158, 11, 0.3);
}

/* Stats Row */
.outreach-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 3.5rem;
}

.outreach-stat-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 1.75rem 1.5rem;
    text-align: center;
    position: relative;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.outreach-stat-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.stat-num {
    font-size: 2.35rem;
    font-weight: 800;
    font-family: var(--font-serif);
    line-height: 1.1;
    margin-bottom: 0.4rem;
    letter-spacing: -0.02em;
}

.stat-label {
    color: #f8fafc;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.stat-sub {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.78rem;
    font-weight: 500;
}

/* Main Grid */
.outreach-main-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 3rem;
    align-items: center;
}

.photo-glow-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(52, 211, 153, 0.3);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(16, 185, 129, 0.15);
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.photo-glow-frame:hover {
    transform: scale(1.015);
    border-color: rgba(52, 211, 153, 0.6);
}

.photo-glow-frame img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.photo-glow-frame:hover img {
    transform: scale(1.04);
}

.outreach-photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(3, 20, 31, 0.95) 0%, rgba(3, 20, 31, 0.4) 70%, transparent 100%);
    padding: 1.25rem 1.5rem 1rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: #fef08a;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.photo-live-dot {
    width: 8px;
    height: 8px;
    background: #34d399;
    border-radius: 50%;
    box-shadow: 0 0 8px #34d399;
    flex-shrink: 0;
}

.btn-outreach-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.85rem 1.75rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(217, 119, 6, 0.35);
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-outreach-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(217, 119, 6, 0.5);
    color: #ffffff;
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
}

.btn-outreach-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.85rem 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-outreach-ghost:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
}

/* Pillar Cards Stack */
.outreach-pillars-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pillar-card-new {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 1.2rem 1.4rem;
    display: flex;
    align-items: center;
    gap: 1.15rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.pillar-card-new:hover {
    transform: translateX(8px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.pillar-icon-new {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    flex-shrink: 0;
}

.pillar-icon-emerald {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(52, 211, 153, 0.3);
}

.pillar-icon-blue {
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(96, 165, 250, 0.3);
}

.pillar-icon-teal {
    background: rgba(20, 184, 166, 0.2);
    border: 1px solid rgba(45, 212, 191, 0.3);
}

.pillar-icon-amber {
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.pillar-body-new {
    flex: 1;
}

.pillar-body-new h4 {
    color: #ffffff;
    font-size: 1.02rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
}

.pillar-body-new p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.83rem;
    line-height: 1.5;
    margin: 0;
}

.pillar-tag-chip {
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    flex-shrink: 0;
}

.chip-emerald {
    background: rgba(16, 185, 129, 0.2);
    color: #6ee7b7;
    border: 1px solid rgba(52, 211, 153, 0.3);
}

.chip-blue {
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
    border: 1px solid rgba(96, 165, 250, 0.3);
}

.chip-teal {
    background: rgba(20, 184, 166, 0.2);
    color: #5eead4;
    border: 1px solid rgba(45, 212, 191, 0.3);
}

.chip-amber {
    background: rgba(245, 158, 11, 0.2);
    color: #fde68a;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

/* ==========================================================================
   LUXURY REIMAGINED CONTACT & LOCATION SECTION
   ========================================================================== */
.section-contact-modern {
    background: #f8fafc;
    padding: 5.5rem 0;
    position: relative;
}

.contact-modern-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    align-items: stretch;
}

/* Left Location Card */
.contact-location-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(11, 37, 69, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.9);
    display: flex;
    flex-direction: column;
}

.location-map-preview {
    position: relative;
    height: 220px;
    background: linear-gradient(135deg, #0b2545 0%, #0f3d64 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-bg-visual {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.2) 0%, transparent 60%),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.03) 0, rgba(255, 255, 255, 0.03) 1px, transparent 0, transparent 20px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-pin-pulse {
    font-size: 3.5rem;
    animation: pinPulse 2s infinite ease-in-out;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.4));
}

@keyframes pinPulse {

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

    50% {
        transform: translateY(-8px) scale(1.1);
    }
}

.map-overlay-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(6, 21, 39, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 0.4rem 0.9rem;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    animation: pulseDotAnim 1.6s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes pulseDotAnim {
    to {
        box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
    }
}

.map-directions-btn {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: #ffffff;
    color: #0b2545;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.55rem 1.15rem;
    border-radius: 9999px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    text-decoration: none;
    transition: all 0.25s ease;
    z-index: 2;
}

.map-directions-btn:hover {
    transform: translateY(-2px);
    background: var(--accent);
    color: #0b2545;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.35);
}

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

.location-info-row {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.location-icon-bubble {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(11, 37, 69, 0.06);
    border: 1px solid rgba(11, 37, 69, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.loc-label {
    color: #0b2545;
    font-size: 0.98rem;
    font-weight: 700;
    margin: 0 0 0.3rem 0;
}

.loc-text {
    color: #475569;
    font-size: 0.88rem;
    line-height: 1.65;
    margin: 0;
}

.transit-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.transit-chip {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #cbd5e1;
    padding: 0.3rem 0.7rem;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
}

/* Right Reach Column */
.contact-reach-column {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.reach-quick-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.35rem 1.5rem;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 4px 18px rgba(11, 37, 69, 0.05);
    display: flex;
    align-items: center;
    gap: 1.25rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.reach-quick-card:not(.no-hover):hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(11, 37, 69, 0.1);
    border-color: rgba(212, 175, 55, 0.5);
}

.reach-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}

.icon-phone {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.icon-email {
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.25);
}

.icon-hours {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.reach-content {
    flex: 1;
}

.reach-subtitle {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: block;
    margin-bottom: 0.2rem;
}

.reach-title {
    color: #0b2545;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 0.2rem 0;
}

.reach-action-hint {
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
}

.contact-action-box {
    background: linear-gradient(135deg, #0b2545 0%, #113865 100%);
    border-radius: 18px;
    padding: 1.6rem 1.75rem;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(11, 37, 69, 0.2);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.25rem;
}

.action-box-text h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.35rem 0;
}

.action-box-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

.btn-contact-reach {
    width: 100%;
    text-align: center;
    background: var(--accent);
    color: #0b2545;
    font-weight: 700;
    padding: 0.8rem 1.25rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transition: all 0.25s ease;
    text-decoration: none;
    display: block;
}

.btn-contact-reach:hover {
    background: #f39c12;
    color: #0b2545;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(212, 175, 55, 0.45);
}

/* ==========================================================================
   RESPONSIVE ADJUSTMENTS FOR REDESIGNED SECTIONS
   ========================================================================== */
@media (max-width: 991px) {
    .outreach-stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .outreach-main-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

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

@media (max-width: 600px) {
    .outreach-stats-row {
        grid-template-columns: 1fr;
    }

    .outreach-stat-card {
        padding: 1.35rem 1rem;
    }

    .stat-num {
        font-size: 2rem;
    }

    .photo-glow-frame img {
        height: 240px;
    }

    .pillar-card-new {
        padding: 1rem;
        gap: 0.9rem;
    }

    .pillar-icon-new {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .location-card-body {
        padding: 1.25rem;
    }
}

/* ==========================================================================
   FLOATING ACTIONS: WHATSAPP CHAT & SCROLL TO TOP
   ========================================================================== */
.floating-actions-stack {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

/* WhatsApp Floating Button */
.floating-whatsapp-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45), 0 2px 8px rgba(0, 0, 0, 0.15);
    position: relative;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    cursor: pointer;
}

.floating-whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.65), 0 4px 12px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

.wa-svg-icon {
    width: 32px;
    height: 32px;
    display: block;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.wa-pulse-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: waPulseRing 2.2s infinite cubic-bezier(0.45, 0, 0.2, 1);
    pointer-events: none;
    opacity: 0.8;
}

@keyframes waPulseRing {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.22);
        opacity: 0;
    }

    100% {
        transform: scale(0.95);
        opacity: 0;
    }
}

.wa-tooltip {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    background: rgba(6, 21, 39, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.floating-whatsapp-btn:hover .wa-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(-4px);
}

/* Scroll to Top Button */
.floating-scroll-top-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #0b2545;
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s ease;
    outline: none;
}

.floating-scroll-top-btn.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-scroll-top-btn:hover {
    background: #133b6b;
    color: var(--accent, #d4af37);
    border-color: rgba(212, 175, 55, 0.5);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .floating-actions-stack {
        bottom: 18px;
        right: 18px;
        gap: 10px;
    }

    .floating-whatsapp-btn {
        width: 50px;
        height: 50px;
    }

    .wa-svg-icon {
        width: 28px;
        height: 28px;
    }

    .floating-scroll-top-btn {
        width: 40px;
        height: 40px;
    }

    .wa-tooltip {
        display: none;
    }
}

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

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

@keyframes csiModalIn {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(-10px);
    }

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

/* ==========================================================================
   MINISTRIES & FELLOWSHIPS GRID & CARDS
   ========================================================================== */

.ministries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.ministry-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(11, 37, 69, 0.06);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.ministry-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(11, 37, 69, 0.12);
    border-color: #cbd5e1;
}

.ministry-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10.5;
    overflow: hidden;
    background: #0f172a;
}

.ministry-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    image-rendering: -webkit-optimize-contrast;
}

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

.ministry-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(11, 37, 69, 0.9);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fef08a;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(254, 240, 138, 0.25);
    z-index: 2;
}

.ministry-body {
    padding: 1.35rem 1.4rem 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    background: #ffffff;
}

.ministry-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0b2545;
    line-height: 1.35;
    margin: 0 0 0.45rem 0;
    font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
    transition: color 0.2s ease;
}

.ministry-card:hover .ministry-title {
    color: #8b1e5a;
}

.ministry-text {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 1.2rem 0;
}

.ministry-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.85rem;
    border-top: 1px solid #f1f5f9;
    margin-top: auto;
}

@media (max-width: 768px) {
    .ministries-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ==========================================================================
   MINISTRIES INNER PAGE LUXURY SHOWCASE
   ========================================================================== */

.ministries-showcase-wrap {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
    margin-top: 2rem;
}

.ministry-luxury-card {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 35px rgba(11, 37, 69, 0.06);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.ministry-luxury-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 50px rgba(11, 37, 69, 0.12);
    border-color: rgba(212, 175, 55, 0.4);
}

.ministry-luxury-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    align-items: stretch;
}

.ministry-luxury-card.reverse .ministry-luxury-grid {
    grid-template-columns: 1.15fr 1fr;
}

.ministry-luxury-card.reverse .ministry-luxury-img-wrap {
    order: 2;
}

.ministry-luxury-img-wrap {
    position: relative;
    overflow: hidden;
    background: #f8fafc;
    min-height: 380px;
}

.ministry-luxury-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.ministry-luxury-card:hover .ministry-luxury-img-wrap img {
    transform: scale(1.06);
}

.ministry-luxury-scrim {
    display: none;
}

.ministry-floating-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    background: rgba(11, 37, 69, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fef08a;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 6px 14px;
    border-radius: 30px;
    border: 1px solid rgba(254, 240, 138, 0.3);
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.ministry-luxury-body {
    padding: 2.75rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(145deg, #ffffff 0%, #fcfdfe 100%);
}

.ministry-luxury-title {
    font-size: 2.1rem;
    font-weight: 800;
    color: #0b2545;
    line-height: 1.25;
    margin: 0 0 0.85rem 0;
    font-family: var(--font-serif);
}

.ministry-luxury-desc {
    font-size: 0.98rem;
    color: #475569;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

/* Feature Mini Pills Grid */
.ministry-features-deck {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
    margin-bottom: 1.75rem;
}

.ministry-feature-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #1e293b;
    transition: all 0.2s ease;
}

.ministry-feature-pill:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

.ministry-feature-pill .feat-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Schedule Card */
.ministry-sched-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fdfbf7;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-left: 4px solid var(--accent, #d4af37);
    padding: 1rem 1.35rem;
    border-radius: 12px;
    margin-bottom: 1.75rem;
}

.ministry-sched-card .sched-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.15);
    color: #b8860b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.ministry-sched-card p {
    margin: 0;
    font-size: 0.92rem;
    color: #334155;
    line-height: 1.45;
}

.ministry-sched-card p strong {
    color: #0b2545;
}

.ministry-action-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 991px) {

    .ministry-luxury-grid,
    .ministry-luxury-card.reverse .ministry-luxury-grid {
        grid-template-columns: 1fr;
    }

    .ministry-luxury-card.reverse .ministry-luxury-img-wrap {
        order: 1;
    }

    .ministry-luxury-img-wrap {
        min-height: 280px;
    }

    .ministry-luxury-body {
        padding: 2rem 1.75rem;
    }

    .ministry-luxury-title {
        font-size: 1.75rem;
    }

    .ministry-features-deck {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   EXECUTIVE BISHOPS FROM OUR PARISH SHOWCASE
   ========================================================================== */
.section-bishops-luxury {
    background: radial-gradient(circle at 50% 0%, #ffffff 0%, #f9f6ee 100%);
    position: relative;
    border-top: 1px solid rgba(212, 175, 55, 0.25);
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
    padding: 5rem 0;
}

.bishops-executive-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.25rem;
    max-width: 1180px;
    margin: 0 auto;
}

.bishop-executive-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.45);
    box-shadow: 0 12px 35px rgba(11, 37, 69, 0.08), 0 2px 8px rgba(212, 175, 55, 0.12);
    overflow: hidden;
    display: flex;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.bishop-executive-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(11, 37, 69, 0.14), 0 0 25px rgba(212, 175, 55, 0.35);
    border-color: #d4af37;
}

.bishop-executive-portrait {
    flex: 0 0 220px;
    position: relative;
    background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
    overflow: hidden;
}

.bishop-portrait-frame {
    width: 100%;
    height: 100%;
    min-height: 330px;
    position: relative;
    overflow: hidden;
}

.bishop-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.45s ease;
}

.bishop-executive-card:hover .bishop-img {
    transform: scale(1.05);
}

.bishop-seal-badge {
    position: absolute;
    bottom: 0.85rem;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, rgba(11, 37, 69, 0.95) 0%, rgba(22, 62, 110, 0.95) 100%);
    backdrop-filter: blur(8px);
    color: #fef08a;
    border: 1px solid rgba(212, 175, 55, 0.7);
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 2;
}

.bishop-executive-content {
    flex: 1;
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff;
}

.bishop-diocese-tag {
    display: inline-block;
    align-self: flex-start;
    background: linear-gradient(135deg, #fef9c3 0%, #fef08a 100%);
    color: #854d0e;
    font-size: 0.76rem;
    font-weight: 800;
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(212, 175, 55, 0.45);
    margin-bottom: 0.65rem;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 5px rgba(133, 77, 14, 0.06);
}

.bishop-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: #0b2545;
    margin: 0 0 0.25rem 0;
    line-height: 1.35;
    transition: color 0.3s ease;
}

.bishop-executive-card:hover .bishop-name {
    color: #991b1b;
}

.bishop-diocese-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: #991b1b;
    letter-spacing: 0.4px;
    margin: 0 0 0.85rem 0;
}

.bishop-bio-snippet p {
    font-size: 0.86rem;
    color: #475569;
    line-height: 1.6;
    margin: 0 0 1.1rem 0;
}

.bishop-badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: auto;
}

.bishop-feature-pill {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #1e293b;
    font-size: 0.74rem;
    font-weight: 600;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
}

@media (max-width: 992px) {
    .bishops-executive-grid {
        grid-template-columns: 1fr;
        max-width: 620px;
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    .bishop-executive-card {
        flex-direction: column;
    }

    .bishop-executive-portrait {
        flex: auto;
        height: 340px;
    }

    .bishop-executive-content {
        padding: 1.5rem 1.25rem;
    }

    .bishop-name {
        font-size: 1.15rem;
    }
}