/* The document copy registers a private font. The shadow copy owns all layout. */
@font-face { font-family: DaviusNavigation; font-style: normal; font-weight: 200 800; font-display: swap; src: url('../fonts/manrope-latin-variable.woff2?v=23') format('woff2'); }
:host *, :host *::before, :host *::after { box-sizing: border-box; margin: 0; padding: 0; }
:host a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
:host button { font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
:host img { max-width: 100%; }
:host .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
/* Native-link fallback for a browser without declarative or scripted Shadow DOM.
   In supporting browsers this unslotted light-DOM content is not rendered. */
header[data-davius-menu] > .menu-fallback { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 28px; background: white; color: #263a55; font: 650 13px/1.7 DaviusNavigation, sans-serif; }
header[data-davius-menu] > .menu-fallback nav { display: flex; flex-wrap: wrap; gap: 5px; }
header[data-davius-menu] > .menu-fallback a { color: inherit; padding: 11px 14px; text-decoration: none; }
header[data-davius-menu] > .menu-fallback img { display: block; width: 150px; height: 57px; object-fit: contain; }
/* Isolated menu stylesheet. Visual selectors apply only inside the Shadow DOM. */
:host {
  all: initial !important;
  direction: ltr !important;
  unicode-bidi: normal !important;
  -webkit-font-smoothing: antialiased !important;
  --nav-gutter: max(28px, calc((100vw - 1240px) / 2)) !important;
  box-sizing: border-box !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 30 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 32px !important;
  min-height: 88px !important;
  padding: 14px var(--nav-gutter) !important;
  border: 0 !important;
  border-bottom: 1px solid #e5e9ed !important;
  background: #fffffff7 !important;
  backdrop-filter: blur(10px) !important;
  color: #33445c !important;
  font-family: DaviusNavigation, sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.7 !important;
  letter-spacing: normal !important;
}
:host .brand { display: flex; flex: 0 0 auto; align-items: center; }
:host .brand-logo { display: block; width: 150px; height: 57px; object-fit: contain; }
:host .site-nav { display: flex; align-items: center; gap: 5px; font-size: 14px; font-weight: 650; line-height: 1.7; }
:host .site-nav a { position: relative; display: block; padding: 11px 14px; border-radius: 4px; color: #263a55; font-size: 13px; font-weight: 650; line-height: 1.7; text-decoration: none; transition: color .2s, background .2s; }
:host .site-nav a:hover,
:host .site-nav a.active { color: #a34210; background: #fff3e9; }
:host .site-nav a.active::after { content: ""; position: absolute; bottom: 4px; left: calc(50% - 12px); width: 24px; height: 2px; background: #ed7b24; }
:host .site-nav a.cta { margin-left: 12px; padding-inline: 23px; border: 1px solid #f48120; background: #f48120; color: #15283e; }
:host .site-nav a.cta:hover { background: #ff9b45; box-shadow: none; }
:host .site-nav a.cta.active::after { background: #f48120; }
:host .nav-toggle { display: none; flex: 0 0 44px; width: 44px; height: 44px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; padding: 0; border: 1px solid #c6d0da; border-radius: 4px; background: #fff; cursor: pointer; }
:host .nav-toggle[hidden] { display: none; }
:host .nav-toggle span { display: block; width: 20px; height: 2px; background: #172b4d; transition: transform .2s, opacity .2s; }
:host :focus-visible { outline: 3px solid #14768e; outline-offset: 4px; border-radius: 4px; }
@media (min-width: 861px) and (max-width: 1100px) {
  :host { gap: 15px !important; }
  :host .site-nav a { padding-inline: 8px; font-size: 12px; }
  :host .site-nav a.cta { margin-left: 6px; padding-inline: 18px; }
}
@media (max-width: 860px) {
  :host { min-height: 77px !important; gap: 15px !important; padding-block: 11px !important; }
  :host .brand-logo { width: 134px; height: 50px; }
  :host .nav-toggle { display: flex; }
  :host .site-nav { display: none; position: absolute; top: calc(100% - 1px); left: 0; right: 0; padding: 18px 26px 25px; border-bottom: 1px solid #dce4eb; border-color: #dce4eb; background: #fff; box-shadow: 0 12px 25px #172b4d12; max-height: calc(100dvh - 77px); overflow-y: auto; }
  :host([data-menu-open]) .site-nav { display: flex; flex-direction: column; align-items: stretch; gap: 3px; }
  :host .site-nav a { padding: 11px 14px; font-size: 15px; flex-shrink: 0; }
  :host .site-nav a.active::after { display: none; }
  :host .site-nav a.cta { padding-inline: 18px; margin: 10px 0 0; text-align: center; }
  :host([data-menu-open]) .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  :host([data-menu-open]) .nav-toggle span:nth-child(2) { opacity: 0; }
  :host([data-menu-open]) .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (prefers-reduced-motion: reduce) {
  :host *, :host *::before, :host *::after { transition: none !important; animation: none !important; }
}

/* The blog hides its navigation when printing. Apply the same header behavior. */
@media print { :host { display: none !important; } }
