/* Staff Page Specific Styles */

/* Section Headers */
.section-header {
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 15px;
    margin-bottom: 40px;
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

/* Staff Member Cards */
.staff-member-card {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    background: white;
    border-radius: 10px;
    padding: 30px;
    /* margin-bottom: 30px; */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid #0d559e;
    height: 100%;
}

.staff-member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    border-left-color: #5a2d91;
}

/* Member Photo */
.member-photo {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
    max-width: 100%;
    max-height: 100%;
    display: block;
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    /* image-rendering: pixelated; */
    backface-visibility: hidden;
    transform: translateZ(0);
}

.staff-member-card:hover .member-photo img {
    transform: scale(1.05);
}

/* Member Info */
.member-info {
    flex: 1;
    min-width: 0;
}

.member-name {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
    line-height: 1.2;
}

.member-position {
    font-size: 15px;
    font-weight: 600;
    color: #0d559e;
    margin-bottom: 6px;
}

.member-department {
    font-size: 14px;
    color: #495057;
    margin-bottom: 6px;
    line-height: 1.3;
}

.member-experience {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 6px;
    font-weight: 500;
}

.member-specialization {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 15px;
    line-height: 1.4;
    font-style: italic;
}

/* View Bio Button */
.view-bio-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #0d559e;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}

.view-bio-btn:hover {
    color: #5a2d91;
    border-bottom-color: #5a2d91;
}

.view-bio-btn i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.view-bio-btn:hover i {
    transform: translateX(3px);
}

/* Grid Layout */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    align-items: start;
}

/* Staff Members Area */
.staff-members-area {
    background: white;
}

/* Staff Appreciation CTA */
.staff-appreciation-cta {
    padding: 100px 0;
    background-size: cover;
    background-position: center;
    position: relative;
}

.staff-appreciation-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
}

.staff-appreciation-cta .cta-content {
    position: relative;
    z-index: 2;
}

.staff-appreciation-cta .cta-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.staff-appreciation-cta .cta-text {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .staff-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .staff-member-card {
        padding: 25px 20px;
    }
    
    .member-photo {
        width: 180px;
        height: 180px;
        margin: 0;
        padding: 0;
    }
}

@media (max-width: 768px) {
    .staff-member-card {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }
    
    .member-photo {
        width: 150px;
        height: 150px;
        margin: 0 auto 20px;
        padding: 0;
        background: #f8f9fa;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .member-name {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 16px;
    }
    
    .staff-appreciation-cta .cta-title {
        font-size: 28px;
    }
}