/* =====================================================
   TEAM HERO
===================================================== */

.team-hero {

    width: 100%;

    min-height: 315px;

    background: turquoise;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding: 60px 20px;

}


.team-hero-content {

    width: 100%;

    max-width: 850px;

    margin: 0 auto;

}


.team-hero h1 {

    font-family: "Playfair Display", serif;

    font-size: 48px;

    line-height: 1.2;

    color: #ffffff;

    margin: 0 0 17px;

}


.team-hero p {

    max-width: 700px;

    margin: 0 auto;

    font-family: "DM Sans", sans-serif;

    font-size: 18px;

    line-height: 1.6;

    color: #ffffff;

    font-weight: 500;

}



/* =====================================================
   GENERAL TEAM SECTION
===================================================== */

.team-section {

    width: 100%;

    padding: 85px 20px 70px;

    background: #ffffff;

}


.management-section {

    width: 100%;

    background: #f5fafb;

    padding: 85px 20px 70px;

    border-top: 1px solid #edf3f4;

}



/* =====================================================
   SECTION HEADING
===================================================== */

.section-heading {

    width: 100%;

    max-width: 800px;

    margin: 0 auto 45px;

    text-align: center;

}


.section-heading h2 {

    font-family: "Playfair Display", serif;

    font-size: 36px;

    line-height: 1.3;

    color: #080808;

    margin: 0 0 15px;

}


.section-heading p {

    font-family: "DM Sans", sans-serif;

    font-size: 17px;

    line-height: 1.65;

    color: #50657a;

    margin: 0 auto;

    max-width: 760px;

}



/* =====================================================
   TEAM CARD CONTAINER
===================================================== */

.team-container {

    width: 100%;

    max-width: 950px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 27px;

}



/* =====================================================
   TEAM CARD
===================================================== */

.team-card {

    width: 100%;

    background: #ffffff;

    border: 1px solid #cbd9dc;

    border-radius: 13px;

    min-height: 350px;

    padding: 20px 18px 25px;

    text-align: center;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;

}


.team-card:hover {

    transform: translateY(-4px);

    box-shadow: 0 8px 22px rgba(23, 50, 77, 0.08);

}



/* =====================================================
   MEMBER IMAGE
===================================================== */

.team-image {

    width: 260px;

    height: 270px;

    margin: 0 auto 20px;

    border-radius: 8px;

    overflow: hidden;

    background: #e4f7f8;

    border: 3px solid #ffffff;

    box-shadow: 0 0 0 1px #cbd9dc;

}


.team-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

}



/* =====================================================
   MEMBER NAME
===================================================== */

.team-card h3 {

    font-family: "Playfair Display", serif;

    font-size: 19px;

    line-height: 1.35;

    color: #080808;

    margin: 0 0 5px;

}



/* =====================================================
   MEMBER POSITION
===================================================== */

.team-card h4 {

    font-family: "DM Sans", sans-serif;

    font-size: 12px;

    line-height: 1.4;

    font-weight: 600;

    color: #08b8bd;

    margin: 0 0 15px;

    text-transform: uppercase;

}



/* =====================================================
   SHORT DESCRIPTION
===================================================== */

.team-short {

    font-family: "DM Sans", sans-serif;

    font-size: 14px;

    line-height: 1.65;

    color: #50657a;

    margin: 0 auto 17px;

    max-width: 280px;

}



/* =====================================================
   READ MORE
===================================================== */

.team-details {

    margin-top: 5px;

}


.team-details summary {

    list-style: none;

    cursor: pointer;

    display: inline-block;

    font-family: "DM Sans", sans-serif;

    font-size: 13px;

    font-weight: 600;

    color: red;

    transition: color 0.2s ease;

}


.team-details summary::-webkit-details-marker {

    display: none;

}


.team-details summary:hover {

    color: #079da2;

}



/* =====================================================
   FULL MEMBER INFORMATION
===================================================== */

.team-full-info {

    margin-top: 18px;

    padding-top: 16px;

    border-top: 1px solid #e4eeee;

    text-align: left;

}


.team-full-info p {

    font-family: "DM Sans", sans-serif;

    font-size: 14px;

    line-height: 1.7;

    color: #50657a;

    margin: 0 0 13px;

}


.team-full-info p:last-child {

    margin-bottom: 0;

}



/* =====================================================
   HIDDEN BOARD MEMBERS
===================================================== */

.hidden-board {

    display: none;

}


.hidden-board.show-member {

    display: block;

}



/* =====================================================
   HIDDEN MANAGEMENT MEMBERS
===================================================== */

.hidden-management {

    display: none;

}


.hidden-management.show-member {

    display: block;

}



/* =====================================================
   SHOW MORE BUTTON AREA
===================================================== */

.show-more-container {

    width: 100%;

    display: flex;

    justify-content: center;

    align-items: center;

    margin-top: 40px;

}



/* =====================================================
   SHOW MORE BUTTON
===================================================== */

.show-more-btn {

    border: none;

    background: turquoise;

    color: #ffffff;

    font-family: "DM Sans", sans-serif;

    font-size: 14px;

    font-weight: 600;

    padding: 13px 22px;

    min-width: 205px;

    border-radius: 7px;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    transition:
        background 0.2s ease,
        transform 0.2s ease;

}


.show-more-btn:hover {

    background: #079da2;

    transform: translateY(-2px);

}


.show-more-btn i {

    font-size: 12px;

}



/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1050px) {

    .team-container {

        max-width: 900px;

    }

}



/* =====================================================
   SMALL TABLET
===================================================== */

@media (max-width: 850px) {

    .team-container {

        grid-template-columns: repeat(2, 1fr);

        max-width: 700px;

    }

}



/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 650px) {

    .team-hero {

        min-height: 280px;

        padding: 55px 20px;

    }


    .team-hero h1 {

        font-size: 39px;

    }


    .team-hero p {

        font-size: 16px;

    }


    .team-section {

        padding: 60px 20px;

    }


    .management-section {

        padding: 60px 20px;

    }


    .section-heading {

        margin-bottom: 35px;

    }


    .section-heading h2 {

        font-size: 31px;

    }


    .section-heading p {

        font-size: 15px;

    }


    .team-container {

        grid-template-columns: 1fr;

        max-width: 400px;

    }


    .team-card {

        min-height: 340px;

    }


    .team-image {

        max-width: 260px;

        width: 100%;

    }

}



/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 420px) {

    .team-hero h1 {

        font-size: 34px;

    }


    .team-hero p {

        font-size: 15px;

    }


    .section-heading h2 {

        font-size: 28px;

    }


    .team-card h3 {

        font-size: 18px;

    }


    .team-short {

        font-size: 13px;

    }

}