/*
 * YellowMark Publishing House - Global CSS
 * Unified Design System - All Public Pages
 * Version: 2.0
 * Last Updated: 2025
 */

/* =====================================================
   1. CSS VARIABLES - DESIGN TOKENS
   ===================================================== */
:root {
    /* Brand Colors */
    --color-primary: #112d8d;
    --color-primary-hover: #0d2270;
    --color-primary-dark: #0e2470;
    --color-primary-light: #2a5cc7;
    --color-secondary: #f97316;
    --color-accent: #960505;
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-danger: #ef4444;
    --color-info: #3b82f6;
    --color-oa-green: #059669;
    
    /* Neutral Colors */
    --color-text-primary: #1a1a1a;
    --color-text: #1e293b;
    --color-text-secondary: #4b5563;
    --color-text-muted: #6b7280;
    --color-border: #e5e7eb;
    --color-border-dark: #d1d5db;
    --color-bg-light: #f8fafc;
    --color-bg-white: #ffffff;
    --color-bg: #ffffff;
    --color-bg-muted: #f1f5f9;
    
    /* Typography */
    --font-primary: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;
    
    /* Spacing Scale - Professional 8pt Grid System */
    --space-xs: 0.25rem;      /* 4px */
    --space-sm: 0.5rem;       /* 8px */
    --space-md: 0.75rem;      /* 12px */
    --space-base: 1rem;       /* 16px */
    --space-lg: 1.5rem;       /* 24px */
    --space-xl: 2rem;         /* 32px */
    --space-2xl: 2.5rem;      /* 40px */
    --space-3xl: 3rem;        /* 48px */
    --space-4xl: 4rem;        /* 64px */
    --space-5xl: 5rem;        /* 80px */
    
    /* Fluid Spacing - Responsive Scale */
    --space-section: clamp(3rem, 5vw, 5rem);
    --space-stack-sm: clamp(1rem, 2vw, 1.5rem);
    --space-stack-md: clamp(1.5rem, 3vw, 2.5rem);
    --space-stack-lg: clamp(2rem, 4vw, 3.5rem);
    
    /* Legacy Spacing (Backward Compatibility) */
    --spacing-xs: var(--space-xs);
    --spacing-sm: var(--space-sm);
    --spacing-md: var(--space-base);
    --spacing-lg: var(--space-lg);
    --spacing-xl: var(--space-xl);
    --spacing-2xl: var(--space-2xl);
    --spacing-3xl: var(--space-3xl);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    /* Legacy Border Radius (YM System) */
    --ym-radius: 12px;
    --ym-radius-sm: 8px;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-slow: 300ms ease;
    --ym-transition: all 0.25s ease;
    
    /* Legacy Color Aliases */
    --ym-primary: #112d8d;
    --ym-primary-dark: #0e2470;
    --ym-primary-light: #2a5cc7;
    --ym-accent: #960505;
    --ym-secondary: #960505;
    --ym-oa-green: #059669;
    --ym-bg: #ffffff;
    --ym-bg-light: #f8fafc;
    --ym-bg-muted: #f1f5f9;
    --ym-text: #1e293b;
    --ym-text-secondary: #64748b;
    --ym-border: #e2e8f0;
}

/* =====================================================
   2. GLOBAL HEADING STYLES (MANDATORY)
   ===================================================== */
.main-heading,
h1.main-heading,
h2.main-heading,
h3.main-heading,
h4.main-heading {
    font-size: 1.8rem !important;
    font-weight: 800 !important;
    color: var(--color-text-primary);
    line-height: 1.2;
    margin-bottom: var(--space-lg);
}

/* Standard Heading Hierarchy */
h1 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text-primary);
    margin-bottom: var(--space-lg);
}

h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-text-primary);
    margin-bottom: var(--space-base);
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 600;
    line-height: 1.4;
    color: var(--color-text-primary);
    margin-bottom: var(--space-base);
}

h4 {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    font-weight: 600;
    line-height: 1.4;
    color: var(--color-text-primary);
    margin-bottom: var(--space-md);
}

h5 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--color-text-primary);
    margin-bottom: var(--space-md);
}

/* Typography Utilities */
p {
    /* max-width: 75ch; */
    line-height: 1.7;
}

.lead {
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.7;
    /* max-width: 65ch; */
}

/* =====================================================
   2A. MODERN LAYOUT UTILITIES
   ===================================================== */
/* Container System */
.container {
    width: 100%;
    max-width: 1350px;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(1rem, 3vw, 1.5rem);
    padding-right: clamp(1rem, 3vw, 1.5rem);
}

.container--narrow {
    max-width: 900px;
}

.container--wide {
    max-width: 1600px;
}

/* Section Wrapper */
.section {
    padding-top: var(--space-section);
    padding-bottom: var(--space-section);
}

.section--sm {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-2xl);
}

.section--lg {
    padding-top: var(--space-5xl);
    padding-bottom: var(--space-5xl);
}

/* Flow - Vertical Rhythm */
.flow > * + * {
    margin-top: var(--flow-space, var(--space-base));
}

.flow--sm > * + * {
    margin-top: var(--space-md);
}

.flow--lg > * + * {
    margin-top: var(--space-lg);
}

/* Stack - Vertical Layout */
.stack {
    display: flex;
    flex-direction: column;
    gap: var(--stack-gap, var(--space-base));
}

.stack--sm {
    gap: var(--space-md);
}

.stack--lg {
    gap: var(--space-lg);
}

.stack--xl {
    gap: var(--space-xl);
}

/* Cluster - Horizontal Layout */
.cluster {
    display: flex;
    flex-wrap: wrap;
    gap: var(--cluster-gap, var(--space-base));
    align-items: var(--cluster-align, center);
}

.cluster--sm {
    gap: var(--space-sm);
}

.cluster--lg {
    gap: var(--space-lg);
}

/* Grid System */
.grid {
    display: grid;
    gap: var(--grid-gap, var(--space-base));
}

.grid--2 {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}

.grid--3 {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.grid--4 {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

/* Flex Utilities */
.flex {
    display: flex;
    gap: var(--flex-gap, var(--space-base));
}

.flex--center {
    align-items: center;
    justify-content: center;
}

.flex--between {
    justify-content: space-between;
    align-items: center;
}

.flex--wrap {
    flex-wrap: wrap;
}

/* Prevent overflow on flex children */
.flex > * {
    min-width: 0;
}

/* ===================================================== */
.page-hero-banner {
    background: linear-gradient(135deg, #0b1d5e 0%, #112d8d 100%);
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
    position: relative;
}

.page-hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse 600px 300px at 20% 80%, rgba(255,255,255,0.04) 0%, transparent 70%);
}

.page-hero-banner .container {
    position: relative;
    z-index: 1;
}

.page-hero-banner h1 {
    font-size: 2.4rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.page-hero-banner__title {
    font-size: 2rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
}

.page-hero-banner__subtitle {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 10px 0 0 0;
}

/* =====================================================
   4. SECTION STYLES
   ===================================================== */
.ym-section {
    padding: var(--space-section) 0;
    background: var(--color-bg-white);
}

.ym-section--light {
    background: var(--color-bg-light);
}

.ym-section--personalized {
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
}

.ym-section__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-stack-md);
    gap: var(--space-base);
    flex-wrap: wrap;
}

.ym-section__header--center {
    flex-direction: column;
    text-align: center;
    align-items: center;
}

.ym-section__title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0;
}

.ym-section__subtitle {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--color-text-secondary);
    max-width: 65ch;
    margin-top: var(--space-sm);
    line-height: 1.6;
}

.ym-section__link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-base);
    white-space: nowrap;
}

.ym-section__link:hover {
    color: var(--color-primary-hover);
}

/* Section Titles (Legacy Support) */
.section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    color: #333;
    margin-bottom: var(--space-base);
}

.section-subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: var(--space-xl);
}

/* =====================================================
   5. CONTACT PAGE STYLES
   ===================================================== */

/* Contact Hero (light background, dark text) */
.contact-hero {
    background: #f8f9fa;
    border-bottom: 1px solid var(--color-border);
    padding: 3.5rem 0;
}

.contact-hero__inner {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.contact-hero__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 0.75rem 0;
    line-height: 1.2;
}

.contact-hero__subtitle {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    padding: var(--space-section) 0;
    background: #f8fafc;
}

/* Communication Channels 2×2 Grid */
.contact-channels-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-channel-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-top: 3px solid var(--ym-primary, #112d8d);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-channel-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.contact-channel-card__title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.contact-channel-card__desc {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.contact-channel-card__link {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    padding: 0.5rem 1.25rem;
    border: 1px solid var(--color-primary);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.contact-channel-card__link:hover {
    background: var(--color-primary);
    color: #ffffff;
}

.contact-channel-card__link--whatsapp {
    color: #25d366;
    border-color: #25d366;
}

.contact-channel-card__link--whatsapp:hover {
    background: #25d366;
    color: #ffffff;
}

.contact-channel-card__link--linkedin {
    color: #0a66c2;
    border-color: #0a66c2;
}

.contact-channel-card__link--linkedin:hover {
    background: #0a66c2;
    color: #ffffff;
}

.contact-channel-card__badge {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #059669;
    background: rgba(5, 150, 105, 0.08);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-sm);
}

.contact-channel-card__badge i {
    margin-right: 0.25rem;
}

@media (max-width: 600px) {
    .contact-channels-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Journal Card (removed - journals section deleted) */
.contact-journal-card {
    background: #f0f7ff;
    border: 1px solid #d4e7ff;
    transition: all 0.3s ease;
    display: block;
}

.contact-journal-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.contact-section:nth-child(even) {
    background: white;
}

/* ─── NEW Contact Page — Two Column Layout ─── */
.ym-contact-page {
    padding: 48px 0 80px;
    background: #f8fafc;
}

.ym-contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

@media (max-width: 991px) {
    .ym-contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.ym-contact-info__title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px 0;
}

.ym-contact-info__subtitle {
    font-size: 1.0625rem;
    color: #6b7280;
    margin: 0 0 32px 0;
    line-height: 1.6;
}

.ym-contact-channels {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.ym-contact-channel {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.ym-contact-channel__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(17, 45, 141, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-primary, #112d8d);
}

.ym-contact-channel h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 4px 0;
}

.ym-contact-channel p {
    font-size: 0.8125rem;
    color: #6b7280;
    margin: 0 0 4px 0;
    line-height: 1.5;
}

.ym-contact-channel a {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-primary, #112d8d);
    text-decoration: none;
}

.ym-contact-channel a:hover {
    text-decoration: underline;
}

.ym-contact-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #059669;
    background: rgba(5, 150, 105, 0.08);
    padding: 3px 10px;
    border-radius: 4px;
}

.ym-contact-offices__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 16px 0;
}

.ym-contact-offices__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 600px) {
    .ym-contact-offices__grid {
        grid-template-columns: 1fr;
    }
}

.ym-contact-office {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
}

.ym-contact-office h5 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 8px 0;
}

.ym-contact-office p {
    font-size: 0.8125rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

.ym-contact-departments {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 32px;
}

.ym-contact-departments__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 6px 0;
}

.ym-contact-departments__subtitle {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0 0 24px 0;
}

.ym-dept-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ym-dept-item {
    padding: 14px 0;
    border-bottom: 1px solid #f3f4f6;
}

.ym-dept-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.ym-dept-item h5 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 2px 0;
}

.ym-dept-item p {
    font-size: 0.75rem;
    color: #9ca3af;
    margin: 0 0 4px 0;
}

.ym-dept-item a {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-primary, #112d8d);
    text-decoration: none;
}

.ym-dept-item a:hover {
    text-decoration: underline;
}

/* Office Cards */
.office-card {
    background: white;
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    height: 100%;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    display: flex;
    flex-direction: column;
}

.office-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.office-card h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--color-text-primary);
}

.office-card p {
    font-size: 0.9rem;
    margin-bottom: var(--space-sm);
    color: #555;
    max-width: none;
}

/* Department Table */
.department-table {
    width: 100%;
    border-collapse: collapse;
    overflow-x: auto;
    display: block;
}

.department-table th {
    background: #f1f3f5;
    font-weight: 600;
    padding: var(--space-md);
    text-align: left;
    border-bottom: 2px solid var(--color-border);
}

.department-table td {
    padding: var(--space-md);
    vertical-align: top;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--color-border);
}

/* Make table responsive */
@media (max-width: 768px) {
    .department-table {
        font-size: 0.875rem;
    }
    
    .department-table th,
    .department-table td {
        padding: var(--space-sm);
    }
}

/* Journal Cards (Contact Page) */
.journal-card {
    background: white;
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    text-align: center;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.journal-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.journal-card h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: var(--space-sm);
}

/* =====================================================
   6. HOME PAGE - HERO SECTION
   ===================================================== */
.ym-hero {
    background: linear-gradient(135deg, #0e2470 0%, #112d8d 40%, #2a5cc7 100%);
    padding: clamp(3.5rem, 10vw, 6rem) 0 clamp(3rem, 8vw, 5rem);
    position: relative;
    overflow: hidden;
}

.ym-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.ym-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.ym-hero__inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: clamp(2.5rem, 6vw, 4rem);
    align-items: center;
}

.ym-hero__content {
    position: relative;
    z-index: 2;
}

.ym-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: rgba(255,255,255,0.12);
    color: #fff;
    padding: 0.375rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem !important;
    font-weight: 500;
    margin-bottom: var(--space-lg);
    backdrop-filter: blur(10px);
}

.ym-hero__title {
    font-size: clamp(2rem, 5vw, 3rem) !important;
    font-weight: 800 !important;
    color: #fff;
    line-height: 1.15 !important;
    margin-bottom: var(--space-lg);
}

.ym-hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.1rem) !important;
    color: rgba(255,255,255,0.85);
    line-height: 1.7 !important;
    margin-bottom: var(--space-xl);
    max-width: 32em;
}

.ym-hero__actions {
    display: flex;
    gap: var(--space-base);
    flex-wrap: wrap;
}

.ym-hero__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-base);
}

.ym-stat-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    transition: var(--transition-base);
}

.ym-stat-card:hover {
    background: rgba(255,255,255,0.18);
    transform: translateY(-3px);
}

.ym-stat-card__value {
    font-size: clamp(1.5rem, 3vw, 1.8rem) !important;
    font-weight: 800 !important;
    color: #fff;
    line-height: 1.2;
}

.ym-stat-card__label {
    font-size: 0.8rem !important;
    color: rgba(255,255,255,0.7);
    margin-top: var(--space-xs);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-section {
    background: linear-gradient(135deg, #112d8d 0%, #1e3a8a 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: var(--spacing-lg);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-2xl);
    max-width: 600px;
}

.hero-search {
    max-width: 700px;
    margin: 0 auto;
}

.hero-search-wrapper {
    position: relative;
    display: flex;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.hero-search-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    font-size: 1rem;
    outline: none;
}

.hero-search-btn {
    padding: 1rem 2rem;
    background: var(--color-secondary);
    color: white;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition-base);
}

.hero-search-btn:hover {
    background: #ea580c;
}

/* =====================================================
   7. HOME PAGE - STATISTICS
   ===================================================== */
.stats-section {
    background: var(--color-bg-white);
    padding: var(--space-xl) 0;
    border-bottom: 1px solid var(--color-border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
    gap: var(--space-xl);
}

.stat-item {
    text-align: center;
    padding: var(--space-base);
}

.stat-number {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
    display: block;
    line-height: 1.1;
}

.stat-label {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    color: var(--color-text-secondary);
    font-weight: 500;
}

/* =====================================================
   8. HOME PAGE - WHY PUBLISH SECTION
   ===================================================== */
.ym-why-publish {
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
}

.ym-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: var(--space-xl);
}

.ym-feature-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: left;
    border: 1px solid var(--color-border, #e2e8f0);
    border-left: 4px solid var(--ym-secondary, #960505);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    display: flex;
    flex-direction: column;
}

.ym-feature-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--ym-primary, #112d8d);
}

.ym-feature-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: var(--space-sm);
}

.ym-feature-card__text {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.65;
    margin: 0;
}

/* =====================================================
   9. ARTICLE CARDS (HOME PAGE)
   ===================================================== */
.ym-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
    gap: var(--space-xl);
}

.ym-article-card {
    background: white;
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    position: relative;
    overflow: hidden;
}

.ym-article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.ym-article-card--compact {
    padding: var(--space-base);
}

.ym-article-card__body {
    position: relative;
}

.ym-article-card__top {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.ym-article-card__type {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    text-transform: capitalize;
}

.ym-article-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: var(--space-md);
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.ym-article-card__title a {
    color: var(--color-text-primary);
    text-decoration: none;
    transition: color var(--transition-base);
}

.ym-article-card__title a:hover {
    color: var(--color-primary);
}

.ym-article-card__authors {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-md);
    overflow-wrap: break-word;
}

.ym-article-card__authors a {
    color: inherit;
    transition: color 0.2s ease;
}

.ym-article-card__authors a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

.ym-article-card__meta {
    display: flex;
    gap: var(--space-base);
    font-size: 0.875rem;
    color: var(--color-text-muted);
    flex-wrap: wrap;
}

.ym-article-card__meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* =====================================================
   10. PUBLICATION CARDS (HOME PAGE)
   ===================================================== */
.ym-publications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: var(--space-lg);
}

.ym-pub-card {
    background: white;
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    position: relative;
    overflow: hidden;
}

.ym-pub-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.ym-pub-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
    gap: var(--space-sm);
}

.ym-pub-card__date {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    white-space: nowrap;
}

.ym-pub-card__title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: var(--space-md);
    overflow-wrap: break-word;
}

.ym-pub-card__title a {
    color: var(--color-text-primary);
    text-decoration: none;
    transition: color var(--transition-base);
}

.ym-pub-card__title a:hover {
    color: var(--color-primary);
}

.ym-pub-card__authors,
.ym-pub-card__doi {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-sm);
    overflow-wrap: break-word;
}

.ym-pub-card__authors a {
    color: inherit;
    transition: color 0.2s ease;
}

.ym-pub-card__authors a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

.ym-pub-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--space-base);
    padding-top: var(--space-base);
    border-top: 1px solid var(--color-border);
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.ym-pub-card__metrics {
    display: flex;
    gap: var(--space-base);
    font-size: 0.875rem;
    color: var(--color-text-muted);
    flex-wrap: wrap;
}

.ym-pub-card__read {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-base);
}

.ym-pub-card__read:hover {
    color: var(--color-primary-hover);
}

/* =====================================================
   11. JOURNAL CARDS (HOME PAGE)
   ===================================================== */
.ym-journals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: var(--space-xl);
     align-items: start;
}

.ym-journal-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    display: flex;
    flex-direction: column;
}

.ym-journal-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.ym-journal-card__cover {
    width: 100%;
    padding: 0;
    margin: 0;
}

.ym-journal-card__cover img {
    width: 100%;
    height: auto;
    display: block;
}

.ym-journal-card__cover-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-weight: 600;
    gap: var(--spacing-sm);
}

.ym-journal-card__body {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.ym-journal-card__category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-md);
}

.ym-journal-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    overflow-wrap: break-word;
}

.ym-journal-card__title a {
    color: var(--color-text-primary);
    text-decoration: none;
    transition: color var(--transition-base);
}

.ym-journal-card__title a:hover {
    color: var(--color-primary);
}

.ym-journal-card__desc {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-base);
    overflow-wrap: break-word;
    flex-grow: 1;
}

.ym-journal-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-base);
    border-top: 1px solid var(--color-border);
    gap: var(--space-sm);
    margin-top: auto;
}

.ym-journal-card__stats {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* =====================================================
   12. PERSONALIZED SECTION (HOME PAGE)
   ===================================================== */
.ym-personal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
    gap: var(--space-xl);
}

.ym-personal-col__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: var(--space-base);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.ym-personal-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-base);
}

.ym-personal-item {
    background: white;
    padding: var(--space-base);
    border-radius: var(--radius-md);
    text-decoration: none;
    border: 1px solid var(--color-border);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    overflow: hidden;
}

.ym-personal-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.ym-personal-item h5 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: var(--space-sm);
    overflow-wrap: break-word;
}

.ym-personal-item__meta {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    display: flex;
    gap: var(--space-base);
    flex-wrap: wrap;
}

/* =====================================================
   13. BADGES
   ===================================================== */
.ym-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.55rem;
    font-weight: 600;
    line-height: 1;
}

.ym-badge--journal-sm {
    background: var(--color-primary);
    color: white;
}

.ym-badge--oa {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    background: var(--color-success);
    color: white;
    font-size: 0.75rem;
    padding: 4px 10px;
}

.ym-badge--accent {
    background: var(--color-secondary);
    color: white;
}

.ym-badge--journal {
    background: rgba(255,255,255,0.2);
    color: #fff;
    backdrop-filter: blur(6px);
}

/* =====================================================
   14. PROFESSIONAL BUTTON SYSTEM
   ===================================================== */
.btn,
.ym-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    gap: var(--space-sm);
    user-select: none;
}

/* Primary Button */
.btn-primary,
.ym-btn--primary {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

.btn-primary:hover,
.ym-btn--primary:hover {
    background: var(--color-primary-hover);
    border-color: var(--color-primary-hover);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(17, 45, 141, 0.25);
}

.btn-primary:focus-visible,
.ym-btn--primary:focus-visible {
    outline: 3px solid rgba(17, 45, 141, 0.3);
    outline-offset: 2px;
}

/* Secondary Button */
.btn-secondary,
.ym-btn--secondary {
    background: var(--color-secondary);
    color: white;
    border-color: var(--color-secondary);
}

.btn-secondary:hover,
.ym-btn--secondary:hover {
    background: #ea580c;
    border-color: #ea580c;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.25);
}

.btn-secondary:focus-visible,
.ym-btn--secondary:focus-visible {
    outline: 3px solid rgba(249, 115, 22, 0.3);
    outline-offset: 2px;
}

/* Success Button */
.btn-success,
.ym-btn--success {
    background: var(--color-success);
    color: white;
    border-color: var(--color-success);
}

.btn-success:hover,
.ym-btn--success:hover {
    background: #059669;
    border-color: #059669;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.btn-success:focus-visible,
.ym-btn--success:focus-visible {
    outline: 3px solid rgba(16, 185, 129, 0.3);
    outline-offset: 2px;
}

/* Outline Variants */
.btn-outline-primary,
.ym-btn--outline-primary {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-outline-primary:hover,
.ym-btn--outline-primary:hover {
    background: var(--color-primary);
    color: white;
}

.btn-outline-secondary {
    background: transparent;
    color: var(--color-secondary);
    border-color: var(--color-secondary);
}

.btn-outline-secondary:hover {
    background: var(--color-secondary);
    color: white;
}

.ym-btn--outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.5);
}

.ym-btn--outline:hover {
    background: rgba(255,255,255,0.12);
    border-color: #fff;
    color: #fff;
}

/* Button Sizes */
.btn-sm,
.ym-btn--sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg,
.ym-btn--lg {
    padding: 0.875rem 1.75rem;
    font-size: 1.125rem;
}

/* Disabled State */
.btn:disabled,
.ym-btn:disabled,
.btn.disabled,
.ym-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Focus States (Accessibility) */
.btn:focus-visible,
.ym-btn:focus-visible {
    outline: 3px solid rgba(17, 45, 141, 0.3);
    outline-offset: 2px;
}

/* =====================================================
   14A. UNIFIED CARD SYSTEM
   ===================================================== */
/* Base Card */
.card {
    background: white;
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.card--interactive {
    cursor: pointer;
}

.card--elevated {
    box-shadow: var(--shadow-md);
}

.card--elevated:hover {
    box-shadow: var(--shadow-lg);
}

/* Card Header */
.card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-base);
    gap: var(--space-sm);
}

/* Card Title */
.card__title {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    color: var(--color-text-primary);
}

.card__title a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-base);
}

.card__title a:hover {
    color: var(--color-primary);
}

/* Card Body */
.card__body {
    margin-bottom: var(--space-base);
}

.card__description {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0;
    overflow-wrap: break-word;
}

/* Card Footer */
.card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-base);
    border-top: 1px solid var(--color-border);
    gap: var(--space-sm);
    flex-wrap: wrap;
}

/* Card Meta */
.card__meta {
    display: flex;
    gap: var(--space-base);
    font-size: 0.875rem;
    color: var(--color-text-muted);
    flex-wrap: wrap;
}

.card__meta-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Prevent text overflow */
.card * {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* ===================================================== */
.ym-featured-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--spacing-xl);
}

.ym-featured-card--large {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.ym-featured-card__image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.ym-featured-card__image--gradient {
    background: linear-gradient(135deg, #0e2470, #2a5cc7, #06b6d4);
}

.ym-featured-card__overlay {
    position: relative;
    z-index: 2;
    padding: 30px;
    background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
    color: #fff;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.ym-featured-card__badges {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}

.ym-featured-card__title {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    margin-bottom: 10px;
}

.ym-featured-card__title a {
    color: #fff !important;
    text-decoration: none !important;
}

.ym-featured-card__title a:hover {
    text-decoration: underline !important;
}

.ym-featured-card__authors {
    font-size: 0.88rem !important;
    color: rgba(255,255,255,0.8);
    margin-bottom: 12px;
}

.ym-featured-card__authors a {
    color: inherit;
    transition: color 0.2s ease;
}

.ym-featured-card__authors a:hover {
    color: rgba(255,255,255,1);
    text-decoration: underline;
}

.ym-featured-card__meta {
    display: flex;
    gap: 18px;
    font-size: 0.8rem !important;
    color: rgba(255,255,255,0.65);
}

.ym-featured-card__meta i {
    margin-right: 4px;
}

/* Trending Stack */
.ym-trending-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ── Home Page Responsive ── */
@media (max-width: 991px) {
    .ym-hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .ym-hero__subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .ym-hero__actions {
        justify-content: center;
    }

    .ym-hero__stats {
        max-width: 400px;
        margin: 0 auto;
    }

    .ym-featured-grid {
        grid-template-columns: 1fr;
    }

    .ym-featured-card--large {
        min-height: 320px;
    }
}

@media (max-width: 575px) {
    .ym-hero__stats {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-sm);
    }

    .ym-stat-card {
        padding: var(--space-base);
    }

    .ym-stat-card__value {
        font-size: 1.3rem !important;
    }

    .ym-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .ym-journals-grid {
        grid-template-columns: 1fr;
    }

    .ym-publications-grid {
        grid-template-columns: 1fr;
    }

    .ym-features-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   17. BUTTON OUTLINE VARIANT
   ===================================================== */
.ym-btn--outline {
    background: transparent;
    color: #fff !important;
    border: 2px solid rgba(255,255,255,0.5);
}

.ym-btn--outline:hover {
    background: rgba(255,255,255,0.12);
    border-color: #fff;
    color: #fff !important;
}

/* =====================================================
   18. NAVBAR STYLES
   ===================================================== */
/* Desktop Navbar Alignment */
@media (min-width: 992px) {
    #mainNavbar {
        align-items: center;
    }
    
    #mainNavbar .navbar-nav {
        align-items: center;
    }
    
    #mainNavbar .nav-item {
        display: flex;
        align-items: center;
    }
}

/* Mobile Navbar Left Alignment */
@media (max-width: 991px) {
    /* Logo padding in mobile */
    .navbar-brand {
        padding-top: 10px !important;
    }
    
    #mainNavbar {
        align-items: flex-start;
    }
    
    #mainNavbar .navbar-nav {
        align-items: flex-start;
        text-align: left;
    }
    
    #mainNavbar .nav-item {
        justify-content: flex-start;
        align-items: flex-start;
    }
    
    #mainNavbar .nav-link {
        justify-content: flex-start;
        text-align: left;
        padding-left: 0 !important;
    }
    
    #mainNavbar .navbar-submit-btn {
        margin-left: 0;
        margin-right: auto;
    }
    
    /* Light ash background for toggle button */
    .navbar-toggler {
        background-color: #f3f4f6;
        border: 1px solid #e5e7eb;
    }
}

/* =====================================================
   15. RESPONSIVE DESIGN
   ===================================================== */
.ym-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    gap: var(--spacing-sm);
}

.ym-btn--primary {
    background: var(--color-primary);
    color: white;
}

.ym-btn--primary:hover {
    background: var(--color-primary-hover);
}

.ym-btn--sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.ym-btn--lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* =====================================================
   15. RESPONSIVE DESIGN
   ===================================================== */
@media (max-width: 991px) {
    .ym-hero__inner {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .ym-featured-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        font-size: 15px;
    }
    
    .hero-title {
        font-size: clamp(1.75rem, 5vw, 2rem);
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .ym-section {
        padding: var(--space-2xl) 0;
    }
    
    .ym-section__header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-base);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-base);
    }
    
    .ym-hero__stats {
        gap: var(--space-sm);
    }
    
    .ym-stat-card {
        padding: var(--space-base);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .ym-section__title {
        font-size: 1.5rem;
    }
    
    .ym-hero__actions {
        flex-direction: column;
        width: 100%;
    }
    
    .ym-hero__actions .btn,
    .ym-hero__actions .ym-btn {
        width: 100%;
    }
}

/* Prevent horizontal scroll */
body {
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =====================================================
   ACCESSIBILITY IMPROVEMENTS
   ===================================================== */
/* Focus Visible States */
*:focus-visible {
    outline: 3px solid rgba(17, 45, 141, 0.4);
    outline-offset: 2px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(17, 45, 141, 0.4);
    outline-offset: 2px;
}

/* Remove default focus for mouse users */
*:focus:not(:focus-visible) {
    outline: none;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Skip to main content link */
.skip-to-main {
    position: absolute;
    left: -9999px;
    z-index: 999;
    padding: 1rem 1.5rem;
    background: var(--color-primary);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-md);
}

.skip-to-main:focus {
    left: 50%;
    top: 1rem;
    transform: translateX(-50%);
}

/* Ensure sufficient contrast */
.text-muted,
.ym-text-muted,
.card__meta {
    color: #64748b;
}

/* ===================================================== */

/* =====================================================
   19. FOOTER STYLES
   ===================================================== */
.ym-footer {
    font-family: 'Figtree', sans-serif;
    margin-top: 4rem;
}

/* Main section */
.ym-footer__main {
    background: #112d8d;
    padding: 3.5rem 0 2.5rem;
    border-top: 2px solid #960505;
}

.ym-footer__main .container {
    max-width: 1350px;
}

/* Brand column */
.ym-footer__brand { max-width: 340px; }

.ym-footer__logo {
    height: 28px;
    width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 1rem;
}

.ym-footer__tagline {
    color: #f0c040;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.75rem;
}

.ym-footer__desc {
    color: rgba(255,255,255,0.7);
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

/* Social icons */
.ym-footer__social {
    display: flex;
    gap: 0.625rem;
}

.ym-footer__social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

.ym-footer__social a:hover {
    background: #960505;
    border-color: #960505;
    color: #fff;
    transform: translateY(-2px);
}

/* Column headings */
.ym-footer__heading {
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: none;
    cursor: default;
    /* display: flex; */
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.ym-footer__heading > i:first-child {
    margin-right: 0.25rem;
}

.ym-footer__links a > i {
    width: 1.125rem;
    text-align: center;
    margin-right: 0.375rem;
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Link lists */
.ym-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ym-footer__links li {
    margin-bottom: 0.5rem;
}

.ym-footer__links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
    position: relative;
    padding-left: 0;
}

.ym-footer__links a:hover {
    color: #fff;
    padding-left: 6px;
}

.ym-footer__links a::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: #960505;
    transition: width 0.2s ease;
}

.ym-footer__links a:hover::before {
    width: 6px;
    left: -4px;
}

/* Mobile accordion */
.ym-footer__chevron {
    display: none;
    font-size: 0.7rem;
    transition: transform 0.3s ease;
    color: rgba(255,255,255,0.5);
}

.ym-footer__chevron.rotated {
    transform: rotate(180deg);
}

/* Bottom bar */
.ym-footer__bottom {
    background: #0a1e5e;
    padding: 1rem 0;
}

.ym-footer__bottom .container {
    max-width: 1350px;
}

.ym-footer__bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ym-footer__copy,
.ym-footer__powered {
    margin: 0;
    color: rgba(255,255,255,0.5);
    font-size: 0.8125rem;
}

.ym-footer__powered a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.ym-footer__powered a:hover {
    color: #f0c040;
}

/* Footer Responsive */
@media (max-width: 991px) {
    .ym-footer__brand { max-width: 100%; }
}

@media (max-width: 768px) {
    .ym-footer__main { padding: 2.5rem 0 1.5rem; }

    .ym-footer__heading {
        cursor: pointer;
        margin-bottom: 0;
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .ym-footer__chevron { display: inline-block; }

    .ym-footer__links { padding-top: 0.5rem; padding-bottom: 0.5rem; }

    .ym-footer__bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (min-width: 769px) {
    .ym-footer__links { display: block !important; }
}

/* =====================================================
   20. JOURNAL TABS BAR (SUB-NAVIGATION)
   ===================================================== */
.ym-tabs-bar {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    border-top: 1px solid #e2e8f0;
    position: sticky;
    top: 60px;
    z-index: 120;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    margin: 0;
    padding: 0;
}

.ym-tabs-bar .container {
    max-width: 1350px;
    margin: 0 auto;
    padding: 0;
}

.ym-tabs-bar__inner {
    display: flex;
    gap: 0;
    align-items: center;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.ym-tabs-bar__inner::-webkit-scrollbar { display: none; }

.ym-tabs-bar__journal-name {
    font-family: 'Figtree', sans-serif;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #112d8d;
    white-space: nowrap;
    padding: 14px 0;
    flex-shrink: 0;
}

.ym-tabs-bar__divider {
    width: 1px;
    height: 20px;
    background: #e2e8f0;
    margin: 0 16px;
    flex-shrink: 0;
}

.ym-tabs-bar__link {
    position: relative;
    padding: 14px 22px;
    font-family: 'Figtree', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748b;
    text-decoration: none !important;
    white-space: nowrap;
    transition: color 0.2s ease, background 0.2s ease;
    border-bottom: 3px solid transparent;
    flex-shrink: 0;
}

.ym-tabs-bar__link:hover {
    color: #112d8d;
    background: #f8fafc;
}

.ym-tabs-bar__link--active {
    color: #112d8d;
    font-weight: 600;
    border-bottom-color: #960505;
}

/* Tabs Bar Responsive */
@media (max-width: 768px) {
    .ym-tabs-bar__link {
        padding: 12px 16px;
        font-size: 0.8125rem;
    }
    .ym-tabs-bar__journal-name,
    .ym-tabs-bar__divider {
        display: none;
    }
}

/* =====================================================
   21. JOURNALS INDEX PAGE
   ===================================================== */
/* ==========================================
   YM HEADER + PARTNERS (Publisher Style)
========================================== */

.ym-page-header {
    background: #f3f4f6;
    padding: 110px 0 80px;
    border-bottom: 1px solid #d1d5db;
}

/* Breadcrumb */
.ym-breadcrumb {
    font-size: 0.9rem;
    color: #6b7280;
    /* margin-bottom: 40px; */
}

.ym-breadcrumb a {
    color: #111827;
    font-weight: 500;
    text-decoration: none;
}

/* Main Layout */
.ym-header-layout {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    padding-bottom: 10px;
}

/* Left Content */
.ym-header-content {
    max-width: 600px;
}

.ym-page-header__title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 18px;
}

.ym-page-header__subtitle {
    font-size: 1.1rem;
    color: #374151;
    line-height: 1.6;
    margin-bottom: 28px;
}

.ym-page-header__count {
    display: inline-block;
    font-weight: 600;
    font-size: 0.95rem;
    padding-bottom: 6px;
    border-bottom: 2px solid #2563eb;
    color: #111827;
}

/* Right Partner Section */
.ym-header-partners {
    text-align: right;
    min-width: 320px;
}

.ym-partners-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #6b7280;
    margin-bottom: 20px;
}

.ym-partners-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: flex-end;
}

.ym-partners-logos img {
    max-height: 45px;
    opacity: 0.75;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.ym-partners-logos img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* Responsive */
@media (max-width: 992px) {
    .ym-header-layout {
        flex-direction: column;
        gap: 50px;
    }

    .ym-header-partners {
        text-align: left;
    }

    .ym-partners-logos {
        justify-content: flex-start;
    }
}

/* Filters Bar */
.ym-filters-bar {
    background: var(--ym-bg);
    border-bottom: 1px solid var(--ym-border);
    padding: var(--space-base) 0;
    position: sticky;
    top: 60px;
    z-index: 100;
}

.ym-filters-bar__inner {
    display: flex;
    gap: var(--space-base);
    align-items: center;
    flex-wrap: wrap;
}

.ym-filters-bar__search {
    flex: 1;
    min-width: min(100%, 250px);
    position: relative;
}

.ym-filters-bar__search i {
    position: absolute;
    left: var(--space-base);
    top: 50%;
    transform: translateY(-50%);
    color: var(--ym-text-secondary);
    pointer-events: none;
}

.ym-filters-bar__search input {
    width: 100%;
    padding: var(--space-md) var(--space-base) var(--space-md) 2.5rem;
    border: 1px solid var(--ym-border);
    border-radius: var(--ym-radius-sm);
    font-size: 0.9rem !important;
    outline: none;
    transition: var(--ym-transition);
}

.ym-filters-bar__search input:focus {
    border-color: var(--ym-primary-light);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}

.ym-filters-bar__selects {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.ym-select {
    padding: var(--space-md) var(--space-base);
    border: 1px solid var(--ym-border);
    border-radius: var(--ym-radius-sm);
    font-size: 0.88rem !important;
    color: var(--ym-text);
    background: var(--ym-bg);
    outline: none;
    min-width: 150px;
    cursor: pointer;
    transition: var(--ym-transition);
}

.ym-select:focus {
    border-color: var(--ym-primary-light);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}

/* Journal Card (Index Page) */
.ym-jl-card {
    display: flex;
    flex-direction: column;
    background: var(--ym-bg);
    border: 1px solid var(--ym-border);
    border-radius: var(--ym-radius);
    padding: 28px;
    transition: var(--ym-transition);
}

.ym-jl-card:hover {
    box-shadow: var(--ym-shadow-md);
    border-color: var(--ym-primary-light);
}

.ym-jl-card__badges {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.ym-badge--oa-inline {
    background: #ecfdf5;
    color: var(--ym-oa-green);
}

.ym-badge--oa-inline i {
    margin-right: 4px;
}

.ym-badge--category {
    background: #eef2ff;
    color: var(--ym-primary);
}

.ym-jl-card__title {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    margin-bottom: 8px;
}

.ym-jl-card__title a {
    color: var(--ym-text) !important;
    text-decoration: none !important;
}

.ym-jl-card__title a:hover {
    color: var(--ym-primary) !important;
}

.ym-jl-card__desc {
    font-size: 0.9rem !important;
    color: var(--ym-text-secondary);
    line-height: 1.6 !important;
    margin-bottom: var(--space-base);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: break-word;
}

.ym-jl-card__meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
}

.ym-jl-card__issn {
    font-size: 0.8rem !important;
    color: var(--ym-text-secondary);
}

.ym-jl-card__issn i {
    width: 16px;
    color: var(--ym-primary);
    margin-right: 4px;
    font-size: 0.75rem;
}

.ym-jl-card__stats {
    display: flex;
    gap: 16px;
    font-size: 0.82rem !important;
    color: var(--ym-text-secondary);
    margin-bottom: 18px;
    padding-top: 12px;
    border-top: 1px solid var(--ym-border);
}

.ym-jl-card__stats i {
    color: var(--ym-primary);
    margin-right: 4px;
}

.ym-jl-card__actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
    flex-wrap: wrap;
}

/* Empty State */
.ym-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--ym-text-secondary);
}

.ym-empty-state i {
    margin-bottom: 16px;
    opacity: 0.4;
}

.ym-empty-state h3 {
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    color: var(--ym-text);
    margin-bottom: 6px;
}

.ym-empty-state p {
    font-size: 0.9rem !important;
}

/* Pagination */
.ym-pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

/* Journals Index Responsive */
@media (max-width: 991px) {
    .ym-journals-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .ym-page-header__inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .ym-page-header__title {
        font-size: 1.8rem !important;
    }
    
    .ym-filters-bar__inner {
        flex-direction: column;
    }
    
    .ym-filters-bar__selects {
        width: 100%;
    }
    
    .ym-select {
        flex: 1;
    }
    
    .ym-journals-grid {
        grid-template-columns: 1fr;
    }
    
    .ym-jl-card__actions {
        flex-direction: column;
    }
}


/* =====================================================
   22. ARTICLE SHOW PAGE
   Full-text article reading view
   ===================================================== */

/* Book Container */
.book-container {
     max-width: 1400px;
    margin: 0 auto;
}

.book-content {
    background: var(--color-bg-white);
}

/* Article Header */
.article-header {
    border-bottom: 2px solid var(--color-border);
    padding-bottom: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.article-header-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: var(--space-lg);
}

.article-header-image img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    display: block;
}

.article-title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.3;
    margin-bottom: var(--space-md);
}

.article-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 400;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-lg);
}

.article-meta {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-lg);
}

.article-meta p {
    margin-bottom: 0.35rem;
}

/* Article Section Blocks */
.article-section {
    margin-bottom: var(--space-2xl);
}

.article-section .section-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-base);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--color-border);
}

/* Content Text */
.content-text,
.abstract-content {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--color-text-secondary);
}

.content-text p,
.abstract-content p {
    margin-bottom: var(--space-base);
}

.first-paragraph::first-letter {
    font-size: 3.2em;
    float: left;
    line-height: 0.85;
    margin-right: 0.1em;
    font-weight: 700;
    color: var(--color-primary);
}

/* Article Body — rich-text content from TinyMCE */
.article-body h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-text);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
    padding-bottom: var(--space-xs);
    border-bottom: 2px solid var(--color-border);
}

.article-body h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text);
    margin-top: var(--space-base);
    margin-bottom: var(--space-sm);
}

.article-body h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    margin-top: var(--space-base);
    margin-bottom: var(--space-xs);
}

.article-body ul,
.article-body ol {
    margin-bottom: var(--space-base);
    padding-left: 1.5rem;
}

.article-body li {
    margin-bottom: var(--space-xs);
    line-height: 1.75;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    margin: var(--space-base) 0;
}

.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-base) 0;
    font-size: 0.95rem;
}

.article-body table th,
.article-body table td {
    border: 1px solid var(--color-border);
    padding: var(--space-xs) var(--space-sm);
    text-align: left;
}

.article-body table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.article-body blockquote {
    border-left: 4px solid var(--color-primary);
    padding: var(--space-sm) var(--space-base);
    margin: var(--space-base) 0;
    background-color: #f8f9fa;
    font-style: italic;
    color: var(--color-text-secondary);
}

.article-body pre {
    background-color: #f4f4f4;
    padding: var(--space-base);
    border-radius: var(--radius-sm);
    overflow-x: auto;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Keywords */
.keywords {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

/* Author/Editor/Reviewer Cards (Article page) */
.author-card,
.editor-card,
.reviewer-card {
    transition: box-shadow var(--transition-base);
}

.hover-shadow:hover {
    box-shadow: var(--shadow-md);
}

.author-details,
.editor-details,
.reviewer-details {
    min-width: 0;
}

.author-profile-img,
.editor-profile-img,
.reviewer-profile-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.author-profile-placeholder,
.editor-profile-placeholder,
.reviewer-profile-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-primary);
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* References */
.references-heading {
    display: flex;
    align-items: center;
}

.references-content {
    font-size: 0.95rem;
    line-height: 1.7;
}

.references-list {
    padding-left: 1.5rem;
    counter-reset: ref-counter;
}

.reference-item {
    margin-bottom: var(--space-sm);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--color-bg-muted);
}

.reference-item:last-child {
    border-bottom: none;
}

.reference-text {
    color: var(--color-text-secondary);
    word-break: break-word;
}

/* TOC */
.toc-container {
    border: 1px solid var(--color-border);
}

.toc-list {
    margin: 0;
    padding: 0;
}

.toc-list li {
    margin-bottom: var(--space-sm);
}

.toc-list li a {
    color: var(--color-primary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

.toc-list li a:hover {
    color: var(--color-primary-hover);
    text-decoration: underline;
}

/* Figure & Table Containers */
.figure-container {
    background: var(--color-bg-light);
}

.figure-image {
    text-align: center;
}

.figure-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
}

.figure-caption {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    font-style: italic;
}

.table-container {
    overflow-x: auto;
    margin-bottom: var(--space-lg);
}

.table-caption {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text);
}

/* Download & Citation Links */
.download-links-section,
.citation-links-section {
    margin-bottom: var(--space-lg);
}

.link-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.download-link-item,
.citation-link-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.65rem var(--space-base);
    color: var(--color-text);
    text-decoration: none;
    border-bottom: 1px solid var(--color-bg-muted);
    transition: background var(--transition-fast), color var(--transition-fast);
    font-size: 0.9rem;
    font-weight: 500;
}

.download-link-item:hover,
.citation-link-item:hover {
    background: var(--color-bg-light);
    color: var(--color-primary);
}

.download-link-item:last-child,
.citation-link-item:last-child {
    border-bottom: none;
}

/* Social Share */
.social-share-icons {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: transform var(--transition-base), opacity var(--transition-base);
}

.social-icon:hover {
    transform: translateY(-2px);
    opacity: 0.85;
    color: white;
}

.twitter-icon  { background: #1DA1F2; }
.linkedin-icon { background: #0077B5; }
.facebook-icon { background: #1877F2; }
.email-icon    { background: var(--color-text-muted); }

/* Sidebar (Article page) */
.sidebar {
    position: sticky;
    top: 100px;
}

/* Simple Header (Volume page) */
.simple-header {
    background: var(--color-bg-light);
    border-bottom: 1px solid var(--color-border);
}

.volume-hero-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-xs);
}

.volume-hero-description {
    font-size: 1rem;
    color: var(--color-text-secondary);
}

/* Issue Cards (Volume page) */
.issue-card {
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
    overflow: hidden;
}

.issue-header {
    padding: var(--space-lg);
    background: var(--color-bg-light);
    border-bottom: 1px solid var(--color-border);
    transition: background var(--transition-fast);
}

.issue-header:hover {
    background: var(--color-bg-muted);
}

.issue-title-text {
    font-weight: 600;
    color: var(--color-text);
}

.article-count-badge {
    font-size: 0.75rem;
    font-weight: 600;
}

.collapse-icon {
    transition: transform var(--transition-base);
    color: var(--color-text-muted);
}

.article-item {
    padding: var(--space-lg);
    border-bottom: 1px solid var(--color-bg-muted);
    transition: background var(--transition-fast);
}

.article-item:hover {
    background: var(--color-bg-light);
}

.article-item:last-child {
    border-bottom: none;
}

.author-separator {
    margin: 0 0.15rem;
}

@media (max-width: 991.98px) {
    .sidebar {
        position: static;
        margin-top: var(--space-xl);
    }
}


/* =====================================================
   23. JOURNAL SHOW PAGE (jh-* classes)
   Split hero, highlights, sections, article cards, editors
   ===================================================== */

/* Hero Split Layout */
.jh-hero-split {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    min-height: 380px;
    background: var(--color-primary);
}

.jh-hero-split__image {
    position: relative;
    overflow: hidden;
}

.jh-hero-split__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.jh-hero-split__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a3a7a 0%, #0d1f4d 100%);
}

.jh-hero-split__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-3xl) var(--space-2xl);
    background: linear-gradient(160deg, #0b1d5e 0%, #112d8d 100%);
    color: white;
}

.jh-hero-split__brand {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
}

.jh-hero-split__badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white;
}

.jh-hero-split__oa-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: var(--color-oa-green);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white;
}

.jh-hero-split__title {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-lg);
    color: white;
}

.jh-hero-split__meta {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
    font-size: 0.9rem;
    opacity: 0.9;
}

.jh-meta-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: rgba(255,255,255,0.85);
}

.jh-meta-item i {
    width: 16px;
    text-align: center;
    opacity: 0.7;
}

.jh-split-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.7rem 1.5rem;
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: var(--radius-md);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background var(--transition-base), border-color var(--transition-base);
    width: fit-content;
}

.jh-split-btn:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.5);
    color: white;
}

/* Journal Highlights */
.jh-highlights {
    background: var(--color-bg-light);
    padding: var(--space-3xl) 0;
}

.jh-highlights__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-lg);
}

.jh-hl-card {
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--ym-secondary, #960505);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: left;
    transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.jh-hl-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.jh-hl-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.jh-hl-card p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Journal Sections */
.jh-section {
    padding: var(--space-3xl) 0;
}

.jh-section--alt {
    background: var(--color-bg-light);
}

.jh-section__header {
    margin-bottom: var(--space-xl);
}

.jh-section__title {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.jh-section__accent {
    width: 50px;
    height: 3px;
    background: var(--color-primary);
    border-radius: 2px;
}

.jh-section__more {
    text-align: center;
    margin-top: var(--space-xl);
}

/* Article Cards (Journal Show) */
.jh-articles {
    display: flex;
    flex-direction: column;
    gap: var(--space-base);
}

.jh-art-card {
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.jh-art-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-sm);
}

.jh-art-card__type {
    margin-bottom: var(--space-sm);
}

.jh-art-card__title {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.45;
    margin-bottom: var(--space-sm);
}

.jh-art-card__title a {
    color: var(--color-text);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.jh-art-card__title a:hover {
    color: var(--color-primary);
}

.jh-art-card__authors {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
}

.jh-art-card__authors a {
    color: inherit;
    transition: color 0.2s ease;
}

.jh-art-card__authors a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

.jh-art-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-base);
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
}

.jh-art-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.jh-art-card__meta i {
    font-size: 0.7rem;
    color: var(--color-primary);
}

.jh-art-card__view {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    transition: gap var(--transition-fast);
}

.jh-art-card__view:hover {
    gap: 0.6rem;
    color: #fff;
}

/* Editor Cards (Journal Show) */
.jh-editors {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--space-lg);
}

.jh-ed-card {
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.jh-ed-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.jh-ed-card__avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto var(--space-base);
    border: 3px solid var(--color-bg-muted);
}

.jh-ed-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jh-ed-card__avatar-ph {
    width: 100%;
    height: 100%;
    background: var(--color-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.jh-ed-card__name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.2rem;
}

.jh-ed-card__role {
    display: block;
    font-size: 0.78rem;
    color: var(--color-primary);
    font-weight: 500;
    margin-bottom: var(--space-xs);
}

.jh-ed-card__aff {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    margin: 0 0 0.15rem;
    line-height: 1.4;
}

.jh-ed-card__country {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin: 0;
}

.jh-ed-card__country i {
    margin-right: 0.2rem;
    font-size: 0.65rem;
}

/* Badges */
.jh-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.jh-badge--type {
    background: var(--color-bg-muted);
    color: var(--color-text-secondary);
}

/* Buttons (jh) */
.jh-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.6rem 1.4rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.jh-btn--primary {
    background: var(--color-primary);
    color: white;
}

.jh-btn--primary:hover {
    background: var(--color-primary-hover);
    color: white;
    transform: translateY(-1px);
}

/* Empty State */
.jh-empty {
    text-align: center;
    padding: var(--space-3xl) var(--space-xl);
    color: var(--color-text-muted);
}

.jh-empty i {
    color: var(--color-border);
    margin-bottom: var(--space-base);
}

.jh-empty h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-sm);
}

.jh-empty p {
    font-size: 0.9rem;
    margin: 0;
}

.jh-empty a {
    color: var(--color-primary);
    font-weight: 600;
}

/* Publication Info */
.jh-pub-info {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-xl);
}

.jh-pub-info__card {
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
}

.jh-pub-info__card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--color-bg-muted);
}

.jh-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.jh-info-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-bg-muted);
    font-size: 0.88rem;
}

.jh-info-list li:last-child {
    border-bottom: none;
}

.jh-info-list li span {
    color: var(--color-text-muted);
}

.jh-info-list li strong {
    color: var(--color-text);
    text-align: right;
    max-width: 60%;
}

.jh-pub-info__links {
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
}

.jh-pub-info__links h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--color-bg-muted);
}

.jh-resource-links {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.jh-resource-links a {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.6rem var(--space-sm);
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    border-bottom: 1px solid var(--color-bg-muted);
    transition: background var(--transition-fast), color var(--transition-fast);
}

.jh-resource-links a:hover {
    background: var(--color-bg-light);
    color: var(--color-primary);
}

.jh-resource-links a:last-child {
    border-bottom: none;
}

.jh-resource-links a i {
    width: 20px;
    text-align: center;
    color: var(--color-primary);
    font-size: 0.85rem;
}

@media (max-width: 767.98px) {
    .jh-hero-split {
        grid-template-columns: 1fr;
    }

    .jh-hero-split__image {
        min-height: 200px;
    }

    .jh-hero-split__content {
        padding: var(--space-xl) var(--space-lg);
    }

    .jh-pub-info {
        grid-template-columns: 1fr;
    }

    .jh-editors {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
}


/* =====================================================
   24. SHARED SIDEBAR SYSTEM (ym-sidebar)
   Used by: volumes, articles, mission-scope pages
   ===================================================== */

.ym-sidebar {
    position: sticky;
    top: 100px;
}

.ym-sidebar-card {
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.ym-sidebar-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-base);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--color-bg-muted);
}

.ym-sidebar-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ym-sidebar-info li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-bg-muted);
    font-size: 0.85rem;
}

.ym-sidebar-info li:last-child {
    border-bottom: none;
}

.ym-sidebar-info__label {
    color: var(--color-text-muted);
    font-weight: 500;
}

.ym-sidebar-info__value {
    color: var(--color-text);
    font-weight: 600;
    text-align: right;
}

.ym-sidebar-article {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-bg-muted);
}

.ym-sidebar-article:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.ym-sidebar-article__title {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
    line-height: 1.4;
    display: block;
}

.ym-sidebar-article__title:hover {
    color: var(--color-primary);
}

.ym-sidebar-article__date {
    font-size: 0.68rem;
    color: var(--color-text-muted);
}

.ym-sidebar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.65rem var(--space-base);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    text-align: center;
    transition: all var(--transition-base);
    width: 100%;
    margin-bottom: var(--space-sm);
    border: 2px solid transparent;
}

.ym-sidebar-btn:last-child {
    margin-bottom: 0;
}

.ym-sidebar-btn--primary {
    background: var(--color-primary);
    color: white;
}

.ym-sidebar-btn--primary:hover {
    background: var(--color-primary-hover);
    color: white;
}

.ym-sidebar-btn--outline {
    background: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.ym-sidebar-btn--outline:hover {
    background: var(--color-primary);
    color: white;
}

.ym-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
}

.ym-stat-box {
    background: var(--color-bg-muted);
    border-radius: var(--radius-md);
    padding: var(--space-base);
    text-align: center;
}

.ym-stat-box__number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.1;
    margin-bottom: 0.15rem;
}

.ym-stat-box__label {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-weight: 500;
}


/* =====================================================
   25. VOLUMES PAGE (ym-vol-* classes)
   ===================================================== */

.ym-volumes-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: var(--space-xl);
     max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-xl) var(--space-lg);
}

.ym-vol-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-base);
}

.ym-vol-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-xl);
    text-decoration: none;
    transition: all var(--transition-base);
    color: inherit;
}

.ym-vol-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    color: inherit;
}

.ym-vol-card__info {
    flex: 1;
}

.ym-vol-card__title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.2rem;
}

.ym-vol-card__year {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
}

.ym-vol-card__stats {
    display: flex;
    gap: var(--space-base);
}

.ym-vol-card__stat {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.ym-vol-card__stat i {
    color: var(--color-primary);
    font-size: 0.7rem;
}

.ym-vol-card__arrow {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.ym-vol-card:hover .ym-vol-card__arrow {
    color: var(--color-primary);
    transform: translateX(3px);
}

/* Empty State (shared ym) */
.ym-empty {
    text-align: center;
    padding: var(--space-3xl) var(--space-xl);
    color: var(--color-text-muted);
    background: var(--color-bg-light);
    border-radius: var(--radius-lg);
}

.ym-empty i {
    font-size: 2rem;
    color: var(--color-border-dark);
    margin-bottom: var(--space-base);
    display: block;
}

@media (max-width: 767.98px) {
    .ym-volumes-layout {
        grid-template-columns: 1fr;
    }

    .ym-sidebar {
        position: static;
    }
}


/* =====================================================
   26. ARTICLES PAGE (ym-articles-* classes)
   ===================================================== */

.ym-articles-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: var(--space-xl);
     max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-xl) var(--space-lg);
}

.ym-search-section {
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.ym-search-section h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-base);
}

.ym-search-form {
    display: flex;
    gap: var(--space-sm);
}

.ym-search-form input {
    flex: 1;
    padding: 0.6rem var(--space-base);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-family: var(--font-primary);
    transition: border-color var(--transition-fast);
}

.ym-search-form input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(17, 45, 141, 0.1);
}

.btn-ym-search {
    padding: 0.6rem 1.2rem;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: background var(--transition-fast);
    white-space: nowrap;
}

.btn-ym-search:hover {
    background: var(--color-primary-hover);
}

.btn-ym-reset {
    padding: 0.6rem 0.8rem;
    background: var(--color-bg-muted);
    color: var(--color-text-muted);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    text-decoration: none;
    font-size: 0.88rem;
    transition: all var(--transition-fast);
}

.btn-ym-reset:hover {
    background: var(--color-danger);
    color: white;
    border-color: var(--color-danger);
}

.ym-article-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-base);
}

.ym-article-card {
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.ym-article-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-sm);
}

.ym-article-card__type {
    display: inline-block;
    padding: 0.15rem 0.55rem;
    background: var(--color-bg-muted);
    color: var(--color-text-secondary);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border-radius: 3px;
    margin-bottom: var(--space-sm);
}

.ym-article-card__title {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.45;
    margin-bottom: var(--space-sm);
}

.ym-article-card__title a {
    color: var(--color-text);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.ym-article-card__title a:hover {
    color: var(--color-primary);
}

.ym-article-card__abstract {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
}

.ym-article-card__authors {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-bottom: var(--space-sm);
    font-size: 0.82rem;
}

.ym-article-card__authors a {
    color: inherit;
    transition: color 0.2s ease;
}

.ym-article-card__authors a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

.ym-article-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-base);
    font-size: 0.78rem;
    color: var(--color-text-muted);
}

.ym-article-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.ym-article-card__meta i {
    color: var(--color-primary);
    font-size: 0.7rem;
}

@media (max-width: 767.98px) {
    .ym-articles-layout {
        grid-template-columns: 1fr;
    }

    .ym-search-form {
        flex-wrap: wrap;
    }
}


/* =====================================================
   27. MISSION & SCOPE PAGE (ym-ms-* classes)
   ===================================================== */

.ym-ms-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: var(--space-xl);
     max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-xl) var(--space-lg);
}

.ym-ms-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--space-base);
    margin-bottom: var(--space-xl);
}

.ym-ms-stat-card {
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--ym-secondary, #960505);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    transition: box-shadow var(--transition-base);
}

.ym-ms-stat-card:hover {
    box-shadow: var(--shadow-sm);
}

.ym-ms-stat-card__number {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.1;
    margin-bottom: 0.15rem;
}

.ym-ms-stat-card__label {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-weight: 500;
}

.ym-ms-block {
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.ym-ms-block__title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-base);
    display: flex;
    align-items: center;
}

.ym-ms-block__content {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--color-text-secondary);
}

.ym-ms-block__content p {
    margin-bottom: var(--space-base);
}

.ym-ms-block__content ul,
.ym-ms-block__content ol {
    padding-left: 1.5rem;
    margin-bottom: var(--space-base);
}

.ym-ms-block__content li {
    margin-bottom: var(--space-xs);
}

@media (max-width: 767.98px) {
    .ym-ms-layout {
        grid-template-columns: 1fr;
    }
}


/* =====================================================
   28. CONTACT EDITORIAL OFFICE (ceo-* classes)
   ===================================================== */

.ceo-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: var(--space-xl);
     max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-xl) var(--space-lg);
}

.ceo-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.ceo-contact-card {
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-top: 3px solid var(--ym-primary, #112d8d);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    transition: box-shadow var(--transition-base);
}

.ceo-contact-card:hover {
    box-shadow: var(--shadow-md);
}

.ceo-contact-card h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.ceo-contact-card p {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-base);
}

.ceo-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.ceo-contact-btn--primary {
    background: var(--color-primary);
    color: white;
}

.ceo-contact-btn--primary:hover {
    background: var(--color-primary-hover);
    color: white;
}

.ceo-contact-btn--outline {
    background: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.ceo-contact-btn--outline:hover {
    background: var(--color-primary);
    color: white;
}

.ceo-response-time {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    margin-top: var(--space-sm);
}

.ceo-response-time i {
    color: var(--color-success);
    margin-right: 0.3rem;
}

.ceo-block {
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.ceo-block__title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.ceo-block__title i {
    color: var(--color-primary);
}

.ceo-purpose-item {
    padding: var(--space-base) 0;
    border-bottom: 1px solid var(--color-bg-muted);
}

.ceo-purpose-item:last-child {
    border-bottom: none;
}

.ceo-purpose-item h5 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-xs);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.ceo-purpose-item h5 i {
    color: var(--color-primary);
    width: 18px;
    text-align: center;
}

.ceo-purpose-item p {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xs);
}

.ceo-purpose-item a {
    font-size: 0.88rem;
    color: var(--color-primary);
    font-weight: 500;
}

/* CEO Sidebar */
.ceo-sidebar {
    position: sticky;
    top: 100px;
}

.ceo-sidebar-card {
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.ceo-sidebar-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-base);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--color-bg-muted);
}

.ceo-office-address {
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-lg);
}

.ceo-office-address i {
    color: var(--color-primary);
    margin-right: var(--space-sm);
}

.ceo-hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ceo-hours-list li {
    display: flex;
    justify-content: space-between;
    padding: var(--space-xs) 0;
    font-size: 0.82rem;
    color: var(--color-text-secondary);
    border-bottom: 1px solid var(--color-bg-muted);
}

.ceo-hours-list li:last-child {
    border-bottom: none;
}

.ceo-quick-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ceo-quick-links li {
    margin-bottom: var(--space-sm);
}

.ceo-quick-links a {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.85rem;
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.ceo-quick-links a:hover {
    color: var(--color-primary);
}

.ceo-quick-links i {
    width: 18px;
    text-align: center;
    color: var(--color-primary);
    font-size: 0.8rem;
}

.ceo-submit-card {
    background: var(--color-primary);
    color: white;
    text-align: center;
}

.ceo-submit-card h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.ceo-submit-card p {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-bottom: var(--space-base);
}

.ceo-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.6rem 1.4rem;
    background: white;
    color: var(--color-primary);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    transition: all var(--transition-base);
}

.ceo-submit-btn:hover {
    background: var(--color-bg-muted);
    color: var(--color-primary-hover);
}

@media (max-width: 767.98px) {
    .ceo-layout {
        grid-template-columns: 1fr;
    }

    .ceo-sidebar {
        position: static;
    }
}


/* =====================================================
   29. ASSOCIATE EDITORS PAGE (ae-* classes)
   ===================================================== */

.ae-container {
     max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-xl) var(--space-lg);
}

.ae-filter-bar {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
    margin-bottom: var(--space-xl);
    border-bottom: 2px solid var(--color-border);
    padding-bottom: var(--space-sm);
}

.ae-nav-tab {
    padding: 0.5rem 1rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--color-text-muted);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color var(--transition-fast), border-color var(--transition-fast);
    margin-bottom: -2px;
}

.ae-nav-tab:hover {
    color: var(--color-text);
}

.ae-nav-tab.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
    font-weight: 600;
}

.ae-count {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
    font-weight: 500;
}

.ae-empty {
    text-align: center;
    padding: var(--space-3xl);
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.ae-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--space-lg);
}

.ae-card {
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.ae-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.ae-card-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto var(--space-base);
    background: var(--color-bg-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--color-bg-muted);
}

.ae-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ae-card-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.ae-card-name a {
    color: var(--color-text);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.ae-card-name a:hover {
    color: var(--color-primary);
}

.ae-card-role {
    font-size: 0.78rem;
    color: var(--color-primary);
    font-weight: 500;
    margin-bottom: var(--space-sm);
}

.ae-card-affiliation {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    line-height: 1.4;
    margin-bottom: 0.15rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ae-card-country {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
}

.ae-card-bio {
    font-size: 0.82rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin-top: var(--space-sm);
    padding-top: var(--space-sm);
    border-top: 1px solid var(--color-bg-muted);
    text-align: left;
}

@media (max-width: 767.98px) {
    .ae-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 575.98px) {
    .ae-grid {
        grid-template-columns: 1fr;
    }
}


/* =====================================================
   30. EDITORIAL CHIEF PAGE (ec-* classes)
   ===================================================== */

.ec-container {
     max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-xl) var(--space-lg);
}

.ec-filter-bar {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
    margin-bottom: var(--space-xl);
    border-bottom: 2px solid var(--color-border);
    padding-bottom: var(--space-sm);
}

.ec-nav-tab {
    padding: 0.5rem 1rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--color-text-muted);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color var(--transition-fast), border-color var(--transition-fast);
    margin-bottom: -2px;
}

.ec-nav-tab:hover {
    color: var(--color-text);
}

.ec-nav-tab.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
    font-weight: 600;
}

.ec-empty {
    text-align: center;
    padding: var(--space-3xl);
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.ec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-xl);
}

.ec-card {
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    text-align: center;
    transition: box-shadow var(--transition-base);
}

.ec-card:hover {
    box-shadow: var(--shadow-lg);
}

.ec-card-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto var(--space-lg);
    background: var(--color-bg-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--color-bg-muted);
}

.ec-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ec-card-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.ec-card-name a {
    color: var(--color-text);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.ec-card-name a:hover {
    color: var(--color-primary);
}

.ec-card-role {
    font-size: 0.85rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.ec-card-detail {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.4;
    margin-bottom: 0.2rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ec-card-country {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-base);
}

.ec-card-bio {
    font-size: 0.88rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-top: var(--space-base);
    padding-top: var(--space-base);
    border-top: 1px solid var(--color-bg-muted);
    text-align: left;
}

.ec-social {
    display: flex;
    justify-content: center;
    gap: var(--space-base);
    margin-top: var(--space-base);
    padding-top: var(--space-base);
    border-top: 1px solid var(--color-bg-muted);
}

.ec-social a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color var(--transition-fast);
}

.ec-social a:hover {
    color: var(--color-primary);
}

@media (max-width: 575.98px) {
    .ec-grid {
        grid-template-columns: 1fr;
    }
}


/* =====================================================
   31. EDITOR PROFILE PAGE — Sidebar + Content Grid
   ===================================================== */

/* Breadcrumb Bar */
.ep-breadcrumb-bar {
    background: var(--color-bg-light);
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-sm) 0;
}

/* Page wrapper */
.ep-page {
    padding: var(--space-xl) 0 var(--space-3xl);
    background: var(--color-bg-light);
    min-height: 60vh;
}

/* Two-column grid: sidebar 300px + fluid content */
.ep-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: var(--space-xl);
    align-items: start;
}

/* ── Sidebar ── */
.ep-sidebar__card {
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.ep-sidebar__photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto var(--space-lg);
    border: 4px solid var(--color-bg-muted);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-muted);
}

.ep-sidebar__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ep-sidebar__initials {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    letter-spacing: 1px;
}

.ep-sidebar__name {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
    line-height: 1.3;
}

.ep-sidebar__title-prefix {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 2px;
}

.ep-sidebar__detail {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    margin: 0 0 var(--space-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.ep-sidebar__detail i {
    color: var(--color-text-muted);
    font-size: 0.75rem;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.ep-sidebar__section-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-base);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--color-bg-muted);
    text-align: left;
}

.ep-sidebar__roles {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.ep-sidebar__role {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: var(--space-sm) var(--space-base);
    background: var(--color-bg-light);
    border-radius: var(--radius-sm);
    text-align: left;
}

.ep-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    width: fit-content;
}

.ep-badge--chief {
    background: #fef3c7;
    color: #92400e;
}

.ep-badge--associate {
    background: #dbeafe;
    color: #1e40af;
}

.ep-badge--member {
    background: var(--color-bg-muted);
    color: var(--color-text-secondary);
}

.ep-sidebar__journal-link {
    font-size: 0.85rem;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.ep-sidebar__journal-link:hover {
    color: var(--color-primary-hover);
    text-decoration: underline;
}

.ep-sidebar__links {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.ep-sidebar__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    padding: var(--space-sm) var(--space-base);
    border-radius: var(--radius-sm);
    background: var(--color-bg-light);
    transition: background var(--transition-fast), color var(--transition-fast);
}

.ep-sidebar__link:hover {
    background: #e0e7ff;
    color: var(--color-primary-hover);
}

/* ── Content Area ── */
.ep-content__card {
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-sm);
}

.ep-content__heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--color-bg-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.ep-content__heading i {
    color: var(--color-primary);
    font-size: 1rem;
}

.ep-content__bio {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
}

.ep-content__tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.ep-tag {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, #e0e7ff, #dbeafe);
    color: var(--color-primary);
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    transition: transform var(--transition-fast);
}

.ep-tag:hover {
    transform: translateY(-1px);
}

/* Published Articles List */
.ep-articles-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-base);
}

.ep-article-item {
    display: block;
    padding: var(--space-base) var(--space-lg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.ep-article-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.ep-article-item__title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
    line-height: 1.4;
}

.ep-article-item__meta {
    display: flex;
    gap: var(--space-base);
    font-size: 0.8rem;
    color: var(--color-text-muted);
    flex-wrap: wrap;
}

.ep-article-item__journal {
    background: var(--color-primary);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.7rem;
}

/* Empty State */
.ep-content__empty {
    text-align: center;
    padding: var(--space-3xl) var(--space-xl);
}

.ep-content__empty i {
    font-size: 3rem;
    color: var(--color-border);
    margin-bottom: var(--space-lg);
}

.ep-content__empty h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-sm);
}

.ep-content__empty p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .ep-grid {
        grid-template-columns: 1fr;
    }

    .ep-sidebar__photo {
        width: 100px;
        height: 100px;
    }

    .ep-sidebar__initials {
        font-size: 2rem;
    }

    .ep-sidebar__name {
        font-size: 1.2rem;
    }

    .ep-content__card {
        padding: var(--space-lg);
    }
}


/* =====================================================
   32. PUBLIC PROFILE PAGE (pp-* classes)
   ===================================================== */

.pp-header {
    background: var(--color-primary);
    color: white;
    padding: var(--space-2xl) 0;
}

.pp-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,0.3);
    flex-shrink: 0;
}

.pp-avatar-placeholder {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: 700;
    flex-shrink: 0;
    border: 3px solid rgba(255,255,255,0.3);
}

.pp-name {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 700;
    color: white;
    margin-bottom: 0.2rem;
}

.pp-affiliation {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 0.15rem;
    color: rgba(255,255,255,0.9);
}

.pp-meta {
    font-size: 0.88rem;
    opacity: 0.8;
    color: rgba(255,255,255,0.8);
}

.pp-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
}

.pp-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.65rem;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 20px;
    color: white;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 500;
    transition: background var(--transition-fast);
}

.pp-badge:hover {
    background: rgba(255,255,255,0.25);
    color: white;
}

.pp-stats {
    display: flex;
    gap: var(--space-2xl);
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255,255,255,0.2);
}

.pp-stat-num {
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
    line-height: 1.1;
}

.pp-stat-label {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-weight: 500;
}

.pp-body {
    padding: var(--space-xl) 0;
}

.pp-section {
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.pp-section-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-base);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--color-bg-muted);
}

.pp-bio {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
}

.pp-interest {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    background: var(--color-bg-muted);
    color: var(--color-text-secondary);
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 500;
    margin-right: var(--space-xs);
    margin-bottom: var(--space-xs);
}

.pp-collab {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-bg-muted);
    font-size: 0.88rem;
    color: var(--color-text);
    font-weight: 500;
}

.pp-collab:last-child {
    border-bottom: none;
}

.pp-collab-aff {
    font-weight: 400;
    color: var(--color-text-muted);
    font-size: 0.82rem;
}

/* Collaborator Cards — Avatar + Clickable Name */
.pp-collab-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pp-collab-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
}

.pp-collab-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--color-bg-muted, #e8eaf0);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pp-collab-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pp-collab-initial {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--color-primary, #112d8d);
}

.pp-collab-info {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
    min-width: 0;
}

a.pp-collab-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text, #1a1a1a);
    text-decoration: none;
    transition: color 0.2s ease;
}

a.pp-collab-name:hover {
    color: var(--color-primary, #112d8d);
}

span.pp-collab-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text, #1a1a1a);
}

.pp-collab-info .pp-collab-aff {
    display: block;
    font-weight: 400;
    color: var(--color-text-muted, #6b7280);
    font-size: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Publications */
.pp-pub {
    padding: var(--space-base) 0;
    border-bottom: 1px solid var(--color-bg-muted);
}

.pp-pub:last-child {
    border-bottom: none;
}

.pp-pub-title {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
    line-height: 1.45;
    margin-bottom: var(--space-xs);
    transition: color var(--transition-fast);
}

.pp-pub-title:hover {
    color: var(--color-primary);
}

.pp-pub-journal {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    margin-bottom: 0.15rem;
}

.pp-pub-authors {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    margin-bottom: 0.1rem;
}

.pp-pub-date {
    font-size: 0.78rem;
    color: var(--color-text-muted);
}


/* =====================================================
   33. ABOUT PAGE & LEGAL PAGE UTILITIES
   ===================================================== */

/* Info Box (About page) */
.info-box {
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
    border: 1px solid var(--color-border);
}

.info-box.success {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

/* Card body/title/text (Bootstrap overrides for about page) */
.card-body {
    padding: var(--space-lg);
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.card-text {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
}

/* Legal Page Layout Overrides */
.legal-page-header {
    background: #ffffff;
    padding: 0;
}

.legal-page-header h1 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: white;
    margin-bottom: var(--space-sm);
}

.legal-page-header p {
    font-size: 0.95rem;
    opacity: 0.9;
    color: rgba(255,255,255,0.9);
    margin: 0;
}

.legal-page-content {
    background: #f8f9fa;
    padding: 0;
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--color-text-secondary);
}

.legal-page-content > .container {
    max-width: 1400px;
    padding-left: 40px;
    padding-right: 40px;
}

.legal-page-content > .container > .row {
    margin: 0;
}

.legal-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sidebar-link {
    display: block;
    padding: 0.6rem var(--space-base);
    font-size: 0.88rem;
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: all var(--transition-fast);
}

.sidebar-link:hover,
.sidebar-link.active {
    color: var(--color-primary);
    background: var(--color-bg-light);
    border-left-color: var(--color-primary);
}

/* Breadcrumb (Volume page) */
.breadcrumb {
    font-size: 0.85rem;
    margin-bottom: var(--space-sm);
}

.breadcrumb-item a {
    color: var(--color-primary);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

/* Collapse (Volume page) */
.collapse {
    transition: height 0.35s ease;
}


/* =====================================================
   34. AUTHORS SHOW PAGE
   ===================================================== */

.academic-nav {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
    padding: var(--space-sm) 0;
}

.bio-section {
    margin-bottom: var(--space-xl);
}

.follow-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.5rem 1.2rem;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.follow-btn:hover {
    background: var(--color-primary-hover);
}

.network-item {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-bg-muted);
    font-size: 0.88rem;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--color-bg-muted);
}

.profile-banner {
    background: linear-gradient(135deg, var(--color-primary), #1a3a7a);
    color: white;
    padding: var(--space-2xl) 0;
}

.profile-content {
    padding: var(--space-xl) 0;
}

.publication-card {
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--ym-secondary, #960505);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin-bottom: var(--space-base);
    transition: box-shadow var(--transition-base);
}

.publication-card:hover {
    box-shadow: var(--shadow-sm);
    border-left-color: var(--ym-primary, #112d8d);
}

.stats-card {
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
}

.simple-link {
    display: block;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.88rem;
    padding: 6px 0;
    border-bottom: 1px solid var(--color-border);
    transition: color var(--transition-fast);
}

.simple-link:last-child {
    border-bottom: none;
}

.simple-link:hover {
    color: var(--color-primary-hover);
    text-decoration: underline;
}

/* Tab system (Authors page) */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-pane {
    padding: var(--space-lg) 0;
}

.nav-tabs {
    border-bottom: 2px solid var(--color-border);
    margin-bottom: var(--space-lg);
}

/* =====================================================
   35. BREADCRUMB NAVIGATION (STATIC PAGES)
   ===================================================== */
.ym-breadcrumb {
    padding: 0.75rem 0;
    /* background: #f8f9fa; */
    border-bottom: 1px solid var(--color-border);
    font-size: 0.85rem;
}

.ym-breadcrumb .container {
    max-width: 1400px;
}

.ym-breadcrumb-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0;
}

.ym-breadcrumb-item {
    display: flex;
    align-items: center;
    color: var(--color-text-secondary);
}

.ym-breadcrumb-item + .ym-breadcrumb-item::before {
    content: '›';
    font-size: 0.875rem;
    padding: 0 0.5rem;
    color: #999;
    font-weight: 400;
}

.ym-breadcrumb-item a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.ym-breadcrumb-item a:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

.ym-breadcrumb-item.active {
    color: var(--color-text);
    font-weight: 600;
}

.ym-breadcrumb-item i {
    margin-right: 0.3rem;
    font-size: 0.8rem;
}

/* =====================================================
   36. LEGAL SECONDARY NAVIGATION (HORIZONTAL TABS)
   ===================================================== */
.legal-secondary-nav {
    background: #ffffff;
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0);
    transition: box-shadow 0.2s ease;
}

.legal-secondary-nav.is-stuck {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.legal-secondary-nav .container {
    max-width: 1400px;
}

/* Desktop Navigation */
.legal-secondary-nav .desktop-nav {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.legal-secondary-nav .desktop-nav::-webkit-scrollbar {
    display: none;
}

.legal-secondary-nav .desktop-nav .nav-pills {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    border-bottom: 2px solid #e5e7eb;
    padding: 0;
    margin: 0;
    list-style: none;
}

.legal-secondary-nav .desktop-nav .nav-item {
    flex-shrink: 0;
}

.legal-secondary-nav .desktop-nav .nav-link {
    display: block;
    padding: 0.85rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    white-space: nowrap;
    transition: all var(--transition-fast);
    background: none;
    border-radius: 0;
}

.legal-secondary-nav .desktop-nav .nav-link:hover {
    color: var(--color-primary);
    background: var(--color-bg-light);
    border-bottom-color: rgba(17, 45, 141, 0.3);
}

.legal-secondary-nav .desktop-nav .nav-link.active {
    color: var(--color-primary);
    font-weight: 600;
    border-bottom-color: var(--color-primary);
    background: transparent;
}

/* Mobile Navigation */
.legal-secondary-nav .mobile-nav {
    display: none;
    position: relative;
}

.legal-secondary-nav .dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
    cursor: pointer;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: #fff;
    user-select: none;
}

.legal-secondary-nav .dropdown-arrow {
    transition: transform 0.2s ease;
    color: var(--color-text-secondary);
}

.legal-secondary-nav .mobile-nav.expanded .dropdown-arrow {
    transform: rotate(180deg);
}

.legal-secondary-nav .dropdown-menu-wrapper {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 100;
    background: #fff;
    border: 1px solid var(--color-border);
    border-top: none;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    max-height: 60vh;
    overflow-y: auto;
}

.legal-secondary-nav .mobile-nav.expanded .dropdown-menu-wrapper {
    display: block;
}

.legal-secondary-nav .dropdown-menu-list {
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
}

.legal-secondary-nav .dropdown-item {
    margin: 0;
}

.legal-secondary-nav .dropdown-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 1rem;
    font-size: 0.88rem;
    color: var(--color-text);
    text-decoration: none;
    transition: background var(--transition-fast);
}

.legal-secondary-nav .dropdown-link:hover {
    background: var(--color-bg-light);
    color: var(--color-primary);
}

.legal-secondary-nav .dropdown-item.active .dropdown-link {
    color: var(--color-primary);
    font-weight: 600;
    background: rgba(17, 45, 141, 0.05);
}

.legal-secondary-nav .check-icon {
    flex-shrink: 0;
    margin-left: 0.5rem;
}

/* Sidebar subsection items */
.subsection-menu {
    list-style: none;
    padding: 0 0 0 var(--space-base);
    margin: 0;
}

.subsection-link {
    display: block;
    padding: 0.4rem var(--space-base) 0.4rem 1.5rem;
    font-size: 0.82rem;
    color: var(--color-text-secondary);
    text-decoration: none;
    border-left: 2px solid transparent;
    transition: all var(--transition-fast);
}

.subsection-link:hover,
.subsection-link.active {
    color: var(--color-primary);
    border-left-color: var(--color-primary);
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Legal page layout helper classes */
.legal-sidebar-col {
    padding: 0;
}

.legal-content-col {
    padding: 35px 45px 70px;
    background: #ffffff;
}

.content-wrapper {
    max-width: 100%;
}

/* Legal content typography */
.legal-page-content h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-text);
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-base);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--color-border);
}

.legal-page-content h2:first-child {
    margin-top: 0;
}

.legal-page-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}

.legal-page-content p {
    margin-bottom: var(--space-base);
}

.legal-page-content ul,
.legal-page-content ol {
    margin-bottom: var(--space-base);
    padding-left: 1.5rem;
}

.legal-page-content li {
    margin-bottom: 0.4rem;
}

.legal-page-content a {
    color: var(--color-primary);
    text-decoration: none;
}

.legal-page-content a:hover {
    text-decoration: underline;
}

/* Copyright-licensing & publication-ethics page classes */
.page-header {
    background: var(--color-primary);
    color: #ffffff;
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.page-header h1 {
    color: #ffffff;
    font-weight: 700;
}

.page-header .lead {
    color: rgba(255, 255, 255, 0.9);
}

.content-section {
    margin-bottom: 2.5rem;
}

.content-section h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.content-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1.25rem;
    margin-bottom: 0.75rem;
}

.highlight-box {
    background: #f0f4ff;
    border: 1px solid rgba(17, 45, 141, 0.15);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.license-box {
    background: #f8f9fa;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin: var(--space-lg) 0;
    text-align: center;
}

.ethics-card {
    border: 1px solid var(--color-border);
    transition: box-shadow var(--transition-fast);
}

.ethics-card:hover {
    box-shadow: var(--shadow-md);
}

/* Lead paragraph on legal pages */
.legal-page-content .lead {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-text);
    font-weight: 400;
    margin-bottom: var(--space-lg);
}

/* Responsive for legal secondary nav */
@media (max-width: 991.98px) {
    .legal-secondary-nav .desktop-nav {
        display: none;
    }

    .legal-secondary-nav .mobile-nav {
        display: block;
        padding: 0.5rem 0;
    }

    .legal-sidebar-col {
        display: none;
    }

    .legal-content-col {
        padding: 20px 15px 40px;
    }
}

@media (max-width: 767.98px) {
    .legal-content-col {
        padding: 15px 10px 30px;
    }

    .page-hero-banner h1 {
        font-size: 1.6rem;
    }
}


/* =====================================================
   37. MAIN NAVBAR — Brand Design System
   ===================================================== */
.main-navbar {
    background: #ffffff;
    padding: 0;
    box-shadow: 0 1px 4px rgba(17, 45, 141, 0.06);
    transition: box-shadow 0.3s ease, background 0.3s ease;
    position: sticky;
    top: 0;
    z-index: 1030;
    border-bottom: 1px solid rgba(17, 45, 141, 0.08);
}

.main-navbar.scrolled {
    box-shadow: 0 4px 20px rgba(17, 45, 141, 0.1);
}

.ym-navbar-container {
    max-width: 1400px;
    padding-left: 32px;
    padding-right: 32px;
    display: flex;
    align-items: center;
    min-height: 60px;
}

.ym-navbar-brand {
    padding: 0;
    margin: 0;
    margin-right: 2rem;
    display: flex;
    align-items: center;
}

.ym-navbar-logo {
    height: 28px;
    width: auto;
    display: block;
}

/* ── Mobile Toggle ── */
.ym-mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 6px;
    border: none;
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
    transition: background 0.2s ease;
}

.ym-mobile-toggle:hover {
    background: #f1f3f5;
}

.ym-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-primary, #112d8d);
    border-radius: 2px;
    transition: all 0.25s ease;
}

.ym-mobile-toggle[aria-expanded="true"] .ym-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.ym-mobile-toggle[aria-expanded="true"] .ym-toggle-bar:nth-child(2) {
    opacity: 0;
}
.ym-mobile-toggle[aria-expanded="true"] .ym-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Nav Links ── */
.ym-nav-link {
    color: #3d4654;
    font-weight: 500;
    padding: 1.125rem 1.125rem;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    height: 100%;
    font-family: 'Figtree', sans-serif;
    font-size: 0.9375rem;
    position: relative;
    text-decoration: none;
    letter-spacing: 0.01em;
}

.ym-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2.5px;
    background: var(--color-primary, #112d8d);
    border-radius: 2px 2px 0 0;
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

.ym-nav-link:hover {
    color: var(--color-primary, #112d8d);
}

.ym-nav-link:hover::after,
.ym-nav-link.active::after {
    transform: scaleX(1);
}

.ym-nav-link.active {
    color: var(--color-primary, #112d8d);
    font-weight: 600;
}

/* ── CTA Button ── */
.ym-navbar-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-family: 'Figtree', sans-serif;
    font-weight: 600;
    font-size: 0.8125rem;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    background: var(--color-primary, #112d8d);
    color: #ffffff;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid var(--color-primary, #112d8d);
    letter-spacing: 0.01em;
}

.ym-navbar-cta:hover {
    background: #0a1e5e;
    border-color: #0a1e5e;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(17, 45, 141, 0.25);
}

/* ── Bookmark Nav Icon ── */
.ym-nav-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #495057;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.ym-nav-icon-btn:hover {
    background: #f0f4ff;
    color: var(--color-primary, #112d8d);
    border-color: rgba(17, 45, 141, 0.15);
}

/* ── User Dropdown ── */
.ym-user-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.ym-user-dropdown-toggle:hover {
    background: #f0f4ff;
}

.ym-user-dropdown-toggle::after {
    font-size: 0.7rem;
    vertical-align: 0.15em;
    color: #868e96;
}

.ym-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--color-primary, #112d8d);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    font-weight: 700;
    font-family: 'Figtree', sans-serif;
    flex-shrink: 0;
}

.ym-user-name {
    font-family: 'Figtree', sans-serif;
    font-weight: 500;
    font-size: 0.875rem;
    color: #3d4654;
}

.ym-user-dropdown {
    min-width: 240px;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    font-family: 'Figtree', sans-serif;
    animation: ymDropdownFadeIn 0.15s ease;
}

@keyframes ymDropdownFadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

.ym-dropdown-header {
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.ym-dropdown-header strong {
    font-size: 0.875rem;
    color: #1a1a1a;
}

.ym-dropdown-header small {
    font-size: 0.75rem;
    color: #868e96;
}

.ym-dropdown-item {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    color: #495057;
    transition: all 0.15s ease;
    font-family: 'Figtree', sans-serif;
}

.ym-dropdown-item:hover {
    background: #f0f4ff;
    color: var(--color-primary, #112d8d);
}

.ym-dropdown-item--danger {
    color: #dc3545;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.ym-dropdown-item--danger:hover {
    background: #fff5f5;
    color: #dc3545;
}

/* ── Mobile Responsive ── */
@media (max-width: 991.98px) {
    .ym-mobile-toggle {
        display: flex;
    }

    .ym-navbar-container {
        padding-left: 16px;
        padding-right: 16px;
        flex-wrap: wrap;
    }

    .main-navbar .navbar-collapse {
        border-top: 1px solid #e9ecef;
        margin-top: 8px;
        padding: 12px 0;
    }

    .ym-nav-link {
        padding: 0.75rem 0.5rem;
        border-radius: 8px;
    }

    .ym-nav-link::after {
        display: none;
    }

    .ym-nav-link:hover,
    .ym-nav-link.active {
        background: #f0f4ff;
    }

    .ym-nav-right {
        border-top: 1px solid #e9ecef;
        padding-top: 12px;
        margin-top: 8px;
        flex-direction: row;
        gap: 8px;
    }

    .ym-navbar-cta {
        width: 100%;
        justify-content: center;
    }

    .ym-user-dropdown {
        min-width: 200px;
    }
}

/* =====================================================
   38. TOAST NOTIFICATION
   ===================================================== */
.ym-toast {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    background: #1a1a1a;
    color: #ffffff;
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    font-family: 'Figtree', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    animation: ymToastSlideIn 0.3s ease;
    max-width: 380px;
}

.ym-toast__icon {
    color: #10b981;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.ym-toast__msg {
    flex: 1;
    line-height: 1.4;
}

.ym-toast__close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0 0 0 0.5rem;
    line-height: 1;
    transition: color 0.15s ease;
}

.ym-toast__close:hover {
    color: #fff;
}

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

/* =====================================================
   39. BOOKMARK BUTTONS
   ===================================================== */
.ym-bookmark-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #dee2e6;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #868e96;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    padding: 0;
}

.ym-bookmark-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.ym-bookmark-btn:hover {
    border-color: var(--color-primary, #112d8d);
    color: var(--color-primary, #112d8d);
    background: #f0f4ff;
}

.ym-bookmark-btn--active,
.ym-bookmark-btn--active:hover {
    border-color: var(--color-primary, #112d8d);
    background: var(--color-primary, #112d8d);
    color: #fff;
}

/* Detail button (with text label) */
.ym-bookmark-detail-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    background: #fff;
    color: #495057;
    font-family: 'Figtree', sans-serif;
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.ym-bookmark-detail-btn:hover {
    border-color: var(--color-primary, #112d8d);
    color: var(--color-primary, #112d8d);
    background: #f0f4ff;
}

.ym-bookmark-detail-btn--active,
.ym-bookmark-detail-btn--active:hover {
    border-color: var(--color-primary, #112d8d);
    background: #f0f4ff;
    color: var(--color-primary, #112d8d);
}

/* =====================================================
   39b. ARTICLE CARD GRID & CARDS (articles/index page)
   ===================================================== */
.ym-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
}

.ym-art-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
    border-left: 4px solid var(--ym-secondary, #960505);
}

.ym-art-card:hover {
    box-shadow: 0 8px 24px rgba(17, 45, 141, 0.08);
    border-color: #dee2e6;
}

.ym-art-card__header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
    position: relative;
}

.ym-art-card__badges {
    display: flex;
    gap: 0.375rem;
    flex-wrap: wrap;
}

.ym-art-card__date {
    font-size: 0.75rem;
    color: #868e96;
    margin-left: auto;
}

.ym-art-card__title {
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.45;
    margin-bottom: 0.5rem;
    font-family: 'Figtree', sans-serif;
}

.ym-art-card__title a {
    color: #212529;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ym-art-card__title a:hover {
    color: var(--ym-primary, #112d8d);
}

.ym-art-card__authors {
    font-size: 0.8125rem;
    color: #495057;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.ym-art-card__abstract {
    font-size: 0.8125rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 0.75rem;
    flex: 1;
}

.ym-art-card__doi {
    font-size: 0.75rem;
    color: var(--ym-secondary, #960505);
    margin-bottom: 0.75rem;
    font-family: monospace;
}

.ym-art-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.75rem;
    border-top: 1px solid #f1f3f5;
    margin-top: auto;
}

.ym-art-card__metrics {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    color: #868e96;
}

.ym-art-card__read {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #fff;
    background: var(--ym-primary, #112d8d);
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 6px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.ym-art-card__read:hover {
    background: #0a1e5e;
    color: #fff;
    transform: translateY(-1px);
}

/* ── Article card bookmark positioning ── */
.ym-art-card .ym-bookmark-btn {
    position: static;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .ym-articles-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   40. ERROR PAGES (404, 401, 419, 500, 503)
   ===================================================== */
.ym-error-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 3rem 1rem;
    font-family: 'Figtree', sans-serif;
}

.ym-error-page__card {
    text-align: center;
    max-width: 520px;
    width: 100%;
    background: #fff;
    border-radius: 16px;
    padding: 3rem 2.5rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
}

.ym-error-page__code {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    color: #e9ecef;
    line-height: 1;
    margin-bottom: 0.25rem;
    letter-spacing: -2px;
}

.ym-error-page__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
}

.ym-error-page__desc {
    font-size: 0.9375rem;
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.ym-error-page__actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.ym-error-page__btn {
    display: inline-flex;
    align-items: center;
    padding: 0.625rem 1.5rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: 'Figtree', sans-serif;
    text-decoration: none;
    transition: all 0.25s ease;
}

.ym-error-page__btn--primary {
    background: var(--color-primary, #112d8d);
    color: #fff;
    border: 1px solid var(--color-primary, #112d8d);
}

.ym-error-page__btn--primary:hover {
    background: #0a1e5e;
    border-color: #0a1e5e;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(17, 45, 141, 0.3);
}

.ym-error-page__btn--outline {
    background: #fff;
    color: var(--color-primary, #112d8d);
    border: 1px solid #dee2e6;
}

.ym-error-page__btn--outline:hover {
    border-color: var(--color-primary, #112d8d);
    background: #f0f4ff;
    color: var(--color-primary, #112d8d);
    transform: translateY(-1px);
}

.ym-error-page__hint {
    font-size: 0.8125rem;
    color: #adb5bd;
    margin: 0;
}

.ym-error-page__hint a {
    color: var(--color-primary, #112d8d);
    text-decoration: underline;
}

.ym-error-page__hint a:hover {
    color: #0a1e5e;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ym-error-page__card {
        padding: 2rem 1.5rem;
    }

    .ym-error-page__actions {
        flex-direction: column;
    }

    .ym-error-page__btn {
        justify-content: center;
        width: 100%;
    }

    .ym-toast {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        max-width: none;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SECTION 40: ARTICLE FULLTEXT PAGE — Frontiers-Style Academic Article Display
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Article Header (Hero Section) ────────────────────────────────────────── */
.ym-article-header {
    background: linear-gradient(135deg, var(--ym-primary, #112d8d) 0%, #0d2266 100%);
    color: #fff;
    padding: 3rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.ym-article-header::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 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,165.3C384,171,480,149,576,133.3C672,117,768,107,864,122.7C960,139,1056,181,1152,181.3C1248,181,1344,139,1392,117.3L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom center;
    background-size: cover;
    opacity: 0.3;
}

.ym-article-header > .container {
    position: relative;
    z-index: 1;
}

.ym-article-header__breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.ym-article-header__breadcrumb a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: color 0.2s ease;
}

.ym-article-header__breadcrumb a:hover {
    color: #fff;
    text-decoration: underline;
}

.ym-article-header__breadcrumb i {
    font-size: 0.625rem;
    color: rgba(255,255,255,0.6);
}

.ym-article-header__badges {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.ym-badge--oa-white {
    background: rgba(255,255,255,0.2);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
}

.ym-badge--white-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.4);
}

.ym-article-header__title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: #fff;
}

.ym-article-header__authors {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: rgba(255,255,255,0.95);
}

.ym-article-header__authors .ym-author-name--registered {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px dotted rgba(255,255,255,0.5);
    transition: all 0.2s ease;
}

.ym-article-header__authors .ym-author-name--registered:hover {
    border-bottom-color: #fff;
    color: #fff;
}

.ym-article-header__authors .ym-author-name--guest {
    color: rgba(255,255,255,0.9);
    font-weight: 500;
}

.ym-author-separator {
    color: rgba(255,255,255,0.6);
}

.ym-article-header__authors sup {
    font-size: 0.75em;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
}

.ym-article-header__affiliations {
    font-size: 0.8125rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    color: rgba(255,255,255,0.85);
}

.ym-article-header__affiliations div {
    margin-bottom: 0.25rem;
}

.ym-article-header__affiliations sup {
    font-weight: 600;
    margin-right: 0.25rem;
}

.ym-article-header__corresponding {
    font-size: 0.75rem;
    font-style: italic;
    color: rgba(255,255,255,0.75);
    margin-bottom: 1.25rem;
}

.ym-article-header__corresponding sup {
    font-weight: 600;
    margin-right: 0.25rem;
}

.ym-article-header__meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.85);
}

.ym-article-header__meta span {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.ym-article-header__meta i {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.7);
}

/* ── Breadcrumb Separators ── */
.ym-breadcrumb-sep {
    color: rgba(255,255,255,0.45);
    font-size: 0.75rem;
    user-select: none;
}

/* ── Article Content Section ── */
.ym-article-content-section {
    padding: 2.5rem 0 4rem;
    background: #f5f6f8;
}

/* Global DOI link — scoped to article header only */
.ym-article-header .ym-doi-link {
    color: #fff;
    text-decoration: underline;
    font-weight: 500;
}

.ym-article-header .ym-doi-link:hover {
    color: rgba(255,255,255,0.9);
}

/* ── Article Layout (Two Column) ────────────────────────────────────────── */
.ym-article-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2.5rem;
    align-items: start;
}

.ym-article-main {
    min-width: 0;
}

/* ── Content Blocks ──────────────────────────────────────────────────────── */
.ym-content-block {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.ym-content-block__title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--ym-primary, #112d8d);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.ym-content-block__title i {
    font-size: 1.125rem;
    color: var(--ym-secondary, #960505);
}

.ym-abstract-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #495057 !important;
    text-align: justify;
}
/* Force override inline color from WYSIWYG on abstract */
.ym-abstract-text *,
.ym-abstract-text p,
.ym-abstract-text span,
.ym-abstract-text div {
    color: inherit !important;
}

.ym-abstract-text p,
.ym-abstract-text .html-p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.ym-abstract-text p:last-child,
.ym-abstract-text .html-p:last-child {
    margin-bottom: 0;
}

.ym-abstract-text section,
.ym-abstract-text div {
    margin: 0;
}

.ym-abstract-text .html-abstract {
    display: block;
}

.ym-abstract-text [id^="html-"] {
    margin: 0;
}

/* ── Keywords ─────────────────────────────────────────────────────────────── */
.ym-keywords {
    background: #f8f9fa;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.ym-keywords strong {
    font-size: 0.875rem;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.ym-keyword-tag {
    display: inline-block;
    background: #fff;
    color: var(--ym-primary, #112d8d);
    padding: 0.375rem 0.875rem;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 500;
    border: 1px solid #e3f2fd;
    transition: all 0.2s ease;
}

.ym-keyword-tag:hover {
    background: #e3f2fd;
    border-color: var(--ym-primary, #112d8d);
}

/* ── Full Text Content ────────────────────────────────────────────────────── */
.ym-full-text {
    border: none;
    padding: 0;
    background: transparent;
}

.ym-article-body {
    font-size: 1rem;
    line-height: 1.8;
    color: #212529;
}

.ym-article-body h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ym-primary, #112d8d);
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.625rem;
    border-bottom: 2px solid #e3f2fd;
}

.ym-article-body h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #495057;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.ym-article-body h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #495057;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.ym-article-body p {
    margin-bottom: 1.25rem;
    text-align: justify;
}

.ym-article-body ul,
.ym-article-body ol {
    margin-bottom: 1.25rem;
    padding-left: 2rem;
}

.ym-article-body li {
    margin-bottom: 0.5rem;
}

.ym-article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.ym-article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9375rem;
}

.ym-article-body table th {
    background: #f8f9fa;
    padding: 0.75rem;
    text-align: left;
    font-weight: 600;
    border: 1px solid #dee2e6;
}

.ym-article-body table td {
    padding: 0.75rem;
    border: 1px solid #dee2e6;
}

/* ── Author Detail Cards ───────────────────────────────────────────────────── */
.ym-authors-detail {
    display: grid;
    gap: 1.25rem;
}

.ym-author-detail-card {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    transition: all 0.25s ease;
}

.ym-author-detail-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-color: #dee2e6;
}

.ym-author-detail-card__avatar {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #e3f2fd;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ym-author-detail-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ym-author-detail-card__avatar--placeholder {
    font-size: 1.5rem;
    color: var(--ym-primary, #112d8d);
}

/* Avatar initials fallback (replaces FA user icon) */
.ym-avatar-initials {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--ym-primary, #112d8d);
    background: #e3f2fd;
    border-radius: 50%;
    text-transform: uppercase;
    user-select: none;
}

.ym-author-detail-card__info {
    flex: 1;
    min-width: 0;
}

.ym-author-detail-card__info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 0.375rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.ym-author-detail-card__info h4 a {
    color: var(--ym-primary, #112d8d);
    text-decoration: none;
}

.ym-author-detail-card__info h4 a:hover {
    text-decoration: underline;
}

.ym-author-detail-card__info p {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.ym-author-detail-card__info p i {
    font-size: 0.75rem;
    color: #adb5bd;
}

/* ── Editors & Reviewers (Sidebar) ───────────────────────────────────────────── */
.ym-editors-list,
.ym-reviewers-list {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.ym-editor-item,
.ym-reviewer-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
}

.ym-editor-item:hover,
.ym-reviewer-item:hover {
    background: #fff;
    border-color: #dee2e6;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.ym-editor-avatar,
.ym-reviewer-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.ym-editor-avatar--placeholder,
.ym-reviewer-avatar--placeholder {
    background: #e3f2fd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ym-primary, #112d8d);
    font-size: 1.125rem;
}

.ym-editor-info,
.ym-reviewer-info {
    flex: 1;
    min-width: 0;
}

.ym-editor-info h5,
.ym-reviewer-info h5 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #212529;
    margin: 0 0 0.25rem 0;
    line-height: 1.3;
}

.ym-editor-info p {
    font-size: 0.75rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Responsive Article Page ────────────────────────────────────────────────── */
@media (max-width: 991.98px) {
    .ym-article-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .ym-article-header {
        padding: 2.5rem 0 2.5rem;
    }
    
    .ym-article-header__title {
        font-size: 1.625rem;
    }
    
    .ym-content-block {
        padding: 1.5rem;
    }
    
    .ym-article-header__meta {
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .ym-article-header {
        padding: 2rem 0 2rem;
    }
    
    .ym-article-header__title {
        font-size: 1.375rem;
    }
    
    .ym-article-header__authors {
        font-size: 0.9375rem;
    }
    
    .ym-article-header__meta {
        flex-direction: column;
        gap: 0.625rem;
    }
    
    .ym-content-block {
        padding: 1.25rem;
        border-radius: 8px;
    }
    
    .ym-content-block__title {
        font-size: 1.125rem;
    }
    
    .ym-keywords {
        padding: 0.875rem 1rem;
    }
    
    .ym-author-detail-card {
        flex-direction: column;
        text-align: center;
    }
    
    .ym-author-detail-card__avatar {
        width: 80px;
        height: 80px;
        margin: 0 auto;
    }
}
