/* CNC Seasonal Themes v0.3.0 — eight holiday presets + adaptive header/navigation/buttons/dropdowns. */
body.cnc-season-active{
  --cnc-season-primary:#ff8a1f;
  --cnc-season-secondary:#8a5bd6;
  --cnc-season-highlight:#ffd166;
  --cnc-season-dark:#201528;
  --cnc-season-surface:#fffaf4;
  --cnc-season-surface-alt:#f4ecfa;
  --cnc-season-heading:#2a1832;
  --cnc-season-muted:#594863;
  --cnc-season-button-text:#fff;
  --cnc-season-hero-tint:rgba(62,28,75,.22);
  --cnc-season-glow:color-mix(in srgb,var(--cnc-season-primary) 24%,transparent);
  --cnc-tech-cyan:var(--cnc-season-primary);
  --cnc-tech-cyan-2:var(--cnc-season-highlight);
  --cnc-tech-green:var(--cnc-season-secondary);
  --cnc-tech-blue:var(--cnc-season-secondary);
  --cnc-tech-focus:var(--cnc-season-highlight);
}

/* Full palette takeover — loaded after the CNC theme, but scoped to the seasonal body class. */
body.cnc-season-full-takeover{
  color:var(--cnc-season-heading)!important;
  background:var(--cnc-season-surface-alt)!important;
}
body.cnc-season-full-takeover .cnc-site-header,
body.cnc-season-full-takeover .cnc-site-header .header-main-wrapper,
body.cnc-season-full-takeover .cnc-site-header .bottom-header-outer-wrapper,
body.cnc-season-full-takeover .cnc-site-header .bottom-header-part,
body.cnc-season-full-takeover .cnc-site-header .main-navigation-links{
  background:color-mix(in srgb,var(--cnc-season-dark) 96%,#000)!important;
}
body.cnc-season-full-takeover .cnc-site-header .main-navigation .menu>li>a,
body.cnc-season-full-takeover .cnc-site-header .main-navigation .nav-menu>li>a,
body.cnc-season-full-takeover .cnc-brand,
body.cnc-season-full-takeover .cnc-brand:visited{color:#fffdf6!important}
body.cnc-season-full-takeover .cnc-site-header .main-navigation .menu>li>a:hover,
body.cnc-season-full-takeover .cnc-site-header .main-navigation .menu>li>a:focus-visible,
body.cnc-season-full-takeover .cnc-site-header .main-navigation .nav-menu>li>a:hover,
body.cnc-season-full-takeover .cnc-site-header .main-navigation .nav-menu>li>a:focus-visible{
  color:#fff!important;background:color-mix(in srgb,var(--cnc-season-primary) 24%,var(--cnc-season-dark))!important
}
body.cnc-season-full-takeover .cnc-site-header .main-navigation ul ul{
  background:var(--cnc-season-surface)!important;border-color:var(--cnc-season-primary)!important
}
body.cnc-season-full-takeover .cnc-site-header .main-navigation ul ul a{
  color:var(--cnc-season-heading)!important;background:var(--cnc-season-surface)!important
}
body.cnc-season-full-takeover .cnc-site-header .main-navigation ul ul a:hover,
body.cnc-season-full-takeover .cnc-site-header .main-navigation ul ul a:focus{
  color:var(--cnc-season-heading)!important;background:color-mix(in srgb,var(--cnc-season-highlight) 24%,#fff)!important
}
body.cnc-season-full-takeover #cncHeaderConnectorGradient stop:nth-child(1),
body.cnc-season-full-takeover #cncHeaderConnectorGradient stop:nth-child(2){stop-color:var(--cnc-season-primary)!important}
body.cnc-season-full-takeover #cncHeaderConnectorGradient stop:nth-child(3){stop-color:var(--cnc-season-highlight)!important}
body.cnc-season-full-takeover #cncHeaderConnectorGradient stop:nth-child(4),
body.cnc-season-full-takeover #cncHeaderConnectorGradient stop:nth-child(5){stop-color:var(--cnc-season-secondary)!important}

body.cnc-season-full-takeover .cnc-tech-stats,
body.cnc-season-full-takeover .cnc-team-section,
body.cnc-season-full-takeover .cnc-about-tech,
body.cnc-season-full-takeover .cnc-process,
body.cnc-season-full-takeover .cnc-resources,
body.cnc-season-full-takeover .cnc-testimonials-tech,
body.cnc-season-full-takeover .cnc-contact-tech,
body.cnc-season-full-takeover .doctor-profile,
body.cnc-season-full-takeover .specialty-page-body,
body.cnc-season-full-takeover .page-header{
  background:color-mix(in srgb,var(--cnc-season-surface) 90%,transparent)!important;
  color:var(--cnc-season-heading)!important;
}
body.cnc-season-full-takeover .cnc-services-section,
body.cnc-season-full-takeover .cnc-tech-cta,
body.cnc-season-full-takeover .cnc-site-footer,
body.cnc-season-full-takeover .cnc-site-footer__bottom{
  background:color-mix(in srgb,var(--cnc-season-dark) 94%,#000)!important;color:#fff!important
}
body.cnc-season-full-takeover .cnc-tech-section__header h2,
body.cnc-season-full-takeover .cnc-about-tech__copy h2,
body.cnc-season-full-takeover .cnc-process h3,
body.cnc-season-full-takeover .cnc-resource-card h3,
body.cnc-season-full-takeover .doctor-page-title,
body.cnc-season-full-takeover .specialty-page-body h2,
body.cnc-season-full-takeover .cnc-what-we-treat-card h2{color:var(--cnc-season-heading)!important}
body.cnc-season-full-takeover .cnc-tech-section__header>p:last-child,
body.cnc-season-full-takeover .cnc-about-tech__copy>p,
body.cnc-season-full-takeover .cnc-process p,
body.cnc-season-full-takeover .specialty-page-body p,
body.cnc-season-full-takeover .specialty-page-body li,
body.cnc-season-full-takeover .cnc-what-we-treat-card p{color:var(--cnc-season-muted)!important}
body.cnc-season-full-takeover .cnc-services-section .cnc-tech-section__header h2,
body.cnc-season-full-takeover .cnc-services-section .cnc-tech-section__header>p:last-child,
body.cnc-season-full-takeover .cnc-tech-cta h2,
body.cnc-season-full-takeover .cnc-tech-cta p,
body.cnc-season-full-takeover .cnc-site-footer,
body.cnc-season-full-takeover .cnc-site-footer a{color:#fff!important}

body.cnc-season-holiday-background{
  background-color:var(--cnc-season-surface-alt)!important;
  background-image:
    radial-gradient(circle at 8% 10%,color-mix(in srgb,var(--cnc-season-primary) 12%,transparent) 0 2px,transparent 3px),
    radial-gradient(circle at 88% 18%,color-mix(in srgb,var(--cnc-season-secondary) 10%,transparent) 0 2px,transparent 3px),
    linear-gradient(135deg,color-mix(in srgb,var(--cnc-season-surface-alt) 94%,transparent),color-mix(in srgb,var(--cnc-season-surface) 92%,transparent))!important;
  background-size:44px 44px,58px 58px,auto!important;
}

body.cnc-season-hero-tint .cnc-tech-banner{
  background-color:var(--cnc-season-hero-tint)!important;
  background-blend-mode:multiply,normal!important;
  box-shadow:inset 0 -5px 0 color-mix(in srgb,var(--cnc-season-primary) 70%,transparent)!important;
}

/* Holiday card borders, box glows, and form accents. */
body.cnc-season-animated-borders .cnc-tech-service-card,
body.cnc-season-animated-borders .cnc-team-card,
body.cnc-season-animated-borders .cnc-resource-card,
body.cnc-season-animated-borders .cnc-testimonial-card,
body.cnc-season-animated-borders .cnc-testimonial-empty,
body.cnc-season-animated-borders .cnc-contact-tech__form,
body.cnc-season-animated-borders .cnc-contact-tech__info,
body.cnc-season-animated-borders .cnc-process__grid>li,
body.cnc-season-animated-borders .cnc-what-we-treat-card,
body.cnc-season-animated-borders .specialty-content-section{
  border-color:color-mix(in srgb,var(--cnc-season-primary) 62%,transparent)!important;
  outline:2px solid color-mix(in srgb,var(--cnc-season-secondary) 25%,transparent);
  outline-offset:0;
  box-shadow:0 15px 34px rgba(0,0,0,.10),0 0 20px color-mix(in srgb,var(--cnc-season-primary) 24%,transparent)!important;
  animation:cncSeasonBoxGlow 3.8s ease-in-out infinite alternate;
}
@keyframes cncSeasonBoxGlow{
  from{box-shadow:0 15px 34px rgba(0,0,0,.10),0 0 10px color-mix(in srgb,var(--cnc-season-primary) 16%,transparent)!important}
  to{box-shadow:0 15px 34px rgba(0,0,0,.12),0 0 26px color-mix(in srgb,var(--cnc-season-secondary) 32%,transparent)!important}
}
body.cnc-season-form-accents input:not([type=checkbox]):not([type=radio]),
body.cnc-season-form-accents textarea,
body.cnc-season-form-accents select{
  border-color:color-mix(in srgb,var(--cnc-season-primary) 48%,#c8d5d2)!important;
  box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--cnc-season-secondary) 10%,transparent)!important;
}
body.cnc-season-form-accents input:focus,
body.cnc-season-form-accents textarea:focus,
body.cnc-season-form-accents select:focus{
  border-color:var(--cnc-season-primary)!important;
  box-shadow:0 0 0 3px color-mix(in srgb,var(--cnc-season-primary) 26%,transparent)!important;
}
body.cnc-season-active .cnc-tech-button--primary,
body.cnc-season-active .cnc-tx-submit-button,
body.cnc-season-active .specialty-secondary-cta,
body.cnc-season-active button[type=submit],
body.cnc-season-active input[type=submit]{
  background:linear-gradient(135deg,var(--cnc-season-primary),var(--cnc-season-secondary))!important;
  color:var(--cnc-season-button-text)!important;
  border-color:transparent!important;
  box-shadow:0 8px 20px color-mix(in srgb,var(--cnc-season-primary) 28%,transparent)!important;
}
body.cnc-season-active a:focus-visible,
body.cnc-season-active button:focus-visible,
body.cnc-season-active input:focus-visible,
body.cnc-season-active textarea:focus-visible,
body.cnc-season-active select:focus-visible{outline:3px solid var(--cnc-season-highlight)!important;outline-offset:3px!important}

/* Decorative stage. */
.cnc-seasonal-overlay{position:fixed;inset:0;z-index:9990;pointer-events:none;overflow:hidden}
.cnc-seasonal-particles{position:absolute;inset:0;overflow:hidden}
.cnc-seasonal-particle{position:absolute;top:-12vh;opacity:.44;user-select:none;will-change:transform;animation:cncSeasonFall var(--cnc-season-duration,16s) linear infinite;animation-delay:var(--cnc-season-delay,0s);font-size:var(--cnc-season-size,20px);filter:drop-shadow(0 2px 3px rgba(0,0,0,.16))}
body.cnc-season-intensity-low .cnc-seasonal-particle{opacity:.20}
body.cnc-season-intensity-medium .cnc-seasonal-particle{opacity:.32}
body.cnc-season-intensity-high .cnc-seasonal-particle{opacity:.44}
body.cnc-season-intensity-maximum .cnc-seasonal-particle{opacity:.55}
@keyframes cncSeasonFall{0%{transform:translate3d(0,-10vh,0) rotate(0deg)}100%{transform:translate3d(var(--cnc-season-drift,40px),116vh,0) rotate(360deg)}}

.cnc-seasonal-edge{position:absolute;width:150px;height:150px;display:flex;align-items:center;justify-content:center;font-size:84px;opacity:.19;filter:drop-shadow(0 7px 15px var(--cnc-season-glow))}
.cnc-seasonal-edge--left{left:-20px;top:18vh;transform:rotate(-10deg)}
.cnc-seasonal-edge--right{right:-20px;bottom:12vh;transform:rotate(10deg)}
.cnc-seasonal-edge--midleft{left:-34px;bottom:28vh;transform:rotate(8deg) scale(.78)}
.cnc-seasonal-edge--midright{right:-34px;top:38vh;transform:rotate(-8deg) scale(.78)}
body.cnc-season-intensity-low .cnc-seasonal-edge{opacity:.08}
body.cnc-season-intensity-medium .cnc-seasonal-edge{opacity:.13}
body.cnc-season-intensity-maximum .cnc-seasonal-edge{opacity:.25}

.cnc-seasonal-corner{position:fixed;z-index:9989;pointer-events:none;font-size:36px;opacity:.30;display:flex;gap:7px;filter:drop-shadow(0 3px 8px rgba(0,0,0,.16))}
.cnc-seasonal-corner--tl{left:10px;top:100px}.cnc-seasonal-corner--tr{right:10px;top:100px}.cnc-seasonal-corner--bl{left:10px;bottom:12px}.cnc-seasonal-corner--br{right:10px;bottom:12px}
body.cnc-season-intensity-maximum .cnc-seasonal-corner{font-size:44px;opacity:.42}

.cnc-seasonal-lights{position:fixed;left:0;right:0;top:0;z-index:9992;height:18px;display:flex;justify-content:space-around;padding:0 1.2vw;pointer-events:none}
.cnc-seasonal-light{width:8px;height:12px;border-radius:50% 50% 45% 45%;background:var(--cnc-light-color,#f0d48a);box-shadow:0 0 9px 3px color-mix(in srgb,var(--cnc-light-color,#f0d48a) 72%,transparent);animation:cncSeasonTwinkle 2.2s ease-in-out infinite alternate;animation-delay:var(--cnc-light-delay,0s)}
@keyframes cncSeasonTwinkle{from{opacity:.42;transform:scale(.82)}to{opacity:1;transform:scale(1.08)}}

.cnc-seasonal-garland{position:fixed;z-index:9988;top:78px;left:50%;transform:translateX(-50%);width:min(1180px,92vw);display:flex;justify-content:space-around;align-items:center;pointer-events:none;font-size:24px;opacity:.34;filter:drop-shadow(0 3px 6px rgba(0,0,0,.14))}
body.cnc-season-intensity-maximum .cnc-seasonal-garland{font-size:30px;opacity:.50}

.cnc-seasonal-logo-flourish{position:absolute;right:-14px;top:-12px;z-index:30;pointer-events:none;font-size:34px;opacity:.60;transform:rotate(10deg);filter:drop-shadow(0 3px 7px rgba(0,0,0,.16))}

.cnc-seasonal-divider{position:relative;z-index:4;height:20px;display:flex;align-items:center;justify-content:space-around;overflow:hidden;pointer-events:none;font-size:15px;opacity:.46;background:linear-gradient(90deg,transparent,color-mix(in srgb,var(--cnc-season-primary) 13%,transparent),transparent)}
body.cnc-season-intensity-maximum .cnc-seasonal-divider{height:28px;font-size:20px;opacity:.62}

.cnc-seasonal-footer-decor{position:absolute;right:clamp(10px,3vw,50px);bottom:16px;z-index:3;display:flex;gap:10px;font-size:34px;opacity:.35;pointer-events:none}

.cnc-season-preview-badge{position:fixed;right:14px;bottom:14px;z-index:100000;pointer-events:none;background:#162e2d;color:#fff;border:2px solid #fff;border-radius:999px;padding:7px 12px;font:600 12px/1.2 system-ui,sans-serif;box-shadow:0 4px 18px rgba(0,0,0,.18)}

/* Holiday-specific flourishes. */
body.cnc-season-new-year.cnc-season-holiday-background{background-image:radial-gradient(circle at 14% 18%,rgba(212,175,55,.14) 0 2px,transparent 3px),radial-gradient(circle at 82% 20%,rgba(36,59,107,.09) 0 3px,transparent 4px),linear-gradient(135deg,#eef2f7,#fffdf7)!important;background-size:34px 34px,64px 64px,auto!important}
body.cnc-season-new-year .cnc-tech-kicker{color:#6d5700!important}

body.cnc-season-chinese-new-year.cnc-season-holiday-background{background-image:radial-gradient(circle at 12% 16%,rgba(183,28,28,.11) 0 3px,transparent 4px),radial-gradient(circle at 84% 25%,rgba(212,160,23,.13) 0 3px,transparent 4px),linear-gradient(135deg,#fff1e7,#fff9f2)!important;background-size:44px 44px,62px 62px,auto!important}
body.cnc-season-chinese-new-year .cnc-tech-kicker{color:#8e1111!important}

body.cnc-season-easter.cnc-season-holiday-background{background-image:radial-gradient(circle at 13% 18%,rgba(122,95,163,.10) 0 3px,transparent 4px),radial-gradient(circle at 80% 24%,rgba(79,143,107,.10) 0 3px,transparent 4px),linear-gradient(135deg,#f4f0fb,#fffdf8)!important;background-size:48px 48px,66px 66px,auto!important}
body.cnc-season-easter .cnc-tech-kicker{color:#5f477f!important}

body.cnc-season-independence-day.cnc-season-holiday-background{background-image:radial-gradient(circle at 12% 16%,rgba(178,34,52,.09) 0 3px,transparent 4px),radial-gradient(circle at 82% 24%,rgba(31,78,140,.10) 0 3px,transparent 4px),linear-gradient(135deg,#eef4fb,#fbfdff)!important;background-size:46px 46px,64px 64px,auto!important}
body.cnc-season-independence-day .cnc-tech-kicker{color:#193f6f!important}

body.cnc-season-halloween.cnc-season-full-takeover .cnc-site-header{box-shadow:0 6px 28px rgba(70,28,82,.35),inset 0 -3px 0 var(--cnc-season-primary)!important}
body.cnc-season-halloween.cnc-season-holiday-background{background-image:radial-gradient(circle at 12% 20%,rgba(255,138,31,.12) 0 3px,transparent 4px),radial-gradient(circle at 80% 30%,rgba(138,91,214,.10) 0 3px,transparent 4px),linear-gradient(135deg,#f7edf9,#fff8ed)!important;background-size:46px 46px,62px 62px,auto!important}
body.cnc-season-halloween .cnc-tech-kicker{color:color-mix(in srgb,var(--cnc-season-primary) 78%,#5a2a00)!important}

body.cnc-season-veterans-day.cnc-season-holiday-background{background-image:radial-gradient(circle at 11% 17%,rgba(53,92,125,.09) 0 3px,transparent 4px),radial-gradient(circle at 83% 26%,rgba(122,46,46,.08) 0 3px,transparent 4px),linear-gradient(135deg,#eef1f3,#fbfcfd)!important;background-size:48px 48px,68px 68px,auto!important}
body.cnc-season-veterans-day .cnc-tech-kicker{color:#2d4963!important}

body.cnc-season-thanksgiving.cnc-season-holiday-background{background-image:radial-gradient(circle at 10% 12%,rgba(184,102,47,.11) 0 3px,transparent 4px),radial-gradient(circle at 82% 24%,rgba(216,162,61,.11) 0 3px,transparent 4px),linear-gradient(135deg,#fbf3e5,#fffaf4)!important;background-size:50px 50px,66px 66px,auto!important}
body.cnc-season-thanksgiving .cnc-tech-kicker{color:#8a4d2a!important}

body.cnc-season-christmas.cnc-season-holiday-background{background-image:radial-gradient(circle at 15% 10%,rgba(255,255,255,.84) 0 2px,transparent 3px),radial-gradient(circle at 78% 18%,rgba(179,47,56,.08) 0 3px,transparent 4px),linear-gradient(135deg,#edf6f1,#fffdf7)!important;background-size:30px 30px,58px 58px,auto!important}
body.cnc-season-christmas .cnc-tech-kicker{color:var(--cnc-season-primary)!important}

@media (prefers-reduced-motion:reduce){
  .cnc-seasonal-particle,.cnc-seasonal-light,
  body.cnc-season-animated-borders .cnc-tech-service-card,
  body.cnc-season-animated-borders .cnc-team-card,
  body.cnc-season-animated-borders .cnc-resource-card,
  body.cnc-season-animated-borders .cnc-testimonial-card,
  body.cnc-season-animated-borders .cnc-contact-tech__form,
  body.cnc-season-animated-borders .cnc-contact-tech__info,
  body.cnc-season-animated-borders .cnc-process__grid>li,
  body.cnc-season-animated-borders .cnc-what-we-treat-card,
  body.cnc-season-animated-borders .specialty-content-section{animation:none!important}
}
@media (max-width:1199px){.cnc-seasonal-garland{top:72px;font-size:20px}.cnc-seasonal-edge--midleft,.cnc-seasonal-edge--midright{display:none}}
@media (max-width:991px){
  .cnc-seasonal-edge,.cnc-seasonal-corner,.cnc-seasonal-garland,.cnc-seasonal-logo-flourish,.cnc-seasonal-footer-decor{display:none!important}
  body.cnc-season-intensity-maximum .cnc-seasonal-particle:nth-child(n+11),body.cnc-season-intensity-high .cnc-seasonal-particle:nth-child(n+8),body.cnc-season-intensity-medium .cnc-seasonal-particle:nth-child(n+6),body.cnc-season-intensity-low .cnc-seasonal-particle:nth-child(n+4){display:none}
}
@media (max-width:600px){.cnc-seasonal-lights,.cnc-seasonal-divider{display:none!important}}


/* --------------------------------------------------------------------------
   v0.2.1 — make the complete CNC header/navigation participate in the season.
   The production theme applies a light homepage navigation treatment with
   !important declarations. These selectors intentionally outrank that layer so
   the menu no longer appears as a white rectangle inside a seasonal header.
   -------------------------------------------------------------------------- */
body.cnc-season-active.cnc-season-full-takeover .cnc-site-header,
body.cnc-season-active.cnc-season-full-takeover.home .cnc-site-header,
body.cnc-season-active.cnc-season-full-takeover .cnc-site-header .header-main-wrapper,
body.cnc-season-active.cnc-season-full-takeover .cnc-site-header .bottom-header-outer-wrapper,
body.cnc-season-active.cnc-season-full-takeover .cnc-site-header .bottom-header-part,
body.cnc-season-active.cnc-season-full-takeover .cnc-site-header .asterthemes-wrapper,
body.cnc-season-active.cnc-season-full-takeover .cnc-site-header .bottom-header-part-wrapper,
body.cnc-season-active.cnc-season-full-takeover .cnc-site-header .navigation-menus,
body.cnc-season-active.cnc-season-full-takeover .cnc-site-header .main-navigation,
body.cnc-season-active.cnc-season-full-takeover .cnc-site-header .main-navigation-links,
body.cnc-season-active.cnc-season-full-takeover.home .cnc-site-header .main-navigation-links,
body.cnc-season-active.cnc-season-full-takeover .cnc-site-header .main-navigation > div,
body.cnc-season-active.cnc-season-full-takeover .cnc-site-header .main-navigation > div > ul,
body.cnc-season-active.cnc-season-full-takeover .cnc-site-header .main-navigation .menu,
body.cnc-season-active.cnc-season-full-takeover .cnc-site-header .main-navigation .nav-menu{
  background:transparent!important;
  background-color:transparent!important;
  box-shadow:none!important;
}

body.cnc-season-active.cnc-season-full-takeover .cnc-site-header{
  background:
    linear-gradient(110deg,
      color-mix(in srgb,var(--cnc-season-dark) 96%,#000) 0%,
      color-mix(in srgb,var(--cnc-season-dark) 86%,var(--cnc-season-secondary)) 52%,
      color-mix(in srgb,var(--cnc-season-dark) 84%,var(--cnc-season-primary)) 100%)!important;
  border-bottom:1px solid color-mix(in srgb,var(--cnc-season-highlight) 46%,transparent)!important;
}

/* A subtle seasonal glass strip keeps the menu readable while still matching
   the header rather than reverting to the theme's pale navigation panel. */
@media (min-width:992px){
  body.cnc-season-active.cnc-season-full-takeover .cnc-site-header .navigation-menus{
    border:1px solid color-mix(in srgb,var(--cnc-season-highlight) 20%,transparent)!important;
    border-radius:9px!important;
    padding:2px 8px!important;
    background:color-mix(in srgb,var(--cnc-season-dark) 72%,transparent)!important;
    box-shadow:inset 0 0 18px color-mix(in srgb,var(--cnc-season-secondary) 10%,transparent),0 4px 16px rgba(0,0,0,.10)!important;
    backdrop-filter:blur(5px);
  }
}

body.cnc-season-active.cnc-season-full-takeover .cnc-site-header .main-navigation > div > ul > li > a,
body.cnc-season-active.cnc-season-full-takeover.home .cnc-site-header .main-navigation > div > ul > li > a,
body.cnc-season-active.cnc-season-full-takeover .cnc-site-header .main-navigation .menu > li > a,
body.cnc-season-active.cnc-season-full-takeover.home .cnc-site-header .main-navigation .menu > li > a,
body.cnc-season-active.cnc-season-full-takeover .cnc-site-header .main-navigation .nav-menu > li > a,
body.cnc-season-active.cnc-season-full-takeover.home .cnc-site-header .main-navigation .nav-menu > li > a{
  color:#fffdf6!important;
  background:transparent!important;
  border-color:transparent!important;
  text-shadow:0 1px 2px rgba(0,0,0,.38);
}
body.cnc-season-active.cnc-season-full-takeover .cnc-site-header .main-navigation .menu > li > a:hover,
body.cnc-season-active.cnc-season-full-takeover .cnc-site-header .main-navigation .menu > li > a:focus-visible,
body.cnc-season-active.cnc-season-full-takeover .cnc-site-header .main-navigation .nav-menu > li > a:hover,
body.cnc-season-active.cnc-season-full-takeover .cnc-site-header .main-navigation .nav-menu > li > a:focus-visible,
body.cnc-season-active.cnc-season-full-takeover.home .cnc-site-header .main-navigation .menu > li > a:hover,
body.cnc-season-active.cnc-season-full-takeover.home .cnc-site-header .main-navigation .menu > li > a:focus-visible,
body.cnc-season-active.cnc-season-full-takeover.home .cnc-site-header .main-navigation .nav-menu > li > a:hover,
body.cnc-season-active.cnc-season-full-takeover.home .cnc-site-header .main-navigation .nav-menu > li > a:focus-visible{
  color:#fff!important;
  background:linear-gradient(135deg,color-mix(in srgb,var(--cnc-season-primary) 34%,transparent),color-mix(in srgb,var(--cnc-season-secondary) 34%,transparent))!important;
  border-color:color-mix(in srgb,var(--cnc-season-highlight) 54%,transparent)!important;
  box-shadow:0 0 14px color-mix(in srgb,var(--cnc-season-highlight) 25%,transparent)!important;
}
body.cnc-season-active.cnc-season-full-takeover .cnc-site-header .main-navigation .current-menu-item > a,
body.cnc-season-active.cnc-season-full-takeover .cnc-site-header .main-navigation .current_page_item > a{
  color:#fff!important;
  background:color-mix(in srgb,var(--cnc-season-primary) 25%,transparent)!important;
  border-color:color-mix(in srgb,var(--cnc-season-highlight) 42%,transparent)!important;
}

/* Mobile menu gets the same seasonal surface instead of the standard teal/navy. */
@media (max-width:991px){
  body.cnc-season-active.cnc-season-full-takeover .cnc-site-header .main-navigation-links,
  body.cnc-season-active.cnc-season-full-takeover.home .cnc-site-header .main-navigation-links{
    background:color-mix(in srgb,var(--cnc-season-dark) 96%,#000)!important;
    border-top:1px solid color-mix(in srgb,var(--cnc-season-highlight) 34%,transparent)!important;
  }
  body.cnc-season-active.cnc-season-full-takeover .cnc-site-header .menu-toggle{
    border-color:var(--cnc-season-highlight)!important;
    background:color-mix(in srgb,var(--cnc-season-primary) 16%,transparent)!important;
  }
  body.cnc-season-active.cnc-season-full-takeover .cnc-site-header .menu-toggle span{
    background:#fff!important;
  }
}

/* Holiday-specific header personalities. */
body.cnc-season-new-year.cnc-season-full-takeover .cnc-site-header{
  background:linear-gradient(110deg,#0c1220 0%,#111827 44%,#243b6b 72%,#6d5700 100%)!important;
}
body.cnc-season-chinese-new-year.cnc-season-full-takeover .cnc-site-header{
  background:linear-gradient(110deg,#320606 0%,#4a0c0c 46%,#7f1212 72%,#8f6509 100%)!important;
}
body.cnc-season-easter.cnc-season-full-takeover .cnc-site-header{
  background:linear-gradient(110deg,#2b233d 0%,#33294a 46%,#4b3a70 70%,#345b45 100%)!important;
}
body.cnc-season-independence-day.cnc-season-full-takeover .cnc-site-header{
  background:linear-gradient(110deg,#0b1f32 0%,#102a43 46%,#193f6f 72%,#6e1f2b 100%)!important;
}
body.cnc-season-halloween.cnc-season-full-takeover .cnc-site-header{
  background:linear-gradient(110deg,#160e1d 0%,#271431 46%,#3b1b2d 72%,#4a2412 100%)!important;
}
body.cnc-season-veterans-day.cnc-season-full-takeover .cnc-site-header{
  background:linear-gradient(110deg,#121d27 0%,#1d2a36 46%,#2d4963 72%,#5a2727 100%)!important;
}
body.cnc-season-thanksgiving.cnc-season-full-takeover .cnc-site-header{
  background:linear-gradient(110deg,#2e1d14 0%,#53311f 50%,#6c3e20 76%,#7c5120 100%)!important;
}
body.cnc-season-christmas.cnc-season-full-takeover .cnc-site-header{
  background:linear-gradient(110deg,#102d24 0%,#183d31 48%,#244f3b 72%,#4b252a 100%)!important;
}

/* --------------------------------------------------------------------------
   v0.2.3 — accessible seasonal dropdown + button theming.
   Control surfaces intentionally use fixed, contrast-tested holiday colors
   rather than arbitrary custom palette values, so readable foreground contrast
   is preserved even when administrators experiment with decorative colors.
   -------------------------------------------------------------------------- */

/* Desktop + mobile dropdown menus. */
body.cnc-season-active.cnc-season-dropdown-accents .cnc-site-header .main-navigation ul ul,
body.cnc-season-active.cnc-season-dropdown-accents .cnc-site-header .main-navigation .sub-menu,
body.cnc-season-active.cnc-season-dropdown-accents .cnc-site-header .main-navigation .children{
  background:var(--cnc-season-dropdown-bg)!important;
  border:2px solid var(--cnc-season-control-border)!important;
  box-shadow:0 12px 28px rgba(0,0,0,.30),0 0 18px color-mix(in srgb,var(--cnc-season-primary) 22%,transparent)!important;
}
body.cnc-season-active.cnc-season-dropdown-accents .cnc-site-header .main-navigation ul ul li,
body.cnc-season-active.cnc-season-dropdown-accents .cnc-site-header .main-navigation .sub-menu li,
body.cnc-season-active.cnc-season-dropdown-accents .cnc-site-header .main-navigation .children li{
  background:transparent!important;
}
body.cnc-season-active.cnc-season-dropdown-accents .cnc-site-header .main-navigation ul ul a,
body.cnc-season-active.cnc-season-dropdown-accents .cnc-site-header .main-navigation .sub-menu a,
body.cnc-season-active.cnc-season-dropdown-accents .cnc-site-header .main-navigation .children a{
  color:var(--cnc-season-dropdown-text)!important;
  background:transparent!important;
  border-color:transparent!important;
  text-shadow:none!important;
}
body.cnc-season-active.cnc-season-dropdown-accents .cnc-site-header .main-navigation ul ul a:hover,
body.cnc-season-active.cnc-season-dropdown-accents .cnc-site-header .main-navigation ul ul a:focus-visible,
body.cnc-season-active.cnc-season-dropdown-accents .cnc-site-header .main-navigation .sub-menu a:hover,
body.cnc-season-active.cnc-season-dropdown-accents .cnc-site-header .main-navigation .sub-menu a:focus-visible,
body.cnc-season-active.cnc-season-dropdown-accents .cnc-site-header .main-navigation .children a:hover,
body.cnc-season-active.cnc-season-dropdown-accents .cnc-site-header .main-navigation .children a:focus-visible{
  color:#fff!important;
  background:var(--cnc-season-control-hover)!important;
  border-color:var(--cnc-season-control-border)!important;
}
body.cnc-season-active.cnc-season-dropdown-accents .cnc-site-header .main-navigation ul ul .current-menu-item>a,
body.cnc-season-active.cnc-season-dropdown-accents .cnc-site-header .main-navigation ul ul .current_page_item>a{
  color:#fff!important;
  background:var(--cnc-season-control-bg)!important;
  box-shadow:inset 4px 0 0 var(--cnc-season-control-border)!important;
}

/* Primary and secondary CTA surfaces used throughout the CNC theme. */
body.cnc-season-active.cnc-season-button-accents .cnc-tech-button,
body.cnc-season-active.cnc-season-button-accents .cnc-tech-button--primary,
body.cnc-season-active.cnc-season-button-accents .cnc-tech-button--outline,
body.cnc-season-active.cnc-season-button-accents .cnc-tx-submit-button,
body.cnc-season-active.cnc-season-button-accents .specialty-primary-cta,
body.cnc-season-active.cnc-season-button-accents .specialty-secondary-cta,
body.cnc-season-active.cnc-season-button-accents .button-dark,
body.cnc-season-active.cnc-season-button-accents .specialty-related-links .glow-on-hover,
body.cnc-season-active.cnc-season-button-accents button[type="submit"],
body.cnc-season-active.cnc-season-button-accents input[type="submit"],
body.cnc-season-active.cnc-season-button-accents .wp-element-button,
body.cnc-season-active.cnc-season-button-accents .wp-block-button__link{
  background:var(--cnc-season-control-bg)!important;
  color:#fff!important;
  border:2px solid var(--cnc-season-control-border)!important;
  text-shadow:none!important;
  box-shadow:0 7px 18px rgba(0,0,0,.18),0 0 12px color-mix(in srgb,var(--cnc-season-primary) 18%,transparent)!important;
}
body.cnc-season-active.cnc-season-button-accents .cnc-tech-button:hover,
body.cnc-season-active.cnc-season-button-accents .cnc-tech-button:focus-visible,
body.cnc-season-active.cnc-season-button-accents .cnc-tech-button--primary:hover,
body.cnc-season-active.cnc-season-button-accents .cnc-tech-button--primary:focus-visible,
body.cnc-season-active.cnc-season-button-accents .cnc-tech-button--outline:hover,
body.cnc-season-active.cnc-season-button-accents .cnc-tech-button--outline:focus-visible,
body.cnc-season-active.cnc-season-button-accents .cnc-tx-submit-button:hover,
body.cnc-season-active.cnc-season-button-accents .cnc-tx-submit-button:focus-visible,
body.cnc-season-active.cnc-season-button-accents .specialty-primary-cta:hover,
body.cnc-season-active.cnc-season-button-accents .specialty-primary-cta:focus-visible,
body.cnc-season-active.cnc-season-button-accents .specialty-secondary-cta:hover,
body.cnc-season-active.cnc-season-button-accents .specialty-secondary-cta:focus-visible,
body.cnc-season-active.cnc-season-button-accents .button-dark:hover,
body.cnc-season-active.cnc-season-button-accents .button-dark:focus-visible,
body.cnc-season-active.cnc-season-button-accents .specialty-related-links .glow-on-hover:hover,
body.cnc-season-active.cnc-season-button-accents .specialty-related-links .glow-on-hover:focus-visible,
body.cnc-season-active.cnc-season-button-accents button[type="submit"]:hover,
body.cnc-season-active.cnc-season-button-accents button[type="submit"]:focus-visible,
body.cnc-season-active.cnc-season-button-accents input[type="submit"]:hover,
body.cnc-season-active.cnc-season-button-accents input[type="submit"]:focus-visible,
body.cnc-season-active.cnc-season-button-accents .wp-element-button:hover,
body.cnc-season-active.cnc-season-button-accents .wp-element-button:focus-visible,
body.cnc-season-active.cnc-season-button-accents .wp-block-button__link:hover,
body.cnc-season-active.cnc-season-button-accents .wp-block-button__link:focus-visible{
  background:var(--cnc-season-control-hover)!important;
  color:#fff!important;
  border-color:var(--cnc-season-focus-ring)!important;
  box-shadow:0 9px 22px rgba(0,0,0,.22),0 0 16px color-mix(in srgb,var(--cnc-season-highlight) 24%,transparent)!important;
}

/* Focus treatment is intentionally independent from hover and remains visible
   for keyboard users at 400% zoom and across holiday palettes. */
body.cnc-season-active.cnc-season-button-accents .cnc-tech-button:focus-visible,
body.cnc-season-active.cnc-season-button-accents .cnc-tx-submit-button:focus-visible,
body.cnc-season-active.cnc-season-button-accents .specialty-primary-cta:focus-visible,
body.cnc-season-active.cnc-season-button-accents .specialty-secondary-cta:focus-visible,
body.cnc-season-active.cnc-season-button-accents .button-dark:focus-visible,
body.cnc-season-active.cnc-season-button-accents .specialty-related-links .glow-on-hover:focus-visible,
body.cnc-season-active.cnc-season-button-accents button[type="submit"]:focus-visible,
body.cnc-season-active.cnc-season-button-accents input[type="submit"]:focus-visible,
body.cnc-season-active.cnc-season-dropdown-accents .cnc-site-header .main-navigation ul ul a:focus-visible{
  outline:3px solid var(--cnc-season-focus-ring)!important;
  outline-offset:3px!important;
}

/* Preserve theme pseudo-elements without allowing old button backgrounds to
   cover the accessible seasonal foreground/background pairing. */
body.cnc-season-active.cnc-season-button-accents .specialty-related-links .glow-on-hover::after{
  background:transparent!important;
}

@media (max-width:991px){
  body.cnc-season-active.cnc-season-dropdown-accents .cnc-site-header .main-navigation .sub-menu,
  body.cnc-season-active.cnc-season-dropdown-accents .cnc-site-header .main-navigation .children{
    background:color-mix(in srgb,var(--cnc-season-dropdown-bg) 94%,#000)!important;
    border-left:3px solid var(--cnc-season-control-border)!important;
  }
}
