.dklh-header-wrap,
.dklh-header-wrap * { box-sizing: border-box; }

.dklh-header-wrap {
    position: relative;
    z-index: 50;
    width: 100%;
    font-family: inherit;
}

.dklh-header-wrap.dklh-sticky {
    position: sticky;
    top: 0;
}

body.admin-bar .dklh-header-wrap.dklh-sticky { top: 32px; }

.dklh-header {
    position: relative;
    width: 100%;
    min-height: 102px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: visible;
    isolation: isolate;
}

.dklh-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(26, 34, 43, .42);
    pointer-events: none;
}

.dklh-inner {
    position: relative;
    width: 100%;
    max-width: 1180px;
    min-height: inherit;
    margin: 0 auto;
    padding: 0 54px;
    display: grid;
    grid-template-columns: minmax(86px,1fr) auto minmax(86px,1fr);
    align-items: center;
    gap: 24px;
}

.dklh-desktop-brand,
.dklh-mobile-brand {
    text-decoration: none;
    outline: none;
}

.dklh-desktop-brand {
    justify-self: start;
    display: inline-flex;
    align-items: center;
}

.dklh-logo-shell {
    flex: 0 0 auto;
    display: inline-grid;
    place-items: center;
    width: auto;
    height: auto;
    padding: 4px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,.12);
}

.dklh-logo-image {
    display: block;
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 50%;
}

.dklh-desktop-nav {
    justify-self: center;
    min-height: 48px;
    display: flex;
    align-items: center;
    background: rgba(48,55,65,.48);
    border: 1px solid rgba(255,255,255,.92);
    border-radius: 34px;
    padding: 0 17px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 8px 24px rgba(0,0,0,.08);
}

.dklh-desktop-menu,
.dklh-mobile-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dklh-desktop-menu {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.dklh-desktop-menu > li { margin: 0; padding: 0; position: relative; }

.dklh-desktop-menu a {
    display: block;
    padding: 13px 14px;
    border-radius: 24px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.dklh-desktop-menu a:hover,
.dklh-desktop-menu a:focus {
    background: rgba(255,255,255,.12);
    color: #fff;
    outline: none;
}

.dklh-desktop-menu .sub-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 190px;
    margin: 0;
    padding: 8px;
    list-style: none;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 18px;
    background: rgba(28,35,44,.96);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: .2s ease;
}

.dklh-desktop-menu li:hover > .sub-menu,
.dklh-desktop-menu li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.dklh-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.9);
    border-radius: 30px;
    background: rgba(67,77,89,.44);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    padding: 10px 20px;
    transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.dklh-action:hover,
.dklh-action:focus {
    color: inherit;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0,0,0,.12);
    outline: none;
}

.dklh-desktop-action { justify-self: end; }
.dklh-action-spacer { display:block; min-width: 70px; }

.dklh-mobile-brand,
.dklh-toggle,
.dklh-mobile-panel { display: none; }

/* JS applies this class according to the Elementor control. */
.dklh-header-wrap.dklh-is-mobile .dklh-inner {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.dklh-header-wrap.dklh-is-mobile .dklh-desktop-brand,
.dklh-header-wrap.dklh-is-mobile .dklh-desktop-nav,
.dklh-header-wrap.dklh-is-mobile .dklh-desktop-action,
.dklh-header-wrap.dklh-is-mobile .dklh-action-spacer {
    display: none;
}

.dklh-header-wrap.dklh-is-mobile .dklh-mobile-brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    max-width: calc(100% - 64px);
    min-height: 48px;
    padding: 4px 14px 4px 5px;
    border: 1px solid rgba(255,255,255,.85);
    border-radius: 999px;
    background: rgba(66,76,87,.45);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.dklh-header-wrap.dklh-is-mobile .dklh-mobile-brand .dklh-logo-shell { padding: 3px; }

.dklh-brand-text {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

.dklh-header-wrap.dklh-is-mobile .dklh-toggle {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.9);
    border-radius: 50%;
    background: rgba(67,77,89,.44);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.dklh-hamburger {
    width: 20px;
    height: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.dklh-hamburger span {
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transform-origin: center;
    transition: transform .22s ease, opacity .18s ease;
}

.dklh-header-wrap.dklh-menu-open .dklh-hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.dklh-header-wrap.dklh-menu-open .dklh-hamburger span:nth-child(2) { opacity: 0; }
.dklh-header-wrap.dklh-menu-open .dklh-hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.dklh-header-wrap.dklh-is-mobile .dklh-mobile-panel {
    display: block;
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 70;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    padding: 0 18px;
    border-top: 1px solid rgba(255,255,255,.08);
    background: rgba(28,35,44,.96);
    opacity: 0;
    transform: translateY(-8px);
    transition: max-height .32s ease, padding .32s ease, opacity .2s ease, transform .22s ease;
    box-shadow: 0 18px 36px rgba(0,0,0,.18);
}

.dklh-header-wrap.dklh-is-mobile.dklh-menu-open .dklh-mobile-panel {
    max-height: 75vh;
    overflow-y: auto;
    padding-top: 12px;
    padding-bottom: 18px;
    opacity: 1;
    transform: translateY(0);
}

.dklh-mobile-menu li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.dklh-mobile-menu li:last-child { border-bottom: 0; }

.dklh-mobile-menu a {
    display: block;
    padding: 14px 4px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.25;
    text-decoration: none;
}

.dklh-mobile-menu .sub-menu {
    list-style: none;
    margin: 0;
    padding: 0 0 6px 14px;
}

.dklh-mobile-menu .sub-menu a { padding: 10px 4px; font-size: 14px; opacity: .9; }
.dklh-mobile-action { margin-top: 16px; width: 100%; }

/* Fallback before JS runs. */
@media (max-width: 767px) {
    .dklh-inner {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        padding-left: 12px;
        padding-right: 12px;
    }
    .dklh-desktop-brand,
    .dklh-desktop-nav,
    .dklh-desktop-action,
    .dklh-action-spacer { display: none; }
    .dklh-mobile-brand {
        display: inline-flex;
        align-items: center;
        gap: 9px;
        max-width: calc(100% - 64px);
        min-height: 48px;
        padding: 4px 14px 4px 5px;
        border: 1px solid rgba(255,255,255,.85);
        border-radius: 999px;
        background: rgba(66,76,87,.45);
    }
    .dklh-toggle {
        display: inline-grid;
        place-items: center;
        width: 48px;
        height: 48px;
        border: 1px solid rgba(255,255,255,.9);
        border-radius: 50%;
        background: rgba(67,77,89,.44);
    }
}

@media (max-width: 782px) {
    body.admin-bar .dklh-header-wrap.dklh-sticky { top: 46px; }
}

@media (prefers-reduced-motion: reduce) {
    .dklh-header-wrap *,
    .dklh-header-wrap *::before,
    .dklh-header-wrap *::after { transition: none !important; scroll-behavior: auto !important; }
}
