/*
====================================================================
 DQHS PROFESSIONAL JOURNAL THEME
 Dialogues in Qur’anic and Hadith Studies
 OJS 3.3.x

 Designed for:
 - Professional academic journal appearance
 - Strong institutional identity
 - Responsive desktop/tablet/mobile layout
 - Safe integration with OJS Default Theme

 Scope intentionally limited to:
 - Header
 - Journal identity / logo
 - Primary navigation
 - Search
 - User navigation
 - Footer

 It does NOT redesign:
 - Article content
 - Current issue layout
 - Sidebar widgets
 - Journal tables
 - Article lists
====================================================================
*/


/* ==================================================================
   DESIGN TOKENS
   ================================================================== */

:root {
    --dqhs-forest-950: #082728;
    --dqhs-forest-900: #0b3031;
    --dqhs-forest-800: #0f3d3e;
    --dqhs-forest-700: #15504d;
    --dqhs-forest-600: #1f6f5b;

    --dqhs-gold-700: #9a763c;
    --dqhs-gold-600: #b08d57;
    --dqhs-gold-500: #d6b56d;
    --dqhs-gold-300: #ead6a7;
    --dqhs-gold-100: #faf4e8;

    --dqhs-ink-900: #172423;
    --dqhs-ink-700: #384846;
    --dqhs-ink-500: #6b7977;

    --dqhs-surface: #ffffff;
    --dqhs-surface-soft: #f7f9f8;
    --dqhs-surface-muted: #eef3f1;

    --dqhs-border: #dfe7e4;
    --dqhs-border-dark: rgba(255, 255, 255, 0.12);

    --dqhs-shadow-soft: 0 8px 28px rgba(9, 39, 40, 0.08);
    --dqhs-shadow-nav: 0 8px 24px rgba(9, 39, 40, 0.12);
    --dqhs-shadow-dropdown: 0 14px 36px rgba(9, 39, 40, 0.16);

    --dqhs-radius-sm: 6px;
    --dqhs-radius-md: 10px;
    --dqhs-radius-lg: 16px;

    --dqhs-serif: Georgia, "Times New Roman", Times, serif;
    --dqhs-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;

    --dqhs-container: 1180px;
}


/* ==================================================================
   HEADER FOUNDATION
   ================================================================== */

.pkp_structure_head {
    position: relative;
    z-index: 100;
    margin: 0;
    padding: 0;

    background: var(--dqhs-surface);

    border: 0;
    border-bottom: 1px solid var(--dqhs-border);

    box-shadow: var(--dqhs-shadow-soft);
}


/* Remove excessive theme spacing in header only */

.pkp_structure_head .pkp_head_wrapper {
    width: 100%;
    max-width: none;

    margin: 0;
    padding: 0;

    background: var(--dqhs-surface);
}


/* ==================================================================
   OPTIONAL INSTITUTIONAL TOP BAR
   Requires .dqhs-header-top HTML if used
   ================================================================== */

.dqhs-header-top {
    width: 100%;

    background:
        linear-gradient(
            90deg,
            var(--dqhs-forest-950) 0%,
            var(--dqhs-forest-900) 55%,
            var(--dqhs-forest-800) 100%
        );

    color: #f5f8f7;

    border-bottom: 1px solid rgba(214, 181, 109, 0.42);

    font-family: var(--dqhs-sans);
}

.dqhs-header-top-inner {
    width: 100%;
    max-width: var(--dqhs-container);

    margin: 0 auto;
    padding: 8px 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    box-sizing: border-box;

    font-size: 12px;
    line-height: 1.5;
    letter-spacing: 0.12px;
}

.dqhs-header-top-left {
    font-weight: 600;
    color: #ffffff;
}

.dqhs-header-top-right {
    color: #dbe6e2;
    text-align: right;
}

.dqhs-header-top a {
    color: var(--dqhs-gold-300);
    text-decoration: none;
    font-weight: 600;
}

.dqhs-header-top a:hover,
.dqhs-header-top a:focus {
    color: #ffffff;
    text-decoration: underline;
}


/* ==================================================================
   JOURNAL IDENTITY / LOGO AREA
   ================================================================== */

.pkp_structure_head .pkp_site_name_wrapper {
    width: 100%;
    max-width: var(--dqhs-container);

    margin: 0 auto;
    padding: 22px 24px 20px;

    box-sizing: border-box;
}

.pkp_structure_head .pkp_site_name {
    margin: 0;
    padding: 0;

    text-align: center;
}

.pkp_structure_head .pkp_site_name a {
    display: block;
    margin: 0 auto;
}

.pkp_structure_head .pkp_site_name a.is_img {
    line-height: 0;
}

.pkp_structure_head .pkp_site_name img {
    display: block;

    width: 100%;
    max-width: 1080px;

    height: auto;
    max-height: 240px;

    margin: 0 auto;

    object-fit: contain;

    filter: none;
}


/* If journal uses text title instead of image */

.pkp_structure_head .pkp_site_name .is_text {
    display: inline-block;

    margin: 0;

    color: var(--dqhs-forest-900);

    font-family: var(--dqhs-serif);
    font-size: 34px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.35px;

    text-decoration: none;
}


/* ==================================================================
   NAVIGATION SHELL
   ================================================================== */

.pkp_structure_head .pkp_site_nav_menu {
    position: relative;

    background:
        linear-gradient(
            90deg,
            var(--dqhs-forest-950) 0%,
            var(--dqhs-forest-900) 44%,
            var(--dqhs-forest-800) 75%,
            var(--dqhs-forest-700) 100%
        );

    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 3px solid var(--dqhs-gold-500);

    box-shadow: var(--dqhs-shadow-nav);

    font-family: var(--dqhs-sans);
}

.pkp_structure_head .pkp_navigation_primary_row {
    margin: 0;
    padding: 0;

    background: transparent;
}

.pkp_structure_head .pkp_navigation_primary_wrapper {
    width: 100%;
    max-width: var(--dqhs-container);

    margin: 0 auto;
    padding: 0 24px;

    box-sizing: border-box;

    display: flex;
    align-items: stretch;
}


/* ==================================================================
   PRIMARY MENU
   ================================================================== */

.pkp_structure_head .pkp_navigation_primary {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;

    margin: 0;
}

.pkp_structure_head .pkp_navigation_primary > li {
    position: relative;
}

.pkp_structure_head .pkp_navigation_primary > li > a {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 52px;

    padding: 0 17px;

    color: #f8fbfa;

    font-family: var(--dqhs-sans);
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.22px;

    text-decoration: none;

    border: 0;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}


/* elegant active/hover indicator */

.pkp_structure_head .pkp_navigation_primary > li > a::after {
    content: "";

    position: absolute;
    left: 17px;
    right: 17px;
    bottom: 7px;

    height: 2px;

    background: var(--dqhs-gold-500);

    transform: scaleX(0);
    transform-origin: center;

    transition: transform 0.2s ease;
}

.pkp_structure_head .pkp_navigation_primary > li > a:hover,
.pkp_structure_head .pkp_navigation_primary > li > a:focus {
    color: var(--dqhs-gold-300);
    background: rgba(255, 255, 255, 0.04);
}

.pkp_structure_head .pkp_navigation_primary > li > a:hover::after,
.pkp_structure_head .pkp_navigation_primary > li > a:focus::after {
    transform: scaleX(1);
}


/* ==================================================================
   DROPDOWN MENU
   ================================================================== */

.pkp_structure_head .pkp_navigation_primary ul {
    min-width: 230px;

    margin-top: 0;
    padding: 6px 0;

    background: var(--dqhs-surface);

    border: 1px solid var(--dqhs-border);
    border-top: 3px solid var(--dqhs-gold-500);

    border-radius: 0 0 var(--dqhs-radius-md) var(--dqhs-radius-md);

    box-shadow: var(--dqhs-shadow-dropdown);

    overflow: hidden;
}

.pkp_structure_head .pkp_navigation_primary ul li {
    margin: 0;
    padding: 0;
}

.pkp_structure_head .pkp_navigation_primary ul li a {
    display: block;

    padding: 11px 16px;

    background: var(--dqhs-surface);
    color: var(--dqhs-forest-900);

    font-family: var(--dqhs-sans);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;

    border-bottom: 1px solid #edf2f0;

    transition:
        background-color 0.18s ease,
        color 0.18s ease,
        padding-left 0.18s ease;
}

.pkp_structure_head .pkp_navigation_primary ul li:last-child a {
    border-bottom: 0;
}

.pkp_structure_head .pkp_navigation_primary ul li a:hover,
.pkp_structure_head .pkp_navigation_primary ul li a:focus {
    padding-left: 19px;

    background: var(--dqhs-gold-100);
    color: var(--dqhs-forest-950);
}


/* ==================================================================
   SEARCH
   ================================================================== */

.pkp_structure_head .pkp_navigation_search_wrapper {
    margin-left: auto;

    display: flex;
    align-items: center;
}

.pkp_structure_head .pkp_search {
    display: inline-flex;
    align-items: center;

    min-height: 36px;

    padding: 0 13px;

    color: #ffffff;

    font-family: var(--dqhs-sans);
    font-size: 12.5px;
    font-weight: 600;

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;

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

    text-decoration: none;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.pkp_structure_head .pkp_search .fa {
    margin-right: 7px;

    color: var(--dqhs-gold-500);

    font-size: 13px;
}

.pkp_structure_head .pkp_search:hover,
.pkp_structure_head .pkp_search:focus {
    color: #ffffff;

    background: rgba(214, 181, 109, 0.14);

    border-color: rgba(214, 181, 109, 0.55);
}


/* ==================================================================
   USER NAVIGATION
   ================================================================== */

.pkp_structure_head .pkp_navigation_user_wrapper {
    background:
        linear-gradient(
            180deg,
            #fafcfb 0%,
            #f4f7f6 100%
        );

    border-bottom: 1px solid var(--dqhs-border);
}

.pkp_structure_head .pkp_navigation_user {
    width: 100%;
    max-width: var(--dqhs-container);

    margin: 0 auto;
    padding: 0 24px;

    box-sizing: border-box;

    display: flex;
    justify-content: flex-end;
}

.pkp_structure_head .pkp_navigation_user > li > a {
    display: flex;
    align-items: center;

    min-height: 37px;

    padding: 0 12px;

    color: var(--dqhs-forest-800);

    font-family: var(--dqhs-sans);
    font-size: 12px;
    font-weight: 600;

    text-decoration: none;

    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}

.pkp_structure_head .pkp_navigation_user > li > a:hover,
.pkp_structure_head .pkp_navigation_user > li > a:focus {
    color: var(--dqhs-forest-950);
    background: rgba(15, 61, 62, 0.05);
}


/* User dropdown */

.pkp_structure_head .pkp_navigation_user ul {
    min-width: 210px;

    padding: 6px 0;

    background: var(--dqhs-surface);

    border: 1px solid var(--dqhs-border);
    border-top: 3px solid var(--dqhs-gold-500);

    border-radius: 0 0 var(--dqhs-radius-md) var(--dqhs-radius-md);

    box-shadow: var(--dqhs-shadow-dropdown);

    overflow: hidden;
}

.pkp_structure_head .pkp_navigation_user ul li a {
    display: block;

    padding: 10px 15px;

    background: var(--dqhs-surface);
    color: var(--dqhs-forest-900);

    font-family: var(--dqhs-sans);
    font-size: 12.5px;
    font-weight: 500;

    border-bottom: 1px solid #edf2f0;
}

.pkp_structure_head .pkp_navigation_user ul li:last-child a {
    border-bottom: 0;
}

.pkp_structure_head .pkp_navigation_user ul li a:hover,
.pkp_structure_head .pkp_navigation_user ul li a:focus {
    background: var(--dqhs-gold-100);
    color: var(--dqhs-forest-950);
}


/* task counter */

.pkp_structure_head .task_count {
    min-width: 21px;
    height: 21px;

    margin-left: 7px;
    padding: 0 6px;

    line-height: 21px;
    text-align: center;

    background: var(--dqhs-gold-500);
    color: var(--dqhs-forest-950);

    border-radius: 999px;

    font-family: var(--dqhs-sans);
    font-size: 10.5px;
    font-weight: 800;
}


/* ==================================================================
   MOBILE MENU BUTTON
   ================================================================== */

.pkp_structure_head .pkp_site_nav_toggle {
    min-height: 38px;

    padding-left: 13px;
    padding-right: 13px;

    background: var(--dqhs-forest-800);

    border: 1px solid var(--dqhs-forest-700);
    border-radius: var(--dqhs-radius-sm);

    box-shadow: none;
}

.pkp_structure_head .pkp_site_nav_toggle:hover,
.pkp_structure_head .pkp_site_nav_toggle:focus {
    background: var(--dqhs-forest-900);
}

.pkp_structure_head .pkp_site_nav_toggle span {
    color: #ffffff;

    font-family: var(--dqhs-sans);
    font-size: 12px;
    font-weight: 700;
}


/* ==================================================================
   FOOTER FOUNDATION
   ================================================================== */

.pkp_structure_footer_wrapper {
    position: relative;

    margin-top: 56px;
    padding: 0;

    background: var(--dqhs-forest-950);

    border-top: 4px solid var(--dqhs-gold-500);

    font-family: var(--dqhs-sans);
}

.pkp_structure_footer_wrapper::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;
    right: 0;

    height: 1px;

    background: rgba(255, 255, 255, 0.08);
}

.pkp_structure_footer {
    width: 100%;
    max-width: none;

    margin: 0;
    padding: 0;

    background: transparent;
}

.pkp_footer_content {
    margin: 0;
    padding: 0 !important;
}


/* ==================================================================
   CUSTOM PROFESSIONAL FOOTER
   Requires .dqhs-footer-* classes if custom footer HTML is used
   ================================================================== */

.dqhs-footer {
    position: relative;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 86% 15%,
            rgba(214, 181, 109, 0.11),
            transparent 28%
        ),
        radial-gradient(
            circle at 12% 100%,
            rgba(31, 111, 91, 0.22),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            var(--dqhs-forest-950) 0%,
            var(--dqhs-forest-900) 55%,
            var(--dqhs-forest-800) 100%
        );

    color: #dfe9e6;
}

.dqhs-footer-inner {
    width: 100%;
    max-width: var(--dqhs-container);

    margin: 0 auto;
    padding: 48px 24px 38px;

    display: grid;
    grid-template-columns:
        minmax(0, 1.45fr)
        minmax(190px, 0.82fr)
        minmax(240px, 1fr);

    gap: 46px;

    box-sizing: border-box;
}

.dqhs-footer-column {
    min-width: 0;
}


/* Journal name */

.dqhs-footer-journal-title {
    margin: 0 0 11px;

    color: #ffffff;

    font-family: var(--dqhs-serif);
    font-size: 23px;
    font-weight: 700;
    line-height: 1.28;
    letter-spacing: -0.2px;
}

.dqhs-footer-accent {
    display: block;

    width: 52px;
    height: 3px;

    margin: 0 0 20px;

    background:
        linear-gradient(
            90deg,
            var(--dqhs-gold-500),
            var(--dqhs-gold-600)
        );

    border-radius: 999px;
}

.dqhs-footer-description {
    margin: 0 0 14px;

    color: #d4e0dc;

    font-family: var(--dqhs-sans);
    font-size: 13px;
    line-height: 1.8;

    text-align: left;
}


/* Section title */

.dqhs-footer-heading {
    position: relative;

    margin: 0 0 18px;
    padding-bottom: 11px;

    color: #ffffff;

    font-family: var(--dqhs-sans);
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.4px;
    text-transform: uppercase;

    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.dqhs-footer-heading::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -1px;

    width: 38px;
    height: 2px;

    background: var(--dqhs-gold-500);
}


/* Footer links */

.dqhs-footer-links {
    margin: 0;
    padding: 0;

    list-style: none;
}

.dqhs-footer-links li {
    margin: 0;
    padding: 0;

    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.dqhs-footer-links li:last-child {
    border-bottom: 0;
}

.dqhs-footer-links a {
    position: relative;

    display: block;

    padding: 8px 0 8px 16px;

    color: #d9e4e0;

    font-family: var(--dqhs-sans);
    font-size: 12.8px;
    line-height: 1.45;

    text-decoration: none;

    transition:
        color 0.2s ease,
        padding-left 0.2s ease;
}

.dqhs-footer-links a::before {
    content: "›";

    position: absolute;
    left: 0;
    top: 7px;

    color: var(--dqhs-gold-500);

    font-size: 16px;
    font-weight: 700;
}

.dqhs-footer-links a:hover,
.dqhs-footer-links a:focus {
    padding-left: 19px;

    color: var(--dqhs-gold-300);
}


/* Contact */

.dqhs-footer-contact {
    color: #d8e3df;

    font-family: var(--dqhs-sans);
    font-size: 12.8px;
    line-height: 1.72;
}

.dqhs-footer-contact-item {
    display: flex;
    align-items: flex-start;

    gap: 10px;

    margin-bottom: 12px;
}

.dqhs-footer-contact-item .fa {
    flex: 0 0 18px;

    width: 18px;

    margin-top: 3px;

    color: var(--dqhs-gold-500);

    text-align: center;
}

.dqhs-footer-contact a {
    color: #ffffff;

    text-decoration: none;
}

.dqhs-footer-contact a:hover,
.dqhs-footer-contact a:focus {
    color: var(--dqhs-gold-300);
    text-decoration: underline;
}


/* License */

.dqhs-license {
    margin-top: 21px;
    padding-top: 18px;

    border-top: 1px solid rgba(214, 181, 109, 0.28);
}

.dqhs-license img {
    display: block;

    width: 88px;
    height: 31px;

    margin: 0 0 10px;
}

.dqhs-license-text {
    max-width: 520px;

    margin: 0;

    color: #bdceca;

    font-family: var(--dqhs-sans);
    font-size: 11px;
    line-height: 1.65;
}

.dqhs-license-text a {
    color: var(--dqhs-gold-300);

    text-decoration: none;
}

.dqhs-license-text a:hover,
.dqhs-license-text a:focus {
    color: #ffffff;
    text-decoration: underline;
}


/* ==================================================================
   FOOTER BOTTOM
   ================================================================== */

.dqhs-footer-bottom {
    background: rgba(0, 0, 0, 0.18);

    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.dqhs-footer-bottom-inner {
    width: 100%;
    max-width: var(--dqhs-container);

    margin: 0 auto;
    padding: 14px 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    box-sizing: border-box;

    color: #b9cac6;

    font-family: var(--dqhs-sans);
    font-size: 11px;
    line-height: 1.5;
}

.dqhs-footer-bottom strong {
    color: #dce7e3;
    font-weight: 600;
}

.dqhs-footer-bottom a {
    color: var(--dqhs-gold-300);

    text-decoration: none;
}

.dqhs-footer-bottom a:hover,
.dqhs-footer-bottom a:focus {
    color: #ffffff;
    text-decoration: underline;
}


/* ==================================================================
   FALLBACK: EXISTING INLINE OJS FOOTER
   This makes the current footer look professional even if custom
   .dqhs-footer markup has not yet been added.
   ================================================================== */

.pkp_structure_footer_wrapper .pkp_footer_content > div[style*="background-color: #0f3d3e"],
.pkp_structure_footer_wrapper .pkp_footer_content > div[style*="background-color:#0f3d3e"] {
    max-width: none !important;

    margin: 0 !important;
    padding: 38px 26px !important;

    background:
        radial-gradient(
            circle at 88% 12%,
            rgba(214, 181, 109, 0.10),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            var(--dqhs-forest-950) 0%,
            var(--dqhs-forest-900) 58%,
            var(--dqhs-forest-800) 100%
        ) !important;

    color: #ffffff !important;

    border-top: 0 !important;

    box-sizing: border-box;
}

.pkp_structure_footer_wrapper .pkp_footer_content > div[style*="background-color: #0f3d3e"] a,
.pkp_structure_footer_wrapper .pkp_footer_content > div[style*="background-color:#0f3d3e"] a {
    color: var(--dqhs-gold-300) !important;
}

.pkp_structure_footer_wrapper .pkp_footer_content > div[style*="background-color: #0f3d3e"] a:hover,
.pkp_structure_footer_wrapper .pkp_footer_content > div[style*="background-color:#0f3d3e"] a:hover {
    color: #ffffff !important;
}


/* ==================================================================
   PKP / OJS BRAND FOOTER
   ================================================================== */

.pkp_brand_footer {
    margin: 0;
    padding: 13px 24px;

    background: #061f20;

    border-top: 1px solid rgba(255, 255, 255, 0.08);

    text-align: center;
}

.pkp_brand_footer a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pkp_brand_footer img {
    display: block;

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

    opacity: 0.82;

    filter: grayscale(8%);

    transition:
        opacity 0.2s ease,
        filter 0.2s ease;
}

.pkp_brand_footer a:hover img,
.pkp_brand_footer a:focus img {
    opacity: 1;
    filter: none;
}


/* ==================================================================
   ACCESSIBILITY
   ================================================================== */

.pkp_structure_head a:focus-visible,
.pkp_structure_footer_wrapper a:focus-visible,
.pkp_structure_head button:focus-visible {
    outline: 2px solid var(--dqhs-gold-500);
    outline-offset: 3px;
}


/* ==================================================================
   REDUCED MOTION
   ================================================================== */

@media (prefers-reduced-motion: reduce) {

    .pkp_structure_head *,
    .pkp_structure_footer_wrapper * {
        transition: none !important;
        animation: none !important;
        scroll-behavior: auto !important;
    }

}


/* ==================================================================
   TABLET
   ================================================================== */

@media (max-width: 900px) {

    .dqhs-header-top-inner {
        flex-direction: column;
        justify-content: center;
        gap: 2px;

        padding: 8px 18px;

        text-align: center;
    }

    .dqhs-header-top-right {
        text-align: center;
    }

    .pkp_structure_head .pkp_site_name_wrapper {
        padding: 18px 18px 16px;
    }

    .pkp_structure_head .pkp_navigation_primary_wrapper {
        padding-left: 18px;
        padding-right: 18px;
    }

    .pkp_structure_head .pkp_navigation_primary > li > a {
        padding-left: 13px;
        padding-right: 13px;
    }

    .pkp_structure_head .pkp_navigation_primary > li > a::after {
        left: 13px;
        right: 13px;
    }

    .dqhs-footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 34px 38px;
    }

    .dqhs-footer-column:first-child {
        grid-column: 1 / -1;
    }

}


/* ==================================================================
   MOBILE
   ================================================================== */

@media (max-width: 600px) {

    .dqhs-header-top {
        display: none;
    }

    .pkp_structure_head {
        box-shadow: 0 4px 14px rgba(9, 39, 40, 0.07);
    }

    .pkp_structure_head .pkp_site_name_wrapper {
        padding: 13px 14px;
    }

    .pkp_structure_head .pkp_site_name img {
        max-height: 150px;
    }

    .pkp_structure_head .pkp_site_name .is_text {
        font-size: 25px;
        line-height: 1.2;
    }

    .pkp_structure_head .pkp_site_nav_menu {
        border-bottom-width: 3px;
    }

    .pkp_structure_head .pkp_navigation_primary_wrapper {
        display: block;

        padding-left: 0;
        padding-right: 0;
    }

    .pkp_structure_head .pkp_navigation_primary {
        display: block;
    }

    .pkp_structure_head .pkp_navigation_primary > li > a {
        min-height: 44px;

        padding: 0 18px;

        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .pkp_structure_head .pkp_navigation_primary > li > a::after {
        display: none;
    }

    .pkp_structure_head .pkp_navigation_search_wrapper {
        margin: 10px 16px 13px;
    }

    .pkp_structure_head .pkp_search {
        width: 100%;

        justify-content: center;

        box-sizing: border-box;
    }

    .pkp_structure_head .pkp_navigation_user {
        padding-left: 14px;
        padding-right: 14px;
    }

    .dqhs-footer-inner {
        grid-template-columns: 1fr;

        gap: 30px;

        padding: 38px 20px 30px;
    }

    .dqhs-footer-column:first-child {
        grid-column: auto;
    }

    .dqhs-footer-journal-title {
        font-size: 21px;
    }

    .dqhs-footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;

        gap: 5px;

        padding: 13px 20px;
    }

    .pkp_brand_footer {
        padding-left: 18px;
        padding-right: 18px;
    }

}


/* ==================================================================
   VERY SMALL MOBILE
   ================================================================== */

@media (max-width: 420px) {

    .pkp_structure_head .pkp_site_name_wrapper {
        padding-left: 10px;
        padding-right: 10px;
    }

    .dqhs-footer-inner {
        padding-left: 16px;
        padding-right: 16px;
    }

    .dqhs-footer-journal-title {
        font-size: 19px;
    }

    .dqhs-footer-description,
    .dqhs-footer-links a,
    .dqhs-footer-contact {
        font-size: 12.5px;
    }

}


/* ==================================================================
   PRINT
   ================================================================== */

@media print {

    .dqhs-header-top,
    .pkp_structure_head .pkp_site_nav_menu,
    .pkp_structure_head .pkp_navigation_user_wrapper,
    .pkp_structure_footer_wrapper {
        display: none !important;
    }

}
