/* Design tokens use the explicit brand-config mapping in
   brand-configs/otthonstart3hitel.hu.json. variant.lock.json selects the
   structural template; domain-specific refinements follow the token block.
   palette: slate-signal (institutional, calm, high-trust)
   type:    local-hungarian-system
   usage:   Accent is reserved for the primary CTA and one section eyebrow. Never behind body copy. */
:root {
  --background-color: #FFFFFF;
  --surface-color: #FFFFFF;
  --default-color: #3C444E;
  --heading-color: #14181D;
  --accent-color: #1F3A5F;
  --contrast-color: #FFFFFF;
  --default-font: 'Segoe UI', Tahoma, sans-serif;
  --heading-font: 'Segoe UI', Tahoma, sans-serif;
  --nav-font: 'Segoe UI', Tahoma, sans-serif;
  --nav-mobile-background-color: #FFFFFF;
  --nav-dropdown-background-color: #FFFFFF;
  --nav-dropdown-color: #14181D;
  --nav-dropdown-hover-color: #1F3A5F;
}

.light-background {
  --background-color: #F2F4F7;
  --surface-color: #FFFFFF;
}

.dark-background {
  --background-color: #14181D;
  --default-color: #FFFFFF;
  --heading-color: #FFFFFF;
  --surface-color: #3C444E;
  --accent-color: #C9762F;
  --contrast-color: #14181D;
  --nav-color: rgba(255, 255, 255, 0.85);
  --nav-hover-color: #C9762F;
}

/* The brand-colour block scope. 14 templates use it, and techie-pro applies it
   to the HERO - so omitting it leaves the most visible section of the page in
   the template's stock colour while everything else themes correctly. */
.accent-background {
  --background-color: #1F3A5F;
  --default-color: #FFFFFF;
  --heading-color: #FFFFFF;
  --accent-color: #FFFFFF;
  --surface-color: #16293F;
  --contrast-color: #1F3A5F;
  --nav-color: rgba(255, 255, 255, 0.85);
  --nav-hover-color: #FFFFFF;
}

.transparent-background {
  --background-color: transparent;
  --surface-color: transparent;
}

body {
  font-size: 17px;
  line-height: 1.65;
}

/* The imported themes ship muted helper text at their own grey, which survives
   a palette override and fails WCAG AA. axe measured 2.34:1 on .fst-italic
   (#a3aab4 on white) on the first real page. Pin these to the palette's
   secondary ink, which is contrast-checked. */
.fst-italic, .text-muted, small, figcaption {
  color: #3C444E !important;
}

/* A long wordmark wraps at 375px and collides with the hero heading beneath a
   transparent overlay header. Cap it so the two never overlap. */
@media (max-width: 575.98px) {
  .logo h1, .logo .sitename, .navbar-brand {
    font-size: 1.05rem !important;
    line-height: 1.2;
  }
}
