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

.home-hero,
.home-members,
.home-elearning,
.home-highlight,
.home-articles,
.home-stories {
    box-sizing: border-box;
}

/* Hero */
.home-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 782px;
    padding: 120px 24px 72px;
    background: #FFFFFF;
    isolation: isolate;
    overflow: hidden;
}

.home-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;
}

.home-hero__deco {
    position: absolute;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
    user-select: none;
}

.home-hero__deco--left {
    transform: scaleX(-1);
    left: -19%;
}

.home-hero__deco--right {
    right: -26%;
    bottom: -24%;
}

.home-hero__deco-img {
    display: block;
    width: 908px;
    height: auto;
    /* max-width: min(38vw, 420px);
    max-height: min(72vh, 480px); */
    object-fit: contain;
}

.home-hero__deco--right .home-hero__deco-img {
    width: 1084px;
}

.home-hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.home-hero__copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    width: 100%;
    max-width: 720px;
    text-align: center;
}

.home-hero__title {
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 75px;
    line-height: 0.9;
    color: #373737;
    text-wrap: balance;
}

.home-hero__subtitle {
    margin: 0;
    max-width: 560px;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 20px;
    line-height: 1.5;
    color: #373737;
}

.home-hero__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    min-height: 48px;
    width: 200px;
    padding: 0 24px;
    box-sizing: border-box;
    border-radius: 50px;
    background: #FF7A95;
    color: #FEF5F0;
    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;
}

.home-hero__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 122, 149, 0.35);
    color: #FEF5F0;
}

/* Members */
.home-members.community-members {
    background: #FFFFFF;
}

.home-members .community-members__title,
.home-members .community-members__desc {
    color: #373737;
}

.home-members .community-members__empty {
    color: #373737;
}

.home-members .community-members__page {
    color: #373737;
    border-color: #E9E9E9;
}

.home-members .community-members__page--pill {
    border-color: #FF7A95;
}

.home-members .community-members__page--active {
    background: #FF7A95;
    border-color: #FF7A95;
    color: #FFFFFF;
}

.home-members .community-members__page:hover:not(.community-members__page--active):not(.community-members__page--disabled) {
    background: rgba(255, 122, 149, 0.1);
}

.home-members .community-members__toolbar {
    padding: 0;
}

.home-members .community-members__filter-trigger {
    border: 1px solid #E9E9E9;
    color: #FF7A95;
}

.home-members .community-members__filter-option {
    color: #373737;
}

.home-members .community-members__filter-option:hover,
.home-members .community-members__filter-option--active {
    background: rgba(255, 122, 149, 0.1);
    color: #FF7A95;
}

.home-members .community-members__filter-menu {
    scrollbar-color: #FF7A95 #ffffff;
}

.home-members .community-members__filter-options {
    scrollbar-color: #FF7A95 #ffffff;
}

.home-members .community-members__filter-search {
    border-color: rgba(255, 122, 149, 0.28);
}

.home-members .community-members__filter-search:focus {
    border-color: #FF7A95;
    box-shadow: 0 0 0 3px rgba(255, 122, 149, 0.14);
}

.home-members .community-members__filter-menu::-webkit-scrollbar-thumb,
.home-members .community-members__filter-options::-webkit-scrollbar-thumb {
    background: #FF7A95;
}

.home-members .community-members__filter-menu::-webkit-scrollbar-thumb:hover,
.home-members .community-members__filter-options::-webkit-scrollbar-thumb:hover {
    background: #DE869E;
}

.home-members .community-members__search {
    border: 1px solid #E9E9E9;
    background: #FFFFFF;
}

.home-members .community-members__search-input {
    color: #373737;
}

.home-members .community-members__search-input::placeholder {
    color: rgba(55, 55, 55, 0.45);
}

.home-members .community-members__search-btn {
    color: rgba(55, 55, 55, 0.55);
}

.home-members .community-members__search-btn:hover {
    color: #373737;
}

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

/* Highlight */
.home-highlight .community-mission__body {
    background: #F6F6F6;
}

.home-highlight .community-mission__heading {
    color: #373737;
}

.home-highlight .community-mission__grid-bg {
    top: 242px;
}

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

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

.home-highlight__card-inner {
    display: inline;
    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;
}

.home-highlight__card-inner h2 {
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 36px;
    line-height: 1.35;
    color: #373737;
}

.home-highlight__card-inner p {
    margin: 0;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.35;
    color: #373737;
}

.home-highlight .scallop-divider--shadow {
    filter: none;
}

.home-highlight .scallop-divider--bottom:not(.scallop-divider--shadow) .scallop-divider__circle,
.home-highlight .scallop-divider--top:not(.scallop-divider--shadow) .scallop-divider__circle {
    box-shadow: none;
}

/* E-Learning */
.home-elearning {
    padding: 30px 0 90px;
    background: #FFFFFF;
}

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

.home-elearning__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    max-width: 720px;
    text-align: center;
}

.home-elearning__title {
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 75px;
    line-height: 0.9;
    color: #373737;
    text-wrap: balance;
}

.home-elearning__desc {
    margin: 0;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
    color: #373737;
}

#home-elearning-content {
    width: 100%;
    overflow: visible;
    padding: 8px 16px 16px;
    margin: -8px -16px -16px;
    box-sizing: border-box;
}

.home-elearning__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
}

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

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

.home-elearning__grid--enter-next {
    animation: elearning-slide-in-right 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-elearning__grid--enter-prev {
    animation: elearning-slide-in-left 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

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

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

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

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

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

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

.home-elearning__card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: 12px;
    gap: 24px;
    border-radius: 18px;
    background: #FFFFFF;
    box-sizing: border-box;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-elearning__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px #00000014;
}

.home-elearning__card-media {
    position: relative;
    width: 100%;
    flex: none;
}

.home-elearning__card-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 392 / 220.5;
    object-fit: cover;
    border-radius: 12px;
}

.home-elearning__card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    border-radius: 50px;
    background: rgba(0, 0, 0, 0.36);
    color: #FFFFFF;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 16px;
    line-height: 1.2;
}

.home-elearning__card-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    gap: 18px;
    padding: 0 12px 18px;
    box-sizing: border-box;
}

.home-elearning__card-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    align-self: stretch;
}

.home-elearning__card-date {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    color: #373737;
}

.home-elearning__card-title {
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 700;
    font-style: normal;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: 0;
    color: #373737;
}

.home-elearning__card-title a {
    color: inherit;
    text-decoration: none;
}

.home-elearning__card-title a:hover {
    color: #FF7A95;
}

.home-elearning__card-media-link {
    display: block;
    width: 100%;
    color: inherit;
    text-decoration: none;
}

.home-elearning__card-rating {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    color: #373737;
}

.home-elearning__card-rating svg {
    width: 14px;
    height: 14px;
    color: #F5B942;
}

.home-elearning__card-excerpt {
    margin: 0;
    font-family: var(--font-body);
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 120%;
    letter-spacing: 0;
    color: #373737;
    align-self: stretch;
    width: 100%;
    /* height: 39px; */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

.home-elearning__card-footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    min-height: 48px;
}

.home-elearning__card-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.home-elearning__card-price-label {
    font-family: var(--font-body);
    font-weight: 700;
    font-style: normal;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0;
    color: rgba(55, 55, 55, 0.5);
}

.home-elearning__card-price-value {
    font-family: var(--font-body);
    font-weight: 700;
    font-style: normal;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: 0;
    color: #373737;
}

.home-elearning__card-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    height: 42px;
    min-height: 42px;
    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: 24px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-elearning__card-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 122, 149, 0.35);
    color: #FFFFFF;
}

.home-elearning__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    padding-top: 40px;
}

.home-elearning__pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.home-elearning__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;
    color: #373737;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.home-elearning__page--pill {
    padding: 0 25px;
    border-color: #FF7A95;
}

.home-elearning__page--active {
    background: #FF7A95;
    border-color: #FF7A95;
    color: #FFFFFF;
}

.home-elearning__page:hover:not(.home-elearning__page--active):not(.home-elearning__page--disabled) {
    background: rgba(255, 122, 149, 0.1);
}

.home-elearning__page--disabled {
    opacity: 0.5;
    cursor: default;
    pointer-events: none;
}

.home-elearning__view-all {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.home-elearning__view-all-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 20px;
    border: 1px solid #373737;
    border-radius: 999px;
    color: #373737;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.home-elearning__view-all-btn:hover {
    background: rgba(55, 55, 55, 0.06);
    color: #373737;
}

.home-elearning__view-all-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #373737;
    border-radius: 50%;
    color: #373737;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.home-elearning__view-all-icon:hover {
    background: rgba(55, 55, 55, 0.06);
}

.home-elearning__view-all-icon svg {
    width: 16px;
    height: 16px;
}

.home-elearning__empty {
    margin: 0;
    padding: 48px 24px;
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    color: #373737;
}

/* Articles */
.home-articles {
    padding: 90px 0;
    background: #ffffff;
}

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

.home-articles__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

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

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

.home-articles__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
    padding: 25px;
}

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

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

.home-articles__grid--enter-next {
    animation: articles-slide-in-right 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-articles__grid--enter-prev {
    animation: articles-slide-in-left 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

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

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

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

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

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

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

.home-articles__card {
    min-width: 0;
}

.home-articles__card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 20px;
    background: #FFFFFF;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(80, 59, 58, 0.14);
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-articles__card-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(80, 59, 58, 0.32);

}

.home-articles__card-media {
    overflow: hidden;
}

.home-articles__card-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 314 / 177;
    object-fit: cover;
}

.home-articles__card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 12px;
    padding: 20px 20px 24px;
}

.home-articles__card-title {
    margin: 0;
    height: 55px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 24px;
    line-height: 1.1;
    color: #373737;
    align-self: stretch;
    width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

.home-articles__card-excerpt {
    margin: 0;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: 0;
    color: rgba(55, 55, 55, 0.7);
    align-self: stretch;
    width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

.home-articles__card-date {
    margin-top: auto;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    color: rgba(55, 55, 55, 0.55);
}

.home-articles__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    padding-top: 40px;
}

.home-articles__pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.home-articles__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;
    color: #373737;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.home-articles__page--pill {
    padding: 0 25px;
    border-color: #FF7A95;
}

.home-articles__page--active {
    background: #FF7A95;
    border-color: #FF7A95;
    color: #FFFFFF;
}

.home-articles__page:hover:not(.home-articles__page--active):not(.home-articles__page--disabled) {
    background: rgba(255, 255, 255, 0.08);
}

.home-articles__page--disabled {
    opacity: 0.5;
    cursor: default;
    pointer-events: none;
}

.home-articles__view-all {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.home-articles__view-all-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 20px;
    border: 1px solid #373737;
    border-radius: 999px;
    color: #373737;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.home-articles__view-all-btn:hover {
    background: rgba(55, 55, 55, 0.06);
    color: #373737;
}

.home-articles__view-all-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #373737;
    border-radius: 50%;
    color: #373737;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.home-articles__view-all-icon:hover {
    background: rgba(55, 55, 55, 0.06);
    color: #373737;
}

.home-articles__view-all-icon svg {
    width: 16px;
    height: 16px;
}

.home-articles__empty {
    margin: 0;
    padding: 48px 24px;
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    color: #373737;
}

/* Stories */
.home-stories {
    position: relative;
    padding: 90px 0;
    background: #DE869E;
}

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

.home-stories__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    max-width: 720px;
    text-align: center;
}

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

.home-stories__desc {
    margin: 0;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
    color: #FFFFFF;
}

.home-stories__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
}

.home-stories__card {
    display: flex;
    flex-direction: column;
    gap: 32px;
    min-height: 100%;
    padding: 32px;
    border-radius: 20px;
    background: #FFFFFF;
    box-sizing: border-box;
}

.home-stories__card-quote {
    margin: 0;
}

.home-stories__card-quote p {
    margin: 0;
    font-family: var(--font-body);
    font-style: italic;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: #373737;
}

.home-stories__card-author {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: auto;
}

.home-stories__card-avatar {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.home-stories__card-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.home-stories__card-name {
    font-family: var(--font-heading);
    font-style: normal;
    font-weight: 800;
    font-size: 18px;
    line-height: 1;
    color: #373737;
}

.home-stories__card-role {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.2;
    color: rgba(55, 55, 55, 0.55);
}

.home-members__inner,
.home-elearning__inner,
.home-highlight__inner,
.home-articles__inner,
.home-stories__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 48px;
    box-sizing: border-box;
}

@media (max-width: 1100px) {
    .home-hero__title {
        font-size: 64px;
    }

    .home-elearning__title {
        font-size: 48px;
    }

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

    .home-articles__title {
        font-size: 48px;
    }

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

    .home-stories__title {
        font-size: 48px;
    }

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

    .home-hero__deco-img {
        max-width: min(34vw, 320px);
        max-height: min(60vh, 380px);
    }

    .home-hero__deco--right .home-hero__deco-img {
        max-width: min(36vw, 360px);
        max-height: min(64vh, 420px);
    }
}

@media (max-width: 768px) {
    .home-hero {
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        min-height: auto;
        padding: 104px 20px 32px;
        gap: 24px;
    }

    .home-hero__inner {
        order: 2;
        padding: 0;
    }

    .home-hero__copy {
        gap: 24px;
    }

    .home-hero__title {
        font-size: 40px;
        line-height: 1;
    }

    .home-hero__subtitle {
        font-size: 16px;
        line-height: 1.5;
    }

    .home-hero__cta {
        height: 48px;
        min-height: 48px;
        width: 133px;
        padding: 0 28px;
        font-size: 16px;
    }

    /* .home-hero__deco--left {
        display: none;
    } */

    .home-hero__deco--right {
        position: relative;
        right: auto;
        bottom: auto;
        order: 3;
        align-self: center;
        width: 100%;
        max-width: 320px;
        margin: 8px auto 0;
    }

    .home-hero__deco--right .home-hero__deco-img {
        width: 100%;
        max-width: 320px;
        max-height: none;
        margin: 0 auto;
    }

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

    .home-members .community-members__inner {
        gap: 32px;
        padding: 0 20px;
    }

    .home-members .community-members__header {
        gap: 20px;
    }

    .home-members .community-members__title {
        font-size: 40px;
    }

    .home-members .community-members__desc {
        font-size: 15px;
        line-height: 1.5;
    }

    .home-members .community-members__toolbar {
        max-width: none;
        width: 100%;
    }

    .home-members .community-members__filters {
        width: 100%;
        justify-content: flex-start;
    }

    .home-members .community-members__search {
        width: 100%;
    }

    .home-members .community-members__grid {
        max-width: none;
        width: 100%;
        gap: 24px 12px;
    }

    .home-members .community-members__pagination {
        justify-content: center;
    }

    .home-elearning {
        padding: 64px 0 48px;
    }

    .home-elearning__inner {
        padding: 0 20px;
        gap: 32px;
    }

    .home-elearning__header {
        gap: 16px;
    }

    .home-elearning__title {
        font-size: 36px;
    }

    .home-elearning__desc {
        font-size: 15px;
    }

    .home-elearning__grid {
        grid-template-columns: 1fr;
        max-width: none;
        margin: 0;
        gap: 20px;
    }

    .home-elearning__card-date {
        font-size: 16px;
    }

    .home-elearning__card-badge {
        font-size: 18px;
    }

    .home-elearning__card-title {
        font-size: 18px;
    }

    .home-elearning__card-excerpt {
        font-size: 14px;
    }

    .home-elearning__card-price-label {
        font-size: 14px;
    }

    .home-elearning__card-price-value {
        font-size: 18px;
    }

    .home-elearning__footer {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding-top: 28px;
    }

    .home-elearning__pagination {
        justify-content: center;
        gap: 8px;
    }

    .home-elearning__view-all {
        width: 100%;
        justify-content: center;
    }

    .home-highlight .community-mission__heading {
        font-size: 36px;
        margin-bottom: 32px;
        line-height: 1;
    }

    .home-highlight .community-mission__body {
        padding: 48px 20px 64px;
    }

    .home-highlight .community-mission__inner {
        padding: 0;
    }

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

    .home-highlight__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .home-highlight__card {
        width: 333px;
        max-width: none;
    }

    .home-highlight__card .scallop-card {
        --scallop-size: 22px;
        --scallop-radius: 11px;
    }

    .home-highlight__card-inner {
        height: auto;
        min-height: 100px;
        padding: 16px 20px;
    }

    .home-highlight__card-inner h2 {
        font-size: 24px;
        line-height: 1.2;
    }

    .home-highlight__card-inner p {
        font-size: 15px;
        line-height: 1.4;
    }

    .home-articles {
        padding: 64px 0 48px;
    }

    .home-articles__inner {
        padding: 0 20px;
        gap: 32px;
    }

    .home-articles__title {
        font-size: 36px;
    }

    .home-articles__grid {
        grid-template-columns: 1fr;
        max-width: none;
        margin: 0;
        gap: 20px;
    }

    .home-articles__card-title {
        font-size: 24px;
    }

    .home-articles__card-excerpt {
        font-size: 16px;
    }

    .home-articles__card-date {
        font-size: 16px;
    }

    .home-articles__footer {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding-top: 28px;
    }

    .home-articles__pagination {
        justify-content: center;
        gap: 5px;
    }

    .home-articles__view-all {
        width: 100%;
        justify-content: center;
    }

    .home-stories {
        padding: 64px 0 48px;
    }

    .home-stories__inner {
        padding: 0 20px;
        gap: 32px;
    }

    .home-stories__header {
        gap: 16px;
    }

    .home-stories__title {
        font-size: 36px;
    }

    .home-stories__desc {
        font-size: 15px;
    }

    .home-stories__grid {
        grid-template-columns: 1fr;
        max-width: none;
        margin: 0;
        gap: 20px;
    }

    .home-stories__card {
        padding: 24px;
        gap: 24px;
    }
}

@media (max-width: 520px) {
    .home-hero {
        padding: 167px 16px 121px;
        gap: 20px;
        max-height: 762px;
    }


    .home-hero__subtitle {
        font-size: 18px;
        width: 300px;
    }

    .home-hero__cta {
        width: 200px;
        height: 48px;
        min-height: 48px;
        padding: 0 28px;
    }

    .home-hero__deco--left {
        width: 600px;
        left: -50%;
        bottom: 0%;
    }

    .home-hero__deco--left .home-hero__deco-img {
        width: 600px;
        max-width: 600px;
    }

    .home-hero__deco--right {
        width: 600px;
        left: -39%;
    }

    .home-hero__deco--right .home-hero__deco-img {
        width: 600px;
        max-width: 600px;
    }

    .home-members .community-members__inner,
    .home-elearning__inner,
    .home-articles__inner,
    .home-stories__inner {
        padding: 0 16px;
    }

    .home-members .community-members__title,
    .home-elearning__title,
    .home-articles__title,
    .home-stories__title,
    .home-highlight .community-mission__heading,
    .home-hero__title {
        font-size: 40px;
    }

    .home-members .community-members__filter-trigger {
        min-height: 34px;
        padding: 6px 14px;
        font-size: 12px;
        width: 100%;
        justify-content: space-between;
    }

    .home-members .community-members__grid {
        gap: 20px 10px;
    }

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

    .home-highlight__card-inner h2 {
        font-size: 22px;
    }

    .home-elearning__card-footer {
        flex-direction: row;
        align-items: center;
        gap: 8px;
    }

    .home-elearning__card-cta {
        justify-content: center;
    }

    .home-articles__page.home-articles__number,
    .home-elearning__page.home-elearning__number {
        padding: 0 13px;
    }
}