/*
 * WNJMS — Polished UI/UX CSS
 * Based on the supplied stylesheet sections.
 * Scope: footer, login page, and registration page.
 */
.header-desktop-name.header-desktop-name-md {
    display: none !important;
}
/* =========================================================
   WNJMS — MODERN UI/UX FOOTER
   Clean • Compact • Responsive • Accessible
   ========================================================= */

.footer {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #062b49;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
}

.footer .container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}


/* =========================================================
   BACK TO TOP
   ========================================================= */

.footer-back-to-top {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,.10);
}

.footer-back-to-top-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: rgba(255,255,255,.75) !important;
    text-decoration: none !important;

    font-size: 13px;
    font-weight: 600;

    transition: color .2s ease, transform .2s ease;
}

.footer-back-to-top-link:hover {
    color: #d4af37 !important;
    transform: translateY(-2px);
}


/* =========================================================
   MAIN FOOTER
   ========================================================= */

.footer-inner {
    padding: 42px 0 30px;

    background:
        linear-gradient(
            135deg,
            #062b49 0%,
            #073a5f 55%,
            #041f35 100%
        );
}


/* =========================================================
   JOURNAL NAME
   ========================================================= */

.footer-name {
    display: block;
    width: 100%;

    margin: 0 0 30px;
    padding: 0 0 14px;

    color: #fff !important;

    font-size: 25px;
    font-weight: 700;
    line-height: 1.3;

    border-bottom: 2px solid #d4af37;
}


/* =========================================================
   MAIN FOOTER GRID
   ========================================================= */

.footer-blocks {
    display: grid;

    grid-template-columns:
        minmax(0, 1.8fr)
        minmax(180px, .9fr)
        minmax(180px, .9fr);

    gap: 38px;

    width: 100%;
    align-items: start;
}

.footer-block {
    min-width: 0;
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.footer-description {
    margin-bottom: 20px;
}

.footer-description p {
    margin: 0;

    color: rgba(255,255,255,.78);

    font-size: 14px;
    line-height: 1.7;
}

.footer-description a {
    color: #d4af37 !important;
    font-weight: 600;
    text-decoration: none;
}

.footer-description a:hover {
    color: #fff !important;
    text-decoration: underline;
}


/* =========================================================
   ISSN / JOURNAL METADATA
   ========================================================= */

.footer-metadata {
    display: flex;
    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: 20px;
}

.footer-metadata-item {
    min-width: 130px;

    padding: 10px 14px;

    background: rgba(255,255,255,.06);

    border-left: 3px solid #d4af37;
    border-radius: 5px;

    box-sizing: border-box;
}

.footer-metadata-title {
    margin: 0 0 4px;

    color: #d4af37;

    font-size: 11px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: .7px;
}

.footer-metadata-item div {
    color: #fff;

    font-size: 14px;
    font-weight: 600;
}


/* =========================================================
   FOOTER NAVIGATION
   ========================================================= */

.footer .menu {
    margin: 0;
    padding: 0;

    list-style: none;
}

.footer .menu-item {
    margin: 0 0 6px;
    padding: 0;
}

.footer .menu-button {
    display: inline-flex;
    align-items: center;

    color: rgba(255,255,255,.78) !important;

    text-decoration: none !important;

    font-size: 14px;
    line-height: 1.5;

    transition:
        color .2s ease,
        transform .2s ease;
}

.footer .menu-button::before {
    content: "›";

    margin-right: 7px;

    color: #d4af37;

    font-size: 17px;
    font-weight: 700;
}

.footer .menu-button:hover {
    color: #d4af37 !important;
    transform: translateX(3px);
}


/* =========================================================
   POLICY LINKS
   ========================================================= */

.footer-links {
    margin-top: 16px;
}

.footer-links .menu {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 16px;
}

.footer-links .menu-item {
    margin: 0;
}


/* =========================================================
   SIDEBAR AREA
   ========================================================= */

.footer-sidebar {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 18px;

    margin-top: 38px;
    padding-top: 30px;

    border-top: 1px solid rgba(255,255,255,.12);
}


/* =========================================================
   SIDEBAR CARDS
   ========================================================= */

.footer-sidebar .pkp_block {
    min-width: 0;

    margin: 0;
    padding: 18px;

    background: rgba(255,255,255,.045);

    border: 1px solid rgba(255,255,255,.08);
    border-radius: 8px;

    box-sizing: border-box;

    transition:
        background .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.footer-sidebar .pkp_block:hover {
    background: rgba(255,255,255,.07);
    border-color: rgba(212,175,55,.35);
    transform: translateY(-2px);
}


/* =========================================================
   SIDEBAR TITLES
   ========================================================= */

.footer-sidebar .pkp_block .title {
    margin: 0 0 14px;
    padding: 0 0 8px;

    color: #fff !important;

    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;

    border-bottom: 1px solid rgba(212,175,55,.65);
}


/* =========================================================
   SIDEBAR CONTENT
   ========================================================= */

.footer-sidebar .content {
    color: rgba(255,255,255,.75);

    font-size: 13px;
    line-height: 1.6;
}

.footer-sidebar a {
    color: rgba(255,255,255,.82) !important;
    text-decoration: none !important;
}

.footer-sidebar a:hover {
    color: #d4af37 !important;
}


/* =========================================================
   SIDEBAR LISTS
   ========================================================= */

.footer-sidebar ul {
    margin: 0;
    padding: 0;

    list-style: none;
}

.footer-sidebar li {
    margin-bottom: 7px;
}


/* =========================================================
   LATEST PUBLICATIONS / RSS
   ========================================================= */

.block_web_feed .content ul {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin: 0;
    padding: 0;
}

.block_web_feed .content li {
    margin: 0;
}

.block_web_feed img {
    display: block;

    width: 32px;
    height: 32px;

    padding: 5px;

    background: #fff;
    border-radius: 5px;

    object-fit: contain;

    transition: transform .2s ease;
}

.block_web_feed a:hover img {
    transform: translateY(-2px) scale(1.05);
}


/* =========================================================
   MAKE A SUBMISSION — ALWAYS VISIBLE
   ========================================================= */

.block_make_submission_link {
    display: flex !important;
    align-items: center;
    justify-content: center;

    width: 100%;

    min-height: 46px;

    padding: 12px 18px;

    box-sizing: border-box;

    color: #062b49 !important;
    background: #d4af37 !important;

    font-size: 14px;
    font-weight: 700;

    line-height: 1.3;

    text-align: center;
    text-decoration: none !important;

    border: 0;
    border-radius: 6px;

    box-shadow: 0 4px 12px rgba(0,0,0,.15);

    opacity: 1 !important;
    visibility: visible !important;

    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.block_make_submission_link::before {
    content: "✎";

    margin-right: 8px;

    font-size: 16px;
}

.block_make_submission_link:hover {
    background: #fff !important;
    color: #062b49 !important;

    transform: translateY(-2px);

    box-shadow: 0 7px 18px rgba(0,0,0,.22);
}

.block_make_submission_link:active {
    transform: translateY(0);
}


/* =========================================================
   KEYWORD CLOUD — COMPACT
   ========================================================= */

.block_keyword_cloud {
    grid-column: auto !important;

    width: 100%;
}

#wordcloud {
    width: 100%;

    max-height: 180px;

    overflow: hidden;
}

#wordcloud svg {
    display: block;

    width: 100% !important;
    height: 160px !important;

    max-width: 100%;
}


/* =========================================================
   EDITORIAL BOARD
   ========================================================= */

#customblock-editorial-board table {
    width: 100% !important;
    height: auto !important;

    margin: 0;

    border-collapse: collapse;
    background: transparent;
}

#customblock-editorial-board td {
    width: auto !important;

    padding: 0;

    color: rgba(255,255,255,.82);
}

#customblock-editorial-board p {
    margin: 0;
}


/* =========================================================
   BOTTOM FOOTER
   ========================================================= */

.footer-btm {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 16px;

    padding: 18px 24px;

    background: #031a2b;

    color: rgba(255,255,255,.65);

    text-align: center;
}

.footer-btm-logo {
    display: flex;
    align-items: center;
}

.footer-btm-logo img {
    display: block;

    max-width: 80px;
    height: auto;
}

.footer-btm-text {
    font-size: 12px;
    line-height: 1.5;
}

.footer-btm-text a {
    color: #d4af37 !important;
    text-decoration: none;
}

.footer-btm-text a:hover {
    color: #fff !important;
}


/* =========================================================
   TABLET
   ========================================================= */

@media screen and (max-width: 992px) {

    .footer-blocks {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 28px;
    }

    .footer-block-masthead {
        grid-column: 1 / -1;
    }

    .footer-sidebar {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 16px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 767px) {

    .footer .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .footer-back-to-top {
        justify-content: center;
        padding: 12px 0;
    }

    .footer-inner {
        padding: 30px 0 24px;
    }

    .footer-name {
        margin-bottom: 24px;
        padding-bottom: 12px;

        font-size: 21px;
    }

    .footer-blocks {
        display: flex;
        flex-direction: column;

        gap: 24px;
    }

    .footer-block {
        width: 100%;
    }

    .footer-description p {
        font-size: 14px;
        line-height: 1.7;
    }

    .footer-metadata {
        gap: 8px;
    }

    .footer-metadata-item {
        flex: 1 1 calc(50% - 8px);
        min-width: 0;
    }

    .footer-sidebar {
        display: flex;
        flex-direction: column;

        gap: 14px;

        margin-top: 28px;
        padding-top: 24px;
    }

    .footer-sidebar .pkp_block {
        width: 100%;
        padding: 16px;
    }

    /* Keep submission highly visible on mobile */
    .block_make_submission_link {
        min-height: 48px;
        font-size: 14px;
    }

    /* Smaller keyword cloud */
    #wordcloud {
        max-height: 150px;
    }

    #wordcloud svg {
        height: 130px !important;
        min-height: 0 !important;
    }

    .footer-btm {
        flex-direction: column;

        gap: 10px;

        padding: 18px;
    }

    .footer-btm-logo img {
        max-width: 75px;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media screen and (max-width: 480px) {

    .footer-name {
        font-size: 19px;
    }

    .footer-metadata-item {
        flex-basis: 100%;
    }

    .footer-sidebar .pkp_block {
        padding: 15px;
    }

    .footer-sidebar .pkp_block .title {
        font-size: 15px;
    }

    .footer-btm-text {
        font-size: 11px;
    }

}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.footer a:focus-visible,
.footer button:focus-visible {
    outline: 3px solid #d4af37;
    outline-offset: 3px;
    border-radius: 4px;
}


/* =========================================================
   PREVENT OVERFLOW
   ========================================================= */

.footer,
.footer-inner,
.footer-sidebar,
.footer-blocks {
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}


/* =========================================================
   REDUCE MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .footer *,
    .footer *::before,
    .footer *::after {
        transition: none !important;
        animation: none !important;
    }

}

/* =========================================================
   WNJMS — MODERN LOGIN PAGE UI/UX
   ========================================================= */

/* ---------- PAGE CONTAINER ---------- */

#skip-to-main {
    min-height: calc(100vh - 160px);

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 55px 20px;
    box-sizing: border-box;
}


/* ---------- LOGIN CARD ---------- */

.login {
    width: 100%;
    max-width: 460px;

    margin: 0 auto;
    padding: 38px 40px 32px;

    background: #ffffff;

    border: 1px solid #e7ebef;
    border-radius: 14px;

    box-shadow:
        0 10px 30px rgba(6, 43, 73, 0.08),
        0 2px 8px rgba(6, 43, 73, 0.04);

    box-sizing: border-box;
}


/* ---------- LOGIN TITLE ---------- */

.login-title {
    margin: 0 0 30px;

    color: #062b49;

    font-size: 30px;
    font-weight: 700;
    line-height: 1.25;

    text-align: center;
}

.login-title::after {
    content: "";

    display: block;

    width: 48px;
    height: 3px;

    margin: 12px auto 0;

    background: #d4af37;
    border-radius: 10px;
}


/* ---------- INPUT SECTION ---------- */

.input-fieldset {
    margin: 0;
    padding: 0;

    border: 0;
}


/* ---------- INPUT WRAPPER ---------- */

.input-wrapper {
    margin-bottom: 20px;
}


/* ---------- LABEL ---------- */

.input-label {
    display: block;

    margin-bottom: 8px;

    color: #263746;

    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.required {
    color: #c0392b;
}


/* ---------- INPUTS ---------- */

.login .input {
    display: block;

    width: 100%;
    height: 48px;

    padding: 12px 14px;

    box-sizing: border-box;

    color: #263746;
    background: #ffffff;

    font-family: inherit;
    font-size: 15px;

    border: 1px solid #cfd7df;
    border-radius: 7px;

    outline: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}


/* Placeholder */

.login .input::placeholder {
    color: #9aa6b2;
}


/* Focus */

.login .input:focus {
    border-color: #0a5b89;

    background: #ffffff;

    box-shadow:
        0 0 0 3px rgba(10, 91, 137, 0.12);
}


/* Invalid */

.login .input:invalid:not(:placeholder-shown) {
    border-color: #c0392b;
}


/* ---------- REMEMBER ME ---------- */

.input-checkbox-wrapper {
    margin: 4px 0 25px;
}

.input-checkbox-wrapper label {
    display: inline-flex;
    align-items: center;

    gap: 9px;

    cursor: pointer;

    color: #596773;

    font-size: 13px;
    line-height: 1.4;
}


/* Checkbox */

.input-checkbox {
    width: 17px;
    height: 17px;

    margin: 0;

    accent-color: #0a5b89;

    cursor: pointer;
}


/* Prevent generic label styling */

.input-checkbox-wrapper .input-label {
    display: inline;
    margin: 0;

    color: #596773;

    font-size: 13px;
    font-weight: 400;
}


/* ---------- LOGIN BUTTON ---------- */

.login > .button {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 50px;

    padding: 13px 20px;

    color: #ffffff !important;
    background: #062b49 !important;

    font-family: inherit;
    font-size: 15px;
    font-weight: 700;

    line-height: 1.3;

    text-align: center;

    border: 0;
    border-radius: 7px;

    cursor: pointer;

    box-shadow:
        0 4px 10px rgba(6, 43, 73, 0.15);

    transition:
        background .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}


/* Button hover */

.login > .button:hover {
    color: #062b49 !important;
    background: #d4af37 !important;

    transform: translateY(-1px);

    box-shadow:
        0 6px 15px rgba(6, 43, 73, 0.18);
}


/* Button active */

.login > .button:active {
    transform: translateY(0);

    box-shadow:
        0 3px 8px rgba(6, 43, 73, 0.12);
}


/* ---------- LOGIN FOOTER ---------- */

.login-footer {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 22px;

    color: #8a959e;

    font-size: 13px;
    line-height: 1.5;

    text-align: center;
}


/* ---------- FOOTER LINKS ---------- */

.login-footer .link {
    color: #0a5b89 !important;

    font-weight: 600;

    text-decoration: none !important;

    transition:
        color .2s ease;
}

.login-footer .link:hover {
    color: #d4af37 !important;

    text-decoration: underline !important;
}


/* ---------- SEPARATOR ---------- */

.login-footer-separator {
    color: #c5ccd2;

    user-select: none;
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.login a:focus-visible,
.login button:focus-visible,
.login input:focus-visible {
    outline: 3px solid rgba(212, 175, 55, .55);
    outline-offset: 2px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media screen and (max-width: 767px) {

    #skip-to-main {
        min-height: auto;

        padding: 40px 18px;
    }

    .login {
        max-width: 480px;

        padding: 32px 28px 28px;

        border-radius: 12px;
    }

    .login-title {
        font-size: 27px;

        margin-bottom: 27px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 480px) {

    #skip-to-main {
        padding: 28px 14px;
    }

    .login {
        padding: 28px 20px 24px;

        border-radius: 10px;

        box-shadow:
            0 6px 20px rgba(6, 43, 73, 0.07);
    }

    .login-title {
        margin-bottom: 25px;

        font-size: 24px;
    }

    .input-wrapper {
        margin-bottom: 17px;
    }

    .login .input {
        height: 48px;

        font-size: 16px;
    }

    .input-checkbox-wrapper {
        margin-bottom: 22px;
    }

    .login > .button {
        min-height: 50px;

        font-size: 15px;
    }

    .login-footer {
        margin-top: 19px;

        font-size: 12px;
    }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .login *,
    .login *::before,
    .login *::after {
        transition: none !important;
        animation: none !important;
    }

}

/* =========================================================
   WNJMS REGISTRATION PAGE
   Modern UI / UX Design
   ========================================================= */


/* ---------------------------------------------------------
   PAGE BACKGROUND & MAIN CONTAINER
   --------------------------------------------------------- */

.pt-16 {
    padding-top: 45px !important;
    padding-bottom: 60px !important;
}

.pt-16 > .container {
    max-width: 1080px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}


/* ---------------------------------------------------------
   REGISTRATION CARD
   --------------------------------------------------------- */

.register {
    max-width: 900px;
    margin: 0 auto;

    padding: 38px 42px 40px;

    background: #ffffff;

    border: 1px solid #e6ebf0;
    border-radius: 12px;

    box-shadow:
        0 8px 30px rgba(6, 43, 73, 0.08);

    box-sizing: border-box;
}


/* ---------------------------------------------------------
   PAGE TITLE
   --------------------------------------------------------- */

.register-title {
    margin: 0 0 32px;

    color: #062b49;

    font-size: 30px;
    font-weight: 700;

    line-height: 1.25;

    text-align: center;

    position: relative;
}

.register-title::after {
    content: "";

    display: block;

    width: 48px;
    height: 3px;

    margin: 12px auto 0;

    background: #d4af37;

    border-radius: 3px;
}


/* ---------------------------------------------------------
   FIELDSET
   --------------------------------------------------------- */

.register-form fieldset {
    margin: 0 0 26px;
    padding: 26px 28px 28px;

    border: 1px solid #e3e8ed;
    border-radius: 9px;

    background: #fbfcfd;

    box-sizing: border-box;
}


/* ---------------------------------------------------------
   FIELDSET LEGEND
   --------------------------------------------------------- */

.register-form .input-legend {
    display: inline-block;

    margin: 0 0 18px;
    padding: 0 10px;

    color: #062b49;

    font-size: 17px;
    font-weight: 700;

    line-height: 1.3;
}


/* ---------------------------------------------------------
   FORM GRID
   --------------------------------------------------------- */

.register-profile,
.register-login {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    column-gap: 22px;
    row-gap: 20px;
}


/*
   Make the legend occupy the full row
*/

.register-profile .input-legend,
.register-login .input-legend {
    grid-column: 1 / -1;
}


/* ---------------------------------------------------------
   INPUT WRAPPER
   --------------------------------------------------------- */

.input-wrapper {
    width: 100%;
    margin: 0 !important;
}


/* ---------------------------------------------------------
   LABEL
   --------------------------------------------------------- */

.input-label {
    display: block;

    margin-bottom: 7px;

    color: #263746;

    font-size: 13px;
    font-weight: 600;

    line-height: 1.4;
}


/* Required indicator */

.required {
    color: #c62828;
    font-weight: 700;
}


/* ---------------------------------------------------------
   INPUTS
   --------------------------------------------------------- */

.register-form .input {
    display: block;

    width: 100%;
    min-height: 45px;

    padding: 10px 13px;

    box-sizing: border-box;

    color: #263746;

    background: #ffffff;

    border: 1px solid #ccd5dd;
    border-radius: 6px;

    font-family: inherit;
    font-size: 14px;

    line-height: 1.4;

    outline: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}


/* Placeholder */

.register-form .input::placeholder {
    color: #9aa7b2;
}


/* Focus state */

.register-form .input:focus {
    border-color: #1769aa;

    background: #ffffff;

    box-shadow:
        0 0 0 3px rgba(23, 105, 170, 0.10);
}


/* Hover state */

.register-form .input:hover {
    border-color: #aab7c2;
}


/* Select */

.register-form select.input {
    cursor: pointer;

    appearance: auto;
}


/* ---------------------------------------------------------
   CONFIRMATION SECTION
   --------------------------------------------------------- */

.register-confirm {
    padding: 20px 24px 22px !important;

    background: #f8fafb !important;

    border-color: #e1e7ec !important;
}


/* Checkbox row */

.input-checkbox-wrapper {
    display: flex;

    align-items: flex-start;

    gap: 11px;

    margin: 0 0 15px;

    padding: 10px 12px;

    border-radius: 6px;

    transition: background .2s ease;
}

.input-checkbox-wrapper:last-child {
    margin-bottom: 0;
}

.input-checkbox-wrapper:hover {
    background: rgba(6, 43, 73, 0.035);
}


/* Checkbox */

.input-checkbox {
    flex: 0 0 auto;

    width: 17px;
    height: 17px;

    margin: 2px 0 0;

    cursor: pointer;

    accent-color: #062b49;
}


/* Checkbox text */

.input-checkbox-wrapper .input-label {
    margin: 0;

    color: #4a5965;

    font-size: 13px;
    font-weight: 400;

    line-height: 1.55;

    cursor: pointer;
}


/* ---------------------------------------------------------
   REVIEWING INTERESTS
   --------------------------------------------------------- */

#reviewerInterestsInput {
    margin-top: 14px;

    padding: 15px;

    background: #ffffff;

    border: 1px solid #e2e7eb;
    border-radius: 6px;
}


/* ---------------------------------------------------------
   REGISTER FOOTER / ACTION AREA
   --------------------------------------------------------- */

.register-footer {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 18px;

    margin-top: 30px;
    padding-top: 25px;

    border-top: 1px solid #e7ebef;
}


/* ---------------------------------------------------------
   REGISTER BUTTON
   --------------------------------------------------------- */

.register-footer .button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 155px;
    min-height: 46px;

    padding: 11px 24px;

    color: #ffffff !important;

    background: #062b49 !important;

    border: 1px solid #062b49 !important;
    border-radius: 6px;

    font-family: inherit;
    font-size: 14px;
    font-weight: 700;

    line-height: 1.3;

    text-decoration: none !important;

    cursor: pointer;

    box-shadow: 0 4px 10px rgba(6, 43, 73, .15);

    transition:
        background .2s ease,
        border-color .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}


/* Button hover */

.register-footer .button:hover {
    color: #062b49 !important;

    background: #d4af37 !important;

    border-color: #d4af37 !important;

    transform: translateY(-2px);

    box-shadow: 0 7px 16px rgba(6, 43, 73, .18);
}


/* Button active */

.register-footer .button:active {
    transform: translateY(0);
}


/* ---------------------------------------------------------
   LOGIN LINK
   --------------------------------------------------------- */

.register-footer .link {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 44px;

    padding: 10px 18px;

    color: #062b49 !important;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none !important;

    border: 1px solid #ccd5dd;
    border-radius: 6px;

    background: #ffffff;

    transition:
        color .2s ease,
        background .2s ease,
        border-color .2s ease;
}


.register-footer .link:hover {
    color: #062b49 !important;

    background: #f4f7f9;

    border-color: #062b49;
}


/* ---------------------------------------------------------
   ACCESSIBILITY
   --------------------------------------------------------- */

.register-form .input:focus-visible,
.register-footer .button:focus-visible,
.register-footer .link:focus-visible,
.input-checkbox:focus-visible {
    outline: 3px solid rgba(212, 175, 55, .45);

    outline-offset: 2px;
}


/* ---------------------------------------------------------
   ERROR / VALIDATION STATES
   --------------------------------------------------------- */

.register-form .input[aria-invalid="true"] {
    border-color: #c62828 !important;

    box-shadow:
        0 0 0 3px rgba(198, 40, 40, .08);
}


/* ---------------------------------------------------------
   TABLET
   --------------------------------------------------------- */

@media screen and (max-width: 768px) {

    .pt-16 {
        padding-top: 30px !important;
        padding-bottom: 40px !important;
    }

    .pt-16 > .container {
        padding: 0 16px !important;
    }

    .register {
        padding: 30px 25px 32px;

        border-radius: 10px;
    }

    .register-title {
        font-size: 27px;

        margin-bottom: 27px;
    }

    .register-profile,
    .register-login {
        grid-template-columns: 1fr;

        row-gap: 18px;
    }

    .register-form fieldset {
        padding: 23px 22px 24px;
    }

    .register-profile .input-legend,
    .register-login .input-legend {
        grid-column: auto;
    }
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media screen and (max-width: 560px) {

    .pt-16 {
        padding-top: 20px !important;
        padding-bottom: 30px !important;
    }

    .pt-16 > .container {
        padding: 0 12px !important;
    }

    .register {
        width: 100%;

        padding: 25px 17px 27px;

        border-radius: 8px;

        box-shadow:
            0 5px 20px rgba(6, 43, 73, .07);
    }

    .register-title {
        font-size: 24px;

        margin-bottom: 24px;
    }

    .register-form fieldset {
        margin-bottom: 20px;

        padding: 20px 16px 21px;

        border-radius: 7px;
    }

    .register-form .input-legend {
        font-size: 16px;
    }

    .register-form .input {
        min-height: 46px;

        font-size: 14px;
    }

    .register-footer {
        flex-direction: column;

        align-items: stretch;

        gap: 10px;

        margin-top: 24px;
        padding-top: 20px;
    }

    .register-footer .button,
    .register-footer .link {
        width: 100%;

        box-sizing: border-box;
    }

    .input-checkbox-wrapper {
        padding: 9px 6px;

        gap: 9px;
    }
}


/* ---------------------------------------------------------
   VERY SMALL SCREENS
   --------------------------------------------------------- */

@media screen and (max-width: 380px) {

    .register {
        padding-left: 13px;
        padding-right: 13px;
    }

    .register-form fieldset {
        padding-left: 13px;
        padding-right: 13px;
    }

    .register-title {
        font-size: 22px;
    }

    .register-form .input {
        min-height: 44px;
    }
}


/* ---------------------------------------------------------
   REDUCED MOTION
   --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

    .register *,
    .register *::before,
    .register *::after {
        transition: none !important;
        animation: none !important;
    }
}

/* =========================================================
   WNJMS — FINAL UI/UX POLISH OVERRIDES
   ========================================================= */

/* Consistent box sizing */
.footer *,
.footer *::before,
.footer *::after,
.login *,
.login *::before,
.login *::after,
.register *,
.register *::before,
.register *::after {
    box-sizing: border-box;
}

/* Smoother text rendering */
.footer,
.login,
.register {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Better link/button interaction */
.footer a,
.login a,
.login button,
.register a,
.register button {
    -webkit-tap-highlight-color: transparent;
}

/* Disabled controls */
.login button:disabled,
.register button:disabled,
.login .button:disabled,
.register .button:disabled {
    opacity: .6 !important;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Prevent long labels and URLs from breaking layouts */
.login,
.register,
.footer {
    overflow-wrap: anywhere;
}

/* Improve keyboard navigation visibility */
.footer a:focus-visible,
.footer button:focus-visible,
.login a:focus-visible,
.login button:focus-visible,
.login input:focus-visible,
.register a:focus-visible,
.register button:focus-visible,
.register input:focus-visible,
.register select:focus-visible,
.register textarea:focus-visible {
    outline: 3px solid rgba(212, 175, 55, .65);
    outline-offset: 3px;
}

/* Registration textareas */
.register-form textarea.input {
    min-height: 110px;
    resize: vertical;
}

/* Registration selects */
.register-form select.input {
    min-height: 45px;
}

/* Make form errors readable without changing OJS markup */
.login .error,
.register .error,
.login .form-error,
.register .form-error,
.login [role="alert"],
.register [role="alert"] {
    margin-top: 7px;
    color: #b42318;
    font-size: 13px;
    line-height: 1.5;
}

/* Better mobile touch targets */
@media screen and (max-width: 767px) {
    .footer .menu-button,
    .footer .link,
    .login .link,
    .register .link {
        min-height: 42px;
    }

    .login .input,
    .register-form .input {
        min-height: 48px;
    }
}

/* Respect user motion preferences globally */
@media (prefers-reduced-motion: reduce) {
    .footer *,
    .footer *::before,
    .footer *::after,
    .login *,
    .login *::before,
    .login *::after,
    .register *,
    .register *::before,
    .register *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}

.header-desktop-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
}

/* =========================================================
   WESTERN NIGERIA JOURNAL OF MEDICAL SCIENCES
   MODERN ISSUE ARCHIVE UI
   ========================================================= */

/* ---------------------------------------------------------
   1. ROOT VARIABLES
   --------------------------------------------------------- */

:root {
    --wnjms-primary: #005eb8;
    --wnjms-primary-dark: #004a91;
    --wnjms-primary-deep: #003b73;
    --wnjms-secondary: #00a3e0;
    --wnjms-accent: #18a999;

    --wnjms-text: #172b4d;
    --wnjms-text-soft: #526173;
    --wnjms-muted: #718096;

    --wnjms-bg: #f5f8fc;
    --wnjms-card: #ffffff;
    --wnjms-border: #e4eaf1;

    --wnjms-shadow-sm:
        0 4px 15px rgba(15, 42, 70, 0.06);

    --wnjms-shadow:
        0 12px 35px rgba(15, 42, 70, 0.10);

    --wnjms-shadow-lg:
        0 22px 55px rgba(15, 42, 70, 0.15);

    --wnjms-radius: 18px;
    --wnjms-radius-lg: 24px;

    --wnjms-transition:
        280ms cubic-bezier(0.4, 0, 0.2, 1);
}


/* ---------------------------------------------------------
   2. GLOBAL ARCHIVE AREA
   --------------------------------------------------------- */

.issue-archive {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 0 80px;
}


/* ---------------------------------------------------------
   3. PAGE HEADER
   --------------------------------------------------------- */

.issue-archive-header {
    position: relative;
    margin-bottom: 45px;
    padding: 42px 45px;
    border-radius: var(--wnjms-radius-lg);
    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            rgba(0, 94, 184, 0.98),
            rgba(0, 163, 224, 0.92)
        );

    box-shadow: var(--wnjms-shadow);
}

/* Decorative circles */

.issue-archive-header::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    top: -130px;
    right: -70px;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.10);
}

.issue-archive-header::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    bottom: -100px;
    left: 15%;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.07);
}


/* ---------------------------------------------------------
   4. ARCHIVE TITLE
   --------------------------------------------------------- */

.issue-archive-title {
    position: relative;
    z-index: 2;

    margin: 0;
    padding: 0;

    color: #ffffff;

    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.1;
    font-weight: 800;

    letter-spacing: -0.035em;
}

.issue-archive-title::after {
    content: "";
    display: block;

    width: 55px;
    height: 4px;

    margin-top: 18px;

    border-radius: 100px;

    background: rgba(255, 255, 255, 0.85);
}


/* ---------------------------------------------------------
   5. SCREEN READER ONLY
   --------------------------------------------------------- */

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}


/* ---------------------------------------------------------
   6. ISSUE GRID
   --------------------------------------------------------- */

.issue-archive-list {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 34px;

    margin: 0;
    padding: 0;

    list-style: none;
}


/* ---------------------------------------------------------
   7. ISSUE ITEM
   --------------------------------------------------------- */

.issue-archive-list > li {
    min-width: 0;

    opacity: 0;
    animation:
        issueFadeIn 650ms ease forwards;
}


/* Stagger animation */

.issue-archive-list > li:nth-child(1) {
    animation-delay: 60ms;
}

.issue-archive-list > li:nth-child(2) {
    animation-delay: 120ms;
}

.issue-archive-list > li:nth-child(3) {
    animation-delay: 180ms;
}

.issue-archive-list > li:nth-child(4) {
    animation-delay: 240ms;
}

.issue-archive-list > li:nth-child(5) {
    animation-delay: 300ms;
}

.issue-archive-list > li:nth-child(6) {
    animation-delay: 360ms;
}

.issue-archive-list > li:nth-child(7) {
    animation-delay: 420ms;
}

.issue-archive-list > li:nth-child(8) {
    animation-delay: 480ms;
}

.issue-archive-list > li:nth-child(9) {
    animation-delay: 540ms;
}

.issue-archive-list > li:nth-child(10) {
    animation-delay: 600ms;
}

.issue-archive-list > li:nth-child(11) {
    animation-delay: 660ms;
}

.issue-archive-list > li:nth-child(12) {
    animation-delay: 720ms;
}


/* ---------------------------------------------------------
   8. ISSUE CARD
   --------------------------------------------------------- */

.issue-cover-summary {
    position: relative;

    display: flex;
    flex-direction: column;

    height: 100%;

    overflow: hidden;

    text-decoration: none !important;

    background: var(--wnjms-card);

    border: 1px solid var(--wnjms-border);

    border-radius: var(--wnjms-radius);

    box-shadow: var(--wnjms-shadow-sm);

    transition:
        transform var(--wnjms-transition),
        box-shadow var(--wnjms-transition),
        border-color var(--wnjms-transition);
}


/* ---------------------------------------------------------
   9. CARD HOVER
   --------------------------------------------------------- */

.issue-cover-summary:hover {
    transform: translateY(-10px);

    border-color:
        rgba(0, 94, 184, 0.20);

    box-shadow: var(--wnjms-shadow-lg);
}


/* ---------------------------------------------------------
   10. COVER IMAGE
   --------------------------------------------------------- */

.issue-cover-summary-image {
    display: block;

    width: 100%;

    aspect-ratio: 3 / 4;

    object-fit: cover;

    background:
        linear-gradient(
            145deg,
            #e9f2fb,
            #f7fafc
        );

    transition:
        transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1),
        filter 400ms ease;
}


/* Image hover */

.issue-cover-summary:hover
.issue-cover-summary-image {
    transform: scale(1.035);

    filter: saturate(1.06) contrast(1.02);
}


/* ---------------------------------------------------------
   11. IMAGE CONTAINER EFFECT
   --------------------------------------------------------- */

.issue-cover-summary::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 45%;

    z-index: 1;

    pointer-events: none;

    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.08),
            transparent
        );

    opacity: 0;

    transition: opacity var(--wnjms-transition);
}

.issue-cover-summary:hover::before {
    opacity: 1;
}


/* ---------------------------------------------------------
   12. ISSUE INFORMATION
   --------------------------------------------------------- */

.issue-cover-summary-details {
    position: relative;
    z-index: 3;

    display: flex;
    flex-direction: column;

    margin: 0;

    padding: 22px 22px 25px;

    background: #ffffff;
}


/* ---------------------------------------------------------
   13. VOLUME / ISSUE NUMBER
   --------------------------------------------------------- */

.issue-cover-summary-vol {
    display: inline-flex;
    align-self: flex-start;

    width: fit-content;

    margin-bottom: 10px;

    padding: 7px 11px;

    border-radius: 8px;

    color: var(--wnjms-primary);

    background:
        rgba(0, 94, 184, 0.09);

    font-size: 0.78rem;
    line-height: 1;

    font-weight: 800;

    letter-spacing: 0.04em;

    text-transform: uppercase;
}


/* ---------------------------------------------------------
   14. YEAR
   --------------------------------------------------------- */

.issue-cover-summary-year {
    margin-bottom: 8px;

    color: var(--wnjms-text);

    font-size: 1.45rem;
    line-height: 1.1;

    font-weight: 800;

    letter-spacing: -0.02em;
}


/* ---------------------------------------------------------
   15. JOURNAL TITLE
   --------------------------------------------------------- */

.issue-cover-summary-title {
    color: var(--wnjms-text-soft);

    font-size: 0.91rem;

    line-height: 1.55;

    font-weight: 500;
}


/* ---------------------------------------------------------
   16. CARD ARROW
   --------------------------------------------------------- */

.issue-cover-summary-details::after {
    content: "→";

    display: flex;

    align-items: center;
    justify-content: center;

    position: absolute;

    right: 20px;
    bottom: 24px;

    width: 34px;
    height: 34px;

    border-radius: 50%;

    color: #ffffff;

    background: var(--wnjms-primary);

    font-size: 1rem;
    font-weight: 700;

    opacity: 0;

    transform: translateX(-8px);

    transition:
        opacity var(--wnjms-transition),
        transform var(--wnjms-transition);
}

.issue-cover-summary:hover
.issue-cover-summary-details::after {
    opacity: 1;

    transform: translateX(0);
}


/* ---------------------------------------------------------
   17. KEYBOARD ACCESSIBILITY
   --------------------------------------------------------- */

.issue-cover-summary:focus {
    outline: none;
}

.issue-cover-summary:focus-visible {
    outline: 3px solid
        rgba(0, 163, 224, 0.45);

    outline-offset: 5px;

    box-shadow:
        0 0 0 5px rgba(0, 163, 224, 0.10),
        var(--wnjms-shadow);
}


/* ---------------------------------------------------------
   18. MISSING COVER / SVG FALLBACK
   --------------------------------------------------------- */

.issue-cover-summary > svg {
    display: block;

    width: 100%;
    height: auto;

    aspect-ratio: 3 / 4;

    padding: 25px;

    color: #b7c5d4;

    background:
        linear-gradient(
            145deg,
            #edf3f8,
            #f9fbfd
        );

    transition:
        transform var(--wnjms-transition),
        color var(--wnjms-transition);
}

.issue-cover-summary:hover > svg {
    color: var(--wnjms-primary);

    transform: scale(1.02);
}


/* ---------------------------------------------------------
   19. TOP BORDER ACCENT
   --------------------------------------------------------- */

.issue-cover-summary {
    border-top: 4px solid transparent;

    background-image:
        linear-gradient(#ffffff, #ffffff),
        linear-gradient(
            90deg,
            var(--wnjms-primary),
            var(--wnjms-secondary)
        );

    background-origin: border-box;

    background-clip: padding-box, border-box;
}


/* ---------------------------------------------------------
   20. CONTAINER SPACING
   --------------------------------------------------------- */

.pt-16 {
    padding-top: 4rem;
}


/* ---------------------------------------------------------
   21. MAIN CONTAINER
   --------------------------------------------------------- */

.container {
    width: min(
        calc(100% - 40px),
        1400px
    );

    margin-left: auto;
    margin-right: auto;
}


/* ---------------------------------------------------------
   22. PAGE BACKGROUND
   --------------------------------------------------------- */

body {
    background:
        radial-gradient(
            circle at 10% 0%,
            rgba(0, 163, 224, 0.035),
            transparent 30%
        ),
        radial-gradient(
            circle at 90% 15%,
            rgba(0, 94, 184, 0.035),
            transparent 30%
        ),
        var(--wnjms-bg);
}


/* ---------------------------------------------------------
   23. SMOOTH SCROLL
   --------------------------------------------------------- */

html {
    scroll-behavior: smooth;
}


/* ---------------------------------------------------------
   24. ANIMATION
   --------------------------------------------------------- */

@keyframes issueFadeIn {
    from {
        opacity: 0;

        transform:
            translateY(25px)
            scale(0.985);
    }

    to {
        opacity: 1;

        transform:
            translateY(0)
            scale(1);
    }
}


/* ---------------------------------------------------------
   25. TABLET — 3 COLUMNS
   --------------------------------------------------------- */

@media (max-width: 1200px) {

    .issue-archive-list {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap: 28px;
    }

    .issue-archive-header {
        padding: 36px 35px;
    }
}


/* ---------------------------------------------------------
   26. TABLET — 2 COLUMNS
   --------------------------------------------------------- */

@media (max-width: 850px) {

    .pt-16 {
        padding-top: 2.5rem;
    }

    .container {
        width:
            min(
                calc(100% - 32px),
                720px
            );
    }

    .issue-archive {
        padding-top: 10px;
        padding-bottom: 60px;
    }

    .issue-archive-header {
        margin-bottom: 32px;

        padding: 32px 28px;

        border-radius: 20px;
    }

    .issue-archive-list {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 24px;
    }

    .issue-cover-summary-details {
        padding: 18px 18px 21px;
    }

    .issue-cover-summary-year {
        font-size: 1.25rem;
    }
}


/* ---------------------------------------------------------
   27. MOBILE — SINGLE COLUMN
   --------------------------------------------------------- */

@media (max-width: 560px) {

    .pt-16 {
        padding-top: 1.5rem;
    }

    .container {
        width:
            calc(100% - 24px);
    }

    .issue-archive {
        padding-top: 8px;
        padding-bottom: 45px;
    }

    .issue-archive-header {
        margin-bottom: 26px;

        padding: 28px 22px;

        border-radius: 18px;
    }

    .issue-archive-title {
        font-size: 2rem;
    }

    .issue-archive-title::after {
        margin-top: 14px;

        width: 45px;
        height: 3px;
    }

    .issue-archive-list {
        grid-template-columns: 1fr;

        gap: 20px;
    }

    .issue-cover-summary {
        border-radius: 16px;
    }

    .issue-cover-summary-image,
    .issue-cover-summary > svg {
        aspect-ratio: 4 / 5;
    }

    .issue-cover-summary-details {
        padding: 18px 18px 22px;
    }

    .issue-cover-summary-vol {
        font-size: 0.72rem;
    }

    .issue-cover-summary-year {
        font-size: 1.2rem;
    }

    .issue-cover-summary-title {
        font-size: 0.86rem;
    }
}


/* ---------------------------------------------------------
   28. VERY SMALL DEVICES
   --------------------------------------------------------- */

@media (max-width: 380px) {

    .container {
        width:
            calc(100% - 18px);
    }

    .issue-archive-header {
        padding: 24px 18px;
    }

    .issue-archive-title {
        font-size: 1.75rem;
    }
}


/* ---------------------------------------------------------
   29. REDUCED MOTION
   --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;
    }
}


/* ---------------------------------------------------------
   30. DARK MODE SUPPORT
   --------------------------------------------------------- */

@media (prefers-color-scheme: dark) {

    :root {
        --wnjms-bg: #0c1724;
        --wnjms-card: #132335;
        --wnjms-text: #f2f7fc;
        --wnjms-text-soft: #b8c5d4;
        --wnjms-muted: #94a4b7;
        --wnjms-border: #25384c;
    }

    body {
        background:
            radial-gradient(
                circle at 10% 0%,
                rgba(0, 163, 224, 0.07),
                transparent 30%
            ),
            var(--wnjms-bg);
    }

    .issue-cover-summary {
        background-image:
            linear-gradient(
                var(--wnjms-card),
                var(--wnjms-card)
            ),
            linear-gradient(
                90deg,
                var(--wnjms-primary),
                var(--wnjms-secondary)
            );
    }

    .issue-cover-summary-details {
        background: var(--wnjms-card);
    }

    .issue-cover-summary-vol {
        color: #5fc7ff;

        background:
            rgba(0, 163, 224, 0.12);
    }

    .issue-cover-summary-year {
        color: #f2f7fc;
    }

    .issue-cover-summary-title {
        color: #aebdcd;
    }

    .issue-cover-summary > svg {
        color: #587087;

        background:
            linear-gradient(
                145deg,
                #16283a,
                #0f1e2e
            );
    }
}


/* ---------------------------------------------------------
   31. PRINT
   --------------------------------------------------------- */

@media print {

    body {
        background: #ffffff;
    }

    .issue-archive-header {
        color: #000000;

        background: #ffffff;

        border: 1px solid #ddd;

        box-shadow: none;
    }

    .issue-archive-title {
        color: #000000;
    }

    .issue-archive-list {
        grid-template-columns:
            repeat(3, 1fr);

        gap: 20px;
    }

    .issue-cover-summary {
        break-inside: avoid;

        box-shadow: none;

        border: 1px solid #ddd;
    }

    .issue-cover-summary-details::after {
        display: none;
    }
}

/*
 * Western Nigeria Journal of Medical Sciences (WNJMS)
 * Modern Issue Archive / Table of Contents UI
 * Designed for the supplied OJS HTML structure.
 */

/* =========================================================
   1. DESIGN TOKENS
   ========================================================= */
:root {
    --wnjms-blue: #005eb8;
    --wnjms-blue-dark: #004684;
    --wnjms-blue-light: #eaf5ff;
    --wnjms-cyan: #00a3e0;
    --wnjms-teal: #0a8f87;

    --wnjms-ink: #172b4d;
    --wnjms-muted: #66758a;
    --wnjms-soft: #8a98aa;

    --wnjms-bg: #f4f7fb;
    --wnjms-surface: #ffffff;
    --wnjms-surface-2: #f8fafc;
    --wnjms-border: #e2e8f0;

    --wnjms-radius-sm: 10px;
    --wnjms-radius: 18px;
    --wnjms-radius-lg: 26px;

    --wnjms-shadow-sm: 0 4px 16px rgba(20, 42, 70, .06);
    --wnjms-shadow: 0 12px 34px rgba(20, 42, 70, .09);
    --wnjms-shadow-lg: 0 22px 60px rgba(20, 42, 70, .14);

    --wnjms-ease: cubic-bezier(.2, .7, .2, 1);
}

/* =========================================================
   2. PAGE FOUNDATION
   ========================================================= */
html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(circle at 5% 0%, rgba(0, 163, 224, .055), transparent 27rem),
        radial-gradient(circle at 95% 15%, rgba(0, 94, 184, .045), transparent 28rem),
        var(--wnjms-bg);
    color: var(--wnjms-ink);
}

.pt-16 {
    padding-top: 3rem !important;
    padding-bottom: 4rem;
}

.container {
    width: min(100% - 32px, 1380px);
    margin-inline: auto;
}

/* =========================================================
   3. BREADCRUMBS
   ========================================================= */
.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin: 0 0 28px;
    color: var(--wnjms-muted);
    font-size: .88rem;
    font-weight: 600;
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb a {
    color: var(--wnjms-blue);
    text-decoration: none;
    transition: color .2s ease;
}

.breadcrumb a:hover {
    color: var(--wnjms-blue-dark);
}

.breadcrumb-separator {
    color: #a9b5c3;
}

.breadcrumb-item-last {
    color: var(--wnjms-ink);
}

/* =========================================================
   4. ISSUE HEADER
   ========================================================= */
.issue-toc {
    width: 100%;
}

.issue-toc-header {
    position: relative;
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 42px;
    align-items: stretch;
    overflow: hidden;
    margin-bottom: 42px;
    padding: 34px;
    border: 1px solid rgba(255,255,255,.7);
    border-radius: var(--wnjms-radius-lg);
    background:
        linear-gradient(135deg, #005eb8 0%, #0078c8 52%, #00a3e0 100%);
    box-shadow: var(--wnjms-shadow-lg);
}

.issue-toc-header::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -170px;
    top: -220px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    pointer-events: none;
}

.issue-toc-header::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    left: 30%;
    bottom: -200px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    pointer-events: none;
}

.issue-toc-cover {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 260px;
    justify-self: center;
    overflow: hidden;
    border-radius: 15px;
    background: #dceeff;
    box-shadow: 0 20px 45px rgba(0, 25, 60, .28);
    transform: rotate(-1deg);
    transition: transform .45s var(--wnjms-ease), box-shadow .45s ease;
}

.issue-toc-header:hover .issue-toc-cover {
    transform: rotate(0deg) translateY(-5px);
    box-shadow: 0 28px 55px rgba(0, 25, 60, .34);
}

.issue-toc-cover-image {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.issue-toc-header-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    color: #fff;
}

.issue-toc-header-top {
    margin-bottom: 20px;
}

.issue-toc-identification {
    margin: 0;
    color: #fff;
}

.issue-toc-vol {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 14px;
    padding: 8px 12px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    color: #fff;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.issue-toc-year {
    margin-bottom: 8px;
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1;
    font-weight: 850;
    letter-spacing: -.045em;
}

.issue-toc-title {
    max-width: 800px;
    color: rgba(255,255,255,.95);
    font-size: clamp(1.15rem, 2vw, 1.55rem);
    line-height: 1.4;
    font-weight: 650;
}

.issue-toc-metadata {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-top: 4px;
    padding: 9px 13px;
    border-radius: 9px;
    background: rgba(0, 0, 0, .13);
    color: rgba(255,255,255,.94);
    font-size: .9rem;
}

.issue-toc-metadata strong {
    margin-right: 5px;
}

.issue-toc-description {
    margin-top: 18px;
    color: rgba(255,255,255,.78);
    line-height: 1.7;
}

/* =========================================================
   5. ARTICLE SECTIONS
   ========================================================= */
.issue-toc-sections,
.issue-toc-articles {
    list-style: none;
    margin: 0;
    padding: 0;
}

.issue-toc-section {
    margin-bottom: 40px;
}

.issue-toc-section:last-child {
    margin-bottom: 0;
}

.issue-toc-section-name {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0 0 20px;
    padding-bottom: 13px;
    border-bottom: 1px solid var(--wnjms-border);
    color: var(--wnjms-ink);
    font-size: 1.25rem;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: -.02em;
}

.issue-toc-section-name::before {
    content: "";
    flex: 0 0 5px;
    height: 25px;
    border-radius: 99px;
    background: linear-gradient(180deg, var(--wnjms-blue), var(--wnjms-cyan));
}

.issue-toc-section-name::after {
    content: "";
    width: 8px;
    height: 8px;
    margin-left: auto;
    border-radius: 50%;
    background: var(--wnjms-cyan);
    box-shadow: 0 0 0 5px rgba(0,163,224,.08);
}

/* =========================================================
   6. ARTICLE CARDS
   ========================================================= */
.issue-toc-article {
    margin-bottom: 15px;
}

.article-summary {
    position: relative;
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 22px;
    align-items: stretch;
    min-height: 150px;
    overflow: hidden;
    border: 1px solid var(--wnjms-border);
    border-radius: var(--wnjms-radius);
    background: var(--wnjms-surface);
    box-shadow: var(--wnjms-shadow-sm);
    transition:
        transform .35s var(--wnjms-ease),
        box-shadow .35s ease,
        border-color .35s ease;
}

.article-summary:hover {
    transform: translateY(-4px);
    border-color: rgba(0,94,184,.20);
    box-shadow: var(--wnjms-shadow);
}

.article-summary::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, var(--wnjms-blue), var(--wnjms-cyan));
    opacity: 0;
    transition: opacity .25s ease;
}

.article-summary:hover::before {
    opacity: 1;
}

.article-summary-cover {
    display: block;
    width: 110px;
    height: 150px;
    margin: 0;
    object-fit: cover;
    background: linear-gradient(145deg, #edf5fb, #f8fafc);
}

.article-summary-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    padding: 22px 22px 19px 0;
}

.article-summary-content {
    min-width: 0;
}

.article-summary-link {
    color: inherit;
    text-decoration: none !important;
}

.article-summary-title {
    margin: 0 0 10px;
    color: var(--wnjms-ink);
    font-size: 1.08rem;
    line-height: 1.48;
    font-weight: 750;
    letter-spacing: -.012em;
    transition: color .2s ease;
}

.article-summary:hover .article-summary-title {
    color: var(--wnjms-blue);
}

.article-summary-authors {
    color: var(--wnjms-muted);
    font-size: .88rem;
    line-height: 1.6;
}

/* =========================================================
   7. PDF BUTTON
   ========================================================= */
.article-summary-galleys {
    display: flex;
    justify-content: flex-end;
    margin-top: 15px;
}

.article-summary-galley {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 78px;
    padding: 8px 13px !important;
    border: 1px solid rgba(0,94,184,.16) !important;
    border-radius: 9px !important;
    background: var(--wnjms-blue-light) !important;
    color: var(--wnjms-blue) !important;
    font-size: .78rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    transition:
        transform .25s var(--wnjms-ease),
        background .25s ease,
        color .25s ease,
        box-shadow .25s ease;
}

.article-summary-galley:hover {
    transform: translateY(-2px);
    background: var(--wnjms-blue) !important;
    color: #fff !important;
    box-shadow: 0 8px 18px rgba(0,94,184,.22);
}

.article-summary-galley svg {
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
}

/* =========================================================
   8. FOCUS / ACCESSIBILITY
   ========================================================= */
.tab-focus:focus-visible,
.issue-toc a:focus-visible {
    outline: 3px solid rgba(0,163,224,.42);
    outline-offset: 4px;
    border-radius: 7px;
}

.article-summary-link:focus-visible {
    outline-offset: 2px;
}

/* =========================================================
   9. RESPONSIVE - LARGE TABLET
   ========================================================= */
@media (max-width: 1050px) {
    .issue-toc-header {
        grid-template-columns: 210px minmax(0, 1fr);
        gap: 30px;
        padding: 28px;
    }

    .issue-toc-cover {
        max-width: 210px;
    }

    .article-summary {
        grid-template-columns: 95px minmax(0, 1fr);
    }

    .article-summary-cover {
        width: 95px;
        height: 140px;
    }
}

/* =========================================================
   10. RESPONSIVE - TABLET
   ========================================================= */
@media (max-width: 760px) {
    .pt-16 {
        padding-top: 1.75rem !important;
        padding-bottom: 3rem;
    }

    .container {
        width: min(100% - 24px, 680px);
    }

    .breadcrumb {
        margin-bottom: 20px;
        font-size: .82rem;
    }

    .issue-toc-header {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 24px;
        border-radius: 21px;
    }

    .issue-toc-cover {
        width: min(230px, 70vw);
        max-width: none;
        justify-self: start;
    }

    .issue-toc-header-content {
        justify-content: flex-start;
    }

    .issue-toc-year {
        font-size: 2.65rem;
    }

    .issue-toc-title {
        font-size: 1.1rem;
    }

    .issue-toc-section-name {
        font-size: 1.1rem;
    }

    .article-summary {
        grid-template-columns: 86px minmax(0, 1fr);
        gap: 17px;
    }

    .article-summary-cover {
        width: 86px;
        height: 128px;
    }

    .article-summary-inner {
        padding: 17px 17px 16px 0;
    }

    .article-summary-title {
        font-size: 1rem;
    }
}

/* =========================================================
   11. RESPONSIVE - MOBILE
   ========================================================= */
@media (max-width: 520px) {
    .issue-toc-header {
        padding: 20px;
        border-radius: 18px;
        margin-bottom: 30px;
    }

    .issue-toc-cover {
        width: min(200px, 62vw);
    }

    .issue-toc-vol {
        font-size: .7rem;
    }

    .issue-toc-year {
        font-size: 2.2rem;
    }

    .issue-toc-title {
        font-size: 1rem;
    }

    .issue-toc-metadata {
        font-size: .78rem;
    }

    .issue-toc-section {
        margin-bottom: 30px;
    }

    .issue-toc-section-name {
        margin-bottom: 14px;
        padding-bottom: 10px;
        font-size: 1rem;
    }

    .article-summary {
        grid-template-columns: 1fr;
        gap: 0;
        border-radius: 15px;
    }

    .article-summary-cover {
        width: 100%;
        height: 170px;
        aspect-ratio: 16 / 8;
        object-fit: cover;
    }

    .article-summary-inner {
        padding: 17px;
    }

    .article-summary-title {
        font-size: .98rem;
        line-height: 1.45;
    }

    .article-summary-authors {
        font-size: .82rem;
    }

    .article-summary-galleys {
        justify-content: flex-start;
    }

    .article-summary-galley {
        min-width: 82px;
    }
}

/* =========================================================
   12. SMALL MOBILE
   ========================================================= */
@media (max-width: 360px) {
    .container {
        width: calc(100% - 18px);
    }

    .issue-toc-header {
        padding: 17px;
    }

    .issue-toc-year {
        font-size: 1.95rem;
    }
}

/* =========================================================
   13. REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* =========================================================
   14. OPTIONAL DARK MODE
   ========================================================= */
@media (prefers-color-scheme: dark) {
    :root {
        --wnjms-bg: #0b1724;
        --wnjms-surface: #122235;
        --wnjms-surface-2: #172a3e;
        --wnjms-border: #263b50;
        --wnjms-ink: #f1f6fb;
        --wnjms-muted: #aab9c9;
        --wnjms-soft: #8295aa;
        --wnjms-blue-light: rgba(0,163,224,.13);
    }

    .article-summary-title,
    .issue-toc-section-name,
    .breadcrumb-item-last {
        color: var(--wnjms-ink);
    }

    .article-summary,
    .issue-toc-section-name {
        border-color: var(--wnjms-border);
    }

    .article-summary {
        background: var(--wnjms-surface);
    }

    .article-summary-cover {
        background: #182b3e;
    }
}

/* =========================================================
   15. PRINT
   ========================================================= */
@media print {
    body {
        background: #fff;
    }

    .issue-toc-header {
        color: #000;
        background: #fff;
        border: 1px solid #ccc;
        box-shadow: none;
    }

    .issue-toc-header-content,
    .issue-toc-year,
    .issue-toc-title,
    .issue-toc-vol,
    .issue-toc-metadata {
        color: #000;
    }

    .article-summary {
        break-inside: avoid;
        box-shadow: none;
    }
}