/* Navigation layout hotfix. Loaded explicitly after the standard styles. */
@media (min-width:1180px) {
 .twf-header__inner { display:flex; flex-wrap:nowrap; align-items:center; gap:clamp(.65rem,1.3vw,1.3rem); }
 .twf-header__brand { flex:0 0 auto; }
 .twf-header__nav { flex:1 1 auto; min-width:0; display:flex; align-items:center; justify-content:center; position:static; overflow:visible; }
 .twf-nav__list { display:flex; flex-wrap:nowrap; align-items:center; justify-content:center; gap:clamp(.3rem,.8vw,.8rem); width:max-content; min-width:max-content; margin:0; padding:0; list-style:none; }
 .twf-nav__item,.twf-nav__utility { position:static; display:flex; flex:0 0 auto; width:auto; min-width:max-content; align-items:center; border:0; }
 .twf-nav__label-row { display:flex; width:auto; align-items:center; }
 .twf-nav__toggle.twf-nav__disclosure { display:inline-flex; flex-direction:row; align-items:center; justify-content:center; gap:.4rem; width:auto; min-width:max-content; min-height:46px; padding:.55rem .5rem; white-space:nowrap; font-size:clamp(.85rem,.95vw,.98rem); font-weight:800; line-height:1.2; }
 .twf-nav__toggle.twf-nav__disclosure span { display:inline; white-space:nowrap; }
 .twf-nav__toggle.twf-nav__disclosure svg { flex:0 0 17px; width:17px; height:17px; }
 .twf-nav__utility .twf-nav__link { display:inline-flex; width:auto; min-width:max-content; white-space:nowrap; padding:.55rem .45rem; }
 .twf-nav__panel { position:fixed; left:0; right:0; transform:none; width:min(70rem,calc(100vw - 2rem)); max-height:var(--twf-menu-room,calc(100dvh - 8rem)); margin-inline:auto; overflow-y:auto; z-index:2500; }
}
@media (max-width:1179px) {
 .twf-header__menu-button { display:inline-flex; }
 .twf-header__nav { display:none; position:absolute; top:100%; left:0; right:0; width:100%; max-height:calc(100dvh - 6rem); overflow-y:auto; background:var(--color-surface,#fff); z-index:2490; }
 .twf-header__nav.twf-header__nav--open { display:block; }
 .twf-nav__list { display:grid; grid-template-columns:minmax(0,1fr); width:100%; margin:0; padding:0; list-style:none; }
 .twf-nav__item,.twf-nav__utility { display:block; width:100%; }
 .twf-nav__label-row { width:100%; }
 .twf-nav__toggle.twf-nav__disclosure { display:flex; width:100%; justify-content:space-between; align-items:center; white-space:normal; }
 .twf-nav__panel { position:static; width:100%; max-height:none; overflow:visible; transform:none; }
}

/* V3: target actual disclosure buttons, not only links. */
.twf-header__nav .twf-nav__toggle.twf-nav__disclosure,
.twf-header__nav .twf-nav__toggle.twf-nav__disclosure span,
.twf-header__nav .twf-nav__toggle.twf-nav__disclosure svg,
.twf-header__nav .twf-nav__utility .twf-nav__link {
  color: #111827 !important;
}
.twf-header__nav .twf-nav__toggle.twf-nav__disclosure:hover,
.twf-header__nav .twf-nav__toggle.twf-nav__disclosure:focus-visible,
.twf-header__nav .twf-nav__item--open .twf-nav__toggle.twf-nav__disclosure {
  color: #123d5c !important;
}
