/* WUC Nav Styles */
:root{--wuc-navy:#1B3F6E;--wuc-sky:#2AACE2;--wuc-teal:#1B8FAA;--wuc-orange:#F07842;--wuc-orange2:#D9622E;--wuc-ink:#111827;--wuc-slate:#4B5F6E;--wuc-mist:#7F97A8;--wuc-sand:#F4F8FB;--wuc-line:rgba(27,63,110,.1);--wuc-h:72px;--wuc-serif:'Outfit',system-ui,sans-serif;--wuc-sans:'Inter',system-ui,sans-serif;}

.wuc-header{position:fixed !important;top:0 !important;left:0 !important;right:0 !important;z-index:999999 !important;height:var(--wuc-h);transition:background .3s,box-shadow .3s;font-family:var(--wuc-sans);}
.wuc-transparent{background:transparent !important;box-shadow:none !important;}
.wuc-solid{background:rgba(255,255,255,.97);backdrop-filter:blur(14px);box-shadow:0 1px 0 var(--wuc-line),0 4px 20px -8px rgba(27,63,110,.08);}

.wuc-header-inner{max-width:1280px;margin:0 auto;padding:0 32px;height:var(--wuc-h);display:flex;align-items:center;justify-content:space-between;gap:20px;}

/* Logo */
.wuc-logo-link{display:flex;align-items:center;flex-shrink:0;text-decoration:none;}
.wuc-logo-img { height:44px !important; width:auto !important; display:block !important; max-width:230px !important; }
.wuc-transparent .wuc-logo-img{filter:brightness(0) invert(1);}
.wuc-solid .wuc-logo-img{filter:none;}
.wuc-solid .wuc-logo-img{filter:none;}
.wuc-logo-text{font-family:var(--wuc-serif);font-size:20px;font-weight:800;color:var(--wuc-navy);letter-spacing:-.02em;display:flex;align-items:center;}
.wuc-logo-text span{color:var(--wuc-sky);}
.wuc-transparent .wuc-logo-text{color:#fff;}
.wuc-transparent .wuc-logo-text span{color:#7dd3f8;}

/* Nav links */
.wuc-nav-links{display:flex;align-items:center;gap:2px;flex:1;justify-content:center;}
.wuc-nav-links a{display:flex;align-items:center;gap:5px;font-size:13px;font-weight:600;padding:7px 11px;border-radius:8px;color:var(--wuc-slate);transition:.2s;white-space:nowrap;text-decoration:none;letter-spacing:-.01em;}
.wuc-nav-links a:hover{background:var(--wuc-sand);color:var(--wuc-navy);}
.wuc-transparent .wuc-nav-links a{color:rgba(255,255,255,.88);}
.wuc-transparent .wuc-nav-links a:hover{background:rgba(255,255,255,.15);color:#fff;}

/* Right */
.wuc-header-right{display:flex;align-items:center;gap:10px;flex-shrink:0;}
.wuc-search-btn{width:36px;height:36px;border-radius:50%;border:1.5px solid var(--wuc-line);background:none;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--wuc-slate);transition:.2s;}
.wuc-search-btn:hover{border-color:var(--wuc-sky);color:var(--wuc-sky);}
.wuc-transparent .wuc-search-btn{border-color:rgba(255,255,255,.4);color:rgba(255,255,255,.85);}
.wuc-transparent .wuc-search-btn:hover{border-color:#fff;color:#fff;background:rgba(255,255,255,.1);}
.wuc-this-weekend{font-size:13px;font-weight:700;padding:8px 18px;background:var(--wuc-orange);color:#fff;border-radius:6px;transition:.2s;white-space:nowrap;text-decoration:none;letter-spacing:-.01em;}
.wuc-this-weekend:hover{background:var(--wuc-orange2);color:#fff;transform:translateY(-1px);}

/* Hamburger */
.wuc-hamburger{display:none;flex-direction:column;gap:5px;background:none;border:none;cursor:pointer;padding:4px;width:32px;}
.wuc-hamburger span{display:block;height:2px;background:var(--wuc-navy);border-radius:2px;transition:.25s;width:100%;}
.wuc-transparent .wuc-hamburger span{background:#fff;}
.wuc-hamburger.open span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.wuc-hamburger.open span:nth-child(2){opacity:0;}
.wuc-hamburger.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

/* Mobile drawer */
.wuc-mobile-drawer{display:none;position:fixed;top:var(--wuc-h);left:0;right:0;background:#fff;z-index:999998;max-height:0;overflow:hidden;transition:max-height .3s ease;border-top:1px solid var(--wuc-line);box-shadow:0 8px 32px -8px rgba(27,63,110,.15);}
.wuc-mobile-drawer.open{max-height:500px;}
.wuc-mobile-drawer a{display:block;padding:14px 32px;font-size:15px;font-weight:600;color:var(--wuc-slate);border-bottom:1px solid var(--wuc-line);text-decoration:none;transition:.15s;font-family:var(--wuc-sans);}
.wuc-mobile-drawer a:hover{background:var(--wuc-sand);color:var(--wuc-navy);}

/* Search drawer */
.wuc-search-drawer{position:fixed;top:var(--wuc-h);left:0;right:0;background:#fff;z-index:999997;border-bottom:1px solid var(--wuc-line);box-shadow:0 8px 32px -8px rgba(27,63,110,.12);transform:translateY(-110%) !important;visibility:hidden;transition:transform .25s cubic-bezier(.2,.8,.2,1),visibility .25s;}
.wuc-search-drawer.open{transform:translateY(0) !important;visibility:visible;}
.wuc-search-inner{max-width:720px;margin:0 auto;padding:16px 32px;display:flex;align-items:center;gap:12px;}
.wuc-search-inner svg{color:var(--wuc-mist);flex-shrink:0;}
.wuc-search-inner input{flex:1;font-size:16px;font-family:var(--wuc-sans);border:none;outline:none;color:var(--wuc-ink);background:none;}
.wuc-search-inner input::placeholder{color:var(--wuc-mist);}
.wuc-search-inner button{background:none;border:none;font-size:16px;color:var(--wuc-mist);cursor:pointer;padding:4px 8px;border-radius:4px;}
.wuc-search-inner button:hover{color:var(--wuc-navy);background:var(--wuc-sand);}
.wuc-search-results{max-width:720px;margin:0 auto;padding:0 32px 12px;display:flex;flex-direction:column;gap:4px;}
.wuc-result{display:flex;align-items:center;gap:14px;padding:10px 12px;border-radius:8px;transition:.15s;text-decoration:none;}
.wuc-result:hover{background:var(--wuc-sand);}
.wuc-result img{width:48px;height:36px;border-radius:4px;object-fit:cover;flex-shrink:0;}
.wuc-result-ph{width:48px;height:36px;border-radius:4px;background:var(--wuc-sand);flex-shrink:0;}
.wuc-result-title{font-size:14px;font-weight:600;color:var(--wuc-ink);font-family:var(--wuc-sans);}
.wuc-result-meta{font-size:12px;color:var(--wuc-mist);font-family:var(--wuc-sans);}
.wuc-no-results{padding:12px;color:var(--wuc-mist);font-size:14px;font-family:var(--wuc-sans);}

/* Hide OLD theme headers */
.jeg_header,.jeg_navbar_wrapper,.jeg_nav_wrap,
#header,.site-header,.header-container,
.fusion-header-wrapper,.fusion-sticky-header-wrapper,
#wrapper > #header { display:none !important; }

/* Spacer for non-homepage */
body:not(.wuc-home) { padding-top: var(--wuc-h) !important; }
body.wuc-home { padding-top: 0 !important; }

@media(max-width:1024px){.wuc-nav-links{display:none!important;}.wuc-hamburger,.wuc-mobile-drawer{display:flex;}}
@media(max-width:480px){.wuc-header-inner{padding:0 20px;gap:12px;}.wuc-this-weekend{font-size:12px;padding:7px 12px;}.wuc-pill-wknd{display:none;}}

/* Homepage hero sits behind fixed nav */
body.wuc-home .wuc-hero { margin-top: 0 !important; padding-top: 0 !important; }

/* On transparent state - force white text and no background */
.wuc-header.wuc-transparent { background: transparent !important; }
.wuc-header.wuc-transparent .wuc-nav-links a { color: rgba(255,255,255,.9) !important; }
.wuc-header.wuc-transparent .wuc-this-weekend { background: var(--wuc-orange) !important; }
.wuc-header.wuc-transparent .wuc-search-btn { border-color: rgba(255,255,255,.4) !important; color: rgba(255,255,255,.9) !important; }

/* Admin bar offset */
@media screen and (min-width: 783px) { #wpadminbar ~ .wuc-header, body.admin-bar .wuc-header { top: 32px !important; } }
@media screen and (max-width: 782px) { body.admin-bar .wuc-header { top: 46px !important; } }

/* WP Admin bar compensation */
body.admin-bar .wuc-header { top: 32px !important; }
body.admin-bar .wuc-mobile-drawer { top: calc(32px + var(--wuc-h)) !important; }
body.admin-bar .wuc-search-drawer { top: calc(32px + var(--wuc-h)) !important; }
@media screen and (max-width: 782px) {
  body.admin-bar .wuc-header { top: 46px !important; }
  body.admin-bar .wuc-mobile-drawer { top: calc(46px + var(--wuc-h)) !important; }
}

/* Fix logo sizing */
.wuc-logo-img { height:38px !important; width:auto !important; display:block !important; max-width:200px !important; }

/* Hide duplicate nav from wuc-nav-snippet on homepage - front-page.php has its own */
body.wuc-home #wuc-header:not(:first-of-type) { display:none !important; }

/* Kill empty Avada spacers that create the gap on inner pages */
body:not(.wuc-home) .fusion-page-title-bar,
body:not(.wuc-home) .fusion-header-wrapper,
body:not(.wuc-home) .fusion-header-sticky-height {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
}

/* Place pages: flush hero, kill all nav-clearance margins (hero is full-bleed) */
body.single-place #wrapper,
body.single-place #main,
body.single-place .post-content,
body.single-place .fusion-page-wrapper { margin-top: 0 !important; }
.wuc-search-all{display:block;margin-top:8px;padding:13px 16px;background:#0B2545;color:#fff;text-decoration:none;border-radius:9px;font-family:'Outfit',system-ui,sans-serif;font-weight:700;font-size:14px;text-align:center;}
.wuc-search-all:hover{background:#173A5C;}
