/* =========================================================
   COMMUNITY SAFETY PAGE
   Desktop layout
   ========================================================= */


/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */

.community-hero {
    position: relative;
    min-height: 680px;
    overflow: hidden;
    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 1) 0%,
            rgba(255, 255, 255, 0.98) 30%,
            rgba(255, 255, 255, 0.78) 47%,
            rgba(255, 255, 255, 0.08) 68%,
            rgba(255, 255, 255, 0) 100%
        ),
        url('/assets/images/community-safety/community-safety-hero.jpg')
        center right / cover no-repeat;
}

.community-hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    min-height: 680px;
    padding-top: 72px;
    padding-bottom: 72px;
}

.community-hero__content {
    width: 760px;
    max-width: 58%;
}

.community-hero__eyebrow {
    margin: 0 0 16px;
    color: var(--color-red, #b5121b);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.community-hero__title {
    margin: 0;
    color: var(--color-navy, #0b274d);
    font-size: clamp(2.35rem, 3.25vw, 3.55rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.community-hero__line {
    display: block;
    white-space: nowrap;
}

.community-hero__line--navy {
    color: var(--color-navy, #0b274d);
}

.community-hero__line--red {
    color: var(--color-red, #b5121b);
}

.community-hero__description {
    max-width: 570px;
    margin: 28px 0 0;
    color: #34445a;
    font-size: 1.08rem;
    line-height: 1.75;
}

.community-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 34px;
}


/* ---------------------------------------------------------
   Intermediate desktop widths
   --------------------------------------------------------- */

@media (max-width: 1200px) {
    .community-hero {
        min-height: 620px;
        background-position: 58% center;
    }

    .community-hero__inner {
        min-height: 620px;
    }

    .community-hero__content {
        width: 640px;
        max-width: 58%;
    }

    .community-hero__title {
        font-size: clamp(2.1rem, 3vw, 3rem);
    }

    .community-hero__line {
        white-space: normal;
    }
}

/* =========================================================
   COMMUNITY INITIATIVES
   ========================================================= */

.community-initiatives {
    padding: 88px 0 96px;
    background: #ffffff;
}

.community-initiatives__heading {
    max-width: 760px;
    margin: 0 auto 44px;
    text-align: center;
}

.community-initiatives__eyebrow {
    margin: 0 0 10px;
    color: var(--color-red, #b5121b);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.community-initiatives__heading h2 {
    margin: 0;
    color: var(--color-navy, #0b274d);
    font-size: clamp(2.15rem, 3vw, 3.2rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.community-initiatives__intro {
    max-width: 640px;
    margin: 16px auto 0;
    color: #5a6879;
    font-size: 1.05rem;
    line-height: 1.7;
}

.community-initiatives__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.initiative-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e6ebf1;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(10, 39, 77, 0.08);
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        border-color 180ms ease;
}

.initiative-card:hover {
    transform: translateY(-5px);
    border-color: #d6dee9;
    box-shadow: 0 18px 38px rgba(10, 39, 77, 0.13);
}

.initiative-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: var(--initiative-accent, #0b274d);
}

.initiative-card--red {
    --initiative-accent: var(--color-red, #b5121b);
}

.initiative-card--navy {
    --initiative-accent: var(--color-navy, #0b274d);
}

.initiative-card--gold {
    --initiative-accent: #d69a21;
}

.initiative-card__link {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 28px 24px 24px 28px;
    color: inherit;
    text-decoration: none;
}

.initiative-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    border-radius: 16px;
    background: color-mix(
        in srgb,
        var(--initiative-accent) 10%,
        #f4f7fa
    );
}

.initiative-card__icon img {
    display: block;
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.initiative-card__content {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.initiative-card__content h3 {
    margin: 0;
    color: var(--color-navy, #0b274d);
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.3;
}

.initiative-card__content p {
    margin: 12px 0 0;
    color: #5a6879;
    font-size: 0.95rem;
    line-height: 1.65;
}

.initiative-card__action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 20px;
    color: var(--initiative-accent);
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.initiative-card__action span {
    transition: transform 180ms ease;
}

.initiative-card:hover .initiative-card__action span {
    transform: translateX(4px);
}


/* =========================================================
   COMMUNITY INITIATIVES — RESPONSIVE DESKTOP
   ========================================================= */

@media (max-width: 1280px) {
    .community-initiatives__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .community-initiatives {
        padding: 72px 0 80px;
    }

    .community-initiatives__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* =========================================================
   FEATURED PROGRAMS
   ========================================================= */

.community-featured {
    padding: 86px 0 96px;
    background: #f7faff;
}

.community-featured__heading {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

.community-featured__eyebrow {
    margin: 0 0 10px;
    color: var(--color-red, #b5121b);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.community-featured__heading h2 {
    margin: 0;
    color: var(--color-navy, #0b274d);
    font-size: clamp(2.15rem, 3vw, 3.15rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.community-featured__intro {
    max-width: 650px;
    margin: 16px auto 0;
    color: #5a6879;
    font-size: 1.02rem;
    line-height: 1.7;
}

.community-featured__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.featured-program-card {
    overflow: hidden;
    border: 1px solid #e1e7ef;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(10, 39, 77, 0.08);
    transition:
        transform 180ms ease,
        box-shadow 180ms ease;
}

.featured-program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(10, 39, 77, 0.14);
}

.featured-program-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.featured-program-card__image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #eaf0f6;
}

.featured-program-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 240ms ease;
}

.featured-program-card:hover .featured-program-card__image img {
    transform: scale(1.035);
}

.featured-program-card__content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px 24px 26px;
}

.featured-program-card__content h3 {
    margin: 0;
    color: var(--color-navy, #0b274d);
    font-size: 1.18rem;
    font-weight: 800;
    line-height: 1.3;
}

.featured-program-card__content p {
    margin: 12px 0 0;
    color: #5a6879;
    font-size: 0.95rem;
    line-height: 1.65;
}

.featured-program-card__action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 22px;
    color: var(--color-red, #b5121b);
    font-size: 0.87rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.featured-program-card__action span {
    transition: transform 180ms ease;
}

.featured-program-card:hover .featured-program-card__action span {
    transform: translateX(4px);
}


/* =========================================================
   FEATURED PROGRAMS — RESPONSIVE DESKTOP
   ========================================================= */

@media (max-width: 1200px) {
    .community-featured__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    .community-featured {
        padding: 72px 0 80px;
    }

    .community-featured__grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   COMMUNITY IMPACT
   ========================================================= */

.community-impact {
    position: relative;
    overflow: hidden;
    padding: 78px 0 82px;
    background:
        radial-gradient(
            circle at top left,
            rgba(255, 255, 255, 0.05),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            #071d38 0%,
            #0b2b55 52%,
            #0d3a70 100%
        );
    color: #ffffff;
}

.community-impact::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 240px;
    height: 100%;
    opacity: 0.16;
    background-image: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.7) 1.5px,
        transparent 1.5px
    );
    background-size: 18px 18px;
    pointer-events: none;
}

.community-impact .site-container {
    position: relative;
    z-index: 1;
}

.community-impact__heading {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

.community-impact__eyebrow {
    margin: 0 0 10px;
    color: #e0a126;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.community-impact__heading h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(2.2rem, 3vw, 3.2rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.community-impact__intro {
    max-width: 650px;
    margin: 16px auto 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.02rem;
    line-height: 1.7;
}

.community-impact__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.community-impact-card {
    position: relative;
    padding: 10px 34px;
    text-align: center;
}

.community-impact-card:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 10%;
    right: 0;
    width: 1px;
    height: 80%;
    background: rgba(255, 255, 255, 0.18);
}

.community-impact-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 74px;
    height: 74px;
    margin: 0 auto 20px;
}

.community-impact-card__icon img {
    display: block;
    width: 62px;
    height: 62px;
    object-fit: contain;
}

.community-impact-card__content h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.3;
}

.community-impact-card__content p {
    max-width: 260px;
    margin: 12px auto 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.93rem;
    line-height: 1.6;
}

/* Optional accent treatments */

.community-impact-card--gold .community-impact-card__content h3 {
    color: #f2b63d;
}

.community-impact-card--red .community-impact-card__content h3 {
    color: #ff5a63;
}

.community-impact-card--blue .community-impact-card__content h3 {
    color: #70b7ff;
}

/* Future impact note */

.community-impact__future {
    max-width: 760px;
    margin: 46px auto 0;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    text-align: center;
}

.community-impact__future p {
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.88rem;
    line-height: 1.6;
}


/* =========================================================
   COMMUNITY IMPACT — RESPONSIVE DESKTOP
   ========================================================= */

@media (max-width: 1100px) {
    .community-impact__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 42px;
    }

    .community-impact-card:nth-child(2)::after,
    .community-impact-card:nth-child(4)::after {
        display: none;
    }
}

@media (max-width: 760px) {
    .community-impact {
        padding: 66px 0 72px;
    }

    .community-impact__grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .community-impact-card {
        padding: 0 20px 34px;
    }

    .community-impact-card:not(:last-child)::after {
        top: auto;
        right: 20%;
        bottom: 0;
        left: 20%;
        width: auto;
        height: 1px;
    }
}

/* =========================================================
   GET INVOLVED
   ========================================================= */

.community-get-involved {
    padding: 88px 0 96px;
    background: #ffffff;
}

.community-get-involved__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr);
    gap: 42px;
    align-items: stretch;
}

/* ---------------------------------------------------------
   Main Image
   --------------------------------------------------------- */

.community-get-involved__image {
    min-height: 100%;
    overflow: hidden;
    border-radius: 20px;
    background: #edf2f7;
    box-shadow: 0 12px 30px rgba(10, 39, 77, 0.10);
}

.community-get-involved__image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 470px;
    object-fit: cover;
}

/* ---------------------------------------------------------
   Content
   --------------------------------------------------------- */

.community-get-involved__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.community-get-involved__heading {
    max-width: 760px;
    margin-bottom: 30px;
}

.community-get-involved__eyebrow {
    margin: 0 0 10px;
    color: var(--color-red, #b5121b);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.community-get-involved__heading h2 {
    margin: 0;
    color: var(--color-navy, #0b274d);
    font-size: clamp(2.1rem, 3vw, 3.05rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.community-get-involved__intro {
    max-width: 720px;
    margin: 16px 0 0;
    color: #5a6879;
    font-size: 1rem;
    line-height: 1.7;
}

/* ---------------------------------------------------------
   Action Cards
   --------------------------------------------------------- */

.community-get-involved__options {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.get-involved-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(10, 39, 77, 0.07);
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        border-color 180ms ease;
}

.get-involved-card:hover {
    transform: translateY(-4px);
    border-color: #d6dee8;
    box-shadow: 0 14px 30px rgba(10, 39, 77, 0.12);
}

.get-involved-card__link {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 20px 16px 18px;
    color: inherit;
    text-align: center;
    text-decoration: none;
}

.get-involved-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    margin: 0 auto 16px;
    border-radius: 14px;
    background: #f2f5f9;
}

.get-involved-card__icon img {
    display: block;
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.get-involved-card__content {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.get-involved-card__content h3 {
    margin: 0;
    color: var(--color-navy, #0b274d);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.25;
}

.get-involved-card__content p {
    margin: 10px 0 0;
    color: #5c6979;
    font-size: 0.82rem;
    line-height: 1.55;
}

.get-involved-card__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 16px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.get-involved-card__action span {
    transition: transform 180ms ease;
}

.get-involved-card:hover .get-involved-card__action span {
    transform: translateX(4px);
}

/* ---------------------------------------------------------
   Card Accent Colors
   --------------------------------------------------------- */

.get-involved-card--red .get-involved-card__action {
    color: var(--color-red, #b5121b);
}

.get-involved-card--navy .get-involved-card__action {
    color: var(--color-navy, #0b274d);
}

.get-involved-card--gold .get-involved-card__action {
    color: #d89516;
}

/* Subtle top accents */

.get-involved-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: var(--card-accent, #0b274d);
}

.get-involved-card--red {
    --card-accent: var(--color-red, #b5121b);
}

.get-involved-card--navy {
    --card-accent: var(--color-navy, #0b274d);
}

.get-involved-card--gold {
    --card-accent: #d89516;
}


/* =========================================================
   GET INVOLVED — RESPONSIVE DESKTOP
   ========================================================= */

@media (max-width: 1320px) {
    .community-get-involved__grid {
        grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
        gap: 32px;
    }

    .community-get-involved__options {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1050px) {
    .community-get-involved__grid {
        grid-template-columns: 1fr;
    }

    .community-get-involved__image {
        max-height: 420px;
    }

    .community-get-involved__image img {
        min-height: 420px;
    }

    .community-get-involved__heading {
        max-width: 800px;
    }

    .community-get-involved__options {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .community-get-involved {
        padding: 68px 0 76px;
    }

    .community-get-involved__image img {
        min-height: 340px;
    }

    .community-get-involved__options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* =========================================================
   STAY CONNECTED / NEWSLETTER
   ========================================================= */

.community-newsletter {
    padding: 28px 0;
    background: #ffffff;
}

.community-newsletter__inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) minmax(360px, 0.9fr);
    gap: 22px;
    align-items: center;

    padding: 22px 26px;

    border: 1px solid #dce7f3;
    border-radius: 18px;

    background:
        linear-gradient(
            90deg,
            #f3f8fd 0%,
            #edf5fc 50%,
            #e8f2fb 100%
        );

    box-shadow: 0 8px 24px rgba(10, 39, 77, 0.06);
}

/* ---------------------------------------------------------
   Status message
   --------------------------------------------------------- */

.community-newsletter__message {
    grid-column: 1 / -1;

    margin: 0 0 2px;
    padding: 12px 16px;

    border-radius: 10px;

    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.5;
}

.community-newsletter__message--success {
    border: 1px solid #b8dfc5;
    background: #edf9f1;
    color: #1d6b37;
}

.community-newsletter__message--error {
    border: 1px solid #efc3c6;
    background: #fff1f2;
    color: #a3151d;
}

/* ---------------------------------------------------------
   Icon
   --------------------------------------------------------- */

.community-newsletter__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;

    border: 1px solid #d7e2ee;
    border-radius: 50%;

    background: #ffffff;

    box-shadow: 0 5px 14px rgba(10, 39, 77, 0.08);
}

.community-newsletter__icon img {
    display: block;
    width: 34px;
    height: 34px;
    object-fit: contain;
}

/* ---------------------------------------------------------
   Content
   --------------------------------------------------------- */

.community-newsletter__content h2 {
    margin: 0;

    color: var(--color-navy, #0b274d);

    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.2;
}

.community-newsletter__content p {
    max-width: 540px;

    margin: 6px 0 0;

    color: #536173;

    font-size: 0.9rem;
    line-height: 1.55;
}

/* ---------------------------------------------------------
   Form
   --------------------------------------------------------- */

.community-newsletter__form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
}

.community-newsletter__input {
    width: 100%;
    min-width: 0;
    height: 46px;

    padding: 0 15px;

    border: 1px solid #cbd7e4;
    border-radius: 9px;

    background: #ffffff;

    color: #172b45;

    font: inherit;
    font-size: 0.92rem;

    outline: none;

    transition:
        border-color 160ms ease,
        box-shadow 160ms ease;
}

.community-newsletter__input::placeholder {
    color: #8491a2;
}

.community-newsletter__input:focus {
    border-color: var(--color-navy, #0b274d);
    box-shadow: 0 0 0 3px rgba(11, 39, 77, 0.10);
}

.community-newsletter__button {
    height: 46px;

    padding: 0 24px;

    border: 0;
    border-radius: 9px;

    background: var(--color-red, #b5121b);

    color: #ffffff;

    font: inherit;
    font-size: 0.88rem;
    font-weight: 800;

    cursor: pointer;

    transition:
        background 160ms ease,
        transform 160ms ease,
        box-shadow 160ms ease;
}

.community-newsletter__button:hover {
    background: #9f0f17;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(181, 18, 27, 0.20);
}

.community-newsletter__button:focus-visible {
    outline: 3px solid rgba(181, 18, 27, 0.22);
    outline-offset: 3px;
}


/* =========================================================
   NEWSLETTER — RESPONSIVE DESKTOP
   ========================================================= */

@media (max-width: 1050px) {
    .community-newsletter__inner {
        grid-template-columns: auto 1fr;
    }

    .community-newsletter__form {
        grid-column: 1 / -1;
    }
}

@media (max-width: 700px) {
    .community-newsletter {
        padding: 22px 0;
    }

    .community-newsletter__inner {
        grid-template-columns: 1fr;
        gap: 16px;

        padding: 20px;
    }

    .community-newsletter__icon {
        width: 52px;
        height: 52px;
    }

    .community-newsletter__content {
        text-align: left;
    }

    .community-newsletter__form {
        grid-column: auto;
        grid-template-columns: 1fr;
    }

    .community-newsletter__button {
        width: 100%;
    }
}

/* =========================================================
   BOTTOM CTA
   ========================================================= */

.community-bottom-cta {
    padding: 0 0 30px;
    background: #ffffff;
}

.community-bottom-cta__inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;

    padding: 24px 28px;

    border-radius: 18px;

    background:
        linear-gradient(
            90deg,
            #b5121b 0%,
            #c91520 48%,
            #b5121b 100%
        );

    box-shadow: 0 10px 28px rgba(181, 18, 27, 0.18);
}

/* ---------------------------------------------------------
   Icon
   --------------------------------------------------------- */

.community-bottom-cta__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 72px;
    height: 72px;
}

.community-bottom-cta__icon img {
    display: block;
    width: 64px;
    height: 64px;
    object-fit: contain;
}

/* ---------------------------------------------------------
   Content
   --------------------------------------------------------- */

.community-bottom-cta__content h2 {
    margin: 0;

    color: #ffffff;

    font-size: clamp(1.45rem, 2vw, 2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.community-bottom-cta__content p {
    margin: 6px 0 0;

    color: rgba(255, 255, 255, 0.88);

    font-size: 0.95rem;
    line-height: 1.5;
}

/* ---------------------------------------------------------
   Button
   --------------------------------------------------------- */

.community-bottom-cta__action {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.community-bottom-cta__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;

    min-width: 240px;
    min-height: 52px;

    padding: 0 24px;

    border: 2px solid #ffffff;
    border-radius: 10px;

    background: #ffffff;

    color: var(--color-red, #b5121b);

    font-size: 0.92rem;
    font-weight: 800;
    text-decoration: none;

    transition:
        transform 160ms ease,
        box-shadow 160ms ease,
        background 160ms ease;
}

.community-bottom-cta__button:hover {
    transform: translateY(-2px);

    background: #f8fafc;

    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.community-bottom-cta__button span {
    font-size: 1.2rem;
    transition: transform 160ms ease;
}

.community-bottom-cta__button:hover span {
    transform: translateX(4px);
}


/* =========================================================
   BOTTOM CTA — RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {
    .community-bottom-cta__inner {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .community-bottom-cta__action {
        grid-column: 1 / -1;
        justify-content: flex-start;
        padding-left: 96px;
    }
}

@media (max-width: 650px) {
    .community-bottom-cta {
        padding-bottom: 22px;
    }

    .community-bottom-cta__inner {
        grid-template-columns: 1fr;
        gap: 16px;

        padding: 22px;
        text-align: center;
    }

    .community-bottom-cta__icon {
        margin: 0 auto;
    }

    .community-bottom-cta__action {
        grid-column: auto;
        justify-content: center;
        padding-left: 0;
    }

    .community-bottom-cta__button {
        width: 100%;
        min-width: 0;
    }
}