:root {
    --community-primary: #FF7A95;
    --community-dark: #1a1a2e;
    --community-text: #2b2b3a;
    --community-muted: #6b6b7b;
    --community-bg-soft: #fdf3f5;
    --community-radius: 20px;
}

.community-page {
    overflow-x: clip;
}

.community-section__inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

.community-section__head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
}

.community-section__eyebrow {
    display: inline-block;
    color: var(--community-primary);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 13px;
    margin-bottom: 12px;
}

.community-section__title {
    font-size: 34px;
    font-weight: 700;
    color: var(--community-text);
    line-height: 1.25;
    margin: 0 0 16px;
}

.community-section__desc {
    color: var(--community-muted);
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}

/* Buttons */
.community-btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.community-btn:hover {
    transform: translateY(-2px);
}

.community-btn--primary {
    background: var(--community-primary);
    color: #fff;
    box-shadow: 0 10px 24px rgba(255, 122, 149, 0.35);
}

.community-btn--ghost {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
}

.community-btn--light {
    background: #fff;
    color: var(--community-primary);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

/* 1. HERO */
.community-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 702px;
    padding: 96px 24px 64px;
    background: #FF7A95;
    isolation: isolate;
    overflow: hidden;
}

.community-hero__pattern {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 1;
    pointer-events: none;
    background-image: url('../images/community/hero-pattern.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.community-hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 48px;
    width: 100%;
    max-width: 1188px;
}

.community-hero__visual {
    position: relative;
    flex: none;
    width: 540px;
    height: 582px;
}

.community-hero__visual-img {
    position: absolute;
    left: 47%;
    top: 51%;
    width: 890px;
    max-width: none;
    height: auto;
    transform: translate(-50%, calc(-50% + 65px));
    pointer-events: none;
    user-select: none;
}

.community-hero__visual-img-profile {
    position: absolute;
    left: 47%;
    top: 39%;
    width: 400px;
    height: 400px;
    max-width: none;
    transform: translate(-50%, calc(-50% + 65px));
    pointer-events: none;
    user-select: none;
}

.community-hero__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 48px;
    flex: none;
    width: 600px;
    max-width: 100%;
}

.community-hero__title {
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 75px;
    line-height: 0.9;
    color: #FEF5F0;
    text-align: left;
}

.community-hero__subtitle {
    margin: 0;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 24px;
    line-height: 1.5;
    color: #FEF5F0;
    text-align: left;
}

.community-hero__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    min-height: 48px;
    width: 200px;
    padding: 0 20px;
    box-sizing: border-box;
    background: #FFFFFF;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 18px;
    line-height: 1;
    color: #503B3A;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.community-hero__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(80, 59, 58, 0.2);
    color: #503B3A;
}

/* Floating item (hero → about) */
.community-floating-item {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -110px;
    top: -124px;
    margin-bottom: -70px;
    height: 300px;
    pointer-events: none;
}

.community-floating-item__img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    mix-blend-mode: screen;
}

.community-floating-scallop {
    position: relative;
    z-index: 9;
    width: 100%;
    margin-top: -17px;
    margin-bottom: -17px;
    pointer-events: none;
    top: -12px;
}

.scallop-divider {
    width: 100%;
    overflow: visible;
}

.scallop-divider__track {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    height: 25px;
    overflow: hidden;
}

.scallop-divider--top {
    transform: rotate(-180deg);
}

.scallop-divider--bottom:not(.scallop-divider--shadow) .scallop-divider__circle {
    box-shadow: 0 12px 24px rgba(55, 55, 55, 0.06);
}

.scallop-divider--shadow {
    filter: drop-shadow(0 12px 28px rgba(55, 55, 55, 0.14));
}

.scallop-divider--shadow .scallop-divider__circle {
    box-shadow: none;
}

.scallop-divider__circle {
    flex: 1;
    width: 37.89px;
    height: 37.89px;
    min-width: 20px;
    border-radius: 50%;
    background: var(--scallop-color, #ffffff);
}

.scallop-divider--desktop {
    display: block;
}

.scallop-divider--mobile {
    display: none;
}

@media (max-width: 768px) {
    .scallop-divider--desktop {
        display: none;
    }

    .scallop-divider--mobile {
        display: block;
    }
}

/* 2. ABOUT */
.community-about {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 142px 24px;
    padding-top: 0px;
    isolation: isolate;
    overflow: hidden;
    background: #ffffff;
}

.community-about__star {
    position: absolute;
    pointer-events: none;
    object-fit: contain;
    height: auto;
    flex: none;
}

.community-about__star--1 {
    width: 54px;
    left: 78.61%;
    top: 0.51%;
    z-index: 0;
}

.community-about__star--2 {
    width: 120px;
    left: 13.88%;
    top: 18.96%;
    z-index: 1;
}

.community-about__star--3 {
    width: 75px;
    left: 5.97%;
    top: 57.17%;
    z-index: 2;
}

.community-about__star--4 {
    width: 250px;
    left: 80.18%;
    top: 21.28%;
    z-index: 3;
}

.community-about__content {
    position: relative;
    z-index: 4;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 48px;
    width: 100%;
    max-width: 688px;
    text-align: center;
}

.community-about__title {
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 75px;
    line-height: 0.9;
    color: #503B3A;
    text-align: center;
    text-wrap: balance;
}

.community-about__desc {
    margin: 0;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 20px;
    line-height: 1.8;
    color: #503B3A;
    text-align: center;
}

/* 3. VISI */
.community-vision {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px;
    isolation: isolate;
    overflow: visible;
    z-index: 1;
}

.community-vision__pattern {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url('../images/community/visi-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
}

.community-vision__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 48px;
    width: 100%;
    max-width: 688px;
    text-align: center;
}

.community-vision__title {
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 75px;
    line-height: 0.9;
    color: #503B3A;
    text-align: center;
}

.community-vision__desc {
    margin: 0;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 20px;
    line-height: 1.8;
    color: #503B3A;
    text-align: center;
}

/* 4. MISI */
.community-mission {
    position: relative;
    z-index: 2;
    background: transparent;
    overflow: visible;
}

.community-mission__top-scallop {
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    z-index: 1;
    overflow: visible;
    pointer-events: none;
}

.community-mission__bottom-scallop {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -20px;
    z-index: 1;
    overflow: visible;
    pointer-events: none;
}

.community-mission__body {
    position: relative;
    z-index: 2;
    padding: 64px 24px 200px;
    overflow: visible;
    background: #ffffff;
}

.community-mission__grid-bg {
    position: absolute;
    top: 173px;
    left: 50%;
    transform: translateX(-50%);
    width: 673px;
    height: 421px;
    background-image:
        linear-gradient(rgba(200, 200, 200, 0.45) 1px, transparent 1px),
        linear-gradient(90deg, rgba(200, 200, 200, 0.45) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

.community-mission__inner {
    position: relative;
    z-index: 1;
    max-width: 920px;
    margin: 0 auto;
}

.community-mission__heading {
    margin: 0 0 100px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 75px;
    line-height: 0.9;
    color: #503B3A;
    text-align: center;
}

.community-mission__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 32px;
    justify-items: center;
    overflow: visible;
}

.scallop-card {
    width: 100%;
    overflow: visible;
    --scallop-size: 28px;
    --scallop-radius: 14px;
}

.scallop-card__edge--top,
.scallop-card__edge--bottom {

    height: var(--scallop-radius);
    overflow: hidden;
    background: transparent;
}

.scallop-card__edge--top {
    margin-top: calc(var(--scallop-radius) * -1);
}

.scallop-card__edge--bottom {
    margin-bottom: calc(var(--scallop-radius) * -1);
    transform: rotate(-180deg);
}

.scallop-card__edge--left,
.scallop-card__edge--right {
    width: var(--scallop-radius);
    flex-shrink: 0;
    overflow: hidden;
    background: transparent;
    display: flex;
    align-self: stretch;
}

.scallop-card__edge--left {
    margin-left: calc(var(--scallop-radius) * -1);
    transform: rotate(-180deg);
}

.scallop-card__edge--right {
    margin-right: calc(var(--scallop-radius) * -1);
    transform: rotate(-180deg);
}

.scallop-card__row {
    display: flex;
    align-items: stretch;
    background: var(--scallop-card-color);
}

.scallop-card__track {
    display: flex;
}

.scallop-card__track--horizontal {
    width: 100%;
    height: var(--scallop-size);
}

.scallop-card__track--vertical {
    flex-direction: column;
    width: var(--scallop-size);
    height: 100%;
    min-height: 100%;
}

.scallop-card__edge--top .scallop-card__track--horizontal {
    align-items: flex-start;
}

.scallop-card__edge--bottom .scallop-card__track--horizontal {
    align-items: flex-end;
}

.scallop-card__edge--left .scallop-card__track--vertical {
    margin-left: calc(var(--scallop-radius) * -1);
    align-items: flex-start;
}

.scallop-card__edge--right .scallop-card__track--vertical {
    margin-right: calc(var(--scallop-radius) * -1);
    align-items: flex-end;
}

.scallop-card__circle {
    flex: 1;
    width: var(--scallop-size);
    height: var(--scallop-size);
    min-width: calc(var(--scallop-size) / 2);
    min-height: calc(var(--scallop-size) / 2);
    border-radius: 50%;
    background: var(--scallop-card-color);
    flex-shrink: 0;
}

.community-mission__card {
    position: relative;
    overflow: visible;
    width: 390px;
    box-sizing: border-box;
}

.community-mission__card-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-width: 0;
    height: 120px;
    box-sizing: border-box;
    padding: 16px 24px;
    background: #ffffff;
    text-align: center;
}

.community-mission__card-inner p {
    margin: 0;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 18px;
    line-height: 1.35;
    color: #503B3A;
}

.community-mission__deco {
    position: absolute;
    z-index: 2;
    pointer-events: none;
}

.community-mission__deco--tape {
    top: -13px;
    right: -33px;
    width: 96px;
    height: 30px;
    background: url(../images/community/sticky-tape.png) no-repeat center / contain;
    opacity: 1;
}

.community-mission__deco--clip {
    top: -7px;
    left: 3px;
    width: 22px;
    height: 38px;
    background: url('../images/community/clip.png') no-repeat center / contain;
}

.community-mission__deco--binder {
    top: -19px;
    left: -11px;
    width: 40px;
    height: 40px;
    background: url(../images/community/binder.png) no-repeat center / contain;
}

/* 5. MEMBERS */
.community-members {
    padding: 120px 0 140px;
    background: #DE869E;
}

.community-members__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 48px;
    box-sizing: border-box;
}

.community-members__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 36px;
    max-width: 602px;
    text-align: center;
}

.community-members__title {
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 75px;
    line-height: 0.9;
    color: #ffffff;
}

.community-members__desc {
    margin: 0;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 18px;
    line-height: 1.21;
    color: #ffffff;
}

#members-content {
    width: 100%;
    overflow: hidden;
}

.community-members__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    /* padding: 0 40px; */
    box-sizing: border-box;
    position: relative;
    z-index: 4;
    overflow: visible;
}

.community-members__filters {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    overflow: visible;
}

.community-members__filter {
    position: relative;
    overflow: visible;
}

.community-members__filter--open {
    z-index: 6;
}

.community-members__filter-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 8px 20px;
    border: none;
    border-radius: 999px;
    background: #ffffff;
    color: #DE869E;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    white-space: nowrap;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.community-members__filter-trigger:hover,
.community-members__filter--open .community-members__filter-trigger {
    box-shadow: 0 4px 14px rgba(80, 59, 58, 0.12);
}

.community-members__filter-caret {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.community-members__filter--open .community-members__filter-caret {
    transform: rotate(180deg);
}

.community-members__filter-caret svg {
    width: 16px;
    height: 16px;
}

.community-members__filter-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    min-width: max(100%, 220px);
    width: max-content;
    max-width: 320px;
    max-height: 280px;
    padding: 8px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(80, 59, 58, 0.16);
    overflow: hidden;
    box-sizing: border-box;
}

.community-members__filter-search-wrap {
    flex-shrink: 0;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(222, 134, 158, 0.16);
    margin-bottom: 4px;
}

.community-members__filter-search {
    display: block;
    width: 100%;
    min-height: 36px;
    padding: 8px 12px;
    border: 1px solid rgba(222, 134, 158, 0.28);
    border-radius: 10px;
    background: #ffffff;
    color: #503B3A;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.community-members__filter-search::placeholder {
    color: rgba(80, 59, 58, 0.45);
}

.community-members__filter-search:focus {
    border-color: #DE869E;
    box-shadow: 0 0 0 3px rgba(222, 134, 158, 0.14);
}

.community-members__filter-options {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #DE869E #ffffff;
}

.community-members__filter-options::-webkit-scrollbar {
    width: 6px;
}

.community-members__filter-options::-webkit-scrollbar-track {
    background: #ffffff;
    border-radius: 999px;
    margin: 6px 0;
}

.community-members__filter-options::-webkit-scrollbar-thumb {
    background: #DE869E;
    border-radius: 999px;
    border: 2px solid #ffffff;
}

.community-members__filter-options::-webkit-scrollbar-thumb:hover {
    background: #FF7A95;
}

.community-members__filter-empty {
    margin: 8px 0 4px;
    padding: 8px 12px;
    color: rgba(80, 59, 58, 0.55);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    text-align: center;
}

.community-members__filter-menu::-webkit-scrollbar {
    width: 6px;
}

.community-members__filter-menu::-webkit-scrollbar-track {
    background: #ffffff;
    border-radius: 999px;
    margin: 6px 0;
}

.community-members__filter-menu::-webkit-scrollbar-thumb {
    background: #DE869E;
    border-radius: 999px;
    border: 2px solid #ffffff;
}

.community-members__filter-menu::-webkit-scrollbar-thumb:hover {
    background: #FF7A95;
}

.community-members__filter-menu[hidden] {
    display: none;
}

.community-members__filter-option {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: #503B3A;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    text-align: left;
    cursor: pointer;
    white-space: nowrap;
}

.community-members__filter-option:hover,
.community-members__filter-option--active {
    background: rgba(222, 134, 158, 0.12);
    color: #DE869E;
}

.community-members__filter-option[hidden] {
    display: none;
}

.community-members__search {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    max-width: 360px;
    min-height: 40px;
    padding: 0 14px 0 20px;
    border-radius: 999px;
    background: #FFFFFF1F;
    box-sizing: border-box;
}

.community-members__search-input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    font-family: var(--font-body);
    font-size: 14px;
    color: #ffffff;
    -webkit-appearance: none;
    appearance: none;
}

.community-members__search-input::-webkit-search-decoration,
.community-members__search-input::-webkit-search-cancel-button,
.community-members__search-input::-webkit-search-results-button,
.community-members__search-input::-webkit-search-results-decoration {
    display: none;
    -webkit-appearance: none;
    appearance: none;
}

.community-members__search-input::-ms-clear,
.community-members__search-input::-ms-reveal {
    display: none;
    width: 0;
    height: 0;
}

.community-members__search-input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.community-members__search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    flex-shrink: 0;
}

.community-members__search-btn[hidden] {
    display: none !important;
}

.community-members__search-btn:hover {
    color: #ffffff;
}

.community-members__search-btn svg {
    width: 16px;
    height: 16px;
}

.community-members__grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: flex-start;
    gap: 24px;
    width: 100%;
    /* max-width: 1440px; */
    margin: 0 auto;
    /* padding: 0 56px; */
    box-sizing: border-box;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.community-members__grid--exit-next {
    animation: members-slide-out-left 0.16s cubic-bezier(0.4, 0, 0.8, 1) forwards;
}

.community-members__grid--exit-prev {
    animation: members-slide-out-right 0.16s cubic-bezier(0.4, 0, 0.8, 1) forwards;
}

.community-members__grid--enter-next {
    animation: members-slide-in-right 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.community-members__grid--enter-prev {
    animation: members-slide-in-left 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes members-slide-out-left {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(-28px);
        opacity: 0;
    }
}

@keyframes members-slide-out-right {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(28px);
        opacity: 0;
    }
}

@keyframes members-slide-in-right {
    from {
        transform: translateX(28px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes members-slide-in-left {
    from {
        transform: translateX(-28px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

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

    .community-members__grid--exit-next,
    .community-members__grid--exit-prev,
    .community-members__grid--enter-next,
    .community-members__grid--enter-prev {
        animation: none;
    }
}

.community-members__card {
    flex: 0 0 314px;
    width: 314px;
    height: 324px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px;
    border-radius: 24px;
    box-sizing: border-box;
    overflow: visible;
    background-color: #FCDDE5;
    background-image: url('../images/community/bg-member.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.community-members__card-body {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 242px;
    height: 252px;
    padding: 6px 6px 12px;
    gap: 13px;
    border: 6px solid #ffffff;
    border-radius: 24px;
    box-sizing: border-box;
    background: #ffffff;
    overflow: visible;
}

.community-members__card-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 132px;
    width: 230px;
    height: 132px;
    margin-inline: -6px;
    padding: 6px;
    gap: 10px;
    background: #FFDBCE;
    border-radius: 18px;
    box-sizing: border-box;
}

.community-members__card-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    flex-shrink: 0;
}

.community-members__card-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.community-members__card-whatsapp {
    position: absolute;
    right: 0;
    bottom: -8px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 30px;
    height: 30px;
    padding: 0;
    border-radius: 24px;
    background: #60BC50;
    color: #ffffff;
    text-decoration: none;
    overflow: hidden;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(55, 55, 55, 0.12);
    transition: box-shadow 0.25s ease, background 0.25s ease;
}

.community-members__card-whatsapp:hover,
.community-members__card-whatsapp:focus-visible {
    background: #55a847;
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(96, 188, 80, 0.35);
}

.community-members__card-whatsapp-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 30px;
    height: 48px;
}

.community-members__card-whatsapp svg {
    width: 22px;
    height: 22px;
}

.community-members__card-whatsapp-label {
    display: inline-block;
    max-width: 0;
    padding-left: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 16px;
    line-height: 1;
    color: #ffffff;
    transition: max-width 0.3s ease, opacity 0.25s ease, padding-left 0.3s ease;
}

.community-members__card-whatsapp:hover .community-members__card-whatsapp-label,
.community-members__card-whatsapp:focus-visible .community-members__card-whatsapp-label {
    max-width: 160px;
    padding-left: 18px;
    opacity: 1;
}

.community-members__card-name {
    margin: 0;
    padding: 0px 14px;
    flex: 1;
    min-height: 0;
    display: flex;
    /* align-items: center; */
    font-family: var(--font-heading);
    font-weight: 800;
    font-style: normal;
    font-size: 24px;
    line-height: 0.9;
    letter-spacing: 0;
    color: #373737;
    text-align: left;
    text-transform: capitalize;
    word-break: break-word;
}

.community-members__card-detail {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin: 0;
    padding: 0px 14px;
    flex-shrink: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-family: var(--font-body);
    font-weight: 400;
    font-style: normal;
    font-size: 14px;
    line-height: 1.21;
    letter-spacing: 0;
    color: #FF7A95;
    text-decoration: none;
    vertical-align: middle;
    transition: color 0.2s ease, gap 0.2s ease;
}

.community-members__card-detail:hover,
.community-members__card-detail:focus-visible {
    color: #DE869E;
    gap: 10px;
}

.community-members__card-detail svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

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

    .community-members__card-whatsapp,
    .community-members__card-whatsapp-label,
    .community-members__card-detail {
        transition: none;
    }
}

/* 5b. MEMBER DETAIL POPUP */
body.member-popup-open {
    overflow: hidden;
}

.member-popup {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

.member-popup[hidden] {
    display: none;
}

.member-popup__overlay {
    position: absolute;
    inset: 0;
    background: #00000080;
}

.member-popup__panel {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 750px;
    height: 500px;
    max-width: calc(100vw - 32px);
    max-height: calc(100vh - 32px);
    padding: 42px 48px;
    border-radius: 24px;
    box-sizing: border-box;
    background-color: #ffffff;
    background-image: url('../images/community/hero-pattern.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: visible;
    --member-popup-side: 140px;
}

.member-popup__close {
    position: absolute;
    top: 0;
    right: -48px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #ffffff;
    color: #373737;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: background 0.2s ease, color 0.2s ease;
}

.member-popup__close:hover,
.member-popup__close:focus-visible {
    background: #FF7A95;
    color: #ffffff;
}

.member-popup__deco {
    position: absolute;
    top: 20px;
    right: 52px;
    width: 28px;
    height: 28px;
    object-fit: contain;
    pointer-events: none;
}

.member-popup__top {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 29px;
    padding-right: 36px;
}

.member-popup__brand {
    display: flex;
    align-items: center;
    width: var(--member-popup-side);
    height: 36px;
    margin: 0;
    margin-top: 1px;
    flex-shrink: 0;
    font-family: var(--font-heading);
    font-weight: 900;
    font-style: normal;
    font-size: 18px;
    line-height: 1;
    letter-spacing: 0;
    color: #503B3A;
    text-transform: uppercase;
}

.member-popup__name {
    margin-top: -8px;
    height: 70px;
    width: 100%;
    font-family: var(--font-heading);
    font-weight: 800;
    font-style: normal;
    font-size: 38px;
    line-height: 0.9;
    letter-spacing: 0;
    color: #503B3A;
    text-align: left;
    text-transform: capitalize;
    word-break: break-word;
}

.member-popup__body {
    display: flex;
    gap: 31px;
    flex: 1;
    min-height: 0;
}

.member-popup__avatar-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    gap: 10px;
    width: var(--member-popup-side);
    height: 140px;
    padding: 6px;
    border-radius: 5000px;
    background: #FFDBCE;
    box-sizing: border-box;
    margin-top: -29px;
}

.member-popup__avatar {
    width: 120px;
    height: 120px;
    object-fit: contain;
    display: block;
}

.member-popup__info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    min-width: 0;
    overflow-y: auto;
}

.member-popup__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 200px;
}

.member-popup__label {
    margin: 0;
    font-family: var(--font-body);
    font-weight: 700;
    font-style: normal;
    font-size: 12px;
    line-height: 13.5px;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    color: #373737;
    vertical-align: middle;
}

.member-popup__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.member-popup__chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    border: 0.8px solid #FF7A953D;
    border-radius: 999px;
    background: #FCDDE580;
    color: #FF7A95;
    font-family: var(--font-heading);
    font-weight: 800;
    font-style: normal;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 0;
    text-transform: capitalize;
    white-space: nowrap;
}

.member-popup__text,
.member-popup__empty {
    margin: 0;
    font-family: var(--font-body);
    font-weight: 400;
    font-style: normal;
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: 0;
    color: #373737;
    vertical-align: middle;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.member-popup__divider {
    margin: 0;
    border: none;
    border-top: 1px solid rgba(80, 59, 58, 0.12);
}

.community-members__pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding-top: 30px;
    gap: 12px;
}

.community-members__empty {
    margin: 0;
    padding: 48px 24px;
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
    color: #ffffff;
}

.community-members__page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 20px;
    box-sizing: border-box;
    border: 1px solid #E9E9E9;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    letter-spacing: 0.2px;
    color: #ffffff;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.community-members__page--pill {
    padding: 0 25px;
    border-color: #ffffff;
}

.community-members__page--active {
    background: #ffffff;
    border-color: #E9E9E9;
    color: #FF7A95;
}

.community-members__page:hover:not(.community-members__page--active):not(.community-members__page--disabled) {
    background: rgba(255, 255, 255, 0.12);
}

.community-members__page--disabled {
    opacity: 0.5;
    cursor: default;
    pointer-events: none;
}

/* 6. CTA */
.community-cta {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 480px;
    padding: 80px 10%;
    box-sizing: border-box;
    background-color: #3d5a3a;
    background-image: url('../images/community/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.community-cta__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    max-width: 560px;
}

.community-cta__title {
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 75px;
    line-height: 0.9;
    color: #ffffff;
    text-align: left;
}

.community-cta__subtitle {
    margin: 0;
    max-width: 480px;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 24px;
    line-height: 1.5;
    color: #ffffff;
    text-align: left;
}

.community-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 48px;
    min-height: 48px;
    padding: 0 24px;
    box-sizing: border-box;
    border-radius: 50px;
    background: #FF7A95;
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 18px;
    line-height: 1;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.community-cta__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(255, 122, 149, 0.4);
    color: #ffffff;
}

.community-cta__btn-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 1100px) {
    .community-hero__inner {
        flex-direction: column;
        gap: 32px;
    }

    .community-hero__visual {
        width: min(540px, 100%);
        height: auto;
        aspect-ratio: 540 / 582;
    }

    .community-hero__visual-img {
        width: 150%;
    }

    .community-hero__copy {
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .community-hero__title,
    .community-hero__subtitle {
        text-align: center;
    }
}

@media (max-width: 1440px) and (min-width: 961px) {
    /* .community-members__toolbar {
        padding: 0 98px;
    } */

    .community-members__search {
        max-width: 320px;
    }

    .community-members__grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 20px;
        /* padding: 0 40px; */
        /* max-width: 1280px; */
        overflow-x: visible;
    }

    .community-members__card {
        flex: unset;
        width: 314px;
        height: 324px;
        padding: 36px;
        justify-self: center;
    }

    .community-members__card-body {
        width: 242px;
        height: 252px;
    }
}

@media (max-width: 960px) and (min-width: 769px) {
    /* .community-members__toolbar {
        padding: 0 24px;
    } */

    .community-members__grid {
        justify-content: flex-start;
        padding: 0 24px;
        scroll-snap-type: x mandatory;
    }

    .community-members__card {
        flex: 0 0 314px;
        width: 314px;
        height: 324px;
        scroll-snap-align: start;
    }
}

@media (max-width: 768px) {

    .community-hero__visual-img-profile {
        left: 50%;
        top: 7%;
        width: 150px;
        height: 150px;
    }

    .community-section__inner,
    .community-members__inner {
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 50px;
    }

    .community-hero {
        min-height: auto;
        padding: 96px 20px 40px;
    }

    .community-hero__title {
        font-size: 48px;
    }

    .community-hero__subtitle {
        font-size: 18px;
        max-width: 36ch;
    }

    .community-hero__copy {
        gap: 28px;
    }

    .community-hero__visual {
        width: min(420px, 100%);
    }

    .community-hero__visual-img {
        width: 135%;
        transform: translate(-50%, calc(-50% + 40px));
    }

    .community-floating-item {
        position: relative;
        top: 0;
        margin-top: -56px;
        margin-bottom: -36px;
        height: auto;
        padding: 0 0;
        box-sizing: border-box;
    }

    .community-floating-item__img {
        width: 100%;
        min-width: 400px;
        margin: 0 auto;
    }

    .community-floating-scallop {
        margin-top: -12px;
        margin-bottom: -12px;
    }

    .community-section__title {
        font-size: 27px;
    }

    .community-about {
        padding: 64px 20px 80px;
    }

    .community-about__title {
        font-size: 48px;
    }

    .community-about__desc {
        font-size: 18px;
    }

    .community-about__content {
        gap: 28px;
    }

    .community-about__star--1 {
        width: 40px;
        left: auto;
        right: 8%;
        top: 2%;
    }

    .community-about__star--2 {
        width: 72px;
        left: 6%;
        top: 14%;
    }

    .community-about__star--3 {
        width: 48px;
        left: 4%;
        top: 62%;
    }

    .community-about__star--4 {
        width: 140px;
        left: auto;
        right: -40px;
        top: 24%;
    }

    .community-vision {
        padding: 72px 20px;
    }

    .community-vision__title {
        font-size: 48px;
    }

    .community-vision__desc {
        font-size: 18px;
    }

    .community-vision__content {
        gap: 28px;
    }

    .community-mission__heading {
        font-size: 48px;
        margin-bottom: 40px;
    }

    .community-mission__body {
        padding: 48px 20px 72px;
    }

    .community-mission__grid-bg {
        display: none;
    }

    .community-mission__card {
        width: min(300px, 100%);
    }

    .community-mission__card .scallop-card {
        --scallop-size: 22px;
        --scallop-radius: 11px;
    }

    .community-mission__card-inner {
        height: auto;
        min-height: 100px;
        padding: 12px 16px;
    }

    .community-mission__card-inner p {
        font-size: 15px;
        line-height: 1.4;
    }

    .community-mission__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .community-mission__deco--tape {
        top: -10px;
        right: -12px;
        width: 72px;
        height: 24px;
    }

    .community-mission__deco--clip {
        top: -6px;
        left: 8px;
        width: 18px;
        height: 30px;
    }

    .community-mission__deco--binder {
        top: -14px;
        left: 4px;
        width: 32px;
        height: 32px;
    }

    .community-members {
        padding: 72px 0 56px;
    }

    .community-members__header {
        gap: 24px;
    }

    .community-members__title {
        font-size: 48px;
    }

    .community-members__desc {
        font-size: 16px;
    }

    .community-members__toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 0;
        max-width: 360px;
    }

    .community-members__filters {
        justify-content: center;
        flex-direction: column;
        align-items: start;
        flex-wrap: wrap;
    }

    .community-members__filter {
        width: 100%;
    }

    .community-members__filter-trigger {
        min-height: 36px;
        padding: 8px 16px;
        font-size: 13px;
        width: 100%;
        justify-content: space-between
    }

    .community-members__search {
        max-width: none;
        width: 100%;
        min-height: 36px;
        padding: 0 12px 0 16px;
    }

    #members-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .community-members__grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 16px;
        overflow-x: visible;
        scroll-snap-type: none;
        padding: 0;
        margin: 0 auto;
        max-width: 360px;
        justify-items: center;
    }

    .community-members__card {
        flex: unset;
        width: 100%;
        max-width: 168px;
        height: 173px;
        padding: 19px;
        scroll-snap-align: unset;
    }

    .community-members__card-body {
        width: 129px;
        height: 135px;
        padding: 3px 3px 6px;
        gap: 13px;
        border-width: 3px;
        border-radius: 13px;
    }

    .community-members__card-media {
        flex-basis: 71px;
        width: 123px;
        height: 71px;
        margin-inline: -3px;
        padding: 3px;
        gap: 5px;
        border-radius: 10px;
    }

    .community-members__card-avatar {
        width: 64px;
        height: 64px;
    }

    .community-members__card-whatsapp {
        min-width: 26px;
        height: 26px;
        bottom: -11px;
        border-radius: 13px;
    }

    .community-members__card-whatsapp-icon {
        width: 26px;
        height: 26px;
    }

    .community-members__card-whatsapp svg {
        width: 12px;
        height: 12px;
    }

    .community-members__card-whatsapp-label {
        font-size: 11px;
    }

    .community-members__card-whatsapp:hover .community-members__card-whatsapp-label,
    .community-members__card-whatsapp:focus-visible .community-members__card-whatsapp-label {
        padding-left: 10px;
    }

    .community-members__card-name {
        font-size: 13px;
        line-height: 0.9;
    }

    .community-members__card-detail {
        font-size: 8px;
        line-height: 1.21;
        gap: 4px;
    }

    .community-members__card-detail svg {
        width: 10px;
        height: 10px;
    }

    .community-cta {
        min-height: 380px;
        padding: 64px 24px;
        background-position: center right;
        justify-content: center;
    }

    .community-cta::before {
        content: '';
        position: absolute;
        inset: 0;
        z-index: 0;
        background: rgba(0, 0, 0, 0.55);
        pointer-events: none;
    }

    .community-cta__inner {
        align-items: center;
        text-align: center;
        max-width: 100%;
    }

    .community-cta__title {
        font-size: 48px;
        text-align: center;
    }

    .community-cta__subtitle {
        font-size: 18px;
        text-align: justify;
        max-width: 32ch;
    }
}

@media (max-width: 520px) {
    .community-hero__inner {
        order: 2;
        flex-direction: column;
        gap: 0px;
        /* padding-top: 160px; */
    }

    .community-section__inner,
    .community-members__inner {
        padding-left: 16px;
        padding-right: 16px;
    }

    .community-hero {
        padding: 145px 16px 32px;
        padding-bottom: 0px;
        height: 692px;
    }

    .community-hero__title {
        font-size: 40px;
    }

    .community-hero__subtitle {
        font-size: 16px;
    }

    .community-hero__cta {
        width: 200px;
        height: 48px;
        min-height: 48px;
        box-sizing: border-box;
    }

    .community-hero__visual {
        width: 100%;
        max-width: 320px;
        order: 1;
        bottom: 45px;
    }

    .community-hero__visual-img {
        width: 125%;
        transform: translate(-50%, calc(-50% + 24px));
    }

    .community-floating-item {
        margin-top: -78px;
        margin-bottom: -28px;
        padding: 0 0;
    }

    .community-about {
        padding: 132px 16px 64px;
    }

    .community-about__title,
    .community-vision__title,
    .community-mission__heading,
    .community-members__title,
    .community-cta__title {
        font-size: 40px;
    }

    .community-about__desc,
    .community-vision__desc {
        font-size: 16px;
        line-height: 1.65;
    }

    .community-about__star--1,
    .community-about__star--3 {
        opacity: 0.7;
    }

    .community-about__star--4 {
        width: 100px;
        right: -24px;
        opacity: 0.85;
    }

    .community-vision {
        padding: 56px 16px;
    }

    .community-mission__body {
        padding: 40px 16px 56px;
    }

    .community-mission__heading {
        margin-bottom: 32px;
    }

    .community-mission__grid {
        gap: 24px;
    }

    .community-mission__card {
        width: min(260px, 100%);
    }

    .community-mission__card .scallop-card {
        --scallop-size: 18px;
        --scallop-radius: 9px;
    }

    .community-mission__card-inner {
        min-height: 88px;
        padding: 10px 12px;
    }

    .community-mission__card-inner p {
        font-size: 14px;
        line-height: 1.45;
    }

    .community-mission__deco--tape {
        top: -8px;
        right: -8px;
        width: 56px;
        height: 18px;
    }

    .community-mission__deco--clip {
        top: -4px;
        left: 6px;
        width: 14px;
        height: 24px;
    }

    .community-mission__deco--binder {
        top: -10px;
        left: 2px;
        width: 26px;
        height: 26px;
    }

    .community-members {
        padding: 56px 0 48px;
    }

    .community-members__grid {
        gap: 20px 12px;
        max-width: 320px;
    }

    .community-members__card {
        max-width: 170px;
        height: 180px;
        padding: 17px;
    }

    .community-members__card-body {
        width: 145px;
        height: 141px;
        padding: 3px 3px 6px;
        gap: 12px;
        border-width: 3px;
        border-radius: 12px;
    }

    .community-members__card-media {
        flex-basis: 64px;
        width: 136px;
        height: 64px;
        margin-inline: -3px;
        padding: 3px;
        border-radius: 9px;
    }

    .community-members__card-avatar {
        width: 58px;
        height: 58px;
    }

    .community-members__card-whatsapp {
        min-width: 23px;
        height: 23px;
        bottom: -10px;
        border-radius: 12px;
    }

    .community-members__card-whatsapp-icon {
        width: 23px;
        height: 23px;
    }

    .community-members__card-whatsapp svg {
        width: 11px;
        height: 11px;
    }

    .community-members__card-whatsapp-label {
        font-size: 10px;
    }

    .community-members__card-name {
        font-size: 12px;
        line-height: 0.9;
    }

    .community-members__card-detail {
        font-size: 7px;
        line-height: 1.21;
    }

    .community-members__pagination {
        gap: 8px;
    }

    .community-members__page {
        min-width: 32px;
        height: 32px;
        padding: 0 12px;
        font-size: 13px;
    }

    .community-members__page--pill {
        padding: 0 25px;
    }

    .community-cta {
        min-height: 340px;
        padding: 48px 16px;
    }

    .community-cta__subtitle {
        font-size: 16px;
    }

    .community-cta__btn {
        width: 100%;
        max-width: 320px;
        height: 48px;
        min-height: 48px;
        box-sizing: border-box;
        font-size: 16px;
        padding: 0 20px;
    }

    .member-popup__panel {
        width: min(636px, calc(100vw - 24px));
        height: auto;
        min-height: 0;
        padding: 24px 20px;
        gap: 12px;
        --member-popup-side: 84px;
    }

    .member-popup__close {
        top: 8px;
        right: 8px;
    }

    .member-popup__deco {
        top: 12px;
        right: 16px;
    }

    .member-popup__top {
        padding-right: 32px;
        gap: 3px;
    }

    .member-popup__brand {
        height: auto;
        font-size: 10px;
    }

    .member-popup__name {
        height: auto;
        margin-top: -4px;
        font-size: 22px;
    }

    .member-popup__label {

        font-size: 9px;
    }

    .member-popup__body {
        flex-direction: row;
        align-items: flex-start;
        gap: 16px;
    }

    .member-popup__info {
        width: auto;
    }

    .member-popup__field {
        height: auto;
    }

    .member-popup__avatar-wrap {
        width: 72px;
        height: 72px;
        margin-top: -20px;
    }

    .member-popup__avatar {
        width: 60px;
        height: 60px;
    }

    .member-popup__chip {
        font-size: 10px;
        padding: 3px 7px;
        gap: 3px;
    }

    .member-popup__text,
    .member-popup__empty {
        font-size: 10px;
        height: 46px;
    }
}