/* =========================================
   SIDEBAR - Cleaner & More Spacious
   ========================================= */

.pkp_block {
    background: #ffffff;
    border: 1px solid #DCE7EC;
    border-radius: 24px;

    padding: 1.8rem 1.5rem;
    margin-bottom: 1rem;
    margin-left: 0.5rem;

    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}

/* Sidebar title */
.pkp_block .title {
    background: linear-gradient(
        135deg,
        #168CB4 0%,
        #20A9D8 55%,
        #6ED8F7 100%
    );

    color: #fff;
    border-radius: 999px;
    text-align: center;
    padding: 0.85rem 1.2rem;
    margin-bottom: 1.4rem;

    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.3px;

    box-shadow:
        0 4px 12px rgba(32,169,216,0.18),
        inset 0 1px 0 rgba(255,255,255,0.2);
}

/* Sidebar links spacing */
.pkp_block ul {
    margin: 0;
    padding: 0;
}

.pkp_block li {
    list-style: none;
    margin-bottom: 0.95rem;
    line-height: 1.8;
}

/* Sidebar links */
.pkp_block a {
    color: #168CB4;
    font-weight: 500;
    transition: all 0.2s ease;
}

.pkp_block a:hover {
    color: #20A9D8;
    padding-left: 4px;
}

/* =========================================
   MAKE A SUBMISSION BUTTON
   More integrated with theme
   ========================================= */

.block_make_submission a,
a.make_submission_link {

    display: block;
    width: 100%;
    text-align: center;

    padding: 1rem 1.4rem;
    margin-top: 0.5rem;

    border-radius: 999px;

    background: linear-gradient(
        135deg,
        #168CB4 0%,
        #20A9D8 55%,
        #6ED8F7 100%
    );

    color: #fff !important;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-decoration: none;

    box-shadow:
        0 8px 20px rgba(32,169,216,0.28),
        inset 0 1px 0 rgba(255,255,255,0.2);

    transition: all 0.25s ease;
}

/* Hover */
.block_make_submission a:hover,
a.make_submission_link:hover {

    transform: translateY(-2px);

    background: linear-gradient(
        135deg,
        #117A9D 0%,
        #168CB4 50%,
        #4CC7EA 100%
    );

    box-shadow:
        0 12px 24px rgba(32,169,216,0.34),
        inset 0 1px 0 rgba(255,255,255,0.25);
}

/* Icon */
.block_make_submission a::before {
    content: "✦";
    margin-right: 0.55rem;
    font-size: 0.9rem;
}

/* =========================================
   Sidebar Text Breathing Space
   ========================================= */

.pkp_block .content {
    line-height: 1.9;
    font-size: 0.97rem;
}

.pkp_block .content p {
    margin-bottom: 1rem;
}

/* =========================================
   HEADER STYLE FOR NCPD 2026 BANNER
   Match with uploaded banner
   ========================================= */

/* ---------- Main Header ---------- */
.pkp_structure_head {

    background:
        linear-gradient(
            90deg,
            #F7FBFD 0%,
            #EAF7FC 35%,
            #DFF4FB 100%
        );

    border-bottom: 1px solid rgba(32,169,216,0.15);

    box-shadow:
        0 2px 16px rgba(0,0,0,0.04);

    position: relative;
    overflow: hidden;
}

/* Soft glow */
.pkp_structure_head::before {

    content: "";

    position: absolute;
    top: -120px;
    right: -80px;

    width: 320px;
    height: 320px;

    background:
        radial-gradient(
            rgba(110,216,247,0.22),
            transparent 70%
        );

    pointer-events: none;
}

/* ---------- Header Inner ---------- */
.pkp_head_wrapper {
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
}

/* ---------- Journal Name ---------- */
.pkp_site_name .is_text {

    color: #1E335C !important;

    font-weight: 800;
    letter-spacing: 0.3px;

    font-size: 2rem;
    line-height: 1.2;
}

/* ---------- Logo ---------- */
.pkp_site_name .is_img img {

    max-height: 95px;
    transition: 0.3s ease;
}

/* Hover effect */
.pkp_site_name .is_img img:hover {
    transform: scale(1.02);
}

/* ---------- Navigation ---------- */
.pkp_navigation_primary_row {

    background: rgba(255,255,255,0.45);

    backdrop-filter: blur(8px);

    border-top: 1px solid rgba(32,169,216,0.08);

    border-bottom: 1px solid rgba(32,169,216,0.08);
}

/* Navigation links */
.pkp_navigation_primary > li > a {

    color: #1E335C;

    font-weight: 600;

    padding: 0.9rem 2rem;

    transition: all 0.25s ease;
}

/* Hover 
.pkp_navigation_primary > li > a:hover,
.pkp_navigation_primary > li > a:focus {

    color: #20A9D8;

    background: rgba(32,169,216,0.08);

    border-radius: 999px;
}*/

/* Active menu */
.pkp_navigation_primary > li.current > a {

    color: #20A9D8;

    background: rgba(32,169,216,0.10);

    border-radius: 999px;
}

@media (min-width: 992px) {
    .pkp_navigation_primary>li:first-child a {
        margin-left: 1rem;
    }
}

/* ---------- User Menu ---------- */
.pkp_navigation_user > li > a {

    color: #4B5563;
    font-weight: 500;
}

.pkp_navigation_user > li > a:hover {
    color: #20A9D8;
}

/* ---------- Search ---------- */
.pkp_search input[type="text"] {

    border-radius: 999px;

    border: 1px solid rgba(32,169,216,0.18);

    background: rgba(255,255,255,0.88);

    backdrop-filter: blur(6px);
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {

    .pkp_site_name .is_img img {
        max-height: 72px;
    }

    .pkp_site_name .is_text {
        font-size: 1.25rem;
    }

    .pkp_navigation_primary > li > a {
        padding: 0.7rem 0.9rem;
    }
}

/* =========================================
   RESPONSIVE FIX
   NCPD OJS THEME
   ========================================= */

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {

    .pkp_block {
        margin-left: 0;
        padding: 1.4rem;
    }

    .pkp_navigation_primary > li > a {
        padding: 0.8rem 1rem;
    }

    .pkp_site_name .is_img img {
        max-height: 82px;
    }
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {

    /* ===== Layout ===== */

    body {
        overflow-x: hidden;
    }

    .page {
        padding-left: 0.8rem;
        padding-right: 0.8rem;
    }

    /* ===== Header ===== */

    .pkp_structure_head {

        overflow: visible;

        background:
            linear-gradient(
                180deg,
                #F7FBFD 0%,
                #EAF7FC 100%
            );
    }

    .pkp_head_wrapper {

        padding-top: 0.35rem;
        padding-bottom: 0.35rem;

        position: relative;
    }

    /* ===== Banner / Logo ===== */

    .pkp_site_name {
        text-align: center;
        width: 100%;
    }

    .pkp_site_name .is_img img {

        max-width: 100%;
        width: auto;
        height: auto;

        max-height: 62px;

        object-fit: contain;
    }

    .pkp_site_name .is_text {

        font-size: 1.15rem;
        line-height: 1.4;

        text-align: center;

        padding: 0 1rem;
    }

    /* ===== Mobile Toggle ===== */

    .pkp_site_nav_toggle {

        display: block !important;

        position: absolute;

        top: 50%;
        right: 0.8rem;

        transform: translateY(-50%);

        z-index: 9999;
    }

    /* ===== Navigation ===== */

    .pkp_navigation_primary_row {

        display: block !important;

        background: #ffffff;

        backdrop-filter: none;

        border-radius: 18px;

        margin-top: 0.7rem;

        box-shadow:
            0 10px 24px rgba(0,0,0,0.05);

        overflow: hidden;
    }

    .pkp_navigation_primary {

        width: 100%;

        margin: 0;
        padding: 0.4rem 0;
    }

    .pkp_navigation_primary li {

        width: 100%;
        display: block;
    }

    .pkp_navigation_primary > li > a {

        display: block;

        width: 100%;

        padding: 0.95rem 1.2rem;

        font-size: 0.96rem;

        border-radius: 0;

        color: #1E335C;

        background: transparent;
    }

    .pkp_navigation_primary > li.current > a {

        background: rgba(32,169,216,0.08);

        border-radius: 0;
    }

    /* ===== Sidebar ===== */

    .pkp_block {

        margin-left: 0;

        margin-right: 0;

        padding: 1.2rem;

        border-radius: 20px;
    }

    .pkp_block .title {

        font-size: 0.9rem;

        padding: 0.75rem 1rem;

        margin-bottom: 1rem;
    }

    .pkp_block .content {

        font-size: 0.94rem;

        line-height: 1.8;
    }

    /* ===== Make Submission ===== */

    .block_make_submission a,
    a.make_submission_link {

        padding: 0.95rem 1rem;

        font-size: 0.95rem;

        border-radius: 999px;
    }

    /* ===== Tables ===== */

    table {
        width: 100% !important;
    }

    /* ===== Images ===== */

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

    /* ===== Search ===== */

    .pkp_search input[type="text"] {
        width: 100%;
    }
}

/* ---------- Small Mobile ---------- */
@media (max-width: 480px) {

    .pkp_site_name .is_img img {
        max-height: 52px;
    }

    .pkp_site_name .is_text {
        font-size: 1rem;
    }

    .pkp_navigation_primary > li > a {
        padding: 0.85rem 1rem;
        font-size: 0.92rem;
    }

    .pkp_block {
        padding: 1rem;
    }

    .block_make_submission a {
        font-size: 0.92rem;
    }
}

/* ========================================= CONTENT WIDTH FIX Prevent Desktop Sidebar Breaking ========================================= */ /* ---------- Prevent horizontal scroll ---------- */ html, body { max-width: 100%; overflow-x: hidden; } /* ---------- Main layout ---------- */ .page, .pkp_structure_page, .pkp_structure_content, .pkp_structure_main { max-width: 100%; } /* ---------- ONLY article/custom HTML ---------- */ .pkp_structure_main .obj_issue_toc table, .pkp_structure_main .item table, .pkp_structure_main .page table, .pkp_structure_main .block_information table { max-width: 100% !important; table-layout: fixed; border-collapse: collapse; } /* ---------- Text wrapping ---------- */ .pkp_structure_main td, .pkp_structure_main th, .pkp_structure_main p, .pkp_structure_main div, .pkp_structure_main span, .pkp_structure_main a { overflow-wrap: break-word; word-break: break-word; } /* ---------- Images ---------- */ .pkp_structure_main img { max-width: 100%; height: auto; display: block; } /* ========================================= DESKTOP FIX ========================================= */ @media (min-width: 769px) { /* Prevent content pushing sidebar */ .pkp_structure_content { display: flex; align-items: flex-start; } .pkp_structure_main { min-width: 0; flex: 1 1 auto; } .pkp_structure_sidebar { flex: 0 0 300px; max-width: 300px; } /* Reduce oversized HTML tables */ .pkp_structure_main table table { width: 100% !important; } } /* ========================================= MOBILE FIX ========================================= */ @media (max-width: 768px) { body { overflow-x: hidden; } .page { padding-left: 0.45rem; padding-right: 0.45rem; } .pkp_structure_content { display: block; } .pkp_structure_main { width: 100%; max-width: 100%; min-width: 0; } /* ---------- Tables ---------- */ .pkp_structure_main table { max-width: 100% !important; } .pkp_structure_main td { padding-left: 10px !important; padding-right: 10px !important; } /* ---------- Sidebar ---------- */ .pkp_block { margin-left: 0; margin-right: 0; width: 100%; max-width: 100%; } /* ---------- Navigation ---------- */ .pkp_navigation_primary { display: block; } .pkp_navigation_primary li { display: block; width: 100%; } .pkp_navigation_primary > li > a { display: block; width: 100%; } }