/* Extracted from PHP template; preserve original cascade position. */
/* Основные стили */
.editorial-council-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.council-header {
    margin-bottom: 60px;
}

.council-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.header-divider {
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
    margin: 0 auto;
}

/* Стили для заведующего редакцией */
.chief-editor-section {
    margin-top: 40px;
    margin-bottom: 60px;
    text-align: center;
}

.chief-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a5ba0 100%);
    color: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(26, 75, 140, 0.3);
    position: relative;
    overflow: hidden;
    max-width: 600px;
    margin: 0 auto;
}

.chief-card:before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: rgba(255,255,255,0.1);
    transform: rotate(45deg);
}

.chief-badge {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.3);
}

.chief-badge i {
    margin-right: 8px;
    font-size: 0.8rem;
}

.chief-name {
    position: relative;
    z-index: 2;
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.chief-degree {
    position: relative;
    z-index: 2;
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 15px;
}

.chief-location {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.chief-location .city {
    background: rgba(255,255,255,0.15);
    padding: 4px 12px;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.2);
}

.chief-location .country {
    opacity: 0.8;
}

.chief-specializations {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 20px;
}

.specialization-badge {
    background: rgba(255,255,255,0.15);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(5px);
}

.chief-line {
    position: relative;
    z-index: 2;
    width: 60px;
    height: 2px;
    background: rgba(255,255,255,0.5);
    margin: 0 auto;
}

/* Стили для списка членов */
.council-category {
    margin-bottom: 50px;
}

.category-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(26, 75, 140, 0.1);
    position: relative;
}

.category-title:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--secondary-color);
}

/* Карточки членов редакционного совета */
.members-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.member-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.member-info {
    margin-bottom: 15px;
}

.member-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
    line-height: 1.3;
}

.member-degree {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.4;
}

.member-location {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.member-city, .member-country {
    font-size: 0.85rem;
    color: #777;
    padding: 4px 10px;
    background: rgba(26, 75, 140, 0.05);
    border-radius: 4px;
    border: 1px solid rgba(26, 75, 140, 0.1);
}

.member-rank {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--accent-color);
    padding: 4px 12px;
    background: rgba(42, 157, 143, 0.1);
    border-radius: 4px;
    border: 1px solid rgba(42, 157, 143, 0.2);
}

.member-rank i {
    font-size: 0.7rem;
}

/* Специализации */
.member-specializations {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.member-spec {
    font-size: 0.8rem;
    color: #2a9d8f;
    padding: 4px 10px;
    background: rgba(42, 157, 143, 0.1);
    border-radius: 4px;
    border: 1px solid rgba(42, 157, 143, 0.2);
}

/* Анимации */
.member-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.member-card:nth-child(1) { animation-delay: 0.1s; }
.member-card:nth-child(2) { animation-delay: 0.15s; }
.member-card:nth-child(3) { animation-delay: 0.2s; }
.member-card:nth-child(4) { animation-delay: 0.25s; }
.member-card:nth-child(5) { animation-delay: 0.3s; }
.member-card:nth-child(6) { animation-delay: 0.35s; }
.member-card:nth-child(7) { animation-delay: 0.4s; }
.member-card:nth-child(8) { animation-delay: 0.45s; }

.chief-card {
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.5s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Адаптивность */
@media (max-width: 992px) {
    .members-list {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .council-title {
        font-size: 2rem;
    }
    
    .members-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .chief-card {
        padding: 30px 20px;
    }
    
    .chief-name {
        font-size: 1.3rem;
    }
    
    .category-title {
        font-size: 1.5rem;
    }
    
    .member-card {
        padding: 20px;
    }
    
    .member-name {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .council-title {
        font-size: 1.7rem;
    }
    
    .member-location {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .member-specializations {
        flex-direction: column;
        gap: 6px;
    }
    
    .member-spec {
        width: 100%;
        text-align: center;
    }
}
