/* =========================================================
   MEMBER SCHOOLS
========================================================= */


/* =========================================================
   HERO
========================================================= */

.member-schools-hero {
    position: relative;
    overflow: hidden;

    min-height: 380px;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            110deg,
            #063d1a 0%,
            #087a2b 60%,
            #0b5c25 100%
        );
}

.member-schools-hero-inner {
    max-width: 760px;
    padding: 70px 0;
}

.member-schools-hero .kicker {
    margin-bottom: 14px;

    color: #ffe58b;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.member-schools-hero h1 {
    margin: 0 0 18px;

    color: #fff;

    font-size: clamp(42px, 6vw, 70px);
    line-height: 1;
    font-weight: 800;
}

.member-schools-hero p {
    max-width: 680px;

    margin: 0;

    color: rgba(255,255,255,.9);

    font-size: 17px;
    line-height: 1.7;
}


/* =========================================================
   SECTION
========================================================= */

.member-schools-section {
    background: #f7faf8;
}


/* =========================================================
   SCHOOL GRID
========================================================= */

.member-schools-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 24px;
}


/* =========================================================
   SCHOOL CARD
========================================================= */

.member-school-card {
    display: flex;
    flex-direction: column;

    overflow: hidden;

    background: #fff;

    border: 1px solid #e1e9e4;
    border-radius: 14px;

    box-shadow:
        0 7px 25px rgba(3,45,20,.06);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.member-school-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 16px 35px rgba(3,45,20,.12);
}


/* =========================================================
   LOGO
========================================================= */

.member-school-card-logo {
    height: 190px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 25px;

    background:
        linear-gradient(
            135deg,
            #f4f8f5,
            #edf5ef
        );

    border-bottom: 1px solid #e6eee9;
}

.member-school-card-logo img {
    max-width: 150px;
    max-height: 135px;

    width: auto;
    height: auto;

    object-fit: contain;
}

.member-school-card-logo-placeholder {
    display: grid;
    place-items: center;

    width: 75px;
    height: 75px;

    border-radius: 50%;

    background: #dfeee3;

    font-size: 32px;
}


/* =========================================================
   CONTENT
========================================================= */

.member-school-card-content {
    display: flex;
    flex-direction: column;

    flex: 1;

    padding: 22px;
}

.member-school-card-content h3 {
    margin: 0 0 9px;

    color: #063d1a;

    font-size: 18px;
    line-height: 1.4;
    font-weight: 800;
}


/* =========================================================
   LOCATION
========================================================= */

.member-school-location {
    display: flex;
    align-items: flex-start;

    gap: 5px;

    margin-bottom: 13px;

    color: #68786f;

    font-size: 11px;
    line-height: 1.5;
}

.member-school-location span {
    flex: 0 0 auto;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.member-school-card-content p {
    margin: 0 0 20px;

    color: #68786f;

    font-size: 12px;
    line-height: 1.7;
}


/* =========================================================
   WEBSITE BUTTON
========================================================= */

.member-school-website {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    align-self: flex-start;

    margin-top: auto;

    padding: 8px 12px;

    border-radius: 6px;

    background: #087a2b;

    color: #fff;

    font-size: 10px;
    font-weight: 800;

    text-decoration: none;

    transition:
        background .2s ease;
}

.member-school-website:hover {
    background: #063d1a;
    color: #fff;
}

.member-school-website span {
    font-size: 13px;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.member-schools-empty {
    max-width: 600px;

    margin: 20px auto 0;

    padding: 65px 25px;

    text-align: center;

    background: #fff;

    border: 1px solid #e1e9e4;
    border-radius: 14px;
}

.member-schools-empty-icon {
    margin-bottom: 12px;

    font-size: 45px;
}

.member-schools-empty h3 {
    margin: 0 0 8px;

    color: #063d1a;

    font-size: 20px;
}

.member-schools-empty p {
    margin: 0;

    color: #68786f;

    font-size: 13px;
    line-height: 1.7;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

    .member-schools-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 650px) {

    .member-schools-hero {
        min-height: 320px;
    }

    .member-schools-hero-inner {
        padding: 55px 0;
    }

    .member-schools-hero h1 {
        font-size: 44px;
    }

    .member-schools-hero p {
        font-size: 15px;
    }

    .member-schools-grid {
        grid-template-columns: 1fr;
    }

    .member-school-card-logo {
        height: 180px;
    }

}