/* ================================================================
Comapny : ElySpace
Developer: Raashid Malla
MDPI-Inspired Academic Journal Stylesheet
Modern, Clean Design for Research Publications
   ================================================================ */

/* ── CSS Variables ── */
:root {
    --primary: #122031;
    --primary-dark: #0a2240;
    --primary-light: #1e3552;
    --primary-bg: #f8fafc;
    --secondary: #122031;
    --accent: #c4972f;
    --accent-hover: #b38827;
    --text: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --bg: #ffffff;
    --bg-alt: #f5f7fa;
    --bg-light: #fafafa;
    --border: #e0e0e0;
    --border-light: #eeeeee;
    --success: #2e7d32;
    --warning: #f9a825;
    --danger: #c62828;
    --info: #0288d1;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.15);
    --radius-sm: 4px;
    --radius: 6px;
    --radius-lg: 10px;
    --radius-xl: 16px;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-serif: 'Source Serif 4', Georgia, serif;
    --max-width: 1280px;
    --header-height: 60px;
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all .2s ease;
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--text);
}

/* ══════════════════════════════════════════════════════════
   ARTICLE PAGE — JOURNAL STATS CARD
   ══════════════════════════════════════════════════════════ */

.journal-stats-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.journal-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border, #e2e8f0);
}
.journal-stat:last-child { border-bottom: none; padding-bottom: 0; }
.journal-stat:first-of-type { padding-top: 0; }
.journal-stat-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg-alt, #f7f8fa);
    color: var(--primary, #14213d);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 15px;
}
.journal-stat-body { flex: 1; min-width: 0; }
.journal-stat-value {
    font-size: 19px;
    font-weight: 700;
    color: var(--text, #14213d);
    line-height: 1.1;
}
.journal-stat-label {
    font-size: 11.5px;
    color: var(--text-light, #6b7689);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 2px;
}

/* ══════════════════════════════════════════════════════════
   SIDEBAR COVER SLIDER (Right Sidebar — Homepage)
   ══════════════════════════════════════════════════════════ */

.sidebar-cover {
    background: #fff;
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 10px;

    margin-bottom: 18px;
}
.sidebar-cover .sidebar-heading {
    margin: 0 0 12px 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--text, #14213d);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border, #e2e8f0);
}
.sidebar-cover-slider {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-alt, #f7f8fa);
}
.sidebar-cover-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}
.sidebar-cover-track::-webkit-scrollbar { display: none; }
.sidebar-cover-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    position: relative;
}
.sidebar-cover-slide img {
    width: 100%;
    height: 344px;
    object-fit: cover;
    display: block;
}
.sidebar-cover-download {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    background: rgba(20, 33, 61, 0.92);
    color: #fff !important;
    padding: 7px 14px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: background 0.15s;
}
.sidebar-cover-download:hover { background: var(--primary, #14213d); }

.sidebar-cover-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: rgba(20, 33, 61, 0.85);
    color: #fff;
    cursor: pointer;
    z-index: 4;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}
.sidebar-cover-nav:hover { background: var(--primary, #14213d); }
.sidebar-cover-prev { left: 6px; }
.sidebar-cover-next { right: 6px; }

.sidebar-cover-dots {
    display: flex;
    justify-content: center;
    gap: 5px;
    position: absolute;
    bottom: 50px;
    left: 0;
    right: 0;
    z-index: 3;
}
.sidebar-cover-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    padding: 0;
}
.sidebar-cover-dot.active { background: #fff; }

.sidebar-cover-more {
    display: block;
    text-align: center;
    margin-top: 12px;
    color: var(--primary, #14213d);
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
}
.sidebar-cover-more:hover { text-decoration: underline; }

/* ══════════════════════════════════════════════════════════
   NEWS MARQUEE (Homepage)
   ══════════════════════════════════════════════════════════ */

.news-marquee {
      background: linear-gradient(90deg, #091f38 0%, #0d213b 100%);
    border-top: 1px solid #ffffff;
    border-bottom: 1px solid #0a203a;
    padding: 8px 0;
    overflow: hidden;

}
.news-marquee-inner {
    display: flex;
    align-items: center;
    gap: 14px;
}
.news-marquee-label {
    flex-shrink: 0;
    background: #dc3545;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.news-marquee-label i { margin-right: 4px; }
.news-marquee-track {
    flex: 1;
    overflow: hidden;
    position: relative;
}
.news-marquee-content {
    display: inline-flex;
    white-space: nowrap;
    animation: news-scroll 60s linear infinite;
    gap: 16px;
    align-items: center;
}
.news-marquee:hover .news-marquee-content { animation-play-state: paused; }
.news-marquee-item {
    color: #fff;
    text-decoration: none;
    font-size: 13.5px;
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
}

.news-marquee-item a:hover{color:#fff;}
 .news-marquee-title { text-decoration: underline; }
.news-marquee-date {
    font-size: 11.5px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    flex-shrink: 0;
}

.news-marquee-title:hover{color:#fff;}
.news-marquee-title { font-weight: 500; }
.news-marquee-sep { color: #c4972f; font-weight: bold; }

@keyframes news-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .news-marquee-content { animation: none; }
}

/* ══════════════════════════════════════════════════════════
   HEADER ISSN BLOCK (after logo)
   ══════════════════════════════════════════════════════════ */

.header-issn {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding-left: 18px;
    margin-left: 18px;
    border-left: 1px solid var(--border, #e2e8f0);
    font-size: 12.5px;
    color: var(--text-light, #6b7689);
    line-height: 1.4;
}
.header-issn strong { color: var(--text, #14213d); font-weight: 600; }
.header-issn-sep { opacity: 0.4; }
@media (max-width: 900px) {
    .header-issn { display: none; }
}

/* ══════════════════════════════════════════════════════════
   HEADER - MDPI Style
   ══════════════════════════════════════════════════════════ */

.site-header {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}

.header-top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    font-weight: 700;
}

.logo-text {
    display: none;
    flex-direction: column;
}

.logo-abbr {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.5px;
}

.logo-full {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-signin {
    padding: 8px 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    transition: all .2s;
}

.btn-signin:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-submit {
    padding: 8px 24px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
}

.btn-submit:hover {
    background: var(--primary-dark);
    color: white;
}

/* Main Navigation */
.main-nav {
    background: var(--bg);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 0;
}

.nav-item {
    position: relative;
}

.nav-item>a {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    transition: all .2s;
}

.nav-item>a:hover,
.nav-item.active>a {
    color: var(--primary);
    background: var(--bg-alt);
}

.nav-item.has-dropdown>a::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 10px;
    margin-left: 6px;
    transition: transform .2s;
}

.nav-item:hover>a::after {
    transform: rotate(180deg);
}

/* Dropdown */
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all .2s;
    z-index: 100;
    list-style: none;
}

.nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown li a {
    display: block;
    padding: 10px 16px;
    color: var(--text);
    font-size: 14px;
    border-bottom: 1px solid var(--border-light);
}

.nav-dropdown li:last-child a {
    border-bottom: none;
}

.nav-dropdown li a:hover {
    background: var(--bg-alt);
    color: var(--primary);
}

/* Mobile toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    margin: 5px 0;
    transition: all .3s;
}

/* ══════════════════════════════════════════════════════════
   HERO SECTION - MDPI Blue Banner
   ══════════════════════════════════════════════════════════ */

.hero-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><circle cx="100" cy="100" r="80" stroke="rgba(255,255,255,0.1)" stroke-width="2" fill="none"/><circle cx="100" cy="100" r="60" stroke="rgba(255,255,255,0.08)" stroke-width="1" fill="none"/></svg>') no-repeat center right;
    background-size: contain;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
    color: white;
}

.hero-subtitle {
    font-size: 16px;
    opacity: 0.9;
    max-width: 600px;
}

/* ══════════════════════════════════════════════════════════
   MDPI HERO - Exact Style
   ══════════════════════════════════════════════════════════ */

.mdpi-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, #081a2d 100%);
    color: white;
    padding: 60px 0 70px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 60%;
    pointer-events: none;
}

.hero-circle {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    height: 300px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
}

.hero-circle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.hero-lines {
    position: absolute;
    right: -10%;
    top: -20%;
    width: 600px;
    height: 600px;
    background:
        linear-gradient(45deg, transparent 45%, rgba(255, 255, 255, 0.05) 45%, rgba(255, 255, 255, 0.05) 55%, transparent 55%),
        linear-gradient(-45deg, transparent 45%, rgba(255, 255, 255, 0.03) 45%, rgba(255, 255, 255, 0.03) 55%, transparent 55%);
    transform: rotate(-15deg);
}

.hero-inner {
    position: relative;
    z-index: 2;
}

.hero-heading {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
    letter-spacing: -0.5px;
    text-align: center;
}

.hero-text {
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.95;
    color: white;
    text-align: center;
}

/* ══════════════════════════════════════════════════════════
   MDPI SEARCH - Exact Style
   ══════════════════════════════════════════════════════════ */

.mdpi-search {
    background: white;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

.search-form {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.search-label {
    font-weight: 600;
    color: var(--text);
    font-size: 14px;
    white-space: nowrap;
}

.search-field {
    flex: 1;
    min-width: 160px;
    max-width: 200px;
    padding: 9px 12px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 14px;
    color: var(--text);
}

.search-field::placeholder {
    color: #999;
}

.search-field:focus {
    outline: none;
    border-color: var(--primary);
}

.search-dropdown {
    padding: 9px 32px 9px 12px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 14px;
    background: white url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23666"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat right 8px center;
    background-size: 16px;
    appearance: none;
    cursor: pointer;
    min-width: 130px;
    color: var(--text);
}

.search-submit {
    padding: 9px 20px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background .2s;
}

.search-submit:hover {
    background: var(--primary-dark);
}

.search-advanced-link {
    color: var(--text-light);
    font-size: 14px;
    margin-left: 4px;
}

.search-advanced-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* ══════════════════════════════════════════════════════════
   MDPI THREE-COLUMN LAYOUT
   ══════════════════════════════════════════════════════════ */

.mdpi-layout {
    display: grid;
    grid-template-columns: 220px 1fr 260px;
    gap: 25px;
    padding: 25px 0 50px;
}

.mdpi-sidebar-left,
.mdpi-sidebar-right {
    min-width: 0;
}

.mdpi-main {
    min-width: 0;
}

/* Sidebar Headings */
.sidebar-heading {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

/* Journal Finder Dropdown */
.journal-finder {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 13px;
    color: #999;
    margin-bottom: 12px;
    background: white;
}

/* Browse Menu */
.browse-menu {
    list-style: none;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.browse-menu li {
    margin-bottom: 6px;
}

.browse-menu a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #333;
    font-size: 13px;
    padding: 4px 0;
}

.browse-menu a:hover {
    color: var(--primary);
}

.browse-menu i {
    color: #666;
    font-size: 10px;
}

/* Journal List with Icons */
.journal-list {
    list-style: none;
}

.journal-item {
    margin-bottom: 2px;
}

.journal-item a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 6px;
    color: var(--primary);
    font-size: 13px;
    border-radius: 3px;
    transition: background .15s;
}

.journal-item a:hover {
    background: #f5f5f5;
}

.journal-icon {
    width: 36px;
    height: 36px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════
   FEATURED SLIDER - MDPI Style
   ══════════════════════════════════════════════════════════ */

.featured-slider {
    position: relative;
    margin-bottom: 30px;
    border-radius: 4px;
    overflow: hidden;
    background: #1a1a1a;
}

.slider-container {
    position: relative;
    height: 280px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slide.active {
    opacity: 1;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.slide-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    color: white;
}

.slide-category {
    font-size: 14px;
    font-style: italic;
    opacity: 0.9;
    margin-bottom: 8px;
}

.slide-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    color: white;
}

.slide-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 8px;
    line-height: 1.4;
}

.slide-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: background .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.slider-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.slider-nav.prev {
    left: 10px;
}

.slider-nav.next {
    right: 10px;
}

.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: background .2s;
}

.dot.active,
.dot:hover {
    background: white;
}

/* ══════════════════════════════════════════════════════════
   RECENT ARTICLES - MDPI Style
   ══════════════════════════════════════════════════════════ */

.recent-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #333;
}

.articles-feed {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.article-entry {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.article-entry:first-child {
    padding-top: 0;
}

.entry-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 8px;
}

.entry-badges {
    display: flex;
    gap: 6px;
}

.badge-oa {
    display: inline-block;
    padding: 3px 10px;
    background: #fa0018;
    color: white;
    font-size: 11px;
    font-weight: 600;
    border-radius: 3px;
}

.badge-type {
    display: inline-block;
    padding: 3px 10px;
    background: var(--primary);
    color: white;
    font-size: 11px;
    font-weight: 600;
    border-radius: 3px;
}

.entry-meta {
    font-size: 12px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pdf-icon {
    color: #c62828;
    font-size: 16px;
    margin-left: 4px;
}

.pdf-icon:hover {
    color: #b71c1c;
}

.entry-title {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
}

.entry-title a {
    color: #1565c0;
}

.entry-title a:hover {
    text-decoration: underline;
}

.entry-authors {
    font-size: 13px;
    color: #333;
    margin-bottom: 6px;
}

.entry-authors a {
    color: #1565c0;
}

.entry-authors a:hover {
    text-decoration: underline;
}

.entry-citation {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.5;
}

.entry-citation em {
    font-style: italic;
}

.entry-citation a {
    color: #1565c0;
}

.entry-abstract {
    font-size: 13px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 10px;
}

.entry-abstract strong {
    color: #333;
}

.read-more-link {
    color: #c62828;
}

.read-more-link:hover {
    text-decoration: underline;
}

.show-figures-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    padding: 4px 0;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    font-family: inherit;
}

.show-figures-btn:hover {
    color: var(--primary);
}

.show-figures-btn i {
    font-size: 12px;
}

.no-articles {
    text-align: center;
    padding: 50px 20px;
    color: #666;
}

.no-articles i {
    font-size: 48px;
    color: #ccc;
    margin-bottom: 15px;
}

.no-articles a {
    color: var(--primary);
}

/* ══════════════════════════════════════════════════════════
   NEWS SECTION - Right Sidebar
   ══════════════════════════════════════════════════════════ */

.news-section {
    margin-bottom: 25px;
}

.news-feed {
    list-style: none;
}

.news-entry {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.news-entry:first-child {
    padding-top: 0;
}

.news-date {
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
}

.news-link {
    font-size: 14px;
    color: #1565c0;
    line-height: 1.4;
    display: block;
}

.news-link:hover {
    text-decoration: underline;
}

.more-news-link {
    display: block;
    font-size: 13px;
    color: #1565c0;
    margin-top: 12px;
}

.more-news-link:hover {
    text-decoration: underline;
}

/* Promotional Banner */
.promo-banner {
    background: linear-gradient(135deg, #8b0000 0%, #b22222 100%);
    border-radius: 4px;
    overflow: hidden;
    color: white;
}

.promo-header {
    background: rgba(0, 0, 0, 0.2);
    padding: 10px 15px;
    font-size: 16px;
    font-weight: 600;
    border-left: 4px solid #ff6b6b;
}

.promo-body {
    padding: 20px 15px;
}

.promo-body h4 {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
    color: white;
}

.promo-features {
    list-style: none;
    font-size: 13px;
}

.promo-features li {
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.promo-features li:last-child {
    border-bottom: none;
}

.back-to-top-link {
    display: block;
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.15);
    color: white;
    font-size: 13px;
    text-align: center;
}

.back-to-top-link:hover {
    background: rgba(0, 0, 0, 0.25);
    color: white;
}
}

/* ══════════════════════════════════════════════════════════
   SEARCH BAR - Article Search
   ══════════════════════════════════════════════════════════ */

.search-section {
    background: var(--bg);
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
}

.search-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.search-bar label {
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
}

.search-input {
    flex: 1;
    min-width: 180px;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    transition: all .2s;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.1);
}

.search-select {
    padding: 10px 36px 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    background: white url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23666"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat right 10px center;
    background-size: 18px;
    appearance: none;
    cursor: pointer;
    min-width: 140px;
}

.search-btn {
    padding: 10px 24px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
}

.search-btn:hover {
    background: var(--primary-dark);
}

.search-advanced {
    color: var(--text-light);
    font-size: 14px;
}

.search-advanced:hover {
    color: var(--primary);
}

/* ══════════════════════════════════════════════════════════
   THREE COLUMN LAYOUT
   ══════════════════════════════════════════════════════════ */

.main-layout {
    display: grid;
    grid-template-columns: 260px 1fr 280px;
    gap: 30px;
    padding: 30px 0;
}

.sidebar-left,
.sidebar-right {
    min-width: 0;
}

.main-content {
    min-width: 0;
}

/* Sidebar Sections */
.sidebar-section {
    margin-bottom: 30px;
}

.sidebar-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

/* Journal List */
.journal-dropdown {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.browse-links {
    list-style: none;
}

.browse-links li {
    margin-bottom: 8px;
}

.browse-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    font-size: 14px;
    padding: 4px 0;
}

.browse-links a:hover {
    color: var(--primary);
}

.browse-links a i {
    color: var(--text-muted);
    font-size: 10px;
}

/* Subject List with Icons */
.subject-list {
    list-style: none;
}

.subject-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
}

.subject-item:last-child {
    border-bottom: none;
}

.subject-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.subject-icon.health {
    background: #e8f5e9;
    color: #2e7d32;
}

.subject-icon.science {
    background: #e3f2fd;
    color: #1565c0;
}

.subject-icon.agriculture {
    background: #fff3e0;
    color: #ef6c00;
}

.subject-icon.cs {
    background: #f3e5f5;
    color: #7b1fa2;
}

.subject-icon.education {
    background: #fce4ec;
    color: #c2185b;
}

.subject-icon.arts {
    background: #fff8e1;
    color: #ffa000;
}

.subject-icon.business {
    background: #e0f2f1;
    color: #00796b;
}

.subject-icon.engineering {
    background: #eceff1;
    color: #546e7a;
}

.subject-icon.interdisciplinary {
    background: #fafafa;
    color: #616161;
}

.subject-name {
    font-size: 14px;
    color: var(--text);
    font-weight: 500;
}

.subject-item:hover .subject-name {
    color: var(--primary);
}

/* ══════════════════════════════════════════════════════════
   FEATURED ARTICLE CAROUSEL
   ══════════════════════════════════════════════════════════ */

.featured-carousel {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 30px;
}

.carousel-slide {
    position: relative;
    height: 300px;
}

.carousel-image {
    position: absolute;
    inset: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.carousel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px 24px 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    color: white;
}

.carousel-category {
    font-size: 13px;
    font-style: italic;
    opacity: 0.9;
    margin-bottom: 8px;
}

.carousel-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: white;
}

.carousel-title a {
    color: white;
}

.carousel-title a:hover {
    text-decoration: underline;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
    z-index: 10;
}

.carousel-nav:hover {
    background: white;
    box-shadow: var(--shadow);
}

.carousel-nav.prev {
    left: 12px;
}

.carousel-nav.next {
    right: 12px;
}

.carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all .2s;
}

.carousel-dot.active {
    background: white;
    transform: scale(1.2);
}

/* ══════════════════════════════════════════════════════════
   RECENT ARTICLES LIST
   ══════════════════════════════════════════════════════════ */

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
}

.article-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.article-card {
    background: var(--bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 20px;
    transition: all .2s;
}

.article-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--border);
}

.article-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.badge-open-access {
    background: var(--success);
    color: white;
}

.badge-article {
    background: var(--accent);
    color: white;
}

.badge-review {
    background: var(--info);
    color: white;
}

.article-meta-top {
    font-size: 13px;
    color: var(--text-muted);
    margin-left: auto;
}

.article-title {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 10px;
}

.article-title a {
    color: var(--text);
}

.article-title a:hover {
    color: var(--primary);
}

.article-authors {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.article-authors a {
    color: var(--text-light);
}

.article-authors a:hover {
    color: var(--primary);
}

.article-source {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.article-source em {
    font-style: italic;
}

.article-abstract {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

.article-abstract .read-more {
    color: var(--primary);
    font-weight: 500;
}

.article-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 6px 0;
    color: var(--text-light);
    font-size: 13px;
    background: none;
    border: none;
    cursor: pointer;
}

.article-toggle:hover {
    color: var(--primary);
}

/* ══════════════════════════════════════════════════════════
   NEWS SIDEBAR
   ══════════════════════════════════════════════════════════ */

.news-list {
    list-style: none;
}

.news-item {
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
}

.news-item:last-child {
    border-bottom: none;
}

.news-date {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.news-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

.news-title a {
    color: var(--primary);
}

.news-title a:hover {
    text-decoration: underline;
}

.news-more {
    display: block;
    padding-top: 16px;
    color: var(--primary);
    font-size: 14px;
}

/* Side Banner */
.side-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    color: white;
    margin-top: 20px;
}

.side-banner-logo {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.side-banner-text {
    font-size: 14px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    display: inline-block;
    margin: 20px auto;
    letter-spacing: 2px;
    font-weight: 500;
}

.side-banner-subtitle {
    font-size: 12px;
    opacity: 0.9;
    margin-top: 16px;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary);
    color: white;
    padding: 10px 16px;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    display:none !important;
}

.back-to-top:hover {
    background: var(--primary-dark);
}

/* ══════════════════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════════════════ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all .2s;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: white;
}

.btn-secondary {
    background: var(--bg-alt);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--border-light);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-success {
    background: var(--success);
    color: white;
}

.btn-success:hover {
    background: #1b5e20;
    color: white;
}

.btn-sm {
    padding: 6px 14px;
    font-size: 13px;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
}

/* ══════════════════════════════════════════════════════════
   ISSUE ARCHIVE
   ══════════════════════════════════════════════════════════ */

.archive-section {
    padding: 40px 0;
}

.volume-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.volume-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.volume-header {
    background: var(--bg-alt);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all .2s;
}

.volume-header:hover {
    background: var(--border-light);
}

.volume-title {
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.volume-year {
    font-size: 14px;
    color: var(--text-muted);
}

.volume-toggle {
    color: var(--text-muted);
    transition: transform .2s;
}

.volume-card.open .volume-toggle {
    transform: rotate(180deg);
}

.volume-content {
    display: none;
    padding: 20px;
    border-top: 1px solid var(--border-light);
}

.volume-card.open .volume-content {
    display: block;
}

.issue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.issue-item {
    background: var(--bg-alt);
    padding: 16px;
    border-radius: var(--radius);
    text-align: center;
    transition: all .2s;
}

.issue-item:hover {
    background: var(--primary-bg);
    transform: translateY(-2px);
}

.issue-number {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.issue-month {
    font-size: 13px;
    color: var(--text-light);
}

.issue-articles {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ══════════════════════════════════════════════════════════
   ARTICLE VIEW PAGE
   ══════════════════════════════════════════════════════════ */

.article-page {
    padding: 40px 0;
}

.article-actions-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
    padding: 16px;
    background: var(--bg-alt);
    border-radius: var(--radius);
}

.article-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    transition: all .2s;
}

.article-action-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.article-action-btn.primary {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.article-action-btn.primary:hover {
    background: var(--primary-dark);
}

.article-header {
    margin-bottom: 30px;
}

.article-category {
    font-size: 14px;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 12px;
}

.article-page-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 16px;
}

.article-author-list {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 16px;
}

.article-source-info {
    font-size: 14px;
    color: var(--text-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.pdf-viewer {
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 30px;
}

.pdf-embed {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: var(--radius);
}

.article-abstract-section {
    background: var(--bg-alt);
    padding: 24px;
    border-radius: var(--radius);
    margin-bottom: 30px;
}

.abstract-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}

.abstract-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-light);
}

.keywords-section {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.keywords-label {
    font-weight: 600;
    color: var(--text);
}

.keywords-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.keyword-tag {
    padding: 4px 12px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-light);
}

/* ══════════════════════════════════════════════════════════
   AUTHOR TOOLS / TRACK ARTICLE
   ══════════════════════════════════════════════════════════ */

.author-tools-page {
    padding: 40px 0;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.tool-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    transition: all .3s;
}

.tool-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: var(--primary);
}

.tool-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: var(--primary-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
}

.tool-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.tool-desc {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 16px;
}

/* Track Article Form */
.track-form {
    max-width: 500px;
    margin: 0 auto;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 15px;
    transition: all .2s;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.1);
}

.form-help {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 6px;
}

/* ══════════════════════════════════════════════════════════
   DOWNLOADS PAGE
   ══════════════════════════════════════════════════════════ */

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.download-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all .2s;
}

.download-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.download-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

.download-info h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.download-info p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.download-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--primary);
}

.download-link:hover {
    text-decoration: underline;
}

/* ══════════════════════════════════════════════════════════
   STATISTICS PAGE
   ══════════════════════════════════════════════════════════ */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
}

.stats-chart {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}

.chart-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* ══════════════════════════════════════════════════════════
   INFO PAGES
   ══════════════════════════════════════════════════════════ */

.info-page {
    padding: 40px 0;
}

.info-content {
    max-width: 800px;
    margin: 0 auto;
}

.info-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
}

.info-body {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text);
}

.info-body h2 {
    font-size: 22px;
    margin: 32px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-bg);
}

.info-body h3 {
    font-size: 18px;
    margin: 24px 0 12px;
}

.info-body p {
    margin-bottom: 16px;
}

.info-body ul,
.info-body ol {
    margin: 16px 0;
    padding-left: 24px;
}

.info-body li {
    margin-bottom: 8px;
}

/* ══════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════ */

.site-footer {
    background: #2c3e50;
    color: rgba(255, 255, 255, 0.8);
    padding: 50px 0 20px;
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: white;
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copyright {
    font-size: 14px;
}
.footer-developed {
    font-size: 12.5px;
    opacity: 0.75;
    margin-left: 4px;
}
.footer-developed a { color: inherit; text-decoration: underline; }
.footer-developed a:hover { opacity: 1; color: #c4972f; }
.footer-brand {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-bottom: 20px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo-img {
    max-height: 56px;
    max-width: 220px;
    object-fit: contain;
    background: rgba(255,255,255,0.05);
    padding: 6px 10px;
    border-radius: 6px;
}
.footer-tagline {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.85;
}
@media (max-width: 600px) {
    .footer-brand { flex-direction: column; align-items: flex-start; }
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
}

.footer-social a:hover {
    color: white;
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .main-layout {
        grid-template-columns: 1fr;
    }

    .sidebar-left,
    .sidebar-right {
        display: none;
    }

    /* MDPI Layout */
    .mdpi-layout {
        grid-template-columns: 1fr;
    }

    .mdpi-sidebar-left,
    .mdpi-sidebar-right {
        display: none;
    }

    .header-actions {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: var(--shadow-md);
    }

    .nav-list.active {
        display: flex;
    }

    .search-form {
        flex-wrap: wrap;
    }

    .search-field,
    .search-dropdown {
        flex: 1 1 45%;
        min-width: 140px;
        max-width: none;
    }
}

@media (max-width: 768px) {

    .hero-title,
    .hero-heading {
        font-size: 26px;
    }

    .hero-text {
        font-size: 15px;
    }

    .mdpi-hero {
        padding: 40px 0 50px;
    }

    .search-form {
        flex-direction: column;
        align-items: stretch;
    }

    .search-field,
    .search-dropdown {
        flex: none;
        width: 100%;
        max-width: none;
    }

    .search-label {
        margin-bottom: 8px;
    }

    .featured-slider {
        margin-bottom: 20px;
    }

    .slider-container {
        height: 220px;
    }

    .slide-title {
        font-size: 16px;
    }

    .entry-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .entry-title {
        font-size: 15px;
    }

    .search-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .search-bar label {
        margin-bottom: 8px;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ══════════════════════════════════════════════════════════
   UTILITIES
   ══════════════════════════════════════════════════════════ */

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-muted {
    color: var(--text-muted);
}

.text-primary {
    color: var(--primary);
}

.text-success {
    color: var(--success);
}

.text-danger {
    color: var(--danger);
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

.mt-1 {
    margin-top: 8px;
}

.mt-2 {
    margin-top: 16px;
}

.mt-3 {
    margin-top: 24px;
}

.mt-4 {
    margin-top: 32px;
}

.mb-1 {
    margin-bottom: 8px;
}

.mb-2 {
    margin-bottom: 16px;
}

.mb-3 {
    margin-bottom: 24px;
}

.mb-4 {
    margin-bottom: 32px;
}

.p-3 {
    padding: 24px;
}

.p-4 {
    padding: 32px;
}

.bg-alt {
    background: var(--bg-alt);
}

.rounded {
    border-radius: var(--radius);
}

.rounded-lg {
    border-radius: var(--radius-lg);
}

.shadow {
    box-shadow: var(--shadow);
}

.border {
    border: 1px solid var(--border);
}

.flex {
    display: flex;
}

.flex-wrap {
    flex-wrap: wrap;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-2 {
    gap: 16px;
}

.gap-3 {
    gap: 24px;
}

.py-5 {
    padding-top: 40px;
    padding-bottom: 40px;
}

/* ══════════════════════════════════════════════════════════
   DOWNLOADS PAGE - Enhanced
   ══════════════════════════════════════════════════════════ */

.downloads-page {
    padding: 40px 0;
    max-width: 1000px;
    margin: 0 auto;
}

.download-section {
    margin-bottom: 40px;
}

.download-section .section-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.download-section .section-title i {
    color: var(--primary);
}

.download-section .section-desc {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 14px;
}

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.download-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all .2s;
}

.download-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.download-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-bg);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--primary);
    flex-shrink: 0;
}

.download-info {
    flex: 1;
    min-width: 0;
}

.download-info h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.download-info p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.file-info {
    font-size: 12px;
    color: var(--text-muted);
}

.file-info i {
    margin-right: 4px;
}

/* ══════════════════════════════════════════════════════════
   SUBJECT AREAS PAGE
   ══════════════════════════════════════════════════════════ */

.subject-areas-page {
    padding: 40px 0;
}

.subjects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.subject-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: block;
    text-align: center;
    transition: all .3s;
    color: var(--text);
}

.subject-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: var(--primary);
    color: var(--text);
}

.subject-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
}

.subject-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.subject-desc {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.subject-count {
    display: inline-block;
    padding: 4px 12px;
    background: var(--bg-alt);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-light);
}

/* ══════════════════════════════════════════════════════════
   STATISTICS PAGE - Enhanced
   ══════════════════════════════════════════════════════════ */

.statistics-page {
    padding: 40px 0;
    max-width: 1100px;
    margin: 0 auto;
}

.stats-overview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
    margin-bottom: 40px;
}

.stats-overview .stat-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 16px;
    text-align: center;
    transition: all .2s;
}

.stats-overview .stat-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.stats-overview .stat-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 12px;
    background: var(--primary-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--primary);
}

.stats-overview .stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.stats-overview .stat-label {
    font-size: 13px;
    color: var(--text-light);
}

/* ══════════════════════════════════════════════════════════
   ARTICLE DETAIL PAGE - MDPI STYLE
   ══════════════════════════════════════════════════════════ */

/* Article Header Bar */
.article-header-bar {
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: var(--header-height);
    z-index: 90;
}

.article-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}

.article-bar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.article-type-badge {
    padding: 4px 12px;
    background: var(--primary);
    color: white;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.article-oa-badge {
    padding: 4px 12px;
    background: var(--success);
    color: white;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.article-oa-badge i {
    margin-right: 4px;
}

.article-bar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bar-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    transition: all .2s;
    text-decoration: none;
}

.bar-action:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-bg);
}

/* Article Detail Layout */
.article-detail-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    padding: 40px 0;
}

.article-main-content {
    min-width: 0;
}

/* Article Header Info */
.article-detail-header {
    margin-bottom: 32px;
}

.article-journal-info {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.article-journal-info a {
    color: var(--primary);
    text-decoration: none;
}

.article-journal-info a:hover {
    text-decoration: underline;
}

.article-journal-info .separator {
    margin: 0 8px;
    color: var(--border);
}

.article-detail-title {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text);
    margin-bottom: 20px;
}

/* Authors Section */
.article-authors-section {
    margin-bottom: 20px;
}

.authors-line {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.author-link {
    color: var(--text);
    font-weight: 500;
    text-decoration: none;
}

.author-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

.corresponding-mark {
    color: var(--primary);
    font-weight: 700;
}

.affiliations-list {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.affiliations-list p {
    margin-bottom: 2px;
}

.affiliations-list sup {
    color: var(--primary);
    font-weight: 600;
    margin-right: 4px;
}

.corresponding-author {
    font-size: 13px;
    color: var(--text-muted);
    font-style: italic;
}

/* Publication Info */
.article-pub-info {
    font-size: 13px;
    color: var(--text-muted);
    padding: 16px;
    background: var(--bg-alt);
    border-radius: var(--radius);
}

.pub-info-item {
    margin-bottom: 6px;
}

.pub-info-item:last-child {
    margin-bottom: 0;
}

.pub-info-item a {
    color: var(--primary);
    text-decoration: none;
}

.pub-info-item a:hover {
    text-decoration: underline;
}

.pub-info-item .sep {
    margin: 0 8px;
    color: var(--border);
}

/* Abstract Section */
.article-abstract {
    margin-bottom: 32px;
}

.section-heading {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.abstract-content {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-light);
    text-align: justify;
}

/* Keywords Section */
.article-keywords {
    margin-bottom: 32px;
}

.keywords-wrap {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
}

.keyword-item {
    color: var(--primary);
    text-decoration: none;
}

.keyword-item:hover {
    text-decoration: underline;
}

/* Full Text Section */
.article-full-text {
    margin-bottom: 32px;
}

.article-body {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text);
}

.article-body p {
    margin-bottom: 16px;
}

.article-body h3,
.article-body h4 {
    margin-top: 24px;
    margin-bottom: 12px;
}

/* PDF Download Section */
.article-pdf-section {
    margin-bottom: 32px;
}

.pdf-download-box {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--primary-bg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(21, 101, 192, 0.2);
}

.pdf-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #dc3545;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.pdf-info {
    flex: 1;
}

.pdf-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.pdf-info p {
    font-size: 13px;
    color: var(--text-muted);
}

.pdf-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s;
}

.pdf-download-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Supplementary, Contributions, Funding, Conflicts, References */
.article-supplementary,
.article-contributions,
.article-funding,
.article-conflicts,
.article-references {
    margin-bottom: 24px;
}

.supplementary-list {
    list-style: none;
}

.supplementary-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
}

.supplementary-list li:last-child {
    border-bottom: none;
}

.supplementary-list a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
}

.supplementary-list a:hover {
    text-decoration: underline;
}

.references-list {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-light);
}

.references-list ol {
    padding-left: 24px;
}

.references-list li {
    margin-bottom: 8px;
}

/* Article Sidebar */
.article-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 60px);
    align-self: start;
}

.sidebar-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 20px;
}

.sidebar-card-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-light);
}

/* Article Info List */
.article-info-list {
    font-size: 14px;
}

.article-info-list dt {
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 8px;
}

.article-info-list dt:first-child {
    margin-top: 0;
}

.article-info-list dd {
    color: var(--text);
    margin-left: 0;
}

/* Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.metric-item {
    text-align: center;
    padding: 16px 12px;
    background: var(--bg-alt);
    border-radius: var(--radius);
}

.metric-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    display: block;
}

.metric-label {
    font-size: 12px;
    color: var(--text-muted);
    display: block;
    margin-top: 4px;
}

/* Download Options */
.download-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.download-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    cursor: pointer;
    transition: all .2s;
}

.download-option:hover {
    background: var(--primary-bg);
    border-color: var(--primary);
    color: var(--primary);
}

.download-option i {
    font-size: 16px;
    color: var(--primary);
}

/* Citation Options */
.citation-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.citation-btn {
    padding: 8px 14px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    transition: all .2s;
}

.citation-btn:hover {
    background: var(--primary-bg);
    border-color: var(--primary);
    color: var(--primary);
}

/* Share Buttons */
.share-buttons {
    display: flex;
    gap: 8px;
}

.share-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 16px;
    color: white;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all .2s;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.linkedin {
    background: #0a66c2;
}

.share-btn.copy {
    background: var(--text-muted);
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    opacity: 0.9;
}

/* Related Articles */
.related-articles {
    list-style: none;
}

.related-articles li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
}

.related-articles li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.related-articles a {
    font-size: 14px;
    color: var(--text);
    text-decoration: none;
    line-height: 1.5;
}

.related-articles a:hover {
    color: var(--primary);
}

/* Responsive Article Detail */
@media (max-width: 1024px) {
    .article-detail-layout {
        grid-template-columns: 1fr;
    }

    .article-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }

    .sidebar-card {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .article-header-bar {
        position: static;
    }

    .article-bar-inner {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .article-bar-right {
        flex-wrap: wrap;
    }

    .article-detail-title {
        font-size: 22px;
    }

    .pdf-download-box {
        flex-direction: column;
        text-align: center;
    }

    .sidebar-card {
        padding: 16px;
    }

    .metrics-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .article-detail-layout {
        padding: 20px 0;
    }

    .article-detail-title {
        font-size: 20px;
    }

    .bar-action {
        padding: 6px 10px;
        font-size: 12px;
    }

    .share-buttons {
        flex-wrap: wrap;
    }
}

.stats-section {
    margin-bottom: 40px;
}

.stats-section .section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.stats-section .section-title i {
    color: var(--primary);
}

/* Downloads Table */
.downloads-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.downloads-table th,
.downloads-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.downloads-table th {
    background: var(--bg-alt);
    font-weight: 600;
    font-size: 13px;
    color: var(--text-light);
    text-transform: uppercase;
}

.downloads-table tbody tr:hover {
    background: var(--bg-alt);
}

.downloads-table tfoot td {
    background: var(--bg-alt);
    border-bottom: none;
}

.progress-bar {
    height: 8px;
    background: var(--border-light);
    border-radius: 4px;
    overflow: hidden;
    min-width: 100px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 4px;
    transition: width .3s ease;
}

/* Subject Stats Grid */
.subject-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
}

.subject-stat-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
}

.subject-stat-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.subject-name {
    font-weight: 500;
}

.subject-stat-card .subject-count {
    font-weight: 600;
    color: var(--primary);
}

.subject-stat-card .percentage {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 6px;
    display: block;
}

/* Top Articles List */
.top-articles-list {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.top-article-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-light);
}

.top-article-item:last-child {
    border-bottom: none;
}

.top-article-item:hover {
    background: var(--bg-alt);
}

.top-article-item .rank {
    width: 32px;
    height: 32px;
    background: var(--primary-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary);
    flex-shrink: 0;
}

.top-article-item .article-info {
    flex: 1;
    min-width: 0;
}

.top-article-item .article-title {
    font-weight: 500;
    font-size: 14px;
    color: var(--text);
    display: block;
    margin-bottom: 4px;
}

.top-article-item .article-title:hover {
    color: var(--primary);
}

.top-article-item .article-meta {
    font-size: 12px;
    color: var(--text-muted);
}

.top-article-item .article-meta .authors {
    margin-right: 12px;
}

.top-article-item .download-count {
    font-weight: 600;
    color: var(--primary);
    font-size: 14px;
    white-space: nowrap;
}

.top-article-item .download-count i {
    margin-right: 4px;
}

/* Timeline Grid */
.timeline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.timeline-item {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    text-align: center;
}

.timeline-item .year {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.timeline-item .count {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 10px;
}

/* ══════════════════════════════════════════════════════════
   TRACK RESULT PAGE
   ══════════════════════════════════════════════════════════ */

.track-result-page {
    padding: 40px 0;
    max-width: 700px;
    margin: 0 auto;
}

.result-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 24px;
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.result-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
}

.result-meta {
    font-size: 14px;
    color: var(--text-light);
}

/* Status Timeline */
.status-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 30px 0;
    padding: 0 10px;
}

.status-timeline::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 40px;
    right: 40px;
    height: 3px;
    background: var(--border);
}

.timeline-step {
    position: relative;
    text-align: center;
    z-index: 1;
}

.step-icon {
    width: 40px;
    height: 40px;
    background: var(--bg);
    border: 3px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    font-size: 14px;
    color: var(--text-muted);
}

.timeline-step.completed .step-icon {
    background: var(--success);
    border-color: var(--success);
    color: white;
}

.timeline-step.current .step-icon {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(21, 101, 192, 0.4);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(21, 101, 192, 0);
    }
}

.step-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
}

.timeline-step.completed .step-label,
.timeline-step.current .step-label {
    color: var(--text);
}

/* Result Actions */
.result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
}

/* ══════════════════════════════════════════════════════════
   BREADCRUMB
   ══════════════════════════════════════════════════════════ */

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--text-light);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb span {
    color: var(--text-muted);
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE - Additional
   ══════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .subjects-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stats-overview {
        grid-template-columns: repeat(2, 1fr);
    }

    .status-timeline {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 30px;
    }

    .status-timeline::before {
        top: 0;
        bottom: 0;
        left: 19px;
        width: 3px;
        height: auto;
        right: auto;
    }

    .timeline-step {
        display: flex;
        align-items: center;
        gap: 12px;
        text-align: left;
        margin-bottom: 16px;
    }

    .timeline-step .step-icon {
        margin: 0;
    }

    .top-article-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .top-article-item .rank {
        position: absolute;
    }

    .top-article-item .article-info {
        padding-left: 48px;
    }

    .top-article-item .download-count {
        margin-left: 48px;
    }
}

@media (max-width: 480px) {
    .subjects-grid {
        grid-template-columns: 1fr;
    }

    .downloads-grid {
        grid-template-columns: 1fr;
    }

    .download-card {
        flex-direction: column;
        text-align: center;
    }

    .download-info {
        text-align: center;
    }
}

.article-metadata-box{display:none !important;}