/* ============================================
   ACMHANS — Director Council / Team Section
   Scoped under .acm-team-* — does not touch style.css
   ============================================ */

.acm-team-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    box-shadow: 0 8px 30px rgba(15, 37, 71, 0.08);
    border: 1px solid rgba(15, 37, 71, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.acm-team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(15, 37, 71, 0.16);
}

.acm-team-card__img {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
}

.acm-team-card__img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 37, 71, 0) 55%, rgba(15, 37, 71, 0.55) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.acm-team-card:hover .acm-team-card__img::after {
    opacity: 1;
}

.acm-team-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.acm-team-card:hover .acm-team-card__img img {
    transform: scale(1.08);
}

.acm-team-card__body {
    padding: 28px 24px 26px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.acm-team-card__name {
    font-family: 'Fraunces', serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--ACMHANS-base, #0F2547);
    margin-bottom: 6px;
    line-height: 1.3;
}

.acm-team-card__role {
    color: var(--ACMHANS-primary, #C9A227);
    font-weight: 700;
    font-size: 12.5px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 32px;
}

.acm-team-card__divider {
    width: 40px;
    height: 2px;
    background: var(--ACMHANS-primary, #C9A227);
    margin: 0 auto 14px;
    border-radius: 2px;
}

.acm-team-card__bio {
    color: #666;
    font-size: 13.5px;
    line-height: 1.6;
    margin: 0 0 20px;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.acm-team-card__btn {
    margin-top: auto;
    align-self: center;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--ACMHANS-base, #0F2547);
    border: 1.5px solid var(--ACMHANS-primary, #C9A227);
    border-radius: 30px;
    padding: 9px 22px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.acm-team-card__btn i {
    font-size: 11px;
    transition: transform 0.3s ease;
}

.acm-team-card__btn:hover {
    background: var(--ACMHANS-primary, #C9A227);
    color: #fff;
}

.acm-team-card__btn:hover i {
    transform: translateX(3px);
}

/* ---------------- Modal ---------------- */

.acm-team-modal .modal-content {
    border: none;
    border-radius: 18px;
    overflow: hidden;
}

.acm-team-modal .btn-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 5;
    background-color: #fff;
    opacity: 1;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    padding: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.acm-team-modal__img-col {
    position: relative;
    min-height: 320px;
    background-color: var(--ACMHANS-base, #0F2547);
}

.acm-team-modal__img-col img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
}

.acm-team-modal__body {
    padding: 44px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.acm-team-modal__tagline {
    color: var(--ACMHANS-primary, #C9A227);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.acm-team-modal__name {
    font-family: 'Fraunces', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--ACMHANS-base, #0F2547);
    margin-bottom: 6px;
    line-height: 1.25;
}

.acm-team-modal__role {
    color: #555;
    font-weight: 600;
    font-size: 14.5px;
    margin-bottom: 20px;
}

.acm-team-modal__divider {
    width: 55px;
    height: 3px;
    background: var(--ACMHANS-primary, #C9A227);
    margin-bottom: 20px;
    border-radius: 3px;
}

.acm-team-modal__bio {
    color: #555;
    font-size: 15px;
    line-height: 1.85;
    margin: 0;
    text-align: justify;
}

@media (max-width: 767.98px) {
    .acm-team-modal__img-col {
        min-height: 240px;
    }

    .acm-team-modal__img-col img {
        min-height: 240px;
    }

    .acm-team-modal__body {
        padding: 32px 26px 36px;
    }

    .acm-team-modal__name {
        font-size: 23px;
    }
}
