/* =========================
   (site.css) HEADER 
========================= */
/* prevent sections blocking navbar clicks */

.tox-promotion {
    display: none !important;
}

.tox-statusbar__branding {
    display: none !important;
}

.main-header {
    /*display: flex;
    align-items: center;
    justify-content: space-between;*/
    padding: 10px 0px;
    background-color: #fff;
}

.logo img {
    height: 50px;
}


.navbar-nav {
    flex-wrap: nowrap;
}

.navbar-nav {
    display: flex !important;
    gap: 12px;
    align-items: center;
}
/*
.navbar-nav {
    display: flex !important;
    gap: 30px;
}*/

    .navbar-nav li a {
        color: #333;
        font-size: 14px;
        font-weight: 500;
    }

        .navbar-nav li a.active {
            color: #f8ad35;
        }

    .navbar-nav .dropdown-menu {
        padding: 10px 0;
    }

    .navbar-nav .dropdown-item {
        padding: 8px 20px;
        font-size: 14px;
    }
.dropdown-item.active, .dropdown-item:active {
    background-color: #ff9900;
}
    .navbar-nav .nav-link {
        white-space: nowrap;
    }

.header-actions {
    position: absolute;
    right: 12px;
    top: 8px;
}
/*
.header-actions {
    flex-shrink: 0;
}
.header-actions {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;     //  prevents overflow 

    gap: 20px;
}*/
/*Auth buttons*/
.submit-btn {
    background-color: #0088cc;
    color: #fff;
    padding: 8px 20px;
    font-weight: 600;
    white-space: nowrap; /* prevents line break */
    flex-shrink: 0; /* ✅ prevents compression in navbar */
}

    .submit-btn:hover, .submit-btn:focus, .submit-btn:focus-visible {
        background-color: #ff9900 !important;
        color: #fff !important;
        border: 1px solid #ff9900 ;
    }
.login-btn:hover, .login-btn:focus, .login-btn:focus-visible {
    background-color: #ff9900 !important;
    color: #fff !important;
    border: 1px solid #ff9900;
}

    .search-btn {
        background: transparent;
        border: none;
        padding: 8px 10px;
        border-radius: 4px;
    }
.header-actions .dropdown-toggle{
    padding:4px 8px;
}
.lang-selector {
    display: flex;
    gap: 10px;
    font-weight: bold;
}

    .lang-item img {
        width: 18px;
    }

    .page-content {
        padding-top: 30px; /* THIS is the only correct place */
    }
    /* =========================
   FOOTER
========================= */
    .main-footer {
        background-color: #002133;
        color: #fff;
        padding: 50px 30px 20px 30px;
        font-family: 'opensans', sans-serif;
    }

    .footer-logo {
        font-size: 22px;
        font-weight: bold;
        margin-bottom: 5px;
    }

    .journal-info {
        font-size: 13px;
        color: #ccc;
        margin-bottom: 10px;
    }

    .open-access {
        font-size: 14px;
    }

    .footer-heading {
        font-weight: bold;
        margin-bottom: 20px;
        font-size: 16px;
    }

    .footer-links {
        list-style: none;
        padding: 0;
    }

        .footer-links li {
            margin-bottom: 5px;
            line-height: 24px;
        }

        .footer-links a {
            color: #fff;
            text-decoration: none;
            font-size: 14px;
        }

    .custom-field {
        background-color: #fff;
        border: none;
        height: 45px;
        padding-left: 20px;
        font-size: 14px;
        color: #333;
    }

    .subscribe-btn {
        background-color: #0088cc;
        color: #fff;
        font-weight: bold;
        height: 45px;
        cursor: pointer;
    }

        .subscribe-btn:hover {
            background-color: #ff9900 !important;
            color: #fff !important;
            border: 1px solid #ff9900 !important;
        }

    .footer-bottom {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 30px;
        text-align: center;
    }

    .scroll-up-btn {
        color: #0088cc;
        font-size: 18px;
        cursor: pointer;
    }
    /* Responsive Header & Footer */
    @media (max-width:1199px){
        .header-actions {
            right: 90px;
        }
        .navbar-nav {
            align-items: flex-start;
        }

    }
    @media (max-width:991px){
        .header-actions {
            top: 0px;
        }
    }
    @media screen and (max-width: 768px) {
        .navbar-nav {
            flex-direction: column !important;
            gap: 0px;
            margin-left: 0 !important;
            padding-top: 90px;
            margin-bottom:0px !important;
        }
        
            .header-actions {
                /*flex-direction: column;
            gap: 10px;
            width: 100%;*/
                top: 70px;
                right: auto;
                left: 50%;
                transform: translateX(-50%);
            }
            /*.submit-btn {
            width: 90%;
            text-align: center;
        }*/

            .footer-links {
                
            }
            .footer-heading, .journal-info, .open-access {
                text-align: center;
            }
            .open-access{
                margin-bottom:1rem;
            }
        }
    @media (max-width:375px) {
        .header-actions {
            gap:0.5rem !important;
        }
    }


    /*=========== Search  bar ============*/
.am-search-bar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin:17px 0;
    gap:20px;
}
    .am-search-bar .block {
        width:25%;
    }
        .am-search-bar .block:first-child{
            width: 170px;
        }
        .am-search-bar .block:last-child {
            width: 88px;
        }
@media (max-width:991px){
    .am-search-bar {
        flex-wrap: wrap;
        gap:10px;
    }
    .am-search-bar .block, .am-search-bar .block:last-child {
        width: 48%;
    }
        .am-search-bar .block:first-child {
            width: 100%;
        }
}
@media (max-width:540px) {
    .am-search-bar .block, .am-search-bar .block:last-child {
        width: 100%;
    }
}
/*=========== Search  bar end ============*/