/* WLU Gutenberg Editable Header */
.wlu-geh-rendered-header,
.wlu-geh-rendered-header * {
    box-sizing: border-box;
}

.wlu-geh-rendered-header {
    position: sticky;
    top: 0;
    z-index: 99999;
    width: 100%;
}

.admin-bar .wlu-geh-rendered-header {
    top: 32px;
}

.wlu-geh-rendered-header a,
.wlu-geh-header a {
    color: inherit;
    text-decoration: none !important;
}

.wlu-geh-header {
    width: 100%;
    font-family: Inter, Arial, sans-serif;
}

.wlu-geh-container {
    width: min(var(--wlu-geh-width, 1640px), calc(100% - 76px));
    margin-left: auto !important;
    margin-right: auto !important;
}

.wlu-geh-topbar {
    min-height: 42px;
}

.wlu-geh-topbar-row {
    min-height: 42px;
}

.wlu-topbar-right a {
    color: #e5a944;
}

.wlu-geh-mainnav {
    min-height: 94px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, .05);
}

.wlu-geh-main-row {
    min-height: 60px;
    align-items: center !important;
}

.wlu-brand {
    align-items: center !important;
}

.wlu-logo-circle {
    width: 48px !important;
    max-width: 48px !important;
    flex: 0 0 48px;
}

.wlu-nav-row {
    align-items: center !important;
    gap: 6px !important;
    position: relative;
    overflow: visible !important;
}

.wlu-nav-pill {
    padding: 15px 15px;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
    margin: 0 !important;
}

.wlu-nav-pill:hover,
.wlu-nav-pill.wlu-active,
.wlu-has-mega:hover {
    background: #f3ecdf;
}

.wlu-has-mega {
    position: relative;
}

.wlu-mega-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: -190px;
    width: 860px;
    background: #ffffff;
    border: 1px solid #eef2f5;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .18);
    z-index: 100000;
    margin: 0 !important;
}

.wlu-has-mega:hover > .wlu-mega-panel {
    display: block;
}

.wlu-mega-grid {
    margin: 0 !important;
    gap: 0 !important;
    align-items: stretch !important;
}

.wlu-mega-tabs {
    background: #eef7f1;
    padding: 0 !important;
}

.wlu-mega-tab {
    min-height: 58px;
    padding: 19px 22px;
    display: block;
    color: #12263d;
}

.wlu-mega-tab a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wlu-mega-tab.is-active,
.wlu-mega-tab:hover {
    background: #bdf3d2;
    color: #0d3b21;
}

.wlu-mega-list {
    padding: 22px 28px 0 28px !important;
    background: #ffffff;
}

.wlu-mega-heading {
    margin: 0 0 22px 0 !important;
    padding: 0 0 12px 0;
    border-bottom: 1px solid #edf1f5;
    color: #5c6f86;
    font-size: 14px !important;
    font-weight: 800 !important;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    font-family: Inter, Arial, sans-serif !important;
}

.wlu-mega-links,
.wlu-levels-links {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.wlu-mega-links li {
    margin: 0 0 18px 0 !important;
    padding: 0 !important;
    color: #22364f;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.35;
}

.wlu-mega-links li:hover,
.wlu-levels-links li:hover,
.wlu-mega-footer:hover {
    color: #0f6a3c;
}

.wlu-mega-footer {
    margin: 0 !important;
    padding: 16px 28px 18px 28px;
    border-top: 1px solid #edf1f5;
    color: #0f6a3c;
    font-size: 15px;
    font-weight: 800;
    background: #fff;
}

.wlu-levels-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: -70px;
    width: 380px;
    background: #ffffff;
    border: 1px solid #eef2f5;
    border-radius: 0 0 10px 10px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .18);
    z-index: 100000;
    margin: 0 !important;
}

.wlu-has-mega:hover > .wlu-levels-panel {
    display: block;
}

.wlu-levels-links li {
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid #edf1f5;
}

.wlu-levels-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    color: #22364f;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.35;
}

.wlu-call-button .wp-block-button__link {
    box-shadow: 0 4px 8px rgba(15, 23, 42, .2);
}

.block-editor-page .wlu-geh-rendered-header,
.editor-styles-wrapper .wlu-geh-header {
    position: relative !important;
    top: auto !important;
}

.editor-styles-wrapper .wlu-mega-panel,
.editor-styles-wrapper .wlu-levels-panel {
    display: block !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    margin-top: 12px !important;
}

@media (max-width: 1200px) {
    .wlu-geh-container {
        width: min(var(--wlu-geh-width, 1640px), calc(100% - 32px));
    }

    .wlu-geh-main-row {
        gap: 16px !important;
    }

    .wlu-logo-col,
    .wlu-menu-col,
    .wlu-call-col {
        flex-basis: 100% !important;
    }

    .wlu-nav-row {
        justify-content: center !important;
        flex-wrap: wrap !important;
    }

    .wlu-mega-panel,
    .wlu-levels-panel {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        margin-top: 8px !important;
    }

    .wlu-has-mega:hover > .wlu-mega-panel,
    .wlu-has-mega:hover > .wlu-levels-panel {
        display: block;
    }

    .wlu-mega-grid {
        flex-direction: column;
    }

    .wlu-mega-grid > .wp-block-column {
        flex-basis: 100% !important;
    }
}

@media (max-width: 782px) {
    .admin-bar .wlu-geh-rendered-header {
        top: 46px;
    }
}
