/* Scoped to the existing HEREDITAS theme. No changes to links or scripts. */
body.hereditas-site #site-header {
  background:#071b17;
  color:#fff;
  border-bottom:1px solid #7f704f;
  box-shadow:0 4px 20px #0003;
}
body.hereditas-site #site-header .site-header__inner {gap:18px}
body.hereditas-site #main-nav {gap:20px;color:#fff}
body.hereditas-site #main-nav>a {
  display:flex;align-items:center;min-height:46px;
  color:#fff;font-size:15px;font-weight:700;line-height:1.35;
  transform-origin:center;transition:transform .18s ease,color .18s ease;
}
@media(min-width:1181px) and (hover:hover) and (pointer:fine){
  body.hereditas-site #main-nav>a:hover {transform:scale(1.08)}
}
body.hereditas-site #main-nav>a:hover,
body.hereditas-site #main-nav>a.is-active {color:#efd59f}
body.hereditas-site #main-nav>a::after {height:2px;background:#efd59f}
body.hereditas-site #site-header .header-actions {gap:14px;flex-shrink:0}
body.hereditas-site #site-header .lang-switcher a {color:#fff;font-weight:700}
body.hereditas-site #site-header .lang-switcher a.is-active {color:#efd59f}
body.hereditas-site #site-header .header-actions>.btn,
body.hereditas-site #site-header .main-nav__mobile-tools .btn,
body.hereditas-site .hero__actions .btn--gold {
  background:#e0c28a;color:#071b17;border:2px solid #e0c28a;
  font-size:15px;font-weight:700;letter-spacing:.01em;
  min-height:56px;padding:12px 22px;line-height:1.4;
  box-shadow:0 4px 14px #0003;
}
body.hereditas-site #site-header .header-actions>.btn:hover,
body.hereditas-site #site-header .main-nav__mobile-tools .btn:hover,
body.hereditas-site .hero__actions .btn--gold:hover {background:#f1d9aa;border-color:#f1d9aa;color:#071b17}
body.hereditas-site .hero__actions .btn--outline {
  background:#071b17;color:#fff;border:2px solid #f5f0e6;
  font-size:15px;font-weight:700;letter-spacing:.01em;
  min-height:56px;padding:12px 22px;line-height:1.4;
}
body.hereditas-site .hero__actions .btn--outline:hover {background:#f5f0e6;color:#071b17;border-color:#f5f0e6}
body.hereditas-site #site-header .menu-toggle,
body.hereditas-site #site-header .hru-language summary {border:1px solid #e0c28a;background:#102d25;color:#fff}
body.hereditas-site #site-header :is(a,button,summary):focus-visible,
body.hereditas-site .hero__actions a:focus-visible {outline:3px solid #fff;outline-offset:4px;box-shadow:0 0 0 6px #071b17}
@media(min-width:1181px) and (max-width:1400px){
  body.hereditas-site #site-header .brand img {width:205px}
  body.hereditas-site #main-nav {gap:16px}
  body.hereditas-site #main-nav>a {font-size:14px}
  body.hereditas-site #site-header .header-actions>.btn {padding-inline:16px;font-size:14px}
}
@media(max-width:1180px){
  body.hereditas-site #main-nav.is-open {gap:0;background:#071b17}
  body.hereditas-site #main-nav.is-open>a {font-size:17px;min-height:52px;border-bottom:1px solid #496158}
}
@media(max-width:620px){
  body.hereditas-site #site-header .site-header__inner {gap:10px}
  body.hereditas-site .hero__actions .btn {font-size:16px;min-height:58px;padding:13px 18px}
}
@media(prefers-reduced-motion:reduce){
  body.hereditas-site #main-nav>a,
  body.hereditas-site #main-nav>a:hover {transition:none;transform:none}
  body.hereditas-site #site-header .btn,
  body.hereditas-site .hero__actions .btn {transition:none;transform:none}
}
