/*
 * SocioEducations Premium Header
 * Adda247-inspired responsive design
 * Compatible with site-header.php
 */

:root {
    --se-header-navy: #10264B;
    --se-header-dark: #0B1B36;
    --se-header-blue: #2457C5;
    --se-header-orange: #F59E0B;
    --se-header-text: #172033;
    --se-header-muted: #64748B;
    --se-header-border: #E6EAF1;
    --se-header-white: #FFFFFF;
}

/* =====================================
   MAIN HEADER
===================================== */

.se-site-header,
.se-site-header * {
    box-sizing: border-box;
}

.se-site-header {
    position: relative;
    z-index: 100;
    width: 100%;
    background: #fff;
    color: var(--se-header-text);
    font-family: inherit;
}

.se-header-container {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
}

/* =====================================
   TOP BAR
===================================== */

.se-topbar {
    min-height: 34px;
    background: var(--se-header-dark);
    color: #fff;
}

.se-topbar .se-header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 34px;
    gap: 15px;
}

.se-topbar > .se-header-container > span {
    color: rgba(255,255,255,.9);
    font-size: 11px;
    font-weight: 600;
}

.se-topbar-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.se-topbar-links a {
    color: rgba(255,255,255,.85);
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
}

.se-topbar-links a:hover {
    color: var(--se-header-orange);
}

/* =====================================
   MAIN HEADER ROW
===================================== */

.se-main-header {
    position: relative;
    background: #fff;
    border-bottom: 1px solid var(--se-header-border);
}

.se-main-header > .se-header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    min-height: 86px;
}

/* =====================================
   BRAND / LOGO
===================================== */

.se-brand {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
    min-width: 210px;
}

.se-brand > a {
    display: inline-flex;
    align-items: center;
    color: var(--se-header-navy);
    text-decoration: none;
}

.se-brand .custom-logo-link {
    display: inline-flex;
    align-items: center;
}

.se-brand img.custom-logo {
    display: block;
    width: auto;
    max-width: 220px;
    max-height: 58px;
    object-fit: contain;
}

.se-brand-name {
    flex-direction: column;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -.6px;
}

.se-brand-name span {
    color: var(--se-header-blue);
}

.se-brand-tagline {
    display: block;
    max-width: 110px;
    color: var(--se-header-muted);
    font-size: 9px;
    font-weight: 650;
    line-height: 1.4;
}

/* =====================================
   DESKTOP SEARCH
===================================== */

.se-header-search {
    flex: 1 1 430px;
    max-width: 480px;
}

.se-header-search form,
.se-mobile-search form {
    display: flex;
    align-items: center;
    width: 100%;
    height: 45px;
    margin: 0;
    padding: 4px 5px 4px 15px;
    background: #F5F7FB;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    box-shadow: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.se-header-search form:focus-within,
.se-mobile-search form:focus-within {
    background: #fff;
    border-color: var(--se-header-blue);
    box-shadow: 0 0 0 3px rgba(36,87,197,.09);
}

.se-header-search input[type="search"],
.se-mobile-search input[type="search"] {
    flex: 1;
    width: 100%;
    min-width: 0;
    height: 35px;
    margin: 0;
    padding: 0 10px 0 0;
    background: transparent;
    border: 0;
    outline: none;
    box-shadow: none;
    color: var(--se-header-text);
    font-size: 13px;
}

.se-header-search input[type="search"]:focus,
.se-mobile-search input[type="search"]:focus {
    background: transparent;
    border: 0;
    outline: none;
    box-shadow: none;
}

.se-header-search input::placeholder,
.se-mobile-search input::placeholder {
    color: #8994A6;
}

.se-header-search button,
.se-mobile-search button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    width: 38px;
    height: 35px;
    margin: 0;
    padding: 0;
    background: var(--se-header-blue);
    border: 0;
    border-radius: 6px;
    color: #fff;
    font-size: 17px;
    cursor: pointer;
    box-shadow: none;
}

.se-header-search button:hover,
.se-mobile-search button:hover {
    background: var(--se-header-navy);
    color: #fff;
}

/* =====================================
   MOBILE CONTROLS
===================================== */

.se-mobile-controls {
    display: none;
    align-items: center;
    gap: 9px;
}

.se-search-toggle,
.se-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 41px;
    height: 41px;
    margin: 0;
    padding: 0;
    background: #F1F5FB;
    border: 1px solid var(--se-header-border);
    border-radius: 8px;
    color: var(--se-header-navy);
    font-size: 23px;
    cursor: pointer;
    box-shadow: none;
}

.se-search-toggle:hover,
.se-menu-toggle:hover {
    background: #E6EDF9;
    color: var(--se-header-blue);
}

.se-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 19px;
}

.se-hamburger span {
    display: block;
    width: 19px;
    height: 2px;
    background: var(--se-header-navy);
    border-radius: 2px;
}

/* =====================================
   MOBILE SEARCH PANEL
===================================== */

.se-mobile-search {
    display: none;
    padding: 10px 0;
    background: #F7F9FC;
    border-top: 1px solid var(--se-header-border);
}

.se-mobile-search.is-open,
.se-mobile-search.active {
    display: block;
}

.se-mobile-search .se-header-container {
    width: min(1240px, calc(100% - 30px));
}

/* =====================================
   DESKTOP NAVIGATION
===================================== */

.se-desktop-nav {
    position: relative;
    width: 100%;
    min-height: 48px;
    background: var(--se-header-navy);
}

.se-desktop-nav > .se-header-container {
    display: flex;
    align-items: stretch;
    min-height: 48px;
}

.se-nav-list {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.se-nav-list li {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}

.se-nav-list > li > a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 17px;
    color: rgba(255,255,255,.95);
    font-size: 12px;
    font-weight: 750;
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
}

.se-nav-list > li:hover > a,
.se-nav-list > li.current-menu-item > a,
.se-nav-list > li.current_page_item > a,
.se-nav-list > li.current-menu-ancestor > a {
    background: rgba(255,255,255,.13);
    color: #fff;
}

/* =====================================
   DESKTOP DROPDOWN
===================================== */

.se-nav-list ul {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 300;
    display: block;
    min-width: 225px;
    margin: 0;
    padding: 7px;
    background: #fff;
    border: 1px solid var(--se-header-border);
    border-radius: 0 0 9px 9px;
    box-shadow: 0 12px 28px rgba(11,27,54,.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(7px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.se-nav-list li:hover > ul,
.se-nav-list li:focus-within > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.se-nav-list ul li {
    display: block;
    width: 100%;
}

.se-nav-list ul li a {
    display: block;
    min-height: auto;
    padding: 11px 13px;
    border-radius: 5px;
    color: var(--se-header-text);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.se-nav-list ul li a:hover {
    background: #EFF4FC;
    color: var(--se-header-blue);
}

/* =====================================
   MOBILE MENU PANEL
===================================== */

.se-mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1002;
    width: min(340px, 88vw);
    height: 100dvh;
    padding: 0;
    overflow-y: auto;
    background: #fff;
    box-shadow: -12px 0 35px rgba(11,27,54,.16);
    transform: translateX(110%);
    visibility: hidden;
    transition: transform .28s ease, visibility .28s ease;
}

.se-mobile-menu.is-open,
.se-mobile-menu.active {
    transform: translateX(0);
    visibility: visible;
}

.se-mobile-menu-inner {
    min-height: 100%;
    padding: 18px 18px 30px;
}

.se-mobile-menu-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 48px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--se-header-border);
}

.se-mobile-menu-heading strong {
    color: var(--se-header-navy);
    font-size: 16px;
    font-weight: 850;
}

.se-mobile-menu-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin: 0;
    padding: 0;
    background: #F1F5FB;
    border: 0;
    border-radius: 7px;
    color: var(--se-header-navy);
    font-size: 24px;
    cursor: pointer;
    box-shadow: none;
}

.se-mobile-menu-close:hover {
    background: #E6EDF9;
    color: var(--se-header-blue);
}

.se-mobile-nav-list,
.se-mobile-nav-list ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.se-mobile-nav-list li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #EDF0F5;
    list-style: none;
}

.se-mobile-nav-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 47px;
    padding: 10px 5px;
    color: var(--se-header-navy);
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
}

.se-mobile-nav-list li a:hover {
    color: var(--se-header-blue);
}

.se-mobile-nav-list ul {
    padding-left: 14px;
    background: #F7F9FC;
}

.se-mobile-nav-list ul li a {
    min-height: 40px;
    font-size: 12px;
    font-weight: 600;
}

.se-mobile-extra-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 18px;
    padding-top: 10px;
    border-top: 1px solid var(--se-header-border);
}

.se-mobile-extra-links a {
    padding: 10px 5px;
    color: var(--se-header-muted);
    font-size: 12px;
    font-weight: 650;
    text-decoration: none;
}

/* =====================================
   MENU BACKDROP
===================================== */

.se-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1001;
    background: rgba(5,16,35,.52);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}

.se-menu-backdrop.is-visible,
.se-menu-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* =====================================
   TABLET
===================================== */

@media (max-width: 1024px) {

    .se-header-container {
        width: calc(100% - 32px);
    }

    .se-main-header > .se-header-container {
        gap: 17px;
        min-height: 78px;
    }

    .se-brand {
        min-width: 170px;
    }

    .se-brand img.custom-logo {
        max-width: 185px;
        max-height: 50px;
    }

    .se-brand-tagline {
        display: none;
    }

    .se-header-search {
        max-width: 380px;
    }

    .se-nav-list > li > a {
        padding: 0 12px;
        font-size: 11px;
    }
}

/* =====================================
   MOBILE
===================================== */

@media (max-width: 767px) {

    .se-header-container {
        width: calc(100% - 24px);
    }

    .se-topbar,
    .se-topbar .se-header-container {
        min-height: 30px;
    }

    .se-topbar > .se-header-container > span,
    .se-topbar-links a {
        font-size: 10px;
    }

    .se-topbar-links {
        gap: 12px;
    }

    .se-main-header > .se-header-container {
        min-height: 66px;
        gap: 10px;
    }

    .se-brand {
        flex: 1;
        min-width: 0;
        gap: 0;
    }

    .se-brand img.custom-logo {
        max-width: 175px;
        max-height: 44px;
    }

    .se-brand-name {
        font-size: 19px;
    }

    .se-brand-tagline {
        display: none;
    }

    .se-header-search {
        display: none;
    }

    .se-mobile-controls {
        display: flex;
    }

    .se-desktop-nav {
        display: none;
    }

    .se-mobile-menu {
        display: block;
    }

    body.se-mobile-menu-open {
        overflow: hidden;
    }
}

/* =====================================
   SMALL MOBILE
===================================== */

@media (max-width: 380px) {

    .se-header-container {
        width: calc(100% - 20px);
    }

    .se-brand img.custom-logo {
        max-width: 145px;
        max-height: 40px;
    }

    .se-brand-name {
        font-size: 17px;
    }

    .se-mobile-controls {
        gap: 6px;
    }

    .se-search-toggle,
    .se-menu-toggle {
        width: 36px;
        height: 36px;
    }
}

/* =====================================
   ACCESSIBILITY
===================================== */

.se-site-header a:focus-visible,
.se-site-header button:focus-visible {
    outline: 3px solid var(--se-header-orange);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .se-site-header *,
    .se-menu-backdrop {
        transition: none !important;
    }
}

/* =========================================================
   SOCIOEDUCATIONS - MOBILE APP HEADER UI
   Version: 3.0.0
========================================================= */

@media (max-width: 767px) {

    /* Header */

    .se-app-header {
        position: relative;
        z-index: 1000;
        width: 100%;
        background: #fff;
        box-shadow: 0 2px 12px rgba(16, 38, 75, .07);
    }

    .se-app-header .se-topbar,
    .se-app-header .se-desktop-nav {
        display: none !important;
    }

    .se-app-header .se-main-header {
        position: sticky;
        top: 0;
        z-index: 1002;
        padding: 0;
        background: #fff;
    }

    .se-app-header .se-header-container {
        width: 100%;
        max-width: 100%;
        padding: 0 15px;
    }

    .se-app-header .se-header-main-inner {
        min-height: 65px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    /* Logo */

    .se-app-header .se-brand {
        display: flex;
        align-items: center;
        flex: 1;
        min-width: 0;
    }

    .se-app-header .se-brand-logo img {
        display: block;
        width: auto;
        max-width: 175px;
        max-height: 43px;
        object-fit: contain;
    }

    .se-app-header .se-brand-name {
        font-size: 19px;
        font-weight: 850;
        color: #10264B;
        line-height: 1.2;
    }

    .se-app-header .se-brand-tagline {
        display: none;
    }

    /* Action Buttons */

    .se-app-header .se-mobile-controls {
        display: flex;
        align-items: center;
        gap: 9px;
    }

    .se-app-header .se-search-toggle,
    .se-app-header .se-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        padding: 0;
        border: 1px solid #E5EAF2;
        border-radius: 13px;
        background: #F5F7FB;
        color: #10264B;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .se-app-header .se-search-toggle {
        font-size: 28px;
        line-height: 1;
    }

    .se-app-header .se-menu-toggle-lines {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 19px;
    }

    .se-app-header .se-menu-toggle-lines span {
        display: block;
        width: 19px;
        height: 2px;
        border-radius: 3px;
        background: #10264B;
    }

    /* Category Strip */

    .se-mobile-category-strip {
        display: block;
        width: 100%;
        padding: 0 0 12px;
        overflow: hidden;
        background: #fff;
    }

    .se-mobile-category-scroll {
        display: flex;
        align-items: center;
        gap: 9px;
        width: 100%;
        padding: 0 15px;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .se-mobile-category-scroll::-webkit-scrollbar {
        display: none;
    }

    .se-mobile-category-chip {
        display: inline-flex;
        flex: 0 0 auto;
        align-items: center;
        gap: 7px;
        min-height: 38px;
        padding: 0 13px;
        border: 1px solid #E8EDF5;
        border-radius: 12px;
        background: #F7F9FC;
        color: #253653;
        font-size: 12px;
        font-weight: 700;
        text-decoration: none;
        white-space: nowrap;
    }

    .se-mobile-category-chip:active {
        background: #EAF0FF;
    }

    .se-chip-icon {
        font-size: 15px;
    }

    .se-chip-jobs {
        background: #EFF5FF;
        color: #2457C5;
    }

    .se-chip-schemes {
        background: #ECF8F2;
        color: #16845A;
    }

    .se-chip-results {
        background: #F4EEFF;
        color: #7952B3;
    }

    .se-chip-admit {
        background: #FFF5E8;
        color: #B66B00;
    }

    /* Mobile Search */

    .se-app-header .se-mobile-search {
        display: none;
        padding: 18px 15px;
        border-top: 1px solid #EDF0F5;
        background: #fff;
    }

    .se-app-header .se-mobile-search.is-open,
    .se-app-header .se-mobile-search.is-visible {
        display: block;
    }

    .se-mobile-search-heading {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 15px;
    }

    .se-mobile-search-heading strong,
    .se-mobile-search-heading span {
        display: block;
    }

    .se-mobile-search-heading strong {
        color: #10264B;
        font-size: 16px;
        font-weight: 800;
    }

    .se-mobile-search-heading div > span {
        margin-top: 4px;
        color: #7B879B;
        font-size: 11px;
    }

    .se-search-heading-icon {
        color: #2457C5;
        font-size: 31px;
    }

    .se-mobile-search .search-form {
        display: flex;
        gap: 7px;
        width: 100%;
        margin: 0;
    }

    .se-mobile-search .search-field {
        width: 100%;
        min-width: 0;
        min-height: 47px;
        padding: 0 13px;
        border: 1px solid #E0E6F0;
        border-radius: 12px;
        background: #F7F9FC;
        font-size: 13px;
    }

    .se-mobile-search .search-submit {
        min-height: 47px;
        padding: 0 15px;
        border: 0;
        border-radius: 12px;
        background: #2457C5;
        color: #fff;
        font-size: 12px;
        font-weight: 750;
    }

    .se-search-suggestions {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 13px;
    }

    .se-search-suggestions > span {
        color: #7B879B;
        font-size: 11px;
    }

    .se-search-suggestions a {
        padding: 6px 9px;
        border-radius: 7px;
        background: #F1F4F9;
        color: #344563;
        font-size: 10px;
        font-weight: 650;
        text-decoration: none;
    }

    /* Drawer Backdrop */

    .se-app-header .se-menu-backdrop {
        position: fixed;
        inset: 0;
        z-index: 1005;
        display: block;
        background: rgba(7, 20, 42, .55);
        opacity: 0;
        visibility: hidden;
        transition: opacity .25s ease, visibility .25s ease;
    }

    .se-app-header .se-menu-backdrop.is-visible {
        opacity: 1;
        visibility: visible;
    }

    /* App Drawer */

    .se-app-header .se-mobile-menu {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 1006;
        display: block;
        width: min(88%, 390px);
        max-width: 390px;
        height: 100%;
        height: 100dvh;
        overflow: hidden;
        background: #F5F7FB;
        box-shadow: -10px 0 35px rgba(7, 20, 42, .14);
        transform: translateX(105%);
        visibility: hidden;
        transition: transform .28s ease, visibility .28s ease;
    }

    .se-app-header .se-mobile-menu.is-open {
        transform: translateX(0);
        visibility: visible;
    }

    .se-app-header .se-mobile-menu-inner {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 100%;
        height: 100dvh;
        padding: 0;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    /* Drawer Header */

    .se-app-drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 18px 17px;
        background: #10264B;
    }

    .se-app-drawer-brand {
        display: flex;
        align-items: center;
        gap: 11px;
        min-width: 0;
    }

    .se-app-drawer-logo {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 43px;
        width: 43px;
        height: 43px;
        overflow: hidden;
        border-radius: 12px;
        background: #fff;
    }

    .se-app-drawer-logo img {
        width: 100%;
        height: 100%;
        padding: 4px;
        object-fit: contain;
    }

    .se-app-logo-text {
        color: #2457C5;
        font-size: 17px;
        font-weight: 900;
    }

    .se-app-drawer-brand-text {
        display: flex;
        flex-direction: column;
        min-width: 0;
    }

    .se-app-drawer-brand-text strong {
        overflow: hidden;
        color: #fff;
        font-size: 14px;
        font-weight: 800;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .se-app-drawer-brand-text span {
        margin-top: 4px;
        color: #C3D0E5;
        font-size: 10px;
    }

    .se-app-header .se-mobile-menu-close {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 36px;
        width: 36px;
        height: 36px;
        padding: 0;
        border: 1px solid rgba(255,255,255,.2);
        border-radius: 10px;
        background: rgba(255,255,255,.1);
        color: #fff;
        font-size: 25px;
        cursor: pointer;
    }

    /* Welcome Card */

    .se-app-welcome-card {
        position: relative;
        margin: 17px 15px 19px;
        padding: 19px;
        overflow: hidden;
        border-radius: 16px;
        background: linear-gradient(125deg, #2457C5, #10264B);
        color: #fff;
    }

    .se-app-welcome-card::after {
        position: absolute;
        top: -35px;
        right: -25px;
        width: 120px;
        height: 120px;
        border: 20px solid rgba(255,255,255,.08);
        border-radius: 50%;
        content: "";
    }

    .se-app-welcome-label {
        display: inline-block;
        margin-bottom: 9px;
        color: #FCD58C;
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 1.3px;
    }

    .se-app-welcome-card h3 {
        position: relative;
        z-index: 1;
        margin: 0 0 7px;
        color: #fff;
        font-size: 19px;
        font-weight: 850;
        line-height: 1.3;
    }

    .se-app-welcome-card p {
        position: relative;
        z-index: 1;
        max-width: 240px;
        margin: 0;
        color: #D9E4F7;
        font-size: 11px;
        line-height: 1.6;
    }

    /* Drawer Sections */

    .se-app-menu-section {
        padding: 0 15px;
        margin-bottom: 20px;
    }

    .se-app-section-heading {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        margin-bottom: 12px;
    }

    .se-app-section-heading strong {
        color: #10264B;
        font-size: 13px;
        font-weight: 850;
    }

    .se-app-section-heading > span {
        color: #8792A5;
        font-size: 10px;
    }

    /* Category Grid */

    .se-app-category-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .se-app-category-card {
        position: relative;
        display: flex;
        align-items: center;
        gap: 10px;
        min-height: 67px;
        padding: 11px;
        border: 1px solid #E8EDF5;
        border-radius: 13px;
        background: #fff;
        color: #10264B;
        text-decoration: none;
        transition: transform .15s ease, box-shadow .15s ease;
    }

    .se-app-category-card:active {
        transform: scale(.97);
    }

    .se-app-category-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 37px;
        width: 37px;
        height: 37px;
        border-radius: 11px;
        background: #EFF4FF;
        font-size: 18px;
    }

    .se-app-category-name {
        max-width: 110px;
        color: #253653;
        font-size: 11px;
        font-weight: 750;
        line-height: 1.35;
    }

    .se-app-category-arrow {
        position: absolute;
        right: 9px;
        bottom: 7px;
        color: #A1ADBF;
        font-size: 13px;
    }

    .se-app-category-jobs .se-app-category-icon {
        background: #EFF5FF;
    }

    .se-app-category-schemes .se-app-category-icon {
        background: #ECF8F2;
    }

    .se-app-category-results .se-app-category-icon {
        background: #F4EEFF;
    }

    .se-app-category-admit .se-app-category-icon {
        background: #FFF5E8;
    }

    /* More Information Links */

    .se-app-header .se-mobile-nav-list {
        display: flex;
        flex-direction: column;
        gap: 7px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .se-app-header .se-mobile-nav-list li {
        margin: 0;
        padding: 0;
    }

    .se-app-header .se-mobile-nav-list a {
        display: flex;
        align-items: center;
        gap: 11px;
        min-height: 46px;
        padding: 10px 12px;
        border: 1px solid #E9EDF4;
        border-radius: 11px;
        background: #fff;
        color: #344563;
        font-size: 12px;
        font-weight: 650;
        text-decoration: none;
    }

    .se-app-header .se-mobile-nav-list a:active {
        background: #EAF0FF;
    }

    /* Drawer Footer */

    .se-app-drawer-footer {
        margin-top: auto;
        padding: 17px 16px;
        border-top: 1px solid #E5EAF2;
        background: #fff;
    }

    .se-app-drawer-footer p {
        margin: 0 0 9px;
        color: #7C899E;
        font-size: 10px;
    }

    .se-app-footer-links {
        display: flex;
        gap: 17px;
    }

    .se-app-footer-links a {
        color: #2457C5;
        font-size: 11px;
        font-weight: 700;
        text-decoration: none;
    }

    /* Body Scroll Lock */

    body.se-menu-active {
        overflow: hidden;
        touch-action: none;
    }

}

/* Small Mobile */

@media (max-width: 380px) {

    .se-app-header .se-header-main-inner {
        min-height: 59px;
    }

    .se-app-header .se-brand-logo img {
        max-width: 145px;
        max-height: 38px;
    }

    .se-app-header .se-search-toggle,
    .se-app-header .se-menu-toggle {
        width: 39px;
        height: 39px;
    }

    .se-mobile-category-chip {
        min-height: 35px;
        padding: 0 10px;
        font-size: 11px;
    }

    .se-app-category-card {
        gap: 7px;
        padding: 9px;
    }

    .se-app-category-name {
        font-size: 10px;
    }

}

/* Reduced Motion */

@media (prefers-reduced-motion: reduce) {

    .se-app-header *,
    .se-app-header *::before,
    .se-app-header *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }

}


/* =========================================================
   FIX: DESKTOP DOUBLE NAVIGATION
========================================================= */

/* Desktop: Hide all mobile-only elements */

@media (min-width: 768px) {

    .se-mobile-controls,
    .se-mobile-search,
    .se-mobile-category-strip,
    .se-mobile-menu,
    .se-menu-backdrop {
        display: none !important;
    }

    /* Show only our custom desktop navigation */

    .se-desktop-nav {
        display: block !important;
    }

    /* Hide GeneratePress default navigation */

    body .main-navigation,
    body .secondary-navigation {
        display: none !important;
    }

}

/* Mobile: Hide desktop navigation */

@media (max-width: 767px) {

    .se-desktop-nav {
        display: none !important;
    }

    .se-topbar {
        display: none !important;
    }

}