/* ErgoRadar 2 — high-contrast redesign; preserves existing JS hooks and templates. */
:root{--er-ink:#0b1d33;--er-navy:#102f48;--er-teal:#09bba9;--er-bg:#edf5f8;--er-white:#fff;--er-radius:20px;--er-shadow:0 14px 40px rgba(7,28,51,.11)}
html{scroll-behavior:smooth}body{background:var(--er-bg)!important;color:#162d42!important;font-family:Inter,Commissioner,system-ui,-apple-system,'Segoe UI',sans-serif!important;-webkit-font-smoothing:antialiased}
.ergoradar-masthead{position:relative;z-index:10000;background:linear-gradient(110deg,#081b31 0%,#103c50 65%,#0d5e65 100%);border-bottom:4px solid #10d7c3;color:white;box-shadow:0 8px 30px rgba(0,0,0,.18)}
.ergoradar-masthead-inner{max-width:1260px;margin:auto;padding:20px 26px;display:flex;align-items:center;gap:25px;justify-content:space-between;flex-wrap:wrap}
.ergoradar-brand{display:inline-flex;align-items:center;gap:12px;font-weight:900;font-size:clamp(26px,3vw,38px);letter-spacing:-1.5px;line-height:1.1;color:white!important;text-decoration:none!important}
.ergoradar-symbol{display:grid;place-items:center;width:51px;height:51px;border:2px solid #44e2d0;background:rgba(13,207,185,.12);border-radius:16px;font-size:43px;line-height:1;color:#48e5d1}
.ergoradar-brand-accent{color:#42e0ce}.ergoradar-subtitle{color:#c8e3ed;font-weight:500;font-size:14px;letter-spacing:.2px}
.ergoradar-toplink{padding:13px 20px;border-radius:999px;background:#19d1bd;color:#062b36!important;text-decoration:none!important;font-weight:800;box-shadow:0 6px 20px rgba(0,0,0,.16)}
.ergoradar-toplink:hover{background:white;color:#0b3545!important}
body :is(h1,h2,h3){letter-spacing:-.035em}body h1{font-size:clamp(2rem,4vw,3.6rem);line-height:1.12}body h2{font-size:clamp(1.45rem,2.7vw,2.4rem)}
body :is(.site-header,#masthead,header.site-header){background:#0e2940!important;color:#fff!important;border-bottom:1px solid #24556a!important}
body :is(.site-header,#masthead,header.site-header) a{color:#f3fffe!important}
body :is(.site-header,#masthead,header.site-header) a:hover{color:#3fe1cd!important}
body :is(.site-footer,#colophon,footer.site-footer){background:#091b30!important;color:#d2e1ea!important}
body :is(.site-footer,#colophon,footer.site-footer) a{color:#61e4d2!important}
body :is(.hero,.home-hero,.hero-section,.home-intro,.hero-wrap){background:linear-gradient(125deg,#0b213a,#0b5662)!important;color:white!important;border-radius:0 0 28px 28px!important;padding-top:36px;padding-bottom:36px}
body :is(.hero,.home-hero,.hero-section,.home-intro,.hero-wrap) :is(h1,h2,h3,p){color:white!important}
body :is(.card,.db-item,.program-card,.euk-card,.entry-card,.database-item,.db-row,.result-item,.wp-block-group.is-style-card){background:#fff!important;border:1px solid #d7e7ed!important;border-radius:20px!important;box-shadow:var(--er-shadow)!important;overflow:hidden}
body :is(.card,.db-item,.program-card,.euk-card,.entry-card,.database-item,.db-row,.result-item):hover{border-color:#7adbd2!important;box-shadow:0 16px 46px rgba(7,28,51,.16)!important}
body :is(button,input[type=submit],.button,.btn,.wp-block-button__link){border-radius:12px!important;transition:transform .2s,box-shadow .2s}
body :is(button,input[type=submit],.button,.btn,.wp-block-button__link):hover{transform:translateY(-1px)}
body :is(input[type=text],input[type=search],input[type=email],select,textarea){background:#fff!important;border:1px solid #c5dce5!important;border-radius:12px!important;max-width:100%}
body :is(input,select,textarea,button,a):focus-visible{outline:3px solid #3bd8c5;outline-offset:3px}
body :is(.badge,.chip,.tag){border-radius:999px!important}
body :is(.wp-block-button__link){background:#0ab8a6!important;color:#062e38!important;font-weight:800}
body :is(.wp-block-quote){border-left:5px solid #11b9a8;padding-left:20px}
::selection{background:#87e9df;color:#06293a}
@media(max-width:760px){.ergoradar-masthead-inner{padding:15px;gap:10px}.ergoradar-subtitle{order:3;width:100%;font-size:12px}.ergoradar-toplink{font-size:12px;padding:10px}.ergoradar-symbol{width:40px;height:40px;font-size:32px}.ergoradar-brand{font-size:26px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important}}
/* Hide redundant legacy brand icon only where header has both mark and site title; preserve menus. */
.site-header .site-title, header.site-header .site-title, #masthead .site-title{font-weight:800!important}
.site-footer, footer.site-footer, #colophon{padding-bottom:24px}

/* v4: remove any residual extra masthead from previous release. */
#ergoradar-masthead,.ergoradar-masthead{display:none!important}
