/* Modern visual refresh — additive overrides; legacy assets and layout remain available. */
:root {
  color-scheme: light;
  --kh-ink: #252522;
  --kh-muted: #6f706c;
  --kh-paper: #fbfaf8;
  --kh-accent: #8c6b55;
  --kh-line: #e8e3dd;
}
html { scroll-behavior: smooth; }
body {
  color: var(--kh-ink);
  background: var(--kh-paper);
  font-family: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: var(--kh-accent); transition: color .18s ease, opacity .18s ease; }
a:hover, a:focus { color: #5d4435; }
:focus-visible { outline: 2px solid var(--kh-accent); outline-offset: 3px; }
h1, h2, h3, h4, h5 {
  color: var(--kh-ink);
  line-height: 1.2;
  letter-spacing: -.025em;
  font-weight: 500;
}
p { margin-top: 0; }
header, .header, #header { position: relative; }
nav a, .sf-menu a, .menu a {
  text-decoration: none;
  transition: color .18s ease, background-color .18s ease;
}
.container, .container_12, .container_16 { max-width: 1180px; }
img { border-radius: 2px; }
input, textarea, select, button {
  font: inherit;
  max-width: 100%;
}
input, textarea, select {
  border: 1px solid var(--kh-line);
  border-radius: 4px;
  padding: .7rem .85rem;
  background: #fff;
  color: var(--kh-ink);
}
button, input[type="submit"], .button {
  border-radius: 4px;
  cursor: pointer;
}
footer, .footer { color: var(--kh-muted); }
hr { border: 0; border-top: 1px solid var(--kh-line); }
@media (max-width: 767px) {
  body { font-size: 15px; }
  img { max-width: 100%; }
  .container, .container_12, .container_16 { width: auto; max-width: 100%; padding-left: 18px; padding-right: 18px; }
  h1 { font-size: clamp(1.8rem, 7vw, 2.6rem); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Readability and contrast correction */
:root {
  --kh-ink: #202124;
  --kh-muted: #555b62;
  --kh-paper: #ffffff;
  --kh-accent: #75452d;
  --kh-line: #d7dce1;
}
html, body { background-color: #fff !important; color: #202124 !important; }
body, #content, #content .wrapper2, #content .container, main, article, section.content {
  color: #202124;
}
#content { background-color: #fff; }
#content p, #content li, #content td, #content th, #content label,
#content .details, #content .wrapper2, footer, .footer {
  color: #30343a;
}
#content h1, #content h2, #content h3, #content h4, #content h5,
#content strong, #content b { color: #17191c; }
a, #content a { color: #75452d; }
a:hover, a:focus, #content a:hover, #content a:focus { color: #4b2b1b; }
/* Override legacy dark inline panels that made text difficult to read. */
#content [style*="background-color:#000"],
#content [style*="background-color: #000"],
#content [style*="background:#000"],
#content [style*="background: #000"] {
  background-color: #f3f4f6 !important;
  background: #f3f4f6 !important;
  color: #202124 !important;
}
#content [style*="background-color:#000"] a,
#content [style*="background-color: #000"] a,
#content [style*="background:#000"] a,
#content [style*="background: #000"] a { color: #75452d !important; }
input, textarea, select { color: #202124; background-color: #fff; }



/* DESIGN 02 — MODERN MINIMAL */
:root{--kh-bg:#fff;--kh-surface:#fff;--kh-ink:#171a1d;--kh-muted:#454b52;--kh-accent:#235b79;--kh-line:#dfe4e8}
html,body{background:#fff!important;color:var(--kh-ink)!important;font-family:Arial,"Helvetica Neue",sans-serif;font-size:16px;line-height:1.8}
body{background-image:none!important;-webkit-font-smoothing:antialiased}
#header{background:#14232d!important;color:#fff!important;padding-top:12px;border-bottom:1px solid #dfe4e8;box-shadow:0 4px 18px rgba(17,24,39,.04)}
#header .details,#header .details p,#header .details a{color:#fff!important}
#header nav{background:#14232d!important;border-top:1px solid #334650;border-bottom:1px solid #334650}
#header nav a,.sf-menu a{color:#fff!important;letter-spacing:.06em;font-size:12px;font-weight:700;padding:15px 17px}
#header nav a:hover,#header nav a:focus,.sf-menu a:hover{background:#235b79!important;color:#fff!important}
#content,#content .wrapper2,#content .container,#content .row,#content .grid_12,#content .grid_8,#content .grid_4{background:transparent!important;color:var(--kh-ink)}
#content{padding-top:38px;padding-bottom:44px}
#content p,#content li,#content td,#content th,#content label,#content .details{color:var(--kh-muted)}
#content h1,#content h2,#content h3,#content h4,#content h5{color:var(--kh-ink)!important;font-family:"Helvetica Neue",Arial,sans-serif!important;font-weight:650!important;letter-spacing:-.035em}
#content a{color:#235b79}#content a:hover{color:#123b50}
#content img{border-radius:5px}
#content [style*="background:#000"],#content [style*="background: #000"],#content [style*="background-color:#000"],#content [style*="background-color: #000"]{background:#f3f6f8!important;color:#171a1d!important}
#footer,footer{background:#f3f6f8!important;color:#454b52!important;padding:24px 0;border-top:1px solid #dfe4e8}
#footer * ,footer *{color:#454b52!important}
input,textarea,select{background:#fff!important;color:#171a1d!important;border:1px solid #cbd3da!important;border-radius:5px;padding:12px}
button,input[type=submit],.button{background:#235b79!important;color:#fff!important;border:0;border-radius:5px;padding:12px 20px}
hr{border:0;border-top:1px solid var(--kh-line)}
@media(max-width:767px){#header nav a,.sf-menu a{padding:12px 9px;font-size:11px}#content{padding-top:20px}}

