/* Wir Reinigen Premium Header & Footer - v2.3.0 */
.wrphf-header,
.wrphf-header *,
.wrphf-footer,
.wrphf-footer * {
    box-sizing: border-box;
}

.wrphf-header {
    --wrphf-navy: #113255;
    --wrphf-accent: #20a5d5;
    --wrphf-border: #dce8ef;
    --wrphf-muted: #6a8193;
    position: relative;
    z-index: 99990;
    width: 100%;
    max-width: 100%;
    color: var(--wrphf-navy);
    font-family: inherit;
    isolation: isolate;
}

.wrphf-header.wrphf-sticky {
    position: sticky;
    top: 0;
}

.admin-bar .wrphf-header.wrphf-sticky {
    top: 32px;
}

.wrphf-container,
.wrphf-footer-container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}

/* Top bar */
.wrphf-topbar {
    position: relative;
    z-index: 3;
    color: #fff;
    font-size: 13px;
    line-height: 1.35;
}

.wrphf-topbar-inner {
    display: flex;
    min-height: 40px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 5px 24px;
}

.wrphf-contact-list {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: clamp(14px, 2vw, 28px);
    font-weight: 700;
}

.wrphf-contact-item {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 8px;
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

.wrphf-contact-item svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    fill: currentColor;
}

.wrphf-contact-item span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Language switcher */
.wrphf-language {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 2px;
    padding: 4px;
    border: 1px solid rgba(17, 50, 85, 0.12);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(7, 39, 66, 0.13);
}

.wrphf-language-icon {
    display: inline-grid;
    width: 30px;
    height: 30px;
    place-items: center;
    color: #168bc0;
}

.wrphf-language-icon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.wrphf-language button {
    position: relative;
    min-width: 42px;
    min-height: 32px;
    margin: 0;
    padding: 6px 11px;
    border: 0;
    border-radius: 999px;
    color: var(--wrphf-navy);
    background: transparent;
    box-shadow: none;
    font: inherit;
    font-size: 12px;
    font-weight: 850;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.wrphf-language button:hover,
.wrphf-language button:focus-visible {
    color: #0b6f9d;
    background: #eaf7fc;
    outline: none;
}

.wrphf-language button.is-active {
    color: #fff;
    background: var(--wrphf-accent);
    box-shadow: 0 5px 14px rgba(26, 143, 205, 0.28);
}

@keyframes wrphf-language-button-click {
    0% { transform: scale(1); }
    50% { transform: scale(0.92); }
    100% { transform: scale(1); }
}

.wrphf-language button.wrphf-language-clicked {
    animation: wrphf-language-button-click 0.24s ease;
}

/* Main header */
.wrphf-mainbar {
    position: relative;
    z-index: 2;
    background: #fff;
    box-shadow: 0 10px 35px rgba(17, 50, 85, 0.07);
}

.wrphf-mainbar-inner {
    display: grid;
    grid-template-columns: minmax(100px, auto) minmax(0, 1fr) auto;
    min-height: 92px;
    align-items: center;
    gap: clamp(18px, 2.5vw, 42px);
}

.wrphf-logo {
    display: inline-flex;
    min-width: 0;
    max-width: 100%;
    align-items: center;
    gap: 12px;
    color: var(--wrphf-navy);
    text-decoration: none;
}

.wrphf-logo-image {
    display: block;
    max-width: 100%;
    height: auto;
    max-height: 92px;
    object-fit: contain;
}

.wrphf-logo-mark {
    display: inline-grid;
    width: 52px;
    height: 52px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 15px;
    color: #fff;
    background: linear-gradient(135deg, #113255, #1a9bd0);
    font-weight: 900;
    letter-spacing: -0.04em;
}

.wrphf-logo-copy {
    min-width: 0;
}

.wrphf-logo-copy strong,
.wrphf-logo-copy small {
    display: block;
}

.wrphf-logo-copy strong {
    font-size: 19px;
    line-height: 1.1;
}

.wrphf-logo-copy small {
    margin-top: 3px;
    color: var(--wrphf-muted);
    font-size: 10px;
    line-height: 1.2;
}

.wrphf-navigation {
    min-width: 0;
}

@media (min-width: 1101px) {
    .wrphf-header,
    .wrphf-mainbar,
    .wrphf-mainbar-inner,
    .wrphf-navigation,
    .wrphf-menu,
    .wrphf-menu-item {
        overflow: visible !important;
    }
}

.wrphf-header .wrphf-menu,
.wrphf-header .wrphf-submenu {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.wrphf-menu {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: 28px;
}

.wrphf-menu-item {
    position: relative;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
}

.wrphf-menu-item::before,
.wrphf-menu-item::marker,
.wrphf-submenu li::before,
.wrphf-submenu li::marker {
    display: none !important;
    content: none !important;
}

.wrphf-menu-link-row {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.wrphf-header .wrphf-menu-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 5px 0;
    border: 0;
    border-radius: 0;
    color: var(--wrphf-navy);
    background: transparent;
    box-shadow: none;
    font: inherit;
    font-weight: 750;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    appearance: none;
    transition: color 0.2s ease;
}

.wrphf-header .wrphf-menu-link:hover,
.wrphf-header .wrphf-menu-link:focus-visible {
    color: var(--wrphf-accent);
    background: transparent;
    outline: none;
}

.wrphf-header .wrphf-submenu-trigger {
    gap: 7px;
}

.wrphf-submenu-chevron {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
    fill: currentColor;
    transition: transform 0.2s ease;
}

.wrphf-has-submenu.is-submenu-open > .wrphf-menu-link-row .wrphf-submenu-chevron {
    transform: rotate(180deg);
}

/* Desktop dropdown */
.wrphf-header .wrphf-navigation .wrphf-submenu {
    position: absolute !important;
    top: 100% !important;
    left: 50% !important;
    z-index: 99999 !important;
    display: block !important;
    width: max-content !important;
    min-width: 275px !important;
    max-width: min(340px, calc(100vw - 32px)) !important;
    margin: 0 !important;
    padding: 10px !important;
    border: 1px solid rgba(17, 50, 85, 0.1) !important;
    border-radius: 16px !important;
    list-style: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    background: #fff !important;
    box-shadow: 0 22px 55px rgba(17, 50, 85, 0.17) !important;
    pointer-events: none !important;
    transform: translate(-50%, 10px) !important;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease !important;
}

.wrphf-submenu::before {
    position: absolute;
    top: -7px;
    left: 50%;
    width: 14px;
    height: 14px;
    border-top: 1px solid rgba(17, 50, 85, 0.1);
    border-left: 1px solid rgba(17, 50, 85, 0.1);
    content: "";
    background: inherit;
    transform: translateX(-50%) rotate(45deg);
}

.wrphf-header .wrphf-has-submenu.is-submenu-open > .wrphf-submenu {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translate(-50%, 0) !important;
}

.wrphf-submenu li {
    position: relative;
    margin: 0 !important;
    padding: 0 !important;
}

.wrphf-submenu a {
    position: relative;
    display: flex;
    min-height: 43px;
    align-items: center;
    padding: 9px 13px;
    border-radius: 10px;
    color: #173650;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.4;
    text-decoration: none;
    white-space: normal;
    transition: color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.wrphf-submenu a::before {
    display: none !important;
    content: none !important;
}

.wrphf-submenu a:hover,
.wrphf-submenu a:focus-visible {
    color: var(--wrphf-accent);
    background: rgba(32, 165, 213, 0.07);
    outline: none;
    transform: translateX(2px);
}

.wrphf-header-actions {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.wrphf-cta {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 12px 26px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: var(--wrphf-accent);
    box-shadow: 0 12px 28px rgba(26, 143, 205, 0.23);
    font-weight: 850;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.wrphf-cta:hover,
.wrphf-cta:focus-visible {
    color: #fff;
    filter: brightness(0.95);
    outline: none;
    box-shadow: 0 16px 34px rgba(26, 143, 205, 0.3);
    transform: translateY(-2px);
}

.wrphf-mobile-toggle {
    display: none;
    width: 46px;
    height: 44px;
    flex: 0 0 auto;
    margin: 0;
    padding: 8px;
    border: 1px solid var(--wrphf-border);
    border-radius: 12px;
    color: var(--wrphf-navy);
    background: #fff;
    box-shadow: none;
    cursor: pointer;
}

.wrphf-mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 4px auto;
    border-radius: 99px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.wrphf-header.is-menu-open .wrphf-mobile-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.wrphf-header.is-menu-open .wrphf-mobile-toggle span:nth-child(2) {
    opacity: 0;
}

.wrphf-header.is-menu-open .wrphf-mobile-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.wrphf-mobile-cta-item {
    display: none;
}

/* Footer */
.wrphf-footer {
    width: 100%;
    max-width: 100%;
    color: #dceaf3;
    background: #0d2c42;
    font-family: inherit;
}

.wrphf-footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(150px, 0.75fr) minmax(150px, 0.75fr) minmax(190px, 0.9fr);
    gap: clamp(32px, 4vw, 64px);
    padding-bottom: 50px;
}

.wrphf-footer-grid > * {
    min-width: 0;
}

.wrphf-footer-logo {
    display: flex;
    min-height: 70px;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.wrphf-footer-logo img {
    display: block;
    max-width: 100%;
    height: auto;
    max-height: 125px;
    object-fit: contain;
}

.wrphf-footer-logo strong {
    color: #fff;
    font-size: 20px;
}

.wrphf-footer p {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.75;
}

.wrphf-footer h3 {
    position: relative;
    margin: 0 0 22px;
    padding-bottom: 12px;
    color: #fff;
    font-size: 17px;
    line-height: 1.3;
}

.wrphf-footer h3::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 34px;
    height: 2px;
    border-radius: 99px;
    content: "";
    background: #40b4d8;
}

.wrphf-footer ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.wrphf-footer li {
    margin: 9px 0 !important;
    padding: 0 !important;
}

.wrphf-footer li::before,
.wrphf-footer li::marker {
    display: none !important;
    content: none !important;
}

.wrphf-footer a {
    color: inherit;
    text-decoration: none;
    transition: color 0.18s ease, transform 0.18s ease;
}

.wrphf-footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.wrphf-footer-links a::before {
    width: 5px;
    height: 5px;
    flex: 0 0 auto;
    border-radius: 50%;
    content: "";
    background: #40b4d8;
}

.wrphf-footer a:hover,
.wrphf-footer a:focus-visible {
    color: #40b4d8;
    outline: none;
}

.wrphf-footer-links a:hover,
.wrphf-footer-links a:focus-visible {
    transform: translateX(2px);
}

.wrphf-footer-address {
    white-space: pre-line;
}

.wrphf-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 23px;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    font-size: 12px;
    line-height: 1.5;
}

/* Tablet and mobile navigation */
@media (max-width: 1100px) {
    .wrphf-mainbar-inner {
        grid-template-columns: minmax(90px, 1fr) auto;
        min-height: 80px;
        gap: 16px;
    }

    .wrphf-navigation {
        position: absolute;
        top: calc(100% + 10px);
        right: 16px;
        left: 16px;
        z-index: 1000;
        max-height: min(72vh, 680px);
        overflow-x: hidden;
        overflow-y: auto;
        padding: 12px;
        border: 1px solid var(--wrphf-border);
        border-radius: 18px;
        visibility: hidden;
        opacity: 0;
        background: #fff;
        box-shadow: 0 24px 60px rgba(17, 50, 85, 0.2);
        pointer-events: none;
        transform: translateY(-8px);
        transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
        overscroll-behavior: contain;
    }

    .wrphf-header.is-menu-open .wrphf-navigation {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .wrphf-menu {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0 !important;
    }

    .wrphf-menu-item {
        width: 100%;
        border-bottom: 1px solid #edf3f6;
    }

    .wrphf-menu-link-row {
        width: 100%;
        justify-content: stretch;
    }

    .wrphf-menu-link {
        min-width: 0;
        min-height: 50px;
        flex: 1 1 auto;
        justify-content: flex-start;
        padding: 12px 13px;
        text-align: left;
        white-space: normal;
    }

    .wrphf-header .wrphf-submenu-trigger {
        width: 100%;
        justify-content: space-between;
    }

    .wrphf-header .wrphf-navigation .wrphf-submenu {
        position: static !important;
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        max-height: 0 !important;
        overflow: hidden !important;
        margin: 0 !important;
        padding: 0 8px !important;
        border: 0 !important;
        border-radius: 12px !important;
        visibility: hidden !important;
        opacity: 0 !important;
        background: #f6fafc !important;
        box-shadow: none !important;
        pointer-events: none !important;
        transform: none !important;
        transition: max-height 0.28s ease, padding 0.28s ease, margin 0.28s ease, opacity 0.18s ease !important;
    }

    .wrphf-submenu::before {
        display: none;
    }

    .wrphf-header .wrphf-has-submenu.is-submenu-open > .wrphf-submenu {
        max-height: 620px !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        margin-bottom: 10px !important;
        padding-top: 7px !important;
        padding-bottom: 7px !important;
        transform: none !important;
    }

    .wrphf-submenu a {
        min-height: 44px;
        padding: 9px 12px;
    }

    .wrphf-submenu a::before {
        display: none !important;
        content: none !important;
    }

    .wrphf-mobile-toggle {
        display: block;
    }

    .wrphf-mobile-cta-item {
        display: block;
        padding-top: 12px !important;
    }

    .wrphf-mobile-cta {
        width: 100%;
    }

    .wrphf-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

@media (max-width: 767px) {
    /* Mobile design: remove the complete contact/language top strip. */
    .wrphf-topbar {
        display: none !important;
    }
    .wrphf-topbar-inner {
        min-height: 42px;
        gap: 10px;
        padding: 5px 15px;
    }

    .wrphf-contact-list {
        flex: 1 1 auto;
        gap: 10px;
        font-size: 11px;
    }

    .wrphf-contact-address {
        display: none;
    }

    .wrphf-mainbar {
        padding-right: 15px !important;
        padding-left: 15px !important;
    }

    .wrphf-mainbar-inner {
        min-height: 72px;
    }

    .wrphf-logo-image {
        max-width: 112px;
        max-height: 66px;
    }

    .wrphf-header-actions {
        gap: 7px;
    }

    .wrphf-desktop-cta {
        display: none;
    }

    .wrphf-navigation {
        right: 10px;
        left: 10px;
        max-height: calc(100vh - 95px);
    }

    .wrphf-language {
        padding: 3px;
    }

    .wrphf-language-icon {
        width: 27px;
        height: 28px;
    }

    .wrphf-language button {
        min-width: 36px;
        min-height: 29px;
        padding: 5px 8px;
        font-size: 11px;
    }

    .wrphf-footer-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .wrphf-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 540px) {
    .wrphf-contact-email {
        display: none;
    }

    .wrphf-logo-copy {
        display: none;
    }

    .wrphf-language-topbar .wrphf-language-icon {
        display: none;
    }
}

@media (max-width: 380px) {
    .wrphf-contact-phone span:last-child {
        max-width: 118px;
    }

    .wrphf-language-mainbar .wrphf-language-icon {
        display: none;
    }

    .wrphf-language button {
        min-width: 33px;
        padding-right: 6px;
        padding-left: 6px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wrphf-header *,
    .wrphf-footer * {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================================
   v2.2.0 native WordPress menu hardening
   ========================================================== */

/* The HTML hidden attribute is the final source of truth. It prevents a
   submenu flash or a permanently visible list even when another stylesheet
   uses display:block!important on WordPress .sub-menu elements. */
.wrphf-header .wrphf-submenu[hidden] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.wrphf-header .wrphf-submenu:not([hidden]) {
    display: block !important;
}

.wrphf-header .wrphf-submenu-toggle {
    display: inline-grid;
    width: 32px;
    height: 38px;
    flex: 0 0 32px;
    place-items: center;
    margin: 0 0 0 2px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    color: var(--wrphf-navy);
    background: transparent;
    box-shadow: none;
    font: inherit;
    cursor: pointer;
    appearance: none;
    transition: color .18s ease, background-color .18s ease;
}

.wrphf-header .wrphf-submenu-toggle:hover,
.wrphf-header .wrphf-submenu-toggle:focus-visible {
    color: var(--wrphf-accent);
    background: rgba(32, 165, 213, .09);
    outline: none;
}

.wrphf-header .wrphf-has-submenu.is-submenu-open > .wrphf-menu-link-row .wrphf-submenu-toggle,
.wrphf-header .wrphf-has-submenu.is-submenu-open > .wrphf-menu-link-row .wrphf-parent-link {
    color: var(--wrphf-accent);
}

.wrphf-header .wrphf-menu-link-row > .wrphf-parent-link {
    min-width: 0;
}

.wrphf-language-globe {
    display: inline-grid;
    width: 30px;
    height: 30px;
    place-items: center;
    color: #168bc0;
    font-weight: 900;
}

@media (min-width: 1101px) {
    .wrphf-header .wrphf-has-submenu:hover > .wrphf-submenu:not([hidden]),
    .wrphf-header .wrphf-has-submenu:focus-within > .wrphf-submenu:not([hidden]) {
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: translate(-50%, 0) !important;
    }
}

@media (max-width: 1100px) {
    .wrphf-header .wrphf-menu-link-row {
        display: flex;
        align-items: center;
    }

    .wrphf-header .wrphf-menu-link-row > .wrphf-parent-link {
        flex: 1 1 auto;
        width: auto;
    }

    .wrphf-header .wrphf-submenu-toggle {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
        margin-left: 0;
        border-radius: 12px;
    }

    .wrphf-header .wrphf-navigation .wrphf-submenu:not([hidden]) {
        display: block !important;
        max-height: 680px !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        margin-bottom: 10px !important;
        padding-top: 7px !important;
        padding-bottom: 7px !important;
    }
}

/* Prevent legacy Elementor/theme list styling and horizontal overflow. */
.wrphf-header .wrphf-menu,
.wrphf-header .wrphf-submenu,
.wrphf-header .wrphf-menu li,
.wrphf-header .wrphf-submenu li {
    list-style: none !important;
}

.wrphf-header .wrphf-menu li::marker,
.wrphf-header .wrphf-submenu li::marker,
.wrphf-header .wrphf-menu li::before,
.wrphf-header .wrphf-submenu li::before {
    content: none !important;
    display: none !important;
}

.wrphf-header,
.wrphf-header .wrphf-mainbar,
.wrphf-header .wrphf-container {
    max-width: 100%;
}

@media (max-width: 1100px) {
    .wrphf-header .wrphf-navigation {
        max-width: calc(100vw - 32px);
    }
}

.wrphf-mobile-cta-wrap {
    display: none;
}

@media (max-width: 1100px) {
    .wrphf-mobile-cta-wrap {
        display: block;
        padding-top: 12px;
    }

    .wrphf-mobile-cta-wrap .wrphf-mobile-cta {
        width: 100%;
    }
}

/* ==========================================================
   v2.2.0 cache/theme conflict hardening
   ========================================================== */

/* Elementor containers must not clip the desktop dropdown. */
.elementor-widget-wrhf_header,
.elementor-widget-wrhf_header > .elementor-widget-container,
.elementor-widget-wrhf_header .e-con-inner {
    overflow: visible !important;
}

/* New markup and cached legacy markup receive the same reset. */
.wrphf-header :is(.wrphf-menu, .wrphf-submenu, .sub-menu),
.wrhfl-header :is(.wrhfl-menu, .wrhfl-submenu, .sub-menu) {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.wrphf-header :is(.wrphf-menu, .wrphf-submenu, .sub-menu) > li,
.wrhfl-header :is(.wrhfl-menu, .wrhfl-submenu, .sub-menu) > li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.wrphf-header :is(.wrphf-menu, .wrphf-submenu, .sub-menu) > li::before,
.wrphf-header :is(.wrphf-menu, .wrphf-submenu, .sub-menu) > li::marker,
.wrhfl-header :is(.wrhfl-menu, .wrhfl-submenu, .sub-menu) > li::before,
.wrhfl-header :is(.wrhfl-menu, .wrhfl-submenu, .sub-menu) > li::marker {
    display: none !important;
    content: none !important;
}

/* Closed state wins over themes that force .sub-menu display:block. */
.wrphf-header [data-wrphf-submenu][hidden],
.wrphf-header .wrphf-submenu[hidden],
.wrphf-header .sub-menu[hidden],
.wrhfl-header .wrhfl-submenu[hidden],
.wrhfl-header .sub-menu[hidden] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

@media (min-width: 1101px) {
    .wrphf-header .wrphf-menu-item,
    .wrphf-header .menu-item-has-children,
    .wrhfl-header .wrhfl-menu-item,
    .wrhfl-header .menu-item-has-children {
        position: relative !important;
    }

    .wrphf-header .wrphf-navigation :is(.wrphf-submenu, .sub-menu),
    .wrhfl-header .wrhfl-navigation :is(.wrhfl-submenu, .sub-menu),
    .wrhfl-header .wrhfl-nav :is(.wrhfl-submenu, .sub-menu) {
        position: absolute !important;
        top: calc(100% + 8px) !important;
        right: auto !important;
        bottom: auto !important;
        left: 50% !important;
        z-index: 2147483000 !important;
        width: max-content !important;
        min-width: 260px !important;
        max-width: min(340px, calc(100vw - 32px)) !important;
        height: auto !important;
        max-height: min(70vh, 520px) !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        margin: 0 !important;
        padding: 10px !important;
        border: 1px solid rgba(17, 50, 85, .12) !important;
        border-radius: 14px !important;
        background: #fff !important;
        box-shadow: 0 22px 55px rgba(17, 50, 85, .18) !important;
        transform: translateX(-50%) !important;
    }

    .wrphf-header .wrphf-navigation :is(.wrphf-submenu, .sub-menu) a,
    .wrhfl-header :is(.wrhfl-navigation, .wrhfl-nav) :is(.wrhfl-submenu, .sub-menu) a {
        display: flex !important;
        min-height: 42px !important;
        align-items: center !important;
        padding: 9px 13px !important;
        border: 0 !important;
        border-radius: 9px !important;
        color: #173650 !important;
        background: transparent !important;
        line-height: 1.35 !important;
        text-decoration: none !important;
        white-space: normal !important;
    }

    .wrphf-header .wrphf-navigation :is(.wrphf-submenu, .sub-menu) a:hover,
    .wrphf-header .wrphf-navigation :is(.wrphf-submenu, .sub-menu) a:focus-visible,
    .wrhfl-header :is(.wrhfl-navigation, .wrhfl-nav) :is(.wrhfl-submenu, .sub-menu) a:hover,
    .wrhfl-header :is(.wrhfl-navigation, .wrhfl-nav) :is(.wrhfl-submenu, .sub-menu) a:focus-visible {
        color: #168fc5 !important;
        background: rgba(32, 165, 213, .08) !important;
        outline: none !important;
    }
}

@media (max-width: 1100px) {
    .wrphf-header .wrphf-navigation :is(.wrphf-submenu, .sub-menu),
    .wrhfl-header :is(.wrhfl-navigation, .wrhfl-nav) :is(.wrhfl-submenu, .sub-menu) {
        position: static !important;
        inset: auto !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 6px 0 8px 14px !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        transform: none !important;
    }
}

/* Cached v2.0/v2.0.1 Elementor output did not contain hidden attributes. */
.wrhfl-header .wrhfl-submenu,
.wrhfl-header .wrhfl-nav .sub-menu,
.wrphf-header .wrphf-navigation .sub-menu:not(.wrphf-submenu) {
    display: none !important;
}

.wrhfl-header .wrhfl-has-submenu.is-submenu-open > .wrhfl-submenu,
.wrhfl-header .menu-item-has-children.is-submenu-open > .sub-menu,
.wrphf-header .menu-item-has-children.is-submenu-open > .sub-menu {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* ==========================================================
   v2.3.0 requested visual fixes
   ========================================================== */

/* Remove decorative blue dots from every submenu item, including cached
   legacy Elementor/WordPress menu markup and theme-generated pseudo-elements. */
.wrphf-header .wrphf-navigation :is(.wrphf-submenu, .sub-menu) > li > a::before,
.wrphf-header .wrphf-navigation :is(.wrphf-submenu, .sub-menu) > li > a::after,
.wrhfl-header :is(.wrhfl-navigation, .wrhfl-nav) :is(.wrhfl-submenu, .sub-menu) > li > a::before,
.wrhfl-header :is(.wrhfl-navigation, .wrhfl-nav) :is(.wrhfl-submenu, .sub-menu) > li > a::after {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    content: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

.wrphf-header .wrphf-navigation :is(.wrphf-submenu, .sub-menu) > li > a,
.wrhfl-header :is(.wrhfl-navigation, .wrhfl-nav) :is(.wrhfl-submenu, .sub-menu) > li > a {
    padding-left: 13px !important;
}

@media (max-width: 767px) {
    .wrphf-header .wrphf-topbar,
    .wrhfl-header .wrhfl-topbar {
        display: none !important;
    }
}
