/* ========================================
   PROFILE HEADSHOT SECTION IMPROVEMENTS
   ======================================== */

/* Team section overall spacing */
#ws-block-team-member-with-media-Ep4YI4DB .ws-section {
    padding-top: 100px !important;
    padding-bottom: 100px !important;
}

/* Profile photo styling - more professional */
#ws-block-team-member-with-media-Ep4YI4DB ws-media-container {
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
    position: relative !important;
}

/* Subtle border on image */
#ws-block-team-member-with-media-Ep4YI4DB ws-media-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    pointer-events: none;
}

/* Profile image enhancement */
#ws-block-team-member-with-media-Ep4YI4DB ws-media-container img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
}

/* Bio text improvements */
#ws-block-team-member-with-media-Ep4YI4DB .ws-block-content {
    padding-left: 2rem !important;
}

/* Name/title styling */
#ws-block-team-member-with-media-Ep4YI4DB ws-text[slot="member-description"] h2 {
    font-size: 2.25rem !important;
    font-weight: 700 !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.2 !important;
    color: hsl(0, 0%, 100%) !important;
}

/* Bio paragraphs */
#ws-block-team-member-with-media-Ep4YI4DB ws-text[slot="member-description"] p {
    font-size: 1rem !important;
    line-height: 1.7 !important;
    margin-bottom: 1.25rem !important;
    opacity: 0.9 !important;
}

/* Signature paragraph (last one) */
#ws-block-team-member-with-media-Ep4YI4DB ws-text[slot="member-description"] p[style*="right"] {
    font-style: italic !important;
    margin-top: 1.5rem !important;
    opacity: 0.7 !important;
    font-size: 0.9375rem !important;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    #ws-block-team-member-with-media-Ep4YI4DB .ws-block-content {
        padding-left: 0 !important;
        margin-top: 2rem !important;
    }

    #ws-block-team-member-with-media-Ep4YI4DB .ws-section {
        padding-top: 80px !important;
        padding-bottom: 80px !important;
    }

    #ws-block-team-member-with-media-Ep4YI4DB ws-text[slot="member-description"] h2 {
        font-size: 2rem !important;
    }
}

@media (max-width: 767px) {
    #ws-block-team-member-with-media-Ep4YI4DB ws-text[slot="member-description"] h2 {
        font-size: 1.75rem !important;
    }

    #ws-block-team-member-with-media-Ep4YI4DB .ws-section {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }
}
