:root {
    --burgundy-dark: #160507;
    --burgundy: #2d0b11;
    --burgundy-light: #5a1b22;
    --gold: #c9a646;
    --gold-dark: #a8862f;
    --gold-light: #d7b45d;
    --cream: #f7f3ec;
    --cream-muted: #efe7da;
    --bg-page: #faf8f5;
    --bg-section-alt: #f0ebe3;
    --text-body: #3a2528;
    --text-muted: #6b5c5f;
    --text-on-dark: #f7f3ec;
    --text-muted-on-dark: #d8c9b8;
}

/* Homepage logo loader */
body.page-home.is-loading {
    overflow: hidden;
}

body.page-home #main-content {
    transition: opacity 0.7s ease;
}

body.page-home.is-loading #main-content {
    opacity: 0;
}

.site-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #0c0203;
    opacity: 1;
    transition: opacity 0.75s ease, visibility 0s linear 0.75s;
}

.site-loader.is-done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.site-loader.is-done .site-loader-content {
    opacity: 0;
    transform: scale(0.96);
    transition: opacity 0.45s ease, transform 0.75s ease;
}

.site-loader-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 35%, rgba(201, 166, 70, 0.18) 0%, transparent 48%),
        radial-gradient(ellipse at 20% 90%, rgba(90, 27, 34, 0.55) 0%, transparent 45%),
        radial-gradient(ellipse at 85% 15%, rgba(45, 11, 17, 0.9) 0%, transparent 40%),
        linear-gradient(165deg, #0c0203 0%, var(--burgundy-dark) 42%, #2a0a10 100%);
}

.site-loader-bg::before {
    content: "✠";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -52%);
    font-size: min(72vw, 28rem);
    line-height: 1;
    color: rgba(201, 166, 70, 0.04);
    pointer-events: none;
}

.site-loader-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    animation: site-loader-enter 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.site-loader-mark {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 11.5rem;
    height: 11.5rem;
    margin-bottom: 1.35rem;
}

.site-loader-glow {
    position: absolute;
    width: 7.5rem;
    height: 7.5rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 166, 70, 0.28) 0%, rgba(201, 166, 70, 0.05) 55%, transparent 72%);
    animation: site-loader-breathe 2.4s ease-in-out infinite;
}

.site-loader-logo {
    position: relative;
    z-index: 2;
    width: 6.25rem;
    height: 6.25rem;
    object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
    animation: site-loader-breathe 2.4s ease-in-out infinite;
}

.site-loader-ring {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.site-loader-ring-outer {
    inset: 0;
    border: 1px solid rgba(201, 166, 70, 0.22);
    border-top-color: var(--gold-light);
    border-left-color: rgba(201, 166, 70, 0.45);
    animation: site-loader-spin 2.8s linear infinite;
}

.site-loader-ring-inner {
    inset: 0.85rem;
    border: 1px solid rgba(201, 166, 70, 0.12);
    border-bottom-color: var(--gold);
    border-right-color: rgba(215, 180, 93, 0.4);
    animation: site-loader-spin-reverse 1.8s linear infinite;
}

.site-loader-cross {
    margin: 0 0 0.55rem;
    color: var(--gold);
    font-size: 1rem;
    line-height: 1;
    letter-spacing: 0;
    opacity: 0.85;
    animation: site-loader-fade 1.6s ease-in-out infinite;
}

.site-loader-title {
    margin: 0;
    max-width: 18rem;
    color: var(--gold-light);
    font-family: Cinzel, serif;
    font-size: clamp(1.05rem, 3.2vw, 1.35rem);
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1.35;
}

.site-loader-place {
    margin: 0.45rem 0 0;
    color: rgba(255, 248, 235, 0.62);
    font-family: Cinzel, serif;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

@keyframes site-loader-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes site-loader-spin-reverse {
    to {
        transform: rotate(-360deg);
    }
}

@keyframes site-loader-breathe {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.92;
    }
    50% {
        transform: scale(1.04);
        opacity: 1;
    }
}

@keyframes site-loader-fade {
    0%,
    100% {
        opacity: 0.45;
    }
    50% {
        opacity: 0.95;
    }
}

@keyframes site-loader-enter {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-loader-logo,
    .site-loader-glow,
    .site-loader-ring,
    .site-loader-cross,
    .site-loader-content {
        animation: none;
    }

    body.page-home #main-content,
    .site-loader,
    .site-loader.is-done .site-loader-content {
        transition: opacity 0.3s ease, visibility 0.3s ease;
        transform: none;
    }

    .site-loader.is-done {
        opacity: 0;
        visibility: hidden;
    }
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
}

body {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-body);
    background: var(--bg-page);
    min-height: 100vh;
    position: relative;
}

body::before {
    display: none;
}

main {
    position: relative;
    z-index: 1;
}

h1, h2, h3, h4, h5, h6,
.navbar-brand,
.page-hero h1,
.section-title,
.footer-title,
.footer-heading {
    font-family: Cinzel, serif;
}

/* ── Dark devotional bands (hero, footer, alternating sections) ── */

.page-hero,
.hero-home,
.section-dark {
    background: radial-gradient(circle at top, var(--burgundy-light) 0%, var(--burgundy) 45%, var(--burgundy-dark) 100%);
    color: var(--text-on-dark);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    display: none;
}

.hero-home::before,
.section-dark::before {
    content: "✠";
    position: absolute;
    font-size: min(35vw, 380px);
    color: rgba(201, 166, 70, 0.05);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    font-family: serif;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.page-hero-logo-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(35vw, 380px);
    height: auto;
    transform: translate(-50%, -50%);
    opacity: 0.05;
    filter: brightness(1.4) grayscale(35%);
}

.page-hero > .container,
.hero-home > .container,
.section-dark > .container {
    position: relative;
    z-index: 1;
}

.page-hero .section-title,
.section-dark .section-title {
    color: var(--gold-light);
}

.section-dark .content-card,
.section-dark .info-card,
.section-dark .news-card,
.section-dark .institution-card {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(201, 166, 70, 0.22);
    height: auto;
}

.section-dark .content-card:hover,
.section-dark .info-card:hover,
.section-dark .news-card:hover,
.section-dark .institution-card:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(201, 166, 70, 0.45);
}

.section-dark .info-card h3,
.section-dark .institution-card h3,
.section-dark .quick-link-card h3,
.section-dark .news-card h3 {
    color: var(--gold-light);
}

.section-dark .quick-link-card p,
.section-dark .news-meta {
    color: var(--text-muted-on-dark);
}

.section-dark .mass-table {
    color: var(--text-on-dark);
}

.section-dark .mass-table th {
    color: var(--gold-light);
    border-color: rgba(201, 166, 70, 0.2);
}

.section-dark .mass-table td {
    border-color: rgba(201, 166, 70, 0.12);
}

.section-dark .feature-list strong {
    color: var(--gold-light);
}

.section-dark .footer-link {
    color: var(--gold-light);
}

.section-dark .alert-devotional {
    background: rgba(201, 166, 70, 0.12);
    border-color: rgba(201, 166, 70, 0.35);
    color: var(--cream-muted);
}

.section-dark .verse-quote {
    color: var(--gold-light);
}

.section-dark .verse-ref {
    color: var(--text-muted-on-dark);
}

/* ── Light sections (default) ── */

.content-section {
    padding: 3rem 0;
    clear: both;
}

.content-section .row {
    align-items: flex-start;
}

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

.section-title {
    color: var(--burgundy);
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    letter-spacing: 0.04em;
}

.content-card,
.info-card,
.news-card {
    background: #fff;
    border: 1px solid rgba(201, 166, 70, 0.28);
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(45, 11, 17, 0.06);
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

/* Equal-height cards in grid rows only (use .h-100 on the card) */
.content-section .row > [class*="col-"] > .h-100 {
    height: 100%;
}

.content-card:hover,
.info-card:hover,
.news-card:hover {
    border-color: rgba(201, 166, 70, 0.55);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 11, 17, 0.1);
}

.info-card h3,
.news-card h3 {
    color: var(--burgundy);
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.news-card-title {
    font-family: Cinzel, serif;
    color: var(--burgundy);
}

.section-dark .news-card-title {
    color: var(--gold-light);
}

.institution-badge {
    display: inline-block;
    padding: 0.22rem 0.6rem;
    border-radius: 2rem;
    background: rgba(201, 166, 70, 0.15) !important;
    color: var(--burgundy) !important;
    font-family: Cinzel, serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.3;
}

.news-meta {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.footer-link {
    color: var(--gold-dark);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
}

.footer-link:hover {
    color: var(--burgundy);
}

.feature-list strong {
    color: var(--burgundy);
}

.mass-table {
    color: var(--text-body);
}

.mass-table th {
    color: var(--burgundy);
    font-family: Cinzel, serif;
    font-weight: 600;
    border-color: rgba(201, 166, 70, 0.25);
}

.mass-table td {
    border-color: rgba(201, 166, 70, 0.15);
}

.alert-devotional {
    background: #fff;
    border: 1px solid rgba(201, 166, 70, 0.35);
    color: var(--text-body);
}

.alert-devotional a {
    color: var(--gold-dark);
}

.contact-card .footer-heading {
    font-weight: 700;
}

.contact-card a {
    color: var(--gold-dark);
    text-decoration: none;
    font-weight: 600;
}

.contact-card a:hover {
    color: var(--burgundy);
}

.contact-social {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin: 0;
    padding: 0;
}

.contact-social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--burgundy);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease, transform 0.2s ease;
}

.contact-social-link:hover {
    color: var(--gold-dark);
    transform: translateX(2px);
}

.contact-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.15rem;
    height: 2.15rem;
    flex-shrink: 0;
    border-radius: 999px;
    background: #f7f4ef;
    border: 1px solid rgba(122, 30, 46, 0.12);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.contact-social-icon .social-icon {
    width: 1.15rem;
    height: 1.15rem;
}

/* ── Navigation ── */

.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 2000;
    background: var(--gold);
    color: var(--burgundy-dark);
    padding: 0.5rem 1rem;
}

.skip-link:focus {
    top: 1rem;
}

/* ── Site header & topbar ── */

.site-header {
    z-index: 1030;
}

.site-topbar {
    background: linear-gradient(90deg, #0c0203 0%, var(--burgundy-dark) 30%, var(--burgundy) 70%, #0c0203 100%);
    border-bottom: 2px solid rgba(201, 166, 70, 0.4);
    font-size: 0.88rem;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 2.35rem;
    padding: 0.35rem 0;
}

.topbar-left,
.topbar-right {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem 0.85rem;
}

.topbar-link {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    letter-spacing: 0.03em;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.topbar-link:hover,
.topbar-link:focus {
    color: var(--gold-light);
}

.topbar-icon {
    margin-right: 0.25rem;
    color: var(--gold-light);
}

.topbar-sep {
    color: rgba(201, 166, 70, 0.45);
    user-select: none;
}

.topbar-mass {
    color: rgba(255, 255, 255, 0.92);
    letter-spacing: 0.03em;
    line-height: 1.35;
}

.topbar-mass-label {
    color: var(--gold-light);
    font-weight: 600;
    margin-right: 0.4rem;
}

.topbar-link-whatsapp {
    color: var(--gold-light);
    font-weight: 600;
}

.topbar-link-whatsapp:hover,
.topbar-link-whatsapp:focus {
    color: #fff;
}

.topbar-tour-link {
    color: var(--gold-light);
    font-weight: 600;
    padding: 0.2rem 0.65rem;
    border: 1px solid rgba(201, 166, 70, 0.55);
    border-radius: 999px;
    letter-spacing: 0.04em;
}

.topbar-tour-link:hover,
.topbar-tour-link:focus,
.topbar-tour-link.active {
    color: #0c0203;
    background: var(--gold-light);
    border-color: var(--gold-light);
}

.topbar-social {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.45rem;
}

.topbar-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.9rem;
    height: 1.9rem;
    padding: 0;
    border-radius: 999px;
    background: #f7f4ef;
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.topbar-social-link:hover,
.topbar-social-link:focus {
    background: #fff;
    opacity: 1;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.22);
}

.topbar-social-link .social-icon {
    display: block;
    width: 1.05rem;
    height: 1.05rem;
}

.btn-social-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.btn-social-whatsapp-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 999px;
    background: #f7f4ef;
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.btn-social-whatsapp .social-icon {
    width: 0.95rem;
    height: 0.95rem;
}

.social-icon {
    display: inline-block;
    vertical-align: middle;
}

.topbar-social-link.topbar-link-whatsapp {
    color: inherit;
    font-weight: 400;
}

.topbar-social-link.topbar-link-whatsapp:hover,
.topbar-social-link.topbar-link-whatsapp:focus {
    color: inherit;
}

/* ── Header news ticker ── */

.news-ticker {
    background: linear-gradient(180deg, #e8dcc4 0%, #e2d4b8 55%, #dccdb0 100%);
    border-top: 1px solid rgba(201, 166, 70, 0.28);
    border-bottom: 3px solid var(--gold);
    box-shadow: 0 4px 16px rgba(45, 11, 17, 0.08);
    color: var(--burgundy);
    font-size: 0.9rem;
}

.news-ticker-inner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 2.15rem;
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
}

.news-ticker-label {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    padding: 0.18rem 0.65rem;
    border-radius: 999px;
    background: var(--burgundy);
    color: var(--gold-light);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.2;
}

.news-ticker-label:hover,
.news-ticker-label:focus {
    color: #fff;
    background: var(--burgundy-light);
}

.news-ticker-viewport {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}

.news-ticker-track {
    display: flex;
    width: max-content;
    padding-left: 100%;
    animation: news-ticker-scroll 22s linear infinite;
}

.news-ticker:hover .news-ticker-track,
.news-ticker:focus-within .news-ticker-track {
    animation-play-state: paused;
}

.news-ticker-list {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-shrink: 0;
}

.news-ticker-list li {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.news-ticker-list li::after {
    content: "•";
    margin: 0 1rem;
    color: rgba(168, 134, 47, 0.85);
}

.news-ticker-list li:last-child::after {
    content: none;
    margin: 0;
}

.news-ticker-link {
    color: var(--burgundy);
    text-decoration: none;
    letter-spacing: 0.02em;
    font-weight: 600;
    transition: color 0.2s ease;
}

.news-ticker-link:hover,
.news-ticker-link:focus {
    color: var(--burgundy-light);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.news-ticker-all {
    flex: 0 0 auto;
    color: var(--gold-dark);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: 0.03em;
}

.news-ticker-all:hover,
.news-ticker-all:focus {
    color: var(--burgundy);
}

@keyframes news-ticker-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .news-ticker-track {
        animation: none;
        padding-left: 0;
        width: 100%;
    }

    .news-ticker-list {
        overflow-x: auto;
        max-width: 100%;
        scrollbar-width: thin;
    }
}

@media (max-width: 575px) {
    .news-ticker-all {
        display: none;
    }

    .news-ticker-label {
        padding: 0.16rem 0.5rem;
        font-size: 0.68rem;
    }
}

.site-navbar {
    background: linear-gradient(180deg, #fffdfa 0%, var(--cream) 100%) !important;
    border-bottom: 3px solid var(--gold);
    box-shadow: 0 4px 20px rgba(45, 11, 17, 0.1);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.site-header:has(.news-ticker) .site-navbar {
    border-bottom: 1px solid rgba(201, 166, 70, 0.28);
    box-shadow: none;
}

.navbar-logo {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #fff;
    padding: 4px;
    border: 2px solid rgba(201, 166, 70, 0.45);
    box-shadow: 0 2px 10px rgba(45, 11, 17, 0.12);
    flex-shrink: 0;
}

.site-navbar .navbar-brand {
    min-width: 0;
    max-width: calc(100% - 3.5rem);
    margin-right: 0.5rem;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    gap: 0.15rem;
    min-width: 0;
}

.brand-title {
    font-family: Cinzel, serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--burgundy);
    letter-spacing: 0.06em;
}

.brand-subtitle {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gold-dark);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.site-navbar .nav-link {
    color: var(--burgundy) !important;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: color 0.2s ease;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link:focus,
.site-navbar .nav-link.active {
    color: var(--gold-dark) !important;
}

.site-navbar .nav-link.active {
    font-weight: 700;
}

.site-navbar .dropdown-item {
    color: rgba(255, 255, 255, 0.92) !important;
    font-size: 1rem;
    font-weight: 500;
}

.site-navbar .dropdown-item:hover,
.site-navbar .dropdown-item:focus {
    color: #fff !important;
    background: rgba(201, 166, 70, 0.15);
}

.dropdown-menu-dark {
    background: linear-gradient(180deg, var(--burgundy) 0%, var(--burgundy-dark) 100%);
    border-color: rgba(201, 166, 70, 0.35);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border: none;
    color: var(--burgundy-dark);
    font-family: Cinzel, serif;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--gold-light), #e8cc7a);
    color: var(--burgundy-dark);
}

.btn-outline-gold {
    border: 1px solid var(--gold-dark);
    color: var(--burgundy);
    font-family: Cinzel, serif;
    background: transparent;
}

.btn-outline-gold:hover {
    background: var(--gold);
    color: var(--burgundy-dark);
    border-color: var(--gold);
}

.section-dark .btn-outline-gold {
    border-color: var(--gold);
    color: var(--gold-light);
}

.section-dark .btn-outline-gold:hover {
    background: var(--gold);
    color: var(--burgundy-dark);
}

/* ── Home hero carousel ── */

.hero-carousel {
    position: relative;
    min-height: clamp(480px, 75vh, 800px);
    overflow: hidden;
}

.hero-carousel #homeCarousel {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
    height: 100%;
}

.hero-carousel-img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: clamp(480px, 75vh, 800px);
    object-fit: cover;
    object-position: center center;
    transform: scale(1);
    transition: transform 8s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.hero-carousel-img-church {
    object-position: center 35%;
}

.hero-carousel-img-tomb {
    object-position: center center;
}

.hero-carousel-img-portrait {
    object-position: center top;
}

.hero-carousel-img-portrait-right {
    object-position: 78% center;
}

.hero-carousel .carousel-item.active .hero-carousel-img {
    transform: scale(1.04);
}

.hero-carousel-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding: 6.5rem 0 2.75rem;
    pointer-events: none;
}

.hero-carousel-overlay .container,
.hero-carousel-overlay .row {
    position: relative;
    z-index: 1;
}

.hero-carousel-overlay .row {
    width: 100%;
}

.hero-carousel-indicators {
    z-index: 4;
    margin-bottom: 1.25rem;
}

.hero-carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid rgba(201, 166, 70, 0.8);
    background: transparent;
    opacity: 1;
    transition: background 0.3s, transform 0.3s;
}

.hero-carousel-indicators .active {
    background: var(--gold);
    transform: scale(1.15);
}

.hero-carousel-control {
    z-index: 4;
    width: 8%;
}

.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
    opacity: 0.85;
}

.hero-carousel .carousel.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 1.6s cubic-bezier(0.45, 0.05, 0.15, 1);
}

.hero-carousel .carousel.carousel-fade .carousel-item.active {
    opacity: 1;
}

.hero-carousel .carousel.carousel-fade .carousel-item-next.carousel-item-start,
.hero-carousel .carousel.carousel-fade .carousel-item-prev.carousel-item-end {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .hero-carousel-img,
    .hero-carousel .carousel-item.active .hero-carousel-img {
        transform: none;
        transition: none;
    }

    .hero-carousel .carousel.carousel-fade .carousel-item {
        transition: none;
    }
}

/* ── Home page sections ── */

.hero-welcome {
    pointer-events: auto;
    max-width: 44rem;
    padding: 1.5rem 3.5rem 1.45rem 1.75rem;
    border-radius: 0.75rem 0 0 0.75rem;
    background: linear-gradient(
        to right,
        rgba(12, 3, 5, 0.64) 0%,
        rgba(22, 5, 7, 0.52) 32%,
        rgba(35, 9, 14, 0.34) 58%,
        rgba(35, 9, 14, 0.18) 80%,
        rgba(35, 9, 14, 0.07) 100%
    );
}

.hero-welcome-eyebrow {
    font-family: Cinzel, serif;
    color: var(--gold-light);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}

.hero-welcome-title {
    font-family: Cinzel, serif;
    color: #fff;
    font-size: clamp(1.75rem, 4.5vw, 2.85rem);
    font-weight: 600;
    letter-spacing: 0.03em;
    line-height: 1.1;
    margin-bottom: 0.4rem;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55), 0 1px 4px rgba(0, 0, 0, 0.4);
}

.hero-welcome-location {
    font-family: Cinzel, serif;
    color: var(--gold);
    font-size: clamp(0.95rem, 2vw, 1.2rem);
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(201, 166, 70, 0.55);
    display: inline-block;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

.hero-welcome-desc {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-top: 0.85rem;
    margin-bottom: 1.35rem;
    max-width: 30rem;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
}

.hero-welcome-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-welcome-actions .btn {
    font-family: Cinzel, serif;
    letter-spacing: 0.05em;
    padding: 0.5rem 1.25rem;
}

.hero-welcome-btn-outline {
    border-color: rgba(255, 255, 255, 0.75);
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.hero-welcome-btn-outline:hover {
    background: #fff;
    border-color: #fff;
    color: var(--burgundy);
}

.home-mass-bar {
    background: linear-gradient(165deg, #0c0203 0%, var(--burgundy-dark) 18%, var(--burgundy) 50%, var(--burgundy-dark) 82%, #0c0203 100%);
    border-top: 2px solid rgba(201, 166, 70, 0.35);
    border-bottom: 2px solid rgba(201, 166, 70, 0.45);
    padding: 1.75rem 0;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.home-mass-bar-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.home-mass-bar-logo-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(42vw, 360px);
    height: auto;
    transform: translate(-50%, -50%);
    opacity: 0.04;
    filter: brightness(1.4) grayscale(35%);
}

.home-mass-bar-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
    gap: 1.15rem;
    position: relative;
    z-index: 1;
}

.home-mass-bar-panel {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem 1.2rem 1.15rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(201, 166, 70, 0.28);
    border-radius: 1rem;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
    position: relative;
    overflow: hidden;
}

.home-mass-bar-panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 55%, transparent 100%);
    opacity: 0.9;
}

.home-mass-bar-panel-retreat::before {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.45) 0%, rgba(201, 166, 70, 0.65) 55%, transparent 100%);
}

.home-mass-bar-heading {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.home-mass-bar-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: rgba(201, 166, 70, 0.12);
    border: 1px solid rgba(201, 166, 70, 0.5);
    color: var(--gold-light);
    font-size: 1.05rem;
    line-height: 1;
    box-shadow: 0 0 18px rgba(201, 166, 70, 0.14);
    flex-shrink: 0;
}

.home-mass-bar-heading-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    flex: 1;
    min-width: 8rem;
}

.home-mass-bar-badge {
    margin-left: auto;
    padding: 0.28rem 0.7rem;
    border-radius: 2rem;
    background: rgba(201, 166, 70, 0.1);
    border: 1px solid rgba(201, 166, 70, 0.35);
    color: var(--gold-light);
    font-family: Cinzel, serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
}

.home-mass-bar-badge-retreat {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.22);
}

.home-mass-bar-eyebrow {
    font-family: Cinzel, serif;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    line-height: 1.2;
}

.home-mass-bar-title {
    font-family: Cinzel, serif;
    color: var(--gold-light);
    font-size: 1.12rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    line-height: 1.2;
}

.home-mass-bar-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) repeat(2, minmax(0, 0.85fr));
    gap: 0.65rem;
    align-items: stretch;
}

.home-mass-bar-slot {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.25rem;
    min-height: 4.4rem;
    padding: 0.7rem 0.85rem;
    background: rgba(0, 0, 0, 0.16);
    border: 1px solid rgba(201, 166, 70, 0.22);
    border-radius: 0.7rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.home-mass-bar-slot::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--gold) 0%, rgba(201, 166, 70, 0.15) 100%);
    opacity: 0.85;
}

.home-mass-bar-slot:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(201, 166, 70, 0.42);
    transform: translateY(-2px);
}

.home-mass-bar-slot-sunday {
    min-height: 0;
    background: linear-gradient(135deg, rgba(201, 166, 70, 0.12) 0%, rgba(0, 0, 0, 0.14) 100%);
    border-color: rgba(201, 166, 70, 0.38);
    gap: 0.4rem;
}

.home-mass-bar-slot-sunday .home-mass-bar-day {
    color: var(--gold-light);
}

.home-mass-bar-sunday-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
}

.home-mass-bar-sunday-time {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.6rem;
    border-radius: 0.4rem;
    background: rgba(12, 2, 3, 0.3);
    border: 1px solid rgba(201, 166, 70, 0.32);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.25;
    white-space: nowrap;
}

.home-mass-bar-sunday-time-evening {
    background: rgba(201, 166, 70, 0.16);
    border-color: rgba(201, 166, 70, 0.5);
    color: var(--gold-light);
}

.home-mass-bar-sunday-time-evening em {
    margin-left: 0.28rem;
    font-style: normal;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.85;
}

.home-mass-bar-sunday-sep {
    display: inline-block;
    width: 1px;
    height: 1.1rem;
    margin: 0 0.15rem;
    background: rgba(201, 166, 70, 0.4);
    flex-shrink: 0;
}

.home-mass-bar-day {
    font-family: Cinzel, serif;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1.2;
}

.home-mass-bar-time {
    color: #fff;
    font-size: 1.02rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    line-height: 1.3;
}

.home-mass-bar-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.1rem;
}

.home-mass-bar-pill {
    display: inline-block;
    padding: 0.24rem 0.62rem;
    border-radius: 2rem;
    background: rgba(201, 166, 70, 0.12);
    border: 1px solid rgba(201, 166, 70, 0.38);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.35;
    white-space: nowrap;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.home-mass-bar-pill:hover {
    background: rgba(201, 166, 70, 0.22);
    border-color: rgba(201, 166, 70, 0.55);
}

.home-mass-bar-icon-retreat {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.28);
}

.home-mass-bar-slot-retreat {
    min-height: 5.5rem;
    flex: 1;
}

.home-mass-bar-note {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.62);
    letter-spacing: 0.02em;
    line-height: 1.35;
    font-style: italic;
}

.home-mass-bar-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: auto;
    padding-top: 0.15rem;
}

.home-mass-bar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.58rem 1.15rem;
    border-radius: 2rem;
    border: 1px solid rgba(201, 166, 70, 0.65);
    background: rgba(201, 166, 70, 0.1);
    color: var(--gold-light);
    font-family: Cinzel, serif;
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, gap 0.2s ease, transform 0.2s ease;
}

.home-mass-bar-btn:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--burgundy-dark);
    gap: 0.5rem;
    transform: translateY(-1px);
}

.home-mass-bar-btn-retreat:hover {
    background: #fff;
    border-color: #fff;
    color: var(--burgundy-dark);
}

.home-eyebrow {
    font-family: Cinzel, serif;
    color: var(--gold-dark);
    font-size: 0.82rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

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

.home-section-header {
    max-width: 640px;
    margin: 0 auto 2.5rem;
}

.home-section-lead {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 0;
}

.gold-divider-start {
    margin-left: 0;
    margin-right: auto;
}

.home-img-frame {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(201, 166, 70, 0.35);
    box-shadow: 0 12px 32px rgba(45, 11, 17, 0.12);
}

.home-img-frame-dark {
    border-color: rgba(201, 166, 70, 0.45);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

.home-feature-img {
    display: block;
    width: 100%;
    height: clamp(260px, 32vw, 380px);
    object-fit: cover;
    object-position: center;
}

.home-img-badge {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    padding: 0.35rem 0.85rem;
    border-radius: 2rem;
    background: rgba(12, 3, 5, 0.85);
    border: 1px solid rgba(201, 166, 70, 0.5);
    color: var(--gold-light);
    font-family: Cinzel, serif;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
}

.home-img-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    background: linear-gradient(145deg, var(--burgundy) 0%, var(--burgundy-dark) 100%);
    color: rgba(201, 166, 70, 0.35);
    position: relative;
    overflow: hidden;
}

.home-img-placeholder::before {
    content: "✠";
    position: absolute;
    font-size: 8rem;
    opacity: 0.06;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.home-img-placeholder[data-label]::after {
    content: attr(data-label);
    position: absolute;
    bottom: 0.85rem;
    left: 0;
    right: 0;
    text-align: center;
    font-family: Cinzel, serif;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
}

.home-placeholder-cross {
    font-size: 2rem;
    color: rgba(201, 166, 70, 0.55);
    line-height: 1;
    position: relative;
    z-index: 1;
}

.home-text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--gold-dark);
    font-family: Cinzel, serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: color 0.2s ease, gap 0.2s ease;
}

.home-text-link:hover {
    color: var(--burgundy);
    gap: 0.55rem;
}

.section-dark .home-text-link {
    color: var(--gold-light);
}

.section-dark .home-text-link:hover {
    color: #fff;
}

.home-explore-section {
    position: relative;
    padding: 4rem 0 4.25rem;
    overflow: hidden;
    background: linear-gradient(180deg, var(--cream) 0%, var(--bg-page) 45%, var(--bg-section-alt) 100%);
}

.home-explore-section::before {
    content: "✠";
    position: absolute;
    top: 8%;
    right: -2%;
    transform: none;
    font-size: min(32vw, 360px);
    color: rgba(201, 166, 70, 0.05);
    pointer-events: none;
    line-height: 1;
}

.home-explore-section .container {
    position: relative;
    z-index: 1;
}

.home-explore-grid {
    --bs-gutter-x: 1.35rem;
    --bs-gutter-y: 1.35rem;
}

.home-explore-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid rgba(201, 166, 70, 0.32);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(45, 11, 17, 0.07);
    position: relative;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.home-explore-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 55%, transparent 100%);
    z-index: 3;
    opacity: 0.9;
}

.home-explore-card:hover {
    border-color: rgba(201, 166, 70, 0.62);
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(45, 11, 17, 0.13);
}

.home-explore-card-img {
    position: relative;
    height: 210px;
    overflow: hidden;
    background: var(--burgundy-dark);
}

.home-explore-card-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(12, 3, 5, 0.62) 0%, rgba(12, 3, 5, 0.12) 50%, transparent 100%);
    pointer-events: none;
}

.home-explore-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.home-explore-card:hover .home-explore-card-img img {
    transform: scale(1.07);
}

.home-explore-card-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #3a1016 0%, var(--burgundy-dark) 100%);
}

.home-explore-card-worship .home-explore-card-img-placeholder {
    background: linear-gradient(145deg, var(--burgundy) 0%, #3a1016 100%);
}

.home-explore-card-retreat .home-explore-card-img-placeholder {
    background: linear-gradient(145deg, #2a0a10 0%, #401520 100%);
}

.home-explore-card-festival .home-explore-card-img-placeholder {
    background: linear-gradient(145deg, var(--burgundy) 0%, #4a1520 100%);
}

.home-explore-card-feasts .home-explore-card-img-placeholder {
    background: linear-gradient(145deg, #2d0b11 0%, #451820 100%);
}

.home-explore-card-offerings .home-explore-card-img-placeholder {
    background: linear-gradient(145deg, #351018 0%, var(--burgundy) 100%);
}

.home-explore-card-chapels .home-explore-card-img-placeholder {
    background: linear-gradient(145deg, var(--burgundy-dark) 0%, #2a0a10 100%);
}

.home-explore-card-schools .home-explore-card-img-placeholder {
    background: linear-gradient(145deg, #401520 0%, var(--burgundy-dark) 100%);
}

.home-explore-card-img-placeholder::before {
    content: "✠";
    position: absolute;
    font-size: 7rem;
    color: rgba(201, 166, 70, 0.08);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

.home-explore-img-label {
    position: absolute;
    bottom: 0.85rem;
    left: 0;
    right: 0;
    text-align: center;
    font-family: Cinzel, serif;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    z-index: 1;
}

.home-explore-badge {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    z-index: 2;
    padding: 0.3rem 0.75rem;
    border-radius: 2rem;
    background: rgba(12, 3, 5, 0.82);
    border: 1px solid rgba(201, 166, 70, 0.52);
    color: var(--gold-light);
    font-family: Cinzel, serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.home-explore-index {
    position: absolute;
    top: 0.65rem;
    right: 0.8rem;
    z-index: 2;
    font-family: Cinzel, serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.18);
    line-height: 1;
    pointer-events: none;
}

.home-explore-card-body {
    padding: 1.35rem 1.4rem 1.4rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.home-explore-meta {
    display: block;
    font-family: Cinzel, serif;
    color: var(--gold-dark);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}

.home-explore-card h3 {
    font-family: Cinzel, serif;
    color: var(--burgundy);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.45rem;
    line-height: 1.3;
}

.home-explore-card p {
    color: var(--text-muted);
    font-size: 0.96rem;
    line-height: 1.58;
    margin-bottom: 0;
    flex: 1;
}

.home-explore-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.05rem;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(201, 166, 70, 0.22);
    font-family: Cinzel, serif;
    color: var(--gold-dark);
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: color 0.2s ease, gap 0.2s ease;
}

.home-explore-card:hover .home-explore-cta {
    color: var(--burgundy);
}

/* ── Home patron saint section ── */

.home-patron-section.section-dark::before {
    display: none;
}

.home-patron-section {
    padding: 4rem 0;
    border-top: 2px solid rgba(201, 166, 70, 0.25);
    border-bottom: 2px solid rgba(201, 166, 70, 0.25);
    background: linear-gradient(155deg, var(--burgundy-dark) 0%, var(--burgundy) 42%, #3a1016 100%);
    overflow: hidden;
}

.home-patron-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.home-patron-logo-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(62vw, 540px);
    height: auto;
    transform: translate(-50%, -50%);
    opacity: 0.07;
    filter: brightness(1.6) grayscale(20%);
}

.home-patron-section > .container {
    position: relative;
    z-index: 1;
}

.home-patron-subtitle {
    font-family: Cinzel, serif;
    color: var(--gold);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin: -0.15rem 0 0.75rem;
}

.home-patron-lead {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.08rem;
    line-height: 1.65;
    margin-bottom: 0;
}

.home-patron-quote {
    margin: 1.1rem 0 1.35rem;
    padding: 0.85rem 0 0.85rem 1.1rem;
    border-left: 3px solid var(--gold);
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.05rem;
    font-style: italic;
    line-height: 1.6;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 0 0.5rem 0.5rem 0;
}

.home-patron-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 1.5rem;
}

.home-patron-highlight {
    flex: 1 1 6.5rem;
    padding: 0.7rem 0.75rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(201, 166, 70, 0.32);
    border-radius: 0.55rem;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.home-patron-highlight:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(201, 166, 70, 0.5);
}

.home-patron-highlight strong {
    display: block;
    font-family: Cinzel, serif;
    color: var(--gold-light);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 0.15rem;
}

.home-patron-highlight span {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.35;
}

.home-patron-figure {
    margin: 0;
}

.home-patron-img-frame {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    border: 2px solid rgba(201, 166, 70, 0.45);
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.home-patron-img-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(12, 3, 5, 0.35) 0%, transparent 50%);
    pointer-events: none;
}

.home-patron-img {
    display: block;
    width: 100%;
    height: clamp(280px, 32vw, 400px);
    object-fit: cover;
    object-position: center;
}

.home-patron-figure figcaption {
    margin-top: 0.85rem;
    text-align: center;
    font-family: Cinzel, serif;
    color: var(--gold-light);
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    line-height: 1.45;
}

.home-parish-section {
    position: relative;
    padding: 4rem 0 4.25rem;
    background: linear-gradient(180deg, var(--bg-section-alt) 0%, var(--cream) 40%, var(--bg-page) 100%);
    overflow: hidden;
}

.home-parish-section::before {
    content: "✠";
    position: absolute;
    bottom: 5%;
    left: -2%;
    font-size: min(28vw, 300px);
    color: rgba(201, 166, 70, 0.05);
    pointer-events: none;
    line-height: 1;
}

.home-parish-section .container {
    position: relative;
    z-index: 1;
}

.home-parish-grid {
    --bs-gutter-x: 1.35rem;
    --bs-gutter-y: 1.35rem;
}

.home-parish-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: left;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid rgba(201, 166, 70, 0.32);
    border-radius: 1rem;
    padding: 1.5rem 1.45rem 1.35rem;
    box-shadow: 0 4px 18px rgba(45, 11, 17, 0.07);
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.home-parish-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--gold) 0%, var(--gold-light) 55%, rgba(201, 166, 70, 0.2) 100%);
    opacity: 0.9;
}

.home-parish-card-chapels::after {
    background: linear-gradient(180deg, var(--burgundy-light) 0%, var(--gold) 100%);
}

.home-parish-card-organizations::after {
    background: linear-gradient(180deg, var(--gold) 0%, var(--burgundy-light) 100%);
}

.home-parish-card-schools::after {
    background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold-dark) 100%);
}

.home-parish-card-institutions::after {
    background: linear-gradient(180deg, var(--burgundy) 0%, var(--gold) 100%);
}

.home-parish-card-dialysis::after {
    background: linear-gradient(180deg, var(--burgundy-light) 0%, var(--gold-dark) 100%);
}

.home-parish-card-charity::after {
    background: linear-gradient(180deg, var(--gold) 0%, var(--burgundy) 100%);
}

.home-parish-card:hover {
    border-color: rgba(201, 166, 70, 0.58);
    transform: translateY(-5px);
    box-shadow: 0 14px 36px rgba(45, 11, 17, 0.13);
}

.home-parish-card-header {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
    padding-left: 0.35rem;
}

.home-parish-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.85rem;
    height: 2.85rem;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(201, 166, 70, 0.1);
    border: 1px solid rgba(201, 166, 70, 0.4);
    font-size: 1.15rem;
    color: var(--gold-dark);
    line-height: 1;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.home-parish-badge {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    border-radius: 2rem;
    background: rgba(45, 11, 17, 0.05);
    border: 1px solid rgba(201, 166, 70, 0.28);
    color: var(--burgundy-light);
    font-family: Cinzel, serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-parish-index {
    margin-left: auto;
    font-family: Cinzel, serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: rgba(45, 11, 17, 0.08);
    line-height: 1;
}

.home-parish-meta {
    display: block;
    padding-left: 0.35rem;
    font-family: Cinzel, serif;
    color: var(--gold-dark);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}

.home-parish-card h3 {
    font-family: Cinzel, serif;
    color: var(--burgundy);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.45rem;
    letter-spacing: 0.03em;
    padding-left: 0.35rem;
}

.home-parish-card p {
    color: var(--text-muted);
    font-size: 0.96rem;
    line-height: 1.58;
    margin: 0;
    flex: 1;
    padding-left: 0.35rem;
}

.home-parish-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.85rem;
    padding-left: 0.35rem;
}

.home-parish-tag {
    display: inline-block;
    padding: 0.22rem 0.6rem;
    border-radius: 2rem;
    background: rgba(201, 166, 70, 0.1);
    border: 1px solid rgba(201, 166, 70, 0.32);
    color: var(--burgundy);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.35;
}

.home-parish-card:hover .home-parish-icon {
    background: rgba(201, 166, 70, 0.18);
    border-color: rgba(201, 166, 70, 0.55);
    color: var(--burgundy);
}

.home-parish-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.1rem;
    padding: 0.9rem 0.35rem 0;
    border-top: 1px solid rgba(201, 166, 70, 0.22);
    font-family: Cinzel, serif;
    color: var(--gold-dark);
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: color 0.2s ease;
}

.home-parish-card:hover .home-parish-cta {
    color: var(--burgundy);
}

/* ── Chapels page ── */

.chapels-section {
    padding-top: 3rem;
    padding-bottom: 4rem;
}

.chapels-grid {
    --bs-gutter-x: 1.25rem;
    --bs-gutter-y: 1.25rem;
}

.chapel-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0;
    background: #fff;
    border: 1px solid rgba(201, 166, 70, 0.3);
    border-radius: 1rem;
    box-shadow: 0 4px 16px rgba(45, 11, 17, 0.06);
    position: relative;
    overflow: hidden;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.chapel-card-img {
    position: relative;
    height: 168px;
    overflow: hidden;
    background: var(--burgundy-dark);
}

.chapel-card-highlight .chapel-card-img {
    height: 220px;
}

.chapel-card-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(12, 3, 5, 0.55) 0%, rgba(12, 3, 5, 0.08) 45%, transparent 100%);
    pointer-events: none;
}

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

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

.chapel-card-photo-note {
    position: absolute;
    bottom: 0.65rem;
    right: 0.65rem;
    z-index: 1;
    padding: 0.22rem 0.55rem;
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(201, 166, 70, 0.35);
    color: var(--burgundy);
    font-family: Cinzel, serif;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.3;
}

.chapel-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.2rem 1.3rem 1.25rem;
}

.chapel-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 55%, transparent 100%);
    opacity: 0.85;
}

.chapel-card-highlight {
    border-color: rgba(201, 166, 70, 0.45);
    background: linear-gradient(180deg, #fff 0%, rgba(247, 243, 236, 0.65) 100%);
}

.chapel-card-highlight::before {
    height: 4px;
    opacity: 1;
}

.chapel-card:hover {
    border-color: rgba(201, 166, 70, 0.52);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(45, 11, 17, 0.1);
}

.chapel-card-header {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
    margin-bottom: 0.85rem;
}

.chapel-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 50%;
    background: rgba(201, 166, 70, 0.1);
    border: 1px solid rgba(201, 166, 70, 0.38);
    color: var(--gold-dark);
    font-size: 0.95rem;
    line-height: 1;
    flex-shrink: 0;
}

.chapel-card-badge {
    display: inline-block;
    padding: 0.22rem 0.6rem;
    border-radius: 2rem;
    background: rgba(45, 11, 17, 0.05);
    border: 1px solid rgba(201, 166, 70, 0.28);
    color: var(--burgundy-light);
    font-family: Cinzel, serif;
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.chapel-card-year {
    margin-left: auto;
    font-family: Cinzel, serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--gold-dark);
}

.chapel-card h3 {
    font-family: Cinzel, serif;
    color: var(--burgundy);
    font-size: 1.02rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin-bottom: 0.55rem;
    line-height: 1.35;
}

.chapel-card-desc {
    color: var(--text-muted);
    font-size: 0.96rem;
    line-height: 1.58;
    margin-bottom: 1rem;
    flex: 1;
}

.chapel-card-meta {
    margin: 0;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(201, 166, 70, 0.2);
}

.chapel-card-meta-row {
    display: flex;
    gap: 0.65rem;
    align-items: baseline;
    font-size: 0.92rem;
    line-height: 1.45;
}

.chapel-card-meta-row + .chapel-card-meta-row {
    margin-top: 0.4rem;
}

.chapel-card-meta dt {
    min-width: 4.75rem;
    margin: 0;
    font-family: Cinzel, serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-dark);
}

.chapel-card-meta dd {
    margin: 0;
    color: var(--text-body);
    font-weight: 500;
}

/* Institutions page cards */
.institution-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    background: #fff;
    border: 1px solid rgba(201, 166, 70, 0.3);
    border-radius: 1rem;
    box-shadow: 0 4px 16px rgba(45, 11, 17, 0.06);
    position: relative;
    overflow: hidden;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.institution-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 55%, transparent 100%);
    opacity: 0.85;
    z-index: 2;
}

.institution-card-highlight {
    border-color: rgba(201, 166, 70, 0.45);
    background: linear-gradient(180deg, #fff 0%, rgba(247, 243, 236, 0.65) 100%);
}

.institution-card-highlight::before {
    height: 4px;
    opacity: 1;
}

.institution-card:hover {
    border-color: rgba(201, 166, 70, 0.52);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(45, 11, 17, 0.1);
}

.institution-card-img {
    position: relative;
    height: 168px;
    overflow: hidden;
    background: var(--burgundy-dark);
}

.institution-card-highlight .institution-card-img {
    height: 220px;
}

.institution-card-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(12, 3, 5, 0.55) 0%, rgba(12, 3, 5, 0.08) 45%, transparent 100%);
    pointer-events: none;
}

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

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

.institution-card-photo-note {
    position: absolute;
    bottom: 0.65rem;
    right: 0.65rem;
    z-index: 1;
    padding: 0.22rem 0.55rem;
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(201, 166, 70, 0.35);
    color: var(--burgundy);
    font-family: Cinzel, serif;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.3;
}

.institution-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.2rem 1.3rem 1.25rem;
}

.institution-card-header {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
    margin-bottom: 0.9rem;
}

.institution-card-category {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    border-radius: 0.3rem;
    background: rgba(45, 11, 17, 0.06);
    color: var(--text-muted);
    font-family: Cinzel, serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.institution-card-year {
    margin-left: auto;
    font-family: Cinzel, serif;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--gold-dark);
    letter-spacing: 0.04em;
}

.institution-card-title {
    position: relative;
    margin: 0 0 0.9rem;
    padding-bottom: 0.6rem;
    color: var(--burgundy);
    font-family: Cinzel, serif;
    font-size: clamp(0.98rem, 1.6vw, 1.1rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.3;
}

.institution-card-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 2.1rem;
    height: 2px;
    background: linear-gradient(90deg, var(--gold) 0%, rgba(201, 166, 70, 0.15) 100%);
}

.institution-card-highlight .institution-card-title {
    font-size: clamp(1.05rem, 1.9vw, 1.2rem);
    letter-spacing: 0.02em;
}

.institution-card-highlight .institution-card-title::after {
    width: 2.6rem;
    height: 2px;
}

.institution-card-desc {
    color: var(--text-muted);
    font-size: 0.96rem;
    line-height: 1.58;
    margin-bottom: 0;
    flex: 1;
}

.institution-courses {
    margin-top: 0.95rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(201, 166, 70, 0.18);
}

.institution-courses-label {
    margin: 0 0 0.5rem;
    font-family: Cinzel, serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-dark);
}

.institution-courses-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.institution-courses-list li {
    padding: 0.3rem 0.65rem;
    border: 1px solid rgba(201, 166, 70, 0.38);
    border-radius: 0.35rem;
    background:
        linear-gradient(180deg, rgba(255, 252, 246, 0.95) 0%, rgba(247, 243, 236, 0.85) 100%);
    color: var(--burgundy);
    font-family: Cinzel, serif;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    line-height: 1.35;
}

.institution-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(201, 166, 70, 0.2);
    font-family: Cinzel, serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--burgundy);
    text-decoration: none;
    transition: color 0.2s ease, gap 0.2s ease;
}

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

/* Shared subpage right aside */
.page-aside,
.institutions-aside {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

@media (min-width: 992px) {
    .page-aside,
    .institutions-aside {
        position: sticky;
        top: 1.25rem;
    }
}

.page-aside > .info-card,
.page-aside-panel,
.institutions-aside-panel {
    position: relative;
    margin-bottom: 0 !important;
    padding: 1.35rem 1.35rem 1.4rem;
    background:
        linear-gradient(165deg, #fff 0%, rgba(247, 243, 236, 0.55) 100%);
    border: 1px solid rgba(201, 166, 70, 0.32);
    border-radius: 0.9rem;
    box-shadow: 0 4px 18px rgba(45, 11, 17, 0.05);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-aside > .info-card:hover,
.page-aside-panel:hover,
.institutions-aside-panel:hover {
    border-color: rgba(201, 166, 70, 0.48);
    transform: none;
    box-shadow: 0 8px 22px rgba(45, 11, 17, 0.08);
}

.page-aside > .info-card::before,
.page-aside-panel::before,
.institutions-aside-panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--gold) 0%, rgba(201, 166, 70, 0.2) 100%);
}

.page-aside-panel-founding,
.institutions-aside-panel-founding {
    background:
        radial-gradient(ellipse at 100% 0%, rgba(201, 166, 70, 0.14) 0%, transparent 55%),
        linear-gradient(165deg, #fffdf8 0%, var(--cream) 100%);
    border-color: rgba(201, 166, 70, 0.42);
}

.page-aside > .info-card.contact-card,
.info-card.contact-card,
.content-card.contact-card,
.page-aside-panel-contact,
.institutions-aside-panel-contact {
    background:
        radial-gradient(ellipse at 100% 0%, rgba(201, 166, 70, 0.12) 0%, transparent 55%),
        linear-gradient(165deg, #fffef9 0%, #f7f3ec 100%);
    border-color: rgba(201, 166, 70, 0.4);
    color: var(--text-body);
    box-shadow: 0 4px 18px rgba(45, 11, 17, 0.05);
}

.page-aside > .info-card.contact-card::before,
.info-card.contact-card::before,
.page-aside-panel-contact::before,
.institutions-aside-panel-contact::before {
    background: linear-gradient(180deg, var(--gold) 0%, rgba(201, 166, 70, 0.2) 100%);
}

.page-aside-eyebrow,
.institutions-aside-eyebrow {
    margin: 0 0 0.4rem;
    font-family: Cinzel, serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-dark);
}

.page-aside-panel-contact .page-aside-eyebrow,
.institutions-aside-panel-contact .institutions-aside-eyebrow {
    color: var(--gold-dark);
}

.page-aside > .info-card > h3,
.page-aside-title,
.institutions-aside-title {
    position: relative;
    margin: 0 0 0.85rem;
    padding-bottom: 0.55rem;
    color: var(--burgundy);
    font-family: Cinzel, serif;
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.3;
}

.page-aside > .info-card > h3::after,
.page-aside-title::after,
.institutions-aside-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 2rem;
    height: 2px;
    background: linear-gradient(90deg, var(--gold) 0%, transparent 100%);
}

.page-aside > .info-card.contact-card > h3,
.info-card.contact-card > h3,
.page-aside-panel-contact .page-aside-title,
.institutions-aside-panel-contact .institutions-aside-title {
    color: var(--burgundy);
}

.page-aside > .info-card.contact-card > h3::after,
.info-card.contact-card > h3::after,
.page-aside-panel-contact .page-aside-title::after,
.institutions-aside-panel-contact .institutions-aside-title::after {
    background: linear-gradient(90deg, var(--gold) 0%, transparent 100%);
}

.page-aside > .info-card > p,
.page-aside-text,
.institutions-aside-text {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.page-aside > .info-card > p + p {
    margin-top: 0.75rem;
}

.page-aside > .info-card.contact-card > p,
.info-card.contact-card > p,
.content-card.contact-card > p,
.page-aside-panel-contact .page-aside-text,
.institutions-aside-panel-contact .institutions-aside-text {
    color: var(--text-muted);
}

.page-aside > .info-card > .footer-link,
.page-aside-link,
.institutions-aside-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.95rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(201, 166, 70, 0.22);
    color: var(--burgundy);
    font-family: Cinzel, serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: color 0.2s ease, gap 0.2s ease;
}

.page-aside > .info-card > .footer-link:hover,
.page-aside-link:hover,
.institutions-aside-link:hover {
    color: var(--gold-dark);
    gap: 0.5rem;
}

.page-aside > .info-card .news-view-related .footer-link {
    display: inline;
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
}

.page-aside > .info-card .feature-list,
.page-aside > .info-card .school-sidebar-links,
.page-aside > .info-card .org-sidebar-links,
.page-aside > .info-card .admin-sidebar-order,
.page-aside > .info-card .school-sidebar-order {
    margin-bottom: 0;
}

.page-aside > .info-card .feature-list a,
.page-aside > .info-card .school-sidebar-links a,
.page-aside > .info-card .org-sidebar-links a {
    color: var(--burgundy);
    text-decoration: none;
    font-weight: 600;
}

.page-aside > .info-card .feature-list a:hover,
.page-aside > .info-card .school-sidebar-links a:hover,
.page-aside > .info-card .org-sidebar-links a:hover {
    color: var(--gold-dark);
}

.page-aside > .info-card.contact-card a:not(.footer-link),
.info-card.contact-card a:not(.footer-link),
.content-card.contact-card a:not(.footer-link) {
    color: var(--burgundy);
    text-decoration: none;
}

.page-aside > .info-card.contact-card a:not(.footer-link):hover,
.info-card.contact-card a:not(.footer-link):hover,
.content-card.contact-card a:not(.footer-link):hover {
    color: var(--gold-dark);
}

.page-aside > .info-card.contact-card .footer-link,
.info-card.contact-card .footer-link {
    border-top-color: rgba(201, 166, 70, 0.22);
    color: var(--burgundy);
}

.page-aside > .info-card.contact-card .footer-link:hover,
.info-card.contact-card .footer-link:hover {
    color: var(--gold-dark);
}

.page-aside-contacts,
.institutions-aside-contacts {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0.85rem 0 0;
    border-top: 1px solid rgba(201, 166, 70, 0.28);
}

.page-aside-contacts li,
.institutions-aside-contacts li {
    display: grid;
    grid-template-columns: 4.2rem 1fr;
    gap: 0.55rem;
    align-items: baseline;
    padding: 0.35rem 0;
}

.page-aside-contact-label,
.institutions-aside-contact-label {
    font-family: Cinzel, serif;
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-dark);
}

.page-aside-contacts a,
.institutions-aside-contacts a {
    color: var(--burgundy);
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.page-aside-contacts a:hover,
.institutions-aside-contacts a:hover {
    color: var(--gold-dark);
}

.charity-verse {
    margin: 1.35rem 0;
    padding: 1rem 1.15rem;
    border-left: 3px solid var(--gold);
    background: linear-gradient(90deg, rgba(247, 243, 236, 0.9) 0%, rgba(255, 255, 255, 0.4) 100%);
}

.charity-hero-logo {
    display: block;
    width: clamp(96px, 18vw, 148px);
    height: auto;
    margin: 0 auto 1.1rem;
    border-radius: 50%;
    background: #fff;
    padding: 0.35rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.charity-intro-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.1rem;
}

.charity-intro-logo {
    width: 88px;
    height: auto;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1px solid rgba(201, 166, 70, 0.35);
    background: #fff;
}

@media (max-width: 575.98px) {
    .charity-intro-brand {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

.charity-verse p {
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.2rem;
    font-style: italic;
    color: var(--burgundy);
    line-height: 1.55;
}

.charity-card-kicker {
    margin: -0.15rem 0 0.75rem;
    font-family: Cinzel, serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gold-dark);
}

.charity-cost-note {
    padding: 0.75rem 1rem;
    background: linear-gradient(90deg, rgba(247, 243, 236, 0.95) 0%, rgba(255, 255, 255, 0.5) 100%);
    border: 1px solid rgba(201, 166, 70, 0.28);
    border-radius: 0.5rem;
    color: var(--burgundy);
}

.charity-sponsor-table-wrap {
    border: 1px solid rgba(201, 166, 70, 0.28);
    border-radius: 0.65rem;
    overflow: hidden;
}

.charity-sponsor-table {
    margin-bottom: 0;
}

.charity-sponsor-table thead th {
    background: rgba(247, 243, 236, 0.95);
    white-space: nowrap;
}

.charity-sponsor-table th[scope="row"] {
    font-family: Cinzel, serif;
    color: var(--burgundy);
    font-weight: 700;
    width: 3.25rem;
}

.charity-sponsor-table th[rowspan],
.charity-sponsor-table td[rowspan] {
    vertical-align: middle;
}

.charity-sponsor-table td:last-child {
    white-space: nowrap;
    color: var(--burgundy);
}

.charity-donate-panel {
    padding: 1.25rem 1.35rem;
    border: 1px solid rgba(201, 166, 70, 0.3);
    border-radius: 0.75rem;
    background: linear-gradient(135deg, rgba(247, 243, 236, 0.7) 0%, #fff 55%);
}

.charity-donate-heading {
    margin: 0 0 0.85rem;
    font-family: Cinzel, serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--burgundy);
}

.charity-bank-details {
    display: grid;
    gap: 0.85rem;
}

.charity-bank-details dt {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--gold-dark);
}

.charity-bank-details dd {
    margin: 0.15rem 0 0;
    color: var(--text-body);
    font-weight: 600;
    word-break: break-word;
}

.charity-bank-details a {
    color: var(--gold-dark);
    text-decoration: none;
}

.charity-bank-details a:hover {
    color: var(--burgundy);
}

.charity-phone-label {
    display: inline-block;
    margin-bottom: 0.15rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--gold-dark);
}

.charity-upi-note {
    margin: 0 0 0.85rem;
    font-size: 0.92rem;
    color: var(--text-muted, #5c4a4e);
}

.charity-upi-qr {
    display: inline-block;
    width: min(100%, 220px);
    height: auto;
    padding: 0.65rem;
    background: #fff;
    border: 1px solid rgba(201, 166, 70, 0.35);
    border-radius: 0.65rem;
    box-shadow: 0 4px 14px rgba(45, 11, 17, 0.08);
}


.organizations-grid {
    --bs-gutter-x: 1.25rem;
    --bs-gutter-y: 1.25rem;
}

.org-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    background: #fff;
    border: 1px solid rgba(201, 166, 70, 0.3);
    border-radius: 1rem;
    box-shadow: 0 4px 16px rgba(45, 11, 17, 0.06);
    position: relative;
    overflow: hidden;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.org-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 55%, transparent 100%);
    opacity: 0.85;
    z-index: 2;
}

.org-card:hover {
    border-color: rgba(201, 166, 70, 0.52);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(45, 11, 17, 0.1);
}

.org-card-banner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 108px;
    overflow: hidden;
    background: linear-gradient(145deg, var(--burgundy) 0%, var(--burgundy-dark) 100%);
}

.org-card-youth .org-card-banner {
    background: linear-gradient(145deg, #4a1520 0%, var(--burgundy-dark) 100%);
}

.org-card-vanitha .org-card-banner {
    background: linear-gradient(145deg, var(--burgundy) 0%, #3a1016 100%);
}

.org-card-school .org-card-banner {
    background: linear-gradient(145deg, #3a1016 0%, #2d0b11 100%);
}

.org-card-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(201, 166, 70, 0.18) 0%, transparent 55%);
    pointer-events: none;
}

.org-card-symbol {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    border: 1px solid rgba(201, 166, 70, 0.45);
    background: rgba(255, 255, 255, 0.08);
    color: var(--gold-light);
    font-size: 1.35rem;
    line-height: 1;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.org-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.2rem 1.3rem 1.25rem;
}

.org-card-header {
    margin-bottom: 0.65rem;
}

.org-card-focus {
    display: inline-block;
    padding: 0.22rem 0.6rem;
    border-radius: 2rem;
    background: rgba(201, 166, 70, 0.14);
    color: var(--burgundy);
    font-family: Cinzel, serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.org-card h3 {
    font-family: Cinzel, serif;
    color: var(--burgundy);
    font-size: 1.08rem;
    line-height: 1.35;
    margin-bottom: 0.65rem;
}

.org-card-desc {
    color: var(--text-muted);
    font-size: 0.96rem;
    line-height: 1.58;
    margin-bottom: 0.85rem;
}

.org-card-list {
    margin: 0;
    padding: 0;
    list-style: none;
    flex: 1;
}

.org-card-list li {
    position: relative;
    padding-left: 1.1rem;
    color: var(--text-body);
    font-size: 0.92rem;
    line-height: 1.5;
}

.org-card-list li + li {
    margin-top: 0.45rem;
}

.org-card-list li::before {
    content: "✤";
    position: absolute;
    left: 0;
    top: 0.05rem;
    color: var(--gold);
    font-size: 0.62rem;
    line-height: 1.4;
}

.org-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(201, 166, 70, 0.2);
    font-family: Cinzel, serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--burgundy);
    text-decoration: none;
    transition: color 0.2s ease, gap 0.2s ease;
}

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

.org-card-with-units .org-card-body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0 1.5rem;
}

@media (min-width: 768px) {
    .org-card-with-units {
        display: grid;
        grid-template-columns: 108px 1fr;
        align-items: stretch;
    }

    .org-card-with-units .org-card-banner {
        height: auto;
        min-height: 100%;
    }

    .org-card-with-units .org-card-body {
        grid-template-columns: 1.1fr 0.9fr;
        align-items: start;
    }

    .org-card-with-units .org-card-header,
    .org-card-with-units h3,
    .org-card-with-units .org-card-desc,
    .org-card-with-units .org-card-list {
        grid-column: 1;
    }

    .org-card-with-units .org-card-units {
        grid-column: 2;
        grid-row: 1 / span 4;
        align-self: stretch;
    }
}

.org-card-units {
    margin-top: 1rem;
    padding: 1rem 1.05rem;
    background: rgba(247, 243, 236, 0.85);
    border: 1px solid rgba(201, 166, 70, 0.28);
    border-radius: 0.65rem;
}

.org-card-units-title {
    margin: 0 0 0.7rem;
    font-family: Cinzel, serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--burgundy);
}

.org-card-units-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.org-card-units-list li {
    position: relative;
    padding-left: 1.05rem;
    color: var(--text-body);
    font-size: 0.92rem;
    line-height: 1.45;
    font-weight: 600;
}

.org-card-units-list li + li {
    margin-top: 0.5rem;
}

.org-card-units-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: var(--gold);
}

.org-sidebar-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.org-sidebar-links li + li {
    margin-top: 0.55rem;
}

.org-sidebar-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--burgundy);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease, gap 0.2s ease;
}

.org-sidebar-links a::before {
    content: "→";
    color: var(--gold);
    font-size: 0.85rem;
}

.org-sidebar-links a:hover {
    color: var(--gold-dark);
    gap: 0.5rem;
}

/* Sunday Schools page cards */
.sunday-schools-section {
    padding-bottom: 4rem;
}

.sunday-schools-grid {
    --bs-gutter-x: 1.25rem;
    --bs-gutter-y: 1.25rem;
}

.school-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    background: #fff;
    border: 1px solid rgba(201, 166, 70, 0.3);
    border-radius: 1rem;
    box-shadow: 0 4px 16px rgba(45, 11, 17, 0.06);
    position: relative;
    overflow: hidden;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.school-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 55%, transparent 100%);
    opacity: 0.85;
    z-index: 2;
}

.school-card:hover {
    border-color: rgba(201, 166, 70, 0.52);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(45, 11, 17, 0.1);
}

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

.school-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    flex-wrap: wrap;
    margin-bottom: 0.65rem;
}

.school-card-location {
    display: inline-block;
    margin: 0;
    padding: 0.2rem 0.55rem;
    border-radius: 2rem;
    background: rgba(201, 166, 70, 0.14);
    color: var(--burgundy);
    font-family: Cinzel, serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.school-card-est {
    position: static;
    padding: 0.2rem 0.55rem;
    border-radius: 2rem;
    background: rgba(45, 11, 17, 0.04);
    border: 1px solid rgba(201, 166, 70, 0.28);
    color: var(--burgundy);
    font-family: Cinzel, serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.3;
    white-space: nowrap;
}

.school-card-title {
    position: relative;
    margin: 0 0 0.9rem;
    padding-bottom: 0.6rem;
    color: var(--burgundy);
    font-family: Cinzel, serif;
    font-size: clamp(0.98rem, 1.6vw, 1.1rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.3;
}

.school-card-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 2.1rem;
    height: 2px;
    background: linear-gradient(90deg, var(--gold) 0%, rgba(201, 166, 70, 0.15) 100%);
}

.school-card-desc {
    color: var(--text-muted);
    font-size: 0.96rem;
    line-height: 1.58;
    margin-bottom: 0.85rem;
    flex: 1;
}

.school-card-list {
    margin: 0;
    padding: 0.75rem 0 0;
    list-style: none;
    border-top: 1px solid rgba(201, 166, 70, 0.18);
}

.school-card-list li {
    position: relative;
    padding-left: 1.1rem;
    color: var(--text-body);
    font-size: 0.92rem;
    line-height: 1.5;
}

.school-card-list li + li {
    margin-top: 0.45rem;
}

.school-card-list li::before {
    content: "✤";
    position: absolute;
    left: 0;
    top: 0.05rem;
    color: var(--gold);
    font-size: 0.62rem;
    line-height: 1.4;
}

.school-sidebar-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.school-sidebar-order {
    margin: 0;
    padding-left: 1.15rem;
    color: var(--text-body);
}

.school-sidebar-order li {
    padding: 0.4rem 0;
    line-height: 1.4;
}

.school-sidebar-order li + li {
    border-top: 1px solid rgba(201, 166, 70, 0.15);
}

.school-sidebar-year {
    display: inline-block;
    min-width: 4.25rem;
    margin-right: 0.35rem;
    color: var(--burgundy);
    font-family: Cinzel, serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.school-sidebar-links li + li {
    margin-top: 0.55rem;
}

.school-sidebar-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--burgundy);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease, gap 0.2s ease;
}

.school-sidebar-links a::before {
    content: "→";
    color: var(--gold);
    font-size: 0.85rem;
}

.school-sidebar-links a:hover {
    color: var(--gold-dark);
    gap: 0.5rem;
}

/* Universal Church — Supreme Head portrait */
.universal-head-photo {
    margin: 0 0 0.85rem;
}

.universal-head-photo img {
    display: block;
    width: 100%;
    border-radius: 0.65rem;
    border: 1px solid rgba(201, 166, 70, 0.35);
    box-shadow: 0 4px 14px rgba(45, 11, 17, 0.1);
}

.universal-head-label {
    color: var(--burgundy);
    font-family: Cinzel, serif;
    font-size: 0.92rem;
    letter-spacing: 0.03em;
}

.universal-head-block + .universal-head-block {
    padding-top: 1rem;
    border-top: 1px solid rgba(201, 166, 70, 0.2);
}

/* Administration hierarchy */
.admin-hierarchy {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.admin-tier {
    background: #fff;
    border: 1px solid rgba(201, 166, 70, 0.28);
    border-radius: 0.85rem;
    padding: 1.5rem 1.35rem;
    box-shadow: 0 2px 12px rgba(45, 11, 17, 0.06);
}

.admin-tier-label {
    margin: 0 0 0.85rem;
    color: var(--gold-dark, #9a7b2f);
    font-family: Cinzel, serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.admin-designation {
    margin: 0.85rem 0 0.35rem;
    color: var(--burgundy);
    font-family: Cinzel, serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.admin-name {
    margin: 0 0 0.3rem;
    color: var(--text-primary, #2d0b11);
    font-family: Cinzel, serif;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.35;
    font-size: 1.12rem;
}

.admin-name-lg {
    font-size: clamp(1.35rem, 2.4vw, 1.7rem);
    margin-bottom: 0.45rem;
}

.admin-name-sm {
    font-size: 1rem;
}

.admin-house {
    margin: 0 0 0.35rem;
    color: var(--text-muted, #6b5a5e);
    font-size: 0.92rem;
    font-style: italic;
}

.admin-note {
    color: var(--text-muted, #6b5a5e);
    font-size: 0.92rem;
    line-height: 1.45;
}

.admin-section-heading {
    margin: 0 0 0.25rem;
    color: var(--burgundy);
    font-family: Cinzel, serif;
    font-size: 1.2rem;
    font-weight: 600;
}

.admin-photo {
    margin: 0;
    position: relative;
    overflow: hidden;
    border-radius: 0.7rem;
    border: 1px solid rgba(201, 166, 70, 0.4);
    background: var(--burgundy-dark);
    box-shadow: 0 4px 14px rgba(45, 11, 17, 0.12);
}

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

.admin-photo-placeholder img {
    opacity: 0.32;
    filter: grayscale(0.4);
    object-position: center 30%;
}

.admin-photo-mark {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: rgba(255, 248, 235, 0.92);
    text-shadow: 0 2px 10px rgba(45, 11, 17, 0.45);
    pointer-events: none;
}

.admin-photo-lg {
    width: min(100%, 220px);
    height: 260px;
    margin-left: auto;
    margin-right: auto;
    border-width: 2px;
    box-shadow: 0 10px 28px rgba(45, 11, 17, 0.16);
}

.admin-photo-patriarch {
    width: min(100%, 260px);
    height: 305px;
    margin-left: auto;
    margin-right: auto;
    border-width: 2px;
    box-shadow: 0 10px 28px rgba(45, 11, 17, 0.16);
}

.admin-photo-md {
    width: 170px;
    height: 195px;
    margin-left: auto;
    margin-right: auto;
}

.admin-photo-sm {
    width: 110px;
    height: 125px;
    flex-shrink: 0;
}

.admin-photo-xs {
    width: 72px;
    height: 84px;
    margin-bottom: 0.65rem;
    border-radius: 0.55rem;
}

.admin-photo-xs .admin-photo-mark {
    font-size: 1.35rem;
}

.admin-photo-sub {
    width: 100%;
    max-width: 140px;
    height: 160px;
    margin: 0 auto 0.85rem;
    border-radius: 0.65rem;
}

.admin-photo-sub .admin-photo-mark {
    font-size: 1.75rem;
}

/* Patriarch — primary prominence */
.admin-tier-patriarch {
    text-align: center;
    padding: 2rem 1.5rem 2.15rem;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(201, 166, 70, 0.16) 0%, transparent 58%),
        linear-gradient(180deg, #fffdf7 0%, #fff 70%);
    border-color: rgba(201, 166, 70, 0.55);
    box-shadow: 0 8px 28px rgba(45, 11, 17, 0.1);
}

.admin-tier-patriarch .admin-tier-label {
    margin-bottom: 1.15rem;
    color: var(--burgundy);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
}

.admin-tier-patriarch .admin-designation {
    margin-top: 1.15rem;
    font-size: 0.88rem;
    letter-spacing: 0.1em;
}

.admin-tier-patriarch .admin-note {
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
}

/* Catholicos & Metropolitan — second tier */
.admin-tier-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem;
}

.admin-tier-senior {
    text-align: center;
    padding: 1.35rem 1.1rem 1.45rem;
    background: linear-gradient(180deg, rgba(201, 166, 70, 0.07) 0%, #fff 55%);
    border-color: rgba(201, 166, 70, 0.4);
}

.admin-tier-senior .admin-name {
    font-size: 1.05rem;
}

/* Vicar */
.admin-tier-vicar {
    padding: 1.25rem 1.35rem;
}

.admin-vicar-inner {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.admin-vicar-body .admin-tier-label {
    margin-bottom: 0.35rem;
}

.admin-vicar-body .admin-designation {
    margin-top: 0;
}

/* Sub-vicars */
.admin-tier-clergy,
.admin-tier-subvicars {
    padding: 1.35rem 1.25rem 1.4rem;
}

.admin-subvicars-intro {
    margin-bottom: 1.15rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid rgba(201, 166, 70, 0.22);
}

.admin-clergy-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: rgba(201, 166, 70, 0.04);
    border: 1px solid rgba(201, 166, 70, 0.2);
    border-radius: 0.65rem;
    padding: 1.05rem 0.95rem 1.1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.admin-clergy-card:hover {
    border-color: rgba(201, 166, 70, 0.45);
    box-shadow: 0 4px 14px rgba(45, 11, 17, 0.08);
}

.admin-clergy-card-vicar {
    background: linear-gradient(180deg, #fffdf7 0%, rgba(201, 166, 70, 0.08) 100%);
    border-color: rgba(201, 166, 70, 0.42);
}

.admin-clergy-card .admin-designation {
    margin-top: 0;
    margin-bottom: 0.2rem;
    font-size: 0.7rem;
}

.admin-committee-soon {
    border-style: dashed;
    background: linear-gradient(180deg, #fff 0%, rgba(201, 166, 70, 0.05) 100%);
}

.admin-committee-section {
    margin-top: 0.5rem;
}

.admin-committee-block {
    padding-bottom: 1.35rem;
}

.admin-committee-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: rgba(201, 166, 70, 0.04);
    border: 1px solid rgba(201, 166, 70, 0.2);
    border-radius: 0.65rem;
    padding: 0.95rem 0.7rem 1rem;
    position: relative;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.admin-committee-card:hover {
    border-color: rgba(201, 166, 70, 0.45);
    box-shadow: 0 4px 14px rgba(45, 11, 17, 0.08);
}

.admin-committee-card .admin-name {
    margin-top: 0;
    margin-bottom: 0.15rem;
}

.admin-photo-committee {
    width: 100%;
    max-width: 120px;
    height: 140px;
    margin: 0 auto 0.75rem;
    border-radius: 0.6rem;
}

.admin-photo-committee .admin-photo-mark {
    font-size: 1.6rem;
}

.admin-trustees-wrap {
    padding: 1.1rem 1rem 1.15rem;
    border-radius: 0.85rem;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(201, 166, 70, 0.16) 0%, transparent 58%),
        linear-gradient(180deg, rgba(201, 166, 70, 0.08) 0%, rgba(255, 255, 255, 0.4) 100%);
    border: 1px solid rgba(201, 166, 70, 0.38);
}

.admin-trustees-label {
    margin: 0 0 0.95rem;
    text-align: center;
    color: var(--burgundy);
    font-family: Cinzel, serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.admin-trustees-label::before,
.admin-trustees-label::after {
    content: "✦";
    margin: 0 0.55rem;
    color: var(--gold-dark, #9a7b2f);
    font-size: 0.7rem;
    letter-spacing: 0;
}

.admin-committee-card-trustee {
    background: linear-gradient(180deg, #fffdf7 0%, rgba(201, 166, 70, 0.08) 100%);
    border-color: rgba(201, 166, 70, 0.5);
    box-shadow: 0 6px 18px rgba(45, 11, 17, 0.08);
}

.admin-committee-card-trustee:hover {
    border-color: rgba(201, 166, 70, 0.7);
    box-shadow: 0 8px 22px rgba(45, 11, 17, 0.12);
}

.admin-photo-trustee {
    max-width: 140px;
    height: 160px;
    border-width: 2px;
    border-color: rgba(201, 166, 70, 0.55);
    box-shadow: 0 6px 16px rgba(45, 11, 17, 0.12);
}

.admin-committee-row-lead {
    padding-bottom: 0;
}

.admin-sidebar-order {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--text-primary, #2d0b11);
}

.admin-sidebar-order li {
    padding: 0.35rem 0;
    line-height: 1.4;
}

.admin-sidebar-order li + li {
    border-top: 1px solid rgba(201, 166, 70, 0.15);
}

@media (max-width: 767.98px) {
    .admin-tier-row {
        grid-template-columns: 1fr;
    }

    .admin-photo-lg {
        width: 180px;
        height: 215px;
    }

    .admin-photo-patriarch {
        width: 210px;
        height: 250px;
    }

    .admin-vicar-inner {
        align-items: flex-start;
    }
}

@media (max-width: 575.98px) {
    .admin-tier-patriarch {
        padding: 1.5rem 1.1rem 1.65rem;
    }

    .admin-vicar-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .admin-clergy-card {
        align-items: center;
        text-align: center;
    }
}

.home-gallery-section {
    padding: 3.75rem 0 4rem;
    background: linear-gradient(180deg, var(--bg-section-alt) 0%, var(--bg-page) 100%);
    overflow: hidden;
}

.home-gallery-slider {
    max-width: 960px;
    margin: 0 auto;
}

.home-gallery-carousel {
    border-radius: 1rem;
    overflow: hidden;
    border: 2px solid rgba(201, 166, 70, 0.4);
    box-shadow: 0 14px 42px rgba(45, 11, 17, 0.14);
    background: var(--burgundy-dark);
}

.home-gallery-carousel .carousel-inner {
    border-radius: calc(1rem - 2px);
}

.home-gallery-slide {
    position: relative;
    height: clamp(280px, 48vw, 520px);
    overflow: hidden;
}

.home-gallery-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.home-gallery-slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.75rem 1.5rem 1.35rem;
    background: linear-gradient(to top, rgba(12, 3, 5, 0.88) 0%, rgba(12, 3, 5, 0.35) 55%, transparent 100%);
    pointer-events: none;
}

.home-gallery-slide-label {
    display: block;
    font-family: Cinzel, serif;
    color: var(--gold-light);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
}

.home-gallery-slide-title {
    display: block;
    font-family: Cinzel, serif;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.35;
}

.home-gallery-indicators {
    margin-bottom: 0.85rem;
    gap: 0.35rem;
}

.home-gallery-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid rgba(201, 166, 70, 0.75);
    background: transparent;
    opacity: 1;
    transition: background 0.25s ease, transform 0.25s ease;
}

.home-gallery-indicators .active {
    background: var(--gold);
    transform: scale(1.2);
}

.home-gallery-control {
    width: auto;
    height: auto;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    opacity: 1;
    padding: 0 0.65rem;
}

.home-gallery-control.carousel-control-prev {
    left: 0.85rem;
}

.home-gallery-control.carousel-control-next {
    right: 0.85rem;
}

.home-gallery-control-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(12, 3, 5, 0.65);
    border: 1px solid rgba(201, 166, 70, 0.55);
    color: var(--gold-light);
    font-size: 1.75rem;
    line-height: 1;
    font-family: serif;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.home-gallery-control:hover .home-gallery-control-icon {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--burgundy-dark);
}

.home-gallery-carousel .carousel-control-prev-icon,
.home-gallery-carousel .carousel-control-next-icon {
    display: none;
}

.home-gallery-thumbs {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.85rem;
    padding: 0.15rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(201, 166, 70, 0.5) transparent;
}

.home-gallery-thumb {
    flex: 0 0 auto;
    width: 4.5rem;
    height: 3.25rem;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 0.45rem;
    overflow: hidden;
    background: var(--burgundy-dark);
    cursor: pointer;
    opacity: 0.65;
    scroll-snap-align: start;
    transition: opacity 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.home-gallery-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-gallery-thumb:hover {
    opacity: 0.9;
}

.home-gallery-thumb.active {
    opacity: 1;
    border-color: var(--gold);
    transform: translateY(-2px);
}

.home-gallery-footer {
    margin-top: 1.75rem;
}

.home-gallery-footer .btn {
    font-family: Cinzel, serif;
    letter-spacing: 0.05em;
    padding: 0.5rem 1.35rem;
}

.home-news-section {
    padding: 4rem 0 4.25rem;
    background: linear-gradient(180deg, #fff 0%, var(--cream) 55%, #fff 100%);
    border-top: 1px solid rgba(201, 166, 70, 0.18);
    position: relative;
    overflow: hidden;
}

.home-news-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, rgba(201, 166, 70, 0.45) 50%, transparent 100%);
    pointer-events: none;
}

.home-news-section .container {
    position: relative;
    z-index: 1;
}

.home-news-header {
    margin-bottom: 2.25rem;
}

.home-news-grid {
    --bs-gutter-x: 1.35rem;
    --bs-gutter-y: 1.35rem;
}

.home-news-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid rgba(201, 166, 70, 0.3);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(45, 11, 17, 0.06);
    position: relative;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.home-news-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 55%, transparent 100%);
    z-index: 2;
    opacity: 0.9;
}

.home-news-card:hover {
    border-color: rgba(201, 166, 70, 0.52);
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(45, 11, 17, 0.11);
}

.home-news-card-date {
    display: inline-block;
    margin-bottom: 0.65rem;
    padding: 0.28rem 0.65rem;
    border-radius: 2rem;
    background: rgba(201, 166, 70, 0.12);
    border: 1px solid rgba(201, 166, 70, 0.35);
    color: var(--burgundy);
    font-family: Cinzel, serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.3;
}

.home-news-card-body {
    padding: 1.35rem 1.4rem 1.4rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.home-news-card-index {
    position: absolute;
    top: 0.85rem;
    right: 1rem;
    font-family: Cinzel, serif;
    font-size: 1.45rem;
    font-weight: 600;
    color: rgba(45, 11, 17, 0.07);
    line-height: 1;
}

.home-news-card-body .news-card-title {
    font-size: 1.05rem;
    letter-spacing: 0.03em;
    margin-bottom: 0.5rem;
    padding-right: 2rem;
}

.home-news-card-body p {
    flex: 1;
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.58;
    margin-bottom: 1rem;
}

.home-news-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: auto;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(201, 166, 70, 0.2);
    color: var(--gold-dark);
    font-family: Cinzel, serif;
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: color 0.2s ease, gap 0.2s ease;
}

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

.home-news-footer {
    margin-top: 2rem;
}

.home-news-empty {
    max-width: 40rem;
    margin: 0 auto;
    text-align: center;
}

.home-cta-band {
    background: radial-gradient(circle at top, var(--burgundy-light) 0%, var(--burgundy) 45%, var(--burgundy-dark) 100%);
    padding: 3.5rem 0;
    position: relative;
    overflow: hidden;
}

.home-cta-band::before {
    content: "✠";
    position: absolute;
    font-size: min(30vw, 320px);
    color: rgba(201, 166, 70, 0.05);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.home-cta-inner {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0 auto;
}

.home-cta-title {
    font-family: Cinzel, serif;
    color: var(--gold-light);
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.home-cta-lead {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.home-verse-section.section-dark::before {
    display: none;
}

.home-verse-section {
    position: relative;
    padding: 4rem 0;
    border-top: 2px solid rgba(201, 166, 70, 0.25);
    border-bottom: 2px solid rgba(201, 166, 70, 0.25);
    background: linear-gradient(160deg, var(--burgundy-dark) 0%, var(--burgundy) 48%, #3a1016 100%);
    overflow: hidden;
}

.home-verse-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.home-verse-logo-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(72vw, 620px);
    height: auto;
    transform: translate(-50%, -50%);
    opacity: 0.04;
    filter: brightness(1.4) grayscale(35%);
}

.home-verse-section > .container {
    position: relative;
    z-index: 1;
}

.home-verse-inner {
    max-width: 42rem;
    margin: 0 auto;
    padding: 2.25rem 2rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(201, 166, 70, 0.32);
    border-radius: 1rem;
    box-shadow:
        0 18px 48px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(2px);
}

.home-verse-symbol {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 0.85rem;
    border-radius: 50%;
    border: 1px solid rgba(201, 166, 70, 0.45);
    background: rgba(201, 166, 70, 0.1);
    color: var(--gold-light);
    font-size: 1.2rem;
    line-height: 1;
}

.home-verse-eyebrow {
    margin-bottom: 0.75rem;
    font-family: Cinzel, serif;
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.home-verse-section .verse-quote {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(1.35rem, 2.8vw, 1.75rem);
    font-weight: 500;
    font-style: italic;
    color: var(--gold-light);
    max-width: 34rem;
    margin: 0 auto 1rem;
    line-height: 1.6;
    letter-spacing: 0.01em;
}

.home-verse-section .gold-divider {
    margin: 0 auto 1rem;
}

.home-verse-section .verse-ref {
    margin-bottom: 0;
    font-family: Cinzel, serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

/* ── Page hero & home hero (dark bands) ── */

.page-hero,
.hero-home {
    padding: 4rem 0 3rem;
    text-align: center;
    border-bottom: none;
}

.hero-home {
    padding: 5rem 0 4rem;
}

.page-hero h1,
.hero-home h1 {
    color: var(--gold-light);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    letter-spacing: 0.06em;
    margin-bottom: 0.75rem;
}

.hero-home h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    letter-spacing: 0.08em;
}

.page-hero .lead,
.hero-home .intro {
    color: var(--cream-muted);
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.25rem;
}

.page-hero-actions {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
}

.page-hero-actions .btn-gold {
    padding: 0.7rem 1.6rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.page-hero-action-note {
    margin: 0;
    color: rgba(247, 243, 236, 0.82);
    font-size: 0.95rem;
    max-width: 28rem;
}

.hero-home .intro {
    margin-bottom: 2rem;
    font-size: 1.3rem;
}

.hero-home .subtitle {
    font-family: Cinzel, serif;
    letter-spacing: 0.2em;
    color: var(--cream-muted);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.gold-divider {
    width: 80px;
    height: 2px;
    background: var(--gold);
    margin: 1.25rem auto;
}

.hero-logo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: #fff;
    padding: 10px;
    box-shadow: 0 0 30px rgba(201, 166, 70, 0.3);
    margin-bottom: 1.5rem;
}

.quick-link-card {
    display: block;
    text-decoration: none;
    color: inherit;
    text-align: center;
    padding: 1.5rem 1rem;
}

.quick-link-card .icon {
    font-size: 2rem;
    color: var(--gold-dark);
    margin-bottom: 0.5rem;
}

.section-dark .quick-link-card .icon {
    color: var(--gold);
}

.quick-link-card h3 {
    font-size: 1rem;
    color: var(--burgundy);
    margin-bottom: 0.25rem;
    font-family: Cinzel, serif;
}

.quick-link-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
}

.timeline-item {
    border-left: 2px solid var(--gold);
    padding-left: 1.25rem;
    margin-bottom: 1.5rem;
}

.timeline-item .year {
    font-family: Cinzel, serif;
    color: var(--gold-dark);
    font-weight: 600;
}

.section-dark .timeline-item .year {
    color: var(--gold);
}

.gallery-item {
    display: block;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid rgba(201, 166, 70, 0.25);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(45, 11, 17, 0.06);
    text-decoration: none;
    color: inherit;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.03);
}

.gallery-placeholder {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-section-alt);
    color: var(--text-muted);
    font-style: italic;
}

/* GLightbox — match parish theme */
.glightbox-clean .gslide-description {
    background: transparent;
}

.glightbox-clean .gslide-title,
.glightbox-clean .gslide-desc {
    color: #f7f3ec;
    font-family: "Cormorant Garamond", Georgia, serif;
}

.glightbox-clean .gslide-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.glightbox-clean .gslide-desc {
    font-size: 0.95rem;
    opacity: 0.85;
}

.glightbox-clean .gnext,
.glightbox-clean .gprev,
.glightbox-clean .gclose {
    background: rgba(45, 11, 17, 0.75);
    border: 1px solid rgba(201, 166, 70, 0.45);
    color: #d7b45d;
}

.glightbox-clean .gnext:hover,
.glightbox-clean .gprev:hover,
.glightbox-clean .gclose:hover {
    background: #c9a646;
    border-color: #c9a646;
    color: #160507;
}

.verse-quote {
    color: var(--burgundy);
    font-style: italic;
    font-size: 1.35rem;
}

.verse-ref {
    color: var(--text-muted);
}

.saint-chant {
    margin-top: 1.25rem;
    padding: 1.25rem 1.35rem 1.15rem;
    text-align: center;
    background: rgba(201, 166, 70, 0.08);
    border: 1px solid rgba(201, 166, 70, 0.28);
    border-radius: 0.85rem;
}

.saint-chant-compact {
    margin-top: 1rem;
    padding: 1rem 1.1rem;
}

.saint-chant-label {
    margin-bottom: 0.65rem;
    font-family: Cinzel, serif;
    color: var(--gold-dark);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.saint-chant-en {
    margin-bottom: 0.85rem;
    font-family: Cinzel, serif;
    color: var(--burgundy);
    font-size: 1.08rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.45;
}

.saint-chant-ml {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-family: "Noto Serif Malayalam", "Malayalam Sangam MN", sans-serif;
    font-size: 1.08rem;
    line-height: 1.65;
    color: var(--text-body);
    font-style: normal;
    font-weight: 500;
}

.saint-chant-ml span {
    display: block;
}

.saint-chant .gold-divider {
    margin-bottom: 0.85rem;
}

/* ── Footer (always dark) ── */

.site-footer {
    background: linear-gradient(165deg, var(--burgundy-dark) 0%, var(--burgundy) 42%, #3a1016 100%);
    border-top: 2px solid rgba(201, 166, 70, 0.28);
    margin-top: 0;
    position: relative;
    z-index: 1;
    color: var(--text-on-dark);
    overflow: hidden;
}

.footer-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.footer-logo-watermark {
    position: absolute;
    top: 50%;
    right: -3%;
    width: min(32vw, 280px);
    height: auto;
    transform: translateY(-50%);
    opacity: 0.04;
    filter: brightness(1.4) grayscale(35%);
}

.footer-accent {
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--gold) 20%, var(--gold-light) 50%, var(--gold) 80%, transparent 100%);
    position: relative;
    z-index: 1;
}

.footer-main {
    position: relative;
    z-index: 1;
    padding: 3.5rem 0 2.75rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1.1rem;
}

.footer-logo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid rgba(201, 166, 70, 0.45);
    background: rgba(255, 255, 255, 0.06);
    padding: 0.35rem;
    flex-shrink: 0;
}

.footer-title {
    color: var(--gold-light);
    font-size: 1.15rem;
    letter-spacing: 0.04em;
    margin-bottom: 0.15rem;
}

.footer-tagline {
    margin: 0;
    font-family: Cinzel, serif;
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.footer-heading {
    color: var(--gold-light);
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid rgba(201, 166, 70, 0.22);
}

.footer-text,
.footer-list,
.footer-verse {
    color: var(--text-muted-on-dark);
    font-size: 0.98rem;
}

.footer-text {
    line-height: 1.65;
    margin-bottom: 1rem;
}

.footer-verse {
    margin: 0;
    padding: 0.85rem 0 0.85rem 1rem;
    border-left: 2px solid rgba(201, 166, 70, 0.45);
    font-style: italic;
    font-size: 0.92rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.78);
}

.footer-verse cite {
    display: block;
    margin-top: 0.35rem;
    font-style: normal;
    font-family: Cinzel, serif;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li + li,
.footer-mass-list li + li {
    margin-top: 0.45rem;
}

.footer-list a {
    color: var(--cream-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-list a:hover {
    color: var(--gold-light);
}

.footer-mass-time {
    display: inline-block;
    min-width: 4.5rem;
    font-family: Cinzel, serif;
    color: var(--gold);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.site-footer .footer-link {
    color: var(--gold-light);
    font-family: Cinzel, serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
}

.site-footer .footer-link:hover {
    color: #fff;
}

.footer-link-arrow span {
    transition: transform 0.2s ease;
}

.footer-link-arrow:hover span {
    transform: translateX(3px);
    display: inline-block;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 1.15rem;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.3rem;
    height: 2.3rem;
    padding: 0;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    background: #f7f4ef;
    color: var(--cream-muted);
    text-decoration: none;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.footer-social-link .social-icon {
    width: 1.1rem;
    height: 1.1rem;
}

.footer-social-link:hover {
    background: #fff;
    border-color: #fff;
    opacity: 1;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.24);
}

.footer-bottom {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(201, 166, 70, 0.18);
    background: rgba(0, 0, 0, 0.18);
}

.footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem 1.5rem;
    padding: 1.1rem 0;
}

.footer-copyright,
.footer-credits {
    margin: 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.86rem;
}

.footer-credits-link {
    color: var(--gold-light);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.footer-credits-link:hover {
    color: #fff;
}

.scroll-to-top {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 1040;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.85rem;
    height: 2.85rem;
    padding: 0;
    border: 1px solid rgba(201, 166, 70, 0.55);
    border-radius: 50%;
    background: linear-gradient(165deg, var(--burgundy-light) 0%, var(--burgundy) 100%);
    color: var(--gold-light);
    box-shadow: 0 8px 24px rgba(45, 11, 17, 0.28);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.scroll-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    border-color: var(--gold-light);
    background: linear-gradient(165deg, var(--burgundy) 0%, var(--burgundy-dark) 100%);
    color: #fff;
}

.scroll-to-top:focus-visible {
    outline: 2px solid var(--gold-light);
    outline-offset: 3px;
}

.scroll-to-top-icon {
    font-family: Cinzel, serif;
    font-size: 1.2rem;
    line-height: 1;
}

/* ── Breadcrumb & news ── */

.breadcrumb {
    --bs-breadcrumb-divider-color: var(--text-muted-on-dark);
    --bs-breadcrumb-item-active-color: var(--gold-light);
}

.page-hero .breadcrumb a {
    color: var(--cream-muted);
    text-decoration: none;
}

.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
}

/* News article view — matches content-card pages */
.news-view-figure {
    margin: 0 0 1.25rem;
}

.news-view-image {
    display: block;
    width: 100%;
    border-radius: 0.65rem;
    border: 1px solid rgba(201, 166, 70, 0.28);
    box-shadow: 0 4px 14px rgba(45, 11, 17, 0.08);
}

.news-view-excerpt {
    color: var(--burgundy);
    font-family: Cinzel, serif;
    font-size: 1.05rem;
    line-height: 1.55;
    margin-bottom: 1.25rem;
}

.news-view-related + .news-view-related {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(201, 166, 70, 0.18);
}

.news-body {
    color: var(--text-body);
    line-height: 1.7;
}

.news-body > *:first-child {
    margin-top: 0;
}

.news-body > *:last-child {
    margin-bottom: 0;
}

.news-body p {
    margin-bottom: 1rem;
}

.news-body h2,
.news-body h3,
.news-body h4 {
    font-family: Cinzel, serif;
    color: var(--burgundy);
    margin-top: 1.5rem;
    margin-bottom: 0.65rem;
    line-height: 1.35;
}

.news-body h2 {
    font-size: 1.25rem;
}

.news-body h3 {
    font-size: 1.1rem;
}

.news-body ul,
.news-body ol {
    margin-bottom: 1rem;
    padding-left: 1.35rem;
}

.news-body li + li {
    margin-top: 0.3rem;
}

.news-body a {
    color: var(--burgundy);
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: rgba(201, 166, 70, 0.45);
    text-underline-offset: 0.15em;
}

.news-body a:hover {
    color: var(--gold-dark);
}

.news-body img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 1rem 0;
    border: 1px solid rgba(201, 166, 70, 0.25);
    display: block;
}

.admin-card .tox-tinymce {
    border-radius: 0.45rem !important;
    border-color: rgba(45, 11, 17, 0.15) !important;
}

.news-body blockquote {
    margin: 1.25rem 0;
    padding: 0.85rem 1rem;
    border-left: 3px solid var(--gold);
    border-radius: 0 0.5rem 0.5rem 0;
    background: rgba(247, 243, 236, 0.85);
    color: var(--text-muted);
    font-style: italic;
}

.map-embed {
    border: 1px solid rgba(201, 166, 70, 0.3);
    border-radius: 0.75rem;
    overflow: hidden;
    min-height: 320px;
    box-shadow: 0 2px 12px rgba(45, 11, 17, 0.06);
}

.map-embed iframe {
    width: 100%;
    height: 320px;
    border: 0;
}

.pagination .page-link {
    background: #fff;
    border-color: rgba(201, 166, 70, 0.3);
    color: var(--burgundy);
}

.pagination .page-item.active .page-link {
    background: var(--burgundy);
    border-color: var(--burgundy);
    color: var(--cream);
}

/* Offerings page — Malayalam text */
.page-offerings .offerings-page,
.page-offerings .offering-pay-title-ml,
.page-offerings .offering-pay-desc-ml,
.page-offerings .offering-info-title-ml,
.page-offerings .offering-info-desc-ml,
.page-offerings .offering-cart-list,
.page-offerings .offering-persons-label,
.page-offerings .offering-person-name {
    font-family: "Noto Serif Malayalam", "Malayalam Sangam MN", "Cormorant Garamond", Georgia, serif;
}

.page-offerings .offerings-page .section-title,
.page-offerings .offering-pay-title,
.page-offerings .offering-pay-amount,
.page-offerings .offering-info-card h3,
.page-offerings .offering-info-charge,
.page-offerings .offering-cart-card h3,
.page-offerings .offering-cart-total,
.page-offerings .offering-person-add {
    font-family: Cinzel, serif;
}

.page-offerings .offering-pay-desc[lang="en"],
.page-offerings .offering-info-desc-en,
.page-offerings .offering-booking-card .offering-info-desc-en,
.page-offerings .offerings-page > .content-card > p,
.page-offerings .offering-booking-lead,
.page-offerings .offering-cart-card > p,
.page-offerings .offering-info-card .offering-info-desc-en {
    font-family: "Cormorant Garamond", Georgia, serif;
    color: #1a0e10;
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.6;
}

.page-offerings .offering-pay-desc:not([lang="ml"]):not(.offering-pay-desc-ml) {
    color: #1a0e10;
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.6;
}

.page-offerings .offering-cart-names,
.page-offerings .offering-cart-list .text-muted,
.page-offerings .text-muted {
    color: #4a3538;
}

/* Offerings page — payable cards & cart */
.offering-pay-card {
    display: block;
    width: 100%;
    margin: 0;
    padding: 1.1rem 1.15rem;
    background: #fff;
    border: 1px solid rgba(201, 166, 70, 0.3);
    border-radius: 0.85rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.offering-pay-card:hover,
.offering-pay-card:has(.offering-select:checked) {
    border-color: rgba(201, 166, 70, 0.55);
    box-shadow: 0 6px 18px rgba(45, 11, 17, 0.08);
}

.offering-pay-card.is-disabled {
    opacity: 0.72;
}

.offering-pay-main {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    width: 100%;
    margin: 0;
    cursor: pointer;
}

.offering-select {
    margin-top: 0.35rem;
    flex-shrink: 0;
}

.offering-pay-body {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.35rem 0.75rem;
    width: 100%;
}

.offering-pay-title {
    font-family: Cinzel, serif;
    color: var(--burgundy);
    font-size: 1.02rem;
    font-weight: 600;
}

.offering-pay-title-ml,
.offering-info-title-ml {
    grid-column: 1 / -1;
    margin: -0.15rem 0 0.15rem;
    color: var(--burgundy-light);
    font-family: "Noto Serif Malayalam", "Malayalam Sangam MN", "Cormorant Garamond", Georgia, serif;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
}

.offering-info-card .offering-info-title-ml {
    grid-column: auto;
    margin: -0.35rem 0 0.65rem;
}

.offering-pay-amount {
    font-family: Cinzel, serif;
    color: var(--gold-dark);
    font-weight: 600;
    white-space: nowrap;
}

.offering-pay-per {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--text-muted);
}

.offering-pay-desc {
    grid-column: 1 / -1;
    color: #1a0e10;
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 600;
}

.offering-pay-desc-ml,
.offering-info-desc-ml {
    color: var(--text-muted);
    font-family: "Noto Serif Malayalam", "Malayalam Sangam MN", "Cormorant Garamond", Georgia, serif;
    font-size: 0.92rem;
    line-height: 1.55;
}

.offering-pay-desc + .offering-pay-desc-ml,
.offering-info-desc-en + .offering-info-desc-ml {
    margin-top: 0.45rem;
    padding-top: 0.45rem;
    border-top: 1px dashed rgba(201, 166, 70, 0.25);
}

.offering-info-desc-en {
    margin-bottom: 0;
    color: #1a0e10;
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 600;
}

.offering-info-card h3 {
    color: var(--burgundy);
}

.offering-info-header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.35rem 1rem;
    align-items: start;
    margin-bottom: 0.75rem;
}

.offering-info-header h3 {
    margin: 0;
}

.offering-info-header .offering-info-title-ml {
    grid-column: 1 / -1;
    margin: 0;
}

.offering-info-charge {
    margin: 0;
    font-family: Cinzel, serif;
    color: var(--gold-dark);
    font-weight: 600;
    font-size: 1.05rem;
    white-space: nowrap;
}

.offering-persons {
    margin-top: 0.9rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(201, 166, 70, 0.2);
}

.offering-persons-label {
    margin: 0 0 0.45rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--burgundy);
}

.offering-persons-hint {
    margin: -0.15rem 0 0.55rem;
    font-size: 0.78rem;
    line-height: 1.35;
    color: var(--text-muted);
}

.offering-persons-list {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.offering-person-row {
    display: flex;
    gap: 0.45rem;
    align-items: center;
}

.offering-person-name {
    flex: 1;
}

.offering-person-remove {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border: 1px solid rgba(90, 27, 34, 0.2);
    border-radius: 0.35rem;
    background: rgba(247, 243, 236, 0.8);
    color: var(--burgundy);
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
}

.offering-person-remove:hover {
    border-color: rgba(90, 27, 34, 0.4);
    background: #fff;
}

.offering-person-add {
    margin-top: 0.55rem;
    padding: 0;
    border: 0;
    background: none;
    color: var(--gold-dark);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    cursor: pointer;
}

.offering-person-add:hover {
    color: var(--burgundy);
}

.offering-person-add:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.offering-cart-card h3 {
    margin-bottom: 1rem;
}

.offerings-aside {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

#offeringCart {
    scroll-margin-top: 6.5rem;
}

[id^="offering-"] {
    scroll-margin-top: 6.5rem;
}

@media (max-width: 991.98px) {
    .offerings-layout {
        display: flex;
        flex-direction: column;
    }

    .offerings-list-col {
        order: 1;
    }

    .offerings-cart-col {
        order: 2;
        margin-top: 0.25rem;
    }

    .offerings-aside {
        position: static;
    }
}

@media (min-width: 992px) {
    .offerings-aside {
        position: sticky;
        top: 1.25rem;
    }
}

.offering-booking-panel h3,
.offering-cart-card h3 {
    color: var(--burgundy);
    font-family: Cinzel, serif;
    font-size: 1.08rem;
    font-weight: 700;
}

.offering-booking-lead {
    margin: 0 0 1rem;
    color: #3a2528;
    font-size: 1.05rem;
    line-height: 1.6;
    font-weight: 600;
}

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

.offering-booking-card {
    padding: 0.85rem 0.9rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(201, 166, 70, 0.28);
    border-radius: 0.7rem;
}

.offering-booking-card .offering-info-header {
    margin-bottom: 0.55rem;
}

.offering-booking-card h4 {
    margin: 0;
    color: var(--burgundy);
    font-family: Cinzel, serif;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
}

.offering-booking-card .offering-info-title-ml {
    margin-top: 0.15rem;
    font-size: 0.86rem;
}

.offering-booking-card .offering-info-charge {
    font-size: 0.95rem;
}

.offering-booking-card .offering-info-desc-en {
    color: #1a0e10;
    font-weight: 600;
    font-size: 1.02rem;
}

.offering-booking-card .offering-info-desc-en,
.offering-booking-card .offering-info-desc-ml {
    line-height: 1.55;
}

.offering-booking-card .offering-info-desc-ml {
    font-size: 0.88rem;
}

.offering-open-fields {
    display: grid;
    gap: 0.65rem;
}

.offering-open-fields .offering-persons-label {
    display: block;
    margin-bottom: 0.3rem;
}

.offering-pay-card.is-open-amount .offering-pay-amount {
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

/* Offering receipt — compact for one A4 page */
body.page-offering-receipt {
    background:
        radial-gradient(ellipse at top, rgba(201, 166, 70, 0.1) 0%, transparent 42%),
        linear-gradient(180deg, #f4efe6 0%, var(--cream) 45%, #efe8dc 100%);
}

body.page-offering-receipt .receipt-page-section {
    padding: 1.25rem 0 2rem;
}

.receipt-page-inner {
    max-width: 48rem;
    margin: 0 auto;
}

.offering-receipt-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.offering-receipt {
    position: relative;
    background: #fffefb;
    border: 1px solid rgba(201, 166, 70, 0.4);
    border-radius: 0.85rem;
    padding: 1.15rem 1.35rem 1rem;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.8) inset,
        0 14px 32px rgba(45, 11, 17, 0.07);
    overflow: hidden;
}

.offering-receipt-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--burgundy) 0%, var(--gold) 50%, var(--burgundy) 100%);
}

.offering-receipt-header {
    margin-bottom: 0.75rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid rgba(201, 166, 70, 0.3);
}

.offering-receipt-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.55rem;
}

.offering-receipt-logo {
    width: 3.5rem;
    height: 3.5rem;
    object-fit: contain;
    border-radius: 50%;
    background: #fff;
    padding: 0.2rem;
    border: 2px solid rgba(201, 166, 70, 0.5);
    box-shadow: 0 3px 10px rgba(45, 11, 17, 0.1);
    flex-shrink: 0;
}

.offering-receipt-brand-text {
    min-width: 0;
}

.offering-receipt-church-name {
    margin: 0;
    font-family: Cinzel, serif;
    font-size: clamp(1.1rem, 2.8vw, 1.4rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--burgundy);
    line-height: 1.2;
}

.offering-receipt-church-place {
    margin: 0.1rem 0 0;
    color: var(--gold-dark);
    font-size: 0.92rem;
    letter-spacing: 0.04em;
}

.offering-receipt-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.offering-receipt-header h1 {
    margin: 0;
    font-family: Cinzel, serif;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--burgundy);
}

.offering-receipt-subtitle {
    margin: 0.1rem 0 0;
    color: rgba(45, 11, 17, 0.6);
    font-size: 0.85rem;
}

.offering-receipt-paid-badge {
    display: inline-block;
    flex-shrink: 0;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    background: rgba(45, 11, 17, 0.06);
    border: 1px solid rgba(201, 166, 70, 0.55);
    color: var(--burgundy);
    font-family: Cinzel, serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.offering-receipt-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    margin-bottom: 0.7rem;
}

.offering-receipt-meta-item {
    padding: 0.45rem 0.65rem;
    background: linear-gradient(180deg, #fbf7f0 0%, #f5efe4 100%);
    border: 1px solid rgba(201, 166, 70, 0.25);
    border-radius: 0.4rem;
}

.offering-receipt-meta-wide {
    grid-column: 1 / -1;
}

.offering-receipt-meta-item span {
    display: block;
    margin-bottom: 0.1rem;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--gold-dark);
}

.offering-receipt-meta-item strong {
    display: block;
    color: var(--burgundy);
    font-size: 0.9rem;
    font-weight: 700;
    word-break: break-word;
    line-height: 1.3;
}

.offering-receipt-donor {
    margin-bottom: 0.7rem;
    padding: 0.55rem 0.75rem;
    background: #fff;
    border: 1px solid rgba(201, 166, 70, 0.28);
    border-left: 3px solid var(--gold);
    border-radius: 0.4rem;
}

.offering-receipt-items {
    margin-bottom: 0.55rem;
    flex: 1 1 auto;
}

.offering-receipt-donor h2,
.offering-receipt-items h2 {
    margin: 0 0 0.35rem;
    font-family: Cinzel, serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--burgundy);
}

.offering-receipt-donor-name {
    margin: 0 0 0.1rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--burgundy);
}

.offering-receipt-donor-detail {
    margin: 0;
    color: rgba(45, 11, 17, 0.7);
    font-size: 0.88rem;
    line-height: 1.35;
}

.offering-receipt-table {
    width: 100%;
    border-collapse: collapse;
}

.offering-receipt-table th,
.offering-receipt-table td {
    padding: 0.45rem 0.35rem;
    border-bottom: 1px solid rgba(201, 166, 70, 0.2);
    vertical-align: top;
    font-size: 0.9rem;
    line-height: 1.35;
}

.offering-receipt-table thead th {
    font-family: Cinzel, serif;
    font-size: 0.68rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--burgundy);
    border-bottom: 2px solid rgba(201, 166, 70, 0.4);
    padding-top: 0.25rem;
    padding-bottom: 0.4rem;
}

.offering-receipt-table tbody td:last-child,
.offering-receipt-table tfoot th:last-child {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.offering-receipt-table tfoot th {
    font-family: Cinzel, serif;
    font-size: 0.95rem;
    color: var(--burgundy);
    border-bottom: 0;
    padding-top: 0.55rem;
    background: linear-gradient(180deg, rgba(247, 243, 236, 0.4) 0%, transparent 100%);
}

.offering-receipt-notes {
    margin: 0 0 0.55rem;
    padding: 0.45rem 0.65rem;
    background: rgba(247, 243, 236, 0.7);
    border-radius: 0.35rem;
    color: var(--text-body);
    font-size: 0.85rem;
}

.offering-receipt-blessing {
    margin: 0.55rem 0 0;
    text-align: center;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 0.98rem;
    font-style: italic;
    line-height: 1.35;
    color: rgba(45, 11, 17, 0.72);
}

.offering-receipt-contact {
    margin-top: 0.75rem;
    padding-top: 0.65rem;
    border-top: 1px solid rgba(201, 166, 70, 0.3);
}

.offering-receipt-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem 1.25rem;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(45, 11, 17, 0.78);
    line-height: 1.4;
}

.offering-receipt-contact-title {
    margin: 0 0 0.2rem;
    font-family: Cinzel, serif;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--burgundy);
}

.offering-receipt-contact a {
    color: var(--burgundy);
    text-decoration: none;
}

.offering-receipt-contact a:hover,
.offering-receipt-contact a:focus {
    color: var(--gold-dark);
}

.receipt-unavailable {
    max-width: 36rem;
    margin: 2rem auto;
}

@media (max-width: 575px) {
    .offering-receipt {
        padding: 1rem 0.9rem 0.9rem;
    }

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

    .offering-receipt-title-row {
        flex-wrap: wrap;
    }

    .offering-receipt-logo {
        width: 3.1rem;
        height: 3.1rem;
    }
}

@media print {
    @page {
        size: A4;
        margin: 10mm;
    }

    .site-header,
    .site-navbar,
    .site-topbar,
    .news-ticker,
    .site-footer,
    .page-hero,
    .scroll-to-top,
    .no-print,
    .offering-receipt-actions {
        display: none !important;
    }

    body.page-offering-receipt {
        background: #fff !important;
    }

    body.page-offering-receipt .receipt-page-section {
        padding: 0 !important;
    }

    .receipt-page-inner {
        max-width: none;
    }

    .offering-receipt {
        box-shadow: none !important;
        border: 0 !important;
        border-radius: 0 !important;
        padding: 0 !important;
        min-height: auto;
    }

    .offering-receipt-accent {
        display: none;
    }

    .offering-receipt-header {
        margin-top: 8mm;
        margin-bottom: 0.55rem;
        padding-bottom: 0.45rem;
    }

    .offering-receipt-logo {
        width: 2.75rem;
        height: 2.75rem;
        box-shadow: none;
        margin-top: 2mm;
    }

    .offering-receipt-church-name {
        font-size: 14pt;
    }

    .offering-receipt-church-place {
        font-size: 10pt;
    }

    .offering-receipt-header h1 {
        font-size: 11pt;
    }

    .offering-receipt-meta {
        gap: 0.35rem;
        margin-bottom: 0.5rem;
    }

    .offering-receipt-meta-item {
        padding: 0.3rem 0.45rem;
    }

    .offering-receipt-donor {
        margin-bottom: 0.5rem;
        padding: 0.4rem 0.55rem;
    }

    .offering-receipt-items {
        margin-bottom: 0.35rem;
    }

    .offering-receipt-table th,
    .offering-receipt-table td {
        padding: 0.28rem 0.25rem;
        font-size: 9.5pt;
    }

    .offering-receipt-blessing {
        margin-top: 0.4rem;
        font-size: 10pt;
    }

    .offering-receipt-contact {
        margin-top: 0.5rem;
        padding-top: 0.45rem;
    }

    .offering-receipt-contact-grid {
        font-size: 8.5pt;
        gap: 0.4rem 1rem;
    }

    .offering-receipt-accent,
    .offering-receipt-logo,
    .offering-receipt-paid-badge,
    .offering-receipt-meta-item {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}

.offering-cart-card:has(.offering-cart-list li:not(.text-muted)) {
    box-shadow: 0 8px 24px rgba(45, 11, 17, 0.08);
}

.offering-cart-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.offering-cart-list li {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(201, 166, 70, 0.18);
    font-size: 0.95rem;
}

.offering-cart-list li span {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.offering-cart-meta {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 0.45rem;
    flex-shrink: 0;
}

.offering-cart-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.55rem;
    height: 1.55rem;
    padding: 0;
    border: 1px solid rgba(107, 29, 42, 0.25);
    border-radius: 999px;
    background: #fff;
    color: var(--burgundy);
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.offering-cart-remove:hover,
.offering-cart-remove:focus {
    background: var(--burgundy);
    border-color: var(--burgundy);
    color: #fff;
}

.offering-cart-names {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.35;
}

.offering-cart-incomplete strong {
    color: var(--burgundy-light);
    font-weight: 500;
    font-size: 0.85rem;
}

.offering-cart-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(201, 166, 70, 0.28);
    font-family: Cinzel, serif;
    color: var(--burgundy);
}

.offering-payment-notice {
    margin-bottom: 0.85rem;
    padding: 0.75rem 0.9rem;
    border: 1px solid rgba(166, 124, 40, 0.45);
    border-left: 3px solid var(--gold-dark);
    border-radius: 0.35rem;
    background: rgba(201, 166, 70, 0.12);
    color: var(--text-body);
    font-size: 0.9rem;
    line-height: 1.45;
}

.offering-payment-notice strong {
    color: var(--burgundy);
}

.offering-checkout-jump {
    position: fixed;
    left: 50%;
    bottom: 1.25rem;
    z-index: 1040;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    max-width: calc(100vw - 5.5rem);
    padding: 0.7rem 1.15rem;
    border: 1px solid rgba(201, 166, 70, 0.65);
    border-radius: 999px;
    background: linear-gradient(165deg, var(--burgundy-light) 0%, var(--burgundy) 100%);
    color: #fff;
    font-family: Cinzel, serif;
    font-size: 0.92rem;
    letter-spacing: 0.03em;
    box-shadow: 0 10px 28px rgba(45, 11, 17, 0.3);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 14px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, border-color 0.2s ease, background 0.2s ease;
}

.offering-checkout-jump.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.offering-checkout-jump:hover,
.offering-checkout-jump:focus-visible {
    border-color: var(--gold-light);
    background: linear-gradient(165deg, var(--burgundy) 0%, var(--burgundy-dark) 100%);
    color: #fff;
}

.offering-checkout-jump:focus-visible {
    outline: 2px solid var(--gold-light);
    outline-offset: 3px;
}

.offering-checkout-jump-total {
    padding-left: 0.65rem;
    border-left: 1px solid rgba(255, 255, 255, 0.28);
    color: var(--gold-light);
    font-weight: 600;
    white-space: nowrap;
}

.offering-checkout-jump-total:empty {
    display: none;
}

/* ── Admin shell ── */

.admin-body {
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(201, 166, 70, 0.12), transparent 55%),
        linear-gradient(180deg, #faf7f2 0%, #f3eee6 48%, #efe8de 100%);
    color: var(--burgundy);
    min-height: 100vh;
}

.admin-body::before {
    display: none;
}

.admin-topbar {
    background: linear-gradient(165deg, #0c0203 0%, var(--burgundy-dark) 42%, var(--burgundy) 100%);
    color: var(--text-on-dark);
    border-bottom: 3px solid var(--gold);
    box-shadow: 0 8px 24px rgba(22, 5, 7, 0.28);
}

.admin-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}

.admin-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
    min-width: 0;
}

.admin-brand:hover {
    color: var(--gold-light);
}

.admin-brand-logo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(201, 166, 70, 0.55);
    box-shadow: 0 0 0 3px rgba(201, 166, 70, 0.12);
    flex-shrink: 0;
}

.admin-brand-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.15;
}

.admin-brand-name {
    font-family: Cinzel, serif;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
    color: var(--cream);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-brand-meta {
    margin-top: 0.15rem;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-light);
}

.admin-topbar-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.45rem;
}

.admin-action-link,
.admin-action-logout {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.admin-action-link {
    color: var(--text-muted-on-dark);
    border: 1px solid rgba(216, 201, 184, 0.28);
    background: rgba(255, 255, 255, 0.04);
}

.admin-action-link:hover,
.admin-action-link.is-active {
    color: var(--cream);
    border-color: rgba(201, 166, 70, 0.55);
    background: rgba(201, 166, 70, 0.12);
}

.admin-action-logout {
    color: var(--burgundy-dark);
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border: 1px solid var(--gold-dark);
    font-family: Cinzel, serif;
    letter-spacing: 0.03em;
}

.admin-action-logout:hover {
    color: var(--burgundy-dark);
    background: linear-gradient(135deg, var(--gold-light), #e8cc7a);
}

.admin-nav {
    position: sticky;
    top: 0;
    z-index: 1020;
    background: linear-gradient(180deg, #fffdfa 0%, var(--cream) 100%);
    border-bottom: 1px solid rgba(45, 11, 17, 0.1);
    box-shadow: 0 4px 14px rgba(45, 11, 17, 0.06);
    margin-bottom: 1.75rem;
}

.admin-nav-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 0;
    overflow-x: auto;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.admin-nav-group {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
}

.admin-nav-divider {
    width: 1px;
    height: 1.4rem;
    background: linear-gradient(180deg, transparent, rgba(168, 134, 47, 0.55), transparent);
    flex-shrink: 0;
}

.admin-nav-link {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    text-decoration: none;
    color: var(--burgundy-dark);
    font-family: Cinzel, serif;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    border: 1px solid rgba(201, 166, 70, 0.35);
    background: rgba(201, 166, 70, 0.14);
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-nav-link:hover {
    color: var(--burgundy-dark);
    background: rgba(201, 166, 70, 0.24);
    border-color: rgba(201, 166, 70, 0.55);
}

.admin-nav-link.is-active {
    color: var(--burgundy-dark);
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-color: var(--gold-dark);
    box-shadow: 0 2px 8px rgba(168, 134, 47, 0.28);
}

.admin-export-excel,
.admin-export-pdf {
    font-weight: 500;
    border-width: 1px;
}

.admin-export-excel {
    color: #fff;
    background-color: #198754;
    border-color: #198754;
}

.admin-export-excel:hover,
.admin-export-excel:focus {
    color: #fff;
    background-color: #157347;
    border-color: #146c43;
}

.admin-export-pdf {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

.admin-export-pdf:hover,
.admin-export-pdf:focus {
    color: #fff;
    background-color: #bb2d3b;
    border-color: #b02a37;
}

.admin-card {
    background: #fff;
    border: 1px solid rgba(45, 11, 17, 0.08);
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 6px 20px rgba(45, 11, 17, 0.05);
}

.paid-names-report {
    padding: 1.35rem 1.5rem 1.5rem;
}

.paid-names-report-header {
    margin-bottom: 1.15rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(201, 166, 70, 0.35);
}

.paid-names-grid {
    column-count: 3;
    column-gap: 1.75rem;
    margin: 0;
    padding-left: 1.35rem;
}

.paid-names-grid li {
    break-inside: avoid;
    margin: 0 0 0.4rem;
    padding-left: 0.2rem;
    line-height: 1.4;
}

@media (max-width: 900px) {
    .paid-names-grid {
        column-count: 2;
    }
}

@media (max-width: 575px) {
    .paid-names-grid {
        column-count: 1;
    }
}

.admin-body .container > .h3,
.admin-body .container h1.h3 {
    color: var(--burgundy);
}

@media (max-width: 767.98px) {
    .admin-topbar-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-topbar-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .admin-brand-name {
        white-space: normal;
        font-size: 0.98rem;
    }

    .admin-nav {
        margin-bottom: 1.25rem;
    }

    .admin-nav-row {
        padding-top: 0.55rem;
        padding-bottom: 0.55rem;
    }
}

@media (max-width: 991px) {
    .topbar-left .topbar-sep {
        display: none;
    }

    .topbar-left {
        flex: 1 1 auto;
        min-width: 0;
        gap: 0.35rem 0.55rem;
    }

    .topbar-mass {
        font-size: 0.8rem;
        flex: 1 1 auto;
        min-width: 0;
    }

    .topbar-right a:not(.topbar-link-whatsapp) {
        display: inline-flex;
    }

    .topbar-right {
        flex-direction: column;
        align-items: flex-end;
        justify-content: center;
        gap: 0.35rem;
        flex-wrap: nowrap;
        flex-shrink: 0;
    }

    .topbar-social {
        gap: 0.35rem;
    }

    .topbar-inner {
        justify-content: space-between;
        align-items: center;
        gap: 0.75rem;
    }

    .brand-text {
        display: flex;
    }

    .brand-title {
        font-size: 0.92rem;
        letter-spacing: 0.03em;
        white-space: normal;
        line-height: 1.2;
    }

    .brand-subtitle {
        font-size: 0.68rem;
        letter-spacing: 0.08em;
    }

    .navbar-logo {
        width: 44px;
        height: 44px;
    }

    .site-navbar .navbar-collapse {
        background: #fffdfa;
        margin-top: 0.75rem;
        padding: 0.75rem 1rem 1rem;
        border-radius: 0.65rem;
        border: 1px solid rgba(201, 166, 70, 0.35);
        box-shadow: 0 6px 18px rgba(45, 11, 17, 0.08);
    }

    .site-navbar .nav-link {
        color: var(--burgundy) !important;
        font-size: 1.1rem;
        padding-top: 0.55rem;
        padding-bottom: 0.55rem;
    }

    .page-hero {
        padding: 3rem 0 2rem;
    }

    .hero-home {
        padding: 3.5rem 0 2.5rem;
    }

    .hero-carousel-overlay {
        padding: 5.5rem 0 2rem;
    }

    .hero-welcome {
        padding: 1.25rem 2.5rem 1.2rem 1.35rem;
        border-radius: 0.65rem 0 0 0.65rem;
    }

    .hero-welcome-title {
        font-size: 1.65rem;
    }

    .hero-welcome-desc {
        font-size: 1rem;
    }

    .home-mass-bar-inner {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .home-mass-bar-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-mass-bar-slot-sunday {
        grid-column: 1 / -1;
    }

    .home-mass-bar-footer {
        justify-content: stretch;
    }

    .home-mass-bar-btn {
        width: 100%;
    }
}

@media (max-width: 400px) {
    .brand-title {
        font-size: 0.82rem;
    }

    .brand-subtitle {
        display: block;
        font-size: 0.62rem;
        letter-spacing: 0.06em;
    }
}

@media (max-width: 767.98px) {
    .hero-carousel {
        min-height: 0;
        height: clamp(380px, 58vh, 520px);
    }

    .hero-carousel #homeCarousel,
    .hero-carousel .carousel-inner,
    .hero-carousel .carousel-item {
        height: 100%;
    }

    .hero-carousel-img {
        min-height: 0;
        height: 100%;
        width: 100%;
        object-fit: cover;
        object-position: center center;
        transform: none !important;
        transition: none;
    }

    .hero-carousel .carousel-item.active .hero-carousel-img {
        transform: none !important;
    }

    /* Keep primary subjects in frame on narrow viewports (wide source images) */
    .hero-carousel-img-church {
        object-position: 28% center;
    }

    .hero-carousel-img-tomb {
        object-position: center center;
    }

    .hero-carousel-img-portrait {
        object-position: 30% center;
    }

    .hero-carousel-img-portrait-right {
        object-position: 68% center;
    }

    .hero-carousel-overlay {
        padding: 5rem 0 1.75rem;
        align-items: flex-end;
    }

    .hero-welcome {
        max-width: none;
        padding: 1.15rem 2rem 1.1rem 1.2rem;
        border-radius: 0.6rem 0 0 0.6rem;
    }

    .hero-welcome-title {
        font-size: 1.5rem;
    }

    .hero-welcome-location {
        font-size: 0.88rem;
        letter-spacing: 0.14em;
    }

    .hero-welcome-desc {
        font-size: 0.98rem;
        margin-bottom: 1.15rem;
    }

    .hero-welcome-actions .btn {
        flex: 1 1 auto;
        text-align: center;
    }

    .home-parish-section {
        padding: 3rem 0;
    }

    .home-parish-card {
        padding: 1.25rem 1.2rem 1.15rem;
    }

    .home-parish-card h3 {
        font-size: 1.05rem;
    }

    .home-parish-card p {
        font-size: 0.9rem;
    }

    .home-parish-tag {
        font-size: 0.74rem;
    }

    .home-parish-cta {
        font-size: 0.8rem;
        margin-top: 0.95rem;
        padding-top: 0.75rem;
    }

    .home-mass-bar {
        padding: 1.35rem 0;
    }

    .home-mass-bar-logo-watermark {
        width: min(70vw, 280px);
        opacity: 0.03;
    }

    .home-mass-bar-panel {
        padding: 1.05rem 1rem;
    }

    .home-mass-bar-heading {
        gap: 0.6rem;
    }

    .home-mass-bar-badge {
        margin-left: 0;
        order: 3;
        width: 100%;
        text-align: center;
    }

    .home-mass-bar-grid {
        grid-template-columns: 1fr;
    }

    .home-mass-bar-slot {
        min-height: 0;
    }

    .home-mass-bar-slot-sunday {
        grid-column: auto;
    }

    .home-mass-bar-sunday-sep {
        display: none;
    }

    .home-mass-bar-sunday-time {
        font-size: 0.88rem;
        padding: 0.26rem 0.52rem;
    }

    .home-mass-bar-pill {
        font-size: 0.76rem;
        padding: 0.2rem 0.52rem;
    }

    .home-patron-section {
        padding: 3rem 0;
    }

    .home-patron-logo-watermark {
        width: min(90vw, 360px);
        opacity: 0.05;
    }

    .home-verse-section {
        padding: 3rem 0;
    }

    .home-verse-logo-watermark {
        width: min(92vw, 420px);
        opacity: 0.03;
    }

    .home-verse-inner {
        padding: 1.65rem 1.35rem 1.5rem;
    }

    .home-verse-section .verse-quote {
        font-size: 1.25rem;
    }

    .home-patron-highlight {
        flex: 1 1 calc(50% - 0.35rem);
    }

    .home-patron-highlight:last-child {
        flex: 1 1 100%;
    }

    .home-patron-img {
        height: 240px;
    }

    .home-patron-highlight {
        height: 240px;
    }

    .home-gallery-slide {
        height: clamp(220px, 55vw, 360px);
    }

    .home-gallery-slide-title {
        font-size: 0.95rem;
    }

    .home-gallery-control.carousel-control-prev {
        left: 0.5rem;
    }

    .home-gallery-control.carousel-control-next {
        right: 0.5rem;
    }

    .home-gallery-control-icon {
        width: 2.15rem;
        height: 2.15rem;
        font-size: 1.5rem;
    }

    .home-gallery-thumb {
        width: 3.75rem;
        height: 2.75rem;
    }

    .home-cta-band {
        padding: 2.5rem 0;
    }

    .footer-main {
        padding: 2.75rem 0 2.25rem;
    }

    .footer-brand {
        gap: 0.75rem;
    }

    .footer-logo {
        width: 56px;
        height: 56px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-mass-time {
        min-width: 4.1rem;
    }

    .scroll-to-top {
        right: 1rem;
        bottom: 1rem;
        width: 2.65rem;
        height: 2.65rem;
    }

    .offering-checkout-jump {
        bottom: 1rem;
        max-width: calc(100vw - 5rem);
        padding: 0.65rem 1rem;
        font-size: 0.86rem;
    }

    .hero-carousel-control {
        display: none;
    }
}

/* ── 360° Virtual Tour ── */

.virtual-tour-thumb {
    display: flex;
    align-items: stretch;
    width: 100%;
    padding: 0;
    border: 1px solid rgba(45, 11, 17, 0.12);
    border-radius: 0.75rem;
    background: #fff;
    text-align: left;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.virtual-tour-thumb:hover,
.virtual-tour-thumb:focus-visible {
    border-color: rgba(201, 166, 70, 0.65);
    box-shadow: 0 10px 28px rgba(45, 11, 17, 0.12);
    transform: translateY(-2px);
    outline: none;
}

.virtual-tour-thumb.is-active {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(201, 166, 70, 0.35), 0 12px 28px rgba(45, 11, 17, 0.14);
}

.virtual-tour-thumb-img {
    flex: 0 0 42%;
    min-height: 8.5rem;
    overflow: hidden;
}

.virtual-tour-thumb-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.virtual-tour-thumb-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.2rem;
    padding: 1rem 1.15rem;
}

.virtual-tour-thumb-label {
    color: var(--burgundy);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.virtual-tour-thumb-title {
    font-family: Cinzel, serif;
    font-size: 1.15rem;
    color: var(--burgundy-dark);
    line-height: 1.25;
}

.virtual-tour-thumb-sub {
    color: rgba(45, 11, 17, 0.65);
    font-size: 0.92rem;
}

.virtual-tour-viewer {
    scroll-margin-top: 7.5rem;
}

.virtual-tour-viewer-header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem 1.25rem;
    margin-bottom: 1rem;
}

.virtual-tour-viewer-hint {
    color: rgba(45, 11, 17, 0.55);
    font-size: 0.9rem;
}

.virtual-tour-frame-wrap {
    position: relative;
    width: 100%;
    border-radius: 0.55rem;
    overflow: hidden;
    background: #1a0a0d;
    box-shadow: inset 0 0 0 1px rgba(201, 166, 70, 0.2);
}

/* Cover Kuula free-plan brand mark with a shade + church logo. */
.virtual-tour-brand-shade {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5.75rem;
    height: 3.75rem;
    background: linear-gradient(135deg, rgba(12, 2, 3, 0.96) 0%, rgba(12, 2, 3, 0.88) 70%, rgba(12, 2, 3, 0.55) 100%);
    pointer-events: none;
}

.virtual-tour-brand-cover {
    width: 3.1rem;
    height: 3.1rem;
    object-fit: contain;
    border-radius: 50%;
    background: #fff;
    padding: 0.28rem;
    border: 2px solid rgba(201, 166, 70, 0.55);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.virtual-tour-frame-wrap iframe {
    display: block;
    width: 100%;
    height: 640px;
    border: 0;
    background: #1a0a0d;
}

@media (max-width: 767px) {
    .virtual-tour-thumb {
        flex-direction: column;
    }

    .virtual-tour-thumb-img {
        flex-basis: auto;
        height: 10rem;
    }

    .virtual-tour-frame-wrap iframe {
        height: min(70vh, 520px);
    }

    .topbar-tour-link {
        padding: 0.15rem 0.5rem;
        font-size: 0.8rem;
    }
}

/* ── Ceremony website launch page ── */

body.page-launch {
    background: #0c0203;
}

body.page-launch #main-content {
    min-height: 100vh;
    padding: 0;
}

.site-launch {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--text-on-dark);
    text-align: center;
}

.site-launch-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.site-launch-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.06);
    animation: site-launch-ken 22s ease-in-out infinite alternate;
}

.site-launch-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(12, 2, 3, 0.72) 0%, rgba(45, 11, 17, 0.55) 42%, rgba(12, 2, 3, 0.88) 100%),
        radial-gradient(ellipse at 50% 20%, rgba(201, 166, 70, 0.18) 0%, transparent 55%);
}

.site-launch-glow {
    position: absolute;
    inset: 18% 10% auto;
    height: 40%;
    background: radial-gradient(ellipse at center, rgba(215, 180, 93, 0.16) 0%, transparent 70%);
    pointer-events: none;
    animation: site-launch-glow 5.5s ease-in-out infinite;
}

.site-launch-inner {
    position: relative;
    z-index: 1;
    width: min(40rem, calc(100% - 2.5rem));
    padding: 2.25rem 1.5rem 2.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    background:
        radial-gradient(ellipse at 50% 45%, rgba(8, 1, 2, 0.78) 0%, rgba(12, 2, 3, 0.62) 52%, rgba(12, 2, 3, 0) 78%);
}

.site-launch-logo {
    width: clamp(5.5rem, 14vw, 7.5rem);
    height: auto;
    margin-bottom: 1.1rem;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.45));
    animation: site-launch-rise 1s ease both;
}

.site-launch-brand {
    margin: 0;
    font-family: Cinzel, serif;
    font-size: clamp(1.55rem, 4.8vw, 2.55rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.2;
    color: #fff;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
    animation: site-launch-rise 1s ease 0.12s both;
}

.site-launch-place {
    margin: 0.35rem 0 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(1.05rem, 2.6vw, 1.35rem);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-light);
    animation: site-launch-rise 1s ease 0.2s both;
}

.site-launch-rule {
    width: 4.5rem;
    height: 2px;
    margin: 1.35rem 0 1.15rem;
    background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
    animation: site-launch-rise 1s ease 0.28s both;
}

.site-launch-title {
    margin: 0;
    font-family: Cinzel, serif;
    font-size: clamp(1.15rem, 3.2vw, 1.65rem);
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-light);
    animation: site-launch-rise 1s ease 0.36s both;
}

.site-launch-date {
    margin: 0.7rem 0 0;
    max-width: 28rem;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(1.05rem, 2.6vw, 1.25rem);
    letter-spacing: 0.04em;
    line-height: 1.4;
    color: rgba(247, 243, 236, 0.92);
    animation: site-launch-rise 1s ease 0.4s both;
}

.site-launch-date-sep {
    margin: 0 0.35em;
    opacity: 0.65;
}

.site-launch-inauguration {
    margin: 0.85rem 0 0;
    max-width: 28rem;
    animation: site-launch-rise 1s ease 0.44s both;
}

.site-launch-lead {
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(1.05rem, 2.6vw, 1.25rem);
    font-style: italic;
    line-height: 1.4;
    color: rgba(247, 243, 236, 0.82);
}

.site-launch-dignitary {
    margin: 0.55rem 0 0;
    font-family: Cinzel, serif;
    font-size: clamp(1.1rem, 2.8vw, 1.35rem);
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.3;
    color: var(--gold-light);
}

.site-launch-role {
    margin: 0.3rem 0 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(0.95rem, 2.2vw, 1.1rem);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(247, 243, 236, 0.72);
}

.site-launch-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
    min-width: min(18rem, 100%);
    min-height: 3.6rem;
    padding: 0.95rem 2.4rem;
    border: 1px solid rgba(215, 180, 93, 0.85);
    border-radius: 0.35rem;
    background: linear-gradient(165deg, var(--gold-light) 0%, var(--gold) 48%, var(--gold-dark) 100%);
    color: #1a0a0d;
    font-family: Cinzel, serif;
    font-size: clamp(1rem, 2.4vw, 1.2rem);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-decoration: none;
    text-transform: uppercase;
    box-shadow:
        0 0 0 0 rgba(215, 180, 93, 0.35),
        0 12px 32px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
    animation:
        site-launch-rise 1s ease 0.55s both,
        site-launch-pulse 2.8s ease-in-out 1.6s infinite;
}

.site-launch-btn:hover,
.site-launch-btn:focus {
    color: #0c0203;
    filter: brightness(1.06);
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
    animation-play-state: paused;
}

.site-launch-btn:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

@keyframes site-launch-rise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes site-launch-ken {
    from { transform: scale(1.04); }
    to { transform: scale(1.1); }
}

@keyframes site-launch-glow {
    0%, 100% { opacity: 0.55; }
    50% { opacity: 1; }
}

@keyframes site-launch-pulse {
    0%, 100% {
        box-shadow:
            0 0 0 0 rgba(215, 180, 93, 0.35),
            0 12px 32px rgba(0, 0, 0, 0.35);
    }
    50% {
        box-shadow:
            0 0 0 12px rgba(215, 180, 93, 0),
            0 12px 32px rgba(0, 0, 0, 0.35);
    }
}

@media (max-width: 575px) {
    .site-launch-inner {
        padding-top: 1.5rem;
        padding-bottom: 2rem;
    }

    .site-launch-btn {
        width: 100%;
        min-height: 3.35rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-launch-bg-img,
    .site-launch-glow,
    .site-launch-logo,
    .site-launch-brand,
    .site-launch-place,
    .site-launch-rule,
    .site-launch-title,
    .site-launch-date,
    .site-launch-inauguration,
    .site-launch-btn {
        animation: none !important;
    }

    .site-launch-bg-img {
        transform: none;
    }
}
