.reanda-team-card-email, .reanda-team-card-telephone {
	line-height: 1.0em
}
.reanda-team-card-email a {
	font-size:18px;
}
.reanda-team-card-telephone a {
	font-size: 18px;
}

/* =========================================
   REANDA TEAM MEMBER POPUP
========================================= */

/* Main popup wrapper */
.reanda-team-modal {
    position: fixed !important;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Ensure hidden popup stays hidden */
.reanda-team-modal[hidden] {
    display: none !important;
}

/* Popup open state */
.reanda-team-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Dark background overlay */
.reanda-team-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 11, 11, 0.8);
}

/* Main popup box */
.reanda-team-modal-dialog {
    position: relative;
    z-index: 2;
    width: 860px;
    max-width: calc(100% - 40px);
    max-height: 85vh;
    overflow-y: auto;
    background: #1b1b1b;
    color: #ffffff;
    padding: 35px;
    box-sizing: border-box;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    outline: none;
}

/* Popup entrance animation */
.reanda-team-modal.is-open .reanda-team-modal-dialog {
    transform: translateY(0);
}

/* Profile image */
.reanda-team-modal-image {
    text-align: center;
    margin-bottom: 25px;
}

.reanda-team-modal-image img {
    display: inline-block;
    width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: 0;
}
.reanda-team-card-image img {
	border-radius: 15px;
}

/* Member name */
.reanda-team-modal-details h2 {
    color: #009596;
    font-size: 35px;
    font-weight: 600;
    margin: 0 0 8px;
}
.reanda-team-card-name {
	font-size: 21px;
}

/* Job title */
.reanda-team-modal-job-title {
    font-size: 17px;
    font-weight: 400;
    margin: 0 0 22px;
	color: rgba(255, 255, 255, .74);
    line-height: 1.4em;
    font-size: 22px;
}

/* Biography */
.reanda-team-modal-biography {
    color: #ffffff;
    font-size: 15px;
    line-height: 1.7;
}
.reanda-team-modal-biography p {
	font-size: 17px;
}

/* Contact information */
.reanda-team-modal-contact {
    margin-top: 25px;
    color: #ffffff;
    line-height: 1.8;
}

.reanda-team-modal-contact a {
    color: #009596;
    text-decoration: none;
}

.reanda-team-modal-contact a:hover {
    text-decoration: underline;
}

/* Close button */
.reanda-team-modal-close {
    position: fixed;
    top: 20px;
    right: 25px;
    z-index: 4;
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    color: #ffffff;
    font-size: 38px;
    line-height: 1;
    cursor: pointer;
}

/* Previous and next buttons */
.reanda-team-modal-prev,
.reanda-team-modal-next {
    position: fixed;
    top: 50%;
    z-index: 4;
    transform: translateY(-50%);
    width: 45px;
    height: 60px;
    border: 0;
    background: transparent;
    color: #ffffff;
    font-size: 32px;
    cursor: pointer;
}

.reanda-team-modal-prev {
    left: 20px;
}

.reanda-team-modal-next {
    right: 20px;
}

.reanda-team-modal-close:hover,
.reanda-team-modal-prev:hover,
.reanda-team-modal-next:hover {
    color: #009596;
}

/* Prevent background scrolling */
body.reanda-modal-open {
    overflow: hidden;
}

/* Mobile layout */
@media (max-width: 767px) {

    .reanda-team-modal-dialog {
        max-width: calc(100% - 30px);
        max-height: 85vh;
        padding: 25px 20px;
    }

    .reanda-team-modal-image img {
        width: 140px;
        height: 140px;
    }

    .reanda-team-modal-details h2 {
        font-size: 23px;
    }

    .reanda-team-modal-prev {
        left: 2px;
    }

    .reanda-team-modal-next {
        right: 2px;
    }

    .reanda-team-modal-close {
        top: 5px;
        right: 8px;
    }

}
