/* Druk24 site header — isolated styles. */
.d24h-header {
  --d24h-ink: #111924;
  --d24h-muted: #637080;
  --d24h-blue: #088fca;
  --d24h-blue-hover: #0078ae;
  --d24h-white: #ffffff;
  --d24h-border: #e4e9ef;
  --d24h-soft: #f5f7fa;
  box-sizing: border-box;
  width: 100%;
  color: var(--d24h-ink);
  background: var(--d24h-white);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  text-align: left;
  isolation: isolate;
  border-bottom: 1px solid var(--d24h-border);
  box-shadow: 0 8px 30px rgba(14, 27, 39, .06);
}
.d24h-header *, .d24h-header *::before, .d24h-header *::after { box-sizing: border-box; }
body.d24h-sticky .d24h-header { position: sticky; top: 0; z-index: 9998; }
body.admin-bar.d24h-sticky .d24h-header { top: 32px; }
.d24h-header .d24h-container { max-width: 1380px; width: 100%; margin: 0 auto; padding: 0 30px; }
.d24h-header a { text-decoration: none; color: inherit; transition: color .18s ease, background-color .18s ease, border-color .18s ease; }
.d24h-header a:hover, .d24h-header a:focus { text-decoration: none; }
.d24h-header button, .d24h-header input {
  font: inherit;
  letter-spacing: normal;
  text-transform: none;
  box-shadow: none;
  border-radius: 0;
  margin: 0;
}
.d24h-header button { cursor: pointer; }
.d24h-header button:focus-visible, .d24h-header input:focus-visible, .d24h-header a:focus-visible {
  outline: 3px solid rgba(8, 143, 202, .4);
  outline-offset: 2px;
}
.d24h-header [hidden] { display: none !important; }
.d24h-header .d24h-visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
/* 1. Contact strip */
.d24h-header .d24h-topline { background: #101820; color: #e0e7ed; min-height: 30px; }
.d24h-header .d24h-topline-inner { min-height: 30px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.d24h-header .d24h-topline-item, .d24h-header .d24h-topline-contact { display: inline-flex; align-items: center; gap: 13px; font-size: 11.5px; font-weight: 550; letter-spacing: .01em; }
.d24h-header .d24h-topline-item > span { color: #55bce7; font-size: 16px; line-height: 1; }
.d24h-header .d24h-topline-contact a:hover { color: #7bd2f5; }
.d24h-header .d24h-topline-sep { height: 12px; width: 1px; background: #475461; }
/* 2. Primary row */
.d24h-header .d24h-primary { background: var(--d24h-white); }
.d24h-header .d24h-primary-inner { display: grid; grid-template-columns: minmax(165px, 235px) minmax(270px, 1fr) auto; gap: clamp(18px, 3vw, 52px); align-items: center; min-height: 82px; }
.d24h-header .d24h-brand { display: inline-flex; width: max-content; max-width: 100%; align-items: center; gap: 11px; line-height: 1; }
.d24h-header .d24h-brand img { width: auto; max-height: 58px; max-width: 215px; display: block; object-fit: contain; }
.d24h-header .d24h-brand-symbol { display: inline-flex; height: 40px; width: 40px; flex: 0 0 40px; justify-content: center; align-items: center; position: relative; border-radius: 9px; background: #101820; transform: rotate(-6deg); }
.d24h-header .d24h-brand-symbol span { display: block; position: absolute; border: 2px solid #fff; border-radius: 2px; width: 18px; height: 16px; }
.d24h-header .d24h-brand-symbol span:nth-child(1) { top: 9px; left: 13px; opacity: .5; }
.d24h-header .d24h-brand-symbol span:nth-child(2) { top: 13px; left: 11px; opacity: .75; }
.d24h-header .d24h-brand-symbol span:nth-child(3) { top: 17px; left: 9px; border-color: #52c4f2; }
.d24h-header .d24h-brand-name { display: inline-flex; align-items: baseline; font-weight: 850; font-size: 30px; letter-spacing: -.065em; color: #101820; position: relative; padding-bottom: 12px; white-space: nowrap; }
.d24h-header .d24h-brand-name > span { color: var(--d24h-blue); }
.d24h-header .d24h-brand-name small { font-size: 9px; position: absolute; right: 1px; bottom: 0; font-weight: 700; color: #7b8590; letter-spacing: .21em; }
.d24h-header .d24h-search { width: 100%; min-width: 0; }
.d24h-header .d24h-search-form { margin: 0 !important; position: relative; display: flex; min-width: 0; width: 100%; height: 47px; border: 1px solid #d9e2ea; border-radius: 11px; background: var(--d24h-soft); transition: border-color .15s ease, box-shadow .15s ease; }
.d24h-header .d24h-search-form:focus-within { border-color: var(--d24h-blue); box-shadow: 0 0 0 3px rgba(8,143,202,.10); }
.d24h-header .d24h-search-lens { width: 46px; flex: 0 0 46px; display: flex; align-items: center; justify-content: center; color: #637080; }
.d24h-header .d24h-search-lens svg { width: 20px; height: 20px; }
.d24h-header #d24h-search-input { display: block; flex: 1; min-width: 0; height: 100%; padding: 0 10px 0 0; border: 0; background: transparent; color: #101820; outline: none; border-radius: 0; font-size: 13.5px; font-weight: 450; line-height: 1.3; width: auto; }
.d24h-header #d24h-search-input::placeholder { color: #788695; opacity: 1; }
.d24h-header #d24h-search-input:focus { box-shadow: none; }
.d24h-header .d24h-search-submit { flex: 0 0 auto; align-self: stretch; margin: 4px 4px 4px 0; border: 0; border-radius: 8px; background: #101820; color: #fff; font-size: 12.5px; font-weight: 700; padding: 0 19px; line-height: 1; }
.d24h-header .d24h-search-submit:hover { background: var(--d24h-blue); color: #fff; }
.d24h-header .d24h-cta { background: var(--d24h-blue); color: #fff; border-radius: 10px; padding: 15px 19px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-size: 13px; font-weight: 750; white-space: nowrap; min-height: 47px; }
.d24h-header .d24h-cta > span { font-size: 21px; line-height: 14px; font-weight: 400; }
.d24h-header .d24h-cta:hover { background: var(--d24h-blue-hover); color: #fff; }
.d24h-header .d24h-mobile-actions { display: none; }
/* 3. Navigation */
.d24h-header .d24h-nav { background: var(--d24h-soft); border-top: 1px solid var(--d24h-border); }
.d24h-header .d24h-nav-inner { display: flex; align-items: center; min-height: 47px; gap: 4px; }
.d24h-header .d24h-nav-inner > a:not(.d24h-mobile-cta) { position: relative; padding: 13px 19px; font-size: 12.5px; color: #344253; font-weight: 720; border-radius: 7px; line-height: 1.35; white-space: nowrap; }
.d24h-header .d24h-nav-inner > a:not(.d24h-mobile-cta):hover,
.d24h-header .d24h-nav-inner > a[aria-current="page"] { color: var(--d24h-blue); background: #e6f4fa; }
.d24h-header .d24h-nav-support { margin-left: auto; color: #72808e; font-size: 11.5px; font-weight: 550; white-space: nowrap; }
.d24h-header .d24h-nav-dot { width: 7px; height: 7px; display: inline-block; vertical-align: middle; background: var(--d24h-blue); border-radius: 50%; margin-right: 6px; }
.d24h-header .d24h-mobile-cta { display: none; }
/* Suggestions */
.d24h-header .d24h-search-results { display: block; position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 99; overflow: hidden; border: 1px solid var(--d24h-border); border-radius: 12px; background: #fff; box-shadow: 0 18px 35px rgba(7,24,40,.18); }
.d24h-header .d24h-results-title { color: #83909b; font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: .10em; padding: 12px 16px 7px; }
.d24h-header .d24h-result { display: flex; align-items: center; justify-content: space-between; gap: 15px; width: 100%; padding: 11px 16px; background: #fff; border-top: 1px solid #f1f3f6; color: #243445; font-size: 13px; font-weight: 650; }
.d24h-header .d24h-result > span:last-child { color: #95a2ac; font-size: 18px; font-weight: 400; }
.d24h-header .d24h-result:hover, .d24h-header .d24h-result.is-selected { background: #edf7fb; color: #046e9f; }
.d24h-header .d24h-no-results { padding: 12px 16px 15px; font-size: 12px; color: var(--d24h-muted); }
/* Hide known WordPress theme headers only when explicitly selected. */
body.d24h-hide-theme #masthead,
body.d24h-hide-theme header.site-header,
body.d24h-hide-theme #site-header,
body.d24h-hide-theme #header,
body.d24h-hide-theme .elementor-location-header,
body.d24h-hide-theme .et-l--header,
body.d24h-hide-theme .fusion-header-wrapper,
body.d24h-hide-theme .fl-theme-builder-header,
body.d24h-hide-theme .wp-site-blocks > header,
body.d24h-hide-theme .wp-block-template-part:has(> header) {
  display: none !important;
}
@media (max-width: 1160px) and (min-width: 1025px) {
  .d24h-header .d24h-container { padding-inline: 18px; }
  .d24h-header .d24h-primary-inner { grid-template-columns: 180px minmax(270px, 1fr) auto; gap: 22px; }
  .d24h-header .d24h-nav-support { display: none; }
}
@media (max-width: 1024px) {
  .d24h-header .d24h-topline { display: none; }
  .d24h-header .d24h-container { padding-inline: 20px; }
  .d24h-header .d24h-primary-inner { min-height: 69px; display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
  .d24h-header .d24h-brand { margin-right: auto; }
  .d24h-header .d24h-brand-symbol { width: 35px; height: 35px; flex-basis: 35px; }
  .d24h-header .d24h-brand-name { font-size: 26px; }
  .d24h-header .d24h-brand img { max-height: 48px; max-width: 185px; }
  .d24h-header .d24h-search { display: none; order: 3; flex: 0 0 100%; width: 100%; padding: 0 0 14px; }
  .d24h-header.is-search-open .d24h-search { display: block; }
  .d24h-header .d24h-search-form { height: 46px; }
  .d24h-header .d24h-cta { display: none; }
  .d24h-header .d24h-mobile-actions { display: flex; align-items: center; gap: 8px; }
  .d24h-header .d24h-icon-button { display: inline-flex; justify-content: center; align-items: center; flex: 0 0 42px; width: 42px; height: 42px; border: 1px solid #dce3eb; border-radius: 10px; color: #253547; background: #f5f7f9; padding: 10px; }
  .d24h-header .d24h-icon-button:hover { background: #ebf6fa; border-color: #bcdfea; color: var(--d24h-blue); }
  .d24h-header .d24h-icon-button svg { width: 20px; height: 20px; display: block; }
  .d24h-header .d24h-close-icon { display: none !important; }
  .d24h-header.is-menu-open .d24h-menu-icon { display: none; }
  .d24h-header.is-menu-open .d24h-close-icon { display: block !important; }
  .d24h-header .d24h-nav { display: none; }
  .d24h-header.is-menu-open .d24h-nav { display: block; border-top: 1px solid var(--d24h-border); }
  .d24h-header .d24h-nav-inner { padding-block: 7px 15px; display: flex; flex-direction: column; align-items: stretch; gap: 2px; }
  .d24h-header .d24h-nav-inner > a:not(.d24h-mobile-cta) { padding: 12px 9px; border-radius: 8px; font-size: 14px; }
  .d24h-header .d24h-nav-support { margin: 10px 8px 0; white-space: normal; }
  .d24h-header .d24h-mobile-cta { display: flex; align-items: center; justify-content: space-between; background: var(--d24h-blue); color: #fff; border-radius: 9px; padding: 13px; margin-top: 8px; font-weight: 750; }
  .d24h-header .d24h-mobile-cta:hover { background: var(--d24h-blue-hover); color: #fff; }
  .d24h-header .d24h-search-results { box-shadow: 0 13px 24px rgba(7,24,40,.17); }
}
@media (max-width: 500px) {
  .d24h-header .d24h-container { padding-inline: 14px; }
  .d24h-header .d24h-primary-inner { min-height: 65px; }
  .d24h-header .d24h-brand { gap: 7px; }
  .d24h-header .d24h-brand-symbol { width: 31px; height: 31px; flex-basis: 31px; }
  .d24h-header .d24h-brand-name { font-size: 24px; }
  .d24h-header .d24h-mobile-actions { gap: 6px; }
  .d24h-header .d24h-icon-button { width: 39px; height: 39px; flex-basis: 39px; }
  .d24h-header .d24h-search-submit { padding-inline: 12px; }
  .d24h-header #d24h-search-input { font-size: 12.5px; }
}
@media (max-width: 782px) { body.admin-bar.d24h-sticky .d24h-header { top: 46px; } }
@media (max-width: 600px) { body.admin-bar.d24h-sticky .d24h-header { top: 0; } }
@media (prefers-reduced-motion: reduce) { .d24h-header a, .d24h-header .d24h-search-form { transition: none; } }


/* Version 1.1.0 — site-wide overlay stacking and admin-controlled palette. */
.d24h-header {
  background: var(--d24h-main-bg, #fff);
  color: var(--d24h-main-text, #111924);
  position: relative;
  z-index: 10001;
  overflow: visible !important;
}
body.d24h-sticky .d24h-header { position: sticky; z-index: 10001; }
.d24h-header.d24h-suggestions-visible,
body.d24h-sticky .d24h-header.d24h-suggestions-visible { z-index: 10000010; }
.d24h-header .d24h-primary {
  background: var(--d24h-main-bg, #fff);
  position: relative;
  z-index: 5;
  overflow: visible !important;
}
.d24h-header .d24h-primary-inner,
.d24h-header .d24h-search,
.d24h-header .d24h-search-form { overflow: visible !important; }
.d24h-header .d24h-search { position: relative; z-index: 9; }
.d24h-header .d24h-search-form {
  background: var(--d24h-search-bg, #f5f7fa);
  border-color: var(--d24h-border, #e4e9ef);
}
.d24h-header .d24h-nav {
  background: var(--d24h-nav-bg, #f5f7fa);
  border-color: var(--d24h-border, #e4e9ef);
  position: relative;
  z-index: 1;
}
.d24h-header .d24h-topline {
  background: var(--d24h-top-bg, #101820);
  color: var(--d24h-top-text, #e0e7ed);
}
.d24h-header .d24h-topline a { color: inherit; }
.d24h-header .d24h-topline a:hover { color: var(--d24h-blue); }
.d24h-header .d24h-topline-item > span { color: var(--d24h-blue); }
.d24h-header .d24h-brand-name,
.d24h-header .d24h-brand-fallback { color: var(--d24h-main-text); }
.d24h-header .d24h-brand-name > span,
.d24h-header .d24h-brand-fallback > span { color: var(--d24h-blue); }
.d24h-header .d24h-brand img {
  display: block;
  width: min(100%, var(--d24h-logo-width, 215px));
  height: var(--d24h-logo-height, 58px);
  max-width: var(--d24h-logo-width, 215px);
  max-height: var(--d24h-logo-height, 58px);
  object-fit: contain;
  object-position: left center;
}
.d24h-header .d24h-brand.d24h-logo-plate {
  border-radius: 9px;
  padding: 5px 9px;
  background: var(--d24h-logo-bg, #101820);
}
.d24h-header .d24h-brand-fallback {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
  position: relative;
  padding-bottom: 12px;
  font-size: 30px;
  font-weight: 850;
  letter-spacing: -.065em;
}
.d24h-header .d24h-brand-fallback small {
  position: absolute;
  right: 0; bottom: 0;
  color: var(--d24h-main-text);
  opacity: .55;
  font-size: 9px;
  letter-spacing: .21em;
}
.d24h-header #d24h-search-input { color: var(--d24h-search-text, #101820); }
.d24h-header #d24h-search-input::placeholder { color: var(--d24h-search-text, #101820); opacity: .6; }
.d24h-header .d24h-search-lens { color: var(--d24h-search-text, #101820); }
.d24h-header .d24h-search-submit {
  background: var(--d24h-cta-bg, #088fca);
  color: var(--d24h-cta-text, #fff);
}
.d24h-header .d24h-search-submit:hover { background: var(--d24h-blue); color: var(--d24h-cta-text); filter: brightness(.92); }
.d24h-header .d24h-cta,
.d24h-header .d24h-mobile-cta { background: var(--d24h-cta-bg, #088fca); color: var(--d24h-cta-text, #fff); }
.d24h-header .d24h-cta:hover,
.d24h-header .d24h-mobile-cta:hover { background: var(--d24h-cta-bg, #088fca); color: var(--d24h-cta-text, #fff); filter: brightness(.9); }
.d24h-header .d24h-nav-inner > a:not(.d24h-mobile-cta) { color: var(--d24h-nav-text, #344253); }
.d24h-header .d24h-nav-inner > a:not(.d24h-mobile-cta):hover,
.d24h-header .d24h-nav-inner > a[aria-current="page"] { color: var(--d24h-blue); }
.d24h-header .d24h-icon-button {
  border-color: var(--d24h-border, #e4e9ef);
  background: var(--d24h-search-bg, #f5f7fa);
  color: var(--d24h-search-text, #101820);
}
.d24h-header .d24h-search-results {
  top: calc(100% + 7px);
  z-index: 10000010;
  max-height: min(60vh, 480px);
  overflow-y: auto !important;
  overflow-x: hidden !important;
  overscroll-behavior: contain;
  background: var(--d24h-main-bg, #fff);
  border-color: var(--d24h-border, #e4e9ef);
  color: var(--d24h-main-text, #111924);
  box-shadow: 0 22px 50px rgba(7,24,40,.3);
}
.d24h-header .d24h-result {
  background: var(--d24h-main-bg, #fff);
  color: var(--d24h-main-text, #111924);
  border-color: var(--d24h-border, #e4e9ef);
}
.d24h-header .d24h-result > span:last-child { color: inherit; opacity: .65; }
.d24h-header .d24h-results-title { color: var(--d24h-main-text, #111924); opacity: .7; }
.d24h-header .d24h-result:hover,
.d24h-header .d24h-result.is-selected { color: var(--d24h-blue); background: var(--d24h-nav-bg, #f5f7fa); }
.d24h-header .d24h-no-results { color: var(--d24h-main-text, #111924); opacity: .75; }
@media (max-width: 1024px) {
  .d24h-header .d24h-brand img {
    max-width: min(var(--d24h-logo-width, 215px), calc(100vw - 155px));
    max-height: min(var(--d24h-logo-height, 58px), 48px);
    height: min(var(--d24h-logo-height, 58px), 48px);
  }
  .d24h-header .d24h-brand-fallback { font-size: 25px; }
  .d24h-header .d24h-search-results { max-height: min(55vh, 360px); }
}
@media (max-width: 500px) {
  .d24h-header .d24h-brand img {
    max-width: min(var(--d24h-logo-width, 215px), calc(100vw - 140px));
    max-height: min(var(--d24h-logo-height, 58px), 43px);
    height: min(var(--d24h-logo-height, 58px), 43px);
  }
  .d24h-header .d24h-brand-fallback { font-size: 22px; }
}


/* Version 1.2.0 — layout & type controls in the Drukulator visual language. */
.d24h-header {
  font-family: var(--d24h-font, "Montserrat", Arial, sans-serif);
  font-weight: var(--d24h-weight, 600);
  border-color: var(--d24h-border, #dfe3e7);
  box-shadow: 0 10px 24px rgba(18,28,38,.065);
}
.d24h-header .d24h-primary-inner { min-height: var(--d24h-height-desktop, 82px); }
.d24h-header .d24h-topline-item,
.d24h-header .d24h-topline-contact { font-size: var(--d24h-font-top, 12px); }
.d24h-header .d24h-brand-name,
.d24h-header .d24h-brand-fallback { font-size: var(--d24h-font-logo, 30px); font-weight: var(--d24h-weight-logo, 800); }
.d24h-header .d24h-nav-inner > a:not(.d24h-mobile-cta) { font-size: var(--d24h-font-nav, 13px); font-weight: var(--d24h-weight, 600); }
.d24h-header #d24h-search-input { font-size: var(--d24h-font-search, 14px); }
.d24h-header .d24h-search-submit,
.d24h-header .d24h-cta,
.d24h-header .d24h-mobile-cta { font-size: var(--d24h-font-cta, 13px); }
.d24h-header .d24h-cta,
.d24h-header .d24h-search-submit,
.d24h-header .d24h-search-form { border-radius: 12px; }
.d24h-header .d24h-nav-inner > a:not(.d24h-mobile-cta):hover,
.d24h-header .d24h-nav-inner > a[aria-current="page"] { background: rgba(8,143,202,.09); }
@media (min-width: 1025px) {
  .d24h-header .d24h-primary-inner { display: flex; gap: clamp(14px, 2.5vw, 38px); }
  .d24h-header .d24h-brand { flex: 0 1 auto; max-width: min(34%, 450px); min-width: 0; }
  .d24h-header .d24h-search { flex: 1 1 340px; min-width: 160px; }
  .d24h-header .d24h-cta { flex: 0 0 auto; }
  .d24h-header .d24h-brand { order: 1; }
  .d24h-header .d24h-search { order: 2; }
  .d24h-header .d24h-cta { order: 3; }
  .d24h-header.d24h-layout-logo-cta-search .d24h-cta { order: 2; }
  .d24h-header.d24h-layout-logo-cta-search .d24h-search { order: 3; }
  .d24h-header.d24h-layout-search-logo-cta .d24h-search { order: 1; }
  .d24h-header.d24h-layout-search-logo-cta .d24h-brand { order: 2; }
  .d24h-header.d24h-layout-search-cta-logo .d24h-search { order: 1; }
  .d24h-header.d24h-layout-search-cta-logo .d24h-cta { order: 2; }
  .d24h-header.d24h-layout-search-cta-logo .d24h-brand { order: 3; }
  .d24h-header.d24h-layout-cta-logo-search .d24h-cta { order: 1; }
  .d24h-header.d24h-layout-cta-logo-search .d24h-brand { order: 2; }
  .d24h-header.d24h-layout-cta-logo-search .d24h-search { order: 3; }
  .d24h-header.d24h-layout-cta-search-logo .d24h-cta { order: 1; }
  .d24h-header.d24h-layout-cta-search-logo .d24h-search { order: 2; }
  .d24h-header.d24h-layout-cta-search-logo .d24h-brand { order: 3; }
  .d24h-header.d24h-menu-align-center .d24h-nav-inner { justify-content: center; }
  .d24h-header.d24h-menu-align-right .d24h-nav-inner { justify-content: flex-end; }
  .d24h-header.d24h-menu-align-center .d24h-nav-support,
  .d24h-header.d24h-menu-align-right .d24h-nav-support { display: none; }
  .d24h-header.d24h-contact-align-left .d24h-topline-inner { justify-content: flex-start; }
  .d24h-header.d24h-contact-align-center .d24h-topline-inner { justify-content: center; }
  .d24h-header.d24h-contact-align-right .d24h-topline-inner { justify-content: flex-end; }
}
@media (max-width: 1024px) {
  .d24h-header .d24h-primary-inner { min-height: var(--d24h-height-mobile, 69px); }
  .d24h-header .d24h-brand img {
    max-width: min(var(--d24h-logo-width-mobile,170px), calc(100vw - 150px));
    width: min(100%, var(--d24h-logo-width-mobile,170px));
    max-height: var(--d24h-logo-height-mobile,45px);
    height: var(--d24h-logo-height-mobile,45px);
  }
  .d24h-header .d24h-brand-name,
  .d24h-header .d24h-brand-fallback { font-size: var(--d24h-font-logo-mobile, 23px); }
  .d24h-header .d24h-nav-inner > a:not(.d24h-mobile-cta) { font-size: var(--d24h-font-nav-mobile, 15px); }
  .d24h-header.d24h-mobile-logo-right .d24h-brand { order: 2; margin-right: 0; margin-left: auto; }
  .d24h-header.d24h-mobile-logo-right .d24h-mobile-actions { order: 1; margin-right: auto; }
  .d24h-header.d24h-mobile-logo-right .d24h-search { order: 3; }
  .d24h-header.d24h-mobile-logo-center .d24h-primary-inner::before { content: ""; flex: 0 0 86px; order: 0; }
  .d24h-header.d24h-mobile-logo-center .d24h-brand { order: 1; margin: 0 auto; max-width: calc(100vw - 226px); justify-content: center; }
  .d24h-header.d24h-mobile-logo-center .d24h-mobile-actions { order: 2; margin-left: auto; }
  .d24h-header.d24h-mobile-logo-center .d24h-search { order: 3; }
}
@media (max-width: 500px) {
  .d24h-header .d24h-brand img { max-width: min(var(--d24h-logo-width-mobile, 170px), calc(100vw - 140px)); max-height: var(--d24h-logo-height-mobile, 45px); height: var(--d24h-logo-height-mobile, 45px); }
  .d24h-header.d24h-mobile-logo-center .d24h-primary-inner::before { flex-basis: 78px; }
  .d24h-header.d24h-mobile-logo-center .d24h-brand { max-width: calc(100vw - 190px); }
}

/* 1.2.1: Adjustable vertical breathing room; scoped to the new header. */
.d24h-header .d24h-topline-inner {
  padding-top: var(--d24h-contact-pad-top, 10px);
  padding-bottom: var(--d24h-contact-pad-bottom, 9px);
}
.d24h-header .d24h-topline-item,
.d24h-header .d24h-topline-contact { position: relative; top: var(--d24h-contact-shift-y, 0px); }
@media (min-width: 1025px) {
  .d24h-header .d24h-primary-inner {
    padding-top: var(--d24h-main-pad-top, 0px);
    padding-bottom: var(--d24h-main-pad-bottom, 0px);
  }
}
@media (max-width: 1024px) {
  .d24h-header .d24h-primary-inner {
    padding-top: var(--d24h-mobile-pad-top, 0px);
    padding-bottom: var(--d24h-mobile-pad-bottom, 0px);
  }
}

/* 1.2.2 — editable action buttons and independent Search palette. */
.d24h-header .d24h-search-submit {
  background: var(--d24h-search-button-bg, #101820);
  color: var(--d24h-search-button-text, #ffffff);
}
.d24h-header .d24h-search-submit:hover,
.d24h-header .d24h-search-submit:focus-visible {
  background: var(--d24h-search-button-hover-bg, #088fca);
  color: var(--d24h-search-button-hover-text, #ffffff);
  filter: none;
}
.d24h-header #d24h-search-input::placeholder { color: var(--d24h-search-placeholder, #72808e); opacity: 1; }
.d24h-header .d24h-actions { display: flex; flex: 0 1 auto; gap: 8px; flex-wrap: wrap; align-items: center; justify-content: flex-end; min-width: 0; }
.d24h-header .d24h-actions .d24h-cta { flex: 0 1 auto; padding-inline: 13px; text-align: center; white-space: normal; }
.d24h-header .d24h-action-outline { border: 1px solid var(--d24h-cta-bg); background: transparent; color: var(--d24h-cta-bg); }
.d24h-header .d24h-action-outline:hover { background: var(--d24h-cta-bg); color: var(--d24h-cta-text); }
.d24h-header .d24h-action-link { border: 1px solid transparent; background: transparent; color: var(--d24h-main-text); }
.d24h-header .d24h-action-link:hover { background: var(--d24h-nav-bg); color: var(--d24h-blue); }
.d24h-header .d24h-nav-inner > a.d24h-nav-style-primary {
  background: var(--d24h-cta-bg); color: var(--d24h-cta-text); border: 1px solid var(--d24h-cta-bg);
}
.d24h-header .d24h-nav-inner > a.d24h-nav-style-primary:hover,
.d24h-header .d24h-nav-inner > a.d24h-nav-style-primary[aria-current="page"] {
  background: var(--d24h-cta-bg); color: var(--d24h-cta-text); filter: brightness(.92);
}
.d24h-header .d24h-nav-inner > a.d24h-nav-style-outline { border: 1px solid var(--d24h-blue); color: var(--d24h-blue); }
.d24h-header .d24h-nav-inner > a.d24h-nav-style-outline:hover { background: var(--d24h-blue); color: #ffffff; }
@media (min-width: 1025px) {
  .d24h-header .d24h-primary-inner { flex-wrap: wrap; column-gap: clamp(12px,2vw,30px); row-gap: 12px; }
  .d24h-header .d24h-actions { max-width: min(48%, 640px); }
  .d24h-header .d24h-actions { order: 3; }
  .d24h-header.d24h-layout-logo-cta-search .d24h-actions { order: 2; }
  .d24h-header.d24h-layout-search-cta-logo .d24h-actions { order: 2; }
  .d24h-header.d24h-layout-cta-logo-search .d24h-actions,
  .d24h-header.d24h-layout-cta-search-logo .d24h-actions { order: 1; }
  /* Existing layout rules target .d24h-cta; their wrapper must be ordered too. */
}
@media (max-width: 1024px) {
  .d24h-header .d24h-actions { display: none; }
  .d24h-header .d24h-nav-inner > a.d24h-mobile-cta { display: flex; }
  .d24h-header .d24h-nav-inner > a.d24h-mobile-cta.d24h-action-outline {
    background: transparent; color: var(--d24h-cta-bg); border: 1px solid var(--d24h-cta-bg);
  }
  .d24h-header .d24h-nav-inner > a.d24h-mobile-cta.d24h-action-link {
    background: transparent; color: var(--d24h-nav-text); border: 1px solid transparent;
  }
  .d24h-header .d24h-nav-inner > a.d24h-nav-style-primary { color: var(--d24h-cta-text); }
}
@media (min-width: 1025px) {
  .d24h-header .d24h-nav-inner { flex-wrap: wrap; row-gap: 3px; padding-block: 5px; }
}
