/*
 Theme Name:   EduPress Child
 Theme URI:    https://edupress.thimpress.com/
 Description:  EduPress Child Theme
 Author:       ThimPress
 Author URI:   https://thimpress.com
 Template:     edu-press
 Version:      1.0.0
 Text Domain:  edu-press-child
*/

.site-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.site-header .header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-logo {
    font-size: 28px;
    font-weight: 700;
    text-decoration: none;
    color: #111827;
    line-height: 1;
    white-space: nowrap;
}

.desktop-nav {
    margin-left: auto;
}

.main-menu,
.mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-menu {
    display: flex;
    align-items: center;
    gap: 22px;
}

.main-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-menu li a {
    text-decoration: none;
    color: #111827;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
}

.main-menu li a:hover {
    color: #2563eb;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #ffffff;
    padding: 8px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #111827;
}

.mobile-menu {
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    padding: 14px 20px;
}

.mobile-menu[hidden] {
    display: none !important;
}

.mobile-menu-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mobile-menu-list li a {
    text-decoration: none;
    color: #111827;
    font-size: 16px;
    font-weight: 500;
}

@media (max-width: 991px) {
    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .mobile-menu:not([hidden]) {
        display: block;
    }

    .site-header .header-inner {
        padding: 12px 16px;
    }

    .site-logo {
        font-size: 22px;
    }
}





