/* =========================================================
   SOCIOEDUCATIONS - NAVIGATION SYSTEM
   Desktop + Clean Mobile Navigation
   ========================================================= */

/* DESKTOP NAVIGATION */
.se-main-navigation {
    position: relative;
    z-index: 90;
    width: 100%;
    background: #10264b;
    border-bottom: 3px solid #f47b20;
    font-family: 'Anek Gujarati', sans-serif;
}

.se-navigation-inner {
    display: flex;
    align-items: center;
    min-height: 48px;
}

.se-desktop-menu,
.se-desktop-menu ul {
    display: flex;
    align-items: stretch;
    margin: 0;
    padding: 0;
    list-style: none;
}

.se-desktop-menu {
    width: 100%;
}

.se-desktop-menu > li {
    position: relative;
    margin: 0;
    padding: 0;
}

.se-desktop-menu > li > a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 17px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.se-desktop-menu > li:hover > a,
.se-desktop-menu > li:focus-within > a,
.se-desktop-menu > li.current-menu-item > a,
.se-desktop-menu > li.current-menu-ancestor > a {
    background: #f47b20;
    color: #fff;
}

/* Desktop dropdown */
.se-desktop-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 999;
    display: block;
    min-width: 230px;
    margin: 0;
    padding: 7px 0;
    background: #fff;
    border-top: 3px solid #f47b20;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: .2s ease;
}

.se-desktop-menu li:hover > .sub-menu,
.se-desktop-menu li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.se-desktop-menu .sub-menu li {
    display: block;
    width: 100%;
}

.se-desktop-menu .sub-menu a {
    display: block;
    padding: 10px 15px;
    color: #263449;
    font-size: 14px;
    text-decoration: none;
}

.se-desktop-menu .sub-menu a:hover {
    color: #e06810;
    background: #fff5ec;
}

.se-desktop-menu .menu-item-has-children > a {
    gap: 8px;
}

.se-desktop-menu > .menu-item-has-children > a::after {
    content: "";
    width: 7px;
    height: 7px;
    margin-top: -4px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
}

/* MOBILE NAVIGATION */
.se-mobile-navigation {
    display: none;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 8px 20px rgba(16,38,75,.08);
    font-family: 'Anek Gujarati', sans-serif;
}

body.se-mobile-menu-open .se-mobile-navigation {
    display: block;
}

.se-mobile-navigation-inner {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 14px 16px 18px;
    box-sizing: border-box;
}

.se-mobile-navigation-inner *,
.se-mobile-navigation-inner *::before,
.se-mobile-navigation-inner *::after {
    box-sizing: border-box;
}

/* Mobile Search */
.se-mobile-search {
    width: 100%;
    margin: 0 0 12px;
}

.se-mobile-search form {
    display: flex;
    align-items: center;
    width: 100%;
    height: 44px;
    margin: 0;
    padding: 0 5px 0 12px;
    background: #f5f6f8;
    border: 1px solid #e6eaf1;
    border-radius: 5px;
}

.se-mobile-search input[type="search"] {
    flex: 1;
    width: 1%;
    min-width: 0;
    height: 40px;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    box-shadow: none;
    color: #172033;
    font-family: inherit;
    font-size: 14px;
}

.se-mobile-search input[type="search"]:focus {
    border: 0;
    outline: 0;
    box-shadow: none;
}

.se-mobile-search button {
    flex: 0 0 auto;
    height: 34px;
    margin: 0;
    padding: 0 12px;
    border: 0;
    border-radius: 4px;
    background: #f47b20;
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    cursor: pointer;
}

/* Mobile menu reset */
.se-mobile-menu,
.se-mobile-menu ul {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.se-mobile-menu > li {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #edf0f3;
}

.se-mobile-menu > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 10px 5px;
    color: #263449;
    background: transparent;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    text-align: left;
    text-decoration: none;
}

.se-mobile-menu > li > a:hover,
.se-mobile-menu > li.current-menu-item > a,
.se-mobile-menu > li.current-menu-ancestor > a {
    color: #f47b20;
}

/* Mobile submenu */
.se-mobile-menu .sub-menu {
    position: static;
    display: block;
    width: 100%;
    margin: 0 0 8px;
    padding: 4px 0 4px 12px;
    background: #f7f8fa;
    border: 0;
    border-left: 2px solid #f47b20;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
}

.se-mobile-menu .sub-menu li {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}

.se-mobile-menu .sub-menu a {
    display: block;
    width: 100%;
    min-height: 36px;
    padding: 8px 10px;
    color: #536174;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
}

.se-mobile-menu .sub-menu a:hover {
    color: #e06810;
}

/* Mobile quick links */
.se-mobile-quick-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin: 12px 0 0;
    padding: 12px 0 0;
    border-top: 1px solid #edf0f3;
}

.se-mobile-quick-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    margin: 0;
    padding: 6px 12px;
    background: #f5f6f8;
    border: 0;
    border-radius: 4px;
    color: #475569;
    font-size: 13px;
    text-decoration: none;
}

/* RESPONSIVE */
@media (max-width: 767px) {
    .se-main-navigation {
        display: none;
    }

    .se-mobile-navigation {
        display: none;
    }

    body.se-mobile-menu-open .se-mobile-navigation {
        display: block;
    }
}

@media (min-width: 768px) {
    .se-mobile-navigation {
        display: none !important;
    }
}

@media (min-width: 768px) and (max-width: 1050px) {
    .se-desktop-menu > li > a {
        padding-left: 11px;
        padding-right: 11px;
        font-size: 14px;
    }
}