/* ============================================================
   LEADERSHIP PAGE - FLOATING OVERLAPPING INFO CARDS
   Matches team.php layout, typography, and card aesthetics
   ============================================================ */

/* Image container and image styling */
.section-wrapper[data-id="jE5fRc"] .guten-image,
.guten-jE5fRc .guten-image {
    position: relative !important;
    z-index: 1 !important;
    margin-bottom: 0 !important;
}

.section-wrapper[data-id="jE5fRc"] .guten-image img,
.guten-jE5fRc .guten-image img,
.guten-253719 img,
.guten-fkMPiz img,
.guten-4k7d2c img,
.guten-B3s3n2 img,
.guten-3HR18f img {
    border-radius: 25px !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1209 / 1585 !important;
    display: block !important;
    object-fit: cover !important;
}

/* Floating White Info Card Overlapping Bottom of Photo */
.guten-c1Diat,
.guten-sqL6sj,
.guten-1EvEkn,
.guten-f3JSFQ,
.guten-rVZd1n,
.section-wrapper[data-id="jE5fRc"] .guten-wrap-helper,
.guten-jE5fRc .guten-wrap-helper {
    position: relative !important;
    z-index: 5 !important;
    margin: -95px 12px 14px 12px !important;
    background: #ffffff !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12) !important;
    padding: 14px 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
}

/* Inner wrap layout */
.section-wrapper[data-id="jE5fRc"] .guten-inner-wrap,
.guten-jE5fRc .guten-inner-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 8px !important;
}

/* Title & Subtitle Styling */
.section-wrapper[data-id="jE5fRc"] .guten-advanced-heading,
.guten-jE5fRc .guten-advanced-heading {
    text-align: left !important;
    margin: 0 !important;
    flex: 1 !important;
}

.section-wrapper[data-id="jE5fRc"] .heading-title,
.guten-jE5fRc .heading-title {
    color: #043145 !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    margin: 0 !important;
    font-family: inherit !important;
}

.section-wrapper[data-id="jE5fRc"] .heading-subtitle,
.guten-jE5fRc .heading-subtitle {
    color: #4b5563 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    display: block !important;
    margin-top: 2px !important;
}

.section-wrapper[data-id="jE5fRc"] .heading-subtitle a,
.guten-jE5fRc .heading-subtitle a {
    color: #578cc8 !important;
    text-decoration: underline !important;
    font-weight: 600 !important;
    display: inline-block !important;
}

/* Social icons on card */
.section-wrapper[data-id="jE5fRc"] .guten-social-icons,
.guten-jE5fRc .guten-social-icons {
    flex-shrink: 0 !important;
    margin: 0 !important;
    width: auto !important;
}

.section-wrapper[data-id="jE5fRc"] .guten-social-icon a,
.guten-jE5fRc .guten-social-icon a {
    color: #6ba3d0 !important;
    font-size: 18px !important;
    background: transparent !important;
    background-color: transparent !important;
    border-radius: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.section-wrapper[data-id="jE5fRc"] .guten-social-icon a:hover,
.guten-jE5fRc .guten-social-icon a:hover {
    color: #043145 !important;
}

/* Tablet adjustments */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .guten-c1Diat,
    .guten-sqL6sj,
    .guten-1EvEkn,
    .guten-f3JSFQ,
    .guten-rVZd1n,
    .section-wrapper[data-id="jE5fRc"] .guten-wrap-helper,
    .guten-jE5fRc .guten-wrap-helper {
        width: calc(100% - 24px) !important;
        max-width: calc(100% - 24px) !important;
        margin: -80px 12px 12px 12px !important;
        padding: 12px 16px !important;
        border-radius: 16px !important;
        min-height: 72px !important;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1) !important;
    }
}

/* Mobile adjustments */
@media screen and (max-width: 767px) {
    .guten-c1Diat,
    .guten-sqL6sj,
    .guten-1EvEkn,
    .guten-f3JSFQ,
    .guten-rVZd1n,
    .section-wrapper[data-id="jE5fRc"] .guten-wrap-helper,
    .guten-jE5fRc .guten-wrap-helper {
        margin: -90px 12px 14px 12px !important;
        padding: 12px 16px !important;
    }
}