/* Extracted from PHP template; preserve original cascade position. */
.editorial-board {
        background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
        border-radius: 16px;
        padding: 2rem;
        margin-bottom: 2rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
        border: 1px solid rgba(10, 74, 122, 0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .editorial-board:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    }
    
    .editorial-board h4 {
        color: #0a4a7a;
        font-weight: 700;
        margin-bottom: 1.5rem;
        padding-bottom: 0.75rem;
        border-bottom: 2px solid #d4af37;
        display: block;
        width: 100%;
    }
    
    .editorial-board h4 i {
        color: #d4af37;
    }
    
    .editorial-member {
        display: flex;
        align-items: flex-start;
        margin-bottom: 1.25rem;
        padding: 1rem;
        background: white;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
        transition: all 0.2s ease;
        border-left: 3px solid transparent;
        height: 100%;
        min-height: 86px;
    }
    
    .editorial-member:hover {
        border-left-color: #d4af37;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        transform: translateX(2px);
    }
    
    .member-photo {
        width: 50px;
        height: 50px;
        background: linear-gradient(135deg, #0a4a7a, #1c6ea4);
        color: white;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 600;
        font-size: 0.9rem;
        margin-right: 1rem;
        flex-shrink: 0;
        box-shadow: 0 3px 8px rgba(10, 74, 122, 0.2);
    }
    
    .member-info {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 50px;
    }
    
    .member-info h6 {
        color: #0a4a7a;
        font-weight: 700;
        margin-bottom: 0.25rem;
        font-size: 0.95rem;
        line-height: 1.3;
    }
    
    .member-info p {
        color: #4a5568;
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 0;
        opacity: 0.9;
    }
    
    .editorial-board .btn-outline-primary {
        border: 2px solid #0a4a7a;
        color: #0a4a7a;
        border-radius: 10px;
        padding: 0.5rem 1.5rem;
        font-weight: 600;
        font-size: 0.9rem;
        transition: all 0.3s ease;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 0.5rem;
        width: 100%;
        max-width: 220px;
    }
    
    .editorial-board .btn-outline-primary:hover {
        background: linear-gradient(135deg, #0a4a7a, #1c6ea4);
        color: white;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(10, 74, 122, 0.2);
        border-color: #0a4a7a;
    }
    
    /* Исправляем выравнивание в колонках */
    .editorial-board .row {
        display: flex;
        flex-wrap: wrap;
    }
    
    .editorial-board .col-md-6 {
        display: flex;
        flex-direction: column;
    }
    
    /* Выравнивание карточек по высоте */
    .editorial-board .col-md-6 > .editorial-member {
        flex: 1;
    }
    
    .editorial-board .text-center {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-top: 1rem;
    }
    
    /* Адаптивность */
    @media (max-width: 767.98px) {
        .editorial-board {
            padding: 1.5rem;
        }
        
        .editorial-member {
            padding: 0.875rem;
            min-height: 80px;
            margin-bottom: 1rem;
        }
        
        .member-photo {
            width: 45px;
            height: 45px;
            font-size: 0.85rem;
            margin-right: 0.875rem;
        }
        
        .member-info h6 {
            font-size: 0.9rem;
        }
        
        .member-info p {
            font-size: 0.8rem;
        }
        
        .editorial-board .btn-outline-primary {
            width: 100%;
            max-width: none;
            padding: 0.6rem 1.5rem;
        }
    }
    
    @media (min-width: 768px) and (max-width: 991.98px) {
        .editorial-board .col-md-6 {
            width: 100%;
        }
        
        .editorial-board .col-md-6:first-child {
            margin-bottom: 0;
        }
    }
