/* --- Hover overlay --- */
.page-content .staff-module .single-profile.has-description {
    cursor: pointer;
}

/* Default profiles without description — no pointer */
.page-content .staff-module .single-profile {
    cursor: default;
}

.page-content .staff-module .single-profile .img {
    position: relative;
    overflow: hidden;
}

.page-content .staff-module .profile-hover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.60) 0%, rgba(0, 0, 0, 0.60) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.page-content .staff-module .single-profile.has-description:hover .profile-hover-overlay {
    opacity: 1;
}

.page-content .staff-module .profile-hover-overlay span {
    color: #FFF;
	text-align: center;
	font-family: Poppins;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 166.5%; /* 26.64px */
	letter-spacing: 0.56px;
    padding: 8px 20px;}

/* Modal overall */
.info-tiles-modal .modal-content {
    border-radius: 4px;
    border: none;
    padding: 0;
}

/* Close button — black pill top right */
.info-tiles-modal .modal-close-btn-box {
    display: flex;
    justify-content: flex-end;
    padding: 16px 16px 0;
}

.info-tiles-modal .close-icon {
    cursor: pointer;
    background: #111;
    color: #fff;
    font-size: 13px;
    letter-spacing: 0.08em;
    padding: 7px 16px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s ease;
}

.info-tiles-modal .close-icon:hover {
    background: #333;
}

/* Modal body */
.info-tiles-modal .modal-body {
    padding: 24px 36px 36px;
}

/* Profile header: image + name/role side by side */
.info-tiles-modal .modal-profile-header {
     display: flex;
    align-items: center; /* changed from flex-start */
    gap: 24px;
    margin-bottom: 28px;
}

/* Image — rectangular, fixed size */
.info-tiles-modal .modal-body-img-box {
    flex-shrink: 0;
}

.info-tiles-modal .modal-body-img {
    width: auto;
    height: 205px;
    object-fit: cover;
    object-position: top;
    display: block;
}

/* Name */
.info-tiles-modal .modal-body-title {
    color: #CDAB81;
	font-family: "Tenor Sans";
	font-size: 22px;
	font-style: normal;
	font-weight: 400;
	line-height: 126%; /* 27.72px */
	letter-spacing: 0.66px;
}

/* Role */
.info-tiles-modal .modal-detail-list-title ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-tiles-modal .modal-detail-list-title ul li {
   color: #777;
	font-family: Poppins;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 166.5%;
	letter-spacing: 0.56px;
}

/* Description */
.info-tiles-modal .modal-body-txt {
    color: #777;
	font-family: Poppins;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 166.5%; /* 26.64px */
	letter-spacing: 0.56px;
}
/* Opening animation */
.info-tiles-modal .modal-content {
    animation: none;
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.info-tiles-modal.show .modal-content {
    transform: translateY(0);
    opacity: 1;
}

/* Backdrop fade */
.modal-backdrop {
    transition: opacity 0.35s ease;
}
/* Responsive */
@media (max-width: 600px) {
    .info-tiles-modal .modal-profile-header {
        flex-direction: column;
    }

    .info-tiles-modal .modal-body-img {
        width: 100%;
        height: 220px;
    }

    .info-tiles-modal .modal-body {
        padding: 20px;
    }
}
