/* Editorial Board Page - Updated to match homepage design */

.headline-carousel-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    position: relative;
    overflow: hidden;
    margin-top: -70px;
    padding-top: 90px;
    padding-bottom: 30px;
}

.headline-carousel-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.08)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.06)"/></svg>');
    animation: float 20s linear infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-100px); }
}

.card {
    transition: all 0.3s ease;
    border-radius: 12px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
}

.badge {
    font-weight: 600;
    padding: 0.5em 0.75em;
}

.bg-light .card {
    border: 1px solid #e9ecef;
}

.section-title {
    font-size: 2.5rem;
    color: #104c81;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #104c81;
    border-radius: 2px;
}

.text-primary {
    color: #104c81 !important;
}

.fw-medium {
    font-weight: 500;
}

.object-fit-cover {
    object-fit: cover;
}

@media (max-width: 992px) {
    .headline-carousel-section {
        padding-top: 120px;
        padding-bottom: 60px;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .headline-carousel-section {
        padding-top: 100px;
        padding-bottom: 40px;
        margin-top: -70px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .badge {
        font-size: 0.75rem;
    }
}

@media (max-width: 576px) {
    .headline-carousel-section {
        padding-top: 90px;
        padding-bottom: 30px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 1rem;
    }
}