/* =========================
   OJS HEADER – AI THEME
========================= */

.pkp_structure_head {
    /* background: linear-gradient(135deg, #e5e6e8, #ced0d2); */
    background: linear-gradient(135deg, #94979d, #1d1b1b);
    border-bottom: 3px solid #1FA971;
}

.pkp_site_name {
    padding: 20px 0;
    text-align: center;
}

.pkp_site_name a {
    color: #EAEAEA !important;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.pkp_site_name a:hover {
    color: #1FA971 !important;
}

/* Logo */
.pkp_site_name img {
    max-height: 80px;
    width: auto;
}

/* Navigation bar */
.pkp_navigation_primary_wrapper {
    background: #0B0D0F;
}

.pkp_navigation_primary>li>a {
    color: #EAEAEA !important;
    font-weight: 500;
    padding: 14px 18px;
    transition: all 0.3s ease;
}

.pkp_navigation_primary>li>a:hover {
    background: #1FA971;
    color: #000 !important;
}

/* Mobile Menu */
@media (max-width: 991px) {
    .pkp_navigation_primary {
        background: #0B0D0F;
    }
}

/* Search icon */
.pkp_navigation_search_wrapper a {
    color: #F5B301 !important;
}

/* =========================
   FOOTER – AI THEME
========================= */

.ai-footer {
    background: linear-gradient(135deg, #0B0D0F, #14171A);
    color: #EAEAEA;
    margin-top: 50px;
    font-size: 14px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    /* padding: 50px 8%; */
}

.footer-col h4 {
    color: #1FA971;
    margin-bottom: 15px;
    font-size: 16px;
    text-transform: uppercase;
}

.footer-col p {
    line-height: 1.6;
    color: #9CA3AF;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: #EAEAEA;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: #F5B301;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding: 15px;
    background: #000;
    font-size: 13px;
    color: #9CA3AF;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-container {
        padding: 40px 5%;
    }
}

/* Header layout */
.pkp_structure_head {
    display: flex;
    flex-direction: column;
}

/* Logo left */
.pkp_site_name {
    text-align: left !important;
    padding: 20px 40px;
}

/* Navigation centered */
.pkp_navigation_primary_wrapper {
    text-align: center;
}

@media (max-width: 768px) {
    .pkp_site_name {
        text-align: center !important;
        padding-left: 0;
    }
}

/* ===============================
   LOGO + TITLE (HEADER)
=============================== */

.site-branding {
    padding: 20px 40px;
}

.branding-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
}

/* Logo */
.site-logo {
    max-height: 70px;
    width: auto;
}

/* Journal Title */
.journal-title {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #111;
    line-height: 1.2;
}

/* Mobile */
@media (max-width: 768px) {
    .branding-wrap {
        flex-direction: column;
        text-align: center;
    }

    .journal-title {
        font-size: 18px;
    }
}

.pkp_brand_footer {
    img {
        display: none;
    }
}
.pkp_brand_footer{
    padding: 0;
}

.pkp_structure_footer_wrapper {
    background: linear-gradient(135deg, #0B0D0F, #14171A);
}

.additional_content {
    img {
        width: 300px;
        height: 400px;
    }
}

/* ===============================
   SIDEBAR – AI JOURNAL THEME
=============================== */

/* Sidebar container */
.pkp_structure_sidebar {
    background: linear-gradient(180deg, #F4F6F7, #FFFFFF);
    border-left: 3px solid #1FA971;
    padding: 20px;
}

/* Sidebar blocks */
.pkp_block {
    background: #FFFFFF;
    border-radius: 6px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

/* Sidebar titles */
.pkp_block .title {
    background: linear-gradient(135deg, #0B0D0F, #1A1A1A);
    color: #1FA971;
    padding: 12px 15px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-left: 4px solid #F5B301;
}

/* Sidebar content */
.pkp_block .content {
    padding: 15px;
    font-size: 14px;
    color: #333;
}

/* Links */
.pkp_block a {
    color: #1FA971;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pkp_block a:hover {
    color: #F5B301;
    text-decoration: underline;
}

/* Lists */
.pkp_block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pkp_block ul li {
    padding: 6px 0;
    border-bottom: 1px solid #E5E7EB;
}

.pkp_block ul li:last-child {
    border-bottom: none;
}

/* RSS / Atom badges */
.pkp_block img {
    margin-right: 6px;
    vertical-align: middle;
}

/* Information links */
.pkp_block_information ul li a {
    display: block;
    padding-left: 14px;
    position: relative;
}

.pkp_block_information ul li a::before {
    content: "›";
    position: absolute;
    left: 0;
    color: #F5B301;
    font-weight: bold;
}

/* Latest publications block */
.pkp_block_web_feed .content a {
    display: inline-block;
    margin-bottom: 6px;
}

/* Mobile adjustments */
@media (max-width: 991px) {
    .pkp_structure_sidebar {
        border-left: none;
        border-top: 3px solid #1FA971;
    }
}
/* ===============================
   MAIN MENU – HOVER & ACTIVE
=============================== */

.pkp_navigation_primary > li > a {
    position: relative;
    color: #EAEAEA !important;
    transition: all 0.3s ease;
}

/* Hover background */
.pkp_navigation_primary > li > a:hover,
.pkp_navigation_primary > li.isCurrent > a {
    background: #1FA971;
    color: #000 !important;
}

/* Bottom glow line */
.pkp_navigation_primary > li > a::after {
    content: "";
    position: absolute;
    left: 15%;
    bottom: 6px;
    width: 0;
    height: 2px;
    background: #F5B301;
    transition: width 0.3s ease;
}

/* .pkp_navigation_primary > li > a:hover::after,
.pkp_navigation_primary > li.isCurrent > a::after {
    width: 70%;
} */

/* ===============================
   DROPDOWN PANEL
=============================== */

.pkp_navigation_primary ul {
    background: #0B0D0F;
    border-radius: 6px;
    padding: 8px 0;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    /* animation: dropdownFade 0.25s ease; */
}

/* Dropdown animation */
@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dropdown links */
.pkp_navigation_primary ul li a {
    padding: 10px 22px; /* fixed */
    box-sizing: border-box;
}

.pkp_navigation_primary ul li a:hover {
    background: linear-gradient(90deg, #1FA971, #148F60);
    color: #000 !important;
    box-shadow: inset 4px 0 0 #F5B301; /* visual effect without resizing */
}


/* ===============================
   MOBILE SAFE (NO HOVER CONFLICT)
=============================== */

@media (max-width: 768px) {

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

    .pkp_navigation_primary ul {
        box-shadow: none;
        border-radius: 0;
    }
}
