/* ================================================================
   IJRDO · JOURNAL OF ELECTRICAL AND ELECTRONICS ENGINEERING
   Complete OJS Stylesheet · "Blueprint" Theme
   ----------------------------------------------------------------
   Palette : Engineering Blue + Copper on cool white, grid backing
   Fonts   : Archivo (display) + IBM Plex Sans (body) + Plex Mono (specs)
   Style   : Technical, precise, schematic-inspired, professional
   ----------------------------------------------------------------
   UPDATES : Logo image support, non-sticky header,
             bigger journal name, full responsive breakpoints
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@500;600;700;800;900&family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

/* =================================================================
   1 · DESIGN TOKENS
   ================================================================= */
:root {
    /* Primary — Engineering blue */
    --jeee-primary:         #1e3a8a;
    --jeee-primary-hover:   #2563eb;
    --jeee-primary-dark:    #172554;
    --jeee-primary-soft:    #dbeafe;
    --jeee-primary-tint:    #eff6ff;

    /* Accent — Copper */
    --jeee-accent:          #ea580c;
    --jeee-accent-hover:    #f97316;
    --jeee-accent-soft:     #ffedd5;

    /* Signal — Green LED */
    --jeee-signal:          #16a34a;
    --jeee-signal-soft:     #dcfce7;

    /* Graphite */
    --jeee-graphite:        #475569;
    --jeee-graphite-soft:   #e2e8f0;

    /* Surfaces */
    --jeee-bg:              #f8fafc;
    --jeee-surface:         #ffffff;
    --jeee-surface-2:       #f1f5f9;
    --jeee-surface-3:       #e2e8f0;

    /* Ink */
    --jeee-ink:             #0f172a;
    --jeee-ink-body:        #334155;
    --jeee-ink-muted:       #64748b;
    --jeee-ink-light:       #94a3b8;

    /* Rules */
    --jeee-rule:            #e2e8f0;
    --jeee-rule-strong:     #cbd5e1;
    --jeee-rule-hair:       #f1f5f9;

    /* Radii */
    --jeee-r-sm:            4px;
    --jeee-r-md:            8px;
    --jeee-r-lg:            12px;
    --jeee-r-xl:            16px;
    --jeee-r-full:          999px;

    /* Shadows */
    --jeee-shadow-xs:       0 1px 2px rgba(15, 23, 42, .06);
    --jeee-shadow-sm:       0 2px 6px rgba(15, 23, 42, .07);
    --jeee-shadow-md:       0 8px 20px -4px rgba(15, 23, 42, .10);
    --jeee-shadow-lg:       0 20px 40px -12px rgba(30, 58, 138, .18);
    --jeee-shadow-xl:       0 30px 60px -20px rgba(30, 58, 138, .25);

    /* Rings */
    --jeee-ring:            0 0 0 4px rgba(30, 58, 138, .14);
    --jeee-ring-accent:     0 0 0 4px rgba(234, 88, 12, .16);

    /* Motion */
    --jeee-ease:            cubic-bezier(.22, .8, .32, 1);
    --jeee-duration:        220ms;

    /* Type */
    --jeee-font-display:    'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --jeee-font-body:       'IBM Plex Sans', system-ui, -apple-system, sans-serif;
    --jeee-font-mono:       'IBM Plex Mono', 'SF Mono', Consolas, monospace;
}

/* =================================================================
   2 · BASE · TYPOGRAPHY
   ================================================================= */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 20px; /* reduced — header is no longer sticky */
}

body {
    font-family: var(--jeee-font-body);
    color: var(--jeee-ink-body);
    background: var(--jeee-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.65;
    position: relative;
    overflow-x: hidden;
}

/* Engineering graph paper */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(30, 58, 138, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 58, 138, .035) 1px, transparent 1px),
        linear-gradient(rgba(30, 58, 138, .015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 58, 138, .015) 1px, transparent 1px);
    background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
    pointer-events: none;
    z-index: 0;
    mask-image: radial-gradient(ellipse at top, black 40%, transparent 90%);
    -webkit-mask-image: radial-gradient(ellipse at top, black 40%, transparent 90%);
}

::selection { background: var(--jeee-primary); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--jeee-surface-2); }
::-webkit-scrollbar-thumb {
    background: var(--jeee-graphite);
    border-radius: var(--jeee-r-sm);
    border: 2px solid var(--jeee-surface-2);
}
::-webkit-scrollbar-thumb:hover { background: var(--jeee-primary); }

.pkp_structure_content h1,
.pkp_structure_content h2,
.pkp_structure_content h3,
.pkp_structure_content h4,
.pkp_structure_content h5,
.pkp_structure_content h6 {
    font-family: var(--jeee-font-display);
    color: var(--jeee-ink);
    letter-spacing: -0.02em;
    line-height: 1.22;
    font-weight: 700;
}

.pkp_structure_content a {
    color: var(--jeee-primary);
    text-decoration: none;
    transition: color var(--jeee-duration) var(--jeee-ease);
}

.pkp_structure_content a:hover,
.pkp_structure_content a:focus {
    color: var(--jeee-accent);
}

/* =================================================================
   3 · HEADER SHELL — NON-STICKY VERSION
   ================================================================= */
#headerNavigationContainer {
    background: var(--jeee-surface);
    border-bottom: 1px solid var(--jeee-rule);
    box-shadow: var(--jeee-shadow-xs);
    position: relative; /* changed from sticky */
    top: 0;
    z-index: 1030;
    font-family: var(--jeee-font-body);
    color: var(--jeee-ink);
}

/* Technical signal-bar across the top */
#headerNavigationContainer::before {
    content: '';
    display: block;
    height: 4px;
    background:
        linear-gradient(90deg,
            var(--jeee-primary)      0,   var(--jeee-primary) 30%,
            var(--jeee-accent)       30%, var(--jeee-accent)  55%,
            var(--jeee-signal)       55%, var(--jeee-signal)  65%,
            var(--jeee-primary-hover) 65%, var(--jeee-primary-hover) 100%);
}

#headerNavigationContainer .container-fluid {
    max-width: 1440px;
    margin-inline: auto;
    padding-inline: clamp(16px, 3vw, 32px);
}

/* =================================================================
   4 · TOP BAR (user nav) — BADGE HIDDEN, ISSN-style label
   ================================================================= */
#headerNavigationContainer > .container-fluid:first-of-type {
    background: var(--jeee-surface-2);
    border-bottom: 1px solid var(--jeee-rule);
    padding-block: 8px;
    position: relative;
}

#headerNavigationContainer > .container-fluid:first-of-type::before {
    content: 'IJRDO · EEE · PEER-REVIEWED · OPEN ACCESS';
    position: absolute;
    left: clamp(16px, 3vw, 32px);
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--jeee-font-mono);
    font-size: 11px;
    font-weight: 500;
    color: var(--jeee-ink-muted);
    letter-spacing: 0.08em;
    pointer-events: none;
}

@media (max-width: 640px) {
    #headerNavigationContainer > .container-fluid:first-of-type::before {
        display: none;
    }
}

#navigationUser {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    float: none !important;
}

#navigationUser .badge { display: none !important; }

#navigationUser > li.dropdown > a {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    padding: 4px 14px 4px 4px !important;
    background: var(--jeee-surface) !important;
    border: 1px solid var(--jeee-rule);
    border-radius: var(--jeee-r-sm);
    font-family: var(--jeee-font-mono);
    font-size: 12px;
    font-weight: 500;
    color: var(--jeee-ink) !important;
    text-decoration: none;
    transition: all var(--jeee-duration) var(--jeee-ease);
    box-shadow: var(--jeee-shadow-xs);
    letter-spacing: 0.02em;
}

#navigationUser > li.dropdown > a::before {
    content: '';
    width: 28px;
    height: 28px;
    border-radius: var(--jeee-r-sm);
    flex-shrink: 0;
    background-color: var(--jeee-primary);
    background-image:
        linear-gradient(135deg, rgba(255,255,255,.15), transparent 60%),
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffedd5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/><circle cx='12' cy='7' r='4'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%, 58%;
    box-shadow: 0 2px 6px rgba(30, 58, 138, .3);
}

#navigationUser > li.dropdown > a:hover {
    border-color: var(--jeee-accent);
    box-shadow: var(--jeee-ring-accent);
    transform: translateY(-1px);
}

#navigationUser .caret {
    color: var(--jeee-ink-muted);
    transition: transform var(--jeee-duration) var(--jeee-ease);
}

#navigationUser .dropdown.open > a .caret { transform: rotate(180deg); }

#navigationUser .dropdown-menu {
    border: 1px solid var(--jeee-rule-strong);
    border-top: 3px solid var(--jeee-primary);
    border-radius: var(--jeee-r-md);
    box-shadow: var(--jeee-shadow-lg);
    padding: 6px;
    margin-top: 10px;
    min-width: 220px;
    background: var(--jeee-surface);
    animation: jeeeFadeDown 200ms var(--jeee-ease);
}

#navigationUser .dropdown-menu > li > a {
    display: flex;
    align-items: center;
    padding: 9px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--jeee-ink);
    border-radius: var(--jeee-r-sm);
    transition: all 160ms var(--jeee-ease);
}

#navigationUser .dropdown-menu > li > a:hover,
#navigationUser .dropdown-menu > li > a:focus {
    background: var(--jeee-primary-tint);
    color: var(--jeee-primary);
}

/* =================================================================
   5 · BRAND / LOGO — Tech masthead with logo image + journal name
   ================================================================= */
.navbar-header {
    padding-block: 16px;
    float: none !important;
    display: flex;
    align-items: center;
}

.site-name { margin: 0; padding: 0; line-height: 1; }

.site-name a.navbar-brand {
    display: inline-flex !important;
    align-items: center;
    gap: 14px;
    height: auto !important;
    padding: 8px 0 !important;
    margin: 0 !important;
    font-family: var(--jeee-font-display) !important;
    letter-spacing: -0.025em;
    line-height: 1.15;
    color: var(--jeee-primary) !important;
    background: transparent !important;
    transition: color var(--jeee-duration) var(--jeee-ease);
    text-decoration: none;
}

/* Journal Name — bigger display text after logo */
.site-name a.navbar-brand::after {
    content: "IJRDO - JOURNAL OF ELECTRICAL AND ELECTRONICS ENGINEERING";
    font-family: var(--jeee-font-display);
    font-size: clamp(1.1rem, 2.4vw, 1.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--jeee-primary);
    line-height: 1.2;
    white-space: normal;
    display: inline-block;
    text-transform: none;
}

/* Hide any existing text inside the brand that might conflict */
.site-name a.navbar-brand span:not(.navbar-brand-logo) {
    display: none;
}

/* Logo Image Wrapper */
.navbar-brand-logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    position: relative;
}

.navbar-brand-logo img {
    width: clamp(48px, 8vw, 90px);
    height: auto;
    display: block;
    border-radius: var(--jeee-r-sm);
    transition: transform var(--jeee-duration) var(--jeee-ease),
                box-shadow var(--jeee-duration) var(--jeee-ease);
    box-shadow:
        0 6px 18px rgba(30, 58, 138, .18),
        inset 0 1px 0 rgba(255, 255, 255, .15);
}

/* Tech LED indicator overlay on the logo wrapper */
.navbar-brand-logo::before {
    content: '';
    position: absolute;
    top: 4px;
    right: 4px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--jeee-accent);
    box-shadow: 0 0 6px var(--jeee-accent);
    animation: jeeeBlink 2.4s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

.site-name a.navbar-brand:hover .navbar-brand-logo img {
    transform: translateY(-2px);
    box-shadow:
        0 10px 24px rgba(30, 58, 138, .26),
        inset 0 1px 0 rgba(255, 255, 255, .2);
}

.site-name a.navbar-brand:hover::after {
    color: var(--jeee-primary-hover);
}

.site-name a.navbar-brand:hover {
    color: var(--jeee-primary-hover) !important;
    text-decoration: none;
}

/* =================================================================
   6 · MAIN NAVIGATION — Bracket-indexed tech nav
   ================================================================= */
#nav-menu.navbar-collapse {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
}

#main-navigation {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
    gap: 0;
    float: none !important;
    counter-reset: navitem;
}

#main-navigation > li {
    position: relative;
    float: none !important;
    counter-increment: navitem;
}

#main-navigation > li > a {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    padding: 18px 14px;
    font-family: var(--jeee-font-body);
    font-size: clamp(12px, 1.5vw, 13.5px);
    font-weight: 600;
    color: var(--jeee-ink) !important;
    letter-spacing: 0;
    background: transparent !important;
    border: 0;
    position: relative;
    transition: color var(--jeee-duration) var(--jeee-ease);
}

#main-navigation > li > a::before {
    content: counter(navitem, decimal-leading-zero) '/';
    font-family: var(--jeee-font-mono);
    font-size: 10px;
    font-weight: 500;
    color: var(--jeee-accent);
    letter-spacing: 0;
    opacity: .7;
    transition: opacity var(--jeee-duration) var(--jeee-ease);
}

#main-navigation > li > a::after {
    content: '';
    position: absolute;
    left: 14px;
    bottom: 10px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--jeee-primary), var(--jeee-accent));
    transition: width var(--jeee-duration) var(--jeee-ease);
}

#main-navigation > li:hover > a::after,
#main-navigation > li.active > a::after,
#main-navigation > li.open > a::after {
    width: calc(100% - 28px);
}

#main-navigation > li > a:hover,
#main-navigation > li > a:focus,
#main-navigation > li.active > a,
#main-navigation > li.open > a {
    color: var(--jeee-primary) !important;
    background: transparent !important;
}

#main-navigation > li:hover > a::before,
#main-navigation > li.active > a::before,
#main-navigation > li.open > a::before {
    opacity: 1;
}

#main-navigation > li > a .caret {
    margin-left: 2px;
    opacity: .6;
    transition: transform var(--jeee-duration) var(--jeee-ease);
}

#main-navigation > li.open > a .caret { transform: rotate(180deg); }

#main-navigation .dropdown-menu {
    border: 1px solid var(--jeee-rule-strong);
    border-top: 3px solid var(--jeee-primary);
    border-radius: var(--jeee-r-md);
    box-shadow: var(--jeee-shadow-lg);
    padding: 6px;
    margin-top: 4px;
    background: var(--jeee-surface);
    min-width: 240px;
    animation: jeeeFadeDown 200ms var(--jeee-ease);
}

#main-navigation .dropdown-menu > li > a {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--jeee-ink);
    border-radius: var(--jeee-r-sm);
    position: relative;
    transition: all 160ms var(--jeee-ease);
}

#main-navigation .dropdown-menu > li > a::before {
    content: '>';
    font-family: var(--jeee-font-mono);
    color: var(--jeee-accent);
    font-weight: 500;
    margin-right: 8px;
    opacity: 0;
    transform: translateX(-6px);
    transition: all 160ms var(--jeee-ease);
}

#main-navigation .dropdown-menu > li > a:hover,
#main-navigation .dropdown-menu > li > a:focus {
    background: var(--jeee-primary-tint);
    color: var(--jeee-primary);
}

#main-navigation .dropdown-menu > li > a:hover::before,
#main-navigation .dropdown-menu > li > a:focus::before {
    opacity: 1;
    transform: translateX(0);
}

/* =================================================================
   7 · SEARCH — Terminal-style
   ================================================================= */
.pull-md-right {
    margin-left: auto;
    float: none !important;
}

.navbar-form {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
}

.navbar-form .form-group { position: relative; margin: 0; }

.navbar-form .form-group::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 50%;
    width: 14px;
    height: 14px;
    transform: translateY(-50%);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e3a8a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='8'/><path d='m21 21-4.3-4.3'/></svg>");
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
    opacity: .75;
}

.navbar-form .form-control {
    width: clamp(160px, 18vw, 220px);
    height: 40px;
    padding: 0 14px 0 38px;
    background: var(--jeee-surface-2);
    border: 1px solid var(--jeee-rule);
    border-radius: var(--jeee-r-sm);
    font-family: var(--jeee-font-mono);
    font-size: 12.5px;
    color: var(--jeee-ink);
    transition: all var(--jeee-duration) var(--jeee-ease);
    box-shadow: none;
}

.navbar-form .form-control::placeholder { color: var(--jeee-ink-light); }

.navbar-form .form-control:hover {
    border-color: var(--jeee-rule-strong);
    background: var(--jeee-surface);
}

.navbar-form .form-control:focus {
    width: clamp(200px, 22vw, 290px);
    background: var(--jeee-surface);
    border-color: var(--jeee-primary);
    box-shadow: var(--jeee-ring);
    outline: none;
}

.navbar-form .btn-default {
    height: 40px;
    padding: 0 clamp(16px, 2vw, 22px);
    background: var(--jeee-primary);
    border: 1px solid var(--jeee-primary);
    border-radius: var(--jeee-r-sm);
    color: #fff;
    font-family: var(--jeee-font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--jeee-duration) var(--jeee-ease);
    box-shadow: 0 4px 10px rgba(30, 58, 138, .2);
    white-space: nowrap;
}

.navbar-form .btn-default:hover,
.navbar-form .btn-default:focus {
    background: var(--jeee-primary-hover);
    border-color: var(--jeee-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(30, 58, 138, .3);
    outline: none;
}

/* =================================================================
   8 · MOBILE TOGGLE
   ================================================================= */
.navbar-toggle {
    margin: 10px 0;
    padding: 10px 12px;
    background: var(--jeee-surface-2);
    border: 1px solid var(--jeee-rule);
    border-radius: var(--jeee-r-sm);
    transition: all var(--jeee-duration) var(--jeee-ease);
}

.navbar-toggle:hover,
.navbar-toggle:focus {
    background: var(--jeee-primary-tint);
    border-color: var(--jeee-primary);
    outline: none;
}

.navbar-toggle .icon-bar {
    background: var(--jeee-primary);
    height: 2px;
    border-radius: 1px;
}

/* =================================================================
   9 · PAGE LAYOUT
   ================================================================= */
.pkp_structure_content.container {
    max-width: 1440px;
    padding-inline: clamp(16px, 3vw, 32px);
    padding-block: clamp(28px, 4vw, 52px);
    position: relative;
    z-index: 1;
}

.pkp_structure_content .row {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: clamp(20px, 3vw, 36px);
    margin: 0;
}

.pkp_structure_main {
    order: 1;
    flex: 1;
    min-width: 0;
}

.pkp_structure_sidebar {
    flex: 0 0 320px;
    width: 320px !important;
}

#main-content.page_index_journal {
    display: flex;
    flex-direction: column;
}

.page_index_journal .additional_content { order: -1; }
.page_index_journal .cmp_announcements { order: 0; }
.page_index_journal .current_issue { order: 1; }

/* =================================================================
   10 · HOMEPAGE IMAGE
   ================================================================= */
.homepage-image {
    margin: 0 0 36px;
    border-radius: var(--jeee-r-lg);
    overflow: hidden;
    box-shadow: var(--jeee-shadow-md);
    border: 1px solid var(--jeee-rule);
    position: relative;
    transition: transform var(--jeee-duration) var(--jeee-ease),
                box-shadow var(--jeee-duration) var(--jeee-ease);
}

.homepage-image::before,
.homepage-image::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--jeee-accent);
    z-index: 2;
    pointer-events: none;
}

.homepage-image::before {
    top: 12px;
    left: 12px;
    border-right: 0;
    border-bottom: 0;
}

.homepage-image::after {
    bottom: 12px;
    right: 12px;
    border-left: 0;
    border-top: 0;
}

.homepage-image:hover {
    transform: translateY(-3px);
    box-shadow: var(--jeee-shadow-lg);
}

.homepage-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* =================================================================
   11 · JOURNAL DESCRIPTION — Spec sheet style
   ================================================================= */
.journal-description {
    position: relative;
    padding: 32px 36px 32px 40px;
    margin: 0 0 44px;
    background: var(--jeee-surface);
    border: 1px solid var(--jeee-rule);
    border-radius: var(--jeee-r-lg);
    box-shadow: var(--jeee-shadow-sm);
    overflow: hidden;
}

.journal-description::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 6px;
    background:
        linear-gradient(180deg,
            var(--jeee-primary) 0,   var(--jeee-primary) 33%,
            var(--jeee-accent)  33%, var(--jeee-accent)  66%,
            var(--jeee-signal)  66%, var(--jeee-signal)  100%);
}

.journal-description::after {
    content: 'DOC · 01';
    position: absolute;
    top: 16px;
    right: 20px;
    font-family: var(--jeee-font-mono);
    font-size: 10px;
    font-weight: 500;
    color: var(--jeee-ink-muted);
    letter-spacing: 0.1em;
    padding: 3px 8px;
    border: 1px solid var(--jeee-rule);
    border-radius: var(--jeee-r-sm);
    background: var(--jeee-surface-2);
    pointer-events: none;
}

.journal-description p {
    font-family: var(--jeee-font-body) !important;
    font-size: 14.5px !important;
    line-height: 1.75 !important;
    color: var(--jeee-ink-body) !important;
    margin: 0 0 14px !important;
}

.journal-description p:last-child { margin-bottom: 0 !important; }

.journal-description p strong,
.journal-description em strong,
.journal-description strong em {
    color: var(--jeee-primary);
    font-weight: 600;
    font-family: var(--jeee-font-body) !important;
    font-style: normal !important;
}

.journal-description p strong span {
    display: inline-block;
    margin-top: 18px;
    padding: 8px 20px;
    background: var(--jeee-primary);
    border-radius: var(--jeee-r-sm);
    color: #fff !important;
    font-family: var(--jeee-font-mono);
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-shadow: none;
    box-shadow: 0 4px 12px rgba(30, 58, 138, .22);
}

/* =================================================================
   12 · ANNOUNCEMENTS
   ================================================================= */
.cmp_announcements { margin-bottom: 44px; }

.cmp_announcements .page-header {
    border: none;
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--jeee-rule-strong);
    position: relative;
}

.cmp_announcements .page-header::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 56px;
    height: 3px;
    background: var(--jeee-accent);
}

.cmp_announcements .page-header h2 {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--jeee-font-display);
    font-size: clamp(1.4rem, 2.2vw, 1.75rem);
    font-weight: 800;
    color: var(--jeee-ink);
    margin: 0;
    letter-spacing: -0.02em;
}

.cmp_announcements .page-header h2::before {
    content: '//';
    font-family: var(--jeee-font-mono);
    font-size: 1.4rem;
    color: var(--jeee-accent);
    font-weight: 500;
}

.announcement-summary {
    background: var(--jeee-surface);
    border: 1px solid var(--jeee-rule);
    border-radius: var(--jeee-r-md);
    padding: 20px 24px;
    transition: all var(--jeee-duration) var(--jeee-ease);
    position: relative;
}

.announcement-summary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--jeee-accent);
    border-radius: 3px 0 0 3px;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform var(--jeee-duration) var(--jeee-ease);
}

.announcement-summary:hover {
    transform: translateY(-2px);
    box-shadow: var(--jeee-shadow-md);
    border-color: var(--jeee-rule-strong);
}

.announcement-summary:hover::before { transform: scaleY(1); }

.announcement-summary .media-heading {
    margin: 0 0 10px;
    font-family: var(--jeee-font-display);
    font-size: 1.1rem;
    font-weight: 700;
}

.announcement-summary .media-heading a {
    color: var(--jeee-ink);
    text-decoration: none;
}

.announcement-summary .media-heading a:hover { color: var(--jeee-primary); }

.announcement-summary .date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--jeee-font-mono);
    font-size: 11px;
    color: var(--jeee-ink-muted);
    margin-bottom: 10px;
    letter-spacing: 0.04em;
}

.announcement-summary p {
    color: var(--jeee-ink-body);
    font-size: 14px;
    margin: 0;
}

/* =================================================================
   13 · CURRENT ISSUE — Tech spec card
   ================================================================= */
.current_issue { margin-bottom: 52px; }

.current_issue .page-header {
    border: none;
    margin-bottom: 26px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--jeee-rule-strong);
    position: relative;
}

.current_issue .page-header::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 56px;
    height: 3px;
    background: var(--jeee-accent);
}

.current_issue .page-header h2 {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--jeee-font-display);
    font-size: clamp(1.4rem, 2.2vw, 1.75rem);
    font-weight: 800;
    color: var(--jeee-ink);
    margin: 0;
    letter-spacing: -0.02em;
}

.current_issue .page-header h2::before {
    content: '//';
    font-family: var(--jeee-font-mono);
    font-size: 1.4rem;
    color: var(--jeee-accent);
    font-weight: 500;
}

.current_issue_title.lead {
    font-family: var(--jeee-font-display);
    font-size: clamp(1.05rem, 1.6vw, 1.3rem);
    font-weight: 700;
    color: var(--jeee-ink);
    line-height: 1.4;
    margin: 0 0 18px;
    padding: 20px 24px;
    background: var(--jeee-surface);
    border: 1px solid var(--jeee-rule);
    border-radius: var(--jeee-r-md);
    box-shadow: var(--jeee-shadow-xs);
    position: relative;
    padding-left: 32px;
}

.current_issue_title.lead::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    background: linear-gradient(180deg, var(--jeee-primary), var(--jeee-accent));
    border-radius: 0 3px 3px 0;
}

.issue-details {
    padding: 0 !important;
    margin-bottom: 30px;
}

.issue-details .published {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px 6px 10px;
    background: var(--jeee-surface);
    border: 1px solid var(--jeee-rule);
    border-radius: var(--jeee-r-sm);
    font-family: var(--jeee-font-mono);
    font-size: 12px;
    color: var(--jeee-ink-body);
    box-shadow: var(--jeee-shadow-xs);
    letter-spacing: 0.02em;
}

.issue-details .published strong {
    color: var(--jeee-primary);
    font-weight: 600;
    font-family: var(--jeee-font-body);
}

.issue-details .published::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--jeee-signal);
    box-shadow: 0 0 0 3px var(--jeee-signal-soft),
                0 0 8px var(--jeee-signal);
    animation: jeeeBlink 2.2s ease-in-out infinite;
}

.current_issue .btn.read-more {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
    padding: 13px 26px;
    background: var(--jeee-surface) !important;
    border: 1.5px solid var(--jeee-primary) !important;
    border-radius: var(--jeee-r-sm);
    color: var(--jeee-primary) !important;
    font-family: var(--jeee-font-body);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-decoration: none;
    transition: all var(--jeee-duration) var(--jeee-ease);
    position: relative;
    overflow: hidden;
}

.current_issue .btn.read-more::before {
    content: '[';
    font-family: var(--jeee-font-mono);
    color: var(--jeee-accent);
    font-weight: 600;
    transition: transform var(--jeee-duration) var(--jeee-ease);
}

.current_issue .btn.read-more::after {
    content: ']';
    font-family: var(--jeee-font-mono);
    color: var(--jeee-accent);
    font-weight: 600;
    transition: transform var(--jeee-duration) var(--jeee-ease);
}

.current_issue .btn.read-more .glyphicon { display: none; }

.current_issue .btn.read-more:hover {
    background: var(--jeee-primary) !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(30, 58, 138, .25);
}

.current_issue .btn.read-more:hover::before { transform: translateX(-3px); }
.current_issue .btn.read-more:hover::after { transform: translateX(3px); }

/* =================================================================
   14 · ARTICLE CARDS — Tech data cards with ID codes
   ================================================================= */
.sections .section { margin-top: 36px; }

.sections .page-header {
    margin: 0 0 20px;
    padding: 0 0 12px;
    border: 0;
    border-bottom: 1px dashed var(--jeee-rule-strong);
}

.sections .page-header h2 { margin: 0; }

.sections .page-header h2 small {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--jeee-font-mono);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--jeee-primary);
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.sections .page-header h2 small::before {
    content: '›';
    color: var(--jeee-accent);
    font-size: 1.2rem;
    font-weight: 600;
}

.media-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0;
    margin: 0;
    list-style: none;
    counter-reset: jeee-article;
}

.article-summary.media {
    position: relative;
    display: flex;
    gap: clamp(14px, 2vw, 24px);
    padding: clamp(18px, 2.5vw, 22px) clamp(18px, 2.5vw, 26px);
    margin: 0;
    background: var(--jeee-surface);
    border: 1px solid var(--jeee-rule);
    border-radius: var(--jeee-r-md);
    box-shadow: var(--jeee-shadow-xs);
    transition: all var(--jeee-duration) var(--jeee-ease);
    overflow: hidden;
    counter-increment: jeee-article;
}

.article-summary.media::before {
    content: 'ART-' counter(jeee-article, decimal-leading-zero);
    position: absolute;
    top: 0;
    left: 0;
    padding: 4px 10px 4px 12px;
    background: var(--jeee-primary);
    color: #fff;
    font-family: var(--jeee-font-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.06em;
    border-radius: var(--jeee-r-md) 0 var(--jeee-r-md) 0;
    transition: background var(--jeee-duration) var(--jeee-ease);
    pointer-events: none;
}

.article-summary.media::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--jeee-accent);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform var(--jeee-duration) var(--jeee-ease);
}

.article-summary.media:hover {
    border-color: var(--jeee-rule-strong);
    box-shadow: var(--jeee-shadow-md);
    transform: translateY(-2px);
}

.article-summary.media:hover::before { background: var(--jeee-accent); }
.article-summary.media:hover::after { transform: scaleY(1); }

.article-summary .media-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    padding-top: 14px;
}

.article-summary .media-heading {
    margin: 0;
    font-family: var(--jeee-font-display);
    font-size: clamp(0.95rem, 1.2vw, 1.08rem);
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.015em;
}

.article-summary .media-heading a {
    color: var(--jeee-ink) !important;
    text-decoration: none;
    display: inline-block;
    transition: color var(--jeee-duration) var(--jeee-ease);
}

.article-summary .media-heading a:hover { color: var(--jeee-primary) !important; }

.article-summary .meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    align-items: center;
    margin: 0;
    padding-top: 8px;
    border-top: 1px dashed var(--jeee-rule);
}

.article-summary .authors {
    font-family: var(--jeee-font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--jeee-ink-body);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.article-summary .authors::before {
    content: 'AUTH:';
    font-family: var(--jeee-font-mono);
    font-size: 10px;
    font-weight: 500;
    color: var(--jeee-accent);
    letter-spacing: 0.08em;
}

.article-summary .pages {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 3px 10px;
    background: var(--jeee-surface-2);
    border: 1px solid var(--jeee-rule);
    border-radius: var(--jeee-r-sm);
    font-family: var(--jeee-font-mono);
    font-size: 11px;
    font-weight: 500;
    color: var(--jeee-ink-muted);
}

.article-summary .pages::before {
    content: 'pp.';
    font-weight: 600;
    color: var(--jeee-primary);
}

.article-summary .btn-group {
    margin-top: 4px;
    display: inline-flex;
    align-self: flex-start;
}

.article-summary .galley-link.btn.pdf {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 18px;
    background: var(--jeee-ink) !important;
    border: 1px solid var(--jeee-ink) !important;
    border-radius: var(--jeee-r-sm);
    color: #fff !important;
    font-family: var(--jeee-font-body);
    font-size: 11.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(15, 23, 42, .18);
    transition: all var(--jeee-duration) var(--jeee-ease);
}

.article-summary .galley-link.btn.pdf::before {
    content: '';
    width: 13px;
    height: 13px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f97316' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'><path d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/><polyline points='7 10 12 15 17 10'/><line x1='12' y1='15' x2='12' y2='3'/></svg>");
    background-size: contain;
    background-repeat: no-repeat;
}

.article-summary .galley-link.btn.pdf:hover,
.article-summary .galley-link.btn.pdf:focus {
    background: var(--jeee-primary) !important;
    border-color: var(--jeee-primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 58, 138, .3);
    color: #fff !important;
}

/* =================================================================
   15 · ADDITIONAL CONTENT — Featured tech card
   ================================================================= */
.additional_content { margin: 0 0 52px; }

.additional_content .western,
.additional_content > p:only-child {
    font-family: var(--jeee-font-body);
    font-size: 15px;
    line-height: 1.75;
    color: var(--jeee-ink-body);
    padding: 36px 40px 36px 48px;
    background: var(--jeee-surface);
    border: 1px solid var(--jeee-rule);
    border-radius: var(--jeee-r-lg);
    margin: 0;
    box-shadow: var(--jeee-shadow-sm);
    position: relative;
    overflow: hidden;
}

.additional_content .western::before,
.additional_content > p:only-child::before {
    content: '';
    position: absolute;
    top: 14px;
    left: 14px;
    width: 22px;
    height: 22px;
    border-top: 2px solid var(--jeee-accent);
    border-left: 2px solid var(--jeee-accent);
}

.additional_content .western::after,
.additional_content > p:only-child::after {
    content: '';
    position: absolute;
    bottom: 14px;
    right: 14px;
    width: 22px;
    height: 22px;
    border-bottom: 2px solid var(--jeee-accent);
    border-right: 2px solid var(--jeee-accent);
}

.additional_content .western strong,
.additional_content > p:only-child strong {
    color: var(--jeee-primary);
    font-weight: 700;
}

/* =================================================================
   16 · SIDEBAR — Tech panels
   ================================================================= */
#sidebar.pkp_structure_sidebar {
    order: 2;
    margin-left: auto;
    align-self: flex-start;
    position: sticky;
    top: 20px; /* reduced — header is no longer sticky */
}

#sidebar .pkp_block {
    padding: 22px;
    margin: 0 0 18px;
    background: var(--jeee-surface);
    border: 1px solid var(--jeee-rule);
    border-radius: var(--jeee-r-md);
    box-shadow: var(--jeee-shadow-xs);
    width: 100% !important;
    float: none !important;
    transition: all var(--jeee-duration) var(--jeee-ease);
    position: relative;
    overflow: hidden;
}

#sidebar .pkp_block:hover {
    box-shadow: var(--jeee-shadow-md);
    border-color: var(--jeee-rule-strong);
    transform: translateY(-2px);
}

#sidebar .pkp_block > .title,
#sidebar .pkp_block h2.title {
    font-family: var(--jeee-font-mono);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--jeee-ink-muted);
    margin: 0 0 14px;
    padding: 0 0 10px;
    border-bottom: 1px solid var(--jeee-rule);
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

#sidebar .pkp_block > .title::before,
#sidebar .pkp_block h2.title::before {
    content: '■';
    color: var(--jeee-accent);
    font-size: 8px;
}

#sidebar .pkp_block > .title::after,
#sidebar .pkp_block h2.title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 36px;
    height: 1px;
    background: var(--jeee-primary);
}

#sidebar .block_make_submission {
    background: linear-gradient(135deg,
        var(--jeee-primary) 0%,
        var(--jeee-primary-dark) 100%);
    border-color: var(--jeee-primary);
    padding: 22px;
    position: relative;
    overflow: hidden;
}

#sidebar .block_make_submission::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

#sidebar .block_make_submission::after {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle,
        rgba(234, 88, 12, .25),
        transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

#sidebar .block_make_submission .block_make_submission_link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 13px 20px;
    background: var(--jeee-accent) !important;
    border-radius: var(--jeee-r-sm);
    color: #fff !important;
    font-family: var(--jeee-font-body);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(234, 88, 12, .3);
    transition: all var(--jeee-duration) var(--jeee-ease);
    position: relative;
    z-index: 1;
}

#sidebar .block_make_submission .block_make_submission_link::after {
    content: '→';
    font-family: var(--jeee-font-mono);
    font-size: 15px;
    font-weight: 500;
    transition: transform var(--jeee-duration) var(--jeee-ease);
}

#sidebar .block_make_submission .block_make_submission_link:hover {
    background: var(--jeee-accent-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(234, 88, 12, .42);
}

#sidebar .block_make_submission .block_make_submission_link:hover::after {
    transform: translateX(5px);
}

#sidebar .block_information ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

#sidebar .block_information li { margin: 0; }

#sidebar .block_information li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    font-family: var(--jeee-font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--jeee-ink-body) !important;
    border-radius: var(--jeee-r-sm);
    text-decoration: none;
    transition: all 160ms var(--jeee-ease);
    position: relative;
}

#sidebar .block_information li a::before {
    content: '›';
    font-family: var(--jeee-font-mono);
    font-size: 14px;
    font-weight: 600;
    color: var(--jeee-rule-strong);
    transition: all 160ms var(--jeee-ease);
    flex-shrink: 0;
}

#sidebar .block_information li a:hover {
    background: var(--jeee-primary-tint);
    color: var(--jeee-primary) !important;
    padding-left: 18px;
}

#sidebar .block_information li a:hover::before {
    color: var(--jeee-accent);
    transform: translateX(2px);
}

#customblock-crossref .content { padding: 0; }

#customblock-crossref img {
    width: 100%;
    height: auto;
    border-radius: var(--jeee-r-sm);
    border: 1px solid var(--jeee-rule);
}

#customblock-if h2 {
    font-family: var(--jeee-font-display);
    font-size: 1.6rem;
    font-weight: 800;
    text-align: center;
    color: var(--jeee-primary);
    margin: 0;
    letter-spacing: -0.02em;
}

#customblock-sidebar .title,
#customblock-Manuscript_Template h3 {
    font-family: var(--jeee-font-mono);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--jeee-ink-muted);
    margin: 0 0 14px;
}

#customblock-sidebar h3 a,
#customblock-Manuscript_Template h3 a {
    display: block;
    padding: 13px 22px;
    background: var(--jeee-primary);
    border-radius: var(--jeee-r-sm);
    color: #fff;
    text-decoration: none;
    text-align: center;
    font-family: var(--jeee-font-body);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all var(--jeee-duration) var(--jeee-ease);
    box-shadow: 0 4px 12px rgba(30, 58, 138, .22);
}

#customblock-sidebar h3 a:hover,
#customblock-Manuscript_Template h3 a:hover {
    background: var(--jeee-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 58, 138, .3);
}

.block_developed_by { display: none !important; }

/* =================================================================
   17 · FOOTER — Light tech colophon
   ================================================================= */
footer.footer[role="contentinfo"] {
    margin-top: clamp(40px, 8vw, 84px);
    padding: 0;
    background: transparent;
    border: 0;
}

footer.footer > .container {
    max-width: 1440px;
    padding-inline: clamp(16px, 3vw, 32px);
}

footer.footer > .container > .row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0;
    margin: 0;
}

footer.footer > .container > .row > .col-md-2 { display: none !important; }

footer.footer > .container > .row > .col-md-10 {
    flex: 1 1 100%;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100%;
}

footer.footer .col-md-10 > footer {
    background: var(--jeee-surface) !important;
    color: var(--jeee-ink-body) !important;
    font-family: var(--jeee-font-body) !important;
    margin-top: 0 !important;
    border: 1px solid var(--jeee-rule);
    border-top: 4px solid var(--jeee-primary);
    border-radius: var(--jeee-r-md);
    overflow: hidden;
    position: relative;
    padding: clamp(28px, 4vw, 40px) 0 clamp(24px, 3vw, 36px);
}

footer.footer .col-md-10 > footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(30, 58, 138, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 58, 138, .025) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at center, black, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black, transparent 75%);
}

footer.footer .col-md-10 > footer::after {
    content: 'EOF · IJRDO.EEE';
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--jeee-font-mono);
    font-size: 10px;
    font-weight: 500;
    color: var(--jeee-accent);
    letter-spacing: 0.16em;
    padding: 3px 10px;
    background: var(--jeee-surface);
    border: 1px solid var(--jeee-rule);
    border-radius: var(--jeee-r-sm);
}

footer.footer .col-md-10 > footer p {
    font-size: clamp(12px, 1.5vw, 13.5px) !important;
    line-height: 1.75 !important;
    color: var(--jeee-ink-body) !important;
    margin: 6px 0;
    padding: 0 clamp(16px, 3vw, 28px);
    text-align: center;
    position: relative;
    z-index: 1;
}

footer.footer .col-md-10 > footer p:first-of-type {
    padding-top: 28px;
    font-family: var(--jeee-font-display);
    font-weight: 700;
    color: var(--jeee-primary) !important;
    font-size: 15px !important;
    letter-spacing: -0.01em;
}

footer.footer .col-md-10 > footer p strong {
    color: var(--jeee-primary);
    font-weight: 700;
}

footer.footer .col-md-10 > footer a {
    color: var(--jeee-primary) !important;
    text-decoration: none !important;
    border-bottom: 1px solid var(--jeee-rule-strong);
    padding-bottom: 1px;
    transition: all var(--jeee-duration) var(--jeee-ease);
    font-weight: 500;
}

footer.footer .col-md-10 > footer a:hover {
    color: var(--jeee-accent) !important;
    border-bottom-color: var(--jeee-accent);
}

/* =================================================================
   18 · RESPONSIVE BREAKPOINTS — ENHANCED
   ================================================================= */

/* Large Desktop (1200px and above) */
@media (min-width: 1200px) {
    .container-fluid, .pkp_structure_content.container {
        padding-inline: 32px;
    }
}

/* Desktop & Tablet Landscape (992px - 1199px) */
@media (max-width: 1199px) {
    .site-name a.navbar-brand::after {
        font-size: clamp(0.95rem, 2vw, 1.4rem);
    }

    #main-navigation > li > a {
        padding: 16px 12px;
    }
}

/* Tablet Portrait (768px - 991px) */
@media (max-width: 991px) {
    #main-navigation > li > a {
        padding: 14px 10px;
        font-size: 12px;
    }

    .navbar-form .form-control { width: 160px; }
    .navbar-form .form-control:focus { width: 200px; }

    .pkp_structure_sidebar {
        flex: 1 1 100%;
        width: 100% !important;
        position: static !important;
    }

    .pkp_structure_content .row {
        flex-direction: column;
    }

    #sidebar.pkp_structure_sidebar { position: static; }

    .site-name a.navbar-brand::after {
        font-size: clamp(0.85rem, 1.6vw, 1.15rem);
    }

    .site-name a.navbar-brand {
        gap: 12px;
    }

    .navbar-brand-logo img {
        width: clamp(44px, 7vw, 68px);
    }

    .article-summary .media-body { padding-top: 18px; }
}

/* Mobile Landscape (576px - 767px) */
@media (max-width: 767px) {
    /* Mobile navigation — stacked */
    #headerNavigationContainer .navbar.navbar-default,
    #headerNavigationContainer > .container-fluid:not(:first-of-type) {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .navbar-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    #nav-menu.navbar-collapse {
        display: none !important;
        flex-direction: column;
        align-items: stretch;
        padding: 12px 0 20px !important;
        border-top: 1px solid var(--jeee-rule) !important;
        margin-top: 8px;
        gap: 8px;
        width: 100%;
    }

    #nav-menu.navbar-collapse.in {
        display: flex !important;
    }

    #nav-menu.navbar-collapse.collapsing {
        display: block !important;
    }

    #main-navigation {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 2px;
    }

    #main-navigation > li > a {
        padding: 12px 16px;
        border-radius: var(--jeee-r-sm);
        justify-content: flex-start;
        gap: 10px;
        font-size: 14px;
    }

    #main-navigation > li > a::after { display: none; }

    #main-navigation > li > a:hover,
    #main-navigation > li.active > a,
    #main-navigation > li.open > a {
        background: var(--jeee-surface-2) !important;
    }

    #main-navigation .dropdown-menu {
        position: static;
        float: none;
        width: 100%;
        margin-top: 4px;
        box-shadow: none;
        border: 0;
        border-left: 3px solid var(--jeee-primary);
        border-radius: 0;
        background: var(--jeee-surface-2);
        padding: 4px;
    }

    /* Search full width */
    .pull-md-right { width: 100%; margin-top: 8px; }

    .navbar-form {
        width: 100%;
        flex-wrap: wrap;
        gap: 8px;
    }

    .navbar-form .form-group { flex: 1 1 100%; }

    .navbar-form .form-control,
    .navbar-form .form-control:focus { width: 100%; }

    .navbar-form .btn-default {
        width: 100%;
        white-space: normal;
    }

    /* Logo and brand wrap */
    .site-name a.navbar-brand {
        gap: 10px;
        flex-wrap: wrap;
    }

    .site-name a.navbar-brand::after {
        width: 100%;
        margin-left: 0;
        font-size: clamp(0.7rem, 3vw, 0.9rem);
        text-align: left;
        line-height: 1.3;
    }

    .navbar-brand-logo img {
        width: clamp(44px, 10vw, 54px);
    }

    /* User nav */
    #navigationUser {
        justify-content: flex-end;
        flex-wrap: wrap;
    }

    #navigationUser > li.dropdown > a {
        padding: 4px 12px 4px 4px !important;
        font-size: 11px;
    }

    #navigationUser > li.dropdown > a::before {
        width: 24px;
        height: 24px;
    }

    .pkp_structure_content.container { padding-block: 24px; }
    .pkp_structure_content .row {
        align-items: flex-start;
        gap: 24px;
    }

    .journal-description {
        padding: 26px 22px 26px 28px;
        margin-bottom: 32px;
    }

    .journal-description::after {
        top: 12px;
        right: 12px;
        font-size: 9px;
    }

    .current_issue_title.lead {
        padding: 16px 20px;
        padding-left: 28px;
        font-size: 1.05rem;
    }

    .current_issue .btn.read-more {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }

    .article-summary.media {
        padding: 20px 22px;
        flex-direction: column;
        gap: 14px;
    }

    .article-summary .media-body {
        padding-top: 20px;
        gap: 12px;
    }

    .article-summary .media-heading { font-size: 1rem; }

    .article-summary .galley-link.btn.pdf {
        width: 100%;
        justify-content: center;
    }

    .additional_content .western,
    .additional_content > p:only-child {
        padding: 32px 26px;
        font-size: 14px;
    }

    footer.footer .col-md-10 > footer p {
        font-size: 12.5px;
        padding: 0 18px;
    }

    footer.footer .col-md-10 > footer p:first-of-type {
        padding-top: 24px;
    }
}

/* Mobile Portrait (up to 575px) */
@media (max-width: 575px) {
    .navbar-brand-logo img {
        width: 42px;
    }

    .navbar-brand-logo::before {
        top: 3px;
        right: 3px;
        width: 5px;
        height: 5px;
    }

    .site-name a.navbar-brand::after {
        font-size: 0.65rem;
    }

    .site-name a.navbar-brand {
        gap: 8px;
    }

    #navigationUser > li.dropdown > a {
        padding: 3px 10px 3px 3px !important;
        font-size: 10px;
        gap: 6px;
    }

    #navigationUser > li.dropdown > a::before {
        width: 22px;
        height: 22px;
    }

    .navbar-toggle {
        padding: 7px 9px;
    }

    .pkp_structure_content.container {
        padding-inline: 12px;
    }

    .journal-description {
        padding: 22px 18px 22px 24px;
    }

    .journal-description p {
        font-size: 13px !important;
    }

    .current_issue_title.lead {
        padding: 14px 16px;
        padding-left: 24px;
        font-size: 0.95rem;
    }

    .article-summary.media {
        padding: 18px;
    }

    .article-summary .media-heading {
        font-size: 0.95rem;
    }

    .article-summary .authors,
    .article-summary .pages {
        font-size: 11px;
    }

    .additional_content .western,
    .additional_content > p:only-child {
        padding: 26px 20px;
        font-size: 13.5px;
    }

    footer.footer > .container {
        padding-inline: 12px;
    }

    footer.footer .col-md-10 > footer {
        padding: 26px 0 22px;
    }

    footer.footer .col-md-10 > footer p {
        font-size: 11px;
        padding: 0 14px;
    }
}

/* Small Mobile (up to 375px) */
@media (max-width: 375px) {
    .navbar-brand-logo img {
        width: 38px;
    }

    .site-name a.navbar-brand::after {
        font-size: 0.6rem;
    }

    #main-navigation > li > a {
        padding: 10px 12px;
        font-size: 12px;
    }

    .current_issue_title.lead {
        font-size: 0.85rem;
        padding: 12px 14px;
        padding-left: 22px;
    }

    .article-summary .meta {
        gap: 6px 10px;
    }
}

/* =================================================================
   19 · ANIMATIONS
   ================================================================= */
@keyframes jeeeFadeDown {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes jeeeFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes jeeeBlink {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.45; }
}

.pkp_structure_main > *,
.pkp_structure_sidebar > * {
    animation: jeeeFadeIn 0.45s var(--jeee-ease) forwards;
}

/* =================================================================
   20 · ACCESSIBILITY
   ================================================================= */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

#headerNavigationContainer a:focus-visible,
#headerNavigationContainer button:focus-visible,
#headerNavigationContainer input:focus-visible,
.pkp_structure_content a:focus-visible,
footer.footer a:focus-visible,
#sidebar a:focus-visible {
    outline: 2px solid var(--jeee-accent);
    outline-offset: 3px;
    border-radius: var(--jeee-r-sm);
}

/* =================================================================
   21 · PRINT
   ================================================================= */
@media print {
    body::before,
    #headerNavigationContainer,
    #sidebar,
    footer.footer,
    .navbar-toggle,
    .pull-md-right,
    .homepage-image {
        display: none !important;
    }

    .pkp_structure_main {
        width: 100% !important;
        flex: 1 1 100% !important;
    }

    body {
        background: #fff;
        color: #000;
    }

    .article-summary.media {
        break-inside: avoid;
        page-break-inside: avoid;
        border: 1px solid #999;
        box-shadow: none;
    }
}