﻿/* =========================================================
   REDESIGN TOKENS
   ========================================================= */
html {
    scroll-behavior: smooth;
}

:root {
    --parish-navy: #062b49;
    --parish-navy-dark: #031d31;
    --parish-gold: #d6a936;
    --parish-gold-light: #e3c06a;
    --parish-red: #8b1f25;

    --parish-cream: #f7f4ee;
    --parish-white: #ffffff;
    --parish-text: #17232e;
    --parish-muted: #697681;
    --parish-border: #e5e8ea;

    --parish-container: 1240px;
    --parish-container-wide: 1450px;

    --parish-radius-sm: 8px;
    --parish-radius: 16px;
    --parish-radius-lg: 24px;

    --parish-shadow:
        0 10px 35px rgba(5, 30, 50, .10);

    --parish-shadow-hover:
        0 18px 50px rgba(5, 30, 50, .16);

    --parish-transition:
        300ms cubic-bezier(.2,.7,.3,1);
}


/* =========================================================
   BASE / JOOMLA COMPONENT
   ========================================================= */
#sp-main-body {
    padding-top: 0;
    padding-bottom: 0;
}

#sp-main-body .com-content-article {
    padding: 0;
    margin: 0;
}

.parish-redesign-component {
    display: none;
}


/* =========================================================
   HERO
   ========================================================= */
.parish-hero {
    position: relative;
    min-height: 760px;
    height: 86svh;
    max-height: 920px;
    overflow: hidden;
    color: #fff;
}

.parish-hero__bg {
    position: absolute;
    inset: 0;
    background:
        url('/images/redesign/hero-zupa2.jpg')
        center center / cover no-repeat;

    transform: scale(1.05);
    animation: parishHeroZoom 1.5s ease-out forwards;
}


.parish-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    background: linear-gradient(
        90deg,
        rgba(3, 29, 49, .88) 0%,
        rgba(3, 29, 49, .70) 31%,
        rgba(3, 29, 49, .34) 52%,
        rgba(3, 29, 49, .08) 76%,
        rgba(3, 29, 49, 0) 100%
    );
}



.parish-hero__inner {
    position: relative;
    z-index: 2;

    width: min(calc(100% - 80px), var(--parish-container-wide));
    min-height: 680px;

    margin: 0 auto;

    display: flex;
    align-items: center;
}

.parish-hero__content {
    max-width: 720px;
    padding-top: 70px;

    opacity: 0;
    transform: translateY(25px);

    animation:
        parishHeroContent .9s ease-out .25s forwards;
}

.parish-hero__eyebrow {
    color: var(--parish-gold-light);
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: .82rem;
    font-weight: 700;
    margin-bottom: 18px;
}


.parish-hero h1 {
    margin: 0;
    color: #fff;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(58px, 4.4vw, 82px);
    font-weight: 500;

    line-height: .92;
    letter-spacing: -.02em;
}

.parish-hero__location1 {
    margin-top: 18px;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(42px, 3vw, 58px);
    font-weight: 500;
    font-style: italic;

    line-height: 1;

    color: var(--parish-gold);
}

.parish-hero__location2 {
    margin-top: 18px;

    font-family: "Great Vibes", cursive;
    font-size: clamp(50px, 3.6vw, 70px);
    font-weight: 400;
    font-style: normal;

    line-height: 1;
    letter-spacing: .01em;

    color: #a52b32;

    text-shadow:
        0 1px 2px rgba(255,255,255,.18),
        0 2px 6px rgba(0,0,0,.20);
}
.parish-hero__location3 {
    margin-top: 14px;

    font-family: "Alex Brush", cursive;
    font-size: clamp(46px, 3.3vw, 64px);
    font-weight: 400;
    font-style: normal;

    line-height: 1;
    letter-spacing: .01em;

    color: var(--parish-gold);

    text-shadow:
        0 1px 2px rgba(0,0,0,.18),
        0 2px 6px rgba(0,0,0,.22);
    
    transform: rotate(-2deg);
    transform-origin: left center;
}

.parish-hero__location {
    margin-top: 14px;

    font-family: "Allura", cursive;
    font-size: clamp(60px, 3.4vw, 66px);
    font-weight: 400;
    font-style: normal;

    line-height: 1;
    letter-spacing: .01em;

    color: var(--parish-gold);

    text-shadow:
        0 1px 2px rgba(0,0,0,.18),
        0 2px 6px rgba(0,0,0,.22);
    transform: rotate(-10deg);
    transform-origin: left center;
}


.parish-hero__lead {
    max-width: 560px;
    margin: 22px 0 32px;
    font-size: 1.08rem;
    color: rgba(255,255,255,.84);
}

.parish-hero__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 34px;
}

.parish-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;
    padding: 0 25px;

    border-radius: 4px;

    text-decoration: none;
    text-transform: uppercase;

    letter-spacing: .06em;
    font-size: .82rem;
    font-weight: 700;

    transition: var(--parish-transition);
}

.parish-btn--gold {
    color: var(--parish-navy-dark);
    background: var(--parish-gold);
}

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

.parish-btn--outline {
    color: #fff;
    border: 1px solid rgba(255,255,255,.7);
}

.parish-btn--outline:hover {
    color: #fff;
    border-color: #fff;
    background: rgba(255,255,255,.1);
}

@keyframes parishHeroZoom {
    to {
        transform: scale(1);
    }
}

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


/* =========================================================
   HEADER
   ========================================================= */
#sp-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;

    width: 100%;
    z-index: 1000;

    background: transparent !important;
    box-shadow: none !important;

    transition:
        background .3s ease,
        box-shadow .3s ease,
        backdrop-filter .3s ease;
}

#sp-header .sp-megamenu-parent > li > a,
#sp-header .sp-megamenu-parent > li > span {
    color: #fff;
}

#sp-header.header-sticky {
    position: fixed;

    background:
        rgba(3,29,49,.94) !important;

    backdrop-filter: blur(12px);

    box-shadow:
        0 5px 25px rgba(0,0,0,.12) !important;
}


/* =========================================================
   QUICK INFO CARDS
   ========================================================= */
.parish-quick {
    position: relative;
    z-index: 20;
}

.parish-quick__inner {
    width: min(calc(100% - 48px), var(--parish-container-wide));
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;

    transform: translateY(-52px);
}

.parish-info-card {
    min-height: 126px;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 26px;
    background: #fff;
    border: 1px solid rgba(3, 29, 49, .06);
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(3, 29, 49, .10);
    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.parish-info-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 18px 45px rgba(3, 29, 49, .17);
}

.parish-info-card__icon {
    flex: 0 0 66px;

    width: 66px;
    height: 66px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #fff;

    font-size: 27px;
}

.parish-info-card__icon--blue {
    background: var(--parish-navy);
}

.parish-info-card__icon--gold {
    background: var(--parish-gold);
}

.parish-info-card__icon--red {
    background: var(--parish-red);
}

.parish-info-card__content {
    min-width: 0;
}

.parish-info-card__label {
    margin-bottom: 5px;

    color: var(--parish-text);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: .035em;
    text-transform: uppercase;
}

.parish-info-card__value {
    color: var(--parish-navy-dark);

    font-size: 27px;
    line-height: 1.05;
    font-weight: 700;
}

.parish-info-card__value--small {
    font-size: 21px;
}

.parish-info-card__value--phone {
    font-size: 20px;
}

.parish-info-card__value a {
    color: inherit;
    text-decoration: none;
}

.parish-info-card__meta {
    margin-top: 6px;

    color: var(--parish-muted);

    font-size: 12px;
}

.parish-info-card__meta a {
    color: inherit;
    text-decoration: none;
}

.parish-info-card__meta a:hover {
    color: var(--parish-gold);
}

@media (max-width: 1100px) {

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

}

@media (max-width: 620px) {

    .parish-quick__inner {
        width: min(calc(100% - 28px), var(--parish-container-wide));

        grid-template-columns: 1fr;

        transform: translateY(-30px);
    }

    .parish-info-card {
        min-height: 105px;

        padding: 19px 20px;
    }

    .parish-info-card__icon {
        flex-basis: 56px;

        width: 56px;
        height: 56px;

        font-size: 23px;
    }

}
.parish-info-card__icon-img {
    display: block;

    width: 36px;
    height: 36px;

    object-fit: contain;

    transition: transform .3s ease;
}

.parish-info-card:hover .parish-info-card__icon-img {
    transform: scale(1.08);
}


/* =========================================================
   NEWS + EVENTS
   ========================================================= */
.parish-main-row {
    padding-top: 12px;
    padding-bottom: 80px;

    background: #fff;
}

.parish-section-header {
    min-height: 54px;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 24px;
}

.parish-section-title {
    margin: 0;

    color: var(--parish-navy-dark);

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 29px;
    font-weight: 600;

    line-height: 1.1;
}

.parish-section-line {
    display: block;

    width: 42px;
    height: 2px;

    margin-top: 11px;

    background: var(--parish-gold);
}

.parish-section-more {
    margin-top: 7px;

    color: var(--parish-navy);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: .03em;

    text-decoration: none;
    text-transform: uppercase;

    transition: color .25s ease;
}

.parish-section-more span {
    margin-left: 6px;
}

.parish-section-more:hover {
    color: var(--parish-gold);
}

.parish-news__grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 22px;
}

.parish-news-card {
    overflow: hidden;

    display: flex;
    flex-direction: column;

    min-width: 0;

    background: #fff;

    border: 1px solid rgba(3, 29, 49, .08);
    border-radius: 12px;

    box-shadow:
        0 7px 26px rgba(3, 29, 49, .07);

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.parish-news-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 16px 38px rgba(3, 29, 49, .13);
}

.parish-news-card__image {
    display: block;

    position: relative;

    overflow: hidden;

    aspect-ratio: 16 / 10;

    background: #e8ecef;
}

.parish-news-card__image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform .5s ease;
}

.parish-news-card:hover .parish-news-card__image img {
    transform: scale(1.045);
}

.parish-news-card__placeholder {
    position: absolute;
    inset: 0;

    display: block;

    background:
        linear-gradient(
            135deg,
            #edf0f1,
            #dfe5e8
        );
}
.parish-news-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px 20px 20px;
}

.parish-news-card__date {
    margin-bottom: 9px;  
    color: #8d959c;
    font-size: 12px;
}

.parish-news-card__date-label {
    margin-right: 3px;
    font-weight: 400;
}

.parish-news-card__title {
    margin: 0 0 11px;
    /*font-size: 24px;*/
    font-weight: 700;
    line-height: 1.25;
}

.parish-news-card__title a {
    color: var(--parish-navy-dark);
    text-decoration: none;
}

.parish-news-card__title a:hover {
    color: var(--parish-gold);
}

.parish-news-card__intro {
    flex: 1;

    color: var(--parish-text);

    font-family: inherit;
    font-size: inherit;
    font-weight: 400;
    line-height: 1.55;
}

.parish-news-card__intro p {
    margin: 0;
}

.parish-news-card__more {
    display: inline-flex;
    align-items: center;

    margin-top: 17px;

    color: var(--parish-navy);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: .04em;

    text-decoration: none;
    text-transform: uppercase;
}

.parish-news-card__more span {
    margin-left: 7px;

    transition: transform .25s ease;
}

.parish-news-card__more:hover {
    color: var(--parish-gold);
}

.parish-news-card__more:hover span {
    transform: translateX(4px);
}

.parish-events {
    padding-left: 22px;
    border-left:
        1px solid rgba(3, 29, 49, .10);
}

.parish-events .parish-section-header > div::after {
    content: "";

    display: block;

    width: 42px;
    height: 2px;

    margin-top: 11px;

    background: var(--parish-gold);
}

.parish-events__timeline {
    position: relative;
}

.parish-event {
    position: relative;
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 18px;
    min-height: 92px;
    padding-bottom: 18px;
}

.parish-event:not(:last-child)::after {
    content: "";

    position: absolute;

    left: 28px;
    top: 59px;
    bottom: -1px;

    width: 1px;

    background: rgba(214, 169, 54, .55);
}

.parish-event__date {
    position: relative;
    z-index: 2;

    width: 58px;
    height: 58px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background: #fff;

    border: 1.5px solid var(--parish-gold);
    border-radius: 50%;

    color: var(--parish-navy-dark);
}

.parish-event__day {
    font-family: "Cormorant Garamond", Georgia, serif;

    font-size: 20px;
    font-weight: 700;

    line-height: .9;
}

.parish-event__month {
    margin-top: 3px;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: .08em;
}

.parish-event__content {
    padding-top: 4px;
}

.parish-event__content h3 {
    margin: 0 0 5px;

    color: var(--parish-text);

    font-family: inherit;
    font-size: inherit;
    font-weight: 400;
    line-height: 1.55;
}

.parish-event__place,
.parish-event__time {
    color: var(--parish-muted);

    font-family: inherit;
    font-size: inherit;
    font-weight: 400;
    line-height: 1.55;
}

.parish-events__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;

    margin-top: 6px;
    margin-left: 76px;

    padding: 0 20px;

    background: var(--parish-navy);

    border-radius: 4px;

    color: #fff;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: .045em;

    text-decoration: none;
    text-transform: uppercase;

    transition:
        background .25s ease,
        transform .25s ease;
}

.parish-events__button span {
    margin-left: 8px;
}

.parish-events__button:hover {
    color: #fff;

    background: var(--parish-gold);

    transform: translateY(-2px);
}

@media (max-width: 1199px) {

    .parish-news__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 991px) {

    .parish-main-row {
        padding-top: 20px;
    }

    .parish-events {
        margin-top: 50px;
        padding-left: 0;

        border-left: 0;
    }

}


@media (max-width: 650px) {

    .parish-news__grid {
        grid-template-columns: 1fr;
    }

    .parish-section-title {
        font-size: 26px;
    }

    .parish-section-header {
        align-items: center;
    }

}


/* =========================================================
   FEATURED
   ========================================================= */
.parish-featured {
    position: relative;

    display: grid;
    grid-template-columns: 1.15fr .85fr;

    min-height: 310px;

    overflow: hidden;

    background: var(--parish-navy);

    border-radius: 14px;

    box-shadow:
        0 12px 36px rgba(3, 29, 49, .12);
}

.parish-featured__media {
    position: relative;

    overflow: hidden;
}

.parish-featured__media::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(3,29,49,0) 55%,
            rgba(3,29,49,.65) 100%
        );
}

.parish-featured__media img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform .7s ease;
}

.parish-featured:hover .parish-featured__media img {
    transform: scale(1.035);
}

.parish-featured__content {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 48px 52px;

    color: #fff;
}

.parish-featured__eyebrow {
    margin-bottom: 10px;

    color: var(--parish-gold);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: .12em;
    text-transform: uppercase;
}

.parish-featured__content h2 {
    margin: 0 0 15px;

    color: #fff;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 38px;
    font-weight: 600;

    line-height: 1.05;
}

.parish-featured__content p {
    margin: 0 0 25px;

    max-width: 440px;

    color: rgba(255,255,255,.82);

    font-size: 15px;
    line-height: 1.6;
}

.parish-featured__button {
    align-self: flex-start;

    display: inline-flex;
    align-items: center;

    min-height: 46px;

    padding: 0 20px;

    background: var(--parish-gold);

    border-radius: 4px;

    color: var(--parish-navy-dark);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: .04em;

    text-decoration: none;
    text-transform: uppercase;

    transition:
        transform .25s ease,
        background .25s ease;
}

.parish-featured__button span {
    margin-left: 8px;
}

.parish-featured__button:hover {
    color: var(--parish-navy-dark);

    background: var(--parish-gold-light);

    transform: translateY(-2px);
}

@media (max-width: 900px) {

    .parish-featured {
        grid-template-columns: 1fr;
    }

    .parish-featured__media {
        min-height: 260px;
    }

    .parish-featured__content {
        padding: 34px 30px 38px;
    }

}


/* =========================================================
   LIFE OF THE PARISH
   ========================================================= */

.parish-life {
    position: relative;

    overflow: hidden;

    padding: 68px 34px 72px;

    background:
        radial-gradient(
            circle at 10% 15%,
            rgba(214,169,54,.12) 0,
            rgba(214,169,54,0) 30%
        ),
        radial-gradient(
            circle at 92% 88%,
            rgba(6,43,73,.08) 0,
            rgba(6,43,73,0) 30%
        ),
        linear-gradient(
            180deg,
            #fbfaf6 0%,
            #f6f3eb 100%
        );

    border:
        1px solid rgba(3,29,49,.06);

    border-radius: 24px;
}


/* suptilni dekorativni krug u pozadini */

.parish-life::before {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    right: -120px;
    top: -150px;

    border:
        1px solid rgba(214,169,54,.16);

    border-radius: 50%;

    pointer-events: none;
}


/* druga dekorativna linija */

.parish-life::after {
    content: "";

    position: absolute;

    width: 150px;
    height: 150px;

    right: -45px;
    top: -72px;

    border:
        1px solid rgba(214,169,54,.12);

    border-radius: 50%;

    pointer-events: none;
}


/* ---------------------------------------------------------
   HEADER
   --------------------------------------------------------- */

.parish-life__header {
    position: relative;
    z-index: 2;

    margin-bottom: 34px;

    text-align: center;
}

.parish-life__eyebrow {
    margin-bottom: 7px;

    color: var(--parish-gold);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: .15em;

    text-transform: uppercase;
}

.parish-life__title {
    margin: 0;

    color: var(--parish-navy-dark);

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 34px;
    font-weight: 600;

    line-height: 1.1;
}


/* žuta crtica */

.parish-life__header::after {
    content: "";

    display: block;

    width: 42px;
    height: 2px;

    margin: 12px auto 0;

    background:
        var(--parish-gold);
}


/* ---------------------------------------------------------
   GRID
   --------------------------------------------------------- */

.parish-life__grid {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        repeat(6, minmax(0, 1fr));

    gap: 16px;
}


/* ---------------------------------------------------------
   CARD
   --------------------------------------------------------- */

.parish-life-card {
    position: relative;

    overflow: hidden;

    aspect-ratio: 4 / 5;

    background:
        var(--parish-navy-dark);

    border:
        1px solid rgba(255,255,255,.55);

    border-radius: 13px;

    box-shadow:
        0 9px 28px rgba(3,29,49,.11);

    transform:
        translateZ(0);

    transition:
        transform .35s cubic-bezier(.2,.7,.3,1),
        box-shadow .35s ease,
        border-color .35s ease;
}


/* slika */

.parish-life-card > img {
    position: absolute;

    inset: 0;

    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .65s cubic-bezier(.2,.7,.3,1),
        filter .45s ease;
}


/* gradient preko fotografije */

.parish-life-card::after {
    content: "";

    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            180deg,
            rgba(3,29,49,0) 25%,
            rgba(3,29,49,.05) 42%,
            rgba(3,29,49,.52) 74%,
            rgba(3,29,49,.91) 100%
        );

    pointer-events: none;

    transition:
        background .35s ease;
}


/* mali dekorativni "pečat" */

.parish-life-card::before {
    content: "✦";

    position: absolute;

    z-index: 3;

    top: 13px;
    right: 13px;

    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    color:
        var(--parish-gold-light);

    background:
        rgba(3,29,49,.58);

    border:
        1px solid rgba(255,255,255,.20);

    border-radius: 50%;

    -webkit-backdrop-filter:
        blur(5px);

    backdrop-filter:
        blur(5px);

    font-size: 14px;

    box-shadow:
        0 3px 12px rgba(0,0,0,.15);
}


/* ---------------------------------------------------------
   TITLE AREA
   --------------------------------------------------------- */

.parish-life-card__content {
    position: absolute;

    z-index: 3;

    left: 0;
    right: 0;
    bottom: 0;

    display: flex;
    justify-content: center;

    padding:
        18px 11px 16px;

    text-align: center;
}

.parish-life-card__title {
    display: inline-flex;
    align-items: center;

    padding:
        7px 13px 8px;

    color: #fff;

    background:
        rgba(19,29,39,.56);

    border:
        1px solid rgba(255,255,255,.13);

    border-radius:
        999px;

    -webkit-backdrop-filter:
        blur(6px);

    backdrop-filter:
        blur(6px);

    font-family:
        "Yanone Kaffeesatz",
        sans-serif;

    font-size: 19px;
    font-weight: 500;

    letter-spacing:
        .025em;

    line-height: 1;

    text-shadow:
        0 1px 4px rgba(0,0,0,.35);

    transition:
        background .3s ease,
        transform .3s ease;
}


/* mali zlatni detalj prije teksta */

.parish-life-card__title::before {
    content: "";

    width: 5px;
    height: 5px;

    margin-right: 8px;

    flex: 0 0 5px;

    background:
        var(--parish-gold);

    border-radius: 50%;
}


/* ---------------------------------------------------------
   HOVER
   --------------------------------------------------------- */

@media (hover: hover) {

    .parish-life-card:hover {
        transform:
            translateY(-7px);

        border-color:
            rgba(214,169,54,.38);

        box-shadow:
            0 18px 42px
            rgba(3,29,49,.19);
    }

    .parish-life-card:hover > img {
        transform:
            scale(1.06);

        filter:
            saturate(1.04)
            contrast(1.02);
    }

    .parish-life-card:hover::after {
        background:
            linear-gradient(
                180deg,
                rgba(3,29,49,0) 20%,
                rgba(3,29,49,.04) 40%,
                rgba(3,29,49,.57) 71%,
                rgba(3,29,49,.96) 100%
            );
    }

    .parish-life-card:hover
    .parish-life-card__title {
        background:
            rgba(19,29,39,.72);

        transform:
            translateY(-2px);
    }
}


/* ---------------------------------------------------------
   TABLET
   --------------------------------------------------------- */

@media (max-width: 1100px) {

    .parish-life__grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap: 18px;
    }
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 760px) {

    .parish-life {
        padding:
            50px 22px 55px;
    }

    .parish-life__title {
        font-size: 30px;
    }
}


@media (max-width: 620px) {

    .parish-life {
        padding-left: 18px;
        padding-right: 18px;

        border-radius: 18px;
    }

    .parish-life__grid {
        display: flex;

        gap: 14px;

        overflow-x: auto;

        padding:
            3px 2px 18px;

        scroll-snap-type:
            x mandatory;

        scrollbar-width:
            none;

        -webkit-overflow-scrolling:
            touch;
    }

    .parish-life__grid::-webkit-scrollbar {
        display: none;
    }

    .parish-life-card {
        flex:
            0 0 72vw;

        max-width:
            285px;

        scroll-snap-align:
            start;
    }

}


/* ---------------------------------------------------------
   REDUCED MOTION
   --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

    .parish-life-card,
    .parish-life-card > img,
    .parish-life-card__title {
        transition: none;
    }

    .parish-life-card:hover,
    .parish-life-card:hover > img {
        transform: none;
    }
}


/* =========================================================
   QUOTE
   ========================================================= */
.parish-quote-row {
    padding: 0 !important;
}

.parish-quote {
    position: relative;

    overflow: hidden;

    width: 100%;

    background:
        radial-gradient(
            circle at 50% 50%,
            rgba(255,255,255,.12) 0,
            rgba(255,255,255,0) 48%
        ),
        linear-gradient(
            110deg,
            #b98522 0%,
            #d7a536 42%,
            #c28d27 100%
        );

    color: #fff;
}
.parish-quote__inner {
    position: relative;
    z-index: 2;

    width: min(calc(100% - 48px), 1240px);

    min-height: 190px;

    margin: 0 auto;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 42px 20px;

    text-align: center;
}
.parish-quote__text {
    position: relative;

    max-width: 920px;

    margin: 0;

    color: #fff;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size:
        clamp(34px, 3vw, 52px);

    font-weight: 500;
    font-style: italic;

    line-height: 1.15;

    text-shadow:
        0 2px 8px rgba(72, 42, 0, .15);
}
.parish-quote__reference {
    margin-top: 13px;

    color: rgba(255,255,255,.84);

    font-family:
        inherit;

    font-size: 13px;
    font-style: normal;
    font-weight: 500;

    letter-spacing: .04em;
}
.parish-quote__mark {
    position: absolute;

    color: rgba(255,255,255,.16);

    font-family: Georgia, serif;
    font-size: 150px;
    font-weight: 700;

    line-height: 1;

    pointer-events: none;
    user-select: none;
}

.parish-quote__mark--left {
    left: 70px;
    top: 20px;
}

.parish-quote__mark--right {
    right: 70px;
    bottom: -35px;
}
.parish-quote::before,
.parish-quote::after {
    content: "";

    position: absolute;

    opacity: .07;

    background: #fff;

    pointer-events: none;
}
.parish-quote::before {
    width: 2px;
    height: 150px;

    right: 12%;
    top: 20px;
}
.parish-quote::after {
    width: 80px;
    height: 2px;

    right: calc(12% - 39px);
    top: 67px;
}
@media (max-width: 900px) {

    .parish-quote__inner {
        min-height: 170px;

        padding:
            38px 24px;
    }

    .parish-quote__mark {
        font-size: 115px;
    }

    .parish-quote__mark--left {
        left: 30px;
    }

    .parish-quote__mark--right {
        right: 30px;
    }

}
@media (max-width: 620px) {

    .parish-quote__inner {
        width:
            calc(100% - 30px);

        min-height: 155px;

        padding:
            36px 14px;
    }

    .parish-quote__text {
        font-size:
            clamp(28px, 8vw, 36px);

        line-height: 1.16;
    }

    .parish-quote__mark {
        font-size: 85px;
    }

    .parish-quote__mark--left {
        left: 3px;
        top: 16px;
    }

    .parish-quote__mark--right {
        right: 3px;
        bottom: -19px;
    }

    .parish-quote::before,
    .parish-quote::after {
        display: none;
    }

}

/* =========================================================
   RESOURCES
   ========================================================= */
.parish-resources-row {
    padding: 0 !important;
    background: #f8f7f3;
}

.parish-resources {
    padding-top: 58px;
    padding-bottom: 68px;
}

.parish-resources__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}
.parish-resource-card {
    position: relative;

    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 26px;

    min-height: 230px;

    padding: 34px 36px;

    overflow: hidden;

    background: #fff;

    border:
        1px solid rgba(3, 29, 49, .08);

    border-radius: 14px;

    box-shadow:
        0 9px 30px rgba(3, 29, 49, .08);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}
@media (hover: hover) {

    .parish-resource-card:hover {
        transform: translateY(-5px);

        box-shadow:
            0 17px 42px rgba(3, 29, 49, .13);

        border-color:
            rgba(214, 169, 54, .30);
    }

}
.parish-resource-card__icon {
    width: 82px;
    height: 82px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        var(--parish-cream);

    border:
        1px solid rgba(3,29,49,.06);

    transition:
        transform .3s ease;
}

.parish-resource-card__icon img {
    display: block;

    width: 46px;
    height: 46px;

    object-fit: contain;
}

@media (hover: hover) {

    .parish-resource-card:hover
    .parish-resource-card__icon {
        transform: scale(1.05);
    }

}
.parish-resource-card__eyebrow {
    margin-bottom: 5px;

    color: var(--parish-gold);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: .12em;

    text-transform: uppercase;
}
.parish-resource-card__content h2 {
    margin: 0 0 10px;

    color: var(--parish-navy-dark);

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 30px;
    font-weight: 600;

    line-height: 1.05;
}
.parish-resource-card__content p {
    max-width: 480px;

    margin: 0 0 22px;

    color: var(--parish-muted);

    font-size: 14px;
    line-height: 1.55;
}
.parish-resource-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.parish-resource-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 44px;

    padding: 0 18px;

    border-radius: 4px;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .045em;

    text-decoration: none;
    text-transform: uppercase;

    transition:
        background .25s ease,
        border-color .25s ease,
        color .25s ease,
        transform .25s ease;
}
.parish-resource-btn--primary {
    color: #fff;

    background:
        var(--parish-navy);

    border:
        1px solid var(--parish-navy);
}

.parish-resource-btn--primary:hover {
    color: #fff;

    background:
        var(--parish-navy-dark);

    transform:
        translateY(-2px);
}
.parish-resource-btn--outline {
    color:
        var(--parish-navy);

    background:
        transparent;

    border:
        1px solid rgba(6,43,73,.55);
}

.parish-resource-btn--outline:hover {
    color: #fff;

    background:
        var(--parish-navy);

    border-color:
        var(--parish-navy);

    transform:
        translateY(-2px);
}
.parish-resource-btn--gold {
    color:
        var(--parish-navy-dark);

    background:
        var(--parish-gold);

    border:
        1px solid var(--parish-gold);
}

.parish-resource-btn--gold:hover {
    color:
        var(--parish-navy-dark);

    background:
        var(--parish-gold-light);

    transform:
        translateY(-2px);
}

.parish-resource-btn--gold span {
    margin-left: 8px;
}
.parish-resource-card::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 100%;
    height: 3px;

    background:
        linear-gradient(
            90deg,
            var(--parish-gold),
            rgba(214,169,54,.15)
        );
}
.parish-resource-card--prayer::before {
    background:
        linear-gradient(
            90deg,
            var(--parish-red),
            rgba(139,31,37,.12)
        );
}
@media (max-width: 1000px) {

    .parish-resources__grid {
        grid-template-columns: 1fr;
    }

    .parish-resource-card {
        min-height: 0;
    }

}
@media (max-width: 620px) {

    .parish-resources {
        padding-top: 42px;
        padding-bottom: 48px;
    }

    .parish-resource-card {
        grid-template-columns: 1fr;

        gap: 18px;

        padding:
            28px 24px;

        text-align: left;
    }

    .parish-resource-card__icon {
        width: 70px;
        height: 70px;
    }

    .parish-resource-card__icon img {
        width: 40px;
        height: 40px;
    }

    .parish-resource-card__content h2 {
        font-size: 28px;
    }

    .parish-resource-card__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .parish-resource-btn {
        width: 100%;
    }

}

/* =========================================================
   FOOTER
   ========================================================= */
.parish-footer-row {
    padding: 0 !important;
    margin: 0 !important;
}

.parish-footer {
    width: 100%;

    color: #fff;

    background:
        linear-gradient(
            110deg,
            #031d31 0%,
            #062b49 58%,
            #041f35 100%
        );
}
.parish-footer__main {
    padding:
        54px 0 44px;
}

.parish-footer__inner {
    width:
        min(calc(100% - 48px), 1240px);

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        1.15fr
        1fr
        .95fr
        1.25fr;

    gap: 0;
}
.parish-footer__column {
    min-width: 0;

    padding:
        0 30px;

    border-left:
        1px solid rgba(255,255,255,.13);
}

.parish-footer__column:first-child {
    padding-left: 0;

    border-left: 0;
}

.parish-footer__column:last-child {
    padding-right: 0;
}
.parish-footer__logo {
    display: inline-block;

    text-decoration: none;
}

.parish-footer__logo img {
    display: block;

    width: auto;
    max-width: 245px;
    max-height: 95px;

    object-fit: contain;
}
.parish-footer__title {
    margin:
        2px 0 22px;

    color:
        var(--parish-gold);

    font-size: 20px;
    font-weight: 800;

    letter-spacing: .08em;

    text-transform: uppercase;
}
.parish-footer__contact-list {
    display: flex;
    flex-direction: column;

    gap: 15px;
}

.parish-footer__contact-item {
    display: grid;

    grid-template-columns:
        24px 1fr;

    gap: 10px;

    color:
        rgba(255,255,255,.84);

    font-size: 13px;

    line-height: 1.5;
}

.parish-footer__contact-icon {
    color:
        var(--parish-gold);

    font-size: 17px;

    line-height: 1.3;
}

.parish-footer__contact-item a {
    color:
        rgba(255,255,255,.84);

    text-decoration: none;

    transition:
        color .25s ease;
}

.parish-footer__contact-item a:hover {
    color:
        var(--parish-gold);
}
.parish-office-hours {
    color:
        rgba(255,255,255,.84);

    font-size: 13px;

    line-height: 1.65;
}

.parish-office-hours__row {
    display: grid;

    grid-template-columns:
        82px 1fr;

    gap: 12px;
}
.parish-footer__map {
    position: relative;

    overflow: hidden;

    width: 100%;
    height: 165px;

    border:
        1px solid rgba(255,255,255,.12);

    border-radius: 8px;

    background:
        rgba(255,255,255,.07);

    transition:
        border-color .3s ease,
        box-shadow .3s ease;
}

.parish-footer__map iframe {
    position: absolute;

    left: 0;
    top: -38px;

    width: 100%;
    height: calc(100% + 38px);

    border: 0;
}

.parish-footer__map-link {
    position: absolute;
    z-index: 5;

    right: 10px;
    top: 10px;

    display: inline-flex;
    align-items: center;
    gap: 7px;

    min-height: 34px;
    padding: 0 12px;

    background: rgba(255,255,255,.96);

    border: 1px solid rgba(3,29,49,.12);
    border-radius: 5px;

    box-shadow:
        0 3px 12px rgba(0,0,0,.14);

    color: var(--parish-navy);

    font-size: 11px;
    font-weight: 700;

    text-decoration: none;

    transition:
        background .25s ease,
        color .25s ease,
        transform .25s ease,
        box-shadow .25s ease;
}

.parish-footer__map-link:hover {
    background: var(--parish-gold);
    color: var(--parish-navy-dark);

    transform: translateY(-2px);

    box-shadow:
        0 5px 16px rgba(0,0,0,.20);
}

.parish-footer__map-link-arrow {
    font-size: 15px;
    line-height: 1;
}

.parish-footer__social {
    display: flex;

    gap: 10px;

    margin-top: 25px;
}

.parish-social-link {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border:
        1px solid rgba(214,169,54,.65);

    border-radius: 50%;

    color: #fff;

    font-size: 15px;
    font-weight: 700;

    text-decoration: none;

    transition:
        color .25s ease,
        background .25s ease,
        border-color .25s ease,
        transform .25s ease;
}

.parish-social-link:hover {
    color:
        var(--parish-navy-dark);

    background:
        var(--parish-gold);

    border-color:
        var(--parish-gold);

    transform:
        translateY(-3px);
}
.parish-footer__bottom {
    border-top:
        1px solid rgba(255,255,255,.10);

    background:
        rgba(0,0,0,.10);
}

.parish-footer__bottom-inner {
    width:
        min(calc(100% - 48px), 1240px);

    min-height: 54px;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    color:
        rgba(255,255,255,.52);

    font-size: 11px;
}

.parish-footer__credits {
    text-align: right;
}

.parish-footer__map:hover {
    border-color:
        rgba(214,169,54,.45);

    box-shadow:
        0 8px 28px rgba(0,0,0,.18);
}
@media (max-width: 1050px) {

    .parish-footer__inner {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap:
            40px 0;
    }

    .parish-footer__column:nth-child(3) {
        border-left: 0;
        padding-left: 0;
    }

}
@media (max-width: 650px) {

    .parish-footer__main {
        padding:
            42px 0 34px;
    }

    .parish-footer__inner {
        width:
            calc(100% - 36px);

        grid-template-columns:
            1fr;

        gap: 0;
    }

    .parish-footer__column,
    .parish-footer__column:first-child,
    .parish-footer__column:nth-child(3) {
        padding:
            28px 0;

        border-left: 0;

        border-top:
            1px solid rgba(255,255,255,.11);
    }

    .parish-footer__column:first-child {
        padding-top: 0;

        border-top: 0;
    }

    .parish-footer__logo img {
        max-width: 230px;
    }

    .parish-footer__map {
        height: 190px;
    }

    .parish-footer__bottom-inner {
        width:
            calc(100% - 36px);

        min-height: 0;

        padding:
            18px 0;

        flex-direction: column;
        align-items: flex-start;

        gap: 7px;
    }

    .parish-footer__credits {
        text-align: left;
    }

}

/* =========================================================
   ACCESSIBILITY: REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {

    .parish-hero__bg,
    .parish-hero__content,
    .parish-info-card,
    .parish-info-card__icon-img,
    .parish-news-card,
    .parish-news-card__image img,
    .parish-news-card__more span,
    .parish-featured__media img,
    .parish-featured__button,
    .parish-life-card,
    .parish-life-card > img,
    .parish-life-card__title,
    .parish-resource-card,
    .parish-resource-card__icon,
    .parish-resource-btn,
    .parish-social-link,
    .parish-footer__map,
    .parish-footer__map-link {
        animation: none !important;
        transition: none !important;
    }

}
