/* ═══════════════════════════════════════════════════════════
   YELLOWMARK GLOBAL CSS — UNIFIED DESIGN SYSTEM
   Version: 2.0
   Last Updated: February 2026
   ═══════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────── 
   CSS VARIABLES — GLOBAL COLOR PALETTE & DESIGN TOKENS
   ─────────────────────────────────────────────────────────── */
:root {
    /* Primary Brand Colors */
    --ym-primary: #112d8d;
    --ym-primary-dark: #0a1e5e;
    --ym-primary-light: #2a5cc7;
    --ym-primary-rgb: 17, 45, 141;
    
    /* Secondary/Accent Colors */
    --ym-secondary: #960505;
    --ym-secondary-dark: #6e0404;
    --ym-accent: #c8102e;
    --ym-accent-hover: #a30d24;
    
    /* Success, Warning, Danger */
    --ym-success: #059669;
    --ym-success-light: #dcfce7;
    --ym-warning: #f59e0b;
    --ym-warning-light: #fef3c7;
    --ym-danger: #dc2626;
    --ym-danger-light: #fee2e2;
    --ym-info: #3b82f6;
    --ym-info-light: #dbeafe;
    
    /* Neutral/Grayscale */
    --ym-text: #1e293b;
    --ym-text-secondary: #64748b;
    --ym-text-muted: #94a3b8;
    --ym-border: #e2e8f0;
    --ym-border-light: #f1f5f9;
    
    /* Backgrounds */
    --ym-bg: #ffffff;
    --ym-bg-alt: #f8fafc;
    --ym-bg-subtle: #f1f5f9;
    
    /* Shadows */
    --ym-shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --ym-shadow: 0 2px 8px rgba(0,0,0,0.06);
    --ym-shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --ym-shadow-lg: 0 8px 24px rgba(0,0,0,0.1);
    --ym-shadow-xl: 0 12px 32px rgba(0,0,0,0.12);
    
    /* Border Radius */
    --ym-radius-sm: 4px;
    --ym-radius: 8px;
    --ym-radius-md: 10px;
    --ym-radius-lg: 12px;
    --ym-radius-xl: 16px;
    --ym-radius-full: 9999px;
    
    /* Spacing Scale */
    --ym-space-xs: 4px;
    --ym-space-sm: 8px;
    --ym-space-md: 16px;
    --ym-space-lg: 24px;
    --ym-space-xl: 32px;
    --ym-space-2xl: 48px;
    --ym-space-3xl: 64px;
    
    /* Typography */
    --ym-font-family: 'Figtree', sans-serif;
    --ym-line-height-tight: 1.2;
    --ym-line-height-normal: 1.5;
    --ym-line-height-relaxed: 1.75;
}

/* ─────────────────────────────────────────────────────────── 
   GLOBAL RESET & BASE STYLES
   ─────────────────────────────────────────────────────────── */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--ym-font-family) !important;
    color: var(--ym-text);
    background: var(--ym-bg);
    line-height: var(--ym-line-height-normal);
    overflow-x: hidden;
}

/* Remove default main padding */
main {
    padding: 0;
    margin: 0;
}

/* ─────────────────────────────────────────────────────────── 
   CONTAINER & LAYOUT SYSTEM
   ─────────────────────────────────────────────────────────── */
.container {
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.container-fluid {
    width: 100%;
    padding: 0 20px;
}

.container-narrow {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Spacing */
.section {
    padding: var(--ym-space-3xl) 0;
}

.section-sm {
    padding: var(--ym-space-2xl) 0;
}

.section-lg {
    padding: 80px 0;
}

/* Background Variants */
.section--alt {
    background: var(--ym-bg-alt);
}

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

/* ─────────────────────────────────────────────────────────── 
   TYPOGRAPHY SYSTEM
   ─────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--ym-font-family);
    font-weight: 700;
    line-height: var(--ym-line-height-tight);
    color: var(--ym-text);
    margin: 0 0 1rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.125rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin: 0 0 1rem;
    line-height: var(--ym-line-height-relaxed);
    color: var(--ym-text-secondary);
}

.lead {
    font-size: 1.125rem;
    font-weight: 400;
    line-height: var(--ym-line-height-relaxed);
    color: var(--ym-text-secondary);
}

a {
    color: var(--ym-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--ym-primary-dark);
    text-decoration: none;
}

/* ─────────────────────────────────────────────────────────── 
   BUTTON SYSTEM — UNIFIED ACROSS ALL PAGES
   ─────────────────────────────────────────────────────────── */
.ym-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--ym-radius);
    font-family: var(--ym-font-family);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none !important;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    line-height: 1.5;
}

.ym-btn:focus,
.ym-btn:active {
    outline: none !important;
    box-shadow: none !important;
}

/* Primary Button */
.ym-btn--primary {
    background: var(--ym-accent);
    color: #fff !important;
    border-color: var(--ym-accent);
}

.ym-btn--primary:hover {
    background: var(--ym-accent-hover);
    border-color: var(--ym-accent-hover);
    color: #fff !important;
    transform: translateY(-1px);
}

/* Secondary Button */
.ym-btn--secondary {
    background: var(--ym-primary);
    color: #fff !important;
    border-color: var(--ym-primary);
}

.ym-btn--secondary:hover {
    background: var(--ym-primary-dark);
    border-color: var(--ym-primary-dark);
    color: #fff !important;
}

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

.ym-btn--outline:hover {
    background: var(--ym-primary);
    color: #fff !important;
}

/* White Button */
.ym-btn--white {
    background: #fff;
    color: var(--ym-primary) !important;
    border-color: #fff;
}

.ym-btn--white:hover {
    background: rgba(255,255,255,0.9);
}

/* Button Sizes */
.ym-btn--sm {
    padding: 8px 20px;
    font-size: 0.875rem;
}

.ym-btn--lg {
    padding: 14px 32px;
    font-size: 1rem;
}

/* ─────────────────────────────────────────────────────────── 
   CARD SYSTEM
   ─────────────────────────────────────────────────────────── */
.ym-card {
    background: var(--ym-bg);
    border: 1px solid var(--ym-border);
    border-radius: var(--ym-radius-md);
    padding: var(--ym-space-lg);
    transition: all 0.3s ease;
}

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

.ym-card__header {
    margin-bottom: var(--ym-space-md);
}

.ym-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--ym-text);
    margin-bottom: 0.5rem;
}

.ym-card__content {
    color: var(--ym-text-secondary);
    font-size: 0.95rem;
    line-height: var(--ym-line-height-relaxed);
}

/* ─────────────────────────────────────────────────────────── 
   BADGE & LABEL SYSTEM
   ─────────────────────────────────────────────────────────── */
.ym-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: var(--ym-radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ym-badge--primary {
    background: rgba(var(--ym-primary-rgb), 0.1);
    color: var(--ym-primary);
}

.ym-badge--success {
    background: var(--ym-success-light);
    color: var(--ym-success);
}

.ym-badge--warning {
    background: var(--ym-warning-light);
    color: var(--ym-warning);
}

.ym-badge--danger {
    background: var(--ym-danger-light);
    color: var(--ym-danger);
}

/* ─────────────────────────────────────────────────────────── 
   FORM ELEMENTS
   ─────────────────────────────────────────────────────────── */
.ym-form-group {
    margin-bottom: var(--ym-space-lg);
}

.ym-form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ym-text);
    margin-bottom: var(--ym-space-sm);
}

.ym-form-input,
.ym-form-textarea,
.ym-form-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--ym-border);
    border-radius: var(--ym-radius);
    font-family: var(--ym-font-family);
    font-size: 0.95rem;
    color: var(--ym-text);
    background: var(--ym-bg);
    transition: all 0.2s ease;
}

.ym-form-input:focus,
.ym-form-textarea:focus,
.ym-form-select:focus {
    outline: none;
    border-color: var(--ym-primary);
    box-shadow: 0 0 0 3px rgba(var(--ym-primary-rgb), 0.1);
}

.ym-form-textarea {
    min-height: 120px;
    resize: vertical;
}

.ym-form-help {
    font-size: 0.8rem;
    color: var(--ym-text-muted);
    margin-top: var(--ym-space-xs);
}

.ym-form-error {
    font-size: 0.8rem;
    color: var(--ym-danger);
    margin-top: var(--ym-space-xs);
}

/* ─────────────────────────────────────────────────────────── 
   TABLE SYSTEM
   ─────────────────────────────────────────────────────────── */
.ym-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--ym-bg);
    border: 1px solid var(--ym-border);
    border-radius: var(--ym-radius-md);
    overflow: hidden;
}

.ym-table th {
    background: var(--ym-bg-subtle);
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--ym-text);
    border-bottom: 2px solid var(--ym-border);
}

.ym-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--ym-border-light);
    color: var(--ym-text-secondary);
    font-size: 0.9rem;
}

.ym-table tr:last-child td {
    border-bottom: none;
}

.ym-table tr:hover {
    background: var(--ym-bg-alt);
}

/* ─────────────────────────────────────────────────────────── 
   ALERT & NOTIFICATION SYSTEM
   ─────────────────────────────────────────────────────────── */
.ym-alert {
    padding: 16px 20px;
    border-radius: var(--ym-radius);
    border-left: 4px solid;
    margin-bottom: var(--ym-space-lg);
}

.ym-alert--success {
    background: var(--ym-success-light);
    border-color: var(--ym-success);
    color: var(--ym-success);
}

.ym-alert--warning {
    background: var(--ym-warning-light);
    border-color: var(--ym-warning);
    color: var(--ym-warning);
}

.ym-alert--danger {
    background: var(--ym-danger-light);
    border-color: var(--ym-danger);
    color: var(--ym-danger);
}

.ym-alert--info {
    background: var(--ym-info-light);
    border-color: var(--ym-info);
    color: var(--ym-info);
}

/* ─────────────────────────────────────────────────────────── 
   BREADCRUMB SYSTEM
   ─────────────────────────────────────────────────────────── */
.ym-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: var(--ym-space-md) 0;
    font-size: 0.875rem;
}

.ym-breadcrumb__item {
    color: var(--ym-text-muted);
}

.ym-breadcrumb__item--active {
    color: var(--ym-text);
    font-weight: 600;
}

.ym-breadcrumb__separator {
    color: var(--ym-text-muted);
}

/* ─────────────────────────────────────────────────────────── 
   PAGINATION
   ─────────────────────────────────────────────────────────── */
.ym-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: var(--ym-space-2xl) 0;
}

.ym-pagination__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--ym-border);
    border-radius: var(--ym-radius);
    color: var(--ym-text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.ym-pagination__item:hover {
    border-color: var(--ym-primary);
    color: var(--ym-primary);
    background: var(--ym-bg-alt);
}

.ym-pagination__item--active {
    background: var(--ym-primary);
    color: #fff;
    border-color: var(--ym-primary);
}

/* ─────────────────────────────────────────────────────────── 
   UTILITY CLASSES
   ─────────────────────────────────────────────────────────── */

/* Text Alignment */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* Text Colors */
.text-primary { color: var(--ym-primary); }
.text-secondary { color: var(--ym-text-secondary); }
.text-muted { color: var(--ym-text-muted); }
.text-success { color: var(--ym-success); }
.text-danger { color: var(--ym-danger); }

/* Font Weights */
.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

/* Spacing Utilities */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--ym-space-sm); }
.mt-2 { margin-top: var(--ym-space-md); }
.mt-3 { margin-top: var(--ym-space-lg); }
.mt-4 { margin-top: var(--ym-space-xl); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--ym-space-sm); }
.mb-2 { margin-bottom: var(--ym-space-md); }
.mb-3 { margin-bottom: var(--ym-space-lg); }
.mb-4 { margin-bottom: var(--ym-space-xl); }

/* Display Utilities */
.d-none { display: none; }
.d-block { display: block; }
.d-inline { display: inline; }
.d-inline-block { display: inline-block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

/* Flex Utilities */
.flex-row { flex-direction: row; }
.flex-column { flex-direction: column; }
.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.gap-1 { gap: var(--ym-space-sm); }
.gap-2 { gap: var(--ym-space-md); }
.gap-3 { gap: var(--ym-space-lg); }

/* ─────────────────────────────────────────────────────────── 
   RESPONSIVE BREAKPOINTS
   ─────────────────────────────────────────────────────────── */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
    }
}

@media (max-width: 991px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .section {
        padding: var(--ym-space-2xl) 0;
    }
}

@media (max-width: 768px) {
    .container,
    .container-narrow {
        padding: 0 16px;
    }
    
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    
    .ym-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 575px) {
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.25rem; }
    
    .section {
        padding: var(--ym-space-xl) 0;
    }
    
    .ym-card {
        padding: var(--ym-space-md);
    }
}

/* ═══════════════════════════════════════════════════════════
   COMPREHENSIVE UTILITY CLASSES
   To replace inline styles throughout the application
   ═══════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────── 
   DISPLAY & VISIBILITY
   ─────────────────────────────────────────────────────────── */
.d-block { display: block !important; }
.d-inline { display: inline !important; }
.d-inline-block { display: inline-block !important; }
.d-none { display: none !important; }
.d-grid { display: grid !important; }
.d-inline-flex { display: inline-flex !important; }

/* ─────────────────────────────────────────────────────────── 
   POSITIONING
   ─────────────────────────────────────────────────────────── */
.pos-relative { position: relative !important; }
.pos-absolute { position: absolute !important; }
.pos-fixed { position: fixed !important; }
.pos-sticky { position: sticky !important; }
.v-align-middle { vertical-align: middle !important; }
.v-align-top { vertical-align: top !important; }
.v-align-bottom { vertical-align: bottom !important; }

/* ─────────────────────────────────────────────────────────── 
   TEXT ALIGNMENT
   ─────────────────────────────────────────────────────────── */
.text-left { text-align: left !important; }
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }
.text-justify { text-align: justify !important; }

/* ─────────────────────────────────────────────────────────── 
   FONT SIZES
   ─────────────────────────────────────────────────────────── */
.fs-06 { font-size: 0.6rem !important; }
.fs-0625 { font-size: 0.625rem !important; }
.fs-0687 { font-size: 0.6875rem !important; }
.fs-075 { font-size: 0.75rem !important; }
.fs-08125 { font-size: 0.8125rem !important; }
.fs-0875 { font-size: 0.875rem !important; }
.fs-09375 { font-size: 0.9375rem !important; }
.fs-1 { font-size: 1rem !important; }
.fs-1125 { font-size: 1.125rem !important; }
.fs-125 { font-size: 1.25rem !important; }
.fs-15 { font-size: 1.5rem !important; }
.fs-175 { font-size: 1.75rem !important; }
.fs-2 { font-size: 2rem !important; }
.fs-24 { font-size: 2.4rem !important; }
.fs-28 { font-size: 28px !important; }
.fs-32 { font-size: 32px !important; }

/* ─────────────────────────────────────────────────────────── 
   FONT WEIGHTS
   ─────────────────────────────────────────────────────────── */
.fw-300 { font-weight: 300 !important; }
.fw-400 { font-weight: 400 !important; }
.fw-500 { font-weight: 500 !important; }
.fw-600 { font-weight: 600 !important; }
.fw-700 { font-weight: 700 !important; }
.fw-800 { font-weight: 800 !important; }

/* ─────────────────────────────────────────────────────────── 
   TEXT COLORS
   ─────────────────────────────────────────────────────────── */
.text-primary { color: var(--ym-primary) !important; }
.text-secondary { color: var(--ym-text-secondary) !important; }
.text-muted { color: var(--ym-text-muted) !important; }
.text-white { color: #ffffff !important; }
.text-danger { color: var(--ym-danger) !important; }
.text-success { color: var(--ym-success) !important; }
.text-warning { color: var(--ym-warning) !important; }
.text-info { color: var(--ym-info) !important; }
.text-dark { color: #1a1a2e !important; }
.text-gray-333 { color: #333333 !important; }
.text-gray-495 { color: #495057 !important; }
.text-gray-555 { color: #555555 !important; }
.text-gray-666 { color: #666666 !important; }
.text-gray-868 { color: #868e96 !important; }
.text-gray-adb { color: #adb5bd !important; }
.text-gray-ced { color: #ced4da !important; }
.text-gray-999 { color: #999999 !important; }
.text-gray-bbb { color: #bbbbbb !important; }
.text-blue-4263 { color: #4263eb !important; }
.text-green-2b8 { color: #2b8a3e !important; }
.text-orange-e67 { color: #e67700 !important; }
.text-purple-7048 { color: #7048e8 !important; }
.text-red-e031 { color: #e03131 !important; }

/* ─────────────────────────────────────────────────────────── 
   BACKGROUND COLORS
   ─────────────────────────────────────────────────────────── */
.bg-primary { background: var(--ym-primary) !important; }
.bg-secondary { background: var(--ym-secondary) !important; }
.bg-light { background: var(--ym-bg-subtle) !important; }
.bg-white { background: #ffffff !important; }
.bg-transparent { background: transparent !important; }
.bg-f8f9fa { background: #f8f9fa !important; }
.bg-f0f4ff { background: #f0f4ff !important; }
.bg-f1f3f5 { background: #f1f3f5 !important; }
.bg-ebfbee { background: #ebfbee !important; }
.bg-dbe4ff { background: #dbe4ff !important; }
.bg-f3f0ff { background: #f3f0ff !important; }
.bg-fafbfc { background: #fafbfc !important; }
.bg-fff3bf { background: #fff3bf !important; }

/* ─────────────────────────────────────────────────────────── 
   SPACING - MARGINS
   ─────────────────────────────────────────────────────────── */
.m-0 { margin: 0 !important; }
.m-auto { margin: auto !important; }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: var(--ym-space-sm) !important; }
.mt-2 { margin-top: var(--ym-space-md) !important; }
.mt-3 { margin-top: var(--ym-space-lg) !important; }
.mt-4 { margin-top: var(--ym-space-xl) !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: var(--ym-space-sm) !important; }
.mb-2 { margin-bottom: var(--ym-space-md) !important; }
.mb-3 { margin-bottom: var(--ym-space-lg) !important; }
.mb-4 { margin-bottom: var(--ym-space-xl) !important; }
.ml-1 { margin-left: var(--ym-space-sm) !important; }
.ml-2 { margin-left: var(--ym-space-md) !important; }
.ml-auto { margin-left: auto !important; }
.mr-1 { margin-right: var(--ym-space-sm) !important; }
.mr-2 { margin-right: var(--ym-space-md) !important; }
.my-2 { margin-top: var(--ym-space-md) !important; margin-bottom: var(--ym-space-md) !important; }
.mx-2 { margin-left: var(--ym-space-md) !important; margin-right: var(--ym-space-md) !important; }

/* ─────────────────────────────────────────────────────────── 
   SPACING - PADDING
   ─────────────────────────────────────────────────────────── */
.p-0 { padding: 0 !important; }
.p-1 { padding: var(--ym-space-sm) !important; }
.p-2 { padding: var(--ym-space-md) !important; }
.p-3 { padding: var(--ym-space-lg) !important; }
.p-4 { padding: var(--ym-space-xl) !important; }
.pt-0 { padding-top: 0 !important; }
.pt-1 { padding-top: var(--ym-space-sm) !important; }
.pt-2 { padding-top: var(--ym-space-md) !important; }
.pt-3 { padding-top: var(--ym-space-lg) !important; }
.pb-0 { padding-bottom: 0 !important; }
.pb-1 { padding-bottom: var(--ym-space-sm) !important; }
.pb-2 { padding-bottom: var(--ym-space-md) !important; }
.pb-3 { padding-bottom: var(--ym-space-lg) !important; }
.px-1 { padding-left: var(--ym-space-sm) !important; padding-right: var(--ym-space-sm) !important; }
.px-2 { padding-left: var(--ym-space-md) !important; padding-right: var(--ym-space-md) !important; }
.px-3 { padding-left: var(--ym-space-lg) !important; padding-right: var(--ym-space-lg) !important; }
.py-1 { padding-top: var(--ym-space-sm) !important; padding-bottom: var(--ym-space-sm) !important; }
.py-2 { padding-top: var(--ym-space-md) !important; padding-bottom: var(--ym-space-md) !important; }
.py-3 { padding-top: var(--ym-space-lg) !important; padding-bottom: var(--ym-space-lg) !important; }

/* ─────────────────────────────────────────────────────────── 
   BORDERS
   ─────────────────────────────────────────────────────────── */
.border-0 { border: none !important; }
.border-1 { border: 1px solid var(--ym-border) !important; }
.border-2 { border: 2px solid var(--ym-border) !important; }
.border-3 { border: 3px solid !important; }
.border-top-0 { border-top: none !important; }
.border-top-1 { border-top: 1px solid var(--ym-border) !important; }
.border-top-2 { border-top: 2px solid !important; }
.border-top-3 { border-top: 3px solid !important; }
.border-bottom-1 { border-bottom: 1px solid var(--ym-border) !important; }
.border-right-0 { border-right: none !important; }
.border-left-3 { border-left: 3px solid !important; }
.border-color-primary { border-color: var(--ym-primary) !important; }
.border-color-e2e8f0 { border-color: #e2e8f0 !important; }
.border-color-f1f3f5 { border-color: #f1f3f5 !important; }
.border-color-dbe4ff { border-color: #dbe4ff !important; }

/* ─────────────────────────────────────────────────────────── 
   BORDER RADIUS
   ─────────────────────────────────────────────────────────── */
.border-radius-0 { border-radius: 0 !important; }
.border-radius-4 { border-radius: 4px !important; }
.border-radius-6 { border-radius: 6px !important; }
.border-radius-8 { border-radius: 8px !important; }
.border-radius-10 { border-radius: 10px !important; }
.border-radius-12 { border-radius: 12px !important; }
.border-radius-50 { border-radius: 50% !important; }
.border-radius-full { border-radius: 9999px !important; }

/* ─────────────────────────────────────────────────────────── 
   WIDTHS & HEIGHTS
   ─────────────────────────────────────────────────────────── */
.w-100 { width: 100% !important; }
.w-auto { width: auto !important; }
.w-16 { width: 16px !important; }
.w-36 { width: 36px !important; }
.w-64 { width: 64px !important; }
.w-72 { width: 72px !important; }
.h-100 { height: 100% !important; }
.h-auto { height: auto !important; }
.h-16 { height: 16px !important; }
.h-36 { height: 36px !important; }
.h-64 { height: 64px !important; }
.h-72 { height: 72px !important; }
.max-w-full { max-width: 100% !important; }
.max-w-200 { max-width: 200px !important; }
.max-w-260 { max-width: 260px !important; }
.max-w-280 { max-width: 280px !important; }
.max-w-300 { max-width: 300px !important; }
.max-w-600 { max-width: 600px !important; }
.min-w-0 { min-width: 0 !important; }
.min-w-120 { min-width: 120px !important; }
.min-w-180 { min-width: 180px !important; }
.min-w-200 { min-width: 200px !important; }
.min-w-220 { min-width: 220px !important; }
.min-h-100 { min-height: 100px !important; }

/* ─────────────────────────────────────────────────────────── 
   LINE HEIGHTS
   ─────────────────────────────────────────────────────────── */
.lh-1 { line-height: 1 !important; }
.lh-13 { line-height: 1.3 !important; }
.lh-125 { line-height: 1.25 !important; }
.lh-15 { line-height: 1.5 !important; }
.lh-16 { line-height: 1.6 !important; }
.lh-17 { line-height: 1.7 !important; }
.lh-175 { line-height: 1.75 !important; }

/* ─────────────────────────────────────────────────────────── 
   OVERFLOW
   ─────────────────────────────────────────────────────────── */
.overflow-hidden { overflow: hidden !important; }
.overflow-auto { overflow: auto !important; }
.overflow-x-auto { overflow-x: auto !important; }
.overflow-y-auto { overflow-y: auto !important; }

/* ─────────────────────────────────────────────────────────── 
   TEXT UTILITIES
   ─────────────────────────────────────────────────────────── */
.text-decoration-none { text-decoration: none !important; }
.text-ellipsis { text-overflow: ellipsis; overflow: hidden; white-space: nowrap; }
.text-uppercase { text-transform: uppercase !important; }
.text-capitalize { text-transform: capitalize !important; }
.text-lowercase { text-transform: lowercase !important; }
.letter-spacing-04 { letter-spacing: 0.04em !important; }
.letter-spacing-05 { letter-spacing: 0.05em !important; }
.letter-spacing-08 { letter-spacing: 0.08em !important; }
.letter-spacing-2 { letter-spacing: 2px !important; }
.letter-spacing-5 { letter-spacing: 0.5px !important; }
.letter-spacing-8 { letter-spacing: 8px !important; }
.word-break-all { word-break: break-all !important; }
.white-space-nowrap { white-space: nowrap !important; }
.white-space-pre-wrap { white-space: pre-wrap !important; }

/* ─────────────────────────────────────────────────────────── 
   CURSOR
   ─────────────────────────────────────────────────────────── */
.cursor-pointer { cursor: pointer !important; }
.cursor-not-allowed { cursor: not-allowed !important; }
.cursor-default { cursor: default !important; }

/* ─────────────────────────────────────────────────────────── 
   OPACITY
   ─────────────────────────────────────────────────────────── */
.opacity-0 { opacity: 0 !important; }
.opacity-50 { opacity: 0.5 !important; }
.opacity-60 { opacity: 0.6 !important; }
.opacity-85 { opacity: 0.85 !important; }
.opacity-100 { opacity: 1 !important; }

/* ─────────────────────────────────────────────────────────── 
   TRANSITIONS
   ─────────────────────────────────────────────────────────── */
.transition-all { transition: all 0.3s ease !important; }
.transition-150 { transition: all 0.15s ease !important; }
.transition-none { transition: none !important; }

/* ─────────────────────────────────────────────────────────── 
   SHADOWS
   ─────────────────────────────────────────────────────────── */
.shadow-none { box-shadow: none !important; }
.shadow-sm { box-shadow: var(--ym-shadow-sm) !important; }
.shadow { box-shadow: var(--ym-shadow) !important; }
.shadow-md { box-shadow: var(--ym-shadow-md) !important; }
.shadow-lg { box-shadow: var(--ym-shadow-lg) !important; }
.shadow-xl { box-shadow: var(--ym-shadow-xl) !important; }

/* ─────────────────────────────────────────────────────────── 
   FLEX UTILITIES
   ─────────────────────────────────────────────────────────── */
.flex-1 { flex: 1 !important; }
.flex-shrink-0 { flex-shrink: 0 !important; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-col { flex-direction: column !important; }

/* ─────────────────────────────────────────────────────────── 
   GRID UTILITIES
   ─────────────────────────────────────────────────────────── */
.grid-cols-1fr-1fr { grid-template-columns: 1fr 1fr !important; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr) !important; }
.grid-cols-auto-fit { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important; }
.grid-span-2 { grid-column: span 2 !important; }

/* ─────────────────────────────────────────────────────────── 
   OBJECT FIT
   ─────────────────────────────────────────────────────────── */
.object-cover { object-fit: cover !important; }
.object-contain { object-fit: contain !important; }

/* ─────────────────────────────────────────────────────────── 
   Z-INDEX
   ─────────────────────────────────────────────────────────── */
.z-minus-1 { z-index: -1 !important; }
.z-minus-2 { z-index: -2 !important; }
.z-0 { z-index: 0 !important; }
.z-10 { z-index: 10 !important; }

/* END OF UTILITY CLASSES */

/* ============================================
   IMAGE SIZING & OBJECT-FIT UTILITIES
   ============================================ */

/* Profile Images - Responsive Circles */
.img-profile-xs {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 1px solid #e9ecef !important;
}

.img-profile-sm {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 2px solid #e9ecef !important;
}

.img-profile-md {
    width: 64px !important;
    height: 64px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 2px solid #e9ecef !important;
}

.img-profile-lg {
    width: 80px !important;
    height: 80px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 2px solid #e9ecef !important;
}

.img-profile-xl {
    width: 120px !important;
    height: 120px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 3px solid #e9ecef !important;
}

/* Content Images */
.img-cover {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.img-contain {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

.img-fluid {
    max-width: 100% !important;
    height: auto !important;
}

/* Banner/Hero Images */
.img-banner {
    width: 100% !important;
    max-height: 400px !important;
    object-fit: cover !important;
    border-radius: 12px !important;
}

.img-hero {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
}

/* Preview Images */
.img-preview {
    max-height: 150px !important;
    max-width: 100% !important;
    border-radius: 8px !important;
    object-fit: contain !important;
}

.img-preview-lg {
    max-height: 200px !important;
    max-width: 100% !important;
    border-radius: 8px !important;
    object-fit: contain !important;
}

.img-preview-sm {
    max-height: 100px !important;
    max-width: 100% !important;
    border-radius: 6px !important;
    object-fit: contain !important;
}

/* Logo Sizes */
.logo-xs {
    height: 20px !important;
    width: auto !important;
    display: block !important;
}

.logo-sm {
    height: 27px !important;
    width: auto !important;
    display: block !important;
}

.logo-md {
    height: 38px !important;
    width: auto !important;
    display: block !important;
}

.logo-lg {
    height: 48px !important;
    width: auto !important;
    display: block !important;
}

/* ============================================
   BADGE SYSTEM
   ============================================ */

.badge-warning {
    background: #fff3bf !important;
    color: #e67700 !important;
    font-size: 0.65rem !important;
    font-weight: 600 !important;
    padding: 2px 10px !important;
    border-radius: 999px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}

.badge-info {
    background: #dbe4ff !important;
    color: #4263eb !important;
    font-size: 0.65rem !important;
    font-weight: 600 !important;
    padding: 2px 10px !important;
    border-radius: 999px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}

.badge-success {
    background: #d3f9d8 !important;
    color: #2b8a3e !important;
    font-size: 0.65rem !important;
    font-weight: 600 !important;
    padding: 2px 10px !important;
    border-radius: 999px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}

.badge-danger {
    background: #ffe2e5 !important;
    color: #c92a2a !important;
    font-size: 0.65rem !important;
    font-weight: 600 !important;
    padding: 2px 10px !important;
    border-radius: 999px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}

.badge-primary {
    background: #fee2e2 !important;
    color: #c8102e !important;
    font-size: 0.65rem !important;
    font-weight: 600 !important;
    padding: 2px 10px !important;
    border-radius: 999px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}

/* ============================================
   COMPONENT PADDING SYSTEM
   ============================================ */

.card-padding-sm {
    padding: 16px !important;
}

.card-padding {
    padding: 20px !important;
}

.card-padding-lg {
    padding: 24px !important;
}

/* Section Spacing */
.section-spacing {
    padding: 40px 0 !important;
}

.section-spacing-sm {
    padding: 24px 0 !important;
}

.section-spacing-lg {
    padding: 60px 0 !important;
}

.section-spacing-xl {
    padding: 80px 0 !important;
}

/* ============================================
   DASHBOARD & STAT COMPONENTS
   ============================================ */

.stat-card {
    background: #fff !important;
    border: 1px solid #e9ecef !important;
    border-radius: 12px !important;
    padding: 20px !important;
    transition: box-shadow 0.2s ease !important;
}

.stat-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06) !important;
}

.stat-value {
    font-size: 2rem !important;
    font-weight: 700 !important;
    color: #212529 !important;
    line-height: 1.2 !important;
}

.stat-label {
    font-size: 0.875rem !important;
    color: #868e96 !important;
    font-weight: 500 !important;
    margin-top: 4px !important;
}

/* ============================================
   NAVBAR & NAVIGATION COMPONENTS
   ============================================ */

.navbar-main {
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
    padding: 10px 0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

/* ============================================
   EDITORIAL BOARD COMPONENTS
   ============================================ */

.eb-container {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 40px 20px !important;
}

.eb-section {
    margin-bottom: 48px !important;
}

.eb-section-title {
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    color: #343a40 !important;
    padding-bottom: 12px !important;
    margin-bottom: 24px !important;
    border-bottom: 2px solid #e9ecef !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.eb-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)) !important;
    gap: 20px !important;
}

.eb-card {
    background: #fff !important;
    border: 1px solid #e9ecef !important;
    border-radius: 12px !important;
    padding: 24px 20px !important;
    text-align: center !important;
    transition: box-shadow 0.2s ease, transform 0.2s ease !important;
}

.eb-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06) !important;
    transform: translateY(-2px) !important;
}

.eb-card-photo {
    width: 80px !important;
    height: 80px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    margin: 0 auto 14px !important;
    background: #f1f3f5 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.eb-card-name {
    font-size: 0.9375rem !important;
    font-weight: 700 !important;
    color: #212529 !important;
    margin-bottom: 4px !important;
}

.eb-card-name a {
    color: inherit !important;
    text-decoration: none !important;
}

.eb-card-name a:hover {
    color: #c8102e !important;
}

.eb-card-role {
    font-size: 0.75rem !important;
    color: #c8102e !important;
    font-weight: 600 !important;
    margin-bottom: 8px !important;
}

.eb-card-affiliation {
    font-size: 0.8125rem !important;
    color: #495057 !important;
    margin-bottom: 4px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.4 !important;
}

.eb-card-country {
    font-size: 0.75rem !important;
    color: #868e96 !important;
}

.eb-filter-bar {
    display: flex !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
    margin-bottom: 32px !important;
    padding-bottom: 20px !important;
    border-bottom: 1px solid #e9ecef !important;
}

.eb-nav-tab {
    padding: 8px 20px !important;
    border-radius: 6px !important;
    font-size: 0.8125rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    color: #495057 !important;
    background: #f1f3f5 !important;
    transition: all 0.2s ease !important;
    border: 1px solid transparent !important;
}

.eb-nav-tab:hover {
    background: #fee2e2 !important;
    color: #c8102e !important;
    border-color: #fecaca !important;
}

.eb-nav-tab.active {
    background: #c8102e !important;
    color: #fff !important;
    border-color: #c8102e !important;
}

.eb-empty {
    text-align: center !important;
    padding: 48px 20px !important;
    color: #868e96 !important;
    font-size: 0.9375rem !important;
}


/* ═══════════════════════════════════════════════════════════
   HOME PAGE & JOURNAL PAGE STYLES
   ═══════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────── 
   HERO SECTION
   ─────────────────────────────────────────────────────────── */
.ym-hero {
    position: relative;
    background: linear-gradient(145deg, #0b1d5e 0%, var(--ym-primary) 50%, #1a3a8f 100%);
    padding: 80px 0 72px;
    color: #fff;
    overflow: hidden;
}

.ym-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 600px 400px at 15% 80%, rgba(255,255,255,0.04) 0%, transparent 70%),
        radial-gradient(ellipse 500px 350px at 85% 20%, rgba(255,255,255,0.03) 0%, transparent 70%);
    z-index: 0;
}

.ym-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 820px;
}

.ym-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: var(--ym-radius-full);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 28px;
    border: 1px solid rgba(255,255,255,0.15);
}

.ym-hero__title {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    color: #fff;
    letter-spacing: -0.5px;
}

.ym-hero__subtitle {
    font-size: 1.1875rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.85);
    margin-bottom: 40px;
    max-width: 640px;
}

.ym-hero__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
}

.ym-hero__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 720px;
}

.ym-stat-card {
    text-align: center;
    padding: 20px 16px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border-radius: var(--ym-radius-md);
    border: 1px solid rgba(255,255,255,0.12);
    transition: background 0.3s ease;
}

.ym-stat-card:hover {
    background: rgba(255,255,255,0.14);
}

.ym-stat-card__value {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 6px;
    color: #fff;
}

.ym-stat-card__label {
    font-size: 0.8125rem;
    opacity: 0.8;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ── Hero Outline-White Button ── */
.ym-btn--outline-white {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
}

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

/* ─────────────────────────────────────────────────────────── 
   SECTION SYSTEM
   ─────────────────────────────────────────────────────────── */
.ym-section {
    padding: 80px 0;
}

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

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

.ym-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

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

.ym-section__title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--ym-text);
    margin: 0;
}

.ym-section__subtitle {
    font-size: 1.125rem;
    color: var(--ym-text-secondary);
    margin: 12px 0 0;
    max-width: 700px;
}

.ym-section__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ym-primary);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.ym-section__link:hover {
    color: var(--ym-primary-dark);
    gap: 10px;
}

/* ─────────────────────────────────────────────────────────── 
   FEATURED & TRENDING GRID
   ─────────────────────────────────────────────────────────── */
.ym-featured-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 32px;
}

.ym-featured-card {
    position: relative;
    height: 500px;
    border-radius: var(--ym-radius-lg);
    overflow: hidden;
    box-shadow: var(--ym-shadow-lg);
}

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

.ym-featured-card__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.ym-featured-card__image--gradient {
    background: linear-gradient(135deg, var(--ym-primary) 0%, var(--ym-secondary) 100%);
}

.ym-featured-card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0) 100%);
    color: #fff;
    z-index: 1;
}

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

.ym-badge--accent {
    background: var(--ym-accent);
    color: #fff;
}

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

.ym-badge--oa {
    background: var(--ym-success);
    color: #fff;
}

.ym-featured-card__title {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
}

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

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

.ym-featured-card__authors {
    font-size: 0.95rem;
    margin-bottom: 16px;
    opacity: 0.95;
}

.ym-featured-card__authors .ym-author-name--registered {
    color: #fff;
    border-bottom: 1px dashed rgba(255,255,255,0.5);
}

.ym-featured-card__authors .ym-author-name--registered:hover {
    color: #fff;
    border-bottom-color: #fff;
}

.ym-featured-card__authors .ym-author-name--guest {
    color: rgba(255,255,255,0.9);
}

.ym-featured-card__meta {
    display: flex;
    gap: 20px;
    font-size: 0.875rem;
    opacity: 0.9;
}

.ym-featured-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ─────────────────────────────────────────────────────────── 
   TRENDING STACK
   ─────────────────────────────────────────────────────────── */
.ym-trending-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ─────────────────────────────────────────────────────────── 
   ARTICLE CARDS
   ─────────────────────────────────────────────────────────── */
.ym-article-card {
    position: relative;
    background: var(--ym-bg);
    border: 1px solid var(--ym-border);
    border-radius: var(--ym-radius-md);
    padding: 20px;
    transition: all 0.3s ease;
}

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

.ym-article-card--compact {
    padding: 16px;
}

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

.ym-article-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.ym-article-card__type {
    font-size: 0.75rem;
    color: var(--ym-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.ym-article-card__title {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 10px;
}

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

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

.ym-article-card__authors {
    font-size: 0.875rem;
    color: var(--ym-text-secondary);
    margin-bottom: 12px;
}

.ym-article-card__meta {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--ym-text-muted);
}

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

/* ─────────────────────────────────────────────────────────── 
   JOURNAL CARDS
   ─────────────────────────────────────────────────────────── */
.ym-journals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}

.ym-journal-card {
    background: var(--ym-bg);
    border: 1px solid var(--ym-border);
    border-radius: var(--ym-radius-md);
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.ym-journal-card__cover {
    position: relative;
    width: 100%;
    /* height: 200px; */
    /*background: linear-gradient(135deg, var(--ym-primary) 0%, var(--ym-secondary) 100%);*/
}

.ym-journal-card__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ym-journal-card__cover-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #fff;
    gap: 12px;
}

.ym-journal-card__cover-placeholder span {
    font-size: 1.25rem;
    font-weight: 700;
}

.ym-journal-card__cover .ym-badge--oa {
    position: absolute;
    top: 12px;
    right: 12px;
}

.ym-journal-card__body {
    padding: 24px;
}

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

.ym-journal-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
}

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

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

.ym-journal-card__desc {
    font-size: 0.9rem;
    color: var(--ym-text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.ym-journal-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--ym-border-light);
}

.ym-journal-card__stats {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--ym-text-muted);
}

.ym-journal-card__stats span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ─────────────────────────────────────────────────────────── 
   PUBLICATION CARDS (Latest Publications)
   ─────────────────────────────────────────────────────────── */
.ym-publications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.ym-pub-card {
    position: relative;
    background: var(--ym-bg);
    border: 1px solid var(--ym-border);
    border-radius: var(--ym-radius-md);
    padding: 20px;
    transition: all 0.3s ease;
}

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

.ym-pub-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.ym-pub-card__date {
    font-size: 0.8rem;
    color: var(--ym-text-muted);
}

.ym-pub-card__title {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 10px;
}

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

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

.ym-pub-card__authors {
    font-size: 0.875rem;
    color: var(--ym-text-secondary);
    margin-bottom: 8px;
}

.ym-pub-card__doi {
    font-size: 0.8rem;
    color: var(--ym-text-muted);
    margin-bottom: 16px;
}

.ym-pub-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--ym-border-light);
}

.ym-pub-card__metrics {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--ym-text-muted);
}

.ym-pub-card__metrics span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

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

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

/* ─────────────────────────────────────────────────────────── 
   PERSONALIZED SECTION
   ─────────────────────────────────────────────────────────── */
.ym-personal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
}

.ym-personal-col__title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--ym-text);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ym-personal-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ym-personal-item {
    background: var(--ym-bg);
    border: 1px solid var(--ym-border);
    border-radius: var(--ym-radius);
    padding: 16px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.ym-personal-item:hover {
    box-shadow: var(--ym-shadow);
    border-color: var(--ym-primary-light);
}

.ym-personal-item h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ym-text);
    margin-bottom: 8px;
    line-height: 1.4;
}

.ym-personal-item__meta {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--ym-text-muted);
}

/* ─────────────────────────────────────────────────────────── 
   FEATURES GRID (Why Publish)
   ─────────────────────────────────────────────────────────── */
.ym-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.ym-feature-card {
    text-align: left;
    padding: 28px 24px;
    background: var(--ym-bg);
    border: 1px solid var(--ym-border);
    border-left: 4px solid var(--ym-secondary);
    border-radius: var(--ym-radius-md);
    transition: all 0.3s ease;
}

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

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

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

.ym-why-publish {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

/* ─────────────────────────────────────────────────────────── 
   RESPONSIVE DESIGN - HOME & JOURNAL PAGES
   ─────────────────────────────────────────────────────────── */
@media (max-width: 1200px) {
    .ym-featured-grid {
        grid-template-columns: 1fr;
    }
    
    .ym-journals-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 991px) {
    .ym-hero {
        padding: 72px 0 56px;
    }
    
    .ym-hero__title {
        font-size: 2.5rem;
    }
    
    .ym-hero__subtitle {
        font-size: 1.0625rem;
    }
    
    .ym-hero__stats {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }
    
    .ym-section {
        padding: 60px 0;
    }
    
    .ym-section__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .ym-featured-card {
        height: 400px;
    }
    
    .ym-personal-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .ym-hero__title {
        font-size: 2rem;
    }
    
    .ym-hero__subtitle {
        font-size: 1rem;
    }
    
    .ym-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .ym-hero__stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .ym-section__title {
        font-size: 1.75rem;
    }
    
    .ym-journals-grid,
    .ym-publications-grid {
        grid-template-columns: 1fr;
    }
    
    .ym-features-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
}

@media (max-width: 575px) {
    .ym-hero {
        padding: 56px 0 40px;
    }
    
    .ym-hero__title {
        font-size: 1.75rem;
    }
    
    .ym-hero__stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ym-section {
        padding: 40px 0;
    }
    
    .ym-featured-card {
        height: 350px;
    }
    
    .ym-featured-card__overlay {
        padding: 20px;
    }
    
    .ym-featured-card__title {
        font-size: 1.5rem;
    }
    
    .ym-personal-grid {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════════════════════
   JOURNAL PAGES (show.blade.php + subpages)
   ═══════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────── 
   JOURNAL HERO SPLIT BANNER
   ─────────────────────────────────────────────────────────── */
.jh-hero-split {
    display: grid;
    grid-template-columns: 60% 40%;
    min-height: 500px;
    background: var(--ym-bg);
    overflow: hidden;
}

.jh-hero-split__image {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--ym-primary) 0%, var(--ym-secondary) 100%);
}

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

.jh-hero-split__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--ym-primary) 0%, var(--ym-secondary) 100%);
}

.jh-hero-split__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 50px;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.jh-hero-split__brand {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.jh-hero-split__badge {
    display: inline-flex;
    padding: 6px 16px;
    background: var(--ym-primary);
    color: #fff;
    border-radius: var(--ym-radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.jh-hero-split__oa-badge {
    display: inline-flex;
    padding: 6px 16px;
    background: var(--ym-success);
    color: #fff;
    border-radius: var(--ym-radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.jh-hero-split__title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--ym-text);
    margin-bottom: 24px;
}

.jh-hero-split__meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.jh-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--ym-text-secondary);
}

.jh-meta-item i {
    color: var(--ym-primary);
    width: 20px;
}

.jh-split-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--ym-accent);
    color: #fff !important;
    border-radius: var(--ym-radius);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.jh-split-btn:hover {
    background: var(--ym-accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--ym-shadow-md);
}

/* ─────────────────────────────────────────────────────────── 
   JOURNAL HIGHLIGHTS
   ─────────────────────────────────────────────────────────── */
.jh-highlights {
    padding: 60px 0;
    background: var(--ym-bg);
}

.jh-highlights__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.jh-hl-card {
    text-align: center;
    padding: 28px 20px;
    background: var(--ym-bg-alt);
    border: 1px solid var(--ym-border);
    border-radius: var(--ym-radius-md);
    transition: all 0.3s ease;
}

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

.jh-hl-card h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--ym-text);
    margin-bottom: 10px;
}

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

/* ─────────────────────────────────────────────────────────── 
   JOURNAL SECTIONS
   ─────────────────────────────────────────────────────────── */
.jh-section {
    padding: 60px 0;
}

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

.jh-section__header {
    margin-bottom: 40px;
    text-align: left;
}

.jh-section__title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--ym-text);
    margin-bottom: 12px;
}

.jh-section__accent {
    width: 60px;
    height: 4px;
    background: var(--ym-accent);
    margin: 0;
}

.jh-section__more {
    text-align: center;
    margin-top: 40px;
}

/* ─────────────────────────────────────────────────────────── 
   JOURNAL ARTICLE CARDS
   ─────────────────────────────────────────────────────────── */
.jh-articles {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.jh-art-card {
    background: var(--ym-bg);
    border: 1px solid var(--ym-border);
    border-radius: var(--ym-radius-md);
    padding: 24px;
    transition: all 0.3s ease;
}

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

.jh-art-card__type {
    margin-bottom: 12px;
}

.jh-badge {
    display: inline-flex;
    padding: 4px 12px;
    background: rgba(var(--ym-primary-rgb), 0.1);
    color: var(--ym-primary);
    border-radius: var(--ym-radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.jh-badge--type {
    background: rgba(var(--ym-primary-rgb), 0.1);
    color: var(--ym-primary);
}

.jh-art-card__title {
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
}

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

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

.jh-art-card__authors {
    font-size: 0.95rem;
    color: var(--ym-text-secondary);
    margin-bottom: 16px;
}

.jh-art-card__meta {
    display: flex;
    gap: 20px;
    font-size: 0.875rem;
    color: var(--ym-text-muted);
    margin-bottom: 16px;
}

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

.jh-art-card__view {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.jh-art-card__view:hover {
    color: var(--ym-primary-dark);
    gap: 12px;
}

/* ─────────────────────────────────────────────────────────── 
   EDITORIAL BOARD CARDS
   ─────────────────────────────────────────────────────────── */
.jh-editors {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 28px;
}

.jh-ed-card {
    text-align: center;
    background: var(--ym-bg);
    border: 1px solid var(--ym-border);
    border-radius: var(--ym-radius-md);
    padding: 28px 20px;
    transition: all 0.3s ease;
}

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

.jh-ed-card__avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 16px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--ym-border);
}

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

.jh-ed-card__avatar-ph {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--ym-primary) 0%, var(--ym-secondary) 100%);
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
}

.jh-ed-card__name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--ym-text);
    margin-bottom: 6px;
}

.jh-ed-card__role {
    display: block;
    font-size: 0.875rem;
    color: var(--ym-primary);
    font-weight: 600;
    margin-bottom: 12px;
}

.jh-ed-card__aff {
    font-size: 0.875rem;
    color: var(--ym-text-secondary);
    line-height: 1.5;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.jh-ed-card__country {
    font-size: 0.8rem;
    color: var(--ym-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* ─────────────────────────────────────────────────────────── 
   PUBLICATION INFORMATION
   ─────────────────────────────────────────────────────────── */
.jh-pub-info {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.jh-pub-info__card {
    background: var(--ym-bg);
    border: 1px solid var(--ym-border);
    border-radius: var(--ym-radius-md);
    padding: 32px;
}

.jh-pub-info__card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ym-text);
    margin-bottom: 24px;
}

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

.jh-info-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--ym-border-light);
}

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

.jh-info-list li span {
    color: var(--ym-text-secondary);
    font-size: 0.9rem;
}

.jh-info-list li strong {
    color: var(--ym-text);
    font-weight: 600;
}

.jh-pub-info__links {
    background: var(--ym-bg-alt);
    border: 1px solid var(--ym-border);
    border-radius: var(--ym-radius-md);
    padding: 32px;
}

.jh-pub-info__links h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ym-text);
    margin-bottom: 24px;
}

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

.jh-resource-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--ym-bg);
    border: 1px solid var(--ym-border);
    border-radius: var(--ym-radius);
    color: var(--ym-text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

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

.jh-resource-links a i {
    color: var(--ym-primary);
    width: 20px;
}

/* ─────────────────────────────────────────────────────────── 
   JOURNAL BUTTONS
   ─────────────────────────────────────────────────────────── */
.jh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: var(--ym-radius);
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.jh-btn--primary {
    background: var(--ym-accent);
    color: #fff !important;
    border: 2px solid var(--ym-accent);
}

.jh-btn--primary:hover {
    background: var(--ym-accent-hover);
    border-color: var(--ym-accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--ym-shadow-md);
}

/* ─────────────────────────────────────────────────────────── 
   EMPTY STATES
   ─────────────────────────────────────────────────────────── */
.jh-empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--ym-text-secondary);
}

.jh-empty i {
    color: var(--ym-text-muted);
    margin-bottom: 20px;
}

.jh-empty h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ym-text);
    margin-bottom: 12px;
}

.jh-empty p {
    font-size: 1rem;
    color: var(--ym-text-secondary);
}

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

.jh-empty a:hover {
    text-decoration: underline;
}

/* ─────────────────────────────────────────────────────────── 
   JOURNAL PAGE RESPONSIVE
   ─────────────────────────────────────────────────────────── */
@media (max-width: 1200px) {
    .jh-pub-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991px) {
    .jh-hero-split {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .jh-hero-split__image {
        height: 300px;
    }
    
    .jh-hero-split__content {
        padding: 40px 30px;
    }
    
    .jh-hero-split__title {
        font-size: 2rem;
    }
    
    .jh-highlights__grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .jh-editors {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .jh-hero-split__content {
        padding: 30px 20px;
    }
    
    .jh-hero-split__title {
        font-size: 1.75rem;
    }
    
    .jh-section {
        padding: 40px 0;
    }
    
    .jh-section__title {
        font-size: 1.75rem;
    }
    
    .jh-highlights__grid {
        grid-template-columns: 1fr;
    }
    
    .jh-editors {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .jh-hero-split__image {
        height: 250px;
    }
    
    .jh-hero-split__title {
        font-size: 1.5rem;
    }
    
    .jh-art-card__title {
        font-size: 1.125rem;
    }
}

/* ═══════════════════════════════════════════════════════════
   MISSION & SCOPE PAGE STYLES
   ═══════════════════════════════════════════════════════════ */

.ym-ms-layout {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 20px;
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

.ym-ms-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.ym-ms-stat-card {
    background: var(--ym-bg);
    border: 1px solid var(--ym-border);
    border-left: 4px solid var(--ym-secondary);
    border-radius: var(--ym-radius-md);
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.ym-ms-stat-card:hover {
    box-shadow: var(--ym-shadow-md);
    transform: translateY(-2px);
}

.ym-ms-stat-card__number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--ym-text);
    margin-bottom: 8px;
}

.ym-ms-stat-card__label {
    font-size: 0.9rem;
    color: var(--ym-text-secondary);
    font-weight: 500;
}

.ym-ms-block {
    background: var(--ym-bg);
    border: 1px solid var(--ym-border);
    border-radius: var(--ym-radius-md);
    padding: 32px;
    margin-bottom: 28px;
}

.ym-ms-block__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ym-text);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

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

.ym-ms-block__content p {
    margin-bottom: 16px;
}

.ym-ms-block__content ul,
.ym-ms-block__content ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.ym-ms-block__content li {
    margin-bottom: 8px;
}

.ym-sidebar {
    position: sticky;
    top: 80px;
    align-self: flex-start;
}

.ym-sidebar-card {
    background: var(--ym-bg);
    border: 1px solid var(--ym-border);
    border-radius: var(--ym-radius-md);
    padding: 24px;
    margin-bottom: 24px;
}

.ym-sidebar-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--ym-text);
    margin-bottom: 16px;
}

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

.ym-sidebar-info li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--ym-border-light);
}

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

.ym-sidebar-info__label {
    font-size: 0.875rem;
    color: var(--ym-text-secondary);
    font-weight: 500;
}

.ym-sidebar-info__value {
    font-size: 0.875rem;
    color: var(--ym-text);
    font-weight: 600;
}

.ym-sidebar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: var(--ym-radius);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 12px;
    width: 100%;
}

.ym-sidebar-btn--primary {
    background: var(--ym-accent);
    color: #fff !important;
    border: 2px solid var(--ym-accent);
}

.ym-sidebar-btn--primary:hover {
    background: var(--ym-accent-hover);
    border-color: var(--ym-accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--ym-shadow);
}

.ym-sidebar-btn--outline {
    background: transparent;
    color: var(--ym-primary) !important;
    border: 2px solid var(--ym-primary);
}

.ym-sidebar-btn--outline:hover {
    background: var(--ym-primary);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: var(--ym-shadow);
}

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

@media (max-width: 768px) {
    .ym-ms-layout {
        padding: 40px 16px;
    }
    
    .ym-ms-info-grid {
        grid-template-columns: 1fr;
    }
    
    .ym-ms-block {
        padding: 24px 20px;
    }
    
    .ym-sidebar-card {
        padding: 20px;
    }
}


/* =====================================================
   ARTICLE FULLTEXT PAGE — PROFESSIONAL ACADEMIC LAYOUT
   Clean, serious, structured academic presentation
   Inspired by MDPI, Frontiers, Nature — redesigned Feb 2026
   ===================================================== */

/* ─── Article Header Banner ─── */
.ym-article-header {
    background: linear-gradient(135deg, var(--ym-primary) 0%, var(--ym-primary-dark) 100%);
    color: #fff;
    padding: 64px 0 56px;
    position: relative;
    overflow: hidden;
}

.ym-article-header::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml,%3Csvg width="100" height="100" xmlns="http://www.w3.org/2000/svg"%3E%3Cdefs%3E%3Cpattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"%3E%3Cpath d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.04)" stroke-width="1"/%3E%3C/pattern%3E%3C/defs%3E%3Crect width="100" height="100" fill="url(%23grid)"/%3E%3C/svg%3E');
    opacity: 0.5;
    pointer-events: none;
}

.ym-article-header .container {
    position: relative;
    z-index: 1;
}

.ym-article-header__breadcrumb {
    font-size: 0.8125rem;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.9;
}

.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.5625rem;
    opacity: 0.6;
}

.ym-article-header__badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.ym-badge--oa-white {
    background: rgba(255,255,255,0.95);
    color: var(--ym-primary);
    padding: 5px 14px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.ym-badge--white-outline {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.4);
    padding: 4px 14px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.ym-article-header__title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0;
    color: #fff;
    max-width: 900px;
}

/* ─── Authors in Header (MDPI Style) ─── */
.ym-article-header__authors {
    margin-top: 20px;
    font-size: 1rem;
    line-height: 1.9;
}

.ym-article-header__authors .ym-author-name--registered {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px dashed rgba(255,255,255,0.5);
    transition: border-color 0.2s ease;
}

.ym-article-header__authors .ym-author-name--registered:hover {
    border-bottom-color: #fff;
    border-bottom-style: solid;
}

.ym-article-header__authors .ym-author-name--guest {
    font-weight: 500;
    color: rgba(255,255,255,0.9);
}

.ym-article-header__authors .ym-author-separator {
    opacity: 0.7;
}

.ym-article-header__authors sup {
    font-weight: 700;
    margin-left: 1px;
    font-size: 0.7em;
}

/* ─── Affiliations ─── */
.ym-article-header__affiliations {
    margin-top: 12px;
    font-size: 0.85rem;
    opacity: 0.85;
    line-height: 1.7;
}

.ym-article-header__affiliations div {
    margin-bottom: 2px;
}

.ym-article-header__affiliations sup {
    font-weight: 700;
    margin-right: 4px;
}

.ym-article-header__corresponding {
    margin-top: 8px;
    font-size: 0.8125rem;
    opacity: 0.75;
    font-style: italic;
}

/* ─── Hero Authors (Avatar + Name + Affiliation in header) ─── */
.ym-hero-authors {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 24px;
}

.ym-hero-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ym-hero-author__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ym-hero-author__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ym-hero-author__avatar .ym-avatar-initials {
    font-size: 0.875rem;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
}

.ym-hero-author__info {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.ym-hero-author__name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
}

a.ym-hero-author__name:hover {
    text-decoration: underline;
    color: #fff;
}

.ym-hero-author__affiliation {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7);
    max-width: 280px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ym-hero-author__affnum {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7);
}

.ym-hero-author__affnum sup {
    font-weight: 700;
    font-size: 0.7em;
}

.ym-hero-author__badge {
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.12);
    padding: 2px 8px;
    border-radius: 4px;
    align-self: center;
}

/* ─── Editorial Team Sidebar (clean, no borders) ─── */
.ym-editorial-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ym-editorial-person {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ym-editorial-person__avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--ym-bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ym-editorial-person__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ym-avatar-initials--sm {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--ym-primary);
    background: transparent;
}

.ym-editorial-person__info {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.ym-editorial-person__name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ym-text-primary);
    text-decoration: none;
}

a.ym-editorial-person__name:hover {
    color: var(--ym-primary);
}

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

/* ─── Article Meta (DOI, Date, Volume) ─── */
.ym-article-header__meta {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.15);
    font-size: 0.875rem;
}

.ym-article-header__meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    opacity: 0.9;
}

.ym-article-header__meta span i {
    font-size: 0.8125rem;
    opacity: 0.7;
}

.ym-article-header__meta a.ym-doi-link {
    color: #fff;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 3px;
    transition: text-decoration-style 0.2s ease;
}

.ym-article-header__meta a.ym-doi-link:hover {
    text-decoration-style: solid;
}

/* ─── Two Column Layout ─── */
.ym-article-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
    padding: 40px 0 80px;
}

@media (max-width: 1100px) {
    .ym-article-layout {
        grid-template-columns: 1fr;
    }
    .ym-article-sidebar {
        order: -1;
    }
}

/* ─── Main Content Area ─── */
.ym-article-main {
    background: #fff;
    border-radius: var(--ym-radius-md);
    padding: 40px 44px;
    border: 1px solid var(--ym-border);
    box-shadow: var(--ym-shadow-sm);
}

@media (max-width: 768px) {
    .ym-article-main {
        padding: 24px 20px;
    }
}

/* ─── Content Blocks ─── */
.ym-content-block {
    margin-bottom: 36px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--ym-border-light);
}

.ym-content-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.ym-content-block__title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--ym-text);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--ym-border-light);
}

.ym-content-block__title i {
    color: var(--ym-secondary);
    font-size: 1.125rem;
}

/* ─── Abstract ─── */
.ym-abstract-text {
    font-size: 1.0625rem;
    line-height: 1.85;
    color: #374151 !important;
    text-align: justify;
    hyphens: auto;
}
/* Force override inline color from WYSIWYG on abstract content */
.ym-abstract-text *,
.ym-abstract-text p,
.ym-abstract-text span,
.ym-abstract-text div,
.ym-abstract-text li {
    color: inherit !important;
}
.article-abstract,
.article-abstract *,
.section-content,
.section-content * {
    color: var(--ym-text, #374151) !important;
}

/* ─── Keywords ─── */
.ym-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    padding: 20px 0;
    margin-bottom: 28px;
}

.ym-keywords strong {
    font-size: 0.875rem;
    color: var(--ym-text);
    font-weight: 700;
    margin-right: 4px;
}

.ym-keyword-tag {
    background: var(--ym-bg-alt);
    color: var(--ym-text-secondary);
    padding: 5px 14px;
    border-radius: var(--ym-radius-full);
    font-size: 0.8125rem;
    font-weight: 500;
    border: 1px solid var(--ym-border);
    transition: all 0.2s ease;
}

.ym-keyword-tag:hover {
    background: #fef2f2;
    color: var(--ym-secondary);
    border-color: #fecaca;
}

/* ─── Article Body (Full Text Content) ─── */
.ym-article-body {
    font-size: 1.0625rem;
    line-height: 1.85;
    color: var(--ym-text);
}

.ym-article-body h1,
.ym-article-body h2,
.ym-article-body h3,
.ym-article-body h4,
.ym-article-body h5,
.ym-article-body h6 {
    color: var(--ym-text);
    margin-top: 36px;
    margin-bottom: 16px;
    font-weight: 700;
    line-height: 1.3;
}

.ym-article-body h1 { font-size: 1.875rem; }
.ym-article-body h2 { font-size: 1.625rem; padding-bottom: 8px; border-bottom: 1px solid var(--ym-border-light); }
.ym-article-body h3 { font-size: 1.375rem; }
.ym-article-body h4 { font-size: 1.1875rem; }
.ym-article-body h5 { font-size: 1.0625rem; }
.ym-article-body h6 { font-size: 1rem; }

.ym-article-body p {
    margin-bottom: 16px;
    text-align: justify;
    hyphens: auto;
    color: #374151;
}

.ym-article-body a {
    color: var(--ym-secondary);
    text-decoration: underline;
    text-decoration-color: rgba(149,6,5,0.3);
    text-underline-offset: 2px;
    transition: text-decoration-color 0.2s ease;
}

.ym-article-body a:hover {
    text-decoration-color: var(--ym-secondary);
}

.ym-article-body ul,
.ym-article-body ol {
    margin-bottom: 16px;
    padding-left: 28px;
}

.ym-article-body li {
    margin-bottom: 8px;
    line-height: 1.75;
}

.ym-article-body blockquote {
    border-left: 4px solid var(--ym-secondary);
    padding: 16px 24px;
    margin: 28px 0;
    background: var(--ym-bg-alt);
    border-radius: 0 var(--ym-radius) var(--ym-radius) 0;
    font-style: italic;
    color: #4b5563;
}

.ym-article-body img {
    max-width: 100%;
    height: auto;
    margin: 28px 0;
    border-radius: var(--ym-radius);
    box-shadow: var(--ym-shadow-sm);
}

.ym-article-body figure {
    margin: 32px 0;
    text-align: center;
}

.ym-article-body figcaption {
    font-size: 0.875rem;
    color: var(--ym-text-muted);
    margin-top: 12px;
    font-style: italic;
}

.ym-article-body table {
    width: 100%;
    margin: 28px 0;
    border-collapse: collapse;
    font-size: 0.9375rem;
}

.ym-article-body table th,
.ym-article-body table td {
    padding: 12px 16px;
    border: 1px solid var(--ym-border);
    text-align: left;
}

.ym-article-body table th {
    background: var(--ym-bg-alt);
    font-weight: 600;
    color: var(--ym-text);
}

.ym-article-body table tr:hover td {
    background: var(--ym-bg-alt);
}

.ym-article-body sup {
    font-size: 0.7em;
}

.ym-article-body sub {
    font-size: 0.7em;
}

/* ─── Authors Detail Section ─── */
.ym-authors-detail {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ym-author-detail-card {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--ym-bg-alt);
    border-radius: var(--ym-radius);
    border: 1px solid var(--ym-border);
    border-left: 4px solid var(--ym-secondary);
    transition: all 0.2s ease;
}

.ym-author-detail-card:hover {
    background: #fff;
    box-shadow: var(--ym-shadow-sm);
    border-color: var(--ym-border);
    border-left-color: var(--ym-primary);
}

.ym-author-detail-card__avatar {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--ym-bg-subtle);
    border: 2px solid var(--ym-border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ym-author-detail-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ym-author-detail-card__avatar--placeholder {
    font-size: 1.25rem;
    color: var(--ym-text-muted);
}

/* 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: var(--ym-bg-subtle, #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: var(--ym-text);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.ym-author-detail-card__info h4 a {
    color: var(--ym-secondary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.ym-author-detail-card__info h4 a:hover {
    border-bottom-color: var(--ym-secondary);
}

.ym-author-detail-card__info h4 sup {
    color: var(--ym-primary);
    font-weight: 700;
    font-size: 0.7em;
}

.ym-badge--sm {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    background: #fef2f2;
    color: var(--ym-secondary);
    border-radius: var(--ym-radius-full);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.ym-author-detail-card__info p {
    font-size: 0.8125rem;
    color: var(--ym-text-muted);
    margin-bottom: 3px;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.5;
}

.ym-author-detail-card__info p i {
    color: var(--ym-secondary);
    font-size: 0.75rem;
    width: 14px;
    flex-shrink: 0;
}

.ym-author-detail-card__info p a {
    color: var(--ym-primary);
    text-decoration: none;
}

.ym-author-detail-card__info p a:hover {
    text-decoration: underline;
}

/* ─── Sidebar ─── */
.ym-article-sidebar {
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ym-article-sidebar .ym-sidebar-card {
    background: #fff;
    border-radius: var(--ym-radius-md);
    padding: 24px;
    border: 1px solid var(--ym-border);
    box-shadow: var(--ym-shadow-sm);
    margin-bottom: 0;
}

.ym-article-sidebar .ym-sidebar-card__title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--ym-text);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #fef2f2;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-size: 0.8125rem;
}

/* Metrics Grid */
.ym-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.ym-metric {
    text-align: center;
    padding: 16px 8px;
    background: var(--ym-bg-alt);
    border-radius: var(--ym-radius);
    border: 1px solid var(--ym-border-light);
}

.ym-metric__value {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--ym-text);
    margin-bottom: 2px;
}

.ym-metric__label {
    font-size: 0.6875rem;
    color: var(--ym-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Sidebar Journal */
.ym-sidebar-journal h5 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--ym-text);
    margin-bottom: 12px;
    line-height: 1.4;
}

.ym-sidebar-journal p {
    font-size: 0.8125rem;
    color: var(--ym-text-muted);
    margin-bottom: 6px;
}

.ym-sidebar-journal p span {
    font-weight: 600;
    color: var(--ym-text-secondary);
}

/* Sidebar Actions */
.ym-sidebar-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ym-sidebar-action-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    background: var(--ym-bg-alt);
    border: 1px solid var(--ym-border);
    border-radius: var(--ym-radius);
    color: var(--ym-text-secondary);
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.ym-sidebar-action-btn:hover {
    background: #fef2f2;
    color: var(--ym-secondary);
    border-color: #fecaca;
}

.ym-sidebar-action-btn i {
    font-size: 0.9375rem;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
    color: var(--ym-secondary);
}

/* ── Prominent Download Buttons (Article Page) ── */
.ym-sidebar-card--download {
    border: 1px solid #d0d7e3;
    background: #fafbfd;
}

.ym-download-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #fff;
    border: 1.5px solid #d0d7e3;
    border-radius: var(--ym-radius);
    color: var(--ym-text);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.ym-download-btn:hover {
    background: #f0f4ff;
    border-color: var(--ym-primary);
    color: var(--ym-primary);
}

.ym-download-btn svg {
    flex-shrink: 0;
    color: var(--ym-primary);
}

.ym-download-btn--primary {
    background: var(--ym-primary);
    border-color: var(--ym-primary);
    color: #fff;
    font-size: 0.9375rem;
    padding: 14px 18px;
}

.ym-download-btn--primary:hover {
    background: var(--ym-primary-dark);
    border-color: var(--ym-primary-dark);
    color: #fff;
    box-shadow: 0 4px 12px rgba(17, 45, 141, 0.2);
}

.ym-download-btn--primary svg {
    color: #fff;
}

/* Supporting Files / Supplementary Materials */
.ym-supporting-files {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ym-supporting-file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: var(--ym-bg-alt);
    border: 1px solid var(--ym-border-light);
    border-radius: var(--ym-radius);
    transition: border-color 0.2s ease;
}

.ym-supporting-file-item:hover {
    border-color: var(--ym-primary);
}

.ym-supporting-file-info {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ym-text-secondary);
}

.ym-supporting-file-info svg {
    flex-shrink: 0;
    color: var(--ym-primary);
}

.ym-supporting-file-name {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ym-text-primary);
}

.ym-supporting-file-size {
    display: block;
    font-size: 0.8rem;
    color: var(--ym-text-muted);
    margin-top: 2px;
}

.ym-download-btn--sm {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    background: var(--ym-primary);
    color: #fff;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.ym-download-btn--sm:hover {
    background: var(--ym-primary-dark);
    color: #fff;
}

/* Bookmark Button (Detail Page) */
.ym-bookmark-detail-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 20px;
    background: var(--ym-bg-alt);
    border: 2px solid var(--ym-border);
    border-radius: var(--ym-radius);
    color: var(--ym-text-secondary);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.ym-bookmark-detail-btn:hover {
    background: #fef2f2;
    color: var(--ym-secondary);
    border-color: var(--ym-secondary);
}

.ym-bookmark-detail-btn--active {
    background: var(--ym-primary);
    color: #fff;
    border-color: var(--ym-primary);
}

.ym-bookmark-detail-btn--active:hover {
    background: var(--ym-primary-dark);
    border-color: var(--ym-primary-dark);
    color: #fff;
}

.ym-bookmark-detail-btn i {
    font-size: 1rem;
}

/* Share Buttons */
.ym-share-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.ym-share-btn {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--ym-radius);
    font-size: 1rem;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}

.ym-share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--ym-shadow-md);
    color: #fff;
}

.ym-share-btn--twitter { background: #1DA1F2; }
.ym-share-btn--linkedin { background: #0A66C2; }
.ym-share-btn--email { background: #6b7280; }
.ym-share-btn--copy { background: #374151; }

/* Related Articles List */
.ym-related-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ym-related-item {
    display: block;
    padding: 14px;
    background: var(--ym-bg-alt);
    border: 1px solid var(--ym-border-light);
    border-radius: var(--ym-radius);
    text-decoration: none;
    transition: all 0.2s ease;
}

.ym-related-item:hover {
    background: #fff;
    border-color: var(--ym-primary-light);
    box-shadow: var(--ym-shadow-sm);
}

.ym-related-item h5 {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ym-text);
    margin-bottom: 6px;
    line-height: 1.45;
}

.ym-related-item:hover h5 {
    color: var(--ym-primary);
}

.ym-related-item__meta {
    display: flex;
    gap: 12px;
    font-size: 0.6875rem;
    color: var(--ym-text-muted);
}

.ym-related-item__meta span {
    display: inline-flex;
    align-items: center;
}

/* ─── Article Page Responsive ─── */
@media (max-width: 1100px) {
    .ym-article-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ym-article-header {
        padding: 36px 0 32px;
    }
    .ym-article-header__title {
        font-size: 1.5rem;
    }
    .ym-article-header__meta {
        gap: 16px;
    }
    .ym-hero-authors {
        gap: 14px;
    }
    .ym-hero-author__affiliation {
        max-width: 200px;
    }
    .ym-article-sidebar {
        grid-template-columns: 1fr;
    }
    .ym-metrics-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 575px) {
    .ym-article-header__title {
        font-size: 1.25rem;
    }
    .ym-article-header__badges {
        gap: 6px;
    }
}

/* =====================================================
   VOLUMES PAGE — YM DESIGN SYSTEM
   ===================================================== */
.ym-volumes-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    max-width: 1350px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

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

.ym-vol-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ym-vol-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    background: #fff;
    border: 1px solid var(--ym-border);
    border-radius: var(--ym-radius-md);
    text-decoration: none;
    transition: all 0.25s ease;
}

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

.ym-vol-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ym-text);
    margin-bottom: 6px;
}

.ym-vol-card__year {
    font-size: 0.875rem;
    color: var(--ym-text-muted);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ym-vol-card__year i {
    color: var(--ym-primary);
}

.ym-vol-card__stats {
    display: flex;
    gap: 16px;
}

.ym-vol-card__stat {
    font-size: 0.8125rem;
    color: var(--ym-text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

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

.ym-vol-card__arrow {
    color: var(--ym-text-muted);
    font-size: 1.125rem;
    transition: transform 0.2s ease;
}

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

/* Sidebar Stat Grid */
.ym-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.ym-stat-box {
    text-align: center;
    padding: 16px 12px;
    background: var(--ym-bg-alt);
    border-radius: var(--ym-radius);
    border: 1px solid var(--ym-border-light);
}

.ym-stat-box__number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--ym-primary);
    margin-bottom: 4px;
}

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

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

.ym-empty i {
    font-size: 3rem;
    color: var(--ym-text-muted);
    margin-bottom: 20px;
    display: block;
}

.ym-empty p {
    margin-bottom: 8px;
}

/* =====================================================
   VOLUME DETAIL PAGE — CONSISTENT WITH DESIGN SYSTEM
   ===================================================== */
.ym-volume-header {
    background: var(--ym-bg-alt);
    border-bottom: 1px solid var(--ym-border);
    padding: 40px 0;
}

.ym-volume-header__title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--ym-text);
    margin-bottom: 8px;
}

.ym-volume-header__journal {
    font-size: 1.0625rem;
    color: var(--ym-text-secondary);
    margin-bottom: 16px;
}

.ym-volume-header__stats {
    display: flex;
    gap: 24px;
    font-size: 0.875rem;
    color: var(--ym-text-muted);
}

.ym-volume-header__stats span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ym-volume-header__stats i {
    color: var(--ym-primary);
}

/* Issue Sections */
.ym-issue-section {
    margin-bottom: 40px;
}

.ym-issue-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: var(--ym-bg-alt);
    border: 1px solid var(--ym-border);
    border-radius: var(--ym-radius-md) var(--ym-radius-md) 0 0;
    cursor: pointer;
    transition: background 0.2s ease;
}

.ym-issue-header:hover {
    background: var(--ym-bg-subtle);
}

.ym-issue-header__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--ym-text);
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.ym-issue-header__title i {
    color: var(--ym-primary);
}

.ym-issue-badge {
    display: inline-flex;
    padding: 3px 12px;
    background: var(--ym-bg);
    border: 1px solid var(--ym-border);
    border-radius: var(--ym-radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ym-text-secondary);
}

.ym-issue-period {
    font-size: 0.8125rem;
    color: var(--ym-text-muted);
    margin-top: 4px;
}

.ym-issue-chevron {
    color: var(--ym-text-muted);
    font-size: 0.875rem;
    transition: transform 0.3s ease;
}

.collapsed .ym-issue-chevron {
    transform: rotate(-90deg);
}

/* Article Items in Volume */
.ym-vol-article {
    padding: 24px;
    border: 1px solid var(--ym-border);
    border-top: none;
    background: #fff;
    transition: background 0.2s ease;
}

.ym-vol-article:last-child {
    border-radius: 0 0 var(--ym-radius-md) var(--ym-radius-md);
}

.ym-vol-article:hover {
    background: var(--ym-bg-alt);
}

.ym-vol-article__title {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
}

.ym-vol-article__title a {
    color: var(--ym-text);
    text-decoration: none;
}

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

.ym-vol-article__authors {
    font-size: 0.875rem;
    color: var(--ym-text-secondary);
    margin-bottom: 8px;
    line-height: 1.6;
}

.ym-vol-article__abstract {
    font-size: 0.875rem;
    color: var(--ym-text-muted);
    margin-bottom: 12px;
    line-height: 1.6;
}

.ym-vol-article__meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.8125rem;
    color: var(--ym-text-muted);
    align-items: center;
}

.ym-vol-article__meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ym-vol-article__meta i {
    font-size: 0.75rem;
}

.ym-vol-article__meta .ym-doi-inline {
    color: var(--ym-secondary);
    text-decoration: none;
}

.ym-vol-article__meta .ym-doi-inline:hover {
    text-decoration: underline;
}

.ym-vol-article__actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.ym-vol-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: var(--ym-radius-sm);
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid var(--ym-border);
    background: #fff;
    color: var(--ym-primary);
}

.ym-vol-btn:hover {
    background: var(--ym-primary);
    border-color: var(--ym-primary);
    color: #fff;
}

.ym-vol-btn--primary {
    background: var(--ym-primary);
    border-color: var(--ym-primary);
    color: #fff;
}

.ym-vol-btn--primary:hover {
    background: var(--ym-primary-dark);
    border-color: var(--ym-primary-dark);
    color: #fff;
}

.ym-vol-article__badge {
    display: inline-block;
    padding: 2px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid var(--ym-border);
    border-radius: var(--ym-radius-full);
    color: var(--ym-text-secondary);
    background: var(--ym-bg-alt);
}

/* Volume Page — Empty + Back */
.ym-volume-empty {
    text-align: center;
    padding: 80px 20px;
}

.ym-volume-empty i {
    color: var(--ym-text-muted);
    margin-bottom: 20px;
}

.ym-volume-empty h4 {
    color: var(--ym-text-secondary);
    margin-bottom: 8px;
}

.ym-volume-empty p {
    color: var(--ym-text-muted);
    margin-bottom: 20px;
}

.ym-volume-back {
    text-align: center;
    margin-top: 40px;
    padding-bottom: 40px;
}

/* Volume Page — Breadcrumb */
.ym-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.875rem;
}

.ym-breadcrumb li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ym-text-muted);
}

.ym-breadcrumb li a {
    color: var(--ym-primary);
    text-decoration: none;
}

.ym-breadcrumb li a:hover {
    text-decoration: underline;
}

.ym-breadcrumb li + li::before {
    content: '/';
    color: var(--ym-border);
}

.ym-breadcrumb li.active {
    color: var(--ym-text-secondary);
    font-weight: 500;
}

/* =====================================================
   GLOBAL AUTHOR NAME STYLING — CONSISTENT ACROSS SITE
   ===================================================== */
.ym-author-name--registered {
    color: var(--ym-secondary);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.ym-author-name--registered:hover {
    color: var(--ym-secondary);
    border-bottom-color: var(--ym-secondary);
}

.ym-author-name--guest {
    color: var(--ym-secondary);
    font-weight: 500;
}

/* DOI Links — Consistent Styling (body context) */
.ym-doi-link {
    color: var(--ym-secondary);
    text-decoration: none;
    border-bottom: 1px dotted var(--ym-secondary);
    transition: border-bottom-style 0.2s ease;
}

.ym-doi-link:hover {
    border-bottom-style: solid;
    color: var(--ym-secondary);
}

/* DOI inside article hero header — force white */
.ym-article-header .ym-doi-link {
    color: #fff !important;
    border-bottom-color: rgba(255,255,255,0.5);
}

.ym-article-header .ym-doi-link:hover {
    color: #fff !important;
    border-bottom-style: solid;
    border-bottom-color: #fff;
}

/* =====================================================
   TABS BAR — Journal Navigation  
   ===================================================== */
.ym-tabs-bar {
    background: #fff;
    border-bottom: 2px solid var(--ym-border);
    position: sticky;
    top: 60px;
    z-index: 100;
    box-shadow: var(--ym-shadow-sm);
}

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

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

.ym-tabs-bar__journal-name {
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--ym-primary);
    white-space: nowrap;
    padding: 14px 16px 14px 0;
}

.ym-tabs-bar__divider {
    width: 1px;
    height: 24px;
    background: var(--ym-border);
    flex-shrink: 0;
    margin-right: 4px;
}

.ym-tabs-bar__link {
    padding: 14px 16px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--ym-text-secondary);
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s ease;
}

.ym-tabs-bar__link:hover {
    color: var(--ym-primary);
    background: var(--ym-bg-alt);
}

.ym-tabs-bar__link--active {
    color: var(--ym-secondary);
    border-bottom-color: var(--ym-secondary);
    font-weight: 600;
}
/* =====================================================
   BOOKMARK BUTTON (Rounded Border Style)
   ===================================================== */
.ym-bookmark-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    
    /* Simple Border Style */
    background: transparent;
    border: 1.5px solid #e2e8f0; /* Soft light border */
    border-radius: 50%;
    padding: 0;
    color: #64748b; /* Default icon color (muted) */
}

/* Size Variants */
.ym-bookmark-btn--sm { width: 30px; height: 30px; }
.ym-bookmark-btn--sm svg { width: 14px; height: 14px; }

.ym-bookmark-btn--lg { width: 40px; height: 40px; }
.ym-bookmark-btn--lg svg { width: 20px; height: 20px; }

/* HOVER STATE: Simple Border Highlight */
.ym-bookmark-btn:hover {
    border-color: #112d8d; /* Mark Blue */
    color: #112d8d;
    background: rgba(17, 45, 141, 0.05); /* Very light blue tint */
}

/* ACTIVE/CLICKED STATE: Highlight with Blue Badge color */
.ym-bookmark-btn--active {
    background-color: #112d8d !important; /* Mark Blue */
    border-color: #112d8d !important;
    color: #ffffff !important; /* White icon when filled */
}

/* SVG fix to ensure color inherits correctly */
.ym-bookmark-btn svg {
    fill: currentColor; 
    stroke: currentColor;
    stroke-width: 2;
}
/* =====================================================
   TOAST NOTIFICATION
   ===================================================== */
#ymToastAjax {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: none;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    background: var(--ym-text);
    color: #fff;
    border-radius: var(--ym-radius);
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: var(--ym-shadow-lg);
    animation: toastSlide 0.3s ease;
}

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

/* ═════════════════════════════════════════════════════════════════════════
   GLOBAL OVERRIDES — Author Names, DOI, Article Cards (Priority CSS)
   All author names: secondary red (#960505)
   All DOI links: secondary red, clickable, dotted underline
   ═════════════════════════════════════════════════════════════════════════ */

/* ── Author Names — ALL contexts (red + underline on hover) ── */
.ym-author-name--registered,
.ym-author-name--guest,
.jh-art-card__authors .ym-author-name--registered,
.jh-art-card__authors .ym-author-name--guest,
.ym-art-card__authors .ym-author-name--registered,
.ym-art-card__authors .ym-author-name--guest,
.ym-vol-article__authors .ym-author-name--registered,
.ym-vol-article__authors .ym-author-name--guest,
.ym-featured-card__authors .ym-author-name--registered,
.ym-featured-card__authors .ym-author-name--guest,
.ym-article-card__authors .ym-author-name--registered,
.ym-article-card__authors .ym-author-name--guest {
    color: var(--ym-secondary, #960505) !important;
    font-weight: 500;
}

.ym-author-name--registered,
.jh-art-card__authors .ym-author-name--registered,
.ym-art-card__authors .ym-author-name--registered,
.ym-vol-article__authors .ym-author-name--registered,
.ym-featured-card__authors .ym-author-name--registered,
.ym-article-card__authors .ym-author-name--registered {
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.ym-author-name--registered:hover,
.jh-art-card__authors .ym-author-name--registered:hover,
.ym-art-card__authors .ym-author-name--registered:hover,
.ym-vol-article__authors .ym-author-name--registered:hover,
.ym-featured-card__authors .ym-author-name--registered:hover,
.ym-article-card__authors .ym-author-name--registered:hover {
    color: var(--ym-secondary, #960505) !important;
    border-bottom-color: var(--ym-secondary, #960505);
    text-decoration: none;
}

/* Guest authors — make clickable-looking (still red) */
.ym-author-name--guest {
    cursor: default;
}

/* ── DOI — ALL contexts (red, clickable, dotted underline) ── */
a.ym-doi-link,
a.ym-doi-inline,
.jh-art-card__meta a.ym-doi-link,
.ym-art-card__doi a,
.ym-vol-article__meta a.ym-doi-inline,
.ym-vol-article__meta .ym-doi-inline {
    color: var(--ym-secondary, #960505) !important;
    text-decoration: none !important;
    border-bottom: 1px dotted var(--ym-secondary, #960505);
    transition: border-bottom-style 0.2s ease;
    font-weight: 500;
}

a.ym-doi-link:hover,
a.ym-doi-inline:hover,
.jh-art-card__meta a.ym-doi-link:hover,
.ym-art-card__doi a:hover,
.ym-vol-article__meta a.ym-doi-inline:hover {
    border-bottom-style: solid;
    color: var(--ym-secondary, #960505) !important;
}

/* DOI text (non-link) in articles index — make red */
.ym-art-card__doi {
    color: var(--ym-secondary, #960505) !important;
    font-size: 0.8rem;
    font-family: monospace;
    margin-bottom: 0.75rem;
}

/* ── Keep article header (hero) DOI white ── */
.ym-article-header .ym-doi-link,
.ym-article-header a.ym-doi-link {
    color: #fff !important;
    border-bottom-color: rgba(255,255,255,0.5) !important;
}
.ym-article-header .ym-doi-link:hover,
.ym-article-header a.ym-doi-link:hover {
    color: #fff !important;
    border-bottom-color: #fff !important;
    border-bottom-style: solid;
}

/* Keep article header author names white */
.ym-article-header__authors .ym-author-name--registered,
.ym-article-header__authors .ym-author-name--guest {
    color: #fff !important;
}
.ym-article-header__authors .ym-author-name--registered:hover {
    color: #fff !important;
    border-bottom-color: #fff;
}

/* Keep featured card overlay author names white */
.ym-featured-card__overlay .ym-author-name--registered,
.ym-featured-card__overlay .ym-author-name--guest {
    color: rgba(255,255,255,0.95) !important;
}
.ym-featured-card__overlay .ym-author-name--registered:hover {
    color: #fff !important;
    border-bottom-color: rgba(255,255,255,0.7);
}

/* ═════════════════════════════════════════════════════════════════════════
   JOURNAL SHOW PAGE — Latest Articles 2-column grid
   ═════════════════════════════════════════════════════════════════════════ */
.jh-articles {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (max-width: 768px) {
    .jh-articles {
        grid-template-columns: 1fr;
    }
}

.jh-art-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.jh-art-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    border-color: #d1d5db;
}

/* View Article button style */
.jh-art-card__view {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding: 8px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    background: var(--ym-primary, #112d8d);
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.15s ease;
    align-self: flex-start;
}

.jh-art-card__view:hover {
    background: #0a1e5e;
    transform: translateY(-1px);
    color: #fff;
}

/* ═════════════════════════════════════════════════════════════════════════
   EDITORIAL BOARD — View Profile button
   ═════════════════════════════════════════════════════════════════════════ */
.jh-ed-card__profile-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ym-primary, #112d8d);
    background: transparent;
    border: 1px solid var(--ym-primary, #112d8d);
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.jh-ed-card__profile-btn:hover {
    background: var(--ym-primary, #112d8d);
    color: #fff;
}

/* ═════════════════════════════════════════════════════════════════════════
   ARTICLES INDEX — Read Article button highlight
   ═════════════════════════════════════════════════════════════════════════ */
.ym-art-card__read {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    color: #fff !important;
    background: var(--ym-primary, #112d8d) !important;
    padding: 8px 18px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    transition: background 0.2s ease, transform 0.15s ease;
}

.ym-art-card__read:hover {
    background: #0a1e5e !important;
    color: #fff !important;
    transform: translateY(-1px);
}

/* ═════════════════════════════════════════════════════════════════════════
   HOMEPAGE — Featured & Trending: 1 large + 2 side cards
   ═════════════════════════════════════════════════════════════════════════ */
.ym-featured-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
}

.ym-featured-card--large {
    grid-row: 1 / 2;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.ym-trending-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
}

/* ── Trending card: overlay-on-image style (matching the featured card) ── */
.ym-trending-card {
    flex: 1;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    min-height: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.ym-trending-card__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.ym-trending-card__image--gradient {
    background: linear-gradient(135deg, #112d8d 0%, #1e3a5f 100%);
}

.ym-trending-card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 18px;
    background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.6) 60%, rgba(0,0,0,0) 100%);
    color: #fff;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.ym-trending-card__badges {
    display: flex;
    gap: 6px;
    margin-bottom: 8px;
}

.ym-trending-card__title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 6px 0;
}

.ym-trending-card__title a {
    color: #fff;
    text-decoration: none;
}

.ym-trending-card__title a:hover {
    text-decoration: underline;
}

.ym-trending-card__authors {
    font-size: 0.82rem;
    margin: 0 0 6px 0;
    opacity: 0.92;
    color: #fff;
}

.ym-trending-card__authors .ym-author-name--registered {
    color: #fff;
    border-bottom: 1px dashed rgba(255,255,255,0.5);
}

.ym-trending-card__authors .ym-author-name--registered:hover {
    color: #fff;
    border-bottom-color: #fff;
}

.ym-trending-card__authors .ym-author-name--guest {
    color: rgba(255,255,255,0.88);
}

.ym-trending-card__meta {
    display: flex;
    gap: 14px;
    font-size: 0.75rem;
    opacity: 0.85;
    color: #fff;
}

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

@media (max-width: 768px) {
    .ym-featured-grid {
        grid-template-columns: 1fr;
    }
    .ym-trending-card {
        min-height: 200px;
    }
}

/* ═════════════════════════════════════════════════════════════════════════
   VOLUME PAGE — Article cards with featured image
   ═════════════════════════════════════════════════════════════════════════ */
.ym-vol-article {
    display: flex;
    gap: 20px;
    padding: 24px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    margin-bottom: 16px;
    transition: box-shadow 0.2s ease;
}

.ym-vol-article:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.ym-vol-article__image {
    flex-shrink: 0;
    width: 160px;
    height: 140px;
    border-radius: 8px;
    overflow: hidden;
    background: #f1f5f9;
}

.ym-vol-article__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ym-vol-article__image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.ym-vol-article__content {
    flex: 1;
    min-width: 0;
}

@media (max-width: 640px) {
    .ym-vol-article {
        flex-direction: column;
    }
    .ym-vol-article__image {
        width: 100%;
        height: 180px;
    }
}

/* ═════════════════════════════════════════════════════════════════════════
   JOURNAL ARTICLES PAGE — Author styling
   ═════════════════════════════════════════════════════════════════════════ */
.author-display .author-name {
    color: var(--ym-secondary, #960505) !important;
    font-weight: 500;
}

.author-display .author-link {
    text-decoration: none;
}

.author-display .author-link:hover .author-name {
    text-decoration: underline;
    text-decoration-color: var(--ym-secondary, #960505);
}

