/* WDC Universal Header Styles */

:root {
    --wdc-collapse-bp: 1024px;
}

.wdc-header-wrapper-f86fb035 {
    position: relative;
    width: 100%;
    z-index: 99;
}

/* Marquee */
.wdc-header-marquee-f86fb035 {
    overflow: hidden;
    white-space: nowrap;
    display: flex;
}

.wdc-marquee-track-f86fb035 {
    display: inline-flex;
    animation: wdc-marquee-scroll linear infinite;
    animation-duration: 20s;
}

.wdc-marquee-track-f86fb035.pause-on-hover:hover {
    animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
    .wdc-marquee-track-f86fb035 {
        animation: none;
        white-space: normal;
        flex-wrap: wrap;
        justify-content: center;
    }
}

.wdc-marquee-item-f86fb035 {
    padding: 0 2rem;
    font-size: 14px;
}

@keyframes wdc-marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Pill Container */
.wdc-header-pill-container-f86fb035 {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.wdc-header-pill-f86fb035 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* Automatic Responsive Width overrides */
.wdc-header-wrapper-f86fb035.wdc-auto-responsive .wdc-header-pill-container-f86fb035 {
    padding-left: 20px;
    padding-right: 20px;
}

.wdc-header-wrapper-f86fb035.wdc-auto-responsive .wdc-header-pill-f86fb035 {
    width: calc(100% - 40px);
    max-width: 1200px;
}

@media screen and (max-width: 1024px) {
    .wdc-header-wrapper-f86fb035.wdc-auto-responsive .wdc-header-pill-container-f86fb035 {
        padding-left: 16px;
        padding-right: 16px;
    }
    .wdc-header-wrapper-f86fb035.wdc-auto-responsive .wdc-header-pill-f86fb035 {
        width: calc(100% - 32px);
        max-width: none;
    }
}

.wdc-header-logo-f86fb035 {
    flex: 0 0 auto;
}

.wdc-header-logo-f86fb035 img {
    display: block;
    height: auto;
}

/* Desktop Nav */
.wdc-header-nav-desktop-f86fb035 {
    display: flex;
    flex: 0 1 auto;
    min-width: 0;
    justify-content: center;
}

.wdc-menu-placeholder-info {
    display: none;
}

.wdc-header-nav-desktop-f86fb035 .wdc-menu-f86fb035 {
    display: flex;
    flex-wrap: nowrap;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.wdc-header-nav-desktop-f86fb035 .wdc-menu-f86fb035 li {
    white-space: nowrap;
}

.wdc-header-nav-desktop-f86fb035 .wdc-menu-f86fb035 a {
    text-decoration: none;
    display: inline-block;
    transition: color 0.3s, background 0.3s, border-color 0.3s;
}

/* Actions & Hamburger */
.wdc-header-actions-f86fb035 {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.wdc-hamburger-btn-f86fb035 {
    background: none;
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

/* Button Item Override */
.wdc-menu-btn-f86fb035 {
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

/* Mobile Overlay Base */
.wdc-header-overlay-f86fb035 {
    position: fixed;
    top: 0;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    display: flex;
    flex-direction: column;
}

body.admin-bar .wdc-header-overlay-f86fb035 {
    top: var(--wp-admin--admin-bar--height, 32px);
}

.wdc-header-overlay-f86fb035.is-open {
    opacity: 1;
    visibility: visible;
}

/* Mobile Overlay - Fullscreen */
.wdc-header-overlay-f86fb035.wdc-menu-type-fullscreen {
    left: 0;
    width: 100vw;
    height: 100vh;
}
body.admin-bar .wdc-header-overlay-f86fb035.wdc-menu-type-fullscreen {
    height: calc(100vh - var(--wp-admin--admin-bar--height, 32px));
}

/* Mobile Overlay - Dropdown */
.wdc-header-overlay-f86fb035.wdc-menu-type-dropdown {
    position: absolute; /* relative to wrapper */
    top: 100%;
}

/* Animations */
.wdc-header-overlay-f86fb035.wdc-anim-fade {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.wdc-header-overlay-f86fb035.wdc-anim-slide-down {
    transform: translateY(-20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}
.wdc-header-overlay-f86fb035.wdc-anim-slide-down.is-open {
    transform: translateY(0);
}

.wdc-header-overlay-f86fb035.wdc-anim-slide-right {
    transform: translateX(-100%);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}
.wdc-header-overlay-f86fb035.wdc-anim-slide-right.is-open {
    transform: translateX(0);
}

.wdc-header-overlay-f86fb035.wdc-anim-slide-left {
    transform: translateX(100%);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}
.wdc-header-overlay-f86fb035.wdc-anim-slide-left.is-open {
    transform: translateX(0);
}

/* Overlay Structure */
.wdc-overlay-top-f86fb035 {
    display: flex;
    justify-content: flex-end;
    padding: 30px;
    flex: 0 0 auto;
}

.wdc-close-btn-f86fb035 {
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.wdc-overlay-content-f86fb035 {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.wdc-header-nav-mobile-f86fb035 .wdc-menu-f86fb035 {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.wdc-header-nav-mobile-f86fb035 .wdc-menu-f86fb035 a {
    text-decoration: none;
    display: inline-block;
    transition: color 0.3s;
}

/* Mobile Breakpoint via CSS Var injected from Elementor */
/* We default to 1024px, but use elementor injected breakpoint var for CSS */
@media screen and (max-width: 2000px) { /* Broad rule to let max-width be controlled via calc/vars */
    .wdc-header-wrapper-f86fb035 {
        /* Enable breakpoint switching */
    }
}

/* The magic responsive switch based on the breakpoint variable */
/* Elementor doesn't support complex CSS var media queries easily, so we output the breakpoint logic 
   using a container query approach if possible, or fallback to standard CSS with max-width */
/* We apply these strictly via the wrapper to ensure we target correctly */
.wdc-header-wrapper-f86fb035 {
    container-type: inline-size;
}

/* Hide mobile nav elements on desktop */
.wdc-hamburger-btn-f86fb035 { display: none; }
.wdc-header-nav-desktop-f86fb035 { display: flex; }

/* Apply mobile layout when screen is smaller than breakpoint var (requires JS or Elementor dynamic CSS, here we use a broad default and let Elementor inject specifics) */
@media screen and (max-width: 1024px) {
    /* We use 1024px as the default collapse breakpoint if the var trick fails */
    .wdc-header-wrapper-f86fb035 .wdc-header-nav-desktop-f86fb035 {
        display: none !important;
    }
    .wdc-header-wrapper-f86fb035 .wdc-hamburger-btn-f86fb035 {
        display: flex !important;
    }
}

/* Elementor dynamic breakpoint injected via inline style will override this */
