/*
|--------------------------------------------------------------------------
| Site header — responsive layer (loaded after style-13.css)
|--------------------------------------------------------------------------
| Desktop (>= 992px) keeps the original layout. Tablet and mobile get a
| compact header: logo + title + menu button on one row, with the full
| navigation moved into the slide-in side menu.
*/

/* ---------- Shared ---------- */

/* The header (and its dropdown menus) stays above page content -- banners,
   sliders and cards create their own stacking layers (conference cards go up
   to 100) -- but BELOW popups: Bootstrap modals are 1050-1055, the editorial
   "Join" popup 1050, Fancybox 99992. 1030 is Bootstrap's fixed-header level. */
.header {
    position: relative;
    z-index: 1030;
}

.header .navigation {
    z-index: 1031;
}

.header .navigation ul li ul {
    z-index: 1032;
}

.hdr-title {
    text-align: center;
}

.hdr-title h1 {
    text-align: center;
}

.hdr-tagline {
    margin-top: 10px;
    text-align: center;
    font-size: 16px;
    color: #2672a4;
}

.hdr-burger {
    display: none;
}

/* "New / Update" ticker */
.hdr-news .marquee-btns {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #f6921e;
    font-size: 14px;
    font-weight: 500;
    padding: 0 23px;
}

.hdr-news .hdr-news-label {
    flex: 0 0 auto;
    width: auto;
    white-space: nowrap;
}

.hdr-news marquee {
    flex: 1 1 auto;
    min-width: 0;
}

/* ---------- Side menu (mobile / tablet) ---------- */
.sidenav {
    width: 300px !important;
    max-width: 85vw;
    padding-top: 0;
    background-color: #075b51;
    transform: translateX(-100%);
    transition: transform .3s ease;
    box-shadow: 4px 0 24px rgba(0, 0, 0, .25);
    overflow-y: auto;
}

body.sidenav-open .sidenav {
    transform: translateX(0);
}

.sidenav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 999998;
    background: rgba(0, 0, 0, .45);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}

body.sidenav-open .sidenav-backdrop {
    opacity: 1;
    visibility: visible;
}

body.sidenav-open {
    overflow: hidden;
}

.sidenav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .15);
    color: #fff;
    font-weight: 700;
    font-size: 17px;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.sidenav .closebtn {
    position: static;
    margin: 0;
    padding: 0 4px;
    font-size: 32px;
    line-height: 1;
    color: #fff !important;
}

.sidenav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidenav > ul > li {
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.sidenav a,
.sidenav summary {
    display: block;
    padding: 13px 20px;
    font-size: 16px;
    color: #fff !important;
    text-decoration: none;
    cursor: pointer;
}

.sidenav a:hover,
.sidenav summary:hover {
    background: rgba(255, 255, 255, .08);
}

.sidenav summary {
    list-style: none;
    position: relative;
}

.sidenav summary::-webkit-details-marker {
    display: none;
}

.sidenav summary::after {
    content: "\f078";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 12px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform .2s ease;
}

.sidenav details[open] > summary::after {
    transform: translateY(-50%) rotate(180deg);
}

.sidenav details ul {
    background: rgba(0, 0, 0, .15);
    padding: 4px 0;
}

.sidenav details ul a {
    padding: 9px 20px 9px 34px;
    font-size: 14px;
    color: #d8eeea !important;
}

/* ---------- Tablet & mobile (< 992px) ---------- */
@media (max-width: 991.98px) {

    .header {
        padding: 10px 0;
        border-bottom: 3px solid #075b51;
    }

    .header .container {
        display: flex;
        align-items: center;
        gap: 14px;
    }

    .header .container::before,
    .header .container::after {
        display: none;
    }

    .lft_logo,
    .rht_details {
        float: none;
        display: block;
        text-align: left;
    }

    .lft_logo {
        flex: 0 0 auto;
        width: auto;
    }

    .header .logo img {
        display: block;
        width: 92px;
        margin: 0;
    }

    .rht_details {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
    }

    .rht_details > .row {
        margin: 0;
        flex-wrap: nowrap;
    }

    .hdr-main {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
        padding: 0;
    }

    .hdr-side {
        flex: 0 0 auto;
        width: auto;
        padding: 0 0 0 10px;
    }

    .side_bar_menu img {
        height: 70px;
        margin: 0;
    }

    .logotxt {
        display: block;
        max-width: none;
        margin-top: 0;
    }

    .rht_details a h1 {
        font-size: 20px !important;
        line-height: 1.25;
        margin: 0;
    }

    .hdr-tagline {
        margin: 6px 0 0;
        font-size: 13px;
        line-height: 1.35;
    }

    .middle-cls {
        margin-top: 6px;
    }

    .middle-cls ul {
        margin: 0;
        padding: 0;
    }

    .middle-cls ul li,
    .middle-cls ul li a {
        font-size: 12px !important;
        line-height: 1.6;
    }

    .middle-cls ul li {
        padding: 0 8px;
    }

    /* Full navigation lives in the side menu on smaller screens. */
    .header .navigation {
        display: none !important;
    }

    .hdr-burger {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        width: 44px;
        height: 44px;
        border: 0;
        border-radius: 8px;
        background: #075b51;
        color: #fff;
        font-size: 20px;
        box-shadow: 0 2px 6px rgba(7, 91, 81, .3);
    }

    .hdr-burger:focus-visible {
        outline: 3px solid #f6921e;
        outline-offset: 2px;
    }

    .hdr-news .marquee-btns {
        margin: 8px 0;
        padding: 0 !important;
    }
}

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

    .header {
        padding: 8px 0;
    }

    .header .container {
        gap: 10px;
    }

    .header .logo img {
        width: 56px;
    }

    .hdr-side {
        display: none;
    }

    .hdr-title,
    .hdr-title h1 {
        text-align: left;
    }

    .rht_details a h1 {
        font-size: 15px !important;
        line-height: 1.25;
    }

    .hdr-tagline {
        display: none;
    }

    .middle-cls {
        text-align: left;
        margin-top: 3px;
    }

    /* Keep just ISSN and DOI on phones. */
    .middle-cls ul li {
        display: none;
    }

    .middle-cls ul li:nth-child(1),
    .middle-cls ul li:nth-child(4) {
        display: inline-block;
    }

    .middle-cls ul li:nth-child(1) {
        padding: 0 6px 0 0;
    }

    .middle-cls ul li:nth-child(4) {
        padding: 0 0 0 6px;
        border-right: 0;
    }

    .middle-cls ul li,
    .middle-cls ul li a {
        font-size: 11px !important;
        line-height: 1.4;
    }

    .hdr-burger {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .hdr-news .marquee-btns {
        font-size: 13px;
    }
}

/*
|--------------------------------------------------------------------------
| Site footer — responsive
|--------------------------------------------------------------------------
*/
.site-footer .footer-section {
    background: #075b51;
    padding: 50px 0 30px;
}

.site-footer .footer h3 {
    font-size: 20px;
    margin-bottom: 18px;
    padding-bottom: 10px;
    position: relative;
}

.site-footer .footer h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    border-radius: 2px;
    background: #f6921e;
}

.ftr-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.3;
    margin-bottom: 14px;
}

.ftr-brand img {
    width: 64px;
    height: 64px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #fff;
    padding: 2px;
    object-fit: contain;
}

.site-footer .footer p.ftr-about {
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
    color: rgba(255, 255, 255, .75);
    margin: 0 0 14px;
}

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

.ftr-info li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, .85);
    margin-bottom: 8px;
    overflow-wrap: anywhere;
}

.ftr-info i {
    width: 16px;
    margin-top: 4px;
    color: #f6921e;
    text-align: center;
}

.site-footer .footer .ftr-info a {
    display: inline;
    line-height: inherit;
    font-size: inherit;
    color: rgba(255, 255, 255, .85);
}

.site-footer .footer .ftr-links a {
    line-height: 32px;
    font-size: 15px;
    color: #d6e7e4;
    text-decoration: none;
    transition: color .2s ease, padding-left .2s ease;
}

.site-footer .footer .ftr-links a:hover {
    color: #fff;
    padding-left: 4px;
}

.ftr-social li + li {
    margin-top: 10px;
}

.site-footer .footer .ftr-social a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    line-height: 1.2;
    color: #d6e7e4;
    text-decoration: none;
}

.ftr-social i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 15px;
    transition: background .2s ease;
}

.ftr-social a:hover i {
    background: #f6921e;
}

.site-footer .ftr-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding: 8px 16px;
    border-radius: 6px;
    background: #f6921e;
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.site-footer .ftr-btn:hover {
    background: #e07f0c;
}

.site-footer .parters-logo img {
    height: 150px;
    object-fit: contain;
    background: #fff;
    border-radius: 8px;
}

.site-footer .link {
    display: inline-block;
    margin-top: 10px;
    color: #fff;
}

.site-footer .bottomline {
    padding: 12px 0;
}

.ftr-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px 20px;
    flex-wrap: wrap;
}

.ftr-bottom .copyright {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, .7);
}

/* Old fixed mobile Login / Register bar is gone. */
.login-box {
    display: none !important;
}

@media (max-width: 991.98px) {
    .site-footer .footer-section {
        padding: 36px 0 24px;
    }
}

@media (max-width: 767.98px) {
    .site-footer .footer h3 {
        font-size: 17px;
        margin-top: 0;
        margin-bottom: 14px;
    }

    .site-footer .footer .ftr-links a {
        font-size: 14px;
        line-height: 30px;
    }

    .site-footer .footer .ftr-social a {
        font-size: 14px;
    }

    .site-footer .parters-logo img {
        height: 130px;
    }

    .site-footer .bottomline {
        padding: 14px 0;
    }

    .ftr-bottom {
        flex-direction: column;
        text-align: center;
    }

    .ftr-bottom .copyright {
        font-size: 13px;
    }
}
