/* Dynamic Employee Profiles - Frontend Styles */

.employee-profile-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Employee Profile Section Styling */
.employee-profile-section {
    background: #ffffff !important;
    border-radius: 15px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    margin: 30px auto !important;
    overflow: hidden !important;
    max-width: 1000px !important;
    padding: 0 !important;
}

.employee-profile-section .et_pb_row {
    padding: 40px !important;
    margin: 0 auto !important;
    max-width: none !important;
}

/* Profile Image with 4px Gold Border - Force Override */
.employee-profile-image {
    text-align: center !important;
    padding: 20px !important;
}

.employee-profile-section .employee-profile-image .et_pb_image_wrap,
.employee-profile-image .et_pb_image_wrap {
    display: inline-block !important;
    border: 4px solid #d4a574 !important;
    border-width: 4px !important;
    border-style: solid !important;
    border-color: #d4a574 !important;
    border-radius: 15px !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15) !important;
    overflow: hidden !important;
    background: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.employee-profile-section .employee-profile-image .et_pb_image_wrap img,
.employee-profile-image .et_pb_image_wrap img {
    border-radius: 11px !important;
    display: block !important;
    width: 270px !important;
    height: 270px !important;
    object-fit: cover !important;
    margin: 0 !important;
    border: none !important;
    padding: 0 !important;
    background: none !important;
}

/* Force border on image container */
.employee-profile-section .et_pb_image.employee-profile-image,
.et_pb_image.employee-profile-image {
    border: 4px solid #d4a574 !important;
    border-radius: 15px !important;
    display: inline-block !important;
    overflow: hidden !important;
}

.employee-profile-section .et_pb_image.employee-profile-image img,
.et_pb_image.employee-profile-image img {
    border: none !important;
    border-radius: 11px !important;
}

/* Social Media Icons underneath image */
.employee-profile-social-icons {
    display: flex !important;
    justify-content: center !important;
    gap: 15px !important;
    margin-top: 25px !important;
    padding: 0 20px !important;
}

.employee-profile-social-icons .social-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    color: #000000 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    border-radius: 50% !important;
    background: transparent !important;
}

.employee-profile-social-icons .social-icon:hover {
    transform: translateY(-2px) !important;
    color: #333333 !important;
    text-decoration: none !important;
}

.employee-profile-social-icons .social-icon svg {
    width: 20px !important;
    height: 20px !important;
}

/* Profile Text Content */
.employee-profile-section .et_pb_text {
    margin-bottom: 20px !important;
}

.employee-profile-section .et_pb_text_inner .p1 {
    margin-bottom: 0.5em !important;
    line-height: 1.6 !important;
}

.employee-profile-section .et_pb_text_inner .p1 strong {
    font-size: 2rem !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    display: block !important;
    margin-bottom: 0.5em !important;
}

.employee-profile-section .et_pb_text_inner .p1 em strong {
    font-size: 1rem !important;
    color: #666 !important;
    font-weight: 600 !important;
    display: inline !important;
    margin-bottom: 0 !important;
}

/* Quote Styling */
.employee-profile-section blockquote {
    background: #f8f9fa !important;
    border-left: 4px solid #d4a574 !important;
    padding: 20px 25px !important;
    margin: 25px 0 !important;
    font-style: italic !important;
    font-size: 1.05rem !important;
    line-height: 1.6 !important;
    color: #2c3e50 !important;
    border-radius: 0 8px 8px 0 !important;
    position: relative !important;
}

.employee-profile-section blockquote::before {
    content: '"' !important;
    font-size: 3rem !important;
    color: #d4a574 !important;
    position: absolute !important;
    top: -5px !important;
    left: 10px !important;
    font-family: Georgia, serif !important;
}

/* Social Media Links */
.employee-profile-section .et_pb_social_media_follow {
    display: none !important; /* Hide old Divi social styles */
}

/* Responsive Design */
@media (max-width: 768px) {
    .employee-profile-section {
        margin: 20px !important;
        border-radius: 10px !important;
    }
    
    .employee-profile-section .et_pb_row {
        padding: 30px 20px !important;
        flex-direction: column !important;
    }
    
    .employee-profile-section .et_pb_column {
        width: 100% !important;
        margin-bottom: 30px !important;
    }
    
    .employee-profile-image .et_pb_image_wrap img {
        width: 200px !important;
        height: 200px !important;
    }
    
    .employee-profile-section .et_pb_text_inner .p1 strong {
        font-size: 1.75rem !important;
    }
    
    .employee-profile-social-icons {
        margin-top: 20px !important;
    }
}

@media (max-width: 480px) {
    .employee-profile-section .et_pb_row {
        padding: 20px 15px !important;
    }
    
    .employee-profile-image .et_pb_image_wrap img {
        width: 180px !important;
        height: 180px !important;
    }
    
    .employee-profile-section .et_pb_text_inner .p1 strong {
        font-size: 1.5rem !important;
    }
    
    .employee-profile-section blockquote {
        padding: 15px 20px !important;
    }
    
    .employee-profile-social-icons {
        gap: 12px !important;
    }
    
    .employee-profile-social-icons .social-icon {
        width: 35px !important;
        height: 35px !important;
    }
    
    .employee-profile-social-icons .social-icon svg {
        width: 18px !important;
        height: 18px !important;
    }
}