.oga-hx{--oga-panel: #f4f1ea;--oga-ink:#1b2a24;--oga-muted:#5c6b65;--oga-edge:#c9c1b1;--oga-accent:#a3562c;display:flex;align-items:center;gap:5px;flex:0 0 auto;padding-left:12px;margin-left:10px;border-left:1px solid var(--oga-edge);position:relative;z-index:100;color:inherit}.oga-hx-original-hidden{display:none!important}.oga-hx .oga-hx-icon{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:36px;height:36px;border:0;border-radius:5px;background:transparent;color:inherit;padding:0;box-shadow:none;cursor:pointer}.oga-hx .oga-hx-icon:hover,.oga-hx .oga-hx-icon[aria-expanded=true]{background:color-mix(in srgb,currentColor 10%,transparent)}.oga-hx :focus-visible{outline:2px solid var(--oga-accent);outline-offset:3px}.oga-hx #oga-hx-panel[hidden]{display:none!important}.oga-hx #oga-hx-panel{position:absolute;right:0;top:calc(100% + 16px);width:510px;max-width:calc(100vw - 24px);padding:20px;border:1px solid var(--oga-edge);border-top:3px solid var(--oga-accent);border-radius:8px;background:var(--oga-panel);color:var(--oga-ink);box-shadow:0 12px 35px #0003;box-sizing:border-box;animation:oga-hx-enter .15s ease-out;text-align:left;white-space:normal;z-index:10000}.oga-hx-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;font-size:18px}.oga-hx #oga-hx-panel form{display:flex;gap:8px;margin:0}.oga-hx #oga-hx-panel input{flex:1;min-width:0;width:100%;background:var(--oga-panel);color:var(--oga-ink);border:1px solid var(--oga-edge);border-radius:5px;padding:10px 12px;font:inherit;font-size:14px}.oga-hx #oga-hx-panel input::placeholder{color:var(--oga-muted)}.oga-hx #oga-hx-panel button[type=submit]{background:#a3562c;color:#fff;border:0;padding:10px 15px;border-radius:5px;font:inherit;font-size:14px;font-weight:650}.oga-hx-label{font-size:11px;letter-spacing:.09em;text-transform:uppercase;color:var(--oga-muted);margin:17px 0 8px}.oga-hx-links{display:flex;flex-wrap:wrap;gap:6px}.oga-hx-links a{font-size:12px;text-decoration:none;color:var(--oga-ink);border:1px solid var(--oga-edge);border-radius:4px;padding:5px 9px;line-height:1.4}.oga-hx-links a:hover{border-color:var(--oga-accent);color:var(--oga-accent)}.oga-hx-sr{position:absolute;width:1px;height:1px;clip:rect(0,0,0,0);overflow:hidden;white-space:nowrap}.site-header-main-section-right:has(.oga-hx),.site-header-section-right:has(.oga-hx){overflow:visible}@keyframes oga-hx-enter{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.oga-hx #oga-hx-panel{animation:none}}@media(max-width:1024px){.oga-hx{margin-left:3px;padding-left:5px;gap:1px}.oga-hx .oga-hx-icon{width:32px;height:36px}.oga-hx #oga-hx-panel{position:fixed;top:auto;right:12px;margin-top:16px;width:min(510px,calc(100vw - 24px));padding:15px}}
/* Kadence palette-based theming. Keep brand secondary as a deliberate deep forest tone. No image filters. */
html[data-oga-mode=dark]{color-scheme:dark;--global-palette1:#e0a47a;--global-palette3:#f1ede5;--global-palette4:#e1ddd3;--global-palette5:#c1cbc3;--global-palette6:#a7b3ac;--global-palette7:#28352e;--global-palette8:#202c26;--global-palette9:#18231e;--global-palette-highlight:#e0a47a;--global-palette-highlight-alt:#f1bd98;--global-palette-highlight-alt2:#18231e}
html[data-oga-mode=dark] body{background:var(--global-palette9);color:var(--global-palette4)}html[data-oga-mode=dark] :is(.site,.site-container,.content-bg,.entry,.entry-content-wrap,.loop-entry,.entry-hero-container-inner,.site-main-header-wrap,.site-top-header-wrap,.site-bottom-header-wrap,.site-footer-wrap,.site-middle-footer-wrap,.site-bottom-footer-wrap,.site-top-footer-wrap){background-color:var(--global-palette9);color:var(--global-palette4)}html[data-oga-mode=dark] :is(.site-header-row-container-inner,.site-footer-row-container-inner){background-color:var(--global-palette8);color:var(--global-palette4)}html[data-oga-mode=dark] :is(.main-navigation,.secondary-navigation,.mobile-navigation,.site-footer) a{color:var(--global-palette3)}html[data-oga-mode=dark] :is(.main-navigation,.secondary-navigation,.mobile-navigation,.site-footer) a:hover{color:var(--global-palette1)}html[data-oga-mode=dark] :is(.main-navigation .sub-menu,.popup-drawer .drawer-inner,.mobile-navigation){background-color:var(--global-palette8);color:var(--global-palette3)}html[data-oga-mode=dark] :is(input:not([type=submit]):not([type=button]):not([type=checkbox]):not([type=radio]),textarea,select){background-color:var(--global-palette8);border-color:#54655b;color:var(--global-palette3)}html[data-oga-mode=dark] :is(hr,.entry,.loop-entry,.site-footer-row-container-inner){border-color:#43534a}html[data-oga-mode=dark] .oga-hx{--oga-panel:#202c26;--oga-ink:#f1ede5;--oga-muted:#c1cbc3;--oga-edge:#54655b;--oga-accent:#e0a47a;color:#f1ede5}html[data-oga-mode=dark] .oga-hx #oga-hx-panel button[type=submit]{background:#e0a47a;color:#18231e}html[data-oga-mode=dark] .wp-block-button__link:not(.has-text-color){color:#18231e}html[data-oga-mode=dark] .wp-block-button__link:not(.has-background){background-color:#e0a47a}html[data-oga-mode=dark] :is(.kb-row-layout-wrap,.wp-block-kadence-rowlayout):is(.kt-row-has-bg,.kb-row-has-bg){--global-palette7:#f4f1ea;--global-palette8:#e9e4da;--global-palette9:#ddd6c7}

/* Retire the original OGA search snippet without affecting other Code Snippets features. */
.oga-header-search-inline,.oga-header-search-fixed{display:none!important;}

.oga-site-search,.oga-mobile-search,.oga-header-search-inline,.oga-header-search-fixed{display:none!important;}

/* Wide desktop header only: preserve Kadence mobile breakpoints and all content widths. */
@media (min-width: 1100px) {
  #main-header .site-header-main-section-left {flex-shrink:0;}
  #main-header .site-main-header-wrap .site-header-row-container-inner > .site-container,
  #main-header .site-main-header-wrap .site-header-row-container-inner > .site-header-row-container {max-width:1680px;width:100%;padding-left:clamp(24px,3vw,56px);padding-right:clamp(24px,3vw,56px);box-sizing:border-box;}
  #main-header .site-main-header-inner-wrap {grid-template-columns:auto minmax(0,1fr) auto;}
  #main-header .main-navigation .primary-menu-container > ul {flex-wrap:nowrap;}
  #main-header .main-navigation .primary-menu-container > ul > li > a {white-space:nowrap;padding-left:clamp(6px,.55vw,11px);padding-right:clamp(6px,.55vw,11px);}
  #main-header .site-header-main-section-right {min-width:0;}
}
@media (min-width:1100px) and (max-width:1350px) {
  #main-header .site-branding img {max-width:190px;height:auto;}
  #main-header .main-navigation .primary-menu-container > ul > li > a {font-size:clamp(13px,1.15vw,16px);}
}
/* Icon contrast against OGA's existing muted forest header in light mode. */
html[data-oga-mode=light] #masthead .oga-hx {color:#f4f1ea;}

/* Only the OGA brand artwork is affected; corrected rendition needs no filters. */
html[data-oga-mode=dark] :is(#masthead .oga-hx-logo,#colophon .oga-hx-logo){opacity:1!important;filter:none!important;}
html[data-oga-mode=dark] :is(#masthead .oga-hx-logo-corrected,#colophon .oga-hx-logo-corrected){opacity:1!important;filter:none!important;}
html[data-oga-mode=light] :is(#masthead .oga-hx-logo,#colophon .oga-hx-logo){opacity:1!important;filter:none!important;}
