﻿/* ============================
   BASE / CONTENT
============================ */
.pkp_structure_main p {
    text-align: justify;
}
.pkp_structure_main {
    background-color: rgb(254, 253, 253);
}
.pkp_structure_main .page h1 {
    margin-top: 15px;
}
.pkp_structure_main h1,
.pkp_structure_main h2,
.pkp_structure_main h3,
.pkp_structure_main h4 {
    margin: 0.857rem 0 1.43rem;
}
.cmp_breadcrumbs {
    display: none;
}
/* ============================
   SITE TITLE / LOGO
============================ */
.pkp_site_name_wrapper {
    background: #ffffff;
}
.pkp_site_name {
    display: flex;
    align-items: center;
    line-height: 4.50rem;
}
.pkp_site_name img {
    margin-left: 17px;
}
.pkp_site_name::after {
    content: "JOURNAL OF EMERGING INTELLIGENCE";
    font-size: 35px;
    font-weight: 600;
    background: linear-gradient(to right, #0b4f63, #eabb01);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-left: 25px;
}
/* ============================
   SIDEBAR BLOCKS
============================ */
#customblock-issn,
#customblock-cover-page,
#customblock-publisher-information,
.block_information,
#customblock-downloads {
    background-color: rgb(254, 253, 253);
    padding: 10px;
    margin: 8px;
    border-radius: 7px;
    margin-bottom: 3px;
    border: 1px solid #e5e1d6;
}
#customblock-issn:hover,
#customblock-cover-page:hover,
#customblock-publisher-information:hover,
.block_information:hover,
#customblock-downloads:hover {
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.10);
}
#customblock-issn {
    margin-top: 10px;
}
#customblock-issn p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
}
#customblock-issn .title {
    background-color: #eabb01;
    padding: 6px 10px;
    border-radius: 5px;
}
#customblock-publisher-information,
#customblock-downloads {
    font-size: 12px;
}
/* ============================
   HOMEPAGE IMAGE
============================ */
.pkp_page_index .homepage_image img {
    display: inline-block;
    width: 95%;
    height: auto;
    margin: 20px;
}
/* ============================
   MAIN MENU
============================ */
.pkp_navigation_primary_row {
    background-color: #0b4f63 !important;
}
.pkp_navigation_primary_wrapper {
    justify-content: center;
}
.pkp_navigation_primary > li > a {
    color: #ffffff !important;
    padding: 8px 8px;
    transition: all 0.3s ease;
}
.pkp_navigation_primary > li > a:hover {
    color: #0b4f63 !important;
    background-color: #e1b503f8 !important;
}
/* ============================
   SUB MENU
============================ */
.pkp_navigation_primary > li > .dropdown-menu {
    background-color: #ffffff !important;
    border-radius: 6px;
    margin-top: 5px !important;
}
.pkp_navigation_primary .dropdown-menu li a {
    color: #0b4f63 !important;
    padding: 8px 15px;
    display: block;
    transition: all 0.3s ease;
}
.pkp_navigation_primary .dropdown-menu li a:hover {
    color: #0b4f63 !important;
    background-color: #f5f5f5;
}
/* ============================
   USER NAV / SEARCH
============================ */
.pkp_navigation_user > li > a {
    color: #0b4f63 !important;
}
.pkp_navigation_search_wrapper a,
.pkp_navigation_search_wrapper button,
.pkp_navigation_search_wrapper input {
    color: #ffffff !important;
}
/* ============================
   FOOTER
============================ */
.pkp_structure_footer_wrapper {
    border-bottom: none;
    height: 100px;
    text-align: center !important;
    font-size: x-small !important;
    color: #e8ecee;
    background-color: #0b4f63;
}
.pkp_structure_footer_wrapper * {
    text-align: center !important;
}
.pkp_brand_footer {
    display: none;
}
.pkp_footer_content {
    padding: 1rem;
}

/* ============================================================
   RESPONSIVE STYLES
============================================================ */

/* ---- Tablets (<=1024px) ---- */
@media (max-width: 1024px) {
    .pkp_site_name::after {
        font-size: 26px;
        margin-left: 15px;
    }
    .pkp_site_name {
        line-height: 3.5rem;
        flex-wrap: wrap;
    }
    .pkp_navigation_primary > li > a {
        padding: 8px 6px;
        font-size: 14px;
    }
    #customblock-issn,
    #customblock-cover-page,
    #customblock-publisher-information,
    .block_information,
    #customblock-downloads {
        margin: 6px 4px;
        padding: 8px;
    }
    .pkp_page_index .homepage_image img {
        width: 100%;
        margin: 10px 0;
    }
}

/* ---- Small tablets / large phones (<=768px) ---- */
@media (max-width: 768px) {
    .pkp_site_name::after {
        font-size: 19px;
        margin-left: 10px;
        white-space: normal;
    }
    .pkp_site_name {
        line-height: 2.5rem;
        padding: 8px 0;
    }
    .pkp_site_name img {
        margin-left: 0;
        margin-right: 8px;
        max-height: 40px;
        width: auto;
    }
    .pkp_navigation_primary_wrapper {
        justify-content: flex-start;
    }
    .pkp_navigation_primary {
        flex-direction: column;
        width: 100%;
    }
    .pkp_navigation_primary > li {
        width: 100%;
    }
    .pkp_navigation_primary > li > a {
        width: 100%;
        display: block;
        text-align: center;
        padding: 10px 15px;
    }
    .pkp_navigation_primary > li > .dropdown-menu {
        position: static !important;
        width: 100% !important;
        margin-top: 0 !important;
        border-radius: 0;
    }
    .pkp_navigation_primary .dropdown-menu li a {
        padding: 10px 20px;
    }
    .pkp_navigation_search_wrapper {
        width: 100%;
    }
    .pkp_structure_main p {
        text-align: justify;
    }
    .pkp_structure_footer_wrapper {
        height: auto;
        min-height: 80px;
        padding: 10px 0;
    }
    .pkp_footer_content {
        padding: 0.75rem;
        font-size: 12px;
    }
}

/* ---- Phones (<=576px) ---- */
@media (max-width: 576px) {
    /* Fully remove the title pseudo-element (no ghost box / gradient left behind) */
    .pkp_site_name::after {
        content: none !important;
        display: none !important;
        background: none !important;
        margin: 0 !important;
    }
.pkp_structure_main {
    background-color: rgb(254, 253, 253);
    text-align: justify;
}
.pkp_structure_main p {
    text-align: justify !important;
}
    /* Center the logo */
    .pkp_site_name_wrapper {
        width: 100%;
    }
    .pkp_site_name {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100%;
        line-height: 2rem;
        padding: 6px 0;
    }
    .pkp_site_name img {
        margin: 0 auto !important;
        max-height: 32px;
        display: block;
    }

    .pkp_site_nav_toggle > span:before,
    .pkp_site_nav_toggle > span:after {
        background: #000000;
    }
    .pkp_site_nav_toggle > span {
        border-bottom: 3px solid #000000;
    }

    #customblock-issn p,
    #customblock-publisher-information,
    #customblock-downloads {
        font-size: 12px;
    }
    #customblock-issn,
    #customblock-cover-page,
    #customblock-publisher-information,
    .block_information,
    #customblock-downloads {
        margin: 4px 0;
        border-radius: 5px;
    }
    .pkp_page_index .homepage_image img {
        width: 100%;
        margin: 8px 0;
    }
    .pkp_structure_main h1,
    .pkp_structure_main h2,
    .pkp_structure_main h3,
    .pkp_structure_main h4 {
        margin: 0.6rem 0 1rem;
        font-size: 1.2rem;
    }
    .pkp_structure_footer_wrapper {
        font-size: 11px;
        padding: 8px 0;
    }
}
/* ---- Phones (<=576px) ---- */
@media (max-width: 576px) {
  
    .pkp_site_name::after {
        content: none !important;
        display: none !important;
    }

    /* Hide the REAL site title text (actual DOM text next to the logo) */
    .pkp_site_name {
        font-size: 0 !important;      /* collapses the visible text */
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100%;
        line-height: 2rem;
        padding: 6px 0;
    }

    /* Logo stays visible and centered */
    .pkp_site_name img {
        margin: 0 auto !important;
        max-height: 32px;
        display: block;
    }

    .pkp_site_nav_toggle > span:before,
    .pkp_site_nav_toggle > span:after {
        background: #000000;
    }
    .pkp_site_nav_toggle > span {
        border-bottom: 3px solid #000000;
    }
}
@media (max-width: 768px) {
    .pkp_structure_main p {
        text-align: justify!important;
    }
}