/* Profile Card UI */
/* ===== TABS ===== */

.esg-committee-tabs { 
    max-width: 1200px; margin: auto; 
    justify-items: center;
}

.esg-committee-tabs .tabs-buttons { 
    margin-bottom: 20px; 
    display: flex; 
    flex-wrap: nowrap; 
    gap: 10px; 
    flex-direction: row;
    overflow-y: hidden;
    max-width: 80vw;
    -webkit-overflow-scrolling: touch;
}

.esg-committee-tabs .tab-content { 
    display: none; 
}
.esg-committee-tabs .tab-content.active { 
    display: block; 
}

.esg-committee-tabs .tab-btn {
    padding: 10px 22px;
    background: #0b3d2e;
    border-color: #0b3d2e;
    color: #fff;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    user-select: none;
    transition: background 0.3s;
    text-wrap-mode: nowrap;
}

.esg-committee-tabs .tab-btn.active {
    background: #00b050;
    border-color: #00b050;
}

/* ===== GRID ===== */
.esg-committee-tabs .profile-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* ===== CARD ===== */
.esg-committee-tabs .profile-card {
    display: flex;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #ddd;
    background: #f6f7f8;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.esg-committee-tabs .profile-image {
    background: #ffffff;
    /* padding: 20px; */
    display: flex;
    align-items: center;
    justify-content: center;
}

.esg-committee-tabs .profile-image img {
    width: 160px !important;
    height: 180px !important;
    border-radius: 0px !important;
}

.esg-committee-tabs .profile-content {
    padding: 24px 28px;
    flex: 1;
}

.esg-committee-tabs .profile-content h3 {
    margin: 0;
    font-size: 21px;
    font-weight: 700;
    color: #00b050;
    line-height: 1.3;
}

.esg-committee-tabs .profile-content .title {
    margin: 12px 0 20px;
    font-size: 15px;
    color: #666;
}

.esg-committee-tabs .btn-read {
    display: inline-block;
    padding: 10px 24px;
    background-color: #00b050;
    border-color: #00b050;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    border-radius: 22px;
    cursor: pointer;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .esg-committee-tabs .profile-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .esg-committee-tabs .profile-image img {
        width: 100px;
    }

    .esg-committee-tabs .profile-content h3 {
         font-size: 16px;
    }

    .esg-committee-tabs .profile-content .title {
        font-size: 12px;
    }

    .esg-committee-tabs .btn-read {
        font-size: 12px;
    }
}

@media (max-width: 370px) {
    body {
        padding: 20px;
    }

    .esg-committee-tabs .profile-card {
        flex-direction: column;
        text-align: center;
    }

    .esg-committee-tabs .profile-image img {
        width: 140px;
    }
}


/* ===== POPUP ===== */
.esg-committee-popup {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.esg-committee-popup.active {
    display: block;
}

.esg-committee-popup .popup-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    /* background: rgba(0,0,0,0); */
}

.esg-committee-popup .popup-content {
    position: relative;
    background: #fff;
    max-width: 80vw;
    margin: 10vh auto;
    padding: 30px;
    border-radius: 10px;
    z-index: 1;
    min-height: 60vh;
    border: 1px solid #000;
    margin-top: 15vh;
    max-height: 80vh;
}

.esg-committee-popup .popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 22px;
    background: none;
    border: none;
    cursor: pointer;
    color: #000;
}

.esg-committee-popup .popup-body {
    max-height: 60vh;
    overflow-x: hidden;
    overflow-y: auto;
}