/* BWMC — Shared site styles
   Used by Home, About, Events, Groups, Giving and Contact. */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

:root {

    --black: #1B2D45;

    --dark: #444444;

    --cream: #f6f3ed;

    --white: #ffffff;

    --accent: #6794c2;

    --accent-dark: #2c6298;

    --accent-light: #dceafa;

    --muted: #939393;

    --border: rgba(17, 17, 17, 0.12);

    --giving-dark: #1B2D45;

    --giving-muted: #64748b;

    --giving-border: #e2e8f0;

    --giving-surface: #f5f8fc;

    --max-width: 1240px;

    --radius: 24px;

    --nav-radius: 100px;

}

* {

    box-sizing: border-box;

    margin: 0;

    padding: 0;

}

html {

    scroll-behavior: smooth;

}

/* Main body typography */
body {
    font-family: 'Montserrat',
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background: var(--cream);
    color: var(--black);
    line-height: 1.5;
}

/* Heading typography */
h1,
h2 {
    font-family: 'Montserrat';
    font-weight: 600;
}

img {

    width: 100%;

    display: block;

    object-fit: cover;

}

a {

    color: inherit;

    text-decoration: none;

}

button {

    font: inherit;

}

.container {

    width: min(
        calc(100% - 40px),
        var(--max-width)
    );

    margin-inline: auto;

}

.nav-wrapper {

    position: fixed;

    top: 18px;

    left: 0;

    width: 100%;

    z-index: 1000;

    pointer-events: none;

}

.navbar {

    pointer-events: auto;

    width: min(
        calc(100% - 32px),
        1160px
    );

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 10px 10px 10px 22px;

    background: rgba(255, 255, 255, 0.93);

    backdrop-filter: blur(18px);

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

    border: 1px solid rgba(255, 255, 255, 0.8);

    border-radius: var(--nav-radius);

    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);

    transition: all 0.3s ease;

}

.navbar.scrolled {

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);

}

.logo {

    display: flex;

    align-items: center;

    gap: 10px;

    font-size: 1.35rem;

    font-weight: 700;

    letter-spacing: -0.06em;

}

.logo-image {

    width: 36px;

    height: 36px;

    object-fit: contain;

}

.nav-links {

    display: flex;

    align-items: center;

    gap: 4px;

}

.nav-links a {

    padding: 11px 15px;

    border-radius: 100px;

    font-size: 0.86rem;

    font-weight: 650;

    transition: background 0.2s ease,
        color 0.2s ease;

}

.nav-links a:hover {

    color: var(--accent-dark);
    background: var(--accent-light);
    transform: translateY(-2px);

}

.nav-cta {

    background: var(--black) !important;

    color: var(--white) !important;

    padding-inline: 20px !important;

}

.nav-cta:hover {

    background: var(--accent-dark) !important;

}

.menu-button {

    display: none;

    border: 0;

    background: var(--black);

    color: white;

    width: 44px;

    height: 44px;

    border-radius: 50%;

    cursor: pointer;

}

.hero {

    min-height: 100svh;

    display: flex;

    align-items: flex-end;

    padding: 150px 0 60px;

    position: relative;

    overflow: hidden;

    background: linear-gradient(
            180deg,
            rgba(0,0,0,0.05) 0%,
            rgba(0,0,0,0.65) 100%
        ),
        url("images/DSC_8215R.JPG?v=2")
        center / cover no-repeat;

    color: white;

}

.hero::after {

    content: "";

    position: absolute;

    inset: 0;

    background: radial-gradient(
            circle at 80% 30%,
            rgba(57, 120, 184, 0.25),
            transparent 30%
        );

    pointer-events: none;

}

.hero-content {

    position: relative;

    z-index: 2;

    width: min(900px, 100%);

}

.eyebrow {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 22px;

    font-size: 0.85rem;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.14em;

}

.eyebrow::before {

    content: "";

    width: 8px;

    height: 8px;

    border-radius: 50%;

    background: var(--accent);

}

.hero h1 {

    max-width: 850px;

    font-size: clamp(
        4rem,
        9vw,
        8.5rem
    );

    line-height: 0.87;

    letter-spacing: -0.02em;

    margin-bottom: 30px;

}

.hero-copy {

    max-width: 620px;

    font-size: clamp(
        1.05rem,
        2vw,
        1.3rem
    );

    color: rgba(220, 234, 250, 0.8);

    margin-bottom: 32px;

}

.hero-buttons {

    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 12px;

}

.button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    min-height: 52px;

    padding: 0 23px;

    border-radius: 100px;

    font-size: 0.92rem;

    font-weight: 800;

    transition: transform 0.2s ease,
        background 0.2s ease;

}

.button:hover {

    transform: translateY(-2px);

}

.button-primary {

    background: var(--accent);

    color: var(--white);

}

.button-primary:hover {

    background: var(--accent-dark);

}

.button-dark {

    background: var(--black);

    color: var(--white);

}

.intro-button {

    margin-top: 28px;

}

.service-button {

    margin-top: 28px;

}

.community-button {

    margin-top: 30px;

}

.intro {

    padding: 80px 0;

}

.intro-grid {

    display: grid;

    grid-template-columns: 0.8fr 1.2fr;

    gap: 80px;

    align-items: start;

}

.section-label {

    font-size: 0.85rem;

    font-weight: 850;

    text-transform: uppercase;

    letter-spacing: 0.15em;

    color: var(--muted);

}

.intro h2 {

    max-width: 850px;

    font-size: clamp(
        2.8rem,
        6vw,
        6rem
    );

    line-height: 0.94;

    letter-spacing: -0.02em;

}

.intro p {

    margin-top: 30px;

    max-width: 650px;

    font-size: 1.15rem;

    color: #444;

}

.service-section {

    padding-bottom: 30px;

    padding-top: 30px;

}

.service-card {

    background: var(--black);

    color: white;

    border-radius: var(--radius);

    padding: 60px;

    display: grid;

    grid-template-columns: 1fr auto;

    gap: 50px;

    align-items: center;

    overflow: hidden;

    position: relative;

}

.service-card::before {

    content: "";

    position: absolute;

    width: 350px;

    height: 350px;

    right: -100px;

    top: -160px;

    border-radius: 50%;

    background: var(--accent);

    opacity: 0.9;

}

.service-content {

    position: relative;

    z-index: 2;

}

.service-card h2 {

    font-size: clamp(
        2.4rem,
        5vw,
        5rem
    );

    line-height: 0.95;

    letter-spacing: -0.02em;

    margin: 12px 0 20px;

}

.service-card p {

    color: #bbb;

    max-width: 550px;

}

.service-label {

    color: #bbb;

}

.service-times {

    position: relative;

    z-index: 2;

    background: rgba(255,255,255,0.09);

    padding: 28px;

    min-width: 250px;

    border-radius: 18px;

    border: 1px solid rgba(255,255,255,0.12);

}

.service-times strong {

    display: block;

    font-size: 1.6rem;

    margin-top: 4px;

}

.service-times p {

    color: #ddd;

    margin-top: 10px;

}

.dark-section {

    background: var(--dark);

    color: white;

    padding: 80px 0;

}

.section-heading {

    display: flex;

    justify-content: space-between;

    gap: 40px;

    align-items: end;

    margin-bottom: 45px;

}

.section-heading h2 {

    font-size: clamp(
        3rem,
        6vw,
        6rem
    );

    line-height: 1;

    letter-spacing: -0.02em;

    margin-top: 14px;

}

.section-heading p {

    max-width: 350px;

    color: #ccc;

}

.dark-label {

    color: #ccc;

}

.teaching-card {

    min-height: 550px;

    border-radius: var(--radius);

    overflow: hidden;

    position: relative;

    background: linear-gradient(
            0deg,
            rgba(0,0,0,0.8),
            transparent 65%
        ),
        url("images/DSC_0813R.JPG")
        center / cover no-repeat;

}

.teaching-content {

    position: absolute;

    bottom: 0;

    left: 0;

    padding: 45px;

    max-width: 700px;

}

.teaching-content h2 {

    font-size: clamp(
        2rem,
        4vw,
        4rem
    );

    line-height: 0.95;

    letter-spacing: -0.02em;

    margin: 0px 0 25px;

}

.steps {

    padding: 80px 0;

}

.steps-header {

    margin-bottom: 55px;

}

.steps-header h2 {

    max-width: 800px;

    font-size: clamp(
        3rem,
        6vw,
        6rem
    );

    line-height: 1;

    letter-spacing: -0.02em;

    margin-top: 14px;

}

.community {

    background: var(--accent);

    padding: 80px 0;

    overflow: hidden;

}

.community-inner {

    display: grid;

    grid-template-columns: 1.15fr 0.85fr;

    gap: 80px;

    align-items: center;

}

.community h2 {

    font-size: clamp(
        3rem,
        6vw,
        6rem
    );

    line-height: 0.9;

    letter-spacing: -0.02em;

    margin-top: 14px;

}

.community-copy {

    font-size: 1.15rem;

    max-width: 500px;

    margin-top: 30px;

}

.community-image {

    border-radius: var(--radius);

    height: 500px;

    object-fit: cover;

    box-shadow: 20px 20px 0 rgba(0,0,0,0.12);

}

.cta {

    padding: 130px 0;

}

.cta-box {

    background: white;

    border-radius: var(--radius);

    padding: 80px 60px;

    text-align: center;

    border: 1px solid var(--border);

}

.cta-box h2 {

    max-width: 800px;

    margin: auto;

    font-size: clamp(
        3rem,
        6vw,
        6rem
    );

    line-height: 0.9;

    letter-spacing: -0.02em;

    margin-top: 14px;

}

.cta-box p {

    max-width: 600px;

    margin: 25px auto 32px;

    color: var(--muted);

    font-size: 1.1rem;

}

footer {

    background: var(--black);

    color: white;

    padding: 75px 0 35px;

}

.footer-top {

    display: grid;

    grid-template-columns: 1.5fr 1fr 1fr 1fr;

    gap: 50px;

    padding-bottom: 70px;

}

.footer-logo {

    display: flex;

    align-items: center;

    gap: 10px;

    font-size: 2rem;

    font-weight: 700;

    letter-spacing: -0.07em;

}

.footer-intro {

    color: #939393;

    max-width: 350px;

    margin-top: 15px;

}

.footer-column h4 {

    font-size: 0.75rem;

    color: #fff;

    text-transform: uppercase;

    letter-spacing: 0.12em;

    margin-bottom: 18px;

}

.footer-column a {

    display: block;

    margin-bottom: 9px;

    color: #939393;

    font-size: 0.9rem;

}

.footer-column a:hover {

    color: var(--accent);

}

.footer-bottom {

    border-top: 1px solid #333;

    padding-top: 25px;

    display: flex;

    justify-content: space-between;

    gap: 20px;

    color: #777;

    font-size: 0.78rem;

}

@media (max-width: 900px) {
        .nav-links {

        display: none;

        position: absolute;

        top: 65px;

        left: 0;

        right: 0;

        padding: 12px;

        background: white;

        border-radius: 25px;

        flex-direction: column;

        align-items: stretch;

        box-shadow: 0 15px 40px rgba(0,0,0,0.15);

    }

        .nav-links.open {

        display: flex;

    }

        .nav-links a {

        padding: 14px 16px;

    }

        .menu-button {

        display: grid;

        place-items: center;

    }

        .intro-grid,
    .community-inner {

        grid-template-columns: 1fr;

        gap: 40px;

    }

        .footer-top {

        grid-template-columns: repeat(2, 1fr);

    }
}

@media (max-width: 650px) {
        .container {

        width: min(
            calc(100% - 28px),
            var(--max-width)
        );

    }

        .nav-wrapper {

        top: 10px;

    }

        .navbar {

        width: calc(100% - 20px);

    }

        .hero {

        padding-bottom: 40px;

    }

        .hero h1 {

        font-size: clamp(
                3.7rem,
                17vw,
                6rem
            );

    }

        .intro,
    .steps,
    .dark-section,
    .community,
    .cta {

        padding: 85px 0;

    }

        .service-card {

        padding: 35px 25px;

        grid-template-columns: 1fr;

        gap: 30px;

    }

        .service-times {

        min-width: 0;

    }

        .section-heading {

        flex-direction: column;

        align-items: start;

    }

        .teaching-card {

        min-height: 450px;

    }

        .teaching-content {

        padding: 28px;

    }

        .community-image {

        height: 400px;

    }

        .cta-box {

        padding: 55px 25px;

    }

        .footer-top {

        grid-template-columns: 1fr;

        gap: 35px;

    }

        .footer-bottom {

        flex-direction: column;

    }
}

.events-hero {

    padding: 180px 0 85px;

    background: var(--black);

    color: white;

}

.events-hero h1 {

    font-size: clamp(3rem, 8vw, 7rem);

    line-height: .9;

    letter-spacing: -.02em;

    margin: 18px 0 25px;

}

.events-hero p {

    max-width: 600px;

    color: #bbb;

    font-size: 1.1rem;

}

.events-main {

    padding: 75px 0 120px;

}

.events-main h1 {

    max-width: 800px;

    font-size: clamp(
        2rem,
        4vw,
        4rem
    );

    line-height: 1;

    letter-spacing: -0.02em;

    margin-top: 14px;

}

.events-main h2 {

    max-width: 800px;

    font-size: clamp(
        2rem,
        4vw,
        4rem
    );

    line-height: 1;

    letter-spacing: -0.02em;

    margin-top: 14px;

}

.event-list {

    display: grid;

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

    gap: 20px;

}

.event-card {

    background: white;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    overflow: hidden;

    display: flex;

    flex-direction: column;

    transition: transform .2s ease, box-shadow .2s ease;

}

.event-card:hover {

    transform: translateY(-4px);

    box-shadow: 0 18px 40px rgba(0,0,0,.07);

}

.event-image {

    width: 100%;

    height: 210px;

    object-fit: cover;

    background: var(--accent-light);

}

.event-card-body {

    padding: 25px;

    display: flex;

    flex-direction: column;

    flex: 1;

}

.event-meta {

    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 8px;

    margin-bottom: 15px;

    color: var(--muted);

    font-size: .78rem;

    font-weight: 700;

}

.event-category {

    display: inline-block;

    background: var(--accent-light);

    color: var(--accent-dark);

    border-radius: 100px;

    padding: 5px 10px;

}

.event-card h2 {

    font-size: 1.65rem;

    line-height: 1.05;

    letter-spacing: -.045em;

    margin-bottom: 12px;

}

.event-card p {

    color: var(--giving-muted);

    font-size: .92rem;

    margin-bottom: 22px;

}

.event-link {

    margin-top: auto;

    font-weight: 850;

    color: var(--accent-dark);

    font-size: .88rem;

    align-self: flex-start;

    border: 0;

    background: transparent;

    cursor: pointer;

    text-align: left;

}

.events-contact {

    margin-top: 75px;

    padding: 55px;

    background: var(--accent);

    border-radius: var(--radius);

    color: white;

}

.events-contact h2 {

    font-size: clamp(2.2rem, 5vw, 4rem);

    line-height: .95;

    letter-spacing: -.02em;

    margin: 14px 0px 18px;

}

.events-contact p {

    max-width: 550px;

    margin-bottom: 25px;

}

.events-contact .button-dark {

    background: white;

    color: var(--black);

}

@media (max-width: 900px) {
        .event-list {

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

    }
}

@media (max-width: 600px) {
        .events-hero {

        padding: 145px 0 65px;

    }

        .events-main {

        padding: 50px 0 80px;

    }

        .event-list {

        grid-template-columns: 1fr;

    }

        .event-image {

        height: 230px;

    }

        .events-contact {

        padding: 35px 25px;

        margin-top: 55px;

    }
}

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

        scroll-behavior: auto;

    }

        *,
    *::before,
    *::after {

        transition-duration: .01ms !important;

    }
}

.about-hero {

    position: relative;

    isolation: isolate;

    overflow: hidden;

    background: #dce4ea;

    color: #24364a;

}

.about-hero::before {

    content: "";

    position: absolute;

    z-index: -1;

    width: clamp(220px, 32vw, 420px);

    aspect-ratio: 1;

    right: 8%;

    top: 50%;

    transform: translateY(-50%);

    background: url("images/bwmc_logo_cross.png") center / contain no-repeat;

    opacity: 0.30;

    pointer-events: none;

}

.about-hero h1,
.about-hero p {

    color: #24364a;

}

@media (max-width: 600px) {
        .about-hero::before {

        width: 220px;

        right: -20px;

        top: 55%;

        opacity: 0.20;

    }
}

.intro-logo-bg {

    position: relative;

    isolation: isolate;

    overflow: hidden;

}

.intro-logo-bg::before {

    content: "";

    position: absolute;

    z-index: -1;

    inset: 0;

    background: url("images/bwmc_logo_cross.png") no-repeat;

    background-position: max(20px, calc((100% - 1240px) / 2 + 200px)) center;

    background-size: clamp(220px, 30vw, 400px);

    opacity: 0.20;

    pointer-events: none;

}

@media (max-width: 900px) {
        .intro-logo-bg::before {

        background-position: 70% center;

        opacity: 0.15;

    }
}

.groups-main {

    padding: 70px 0 100px;

    background: var(--white);

}

.groups-list {

    display: grid;

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

    gap: 24px;

}

.group-card {

    align-self: start;

    background: white;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);

    overflow: hidden;

    transition: box-shadow 0.2s ease, transform 0.2s ease;

}

.group-card:hover {

    transform: translateY(-3px);

    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.09);

}

.group-card summary {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding: 30px;

    cursor: pointer;

    list-style: none;

}

.group-card summary::-webkit-details-marker {

    display: none;

}

.group-card summary h2 {

    margin: 0 0 10px;

    font-size: 1.9rem;

    line-height: 1.1;

    letter-spacing: -0.04em;

}

.group-card summary p {

    margin: 0;

    color: var(--giving-muted);

    font-size: 0.92rem;

    line-height: 1.6;

}

.group-number {

    display: block;

    margin-bottom: 12px;

    color: var(--accent-dark);

    font-size: 0.78rem;

    font-weight: 800;

    letter-spacing: 0.1em;

    text-transform: uppercase;

}

.group-toggle {

    flex-shrink: 0;

    display: grid;

    place-items: center;

    width: 38px;

    height: 38px;

    border-radius: 50%;

    background: var(--accent-light);

    color: var(--accent-dark);

    font-size: 1.4rem;

    font-weight: 500;

    transition: transform 0.2s ease;

}

.group-toggle::before {

    content: "+";

}

.group-card[open] .group-toggle {

    transform: rotate(45deg);

}

.group-details {

    padding: 0 30px 30px;

    border-top: 1px solid var(--border);

    margin: 0 30px;

    padding-left: 0;

    padding-right: 0;

}

.group-details p {

    margin: 22px 0 16px;

    color: var(--giving-muted);

    line-height: 1.75;

}

.group-details h3 {

    margin: 22px 0 10px;

    font-size: 1.1rem;

}

.group-details ul {

    padding-left: 20px;

    color: var(--giving-muted);

    line-height: 1.8;

}

.groups-contact {

    margin-top: 55px;

}

.groups-contact-layout {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 16px;

}

.groups-contact-copy {

    flex: 1;

}

.groups-contact-photo {

    width: 500px;

    aspect-ratio: 3 / 2;

    object-fit: cover;

    border-radius: 12px;

    flex-shrink: 0;

}

@media (max-width: 900px) {
        .groups-contact-layout {

        flex-direction: column;

        align-items: flex-start;

    }

        .groups-contact-photo {

        width: 100%;

        max-width: 500px;

    }
}

@media (max-width: 700px) {
        .groups-main {

        padding: 45px 0 70px;

    }

        .groups-list {

        grid-template-columns: 1fr;

        gap: 18px;

    }

        .group-card summary {

        padding: 24px;

    }

        .group-details {

        margin: 0 24px;

    }
}

@media (prefers-reduced-motion: reduce) {
        .group-card,
    .group-toggle {

        transition: none;

    }
}

.giving-page {

    max-width: 1180px;

    width: 92%;

    margin: 0 auto;

    padding-bottom: 70px;

}

.giving-grid {

    display: grid;

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

    gap: 24px;

    align-items: stretch;

}

.giving-card {

    display: flex;

    flex-direction: column;

    min-width: 0;

    overflow: hidden;

    background: white;

    border: 1px solid var(--giving-border);

    border-radius: 20px;

    box-shadow: 0 8px 24px rgba(21, 43, 67, .06);

    transition: transform .2s ease, box-shadow .2s ease;

}

.giving-card:hover {

    transform: translateY(-5px);

    box-shadow: 0 16px 34px rgba(21, 43, 67, .13);

}

.giving-photo {

    position: relative;

    height: 225px;

    overflow: hidden;

    background: #dbe7f4;

}

.giving-photo img {

    display: block;

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform .4s ease;

}

.giving-card:hover .giving-photo img {

    transform: scale(1.05);

}

.giving-photo::after {

    content: "";

    position: absolute;

    inset: 45% 0 0;

    background: linear-gradient(
        to bottom,
        transparent,
        rgba(14, 31, 51, .55)
      );

    pointer-events: none;

}

.giving-photo-label {

    position: absolute;

    z-index: 1;

    left: 20px;

    bottom: 17px;

    color: white;

    font-size: .78rem;

    font-weight: 700;

    letter-spacing: 1.5px;

    text-transform: uppercase;

}

.giving-card-content {

    display: flex;

    flex-direction: column;

    flex: 1;

    padding: 24px;

}

.giving-card h2 {

    color: var(--giving-dark);

    font-size: 1.43rem;

    line-height: 1.35;

    margin: 0 0 12px;

}

.giving-card p {

    color: var(--giving-muted);

    font-size: .94rem;

    line-height: 1.75;

    margin: 0 0 18px;

}

.giving-scripture {

    padding: 14px;

    margin-top: auto;

    margin-bottom: 20px;

    border-left: 3px solid var(--accent-dark);

    border-radius: 0 10px 10px 0;

    background: var(--giving-surface);

    color: var(--giving-dark);

    font-size: .86rem;

    line-height: 1.65;

    font-style: italic;

}

.giving-scripture strong {

    display: block;

    margin-top: 6px;

    color: var(--giving-muted);

    font-size: .8rem;

    font-style: normal;

}

.giving-button {

    display: inline-block;

    box-sizing: border-box;

    width: 100%;

    padding: 12px 18px;

    border: 0;

    border-radius: 999px;

    background: var(--accent-dark);

    color: white;

    text-align: center;

    text-decoration: none;

    font-weight: 700;

    font-size: .92rem;

    transition: background .2s ease, opacity .2s ease;

}

.giving-button:hover {

    opacity: .88;

}

.giving-contact h2 {

    margin-top: 0;

    font-size: 1.4rem;

}

.giving-contact {

    margin-top: 28px;

    padding: 36px 24px;

    border-radius: 20px;

    background: var(--giving-dark);

    color: white;

    text-align: center;

}

.giving-contact h2 {

    color: white;

}

.giving-contact p {

    max-width: 620px;

    margin: 0 auto 18px;

    color: #dbe7f4;

    line-height: 1.7;

}

.giving-contact .giving-button {

    display: inline-block;

    width: auto;

    padding: 12px 24px;

    background: white;

    color: var(--giving-dark);

}

.giving-contact .giving-button:hover {

    transform: translateY(-2px);

}

@media (max-width: 900px) {
        .giving-grid {

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

    }

        .giving-card:last-child {

        grid-column: 1 / -1;

    }

        .giving-card:last-child .giving-photo {

        height: 260px;

    }
}

@media (max-width: 600px) {
        .giving-page {

        width: 94%;

    }

        .giving-grid {

        grid-template-columns: 1fr;

        gap: 20px;

    }

        .giving-card:last-child {

        grid-column: auto;

    }

        .giving-card:last-child .giving-photo,
    .giving-photo {

        height: 220px;

    }

        .giving-card-content {

        padding: 22px;

    }
}

@media (prefers-reduced-motion: reduce) {
        .giving-card,
    .giving-photo img {

        transition: none;

    }
}

/* Social icons in the floating navigation */
.nav-social {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: 9px;
    padding-left: 13px;
    border-left: 1px solid var(--border);
}

.nav-links .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    color: var(--black);
    border-radius: 50%;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-links .social-link:hover,
.nav-links .social-link:focus-visible {
    color: var(--accent-dark);
    background: var(--accent-light);
    transform: translateY(-2px);
}

.social-link svg {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
}

.social-link span {
    display: none;
}

@media (max-width: 900px) {
    .nav-social {
        gap: 8px;
        margin: 6px 0 0;
        padding: 12px 4px 2px;
        border-left: 0;
        border-top: 1px solid var(--border);
    }

    .nav-links .social-link {
        width: auto;
        height: 44px;
        gap: 9px;
        padding: 0 12px;
        border-radius: 12px;
    }

    .social-link span {
        display: inline;
    }
}
