/* ===== Shared Advisory Board ===== */

.home-advisory-section {
    padding: 65px 0;
    background: linear-gradient(180deg, #020719 0%, #100b43 58%, #020719 100%);
}

.home-advisory-section .ha-card {
    height: 100%;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #111447;
    border: 1px solid rgba(0, 157, 255, .28);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,.22);
    color: #fff;
}

.home-advisory-section .ha-card > img {
    display: block;
    width: 100%;
    height: 270px;
    object-fit: cover;
    object-position: center top;
    margin: 0;
    border-radius: 0;
}

.home-advisory-section .ha-card-body {
    flex: 1;
    padding: 22px 20px 10px;
}

.home-advisory-section .ha-name {
    color: #fff;
    font-size: 17px;
    line-height: 1.45;
    font-weight: 700;
    margin-bottom: 5px;
}

.home-advisory-section .ha-designation,
.home-advisory-section .ha-company {
    color: #fff;
    font-size: 13px;
    line-height: 1.55;
    margin-bottom: 5px;
}

.home-advisory-section .ha-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px 8px;
    margin-top: auto;
}

.home-advisory-section .ha-card-footer a {
    color: #fff;
    text-decoration: none;
}

.home-advisory-section .ha-card-footer a:hover {
    color: #00d9ff;
}

/* Biography popup */

.home-advisory-modal {
    display: none;
    position: fixed;
    z-index: 999999;
    inset: 0;
    overflow-y: auto;
    padding: 30px 15px;
    background: rgba(0,0,0,.78);
}

.home-advisory-modal-content {
    position: relative;
    width: 90%;
    max-width: 720px;
    max-height: 85vh;
    overflow-y: auto;
    margin: 3% auto;
    padding: 30px;
    border-radius: 10px;
    background: #080d3b;
    border: 1px solid rgba(0,217,255,.35);
    color: #fff;
    text-align: left;
}

.home-advisory-modal-content h3,
.home-advisory-modal-content h5,
.home-advisory-modal-content p {
    color: #fff;
}

.home-advisory-modal-content h3 {
    padding-right: 35px;
    margin-bottom: 10px;
}

.home-advisory-modal-content .ha-modal-desg {
    font-size: 15px;
    font-style: italic;
}

.home-advisory-modal-content .ha-modal-company {
    font-size: 15px;
    margin-bottom: 20px;
}

.home-advisory-modal-content p {
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 16px;
}

.home-advisory-close {
    position: absolute;
    top: 8px;
    right: 18px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}

.home-advisory-close:hover {
    color: #00d9ff;
}

@media (max-width: 767px) {
    .home-advisory-section {
        padding: 45px 0;
    }

    .home-advisory-section .ha-card {
        min-height: 0;
    }

    .home-advisory-section .ha-card > img {
        height: 300px;
    }

    .home-advisory-modal-content {
        width: 100%;
        padding: 25px 18px;
        margin: 5% auto;
    }
}