/* =========================================================
   PARISH GROUPS
   ========================================================= */

.parish-groups-page {
    padding:
        72px 0 96px;

    background:
        linear-gradient(
            180deg,
            #f5f8f6 0,
            #ffffff 460px
        );
}

.parish-groups-shell {
    width:
        min(
            1180px,
            calc(100% - 40px)
        );

    margin:
        0 auto;
}


/* ---------------------------------------------------------
   HERO
   --------------------------------------------------------- */

.parish-groups-hero {
    display: grid;
    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(250px, .65fr);

    gap: 64px;

    align-items: center;

    margin-bottom: 30px;
}

.parish-groups-hero-copy {
    max-width: 810px;
}

.parish-groups-eyebrow {
    display: block;

    margin-bottom: 13px;

    color: #44705d;

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

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

.parish-groups-hero h1 {
    margin: 0;

    color: #14231c;

    font-size:
        clamp(
            40px,
            5.5vw,
            69px
        );

    font-weight: 760;
    line-height: 1.01;

    letter-spacing: -.06em;
}

.parish-groups-hero p {
    max-width: 750px;

    margin:
        24px 0 0;

    color: #68766f;

    font-size: 17px;
    line-height: 1.76;
}

.parish-groups-hero-mark {
    position: relative;

    display: grid;
    grid-template-columns:
        repeat(2, 54px);

    gap: 10px;

    justify-content: center;
    align-content: center;

    min-height: 250px;

    padding:
        28px;

    border-radius: 30px;

    background:
        linear-gradient(
            145deg,
            #1b503b,
            #123326
        );

    box-shadow:
        0 30px 62px rgba(21, 54, 42, .17);
}

.parish-groups-hero-mark > span {
    display: block;

    width: 54px;
    height: 54px;

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

    border-radius: 50%;

    background:
        rgba(255, 255, 255, .08);
}

.parish-groups-hero-mark > span:nth-child(1),
.parish-groups-hero-mark > span:nth-child(4) {
    background:
        rgba(255, 255, 255, .16);
}

.parish-groups-hero-mark small {
    grid-column: 1 / -1;

    margin-top: 15px;

    color: #b6cec2;

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

    letter-spacing: .09em;
    text-align: center;
    text-transform: uppercase;
}


/* ---------------------------------------------------------
   QUICK NAV
   --------------------------------------------------------- */

.parish-groups-jump-nav {
    display: grid;
    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );

    overflow: hidden;

    margin-bottom: 20px;

    border:
        1px solid #dce5e0;

    border-radius: 16px;

    background: #ffffff;
}

.parish-groups-jump-nav a {
    display: flex;
    flex-direction: column;

    gap: 6px;

    min-height: 78px;

    padding:
        16px 18px;

    border-right:
        1px solid #e3e9e6;
    border-bottom:
        1px solid #e3e9e6;

    color: #39594c;

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

    text-decoration: none;

    transition:
        background-color .15s ease,
        color .15s ease;
}

.parish-groups-jump-nav a:nth-child(4n) {
    border-right: 0;
}

.parish-groups-jump-nav a:nth-last-child(-n + 3) {
    border-bottom: 0;
}

.parish-groups-jump-nav a:hover {
    background: #f0f6f3;
    color: #174b38;
}

.parish-groups-jump-nav span {
    color: #8ba097;

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

    letter-spacing: .10em;
}


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

.parish-group-card {
    --group-accent: #3f705a;
    --group-soft: #eff6f2;

    margin-top: 18px;

    padding:
        35px 38px 39px;

    border:
        1px solid #dfe7e3;

    border-radius: 21px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #fafcfb
        );

    box-shadow:
        0 1px 2px rgba(20, 33, 28, .02),
        0 18px 42px rgba(20, 33, 28, .035);

    scroll-margin-top: 122px;
}

.parish-group-card--featured {
    padding:
        40px 42px 44px;
}

.parish-group-card:nth-of-type(3) {
    --group-accent: #4b6579;
    --group-soft: #f0f5f7;
}

.parish-group-card:nth-of-type(4) {
    --group-accent: #665e45;
    --group-soft: #f7f4ec;
}

.parish-group-card:nth-of-type(5) {
    --group-accent: #5d6948;
    --group-soft: #f4f6ef;
}

.parish-group-card:nth-of-type(6) {
    --group-accent: #49678a;
    --group-soft: #eff4f8;
}

.parish-group-card:nth-of-type(7) {
    --group-accent: #725c79;
    --group-soft: #f5f1f6;
}

.parish-group-card:nth-of-type(8) {
    --group-accent: #6f5843;
    --group-soft: #f7f2ed;
}

.parish-group-header {
    display: grid;
    grid-template-columns:
        56px
        minmax(0, 1fr)
        auto;

    gap: 22px;

    align-items: center;

    margin-bottom: 28px;
    padding-bottom: 27px;

    border-bottom:
        1px solid #e2e9e5;
}

.parish-group-number {
    color: #8b9e94;

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

    letter-spacing: .11em;
}

.parish-group-title h2 {
    margin: 0;

    color: #17251e;

    font-size:
        clamp(
            28px,
            3.5vw,
            42px
        );

    font-weight: 745;
    line-height: 1.07;

    letter-spacing: -.045em;
}

.parish-group-subtitle {
    margin:
        8px 0 0;

    color: #74847c;

    font-size: 12px;
}

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

    min-width: 66px;
    min-height: 42px;

    padding:
        8px 12px;

    border:
        1px solid #d8e4dd;

    border-radius: 999px;

    background: var(--group-soft);

    color: var(--group-accent);

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

    letter-spacing: .08em;
}


/* ---------------------------------------------------------
   FACTS
   --------------------------------------------------------- */

.parish-group-facts {
    display: grid;
    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );

    gap: 1px;

    overflow: hidden;

    max-width: 990px;

    margin-bottom: 29px;

    border:
        1px solid #dfe7e3;

    border-radius: 14px;

    background: #dfe7e3;
}

.parish-group-facts--three {
    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );
}

.parish-group-facts > div {
    padding:
        17px 18px;

    background: #f9fbfa;
}

.parish-group-facts small,
.parish-group-facts strong {
    display: block;
}

.parish-group-facts small {
    margin-bottom: 5px;

    color: #7c8d85;

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

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

.parish-group-facts strong {
    color: var(--group-accent);

    font-size: 13px;
    font-weight: 730;
    line-height: 1.45;
}


/* ---------------------------------------------------------
   BODY
   --------------------------------------------------------- */

.parish-group-body {
    max-width: 950px;
}

.parish-group-body > p {
    margin:
        0 0 20px;

    color: #5d6e66;

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

.parish-group-body > p strong {
    color: #354d42;
}


/* ---------------------------------------------------------
   HISTORY
   --------------------------------------------------------- */

.parish-group-history {
    margin:
        29px 0;

    padding:
        25px 27px;

    border:
        1px solid #dfe7e3;

    border-radius: 16px;

    background: #f8faf9;
}

.parish-group-history h3 {
    margin: 0;

    color: #294b3b;

    font-size: 21px;
    font-weight: 720;

    letter-spacing: -.025em;
}

.parish-group-history-timeline {
    display: grid;
    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 10px;

    margin-top: 20px;
}

.parish-group-history-timeline > div {
    padding:
        18px;

    border:
        1px solid #e0e7e3;

    border-radius: 13px;

    background: #ffffff;
}

.parish-group-history-timeline strong {
    display: block;

    margin-bottom: 8px;

    color: var(--group-accent);

    font-size: 20px;
    font-weight: 770;
}

.parish-group-history-timeline p {
    margin: 0;

    color: #6a7871;

    font-size: 12px;
    line-height: 1.65;
}


/* ---------------------------------------------------------
   LEADERS / CALLOUTS
   --------------------------------------------------------- */

.parish-group-leader {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    margin-top: 25px;

    padding:
        17px 20px;

    border-left:
        4px solid var(--group-accent);

    border-radius:
        0 12px 12px 0;

    background: var(--group-soft);
}

.parish-group-leader span {
    color: #73837b;

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

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

.parish-group-leader strong {
    color: var(--group-accent);

    font-size: 14px;
    font-weight: 740;

    text-align: right;
}

.parish-group-callout {
    margin:
        27px 0;

    padding:
        22px 24px;

    border:
        1px solid #dfe7e3;

    border-radius: 15px;

    background: var(--group-soft);
}

.parish-group-callout strong {
    display: block;

    color: var(--group-accent);

    font-size: 21px;
    font-weight: 730;

    letter-spacing: -.025em;
}

.parish-group-callout p {
    margin:
        7px 0 0;

    color: #66766e;

    font-size: 13px;
}


/* ---------------------------------------------------------
   LSO
   --------------------------------------------------------- */

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

    gap: 10px;

    max-width: 950px;

    margin-bottom: 29px;
}

.parish-service-grid > div {
    min-height: 178px;

    padding:
        20px;

    border:
        1px solid #e0e7e3;

    border-radius: 15px;

    background: #fafcfb;
}

.parish-service-grid span {
    display: block;

    margin-bottom: 12px;

    color: #8b9a93;

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

    letter-spacing: .10em;
}

.parish-service-grid strong {
    display: block;

    color: var(--group-accent);

    font-size: 16px;
    font-weight: 730;
}

.parish-service-grid p {
    margin:
        9px 0 0;

    color: #697870;

    font-size: 12px;
    line-height: 1.65;
}

.parish-group-thanks {
    margin:
        27px 0;

    padding:
        22px 24px;

    border:
        1px solid #e2e6dc;

    border-radius: 15px;

    background: #faf9f4;
}

.parish-group-thanks p {
    margin: 0;

    color: #6b685b;

    font-size: 13px;
    line-height: 1.72;
}

.parish-group-invitation {
    margin:
        27px 0;

    padding:
        22px 24px;

    border-radius: 15px;

    background:
        linear-gradient(
            135deg,
            #2e4f41,
            #406b58
        );
}

.parish-group-invitation > span {
    display: block;

    margin-bottom: 7px;

    color: #ffffff;

    font-size: 15px;
    font-weight: 740;
}

.parish-group-invitation p {
    margin: 0;

    color: #dbe6e0;

    font-size: 13px;
    line-height: 1.7;
}


/* ---------------------------------------------------------
   RAM / SCRIPTURE
   --------------------------------------------------------- */

.parish-group-scripture {
    position: relative;

    margin:
        28px 0;

    padding:
        25px 27px;

    border:
        1px solid #dce5e9;

    border-radius: 16px;

    background: #f5f8fa;
}

.parish-group-scripture p {
    max-width: 760px;

    margin: 0;

    color: #50636e;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 14px;
    line-height: 1.8;
}


/* ---------------------------------------------------------
   ROSARY
   --------------------------------------------------------- */

.parish-group-rosary {
    display: grid;
    grid-template-columns:
        78px
        minmax(0, 1fr);

    gap: 22px;

    align-items: center;

    margin:
        28px 0;

    padding:
        24px 26px;

    border:
        1px solid #e2dce4;

    border-radius: 17px;

    background: var(--group-soft);
}

.parish-group-rosary-symbol {
    position: relative;

    width: 70px;
    height: 70px;

    border:
        1px solid #ded5e1;

    border-radius: 50%;

    background: #ffffff;
}

.parish-group-rosary-symbol::before {
    content: "";

    position: absolute;

    top: 16px;
    left: 16px;

    width: 34px;
    height: 34px;

    border:
        2px dashed var(--group-accent);

    border-radius: 50%;
}

.parish-group-rosary-symbol span::before,
.parish-group-rosary-symbol span::after {
    content: "";

    position: absolute;

    background: var(--group-accent);
}

.parish-group-rosary-symbol span::before {
    top: 47px;
    left: 33px;

    width: 3px;
    height: 13px;
}

.parish-group-rosary-symbol span::after {
    top: 54px;
    left: 28px;

    width: 13px;
    height: 3px;
}

.parish-group-rosary p {
    margin: 0;

    color: #645d68;

    font-size: 13px;
    line-height: 1.72;
}


/* ---------------------------------------------------------
   RADIO MARYJA
   --------------------------------------------------------- */

.parish-group-motto {
    margin:
        27px 0;

    padding:
        26px;

    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            #594b3e,
            #75614d
        );

    text-align: center;
}

.parish-group-motto
.parish-groups-eyebrow {
    color: #d5c7b9;
}

.parish-group-motto strong {
    display: block;

    color: #ffffff;

    font-size:
        clamp(
            24px,
            3.2vw,
            38px
        );

    font-weight: 760;

    letter-spacing: .04em;
}

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

    gap: 10px;

    margin-top: 26px;
}

.parish-group-people > div {
    padding:
        18px 19px;

    border:
        1px solid #e2e6e3;

    border-radius: 14px;

    background: #fafcfb;
}

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

.parish-group-people span {
    margin-bottom: 5px;

    color: #7a8a82;

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

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

.parish-group-people strong {
    color: #4e5f56;

    font-size: 13px;
    font-weight: 730;
}


/* ---------------------------------------------------------
   FOOTER CTA
   --------------------------------------------------------- */

.parish-groups-footer-card {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;

    margin-top: 22px;

    padding:
        33px 35px;

    border-radius: 20px;

    background:
        linear-gradient(
            135deg,
            #173e31,
            #255e49
        );

    color: #ffffff;

    box-shadow:
        0 24px 52px rgba(23, 61, 49, .15);
}

.parish-groups-footer-card
.parish-groups-eyebrow {
    color: #9fc3b4;
}

.parish-groups-footer-card h2 {
    max-width: 680px;

    margin: 0;

    color: #ffffff;

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

    font-weight: 720;

    letter-spacing: -.035em;
}

.parish-groups-footer-card p {
    max-width: 680px;

    margin:
        10px 0 0;

    color: #d3e0da;

    font-size: 14px;
    line-height: 1.7;
}

.parish-groups-footer-actions {
    display: flex;

    gap: 9px;

    flex: 0 0 auto;
}

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

    gap: 10px;

    min-height: 47px;

    padding:
        10px 16px;

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

    border-radius: 11px;

    color: #ffffff;

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

    text-decoration: none;

    white-space: nowrap;

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

.parish-groups-button:hover {
    background:
        rgba(255, 255, 255, .08);

    transform: translateY(-1px);
}

.parish-groups-button--primary {
    background:
        rgba(255, 255, 255, .12);
}


/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media (max-width: 980px) {

    .parish-groups-hero {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .parish-groups-hero-mark {
        min-height: 185px;
    }

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

    .parish-groups-jump-nav a,
    .parish-groups-jump-nav a:nth-child(4n),
    .parish-groups-jump-nav a:nth-last-child(-n + 3) {
        border-right:
            1px solid #e3e9e6;
        border-bottom:
            1px solid #e3e9e6;
    }

    .parish-groups-jump-nav a:nth-child(2n) {
        border-right: 0;
    }

    .parish-groups-jump-nav a:last-child {
        grid-column: 1 / -1;

        border-right: 0;
        border-bottom: 0;
    }

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

    .parish-group-history-timeline,
    .parish-service-grid {
        grid-template-columns: 1fr;
    }

    .parish-groups-footer-card {
        align-items: flex-start;
        flex-direction: column;
    }

}

@media (max-width: 680px) {

    .parish-groups-page {
        padding:
            48px 0 72px;
    }

    .parish-groups-shell {
        width:
            calc(100% - 28px);
    }

    .parish-groups-hero h1 {
        font-size:
            clamp(
                38px,
                12vw,
                50px
            );
    }

    .parish-groups-jump-nav {
        grid-template-columns: 1fr;
    }

    .parish-groups-jump-nav a,
    .parish-groups-jump-nav a:nth-child(2n),
    .parish-groups-jump-nav a:last-child {
        grid-column: auto;

        border-right: 0;
        border-bottom:
            1px solid #e3e9e6;
    }

    .parish-groups-jump-nav a:last-child {
        border-bottom: 0;
    }

    .parish-group-card,
    .parish-group-card--featured {
        padding:
            25px 20px 29px;
    }

    .parish-group-header {
        grid-template-columns:
            42px
            minmax(0, 1fr);

        gap: 14px;
    }

    .parish-group-badge {
        grid-column: 1 / -1;

        justify-self: start;
    }

    .parish-group-facts,
    .parish-group-facts--three {
        grid-template-columns: 1fr;
    }

    .parish-group-leader {
        align-items: flex-start;
        flex-direction: column;

        gap: 7px;
    }

    .parish-group-leader strong {
        text-align: left;
    }

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

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

    .parish-groups-footer-card {
        padding:
            27px 22px;
    }

    .parish-groups-footer-actions {
        flex-direction: column;

        width: 100%;
    }

    .parish-groups-button {
        width: 100%;
    }

}
