﻿body.about-page {
    --about-primary-bg: #1A1A1A;
    --about-secondary-bg: #222222;
    --about-tertiary-bg: #2B2B2B;
    --about-text-main: #FFFFFF;
    --about-text-muted: #E0E0E0;
    --about-accent-gold: #FFC107;
    --about-font-display: 'Montserrat', sans-serif;
    --about-font-body: 'Lora', serif;
    background: var(--about-primary-bg);
    color: var(--about-text-muted);
}

    body.about-page .site-main {
        background: var(--about-primary-bg);
        padding: 0;
    }

/* HERO */

.about-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-bottom: 4px solid var(--about-accent-gold);
    overflow: hidden;
}

.about-hero--parish {
    background-image: url('/img/About/Killyclogher.jpg');
}

.about-hero--safeguarding,
.about-hero--contact {
    height: 320px;
    min-height: 320px;
    background-image: none;
    background-color: var(--about-primary-bg);
}

.about-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(26,26,26,.4), var(--about-primary-bg));
}

.about-hero--safeguarding::after,
.about-hero--contact::after {
    background: radial-gradient(circle at center, rgba(255, 193, 7, .08), transparent 45%);
}

.about-hero__content {
    position: relative;
    z-index: 2;
    padding: 0 2rem;
    max-width: 100%;
}

.about-tag {
    display: inline-block;
    margin-bottom: 1.5rem;
    padding: .5rem 1.2rem;
    background: rgba(26,26,26,.95);
    border: 2px solid var(--about-accent-gold);
    color: var(--about-accent-gold);
    font-family: var(--about-font-display);
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-hero h1 {
    margin: 0;
    color: var(--about-text-main);
    font-family: var(--about-font-display);
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.1;
    text-shadow: 2px 2px 15px rgba(0,0,0,.8);
}

.about-subtitle {
    margin-top: 1rem;
    color: var(--about-text-main);
    font-family: var(--about-font-body);
    font-size: 1.4rem;
    font-style: italic;
    opacity: .9;
}

/* GENERAL CONTENT */

.about-content-section {
    width: 100%;
    background: var(--about-primary-bg);
    padding: 6rem 0;
}

.about-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-intro {
    max-width: 900px;
    margin: 0 auto 6rem;
    text-align: center;
}

    .about-intro p,
    .about-split-content p,
    .about-church-details p {
        color: var(--about-text-muted);
        font-family: var(--about-font-body);
        font-size: 1.25rem;
        line-height: 1.9;
        letter-spacing: .2px;
    }

    .about-intro p {
        font-size: 1.4rem;
    }

.about-highlight {
    color: var(--about-accent-gold);
    font-style: italic;
}

/* PARISH PAGE */

.about-split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    margin-bottom: 8rem;
}

.about-split-content h2 {
    margin-bottom: 1.5rem;
    color: var(--about-accent-gold);
    font-family: var(--about-font-display);
    font-size: 2.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-split-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border: 1px solid var(--about-tertiary-bg);
    box-shadow: 0 10px 30px rgba(0,0,0,.5);
}

.about-churches-section {
    padding: 6rem 0;
}

.about-section-header {
    margin-bottom: 4rem;
    text-align: center;
}

    .about-section-header h2 {
        display: inline-block;
        margin: 0;
        padding-bottom: .5rem;
        border-bottom: 3px solid var(--about-accent-gold);
        color: var(--about-text-main);
        font-family: var(--about-font-display);
        font-size: 2.5rem;
        text-transform: uppercase;
        letter-spacing: 2px;
    }

.about-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
}

.about-church-card {
    background: var(--about-secondary-bg);
    border: 1px solid var(--about-tertiary-bg);
    transition: transform .4s ease, border-color .4s ease;
}

    .about-church-card:hover {
        border-color: var(--about-accent-gold);
        transform: translateY(-8px);
    }

.about-church-image-wrap {
    height: 250px;
    overflow: hidden;
}

.about-church-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.about-church-card:hover .about-church-image {
    transform: scale(1.1);
}

.about-church-details {
    padding: 2.5rem;
}

    .about-church-details h3 {
        margin: 0 0 .5rem;
        color: var(--about-text-main);
        font-family: var(--about-font-display);
        font-size: 1.5rem;
        text-transform: uppercase;
        letter-spacing: 2px;
    }

.about-church-location {
    display: block;
    margin-bottom: 1.5rem;
    color: var(--about-accent-gold);
    font-family: var(--about-font-body);
    font-size: 1.1rem;
    font-style: italic;
}

.about-church-details p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.6;
}

.about-est-date {
    display: block;
    padding-top: 1rem;
    border-top: 1px solid var(--about-tertiary-bg);
    color: var(--about-text-main);
    font-family: var(--about-font-display);
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: .7;
}

.about-quote-section {
    background: var(--about-secondary-bg);
    padding: 6rem 2rem;
    text-align: center;
    border-top: 4px solid var(--about-accent-gold);
}

    .about-quote-section p {
        max-width: 900px;
        margin: 0 auto 1.5rem;
        color: var(--about-accent-gold);
        font-family: var(--about-font-body);
        font-size: 2rem;
        font-style: italic;
        line-height: 1.6;
    }

    .about-quote-section span {
        color: var(--about-text-main);
        font-family: var(--about-font-display);
        font-size: 1rem;
        text-transform: uppercase;
        letter-spacing: 2px;
        opacity: .8;
    }

/* SAFEGUARDING */

.safeguarding-inner {
    max-width: 1100px;
}

.safeguarding-notice-card {
    background: var(--about-secondary-bg);
    border: 1px solid var(--about-tertiary-bg);
    border-left: 6px solid var(--about-accent-gold);
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,.45);
}

.safeguarding-label {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--about-accent-gold);
    font-family: var(--about-font-display);
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.safeguarding-notice-card h2,
.safeguarding-region-card h2,
.safeguarding-primary-contact h3 {
    margin: 0 0 1.25rem;
    color: var(--about-text-main);
    font-family: var(--about-font-display);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.safeguarding-notice-card p,
.safeguarding-note {
    color: var(--about-text-muted);
    font-family: var(--about-font-body);
    font-size: 1.25rem;
    line-height: 1.8;
}

.safeguarding-primary-contact {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--about-primary-bg);
    border: 1px solid var(--about-tertiary-bg);
}

    .safeguarding-primary-contact h3 {
        color: var(--about-accent-gold);
        font-size: 1rem;
    }

.safeguarding-contact-name {
    margin-bottom: 1.5rem;
    color: var(--about-text-main);
    font-family: var(--about-font-body);
    font-size: 1.5rem;
    font-weight: 700;
}

.safeguarding-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.safeguarding-action-button {
    display: inline-block;
    padding: .85rem 1.25rem;
    border: 2px solid var(--about-accent-gold);
    color: var(--about-accent-gold);
    font-family: var(--about-font-display);
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: background .25s ease, color .25s ease;
}

    .safeguarding-action-button:hover {
        background: var(--about-accent-gold);
        color: var(--about-primary-bg);
    }

.safeguarding-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.safeguarding-region-card {
    background: var(--about-secondary-bg);
    border: 1px solid var(--about-tertiary-bg);
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

    .safeguarding-region-card h2 {
        color: var(--about-accent-gold);
        font-size: 1.4rem;
    }

.safeguarding-contact-row {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--about-tertiary-bg);
    color: var(--about-text-muted);
    font-family: var(--about-font-body);
    font-size: 1.05rem;
}

    .safeguarding-contact-row span {
        color: var(--about-text-muted);
    }

    .safeguarding-contact-row a {
        color: var(--about-accent-gold);
        font-family: var(--about-font-display);
        font-size: .9rem;
        font-weight: 700;
        text-decoration: none;
        white-space: nowrap;
    }

        .safeguarding-contact-row a:hover {
            text-decoration: underline;
        }

.safeguarding-note {
    margin-top: 1.5rem;
    font-size: 1rem;
    font-style: italic;
}

/* CONTACT */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.contact-card {
    background: var(--about-secondary-bg);
    border: 1px solid var(--about-tertiary-bg);
    border-left: 5px solid var(--about-accent-gold);
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,.45);
}

    .contact-card h2 {
        margin: 0 0 2rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid var(--about-tertiary-bg);
        color: var(--about-accent-gold);
        font-family: var(--about-font-display);
        font-size: 1.7rem;
        text-transform: uppercase;
        letter-spacing: 2px;
    }

.contact-person {
    margin-bottom: 2.5rem;
}

.contact-role,
.contact-label {
    display: block;
    margin-bottom: .5rem;
    color: var(--about-accent-gold);
    font-family: var(--about-font-display);
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contact-person h3 {
    margin: 0 0 1rem;
    color: var(--about-text-main);
    font-family: var(--about-font-body);
    font-size: 1.6rem;
    font-weight: 600;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

    .contact-links a {
        color: var(--about-text-main);
        font-family: var(--about-font-body);
        font-size: 1.15rem;
        text-decoration: none;
        transition: color .25s ease;
        overflow-wrap: anywhere;
    }

        .contact-links a:hover {
            color: var(--about-accent-gold);
        }

.contact-detail-block {
    margin-bottom: 2.5rem;
}

    .contact-detail-block p {
        margin: 0;
        color: var(--about-text-muted);
        font-family: var(--about-font-body);
        font-size: 1.2rem;
        line-height: 1.8;
    }

.contact-muted {
    margin-top: .75rem !important;
    opacity: .7;
    font-size: 1rem !important;
}

.contact-map-section {
    height: 500px;
    overflow: hidden;
    border: 1px solid var(--about-tertiary-bg);
    box-shadow: 0 10px 30px rgba(0,0,0,.5);
}

    .contact-map-section iframe {
        filter: grayscale(100%) invert(92%) contrast(83%);
    }

/* TABLET */

@media (max-width: 900px) {
    .about-hero {
        height: 50vh;
        min-height: 380px;
    }

        .about-hero h1 {
            font-size: 2.8rem;
        }

    .about-subtitle {
        font-size: 1.15rem;
    }

    .about-split-section {
        grid-template-columns: 1fr;
        gap: 3rem;
        margin-bottom: 5rem;
    }

        .about-split-section:nth-of-type(3) .about-split-image {
            order: -1;
        }

    .about-split-image {
        height: 300px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
    }

    .contact-grid,
    .safeguarding-grid {
        grid-template-columns: 1fr;
    }

    .contact-card,
    .safeguarding-notice-card,
    .safeguarding-region-card {
        padding: 2rem;
    }

    .about-hero--safeguarding,
    .about-hero--contact {
        height: 260px;
        min-height: 260px;
    }

    .contact-map-section {
        height: 380px;
    }

    .safeguarding-contact-row {
        display: block;
    }

        .safeguarding-contact-row a {
            display: block;
            margin-top: .35rem;
        }
}

/* MOBILE */

@media (max-width: 600px) {
    .about-content-section {
        padding: 3rem 0;
    }

    .about-inner {
        padding: 0 1.25rem;
    }

    .about-intro {
        margin-bottom: 4rem;
    }

        .about-intro p,
        .about-split-content p {
            font-size: 1.1rem;
            line-height: 1.75;
        }

    .about-split-content h2,
    .about-section-header h2 {
        font-size: 1.8rem;
    }

    .about-church-details {
        padding: 2rem;
    }

    .about-quote-section p {
        font-size: 1.4rem;
    }

    .about-hero--safeguarding,
    .about-hero--contact {
        height: 240px;
        min-height: 240px;
    }

        .about-hero--safeguarding .about-hero__content,
        .about-hero--contact .about-hero__content {
            width: 100%;
            max-width: 100%;
            padding: 0 1.25rem;
        }

        .about-hero--safeguarding h1,
        .about-hero--contact h1 {
            font-size: clamp(1.85rem, 9.5vw, 2.35rem);
            line-height: 1.05;
            letter-spacing: 0;
            white-space: nowrap;
            overflow-wrap: normal;
            word-break: normal;
        }

        .about-hero--safeguarding .about-subtitle,
        .about-hero--contact .about-subtitle {
            font-size: 1rem;
            line-height: 1.5;
            max-width: 280px;
            margin-left: auto;
            margin-right: auto;
        }

    .safeguarding-notice-card,
    .safeguarding-primary-contact,
    .safeguarding-region-card,
    .contact-card {
        width: 100%;
        max-width: 100%;
        padding: 1.5rem;
    }

        .safeguarding-notice-card h2,
        .safeguarding-region-card h2,
        .contact-card h2 {
            font-size: 1.45rem;
            line-height: 1.3;
            overflow-wrap: anywhere;
        }

        .safeguarding-notice-card p,
        .safeguarding-note,
        .contact-detail-block p {
            font-size: 1.05rem;
            line-height: 1.7;
        }

    .safeguarding-contact-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: .8rem;
    }

    .safeguarding-action-button,
    .contact-links a {
        width: 100%;
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: break-word;
        font-size: .78rem;
        line-height: 1.4;
        text-align: center;
    }

    .safeguarding-contact-row {
        font-size: 1rem;
    }

        .safeguarding-contact-row a {
            white-space: normal;
            overflow-wrap: anywhere;
            word-break: break-word;
        }
}

html[data-theme="light"] body.about-page {
    --about-primary-bg: #fbf6ec;
    --about-secondary-bg: #fffaf0;
    --about-tertiary-bg: #e2cf9f;
    --about-text-main: #241d14;
    --about-text-muted: #564b3b;
    --about-accent-gold: #8f6414;
    background: var(--about-primary-bg);
    color: var(--about-text-muted);
}

    html[data-theme="light"] body.about-page .site-main,
    html[data-theme="light"] .about-content-section {
        background: var(--about-primary-bg);
    }

html[data-theme="light"] .about-hero {
    border-bottom-color: rgba(143, 100, 20, 0.45);
}

    html[data-theme="light"] .about-hero::after {
        background: linear-gradient(to bottom, rgba(251, 246, 236, 0.18), var(--about-primary-bg));
    }

html[data-theme="light"] .about-hero--parish h1,
html[data-theme="light"] .about-hero--parish .about-subtitle {
    color: #241d14 !important;
    text-shadow: 0 2px 0 rgba(255, 250, 240, 0.84), 0 12px 28px rgba(255, 250, 240, 0.72);
}

html[data-theme="light"] .about-hero--parish .about-hero__content {
    padding: clamp(18px, 3vw, 28px) clamp(22px, 5vw, 48px);
    border-radius: 8px;
    background: rgba(255, 250, 240, 0.34);
    backdrop-filter: blur(1px);
}

html[data-theme="light"] .about-hero--safeguarding,
html[data-theme="light"] .about-hero--contact {
    background-color: var(--about-primary-bg);
}

    html[data-theme="light"] .about-hero--safeguarding::after,
    html[data-theme="light"] .about-hero--contact::after {
        background: radial-gradient(circle at center, rgba(143, 100, 20, 0.15), transparent 48%);
    }

html[data-theme="light"] .about-tag {
    background: rgba(255, 250, 240, 0.94);
    border-color: rgba(143, 100, 20, 0.55);
    color: var(--about-accent-gold);
}

html[data-theme="light"] .about-split-image,
html[data-theme="light"] .contact-map-section {
    border-color: rgba(143, 100, 20, 0.22);
    box-shadow: 0 16px 36px rgba(63, 45, 17, 0.13);
}

html[data-theme="light"] .about-church-card,
html[data-theme="light"] .safeguarding-notice-card,
html[data-theme="light"] .safeguarding-region-card,
html[data-theme="light"] .contact-card {
    background: var(--about-secondary-bg);
    border-color: rgba(143, 100, 20, 0.22);
    box-shadow: 0 16px 36px rgba(63, 45, 17, 0.13);
}

html[data-theme="light"] .about-quote-section {
    background: #f1e5c9;
    border-top-color: rgba(143, 100, 20, 0.45);
}

html[data-theme="light"] .safeguarding-primary-contact {
    background: #f7edd8;
    border-color: rgba(143, 100, 20, 0.22);
}

html[data-theme="light"] .safeguarding-contact-row,
html[data-theme="light"] .contact-card h2,
html[data-theme="light"] .about-est-date {
    border-color: rgba(143, 100, 20, 0.20);
}

html[data-theme="light"] .contact-links a {
    color: var(--about-text-main);
}

html[data-theme="light"] .contact-map-section iframe {
    filter: none;
}

/* Melmount public page theme */
body.about-page {
    --about-primary-bg: #07101b;
    --about-secondary-bg: rgba(16, 27, 42, 0.94);
    --about-tertiary-bg: rgba(138, 190, 235, 0.22);
    --about-text-main: #f4f9ff;
    --about-text-muted: rgba(221, 237, 252, 0.76);
    --about-accent-gold: #86c3f5;
    --about-font-display: var(--head);
    --about-font-body: var(--body);
    background:
        radial-gradient(circle at 10% 0%, rgba(134, 195, 245, 0.14), transparent 34rem),
        linear-gradient(180deg, #07101b 0%, #0d1a2b 46%, #07101b 100%);
    color: var(--about-text-muted);
}

body.about-page .site-main,
.about-content-section {
    background:
        radial-gradient(circle at 88% 6%, rgba(134, 195, 245, 0.10), transparent 28rem),
        linear-gradient(180deg, #07101b 0%, #0d1a2b 48%, #07101b 100%);
}

.about-hero {
    border-bottom-color: rgba(138, 190, 235, 0.58);
}

.about-hero--parish {
    background-image: url('/img/melmount-hero-banner-v2.webp');
    background-position: center top;
}

.about-hero--safeguarding,
.about-hero--contact {
    background:
        radial-gradient(circle at 50% 0%, rgba(134, 195, 245, 0.22), transparent 32rem),
        linear-gradient(180deg, #0d1a2b 0%, #07101b 100%);
}

.about-hero::after {
    background: linear-gradient(to bottom, rgba(7, 16, 27, 0.32), var(--about-primary-bg));
}

.about-hero--safeguarding::after,
.about-hero--contact::after {
    background: radial-gradient(circle at center, rgba(134, 195, 245, 0.16), transparent 48%);
}

.about-tag {
    background: rgba(16, 27, 42, 0.86);
    border-color: rgba(138, 190, 235, 0.68);
    color: #c6e4ff;
}

.about-hero h1,
.about-section-header h2,
.contact-card h2,
.safeguarding-notice-card h2,
.safeguarding-region-card h2,
.about-church-details h3 {
    color: #f4f9ff;
}

.about-subtitle,
.about-intro p,
.about-split-content p,
.about-church-details p,
.contact-detail-block p,
.safeguarding-notice-card p,
.safeguarding-note,
.contact-muted {
    color: rgba(221, 237, 252, 0.76);
}

.about-highlight,
.about-split-content h2,
.about-church-location,
.about-est-date,
.contact-role,
.contact-label,
.safeguarding-label,
.safeguarding-contact-name,
.safeguarding-contact-row a {
    color: #86c3f5;
}

.about-section-header h2,
.about-est-date,
.contact-card h2,
.safeguarding-contact-row {
    border-color: rgba(138, 190, 235, 0.24);
}

.about-split-image,
.about-church-card,
.safeguarding-notice-card,
.safeguarding-region-card,
.contact-card,
.contact-map-section {
    border-color: rgba(138, 190, 235, 0.22);
    background:
        linear-gradient(180deg, rgba(198, 228, 255, 0.055), rgba(255, 255, 255, 0.015)),
        rgba(16, 27, 42, 0.94);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.30);
}

.about-church-card:hover {
    border-color: rgba(138, 190, 235, 0.52);
}

.safeguarding-primary-contact {
    border-color: rgba(138, 190, 235, 0.24);
    background: rgba(23, 40, 62, 0.78);
}

.safeguarding-action-button,
.contact-links a {
    border-color: rgba(138, 190, 235, 0.34);
    background: rgba(134, 195, 245, 0.10);
    color: #f4f9ff;
}

.safeguarding-action-button:hover,
.contact-links a:hover {
    border-color: rgba(138, 190, 235, 0.64);
    background: rgba(134, 195, 245, 0.18);
    color: #ffffff;
}

.about-quote-section {
    border-top-color: rgba(138, 190, 235, 0.36);
    background:
        radial-gradient(circle at 50% 0%, rgba(134, 195, 245, 0.16), transparent 28rem),
        #0d1a2b;
    color: #f4f9ff;
}

.about-quote-section span {
    color: #86c3f5;
}

html[data-theme="light"] body.about-page {
    --about-primary-bg: #f2f7fc;
    --about-secondary-bg: rgba(255, 255, 255, 0.96);
    --about-tertiary-bg: rgba(52, 98, 142, 0.20);
    --about-text-main: #152235;
    --about-text-muted: #52677c;
    --about-accent-gold: #2d75b6;
    background:
        radial-gradient(circle at 10% 0%, rgba(45, 117, 182, 0.13), transparent 30rem),
        linear-gradient(180deg, #f2f7fc 0%, #e1eefa 50%, #f2f7fc 100%);
    color: var(--about-text-muted);
}

html[data-theme="light"] body.about-page .site-main,
html[data-theme="light"] .about-content-section {
    background:
        radial-gradient(circle at 86% 4%, rgba(45, 117, 182, 0.10), transparent 28rem),
        linear-gradient(180deg, #f2f7fc 0%, #e1eefa 48%, #f2f7fc 100%);
}

html[data-theme="light"] .about-hero {
    border-bottom-color: rgba(45, 117, 182, 0.36);
}

html[data-theme="light"] .about-hero::after {
    background: linear-gradient(to bottom, rgba(242, 247, 252, 0.08), var(--about-primary-bg));
}

html[data-theme="light"] .about-hero--parish h1,
html[data-theme="light"] .about-hero--parish .about-subtitle {
    color: #f4f9ff !important;
    text-shadow: 0 8px 28px rgba(7, 16, 27, 0.46);
}

html[data-theme="light"] .about-hero--parish .about-hero__content {
    background: transparent;
    backdrop-filter: none;
}

html[data-theme="light"] .about-hero--safeguarding,
html[data-theme="light"] .about-hero--contact {
    background:
        radial-gradient(circle at 50% 0%, rgba(45, 117, 182, 0.18), transparent 32rem),
        linear-gradient(180deg, #e1eefa 0%, #f2f7fc 100%);
}

html[data-theme="light"] .about-tag {
    background: rgba(255, 255, 255, 0.88);
    border-color: rgba(45, 117, 182, 0.42);
    color: #2d75b6;
}

html[data-theme="light"] .about-hero h1,
html[data-theme="light"] .about-section-header h2,
html[data-theme="light"] .contact-card h2,
html[data-theme="light"] .safeguarding-notice-card h2,
html[data-theme="light"] .safeguarding-region-card h2,
html[data-theme="light"] .about-church-details h3 {
    color: #152235;
}

html[data-theme="light"] .about-subtitle,
html[data-theme="light"] .about-intro p,
html[data-theme="light"] .about-split-content p,
html[data-theme="light"] .about-church-details p,
html[data-theme="light"] .contact-detail-block p,
html[data-theme="light"] .safeguarding-notice-card p,
html[data-theme="light"] .safeguarding-note,
html[data-theme="light"] .contact-muted {
    color: #52677c;
}

html[data-theme="light"] .about-highlight,
html[data-theme="light"] .about-split-content h2,
html[data-theme="light"] .about-church-location,
html[data-theme="light"] .about-est-date,
html[data-theme="light"] .contact-role,
html[data-theme="light"] .contact-label,
html[data-theme="light"] .safeguarding-label,
html[data-theme="light"] .safeguarding-contact-name,
html[data-theme="light"] .safeguarding-contact-row a {
    color: #2d75b6;
}

html[data-theme="light"] .about-split-image,
html[data-theme="light"] .about-church-card,
html[data-theme="light"] .safeguarding-notice-card,
html[data-theme="light"] .safeguarding-region-card,
html[data-theme="light"] .contact-card,
html[data-theme="light"] .contact-map-section {
    border-color: rgba(52, 98, 142, 0.20);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 44px rgba(31, 92, 145, 0.12);
}

html[data-theme="light"] .safeguarding-primary-contact {
    border-color: rgba(52, 98, 142, 0.20);
    background: rgba(225, 238, 250, 0.84);
}

html[data-theme="light"] .safeguarding-action-button,
html[data-theme="light"] .contact-links a {
    border-color: rgba(52, 98, 142, 0.24);
    background: rgba(45, 117, 182, 0.08);
    color: #152235;
}

html[data-theme="light"] .about-quote-section {
    border-top-color: rgba(52, 98, 142, 0.24);
    background:
        radial-gradient(circle at 50% 0%, rgba(45, 117, 182, 0.12), transparent 28rem),
        #e1eefa;
    color: #152235;
}

html[data-theme="light"] .about-quote-section span {
    color: #2d75b6;
}

/* Parish story page */

.parish-about-page .site-main {
    overflow: hidden;
}

.parish-about {
    --parish-line: rgba(153, 205, 248, 0.22);
    --parish-panel: rgba(15, 30, 48, 0.78);
    --parish-blue: #93cdf8;
    --parish-white: #f5faff;
    color: var(--about-text-muted);
    font-family: var(--body);
}

.parish-about-shell {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

.parish-about-hero {
    position: relative;
    min-height: clamp(610px, 78vh, 820px);
    isolation: isolate;
    display: grid;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid var(--parish-line);
    background: #06101b;
}

.parish-about-hero__pictures,
.parish-about-hero__shade {
    position: absolute;
    inset: 0;
}

.parish-about-hero__pictures {
    z-index: -3;
    display: grid;
    grid-template-columns: 1.14fr .86fr;
    gap: 3px;
}

.parish-about-hero__pictures::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 49.8%, rgba(208, 233, 255, .55) 50%, transparent 50.2%);
    opacity: .35;
}

.parish-about-hero__pictures img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.parish-about-hero__pictures img:first-child {
    object-position: 50% 45%;
}

.parish-about-hero__pictures img:last-child {
    object-position: 52% 50%;
}

.parish-about-hero__shade {
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(5, 14, 24, .86) 0%, rgba(5, 14, 24, .43) 55%, rgba(5, 14, 24, .56) 100%),
        linear-gradient(180deg, rgba(5, 14, 24, .12) 15%, rgba(5, 14, 24, .92) 100%);
}

.parish-about-hero__content {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
    padding: 96px 0 120px;
}

.parish-about-kicker,
.parish-about-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--parish-blue);
    font-family: var(--body);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .18em;
    line-height: 1.2;
    text-transform: uppercase;
}

.parish-about-kicker::before,
.parish-about-eyebrow::before {
    content: "";
    width: 34px;
    height: 1px;
    background: currentColor;
}

.parish-about-hero h1 {
    position: relative;
    display: grid;
    grid-template-columns: 1.14fr .86fr;
    align-items: center;
    width: 100%;
    margin: 18px 0 20px;
    color: var(--parish-white);
    font-family: 'Cardo', var(--head);
    font-size: clamp(4rem, 9vw, 7.7rem);
    font-weight: 700;
    letter-spacing: -.045em;
    line-height: .87;
    text-wrap: balance;
}

.parish-about-hero__title {
    min-width: 0;
}

.parish-about-hero__title--melmount {
    padding-right: .22em;
}

.parish-about-hero__title--sion {
    padding-left: .28em;
    font-size: .72em;
    text-align: center;
}

.parish-about-hero h1 .parish-about-hero__ampersand {
    position: absolute;
    left: 57%;
    z-index: 1;
    padding: .04em .12em .08em;
    transform: translateX(-50%);
    background: rgba(5, 14, 24, .62);
    border-radius: 50%;
    color: var(--parish-blue);
    font-size: .52em;
    font-style: italic;
    font-weight: 400;
    line-height: 1;
}

.parish-about-hero__content p {
    max-width: 610px;
    margin: 0;
    color: rgba(239, 248, 255, .88);
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    line-height: 1.55;
}

.parish-about-hero__names {
    position: absolute;
    right: 24px;
    bottom: 24px;
    left: 24px;
    display: grid;
    grid-template-columns: 1.14fr .86fr;
    gap: 3px;
    color: rgba(239, 248, 255, .72);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.parish-about-hero__names span:last-child {
    text-align: right;
}

.parish-about-intro {
    padding: clamp(76px, 9vw, 128px) 0;
    border-bottom: 1px solid var(--parish-line);
}

.parish-about-intro__grid {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: clamp(48px, 8vw, 112px);
    align-items: start;
}

.parish-about h2 {
    color: var(--parish-white);
    font-family: 'Cardo', var(--head);
    font-size: clamp(2.55rem, 5.2vw, 4.7rem);
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.03;
}

.parish-about-intro h2 {
    margin: 20px 0 0;
    text-wrap: balance;
}

.parish-about-intro__copy {
    padding-top: 5px;
}

.parish-about-intro__copy p,
.parish-story__content > p,
.parish-heritage__content p {
    margin: 0;
    color: rgba(221, 237, 252, .78);
    font-family: var(--body);
    font-size: 1.12rem;
    line-height: 1.82;
}

.parish-about-intro__copy p + p,
.parish-story__content > p + p {
    margin-top: 20px;
}

.parish-about-stories {
    padding: clamp(88px, 11vw, 156px) 0;
}

.parish-story {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(330px, .92fr);
    gap: clamp(58px, 8vw, 110px);
    align-items: center;
}

.parish-story + .parish-story {
    margin-top: clamp(120px, 15vw, 210px);
}

.parish-story--reverse .parish-story__gallery {
    order: 2;
}

.parish-story__gallery {
    height: 610px;
    display: grid;
    grid-template: repeat(12, 1fr) / repeat(12, 1fr);
}

.parish-story__image {
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(153, 205, 248, .25);
    border-radius: 3px;
    background: #0b1624;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .34);
}

.parish-story__image--main {
    z-index: 1;
    grid-column: 1 / 11;
    grid-row: 1 / 11;
}

.parish-story__image--detail {
    z-index: 2;
    grid-column: 7 / 13;
    grid-row: 8 / 13;
    border: 8px solid #0b1725;
}

.parish-story--reverse .parish-story__image--main {
    grid-column: 3 / 13;
}

.parish-story--reverse .parish-story__image--detail {
    grid-column: 1 / 7;
}

.parish-story__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.parish-story__gallery--melmount .parish-story__image--main img {
    object-position: 53% center;
}

.parish-story__gallery--sion .parish-story__image--main img {
    object-position: 50% center;
}

.parish-story__content h2 {
    margin: 18px 0 18px;
}

.parish-story__content .parish-story__lead {
    margin-bottom: 28px;
    color: var(--parish-blue);
    font-family: 'Cardo', var(--head);
    font-size: 1.4rem;
    font-style: italic;
    line-height: 1.5;
}

.parish-story__facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 38px;
    border-block: 1px solid var(--parish-line);
}

.parish-story__facts div {
    padding: 20px 18px 20px 0;
}

.parish-story__facts div + div {
    padding-left: 22px;
    border-left: 1px solid var(--parish-line);
}

.parish-story__facts strong,
.parish-story__facts span {
    display: block;
}

.parish-story__facts strong {
    color: var(--parish-white);
    font-family: 'Cardo', var(--head);
    font-size: 2rem;
    line-height: 1;
}

.parish-story__facts span {
    margin-top: 8px;
    color: rgba(221, 237, 252, .62);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .07em;
    line-height: 1.4;
    text-transform: uppercase;
}

.parish-heritage {
    position: relative;
    padding: clamp(80px, 10vw, 130px) 0;
    overflow: hidden;
    border-block: 1px solid var(--parish-line);
    background:
        radial-gradient(circle at 15% 50%, rgba(135, 197, 246, .2), transparent 24rem),
        linear-gradient(110deg, rgba(21, 48, 75, .94), rgba(8, 20, 34, .97));
}

.parish-heritage::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -210px;
    width: 430px;
    height: 430px;
    border: 1px solid rgba(147, 205, 248, .15);
    border-radius: 50%;
    box-shadow: 0 0 0 70px rgba(147, 205, 248, .035), 0 0 0 140px rgba(147, 205, 248, .025);
}

.parish-heritage__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(250px, .62fr) minmax(0, 1.38fr);
    gap: clamp(45px, 9vw, 128px);
    align-items: center;
}

.parish-heritage__date {
    color: transparent;
    font-family: 'Cardo', var(--head);
    font-size: clamp(6.5rem, 15vw, 12rem);
    font-weight: 700;
    letter-spacing: -.07em;
    line-height: .72;
    -webkit-text-stroke: 1px rgba(147, 205, 248, .5);
}

.parish-heritage__content h2 {
    margin: 18px 0 20px;
}

.parish-heritage__content p {
    max-width: 720px;
}

.parish-about-sources {
    padding: 44px 0 56px;
    border-top: 1px solid var(--parish-line);
    background: rgba(4, 12, 21, .46);
}

.parish-about-sources h2 {
    margin: 0 0 18px;
    color: rgba(221, 237, 252, .65);
    font-family: var(--body);
    font-size: .77rem;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.parish-about-sources ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.parish-about-sources a {
    color: rgba(221, 237, 252, .62);
    font-size: .82rem;
    line-height: 1.5;
    text-underline-offset: 3px;
}

.parish-about-sources a:hover,
.parish-about-sources a:focus-visible {
    color: var(--parish-blue);
}

html[data-theme="light"] .parish-about {
    --parish-line: rgba(45, 117, 182, .2);
    --parish-panel: rgba(255, 255, 255, .86);
    --parish-blue: #2d75b6;
    --parish-white: #152235;
}

html[data-theme="light"] .parish-about-hero {
    background: #0a1827;
}

html[data-theme="light"] .parish-about-hero__shade {
    background:
        linear-gradient(90deg, rgba(5, 14, 24, .82) 0%, rgba(5, 14, 24, .4) 55%, rgba(5, 14, 24, .52) 100%),
        linear-gradient(180deg, rgba(5, 14, 24, .08) 15%, rgba(5, 14, 24, .84) 100%);
}

html[data-theme="light"] body.parish-about-page .parish-about-hero h1,
html[data-theme="light"] body.parish-about-page .parish-about-hero__title {
    color: #ffffff !important;
    text-shadow: 0 4px 24px rgba(0, 0, 0, .78);
}

html[data-theme="light"] .parish-about-hero h1 .parish-about-hero__ampersand,
html[data-theme="light"] .parish-about-kicker {
    color: #a9d7fb;
}

html[data-theme="light"] body.parish-about-page .parish-about-hero__content p {
    color: #f5faff !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .9);
}

html[data-theme="light"] .parish-about-intro__copy p,
html[data-theme="light"] .parish-story__content > p {
    color: #52677c;
}

html[data-theme="light"] .parish-story__content .parish-story__lead,
html[data-theme="light"] .parish-about-eyebrow {
    color: #2d75b6;
}

html[data-theme="light"] .parish-story__image--detail {
    border-color: #e5f0fa;
}

html[data-theme="light"] .parish-story__facts span {
    color: #63798e;
}

html[data-theme="light"] .parish-heritage {
    background:
        radial-gradient(circle at 15% 50%, rgba(45, 117, 182, .16), transparent 24rem),
        linear-gradient(110deg, #d7e9f8, #eef6fc);
}

html[data-theme="light"] .parish-heritage__content p {
    color: #405a72;
}

html[data-theme="light"] .parish-about-sources a {
    color: #5c7186;
}

html[data-theme="light"] .parish-about-sources {
    background: rgba(225, 238, 250, .68);
}

html[data-theme="light"] .parish-about-sources h2 {
    color: #4f687e;
}

@media (max-width: 980px) {
    .parish-about-intro__grid,
    .parish-story,
    .parish-heritage__grid {
        grid-template-columns: 1fr;
    }

    .parish-about-intro__grid {
        gap: 36px;
    }

    .parish-story {
        gap: 55px;
    }

    .parish-story--reverse .parish-story__gallery {
        order: 0;
    }

    .parish-story__gallery {
        height: min(680px, 72vw);
    }

    .parish-story__content {
        max-width: 760px;
    }

    .parish-heritage__grid {
        gap: 45px;
    }

    .parish-heritage__date {
        font-size: clamp(6.5rem, 24vw, 10rem);
    }

}

@media (max-width: 640px) {
    .parish-about-shell,
    .parish-about-hero__content {
        width: min(100% - 32px, 1180px);
    }

    .parish-about-hero {
        min-height: 650px;
        align-items: end;
    }

    .parish-about-hero__pictures {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
    }

    .parish-about-hero__pictures::after {
        background: linear-gradient(180deg, transparent 49.8%, rgba(208, 233, 255, .55) 50%, transparent 50.2%);
    }

    .parish-about-hero__shade,
    html[data-theme="light"] .parish-about-hero__shade {
        background:
            linear-gradient(180deg, rgba(5, 14, 24, .18) 0%, rgba(5, 14, 24, .3) 44%, rgba(5, 14, 24, .93) 82%),
            linear-gradient(90deg, rgba(5, 14, 24, .32), rgba(5, 14, 24, .22));
    }

    .parish-about-hero__content {
        padding: 290px 0 88px;
    }

    .parish-about-hero h1 {
        display: flex;
        flex-wrap: wrap;
        gap: 0 .14em;
        font-size: clamp(3.55rem, 18vw, 5rem);
        line-height: .92;
    }

    .parish-about-hero__title--melmount,
    .parish-about-hero__title--sion {
        padding: 0;
        font-size: 1em;
        text-align: left;
    }

    .parish-about-hero h1 .parish-about-hero__ampersand {
        position: static;
        align-self: center;
        padding: 0;
        transform: none;
        background: none;
        font-size: .72em;
    }

    .parish-about-hero__names {
        display: none;
    }

    .parish-about-intro__copy p,
    .parish-story__content > p,
    .parish-heritage__content p {
        font-size: 1rem;
        line-height: 1.75;
    }

    .parish-story__gallery {
        height: auto;
        display: grid;
        grid-template-columns: minmax(0, 1fr) 34%;
        grid-template-rows: auto auto;
        gap: 12px;
    }

    .parish-story__image--main,
    .parish-story--reverse .parish-story__image--main {
        grid-column: 1 / 3;
        grid-row: 1;
        aspect-ratio: 4 / 3;
    }

    .parish-story__image--detail,
    .parish-story--reverse .parish-story__image--detail {
        grid-column: 1 / 3;
        grid-row: 2;
        aspect-ratio: 16 / 10;
        border-width: 1px;
    }

    .parish-story + .parish-story {
        margin-top: 110px;
    }

    .parish-story__facts {
        margin-top: 30px;
    }

    .parish-story__facts div {
        padding: 17px 12px 17px 0;
    }

    .parish-story__facts div + div {
        padding-left: 17px;
    }

    .parish-heritage__date {
        font-size: 6.8rem;
    }

    .parish-about-sources ul {
        display: grid;
        gap: 10px;
    }
}
