﻿/*PARENT COMMUNITY*/
.community-hero {
    position: relative;
    isolation: isolate;
    min-height: 540px;
    display: flex;
    align-items: center;
    padding: 4.25rem 0;
    background: #123f3d url('/images/parentcommunity/parent-community-hero.png') center center / cover no-repeat;
    overflow: hidden;
}

.community-hero::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: "";
    background: linear-gradient(90deg, rgba(8,46,45,.76) 0%, rgba(8,46,45,.58) 30%, rgba(8,46,45,.22) 47%, rgba(8,46,45,0) 61%);
}

.community-hero .container {
    position: relative;
    z-index: 1;
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: clamp(28px, 4.1vw, 64px);
    padding-right: clamp(28px, 4.1vw, 64px);
}

    .community-hero .container,
    .community-introduction .container,
    .community-topics .container,
    .community-share .container,
    .community-purpose .container,
    .community-safety .container {
        max-width: 1180px;
    }

.community-hero .container {
    max-width: none;
}

.community-label {
    display: inline-block;
    margin-bottom: 16px;
    color: #d6f2ea;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.community-hero h1 {
    max-width: 640px;
    margin: 0 0 22px;
    color: #fff;
    font-size: clamp(42px,4.5vw,64px);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.08;
}

.community-hero-lead {
    max-width: 610px;
    margin: 0 0 28px;
    color: rgba(255,255,255,.92);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.7;
}

.community-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 0;
}

.community-primary-btn,
.community-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 24px;
    border: 2px solid #167d6b;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color .25s ease, border-color .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.community-primary-btn {
    border-color: transparent;
    background: linear-gradient(135deg, #0b6d5e, #299e83);
    color: #fff;
    box-shadow: 0 10px 22px rgba(22,125,107,.23);
}

.community-secondary-btn {
    border-color: rgba(13,113,95,.38);
    background: rgba(255,255,255,.82);
    color: #0b695b;
    backdrop-filter: blur(10px);
}

.community-primary-btn:hover {
    border-color: transparent;
    background: linear-gradient(135deg, #08564b, #167d6b);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(22,125,107,.28);
}

.community-secondary-btn:hover {
    border-color: #167d6b;
    background: #167d6b;
    color: #fff;
    transform: translateY(-2px);
}
/*INTRODUCTION*/

.community-introduction {
    padding: 6rem 0;
    background: #fff;
}

.community-intro-layout {
    display: grid;
    grid-template-columns: 1fr .85fr;
    gap: 5rem;
}

.community-intro-heading span,
.community-section-heading > span,
.community-purpose-label {
    display: block;
    margin-bottom: .7rem;
    color: #167d6b;
    font-size: 14px;
    font-weight: 850;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.community-intro-heading h2 {
    max-width: 650px;
    margin: 0;
    color: #183b38;
    font-size: clamp(2.2rem,4vw,3.4rem);
    font-weight: 850;
    letter-spacing: -.045em;
    line-height: 1.08;
}

.community-intro-content p {
    margin: 0 0 1.2rem;
    color: #607872;
    font-size: 1rem;
    font-weight: 550;
    line-height: 1.85;
}


/* ========================================
   COMMUNITY TOPICS
======================================== */

.community-topics {
    padding: 6rem 0;
    background: #f4faf7;
}

.community-section-heading {
    max-width: 700px;
    margin-bottom: 3.5rem;
}

    .community-section-heading h2 {
        margin: 0 0 .8rem;
        color: #183b38;
        font-size: clamp(2.2rem,4vw,3.4rem);
        font-weight: 850;
        letter-spacing: -.045em;
    }

    .community-section-heading p {
        margin: 0;
        color: #607872;
        font-size: 1rem;
        line-height: 1.8;
    }
.community-topic-list {
    display: block;
    width: 100%;
    border-top: 1px solid #cddfd9;
}

.community-topic-row {
    display: grid;
    grid-template-columns: 55px 250px minmax(0,1fr);
    gap: 2rem;
    align-items: center;
    width: 100%;
    padding: 2.4rem 0;
    border-bottom: 1px solid #cddfd9;
}

.community-topic-number {
    color: #9bb9b1;
    font-size: .85rem;
    font-weight: 850;
}

.community-topic-title {
    min-width: 0;
}

    .community-topic-title > span {
        display: block;
        margin-bottom: .4rem;
        color: #167d6b;
        font-size: 14px;
        font-weight: 850;
        letter-spacing: .07em;
        text-transform: uppercase;
    }

    .community-topic-title h3 {
        margin: 0;
        color: #183b38;
        font-size: 1.35rem;
        font-weight: 850;
        line-height: 1.3;
    }

.community-topic-description {
    min-width: 0;
}

    .community-topic-description p {
        width: 100%;
        max-width: 600px;
        margin: 0;
        color: #607872;
        font-size: 1rem;
        line-height: 1.75;
    }

.community-topic-row:hover {
    padding-left: .7rem;
}

.community-topic-number {
    color: #9bb9b1;
    font-size: .85rem;
    font-weight: 850;
}

.community-topic-title > span {
    display: block;
    margin-bottom: .35rem;
    color: #167d6b;
    font-size: 14px;
    font-weight: 850;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.community-topic-title h3 {
    margin: 0;
    color: #183b38;
    font-size: 1.35rem;
    font-weight: 850;
}

.community-topic-description p {
    max-width: 560px;
    margin: 0;
    color: #607872;
    font-size: 1rem;
    line-height: 1.75;
}

/* ========================================
   SHARE EXPERIENCE
======================================== */

.community-share {
    padding: 5.5rem 0;
    background: #167d6b;
}

.community-share-layout {
    display: grid;
    grid-template-columns: 1fr .8fr;
    gap: 5rem;
    align-items: center;
}

    .community-share-layout > div:first-child > span {
        display: block;
        margin-bottom: .7rem;
        color: #ccebe3;
        font-size: 14px;
        font-weight: 850;
        letter-spacing: .1em;
        text-transform: uppercase;
    }

.community-share h2 {
    max-width: 650px;
    margin: 0;
    color: #fff;
    font-size: clamp(2.2rem,4vw,3.4rem);
    font-weight: 850;
    letter-spacing: -.045em;
    line-height: 1.1;
}

.community-share p {
    margin: 0 0 1.4rem;
    color: #dceee9;
    font-size: 1rem;
    line-height: 1.8;
}

.community-share-link {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding-bottom: .3rem;
    border-bottom: 2px solid rgba(255,255,255,.55);
    color: #fff;
    font-weight: 850;
    text-decoration: none;
}

    .community-share-link:hover {
        border-color: #fff;
        color: #fff;
    }


/* ========================================
   SECOND TOPIC SECTION
======================================== */

.community-topics-second {
    padding-top: 6rem;
}


/* ========================================
   COMMUNITY PURPOSE
======================================== */

.community-purpose {
    padding: 6.5rem 0;
    background: #fff;
}

.community-purpose-layout {
    display: grid;
    grid-template-columns: 1fr .85fr;
    gap: 5rem;
    margin-bottom: 4rem;
}

    .community-purpose-layout h2 {
        margin: 0;
        color: #183b38;
        font-size: clamp(2.2rem,4vw,3.4rem);
        font-weight: 850;
        letter-spacing: -.045em;
        line-height: 1.08;
    }

.community-purpose-content p {
    margin: 0 0 1.2rem;
    color: #607872;
    font-size: 1rem;
    line-height: 1.85;
}

.community-principles {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    border-top: 1px solid #d6e4df;
    border-bottom: 1px solid #d6e4df;
}

    .community-principles > div {
        padding: 1.8rem 1.4rem;
        border-right: 1px solid #d6e4df;
    }

        .community-principles > div:last-child {
            border-right: 0;
        }

    .community-principles strong {
        display: block;
        margin-bottom: .5rem;
        color: #167d6b;
        font-size: 14px;
        font-weight: 850;
    }

    .community-principles span {
        color: #607872;
        font-size: .85rem;
        line-height: 1.6;
    }


/* ========================================
   SAFETY
======================================== */

.community-safety {
    padding: 6rem 0;
    background: #eef8f4;
}

.community-safety-layout {
    display: grid;
    grid-template-columns: 1fr .85fr;
    gap: 5rem;
}

.community-safety-heading > span {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .8rem;
    color: #167d6b;
    font-size: 14px;
    font-weight: 850;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.community-safety-heading h2 {
    max-width: 650px;
    margin: 0;
    color: #183b38;
    font-size: clamp(2.2rem,4vw,3.4rem);
    font-weight: 850;
    letter-spacing: -.04em;
    line-height: 1.12;
}

.community-safety-content p {
    margin: 0 0 1.2rem;
    color: #607872;
    font-size: 1rem;
    line-height: 1.8;
}

.community-safety-content strong {
    display: block;
    margin: 1.5rem 0;
    padding-left: 1rem;
    border-left: 3px solid #167d6b;
    color: #183b38;
    font-size: 1rem;
    line-height: 1.7;
}


/* ========================================
   RESPONSIVE
======================================== */

@media (max-width:991.98px) {

    .community-primary-btn,
    .community-secondary-btn {
        min-height: 46px;
        padding: 10px 18px;
        font-size: 14px;
    }

    .community-intro-layout,
    .community-share-layout,
    .community-purpose-layout,
    .community-safety-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .community-topic-row {
        grid-template-columns: 55px 200px 1fr;
    }

    .community-principles {
        grid-template-columns: repeat(2,1fr);
    }

        .community-principles > div {
            border-bottom: 1px solid #d6e4df;
        }
}

@media (max-width:767.98px) {

    .community-hero {
        min-height: 0;
        padding: 3.5rem 0;
        background-position: 64% center;
    }

    .community-hero::before {
        background: linear-gradient(90deg, rgba(8,46,45,.8) 0%, rgba(8,46,45,.62) 62%, rgba(8,46,45,.2) 100%);
    }

        .community-hero h1 {
            font-size: clamp(36px,10vw,52px);
        }

    .community-hero-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .community-primary-btn,
    .community-secondary-btn {
        justify-content: center;
        width: 100%;
        max-width: 280px;
        min-height: 44px;
        padding: 9px 16px;
    }

    .community-introduction,
    .community-topics,
    .community-purpose,
    .community-safety {
        padding: 4rem 0;
    }

    .community-topic-row {
        grid-template-columns: 42px 1fr;
        gap: .8rem 1rem;
        padding: 2rem 0;
    }

    .community-topic-title {
        grid-column: 2;
    }

    .community-topic-description {
        grid-column: 2;
    }

    .community-topic-row:hover {
        padding-left: 0;
    }

    .community-share {
        padding: 4rem 0;
    }

    .community-principles {
        grid-template-columns: 1fr;
    }

        .community-principles > div {
            border-right: 0;
        }
}

@media (max-width:575.98px) {

    .community-hero-actions {
        flex-direction: row;
        align-items: center;
        gap: 8px;
    }

    .community-primary-btn,
    .community-secondary-btn {
        width: auto;
        max-width: none;
        min-height: 38px;
        padding: 7px 14px;
        font-size: 12px;
    }
}
