.community-home .experience-container {
    width: 100%;
    max-width: 1480px;
    margin-right: auto;
    margin-left: auto;
    padding-right: clamp(1.25rem, 3.5vw, 4rem);
    padding-left: clamp(1.25rem, 3.5vw, 4rem);
    box-sizing: border-box;
}

.community-home-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(4.5rem, 8vw, 8rem) 0;
    color: #fff;
    background:
        radial-gradient(circle at 82% 18%, rgba(220, 174, 103, .35), transparent 28%),
        radial-gradient(circle at 14% 86%, rgba(95, 146, 103, .24), transparent 35%),
        linear-gradient(135deg, #0d3820 0%, #174f2b 52%, #225f39 100%);
}

.community-home-hero::before {
    content: "";
    position: absolute;
    inset: auto -12rem -16rem auto;
    width: 34rem;
    height: 34rem;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 48% 52% 64% 36% / 42% 48% 52% 58%;
    box-shadow:
        0 0 0 2rem rgba(255, 255, 255, .025),
        0 0 0 5rem rgba(255, 255, 255, .015);
    transform: rotate(19deg);
    z-index: -1;
}

.community-home-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(19rem, 25rem);
    gap: clamp(2.5rem, 7vw, 7rem);
    align-items: end;
}

.community-home-hero__eyebrow {
    margin: 0 0 .85rem;
    color: #efd29b;
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.community-home-hero h1 {
    max-width: 12ch;
    margin: 0;
    color: #fff;
    font-size: clamp(3.15rem, 7vw, 6.6rem);
    line-height: .92;
    letter-spacing: -.065em;
}

.community-home-hero__lead {
    max-width: 47rem;
    margin: 1.6rem 0 0;
    color: rgba(255, 255, 255, .8);
    font-size: clamp(1.05rem, 2vw, 1.28rem);
    line-height: 1.72;
}

.community-home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.2rem;
    margin-top: 2.25rem;
}

.community-home-hero__secondary-link {
    color: rgba(255, 255, 255, .82);
    font-weight: 800;
    text-decoration: none;
}

.community-home-hero__secondary-link:hover {
    color: #fff;
}

.community-home-hero__hint {
    max-width: 35rem;
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, .66);
    font-size: .9rem;
}

.community-home-hero__panel {
    padding: 1.2rem;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 1.75rem;
    background: rgba(255, 255, 255, .1);
    box-shadow: 0 2rem 5rem rgba(0, 0, 0, .22);
    backdrop-filter: blur(18px);
}

.community-home-hero__panel-intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    padding: .4rem .4rem 1rem;
}

.community-home-hero__panel-intro span {
    color: rgba(255, 255, 255, .7);
    font-size: .76rem;
    font-weight: 850;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.community-home-hero__panel-intro strong {
    color: #efd29b;
    font-size: clamp(3rem, 6vw, 4.5rem);
    line-height: .8;
    letter-spacing: -.06em;
}

.community-home-hero__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
}

.community-home-hero__stats div {
    padding: 1rem .85rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, .1);
}

.community-home-hero__stats strong,
.community-home-hero__stats span {
    display: block;
}

.community-home-hero__stats strong {
    color: #fff;
    font-size: 1.55rem;
}

.community-home-hero__stats span {
    margin-top: .2rem;
    color: rgba(255, 255, 255, .66);
    font-size: .68rem;
    font-weight: 750;
    line-height: 1.25;
}

.community-home-hero__panel > p {
    margin: 1rem .35rem .1rem;
    color: rgba(255, 255, 255, .62);
    font-size: .78rem;
    line-height: 1.55;
}

.community-home-areas-section {
    padding-top: clamp(3.8rem, 7vw, 6.8rem);
}

.community-home-section-heading {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 1.8rem;
}

.community-home-section-heading h2 {
    max-width: 16ch;
    margin: .3rem 0 .75rem;
    font-size: clamp(2.2rem, 4.2vw, 4rem);
    line-height: 1.04;
    letter-spacing: -.045em;
    color: var(--portal-color-heading, #174f2b);
}

.community-home-section-heading p:last-child {
    max-width: 52rem;
    color: var(--portal-color-muted, #667064);
    line-height: 1.72;
}

.community-home-area-toolbar {
    display: grid;
    grid-template-columns: minmax(15rem, 1fr) auto;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.8rem;
    padding: .85rem;
    border: 1px solid var(--portal-color-border, #ddd6c7);
    border-radius: 1.35rem;
    background: color-mix(in srgb, var(--portal-color-surface, #fff) 94%, transparent);
    box-shadow: 0 1.1rem 3rem rgba(24, 55, 32, .07);
}

.community-home-search {
    position: relative;
    display: flex;
    align-items: center;
}

.community-home-search__icon {
    position: absolute;
    left: 1rem;
    color: var(--portal-color-primary, #174f2b);
    font-size: 1.25rem;
    pointer-events: none;
}

.community-home-search input {
    width: 100%;
    min-height: 3.25rem;
    padding: .75rem 3rem .75rem 3rem;
    border: 1px solid transparent;
    border-radius: 1rem;
    outline: none;
    background: var(--portal-color-surface-soft, #f2eee5);
    color: var(--portal-color-text, #243326);
    font: inherit;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.community-home-search input:focus {
    border-color: color-mix(in srgb, var(--portal-color-primary, #174f2b) 45%, transparent);
    background: var(--portal-color-surface, #fff);
    box-shadow: 0 0 0 .25rem color-mix(in srgb, var(--portal-color-primary, #174f2b) 10%, transparent);
}

.community-home-search__clear {
    position: absolute;
    right: .75rem;
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--portal-color-muted, #667064);
    font-size: 1.35rem;
    cursor: pointer;
}

.community-home-area-count {
    display: flex;
    align-items: baseline;
    gap: .45rem;
    margin: 0;
    padding: 0 .75rem;
    white-space: nowrap;
    color: var(--portal-color-muted, #667064);
    font-size: .78rem;
}

.community-home-area-count strong {
    color: var(--portal-color-primary, #174f2b);
    font-size: 1.45rem;
}

.community-home-area-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.community-home-area-card {
    position: relative;
    min-height: 18.25rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 1.55rem;
    border: 1px solid var(--portal-color-border, #ddd6c7);
    border-radius: 1.5rem;
    background:
        radial-gradient(circle at 85% 18%, rgba(23, 79, 43, .06), transparent 20%),
        var(--portal-color-surface, #fff);
    color: inherit;
    text-decoration: none;
    box-shadow: 0 1rem 2.8rem rgba(24, 55, 32, .06);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.community-home-area-card:hover {
    transform: translateY(-6px);
    border-color: color-mix(in srgb, var(--portal-color-primary, #174f2b) 28%, var(--portal-color-border, #ddd6c7));
    box-shadow: 0 1.8rem 4rem rgba(24, 55, 32, .12);
}

.community-home-area-card__number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: rgba(23, 79, 43, .08);
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.08em;
}

.community-home-area-card__kicker {
    display: inline-flex;
    width: fit-content;
    padding: .38rem .7rem;
    border-radius: 999px;
    background: var(--portal-color-primary-soft, #e5efe6);
    color: var(--portal-color-primary, #174f2b);
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.community-home-area-card h3 {
    max-width: 16ch;
    margin: 1.25rem 0 .7rem;
    font-size: 1.45rem;
    letter-spacing: -.03em;
    color: var(--portal-color-heading, #174f2b);
}

.community-home-area-card p {
    color: var(--portal-color-muted, #667064);
    line-height: 1.68;
}

.community-home-area-card__link {
    margin-top: auto;
    padding-top: 1.2rem;
    color: var(--portal-color-primary, #174f2b);
    font-weight: 850;
}

.community-home-area-card--highlight {
    background:
        radial-gradient(circle at 82% 18%, rgba(182, 138, 85, .16), transparent 24%),
        linear-gradient(180deg, #ffffff, #fbf8f1);
    border-color: color-mix(in srgb, var(--portal-color-accent, #b68a55) 32%, var(--portal-color-border, #ddd6c7));
}

.community-home-area-card--highlight .community-home-area-card__kicker {
    background: color-mix(in srgb, var(--portal-color-accent, #b68a55) 20%, white);
    color: #81592c;
}

.community-home-search-empty {
    padding: clamp(3rem, 8vw, 6rem);
    text-align: center;
    border: 1px dashed var(--portal-color-border, #ddd6c7);
    border-radius: 1.5rem;
    background: var(--portal-color-surface, #fff);
}

.community-home-search-empty > span {
    width: 3.5rem;
    height: 3.5rem;
    display: grid;
    place-items: center;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--portal-color-primary-soft, #e5efe6);
    color: var(--portal-color-primary, #174f2b);
    font-size: 1.35rem;
}

.community-home-search-empty h3 {
    margin: 0 0 .55rem;
    font-size: 1.5rem;
}

.community-home-search-empty p {
    margin: 0;
    color: var(--portal-color-muted, #667064);
}

.community-home-search-empty button {
    margin-top: 1.25rem;
    padding: .7rem 1rem;
    border: 0;
    border-radius: 999px;
    background: var(--portal-color-primary, #174f2b);
    color: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.community-home-promo {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.5rem;
    align-items: center;
    margin-top: 2rem;
    padding: 1.5rem;
    border: 1px solid var(--portal-color-border, #ddd6c7);
    border-radius: 1.5rem;
    background:
        radial-gradient(circle at 85% 20%, rgba(182, 138, 85, .14), transparent 24%),
        var(--portal-color-surface, #fff);
}

.community-home-promo h3 {
    margin: .35rem 0 .55rem;
    font-size: 1.75rem;
    letter-spacing: -.035em;
    color: var(--portal-color-heading, #174f2b);
}

.community-home-promo p:last-child {
    margin: 0;
    color: var(--portal-color-muted, #667064);
    line-height: 1.68;
}

.community-home-featured {
    background: var(--portal-color-surface-soft, #eee9de);
}

.community-home-featured-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.community-home-sidebar {
    display: grid;
    gap: 1rem;
    position: sticky;
    top: 6rem;
}

.community-home-sidebar-card {
    padding: 1.4rem;
    border: 1px solid var(--portal-color-border, #ddd6c7);
    border-radius: 1.3rem;
    background: var(--portal-color-surface, #fff);
}

.community-home-sidebar-card--promise {
    color: var(--portal-color-on-primary, #fff);
    background:
        radial-gradient(circle at 83% 18%, rgba(255, 255, 255, .12), transparent 22%),
        var(--portal-color-primary, #174f2b);
}

.community-home-sidebar-card--promise h3,
.community-home-sidebar-card--promise p,
.community-home-sidebar-card--promise .community-eyebrow {
    color: inherit;
}

.community-home-sidebar-card h3 {
    margin: .2rem 0 .65rem;
    color: var(--portal-color-heading, #174f2b);
}

.community-home-sidebar-card p {
    margin: 0;
    color: var(--portal-color-muted, #667064);
    line-height: 1.65;
}

.community-home-sidebar-card--promise p {
    opacity: .92;
}

.community-home-space-list {
    display: grid;
    gap: .75rem;
    margin-top: 1rem;
}

.community-home-space-list div {
    display: grid;
    gap: .25rem;
    padding-top: .8rem;
    border-top: 1px solid var(--portal-color-border, #ddd6c7);
}

.community-home-space-list strong {
    color: var(--portal-color-heading, #174f2b);
}

.community-home-space-list span,
.community-home-muted {
    color: var(--portal-color-muted, #667064);
    font-size: .9rem;
}

.community-home-sidebar-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--portal-color-primary, #174f2b);
    font-weight: 850;
    text-decoration: none;
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (max-width: 1080px) {
    .community-home-hero__grid,
    .community-home-area-grid,
    .community-home-featured-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .community-home-hero__grid {
        grid-template-columns: 1fr;
    }

    .community-home-hero__panel {
        max-width: 34rem;
    }

    .community-home-area-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .community-home-promo {
        grid-template-columns: 1fr;
        align-items: start;
    }
}

@media (max-width: 980px) {
    .community-home-sidebar {
        position: static;
    }
}

@media (max-width: 760px) {
    .community-home-area-toolbar {
        grid-template-columns: 1fr;
    }

    .community-home-area-count {
        padding-bottom: .25rem;
    }

    .community-home-hero__stats {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 680px) {
    .community-home-area-grid,
    .community-home-featured-grid {
        grid-template-columns: 1fr;
    }

    .community-home-area-card {
        min-height: 15.75rem;
    }

    .community-home-hero__stats {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .community-home-area-card {
        transition: none;
    }
}


/* Community home refinement v1.6.2 */
.community-home-hero__panel {
    padding: 1.05rem;
    background: rgba(255, 255, 255, .075);
    box-shadow: 0 1.3rem 3.4rem rgba(0, 0, 0, .16);
}

.community-home-hero__panel-intro {
    align-items: center;
    padding-bottom: .85rem;
}

.community-home-hero__panel-intro strong {
    color: rgba(239, 210, 155, .9);
    font-size: clamp(2.15rem, 4vw, 3rem);
    font-weight: 760;
    letter-spacing: -.045em;
}

.community-home-hero__stats {
    gap: .5rem;
}

.community-home-hero__stats div {
    padding: .78rem .72rem;
    background: rgba(255, 255, 255, .075);
}

.community-home-hero__stats strong {
    font-size: 1.22rem;
    font-weight: 760;
}

.community-home-hero__stats span {
    color: rgba(255, 255, 255, .58);
    font-size: .65rem;
    font-weight: 680;
}

.community-home-hero__panel > p {
    margin-top: .8rem;
    color: rgba(255, 255, 255, .55);
    font-size: .74rem;
}
