/* ============================================
   Editorial Board Enhanced UI/UX Styles
   Professional design for building author trust
   ============================================ */

/* Page-specific scope to avoid affecting other pages */
.editorial-board-enhanced {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Section Headers - Professional Typography */
.editorial-board-enhanced .section-header {
    position: relative;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
}

.editorial-board-enhanced .section-header h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1a1a1a;
    text-transform: none;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.editorial-board-enhanced .section-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #0066cc 0%, #0052a3 100%);
    border-radius: 2px;
}

/* Enhanced Editor Cards */
.editorial-board-enhanced .editor-card-wrapper {
    margin-bottom: 1.5rem;
}

.editorial-board-enhanced .editor-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 1.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.editorial-board-enhanced .editor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0066cc 0%, #0052a3 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.editorial-board-enhanced .editor-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.editorial-board-enhanced .editor-card:hover::before {
    opacity: 1;
}

/* Editor Image - Professional Presentation */
.editorial-board-enhanced .editor-image-container {
    flex-shrink: 0;
    margin-right: 1.5rem;
    position: relative;
}

.editorial-board-enhanced .editor-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f0f0f0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.editorial-board-enhanced .editor-card:hover .editor-image {
    border-color: #0066cc;
    box-shadow: 0 6px 16px rgba(0, 102, 204, 0.2);
}

/* Chief Editor - Larger Image */
.editorial-board-enhanced .chief-editor-card .editor-image {
    width: 140px;
    height: 140px;
}

/* Editor Content */
.editorial-board-enhanced .editor-content {
    flex: 1;
    min-width: 0;
}

.editorial-board-enhanced .editor-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.editorial-board-enhanced .editor-role {
    font-size: 0.95rem;
    color: #0066cc;
    font-weight: 500;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.editorial-board-enhanced .editor-affiliation {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.8rem;
    font-style: italic;
    line-height: 1.4;
}

.editorial-board-enhanced .editor-bio {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Credentials & Trust Indicators */
.editorial-board-enhanced .editor-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e8e8e8;
}

.editorial-board-enhanced .credential-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.8rem;
    background: #f5f7fa;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #555;
    font-weight: 500;
    transition: all 0.2s ease;
}

.editorial-board-enhanced .credential-badge:hover {
    background: #e8eef5;
    color: #0066cc;
}

.editorial-board-enhanced .credential-badge svg,
.editorial-board-enhanced .credential-badge i {
    width: 14px;
    height: 14px;
    color: #0066cc;
}

/* More Info Link - Enhanced CTA */
.editorial-board-enhanced .editor-more-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #0066cc;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-top: 0.8rem;
}

.editorial-board-enhanced .editor-more-link::after {
    content: '→';
    transition: transform 0.2s ease;
}

.editorial-board-enhanced .editor-more-link:hover {
    color: #0052a3;
    text-decoration: none;
}

.editorial-board-enhanced .editor-more-link:hover::after {
    transform: translateX(4px);
}

/* Section Dividers */
.editorial-board-enhanced .section-divider {
    margin: 3rem 0;
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #e0e0e0 50%, transparent 100%);
}

/* Section-specific badges */
.editorial-board-enhanced .section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #f0f7ff;
    color: #0066cc;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
}

/* Subsection Headers (for Section Editors) */
.editorial-board-enhanced .subsection-header {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    text-align: center;
    padding: 1rem 0;
    margin: 2rem 0 1.5rem;
    background: #f8f9fa;
    border-radius: 6px;
    letter-spacing: 0.05em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .editorial-board-enhanced .editor-card {
        padding: 1.25rem;
    }
    
    .editorial-board-enhanced .editor-image-container {
        margin-right: 1rem;
        margin-bottom: 0;
    }
    
    .editorial-board-enhanced .editor-image {
        width: 90px;
        height: 90px;
    }
    
    .editorial-board-enhanced .chief-editor-card .editor-image {
        width: 110px;
        height: 110px;
    }
    
    .editorial-board-enhanced .editor-name {
        font-size: 1.1rem;
    }
    
    .editorial-board-enhanced .section-header h3 {
        font-size: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .editorial-board-enhanced .editor-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .editorial-board-enhanced .editor-card:hover {
        transform: none;
    }
}

/* Accessibility Enhancements */
.editorial-board-enhanced .editor-card:focus-within {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}

.editorial-board-enhanced .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Loading State (optional enhancement) */
.editorial-board-enhanced .editor-card-skeleton {
    animation: skeleton-loading 1.5s infinite;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Trust Indicators */
.editorial-board-enhanced .trust-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #16a34a;
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

.editorial-board-enhanced .trust-indicator::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: #16a34a;
    color: white;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: bold;
}

/* ORCID Integration */
.editorial-board-enhanced .orcid-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: #a6ce39;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.editorial-board-enhanced .orcid-link:hover {
    opacity: 0.8;
}

.editorial-board-enhanced .orcid-icon {
    width: 16px;
    height: 16px;
}
