.slm-header-v2 {
    --slm-navy: #00002b;
    --slm-cloud: #f5f5f5;
    --slm-muted: #404040;
    --slm-line: #c0c0c0;
    --slm-gold-signal: linear-gradient(135deg,#ecc073 0%,#f7e7b2 50%,#ecc073 100%);
    --slm-gold-cta: linear-gradient(180deg,#f7e7b2 0%,#ecc073 60%,#ecc073 100%);
    position: relative;
    z-index: 9999;
    background: var(--slm-navy);
    color: white;
    font-family: Inter, sans-serif;
    padding: 0 !important;
}
.slm-header-v2 *, .slm-header-v2 *::before, .slm-header-v2 *::after { box-sizing: border-box; border-radius: 0 !important; }
.slm-header-v2 .slm-header-row {
    width: 100%; max-width: 1600px; min-height: 88px; padding: 0 36px !important; margin: auto;
    display: flex; align-items: center; justify-content: space-between; gap: 24px; position: static;
}
.slm-header-v2 .slm-header-brand { flex: 0 0 200px; width: 200px !important; margin: 0 !important; }
.slm-header-v2 .slm-header-brand img { display: block; width: 200px; height: auto; }
.slm-header-v2 .slm-header-nav { flex: 0 1 auto; width: auto !important; margin: 0 !important; position: static; }
.slm-header-v2 .et_pb_module, .slm-header-v2 .et_pb_code_inner { margin: 0 !important; position: static; }
.slm-header-v2 #mega-menu-wrap-slm_mega_v2 { position: static; background: transparent; clear: none; }
.slm-header-v2 #mega-menu-wrap-slm_mega_v2 #mega-menu-slm_mega_v2 {
    display: flex; align-items: center; justify-content: flex-end; gap: 28px; position: static;
}
.slm-header-v2 #mega-menu-wrap-slm_mega_v2 #mega-menu-slm_mega_v2 > li.mega-menu-item { margin: 0; position: static; }
.slm-header-v2 #mega-menu-wrap-slm_mega_v2 #mega-menu-slm_mega_v2 > li > a.mega-menu-link {
    white-space: nowrap; font-size: 15px; font-weight: 500; padding: 0; color: white; background: transparent;
}
.slm-header-v2 #mega-menu-wrap-slm_mega_v2 #mega-menu-slm_mega_v2 > li.mega-toggle-on > a.mega-menu-link {
    background: var(--slm-gold-signal) left bottom / 100% 3px no-repeat;
}
.slm-header-v2 #mega-menu-wrap-slm_mega_v2 #mega-menu-slm_mega_v2 > li.slm-book-cta > a.mega-menu-link,
.slm-header-v2 #mega-menu-wrap-slm_mega_v2 #mega-menu-slm_mega_v2 > li.mega-slm-book-cta > a.mega-menu-link {
    background: var(--slm-gold-cta); color: var(--slm-navy); padding: 0 14px; font-weight: 700;
}
.slm-header-v2 #mega-menu-wrap-slm_mega_v2 #mega-menu-slm_mega_v2 > li.mega-menu-megamenu > ul.mega-sub-menu {
    left: 50% !important; right: auto !important; top: calc(100% + 8px) !important;
    transform: translateX(-50%) !important; width: min(1320px, calc(100vw - 72px)) !important;
    padding: 0; background: white; border: 2px solid var(--slm-navy); box-shadow: none;
    max-height: calc(100dvh - 104px); overflow-y: auto;
}
.slm-header-v2 #mega-menu-wrap-slm_mega_v2 #mega-menu-slm_mega_v2 > li.mega-menu-megamenu > ul.mega-sub-menu::before {
    content: ''; display: block; position: absolute; inset: 0 0 auto; width: 100%; height: 3px; background: var(--slm-gold-signal);
}
.slm-header-v2 #mega-menu-wrap-slm_mega_v2 #mega-menu-slm_mega_v2 > li > ul.mega-sub-menu > li.mega-menu-item { width: 100%; padding: 0; }
.slm-header-v2 #mega-menu-wrap-slm_mega_v2 #mega-menu-slm_mega_v2 :is(a,button):focus-visible,
.slm-header-v2 #mega-menu-wrap-slm_mega_v2 .mega-menu-toggle button:focus-visible { outline: 3px solid currentColor !important; outline-offset: 4px !important; }
.slm-header-v2 #mega-menu-wrap-slm_mega_v2 #mega-menu-slm_mega_v2 .slm-feature:focus-visible { outline-color: var(--slm-navy) !important; }
.slm-header-v2 #mega-menu-wrap-slm_mega_v2 #mega-menu-slm_mega_v2 > li > a.mega-menu-link:focus-visible { outline-color: white !important; }
.slm-header-v2 svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; flex-shrink: 0; }
.slm-header-v2 .slm-panel { display: grid; grid-template-columns: var(--slm-features-width,420px) minmax(0,1fr); gap: 40px; padding: 18px 32px 24px; color: var(--slm-navy); font: 18px/1.55 Inter,sans-serif; }
.slm-header-v2 .slm-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; align-self: start; }
.slm-header-v2 .slm-feature { display: flex; flex-direction: column; align-self: start; min-width: 0; border: 2px solid var(--slm-navy); background: var(--slm-navy); color: white; text-decoration: none; }
.slm-header-v2 .slm-feature-image { position: relative; aspect-ratio: 1 / 1; flex: none; width: 100%; height: auto; padding: 12px; background: white; display: flex; justify-content: center; align-items: center; }
.slm-header-v2 .slm-feature-image img { position: absolute; inset: 0; padding: inherit; width: 100%; height: 100%; object-fit: contain; display: block; }
.slm-header-v2 .slm-feature-copy { min-height: 0; aspect-ratio: 1 / 1; flex: none; width: 100%; padding: 14px; display: flex; flex-direction: column; }
.slm-header-v2 .slm-eyebrow { display: block; font-size: 15px; font-weight: 600; letter-spacing: 1.1px; line-height: 1.4; }
.slm-header-v2 .slm-feature h3 { color: inherit; font: 400 26px/1.08 'Bebas Neue',sans-serif; margin: 8px 0 12px; padding: 0; }
.slm-header-v2 .slm-feature-action { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 14px; }
.slm-header-v2 .slm-feature-action svg { width: 22px; height: 22px; }
.slm-header-v2 .slm-feature-course, .slm-header-v2 .slm-feature-course .slm-feature-copy { background: white; color: var(--slm-navy); }
.slm-header-v2 .slm-feature-course .slm-feature-copy { flex: none; }
.slm-header-v2 .slm-feature-course .slm-feature-image { background: var(--slm-navy); padding: 24px 16px; }
.slm-header-v2 .slm-link-zone { align-self: start; }
.slm-header-v2 .slm-panel-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.slm-header-v2 .slm-panel-heading h2 { color: var(--slm-navy); font: 400 52px/.95 'Bebas Neue',sans-serif; margin: 10px 0 20px; padding: 0; }
.slm-header-v2 .slm-panel-close { width: 44px; height: 44px; padding: 9px; border: 1px solid var(--slm-line); background: white; color: var(--slm-navy); cursor: pointer; }
.slm-header-v2 .slm-panel-links { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.slm-header-v2 .slm-panel-protips .slm-panel-links { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
.slm-header-v2 .slm-panel-link { padding: 0; border-bottom: 1px solid var(--slm-line); list-style: none; }
.slm-header-v2 .slm-panel-link a { display: flex; align-items: flex-start; gap: 9px; min-height: 72px; padding: 23px 0; color: var(--slm-navy); font-size: 18px; line-height: 1.4; text-decoration: none; }
.slm-header-v2 .slm-panel-protips .slm-panel-link:first-child { grid-column: 1 / -1; }
.slm-header-v2 .slm-panel-protips .slm-panel-link:first-child a { min-height: 44px; padding: 0 0 15px; }
.slm-header-v2 .slm-link-title { font-weight: 600; }
.slm-header-v2 .slm-panel-link:not(.slm-topic) .slm-link-title { font-weight: 500; }
.slm-header-v2 .slm-link-description { display: block; font-size: 18px; line-height: 1.55; margin-top: 8px; color: var(--slm-muted); }
.slm-header-v2 .slm-topic-number { font: 400 22px/1.2 'Bebas Neue',sans-serif; }
.slm-header-v2 .slm-panel-link a:hover .slm-link-title, .slm-header-v2 .slm-feature:hover .slm-feature-action { text-decoration: underline; text-underline-offset: 5px; }
@media (min-width: 1101px) and (max-width: 1320px) {
    .slm-header-v2 .slm-header-row { gap: 14px; padding: 0 22px !important; }
    .slm-header-v2 .slm-header-brand { flex-basis: 170px; width: 170px !important; }
    .slm-header-v2 .slm-header-brand img { width: 170px; }
    .slm-header-v2 #mega-menu-wrap-slm_mega_v2 #mega-menu-slm_mega_v2 { gap: 17px; }
}
@media (max-width: 1100px) {
    .slm-header-v2 .slm-header-row { min-height: 78px; padding: 0 20px !important; }
    .slm-header-v2 .slm-header-brand { flex-basis: 190px; width: 190px !important; }
    .slm-header-v2 .slm-header-brand img { width: 190px; }
    .slm-header-v2 .slm-header-nav { flex: 0 0 46px; }
    .slm-header-v2 #mega-menu-wrap-slm_mega_v2 .mega-menu-toggle { width: 46px; border: 1px solid #707072; }
    .slm-header-v2 #mega-menu-wrap-slm_mega_v2 #mega-menu-slm_mega_v2 {
        display: none; position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100dvh - 78px);
        overflow-y: auto; background: white; padding: 16px 20px; border: 2px solid var(--slm-navy);
    }
    .slm-header-v2 #mega-menu-wrap-slm_mega_v2 .mega-menu-toggle.mega-menu-open + #mega-menu-slm_mega_v2 { display: block; }
    .slm-header-v2 #mega-menu-wrap-slm_mega_v2 #mega-menu-slm_mega_v2 > li > a.mega-menu-link { color: var(--slm-navy); min-height: 52px; border-bottom: 1px solid var(--slm-line); }
    .slm-header-v2 #mega-menu-wrap-slm_mega_v2 #mega-menu-slm_mega_v2 > li > a.mega-menu-link:focus-visible { outline-color: var(--slm-navy) !important; }
    .slm-header-v2 #mega-menu-wrap-slm_mega_v2 #mega-menu-slm_mega_v2 > li:is(.slm-book-cta,.mega-slm-book-cta) { margin-top: 18px; }
    .slm-header-v2 #mega-menu-wrap-slm_mega_v2 #mega-menu-slm_mega_v2 > li:is(.slm-book-cta,.mega-slm-book-cta) > a.mega-menu-link,
    .slm-header-v2 #mega-menu-wrap-slm_mega_v2 #mega-menu-slm_mega_v2 > li:last-child > a.mega-menu-link { display: flex; justify-content: center; align-items: center; border: 0; }
    .slm-header-v2 #mega-menu-wrap-slm_mega_v2 #mega-menu-slm_mega_v2 > li.mega-menu-megamenu > ul.mega-sub-menu {
        position: relative !important; left: auto !important; top: auto !important; transform: none !important;
        width: 100% !important; border: 1px solid var(--slm-navy); margin: 14px 0; max-height: none; overflow: visible;
    }
    .slm-header-v2 #mega-menu-wrap-slm_mega_v2 #mega-menu-slm_mega_v2 > li.mega-menu-megamenu > ul.mega-sub-menu::before { height: 2px; }
    .slm-header-v2 .slm-panel { display: flex; flex-direction: column; gap: 18px; padding: 12px 14px 18px; }
    .slm-header-v2 .slm-link-zone { order: 0; }
    .slm-header-v2 .slm-features { order: 1; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; width: 100%; max-width: 480px; }
    .slm-header-v2 .slm-feature { display: flex; flex-direction: column; }
    .slm-header-v2 .slm-panel-heading h2 { font-size: 40px; }
    .slm-header-v2 .slm-panel-protips .slm-panel-links { display: block; }
    .slm-header-v2 .slm-panel-link a { min-height: 56px; padding: 14px 0; align-items: center; }
    .slm-header-v2 .slm-link-description, .slm-header-v2 .slm-panel-close { display: none; }
    .slm-header-v2 .slm-feature-image { height: auto; aspect-ratio: 1 / 1; padding: 5px; }
    .slm-header-v2 .slm-feature-course .slm-feature-image { padding: 12px; }
    .slm-header-v2 .slm-feature-copy { padding: clamp(8px,2vw,14px); }
    .slm-header-v2 .slm-feature h3 { font-size: clamp(18px,4.6vw,27px); margin: 5px 0 6px; }
    .slm-header-v2 .slm-feature .slm-eyebrow { font-size: clamp(11px,2.6vw,14px); letter-spacing: .5px; }
    .slm-header-v2 .slm-feature-action { font-size: clamp(11px,2.8vw,14px); gap: 3px; line-height: 1.4; }
    .slm-header-v2 .slm-feature-action svg { width: 16px; height: 16px; }
}

/* Divi adds a clearfix pseudo-element; it must not become a third flex item. */
.slm-header-v2 .slm-header-row::after { display: none !important; }

body.admin-bar .slm-header-v2 { top: 0; }
@media(max-width:1100px) { body.admin-bar .slm-header-v2 #mega-menu-wrap-slm_mega_v2 #mega-menu-slm_mega_v2 { max-height: calc(100dvh - 110px); } }
@media(max-width:782px) { body.admin-bar .slm-header-v2 { top: 0; } body.admin-bar .slm-header-v2 #mega-menu-wrap-slm_mega_v2 #mega-menu-slm_mega_v2 { max-height: calc(100dvh - 124px); } }
@media(max-width:600px) { body.admin-bar .slm-header-v2 { top: 0; } }
