:root {
    --navy: #122b3b;
    --gold: #c99b49;
    --cream: #f7f2e8;
    --mist: #edf1ef;
    --ink: #20303a;
    --muted: #65737b;
    --line: #dce2df
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    color: var(--ink);
    font: 16px/1.65 Inter, Arial, sans-serif
}

a {
    color: inherit;
    text-decoration: none
}

.site-wrap {
    width: min(1180px, calc(100% - 40px));
    margin: auto
}

.topline {
    background: #0d202c;
    color: #cbd5da;
    font-size: .74rem
}

.topbar {
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.site-header {
    height: 88px;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 30;
    box-shadow: 0 1px 0 rgba(18, 43, 59, .1)
}

.nav-wrap {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.brand {
    display: flex;
    gap: 12px;
    align-items: center
}

.brand-logo {
    display: block;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    object-fit: contain;
    border-radius: 50%
}

.brand b {
    font: 600 1.25rem/1 "Cormorant Garamond", serif;
    display: block;
    color: var(--navy)
}

.brand small {
    font-size: .64rem;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--muted)
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 25px;
    font-size: .82rem;
    font-weight: 600
}

    .main-nav a {
        padding: 32px 0
    }

        .main-nav a:hover {
            color: #9a6f28
        }

    .main-nav .nav-register {
        background: var(--navy);
        color: #fff;
        padding: 11px 17px
    }

.nav-toggle, .nav-button {
    display: none
}

.home-hero {
    height: 690px;
    position: relative;
    background: url('/images/church-bg.jpeg') center 43%/cover;
    color: #fff
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 24, 34, .91), rgba(7, 24, 34, .65) 45%, rgba(7, 24, 34, .12))
}

.hero-copy {
    position: relative;
    padding-top: 125px
}

.eyebrow {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .18em;
    color: #9b732f;
    margin-bottom: 14px
}

    .eyebrow.light {
        color: #e4bd73
    }

.hero-copy h1, .page-hero h1 {
    font: 600 clamp(3.1rem, 6vw, 5.4rem)/.96 "Cormorant Garamond", serif;
    margin: 0;
    letter-spacing: -.035em
}

    .hero-copy h1 em {
        color: #efc876;
        font-weight: 500
    }

.hero-copy p {
    font: 500 1.25rem/1.5 "Cormorant Garamond", serif;
    max-width: 620px;
    color: #e4e9eb
}

.actions {
    display: flex;
    gap: 12px;
    margin-top: 30px
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 21px;
    font-size: .78rem;
    font-weight: 700;
    border: 1px solid transparent;
    cursor: pointer
}

.gold {
    background: var(--gold);
    color: #102735
}

.ghost {
    border-color: rgba(255, 255, 255, .6);
    color: #fff
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #e15b52;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(225, 91, 82, .25)
}

.hero-strip {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(11, 35, 49, .95)
}

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

    .strip-grid > a {
        padding: 24px 27px;
        border-right: 1px solid rgba(255, 255, 255, .14);
        display: grid;
        grid-template-columns: 1fr auto
    }

    .strip-grid small {
        grid-column: 1/3;
        color: #d7ad63;
        font-size: .58rem;
        letter-spacing: .16em
    }

    .strip-grid b {
        font: 600 1.08rem "Cormorant Garamond", serif
    }

    .strip-grid span {
        color: var(--gold)
    }

.section {
    padding: 92px 0
}

    .section h2, .callout h2 {
        font: 600 clamp(2.3rem, 4vw, 3.4rem)/1.03 "Cormorant Garamond", serif;
        color: var(--navy);
        margin: 0 0 18px
    }

.mist {
    background: var(--mist)
}

.welcome-grid {
    display: grid;
    grid-template-columns: 1.35fr .8fr;
    gap: 90px;
    align-items: center
}

.lead {
    font: 500 1.35rem/1.55 "Cormorant Garamond", serif;
    color: var(--navy)
}

.text-link {
    display: inline-flex;
    gap: 12px;
    align-items: center;
    font-size: .8rem;
    font-weight: 700;
    color: #8c6422;
    margin-top: 14px
}

.quote-card {
    background: var(--cream);
    border-left: 4px solid var(--gold);
    padding: 44px
}

.quote-mark {
    font: 5rem/.5 "Cormorant Garamond", serif;
    color: var(--gold)
}

blockquote {
    font: 600 1.55rem/1.35 "Cormorant Garamond", serif;
    margin: 22px 0
}

cite {
    font-size: .68rem;
    letter-spacing: .12em;
    font-style: normal;
    color: var(--muted)
}

.times-list {
    border-top: 1px solid #cfd8d4;
    margin-top: 30px
}

    .times-list > div {
        display: grid;
        grid-template-columns: 1.1fr .8fr 1.5fr;
        align-items: center;
        padding: 20px 10px;
        border-bottom: 1px solid #cfd8d4
    }

    .times-list b {
        font: 600 1.2rem "Cormorant Garamond", serif
    }

    .times-list strong {
        color: #9b732f
    }

    .times-list span, .notice {
        color: var(--muted)
    }

.notice {
    font-size: .75rem
}

.title-row {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 36px
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px
}

.content-card {
    border: 1px solid var(--line);
    background: #fff
}

.card-image {
    height: 205px;
    background: linear-gradient(135deg, rgba(13, 43, 59, .12), rgba(201, 155, 73, .42)), url('/images/church-bg.jpeg') center/cover;
    display: flex;
    align-items: end;
    padding: 16px
}

    .card-image span {
        background: var(--gold);
        padding: 4px 8px;
        font-size: .6rem;
        font-weight: 800;
        letter-spacing: .1em
    }

.card-body {
    padding: 24px
}

    .card-body time {
        font-size: .68rem;
        color: #8a969c
    }

    .card-body h3 {
        font: 600 1.55rem "Cormorant Garamond", serif;
        color: var(--navy);
        margin: 5px 0
    }

    .card-body p {
        font-size: .84rem;
        color: var(--muted)
    }

    .card-body a {
        font-size: .73rem;
        font-weight: 700;
        color: #8b6424
    }

.navy {
    background: var(--navy);
    color: #fff
}

.light-title h2 {
    color: #fff
}

.light-title .eyebrow {
    color: #e0b666
}

.light-title .text-link {
    color: #e4bd73
}

.events {
    border-top: 1px solid rgba(255, 255, 255, .18)
}

.event {
    display: grid;
    grid-template-columns: 90px 1fr 130px;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, .18);
    padding: 25px 0
}

.date-block {
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, .2)
}

    .date-block b {
        font: 600 2.1rem/1 "Cormorant Garamond", serif;
        display: block;
        color: #e7bd70
    }

    .date-block span {
        font-size: .6rem;
        letter-spacing: .14em
    }

.event > div:nth-child(2) {
    padding-left: 30px
}

.event h3 {
    font: 600 1.4rem "Cormorant Garamond", serif;
    margin: 0
}

.event p {
    color: #b9c7ce;
    margin: 2px 0;
    font-size: .8rem
}

.event > strong {
    color: #e7bd70;
    text-align: right;
    font-size: .8rem
}

.callout {
    background: var(--cream);
    padding: 48px 55px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 3px solid var(--gold)
}

.navy-button {
    background: var(--navy);
    color: #fff
}

.outline-button {
    border-color: var(--navy);
    color: var(--navy)
}

.page-hero {
    background: var(--navy);
    color: #fff;
    padding: 75px 0 70px;
    position: relative;
    overflow: hidden
}

    .page-hero:after {
        content: '✦';
        position: absolute;
        right: 8%;
        top: -90px;
        color: rgba(201, 155, 73, .08);
        font-size: 18rem
    }

    .page-hero h1 {
        font-size: clamp(3rem, 6vw, 4.8rem)
    }

    .page-hero p {
        max-width: 650px;
        color: #c9d3d8;
        font: 500 1.2rem "Cormorant Garamond", serif
    }

.content-grid {
    display: grid;
    grid-template-columns: 1.5fr .7fr;
    gap: 70px
}

.side-card h3 {
    font: 600 1.5rem "Cormorant Garamond", serif;
    color: var(--navy)
}

.side-card {
    background: var(--cream);
    padding: 30px;
    height: max-content;
    border-top: 3px solid var(--gold)
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px
}

.gallery-item {
    height: 230px;
    margin: 0;
    position: relative;
    overflow: hidden
}

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover
    }

    .gallery-item figcaption {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 35px 16px 14px;
        color: #fff;
        background: linear-gradient(transparent, rgba(8, 24, 33, .85));
        font: 600 1.1rem "Cormorant Garamond", serif
    }

.contact-card {
    border-top: 1px solid var(--line);
    padding: 22px 0
}

    .contact-card small {
        display: block;
        color: #9a712c;
        font-size: .65rem;
        letter-spacing: .12em
    }

    .contact-card b {
        font: 600 1.25rem "Cormorant Garamond", serif
    }

.field {
    margin-bottom: 18px
}

    .field label {
        display: block;
        font-size: .7rem;
        font-weight: 700;
        margin-bottom: 6px
    }

    .field input, .field textarea, .field select {
        width: 100%;
        border: 1px solid #ccd6d2;
        background: #fff;
        padding: 12px;
        font: inherit
    }

    .field textarea {
        min-height: 130px
    }

.two-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px
}

.success {
    background: #dcefe6;
    color: #225c45;
    padding: 12px;
    margin-bottom: 15px
}

.validation {
    color: #a73232
}

.stream-card {
    background: #071820;
    aspect-ratio: 16/9;
    color: #fff;
    display: grid;
    place-items: center;
    text-align: center
}

.play {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--navy);
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    margin: auto
}

.poster-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px
}

.poster {
    background: var(--cream);
    min-height: 390px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-top: 5px solid var(--gold)
}

    .poster:nth-child(2) {
        background: var(--navy);
        color: #fff
    }

    .poster h3 {
        font: 600 2rem/1.05 "Cormorant Garamond", serif;
        margin: 0
    }

    .poster .big-date {
        font: 600 4.2rem/1 "Cormorant Garamond", serif;
        color: var(--gold)
    }

.register-panel {
    background: var(--cream);
    padding: 45px;
    text-align: center;
    max-width: 800px;
    margin: auto
}

.centred {
    margin: 0 auto 20px
}

.centred-actions {
    justify-content: center
}

.site-footer {
    background: #0c202c;
    color: #b9c7ce;
    padding: 65px 0 20px
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr .8fr;
    gap: 80px
}

.footer-brand {
    font: 600 1.8rem "Cormorant Garamond", serif;
    color: #fff
}

.site-footer h3 {
    font-size: .68rem;
    letter-spacing: .12em;
    color: #dfb665
}

.site-footer p, .site-footer a {
    font-size: .8rem
}

.site-footer a {
    display: block;
    color: #d9e0e3;
    margin: 6px 0
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, .12);
    margin-top: 40px;
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    font-size: .65rem
}

.status {
    color: #33785f;
    font-weight: 700
}

@media(max-width:900px) {
    .topline {
        display: none
    }

    .site-header {
        height: 70px
    }

    .brand small {
        display: block;
        margin-top: 4px;
        font-size: .55rem;
        line-height: 1.2;
        letter-spacing: .05em;
        white-space: nowrap
    }

    .nav-button {
        display: flex;
        width: 30px;
        flex-direction: column;
        gap: 5px
    }

        .nav-button span {
            height: 2px;
            background: var(--navy);
            width: 100%
        }

    .main-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 70px;
        background: #fff;
        padding: 20px;
        box-shadow: 0 12px 25px #0002;
        flex-direction: column;
        align-items: stretch;
        gap: 0
    }

        .main-nav a {
            padding: 10px
        }

    .nav-toggle:checked ~ .main-nav {
        display: flex
    }

    .home-hero {
        height: 720px
    }

    .hero-copy {
        padding-top: 90px
    }

    .strip-grid {
        grid-template-columns: 1fr
    }

        .strip-grid > a {
            padding: 13px 20px
        }

            
    .welcome-grid, .content-grid {
        grid-template-columns: 1fr;
        gap: 35px
    }

    .card-grid, .poster-grid {
        grid-template-columns: 1fr 1fr
    }

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

@media(max-width:600px) {
    .site-wrap {
        width: min(100% - 28px, 1180px)
    }

    .brand {
        min-width: 0;
        gap: 8px
    }

    .brand-logo {
        width: 38px;
        height: 38px;
        flex-basis: 38px
    }

    .brand b {
        font-size: 1.05rem;
        line-height: 1;
        white-space: nowrap
    }

    .brand small {
        display: block;
        margin-top: 4px;
        font-size: .48rem;
        line-height: 1.2;
        letter-spacing: .025em;
        white-space: nowrap
    }

    .nav-button {
        flex: 0 0 30px;
        margin-left: 10px
    }

    .section {
        padding: 65px 0
    }

    .hero-copy h1 {
        font-size: 3.2rem
    }

    .hero-copy p {
        font-size: 1rem
    }

    .actions {
        flex-direction: column;
        align-items: flex-start
    }

    .strip-grid > a:nth-child(2) {
        display: none
    }

    .quote-card {
        padding: 30px
    }

    .times-list > div {
        grid-template-columns: 1fr auto
    }

    .times-list span {
        grid-column: 1/3
    }

    .title-row {
        display: block
    }

    .card-grid, .poster-grid, .gallery-grid, .footer-grid {
        grid-template-columns: 1fr
    }

    .event {
        grid-template-columns: 65px 1fr
    }

        .event > strong {
            grid-column: 2;
            text-align: left
        }

    .callout {
        padding: 30px;
        display: block
    }

        .callout .button {
            margin-top: 22px
        }

    .copyright {
        display: block
    }

    .two-fields {
        grid-template-columns: 1fr
    }
}

.public-empty {
    text-align: center;
    background: var(--cream);
    padding: 50px 25px
}

    .public-empty h2 {
        font-size: 2rem
    }

.public-article {
    max-width: 850px
}

.article-body {
    font-size: 1.05rem;
    color: #475a64
}

.preserve-lines {
    white-space: pre-line
}

.poster-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    margin-bottom: 22px
}

/* Parish leadership */
.leadership-section {
    background: #fff;
}

.leadership-heading {
    max-width: 720px;
    margin-bottom: 42px;
}

    .leadership-heading h2 {
        margin-bottom: 14px;
    }

    .leadership-heading p {
        color: var(--muted);
        max-width: 620px;
        margin: 0;
    }

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.leadership-card {
    background: #f4f5f4;
    border-top: 4px solid var(--gold);
    min-width: 0;
    display: flex;
    flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease;
}

    .leadership-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 35px rgba(18, 43, 59, .12);
    }

.leadership-photo-wrap {
    padding: 30px 30px 8px;
    display: flex;
    justify-content: center;
}

.leadership-photo {
    display: block;
    width: 180px;
    height: 210px;
    max-width: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 50% 50% 45% 45%;
    border: 5px solid #fff;
    box-shadow: 0 8px 22px rgba(18, 43, 59, .14);
}

.leadership-placeholder {
    background: var(--navy);
    color: var(--gold);
    display: grid;
    place-items: center;
    font-size: 42px;
}

.leadership-card-body {
    padding: 22px 26px 30px;
    flex: 1;
}

.leadership-role {
    color: #946b27;
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .1em;
    line-height: 1.5;
    text-transform: uppercase;
    margin-bottom: 9px;
}

.leadership-card h3 {
    color: var(--navy);
    font: 600 1.55rem/1.15 "Cormorant Garamond", serif;
    margin: 0 0 13px;
}

.leadership-biography {
    color: #5d6b73;
    font-size: .82rem;
    line-height: 1.65;
    margin: 0;
    white-space: pre-line;
}

@media (max-width:1050px) {
    .leadership-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

    .leadership-card {
        max-width: 420px;
        width: 100%;
        margin: auto;
    }

    .leadership-photo {
        width: 170px;
        height: 195px;
    }
}

/* About page and parish-history timeline */
.about-introduction {
    background: #fff;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 90px;
    align-items: start;
}

    .about-intro-grid h2 {
        margin: 0;
    }

.about-intro-copy {
    max-width: 680px;
}

    .about-intro-copy p:last-child {
        color: var(--muted);
        margin-bottom: 0;
    }

.parish-history {
    overflow: hidden;
}

.history-heading {
    max-width: 720px;
    margin-bottom: 55px;
}

    .history-heading p {
        color: var(--muted);
        margin-bottom: 0;
    }

.history-timeline {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
}

    .history-timeline::before {
        content: "";
        position: absolute;
        top: 20px;
        bottom: 40px;
        left: 88px;
        width: 1px;
        background: #cbd4d1;
    }

.history-item {
    position: relative;
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 42px;
    margin-bottom: 35px;
}

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

.history-marker {
    position: relative;
    padding-top: 27px;
    text-align: right;
    z-index: 1;
}

    .history-marker::after {
        content: "";
        position: absolute;
        top: 34px;
        right: 83px;
        width: 12px;
        height: 12px;
        border: 3px solid var(--gold);
        border-radius: 50%;
        background: var(--mist);
    }

    .history-marker time {
        color: var(--navy);
        font: 600 2rem/1 "Cormorant Garamond", serif;
    }

.history-marker-final::after {
    background: var(--gold);
    box-shadow: 0 0 0 6px rgba(201, 155, 73, .18);
}

.history-card {
    position: relative;
    max-width: 850px;
    padding: 34px 38px;
    background: #fff;
    border: 1px solid var(--line);
}

    .history-card::before {
        content: "";
        position: absolute;
        top: 32px;
        left: -9px;
        width: 16px;
        height: 16px;
        background: #fff;
        border-left: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
        transform: rotate(45deg);
    }

.history-label {
    display: block;
    margin-bottom: 10px;
    color: #946b27;
    font-size: .64rem;
    font-weight: 800;
    letter-spacing: .15em;
}

.history-card h3 {
    margin: 0 0 18px;
    color: var(--navy);
    font: 600 1.8rem/1.2 "Cormorant Garamond", serif;
}

.history-card p {
    color: #596a73;
    margin: 0 0 15px;
}

    .history-card p:last-child {
        margin-bottom: 0;
    }

.history-featured {
    border-top: 4px solid var(--gold);
}

.history-parish-card {
    color: #fff;
    background: var(--navy);
    border-color: var(--navy);
}

    .history-parish-card::before {
        background: var(--navy);
        border-color: var(--navy);
    }

    .history-parish-card h3 {
        color: #fff;
    }

    .history-parish-card p {
        color: #d1dbe0;
    }

    .history-parish-card .history-label {
        color: #edc77e;
    }

.community-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0;
}

    .community-list span {
        padding: 7px 12px;
        color: var(--navy);
        background: var(--cream);
        border: 1px solid #e7ddc9;
        font-size: .7rem;
        font-weight: 700;
    }

.history-quote {
    margin: 25px 0 0;
    padding: 21px 0 0;
    color: #edc77e;
    border-top: 1px solid rgba(255, 255, 255, .18);
    font: 600 1.4rem/1.4 "Cormorant Garamond", serif;
}

.about-today-grid {
    display: grid;
    grid-template-columns: 1.35fr .65fr;
    gap: 75px;
    align-items: center;
}

.about-today-copy {
    max-width: 720px;
}

    .about-today-copy > p:not(.lead) {
        color: var(--muted);
    }

.about-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.about-church-card {
    padding: 38px;
    background: var(--cream);
    border-top: 4px solid var(--gold);
}

    .about-church-card h3 {
        color: var(--navy);
        font: 600 1.65rem/1.25 "Cormorant Garamond", serif;
    }

    .about-church-card p {
        color: var(--muted);
    }

@media (max-width: 800px) {
    .about-intro-grid,
    .about-today-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .history-timeline::before {
        left: 13px;
    }

    .history-item {
        grid-template-columns: 1fr;
        gap: 12px;
        padding-left: 44px;
        margin-bottom: 30px;
    }

    .history-marker {
        padding: 0;
        text-align: left;
    }

        .history-marker::after {
            top: 7px;
            right: auto;
            left: -37px;
        }

        .history-marker time {
            font-size: 1.65rem;
        }

    .history-card {
        padding: 27px 25px;
    }

        .history-card::before {
            display: none;
        }
}

@media (max-width: 500px) {
    .history-item {
        padding-left: 34px;
    }

    .history-timeline::before {
        left: 8px;
    }

    .history-marker::after {
        left: -31px;
    }

    .history-card {
        padding: 24px 20px;
    }

    .community-list span {
        width: 100%;
    }

    .about-actions {
        align-items: stretch;
        flex-direction: column;
    }

        .about-actions .button {
            justify-content: center;
        }
}
/* Current Parish Vicar */
.vicar-section {
    background: #fff;
}

.vicar-section-heading {
    max-width: 680px;
    margin-bottom: 42px;
}

    .vicar-section-heading h2 {
        margin-bottom: 13px;
    }

    .vicar-section-heading p {
        color: var(--muted);
        margin: 0;
    }

.vicar-profile {
    position: relative;
    display: grid;
    grid-template-columns: 250px minmax(280px, 1fr) minmax(330px, 1.15fr);
    gap: 40px;
    align-items: center;
    padding: 42px;
    background: var(--cream);
    border-top: 4px solid var(--gold);
}

.vicar-portrait-column {
    align-self: stretch;
}

.vicar-portrait {
    display: block;
    width: 100%;
    height: 330px;
    object-fit: cover;
    object-position: center top;
    background: #e8ecea;
}

.vicar-placeholder {
    color: var(--gold);
    background: var(--navy);
    display: grid;
    place-items: center;
    font-size: 55px;
}

.vicar-profile-content {
    min-width: 0;
}

.vicar-label {
    display: block;
    color: #946b27;
    font-size: .64rem;
    font-weight: 800;
    letter-spacing: .16em;
    margin-bottom: 12px;
}

.vicar-profile-content h3 {
    color: var(--navy);
    font: 600 2.15rem/1.1 "Cormorant Garamond", serif;
    margin: 0 0 10px;
}

.vicar-role {
    color: #8b672b;
    font-size: .75rem;
    font-weight: 700;
    line-height: 1.5;
    margin: 0 0 22px;
}

.vicar-biography {
    color: #576870;
    font-size: .9rem;
    line-height: 1.75;
    margin: 0;
    white-space: pre-line;
}

.vicar-church-column {
    min-width: 0;
}

.vicar-church-frame {
    position: relative;
    padding: 8px;
    background: #fff;
    border: 3px solid var(--navy);
    box-shadow: 0 13px 30px rgba(18, 43, 59, .12);
}

    .vicar-church-frame::before {
        content: "";
        position: absolute;
        top: -3px;
        right: -3px;
        width: 38%;
        height: 3px;
        background: var(--gold);
    }

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

.vicar-church-caption {
    margin-top: 14px;
}

    .vicar-church-caption strong,
    .vicar-church-caption span {
        display: block;
    }

    .vicar-church-caption strong {
        color: var(--navy);
        font: 600 1.2rem "Cormorant Garamond", serif;
    }

    .vicar-church-caption span {
        color: var(--muted);
        font-size: .72rem;
    }

@media (max-width: 1050px) {
    .vicar-profile {
        grid-template-columns: 220px 1fr;
    }

    .vicar-church-column {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 1fr 250px;
        gap: 20px;
        align-items: center;
    }
}

@media (max-width: 700px) {
    .vicar-profile {
        grid-template-columns: 1fr;
        gap: 27px;
        padding: 25px;
    }

    .vicar-portrait-column {
        max-width: 320px;
        width: 100%;
        margin: auto;
    }

    .vicar-portrait {
        height: 390px;
    }

    .vicar-profile-content {
        text-align: center;
    }

    .vicar-church-column {
        grid-column: auto;
        display: block;
    }

    .vicar-church-frame img {
        height: 230px;
    }

    .vicar-church-caption {
        text-align: center;
    }
}

@media (max-width: 420px) {
    .vicar-profile {
        padding: 18px;
    }

    .vicar-portrait {
        height: 340px;
    }

    .vicar-church-frame img {
        height: 190px;
    }
}
/* Contact page */
.contact-layout {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 70px;
    align-items: start;
}

.contact-information h2,
.contact-form-heading h2,
.contact-map-heading h2 {
    margin-bottom: 14px;
}

.contact-information > .contact-card {
    border-top: 1px solid var(--line);
    padding: 20px 0;
}

    .contact-information > .contact-card:last-child {
        border-bottom: 1px solid var(--line);
    }

.contact-information .contact-card small {
    display: block;
    margin-bottom: 5px;
    color: #946b27;
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .14em;
}

.contact-information .contact-card b {
    color: var(--navy);
    font: 600 1.25rem "Cormorant Garamond", serif;
}

.contact-information .contact-card p {
    color: var(--muted);
    margin: 7px 0 0;
}

.contact-form {
    position: relative;
    padding: 38px;
    background: var(--mist);
    border-top: 4px solid var(--gold);
}

.contact-form-heading {
    margin-bottom: 27px;
}

    .contact-form-heading p {
        color: var(--muted);
        margin: 0;
    }

.contact-form .validation:empty {
    display: none;
}

.contact-form span.validation {
    display: block;
    margin-top: 5px;
    font-size: .75rem;
}

.contact-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.contact-map-section {
    padding: 85px 0;
    background: var(--cream);
}

.contact-map-heading {
    display: flex;
    justify-content: space-between;
    gap: 35px;
    align-items: end;
    margin-bottom: 30px;
}

    .contact-map-heading p {
        color: var(--muted);
        margin: 0;
    }

.contact-map-frame {
    padding: 8px;
    background: #fff;
    border: 3px solid var(--navy);
    box-shadow: 0 16px 38px rgba(18, 43, 59, .12);
}

    .contact-map-frame iframe {
        display: block;
        width: 100%;
        height: 480px;
        border: 0;
    }

@media (max-width: 850px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .contact-map-frame iframe {
        height: 400px;
    }
}

@media (max-width: 600px) {
    .contact-form {
        padding: 26px 20px;
    }

    .contact-map-section {
        padding: 65px 0;
    }

    .contact-map-heading {
        display: block;
    }

        .contact-map-heading .button {
            margin-top: 22px;
        }

    .contact-map-frame iframe {
        height: 330px;
    }
}
/* Public Catechism page */
.catechism-intro-grid {
    display: grid;
    grid-template-columns: 1.2fr .75fr;
    gap: 85px;
    align-items: center;
}

.catechism-intro-content {
    max-width: 720px;
}

    .catechism-intro-content > p:not(.lead) {
        color: var(--muted);
    }

.catechism-scripture {
    padding: 42px;
    background: var(--cream);
    border-left: 4px solid var(--gold);
}

.catechism-quote-mark {
    color: var(--gold);
    font: 5rem/.5 "Cormorant Garamond", serif;
}

.catechism-scripture blockquote {
    margin: 24px 0;
    color: var(--navy);
    font: 600 1.55rem/1.4 "Cormorant Garamond", serif;
}

.catechism-scripture cite {
    color: var(--muted);
    font-size: .67rem;
    font-style: normal;
    letter-spacing: .13em;
}

.catechism-explanation {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 85px;
}

.catechism-explanation-copy {
    max-width: 700px;
}

    .catechism-explanation-copy > p:not(.lead) {
        color: var(--muted);
    }

.catechism-section-heading {
    max-width: 720px;
    margin-bottom: 40px;
}

    .catechism-section-heading p {
        color: var(--muted);
    }

.catechism-values {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.catechism-value {
    position: relative;
    min-height: 310px;
    padding: 32px 27px;
    background: #fff;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

    .catechism-value::after {
        content: "";
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        height: 4px;
        background: var(--gold);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform .2s ease;
    }

    .catechism-value:hover::after {
        transform: scaleX(1);
    }

.catechism-value-number {
    display: block;
    margin-bottom: 35px;
    color: var(--gold);
    font: 600 1.05rem "Cormorant Garamond", serif;
}

.catechism-value h3 {
    color: var(--navy);
    font: 600 1.5rem "Cormorant Garamond", serif;
}

.catechism-value p {
    color: var(--muted);
    font-size: .84rem;
}

.catechism-partnership h2 {
    color: #fff;
}

.catechism-partnership .eyebrow {
    color: #e0b666;
}

.catechism-partnership-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
}

.catechism-partnership-lead {
    color: #fff;
    font: 500 1.35rem/1.55 "Cormorant Garamond", serif;
}

.catechism-partnership-grid > div:last-child p {
    color: #c4d0d6;
}

.catechism-programme-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.catechism-programme-card {
    padding: 32px;
    background: var(--mist);
    border-top: 4px solid var(--gold);
}

.catechism-programme-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    color: #fff;
    background: var(--navy);
    border-radius: 50%;
    font-size: .7rem;
    font-weight: 800;
}

.catechism-programme-card h3 {
    color: var(--navy);
    font: 600 1.55rem "Cormorant Garamond", serif;
}

.catechism-programme-card p {
    color: var(--muted);
    font-size: .85rem;
}

.catechism-registration-section {
    padding-top: 0;
}

.catechism-registration {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 55px;
    align-items: center;
    padding: 48px 52px;
    background: var(--cream);
    border-top: 4px solid var(--gold);
}

    .catechism-registration > div > p {
        color: var(--muted);
        max-width: 680px;
    }

.catechism-registration-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    align-items: center;
    margin-top: 26px;
}

.catechism-registration-note {
    padding: 27px;
    background: #fff;
    border-left: 3px solid var(--navy);
}

    .catechism-registration-note h3 {
        color: var(--navy);
        font: 600 1.45rem "Cormorant Garamond", serif;
        margin-top: 0;
    }

    .catechism-registration-note p {
        color: var(--muted);
        font-size: .82rem;
    }

    .catechism-registration-note a {
        color: #8c6422;
        font-size: .78rem;
        font-weight: 700;
        overflow-wrap: anywhere;
    }

@media (max-width: 950px) {
    .catechism-values {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .catechism-programme-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 750px) {
    .catechism-intro-grid,
    .catechism-explanation,
    .catechism-partnership-grid,
    .catechism-registration {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .catechism-registration {
        padding: 35px 28px;
    }
}

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

    .catechism-value {
        min-height: auto;
    }

    .catechism-scripture {
        padding: 30px;
    }

    .catechism-registration {
        padding: 28px 20px;
    }

    .catechism-registration-actions {
        align-items: stretch;
        flex-direction: column;
    }

        .catechism-registration-actions .button {
            justify-content: center;
        }
}
/* Bulletin library */
.bulletins-heading {
    display: flex;
    justify-content: space-between;
    gap: 45px;
    align-items: end;
    margin-bottom: 35px;
}

    .bulletins-heading p {
        max-width: 390px;
        color: var(--muted);
        margin: 0;
    }

.bulletin-library {
    border-top: 1px solid var(--line);
}

.bulletin-library-item {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr) auto;
    gap: 25px;
    align-items: center;
    padding: 25px 20px;
    border-bottom: 1px solid var(--line);
    transition: background-color .2s ease;
}

    .bulletin-library-item:hover {
        background: var(--cream);
    }

.bulletin-document-icon {
    width: 58px;
    height: 70px;
    display: grid;
    place-items: end center;
    position: relative;
    padding-bottom: 10px;
    color: #fff;
    background: var(--navy);
}

    .bulletin-document-icon::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        border-top: 15px solid #fff;
        border-left: 15px solid rgba(201, 155, 73, .8);
    }

    .bulletin-document-icon span {
        color: #edc77e;
        font-size: .6rem;
        font-weight: 800;
        letter-spacing: .1em;
    }

.bulletin-information {
    min-width: 0;
}

    .bulletin-information time {
        color: #946b27;
        font-size: .67rem;
        font-weight: 700;
        letter-spacing: .07em;
        text-transform: uppercase;
    }

    .bulletin-information h3 {
        color: var(--navy);
        font: 600 1.5rem/1.2 "Cormorant Garamond", serif;
        margin: 5px 0;
    }

    .bulletin-information p {
        max-width: 690px;
        color: var(--muted);
        font-size: .82rem;
        margin: 5px 0 0;
    }

.bulletin-actions {
    display: flex;
    min-width: 145px;
    flex-direction: column;
    gap: 9px;
    align-items: stretch;
    text-align: center;
}

    .bulletin-actions .button {
        justify-content: center;
    }

.bulletin-download-link {
    color: #8c6422;
    font-size: .7rem;
    font-weight: 700;
}

/* Individual bulletin viewer */
.bulletin-viewer-section {
    padding: 40px 0 80px;
    background: #e8edeb;
}

.bulletin-viewer-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 35px;
    align-items: center;
    padding: 20px 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
}

    .bulletin-viewer-toolbar p {
        color: var(--muted);
        font-size: .8rem;
        margin: 7px 0 0;
    }

.bulletin-back-link {
    color: var(--navy);
    font-size: .78rem;
    font-weight: 700;
}

.bulletin-viewer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bulletin-viewer-notice {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 11px 20px;
    color: #5a6870;
    background: #f8f4e9;
    border-bottom: 1px solid #e2d8c2;
}

    .bulletin-viewer-notice span {
        color: #946b27;
        font-size: 1.1rem;
    }

    .bulletin-viewer-notice p {
        font-size: .73rem;
        margin: 0;
    }

.bulletin-pdf-frame {
    padding: 10px;
    background: #cbd3d0;
    box-shadow: 0 18px 45px rgba(18, 43, 59, .16);
}

.bulletin-pdf-object {
    display: block;
    width: 100%;
    height: min(82vh, 1050px);
    min-height: 680px;
    background: #fff;
    border: 0;
}

.bulletin-pdf-fallback {
    padding: 80px 25px;
    text-align: center;
}

    .bulletin-pdf-fallback h2 {
        color: var(--navy);
        font: 600 2rem "Cormorant Garamond", serif;
    }

    .bulletin-pdf-fallback p {
        max-width: 550px;
        margin: 0 auto 25px;
        color: var(--muted);
    }

    .bulletin-pdf-fallback .bulletin-viewer-actions {
        justify-content: center;
    }

.bulletin-viewer-footer {
    padding-top: 25px;
}

@media (max-width: 750px) {
    .bulletins-heading,
    .bulletin-viewer-toolbar {
        display: block;
    }

        .bulletins-heading p {
            margin-top: 15px;
        }

    .bulletin-library-item {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 17px;
        padding: 22px 5px;
    }

    .bulletin-document-icon {
        width: 50px;
        height: 62px;
    }

    .bulletin-actions {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
    }

        .bulletin-actions .button {
            flex: 1;
        }

    .bulletin-viewer-actions {
        margin-top: 17px;
    }

    .bulletin-pdf-object {
        height: 75vh;
        min-height: 520px;
    }
}

@media (max-width: 480px) {
    .bulletin-actions {
        align-items: stretch;
        flex-direction: column;
        text-align: center;
    }

    .bulletin-viewer-toolbar {
        padding: 18px;
    }

    .bulletin-viewer-actions {
        flex-direction: column;
    }

        .bulletin-viewer-actions .button {
            justify-content: center;
        }

    .bulletin-pdf-frame {
        padding: 4px;
    }

    .bulletin-pdf-object {
        height: 70vh;
        min-height: 450px;
    }
}
/* Automatically extracted weekly Mass schedule */
.weekly-mass-schedule {
    background: #fff;
    border: 1px solid var(--line);
    border-top: 4px solid var(--gold);
}

.weekly-mass-schedule-heading {
    padding: 25px 30px 18px;
    border-bottom: 1px solid var(--line);
}

    .weekly-mass-schedule-heading span {
        display: block;
        margin-bottom: 7px;
        color: #946b27;
        font-size: .63rem;
        font-weight: 800;
        letter-spacing: .15em;
    }

    .weekly-mass-schedule-heading h2 {
        margin: 0;
        font-size: 2.1rem;
    }

.weekly-mass-schedule-text {
    padding: 28px 30px;
    color: #435660;
    font-size: .94rem;
    line-height: 1.9;
    white-space: pre-line;
}

@media (max-width: 600px) {
    .weekly-mass-schedule-heading,
    .weekly-mass-schedule-text {
        padding-right: 20px;
        padding-left: 20px;
    }
}
/* Homepage weekly Mass Times card */
.worship-section {
    position: relative;
    overflow: hidden;
}

    .worship-section::before {
        position: absolute;
        top: -160px;
        right: -130px;
        width: 360px;
        height: 360px;
        border: 1px solid rgba(201, 155, 73, 0.22);
        border-radius: 50%;
        content: "";
        pointer-events: none;
    }

.worship-title-row {
    position: relative;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}

    .worship-title-row h2 {
        margin-bottom: 0.45rem;
    }

    .worship-title-row p {
        margin: 0;
        color: #617079;
    }

.home-mass-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(18, 43, 59, 0.12);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(18, 43, 59, 0.1);
}

.home-mass-card-header {
    display: flex;
    align-items: center;
    gap: 1.35rem;
    padding: 1.7rem 2rem;
    color: #fff;
    background: radial-gradient(circle at 92% 0%, rgba(201, 155, 73, 0.28), transparent 38%), linear-gradient(135deg, #122b3b, #1b3d50);
}

.home-mass-calendar {
    display: flex;
    flex: 0 0 78px;
    min-height: 72px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    line-height: 1;
}

    .home-mass-calendar span {
        margin-bottom: 0.35rem;
        color: #e8cb94;
        font-size: 0.67rem;
        font-weight: 700;
        letter-spacing: 0.18em;
    }

    .home-mass-calendar strong {
        font-size: 1rem;
        letter-spacing: 0.08em;
    }

.home-mass-kicker {
    color: #e8cb94;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.home-mass-card-header h3 {
    margin: 0.25rem 0;
    color: #fff;
    font-size: clamp(1.45rem, 3vw, 2rem);
}

.home-mass-card-header p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
}

.home-mass-card-body {
    padding: 0.6rem 2rem;
}

.home-mass-list {
    display: grid;
}

.home-mass-row {
    display: grid;
    grid-template-columns: minmax(145px, 0.85fr) minmax(95px, 0.55fr) minmax(220px, 2fr);
    align-items: center;
    gap: 1rem;
    min-height: 68px;
    padding: 0.9rem 0.25rem;
    border-bottom: 1px solid #e3e9e7;
}

    .home-mass-row:last-child {
        border-bottom: 0;
    }

.home-mass-list.regular .home-mass-row {
    grid-template-columns: minmax(145px, 0.85fr) minmax(260px, 2.55fr);
}

.home-mass-day {
    color: #122b3b;
    font-weight: 700;
}

.home-mass-time strong {
    display: inline-flex;
    padding: 0.38rem 0.65rem;
    border-radius: 999px;
    color: #75551c;
    background: #f7edda;
    font-size: 0.88rem;
    white-space: nowrap;
}

.home-mass-time span {
    color: #9aa4aa;
}

.home-mass-description {
    color: #3c4b54;
    line-height: 1.45;
}

.home-mass-row.no-mass .home-mass-description {
    color: #8b5151;
    font-weight: 600;
}

.home-mass-row.no-mass .home-mass-day {
    color: #6f7477;
}

.home-mass-month {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 0.25rem 0.6rem;
    color: #9b6d20;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

    .home-mass-month::after {
        height: 1px;
        flex: 1;
        background: #ead8b8;
        content: "";
    }

.home-mass-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.25rem 2rem;
    border-top: 1px solid #e3e9e7;
    background: #f7f9f8;
}

    .home-mass-card-footer p {
        margin: 0;
        color: #5d6a71;
        font-size: 0.9rem;
    }

        .home-mass-card-footer p span {
            margin-right: 0.35rem;
            color: #a87829;
        }

@media (max-width: 760px) {
    .worship-title-row,
    .home-mass-card-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-mass-card-header,
    .home-mass-card-body,
    .home-mass-card-footer {
        padding-right: 1.2rem;
        padding-left: 1.2rem;
    }

    .home-mass-row,
    .home-mass-list.regular .home-mass-row {
        grid-template-columns: 1fr;
        gap: 0.4rem;
        padding: 1rem 0;
    }

    .home-mass-time strong {
        padding-left: 0;
        color: #9b6d20;
        background: transparent;
    }
}

@media (max-width: 460px) {
    .home-mass-calendar {
        display: none;
    }
}
/* Public Gallery albums */
.gallery-album + .gallery-album {
    margin-top: 4.5rem;
    padding-top: 3.5rem;
    border-top: 1px solid rgba(18, 43, 59, 0.12);
}

.gallery-album-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 1.6rem;
}

.gallery-album-eyebrow {
    display: block;
    margin-bottom: 0.45rem;
    color: #a87929;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.gallery-album-heading h2 {
    margin: 0;
    color: #122b3b;
    font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.gallery-album-heading p {
    max-width: 720px;
    margin: 0.55rem 0 0;
    color: #64727a;
}

.gallery-photo-count {
    flex: 0 0 auto;
    padding: 0.42rem 0.75rem;
    border-radius: 999px;
    color: #75551c;
    background: #f5ead6;
    font-size: 0.78rem;
    font-weight: 700;
}

.gallery-album .gallery-item {
    overflow: hidden;
    margin: 0;
    border-radius: 10px;
    background: #edf1ef;
    box-shadow: 0 8px 22px rgba(18, 43, 59, 0.09);
}

    .gallery-album .gallery-item a {
        display: block;
        height: 100%;
    }

    .gallery-album .gallery-item img {
        display: block;
        width: 100%;
        height: 230px;
        object-fit: cover;
        transition: transform 220ms ease, filter 220ms ease;
    }

    .gallery-album .gallery-item:hover img,
    .gallery-album .gallery-item:focus-within img {
        filter: brightness(0.94);
        transform: scale(1.025);
    }

@media (max-width: 640px) {
    .gallery-album + .gallery-album {
        margin-top: 3rem;
        padding-top: 2.5rem;
    }

    .gallery-album-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.8rem;
    }

    .gallery-album .gallery-item img {
        height: 210px;
    }
}
/* Bulletin Upcoming Events shown under Save the Date */
.bulletin-events-board {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.14);
}

.bulletin-events-month {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.4rem 0.7rem;
    color: #e8c989;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

    .bulletin-events-month::after {
        height: 1px;
        flex: 1;
        background: rgba(232, 201, 137, 0.34);
        content: "";
    }

.bulletin-event-row {
    display: grid;
    grid-template-columns: minmax(155px, 0.75fr) minmax(260px, 2.25fr);
    align-items: center;
    gap: 1.3rem;
    min-height: 66px;
    margin: 0 1.4rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

    .bulletin-event-row:last-child {
        border-bottom: 0;
    }

.bulletin-event-date {
    color: #fff;
    font-weight: 750;
}

.bulletin-event-description {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.5;
}

@media (max-width: 650px) {
    .bulletin-event-row {
        grid-template-columns: 1fr;
        gap: 0.3rem;
        padding: 1rem 0;
    }

    .bulletin-events-month,
    .bulletin-event-row {
        margin-right: 1rem;
        margin-left: 1rem;
    }

    .bulletin-events-month {
        padding-right: 0;
        padding-left: 0;
    }
}
/* Holy Mass booking page */
.mass-booking-section {
    background: #f5f6f4;
}

.mass-booking-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, .8fr);
    gap: 32px;
    align-items: start;
}

.mass-booking-card,
.mass-booking-help {
    background: #fff;
    border: 1px solid #dce2df;
}

.mass-booking-card {
    padding: clamp(24px, 4vw, 48px);
}

.mass-booking-help {
    padding: 30px;
    border-top: 4px solid var(--gold);
}

    .mass-booking-intro h2,
    .mass-booking-help h3 {
        color: var(--navy);
    }

.mass-booking-intro h2 {
    margin: 8px 0 10px;
    font-size: clamp(1.7rem, 3vw, 2.25rem);
}

.booking-information,
.booking-reminder-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.booking-information {
    margin: 26px 0 30px;
    padding: 17px 18px;
    color: #293c47;
    background: #f7f2e8;
    border-left: 4px solid var(--gold);
}

    .booking-information p,
    .booking-reminder-card p {
        margin: 4px 0 0;
    }

.booking-information-icon {
    display: grid;
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    place-items: center;
    color: #fff;
    background: var(--navy);
    border-radius: 50%;
    font-weight: 700;
}

.booking-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.booking-field {
    margin-bottom: 22px;
}

    .booking-field label {
        display: block;
        margin-bottom: 7px;
        color: var(--navy);
        font-weight: 700;
    }

    .booking-field .form-control {
        width: 100%;
        min-height: 48px;
        border: 1px solid #bdc8c4;
        border-radius: 2px;
        background: #fff;
    }

    .booking-field textarea.form-control {
        min-height: 110px;
    }

    .booking-field .form-control:focus {
        border-color: var(--gold);
        box-shadow: 0 0 0 3px rgba(201, 155, 73, .18);
    }

    .booking-field small {
        display: block;
        margin-top: 6px;
        color: #68777e;
    }

.booking-consent {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 5px 10px;
    margin: 4px 0 25px;
    padding: 17px;
    background: #f5f7f6;
}

    .booking-consent input {
        width: 18px;
        height: 18px;
        margin-top: 3px;
        accent-color: var(--navy);
    }

    .booking-consent .text-danger {
        grid-column: 2;
    }

.booking-validation-summary:empty {
    display: none;
}

.booking-validation-summary:not(:empty) {
    margin-bottom: 22px;
    padding: 14px 18px;
    color: #812626;
    background: #fff1f1;
    border-left: 4px solid #b53b3b;
}

.booking-validation-summary ul {
    margin: 0;
}

.booking-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.booking-submit {
    min-width: 230px;
    border: 0;
    cursor: pointer;
}

.booking-reminder-card {
    margin: 24px 0;
    padding: 18px;
    background: #fff4d8;
    border: 1px solid #ead39f;
}

    .booking-reminder-card > span {
        color: var(--navy);
        font-size: 1.4rem;
    }

.booking-dialog {
    width: min(92vw, 520px);
    padding: clamp(25px, 5vw, 42px);
    color: #20303a;
    text-align: center;
    border: 0;
    border-top: 6px solid var(--gold);
    box-shadow: 0 20px 70px rgba(10, 31, 42, .3);
}

    .booking-dialog::backdrop {
        background: rgba(10, 31, 42, .72);
    }

.booking-dialog-icon {
    display: grid;
    width: 62px;
    height: 62px;
    margin: 0 auto 18px;
    place-items: center;
    color: #fff;
    background: #28744c;
    border-radius: 50%;
    font-size: 1.8rem;
}

.booking-dialog h2 {
    color: var(--navy);
}

.booking-dialog-reminder {
    margin: 20px 0;
    padding: 16px;
    background: #fff4d8;
}

    .booking-dialog-reminder strong {
        display: block;
    }

.booking-dialog-small {
    color: #5e6d74;
    font-size: .92rem;
}

@media (max-width: 850px) {
    .mass-booking-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 580px) {
    .booking-field-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .booking-submit {
        width: 100%;
        min-width: 0;
    }
}
/* Bulletin contributor workflow */
.contributor-section {
    background: #f3f5f4;
}

.contributor-narrow {
    max-width: 850px;
}

.contributor-wide {
    max-width: 1320px;
}

.contributor-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 28px;
    color: #6c787e;
}

    .contributor-steps > div {
        position: relative;
        display: flex;
        gap: 9px;
        align-items: center;
        padding-right: 12px;
    }

        .contributor-steps > div:not(:last-child)::after {
            content: "";
            height: 2px;
            flex: 1;
            background: #ccd5d1;
        }

    .contributor-steps b {
        display: grid;
        flex: 0 0 32px;
        width: 32px;
        height: 32px;
        place-items: center;
        border: 2px solid #aebbb6;
        border-radius: 50%;
    }

    .contributor-steps .active {
        color: var(--navy);
        font-weight: 700;
    }

        .contributor-steps .active b {
            color: #fff;
            background: var(--navy);
            border-color: var(--navy);
        }

    .contributor-steps .done b {
        color: #fff;
        background: #28744c;
        border-color: #28744c;
    }

.contributor-card,
.extraction-review-card,
.contributor-complete-card {
    background: #fff;
    border: 1px solid #d9e0dd;
    box-shadow: 0 12px 35px rgba(18, 43, 59, .06);
}

.contributor-card {
    padding: clamp(25px, 5vw, 48px);
}

    .contributor-card h2,
    .contributor-review-heading h2,
    .extraction-review-card h3,
    .contributor-complete-card h1 {
        color: var(--navy);
    }

.contributor-notice {
    margin: 24px 0;
    padding: 16px 18px;
    background: #f7f2e8;
    border-left: 4px solid var(--gold);
}

.contributor-card .form-group {
    margin-bottom: 23px;
}

.contributor-card label,
.extraction-review-card > label {
    display: block;
    margin: 13px 0 7px;
    color: var(--navy);
    font-weight: 700;
}

.bulletin-drop-zone {
    padding: 25px;
    background: #f7f9f8;
    border: 2px dashed #b9c6c0;
}

    .bulletin-drop-zone small {
        display: block;
        margin-top: 8px;
    }

.selected-pdf {
    margin-top: 10px;
    color: #28744c;
    font-weight: 700;
}

.ocr-overlay[hidden] {
    display: none;
}

.ocr-overlay {
    position: fixed;
    z-index: 10000;
    inset: 0;
    display: grid;
    padding: 20px;
    place-items: center;
    background: rgba(8, 28, 39, .86);
}

.ocr-progress-card {
    width: min(520px, 100%);
    padding: 42px;
    text-align: center;
    background: #fff;
    border-top: 6px solid var(--gold);
}

.ocr-spinner {
    width: 58px;
    height: 58px;
    margin: 0 auto 20px;
    border: 5px solid #dce5e1;
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: contributor-spin 1s linear infinite;
}

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

.ocr-progress-card h2 {
    color: var(--navy);
}

.ocr-progress-list {
    display: grid;
    gap: 9px;
    margin: 24px 0;
    text-align: left;
}

.ocr-processing {
    overflow: hidden;
}

.contributor-review-heading {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    margin-bottom: 24px;
}

.extraction-review-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.extraction-review-card {
    padding: clamp(20px, 3vw, 32px);
}

    .extraction-review-card header {
        display: flex;
        justify-content: space-between;
        gap: 15px;
        align-items: flex-start;
        margin-bottom: 22px;
    }

    .extraction-review-card h3 {
        margin: 5px 0 0;
    }

.extraction-success,
.extraction-failed {
    padding: 5px 10px;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.extraction-success {
    color: #14623d;
    background: #e5f4eb;
}

.extraction-failed {
    color: #8b2d2d;
    background: #fdecec;
}

.extraction-text {
    width: 100%;
    min-height: 360px;
    white-space: pre-wrap;
    line-height: 1.55;
}

.apply-choice {
    display: flex !important;
    gap: 10px;
    align-items: flex-start;
    margin-top: 18px !important;
    padding: 15px;
    background: #edf5f0;
}

    .apply-choice input {
        width: 18px;
        height: 18px;
        margin-top: 2px;
        accent-color: #28744c;
    }

.extraction-warning {
    padding: 15px;
    color: #7c3030;
    background: #fff0f0;
}

.contributor-review-actions {
    margin-top: 25px;
}

.cancel-extraction-form {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 14px;
}

    .cancel-extraction-form small {
        color: #68767d;
    }

.contributor-complete-card {
    padding: clamp(35px, 7vw, 70px);
    text-align: center;
}

.complete-check {
    display: grid;
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    place-items: center;
    color: #fff;
    background: #28744c;
    border-radius: 50%;
    font-size: 2rem;
}

.contributor-complete-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-top: 28px;
}

.bulletin-link-panel {
    max-width: 900px;
    padding: 30px;
}

.bulletin-security-note {
    margin-bottom: 25px;
    padding: 16px;
    background: #fff4d8;
    border-left: 4px solid #c99b49;
}

    .bulletin-security-note strong {
        display: block;
    }

.generated-link-box {
    margin-bottom: 28px;
    padding: 22px;
    background: #eef5f1;
    border: 1px solid #c7d9cf;
}

.generated-link-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

.bulletin-link-status {
    margin-bottom: 25px;
}

.bulletin-link-form {
    max-width: 360px;
}

@media (max-width: 850px) {
    .extraction-review-grid {
        grid-template-columns: 1fr;
    }

    .contributor-review-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .contributor-steps span {
        display: none;
    }

    .contributor-steps > div:not(:last-child)::after {
        min-width: 25px;
    }

    .cancel-extraction-form,
    .contributor-complete-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .generated-link-row {
        grid-template-columns: 1fr;
    }
}
/* Show complete News posters without cropping */
.public-card-image {
    display: block;
    width: 100%;
    height: 320px;
    object-fit: contain;
    object-position: center;
    background: #f7f2e8;
}

/* Show the original poster proportions on the News details page */
.article-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center;
    margin-bottom: 35px;
}
/* Make the complete News card clickable */
.content-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .content-card-link:hover,
    .content-card-link:focus {
        color: inherit;
        text-decoration: none;
        transform: translateY(-4px);
        box-shadow: 0 18px 38px rgba(18, 43, 59, 0.16);
    }

    .content-card-link:focus-visible {
        outline: 3px solid var(--gold);
        outline-offset: 4px;
    }

    .content-card-link .public-card-image {
        transition: transform 0.25s ease;
    }

    .content-card-link:hover .public-card-image,
    .content-card-link:focus .public-card-image {
        transform: scale(1.02);
    }

.card-read-link {
    display: inline-block;
    margin-top: auto;
    color: var(--navy);
    font-weight: 700;
}
