/* AI-site destinations stay separate from the corporate-site return. */
.nav.ai-site-header {
  display: block;
  height: auto;
  min-height: 0;
  padding: 0;
  background: rgba(255,255,255,.98);
}
.ai-header-shell { max-width: 1320px; margin: 0 auto; padding: 0 28px; }
.ai-header-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; }
.ai-site-header .brand { min-width: 0; font-size: 17px; }
.ai-site-header .brand-mark { flex: 0 0 34px; }
.ai-site-header .brand > span:last-child { max-width: none; white-space: normal; overflow: visible; }
.ai-site-header .corporate-return { margin-left: auto; min-height: 48px; font-size: 11px; }
.ai-site-header .corporate-return img { width: 54px; height: 41px; }
.nav.ai-site-header .ai-site-navigation { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid #e5edf3; padding: 5px 0 9px; overflow: visible; }
.ai-primary-links, .ai-more-group ul { list-style: none; padding: 0; margin: 0; }
.ai-primary-links { display: flex; align-items: center; gap: 6px; flex: 1 1 auto; }
.ai-primary-links > li { flex: 1 1 auto; }
.ai-primary-links > li > a, .ai-more > summary { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 10px 12px; border-radius: 9px; font-size: 13px; font-weight: 800; line-height: 1.5; white-space: nowrap; color: #183f66; cursor: pointer; }
.ai-primary-links > li > a:hover, .ai-more > summary:hover, .ai-more[open] > summary { background: #edf6fc; color: #07598b; }
.ai-site-header nav a::after { display: none; }
.ai-site-header .nav-cta { color: #fff; flex: 0 0 auto; min-height: 44px; display: flex; align-items: center; justify-content: center; padding: 10px 18px; font-size: 12px; white-space: nowrap; }
.ai-more { position: relative; }
.ai-more > summary { list-style: none; }
.ai-more > summary::-webkit-details-marker { display: none; }
.ai-more[open] > summary > span { transform: rotate(180deg); }
.ai-more-panel { position: absolute; right: 0; top: calc(100% + 8px); width: min(680px, calc(100vw - 56px)); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; padding: 22px; border: 1px solid #d8e5ee; border-radius: 16px; background: #fff; box-shadow: 0 18px 44px rgba(12,53,83,.16); }
.ai-more-group { min-width: 0; padding: 0; }
.ai-more-group h2 { margin: 0 0 8px; font-size: 12px; font-weight: 800; color: #6a7e92; }
.ai-more-group a { display: flex; align-items: center; min-height: 44px; padding: 9px 8px; border-radius: 8px; font-size: 13px; line-height: 1.5; white-space: normal; overflow-wrap: anywhere; }
.ai-more-group a:hover { background: #edf6fc; }
.ai-menu-toggle { display: none; }
.ai-site-header a:focus-visible, .ai-site-header button:focus-visible, .ai-site-header summary:focus-visible { outline: 3px solid #1380b6; outline-offset: 3px; }
@media (max-width: 1360px) {
  .ai-header-shell { padding: 0 4vw; }
  .ai-header-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 14px; }
  .ai-site-header .brand { grid-column: 1 / -1; font-size: 15px; }
  .ai-site-header .corporate-return { margin-left: 0; justify-self: start; }
  .ai-site-header.is-enhanced .ai-menu-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 10px 15px; border: 1px solid #aecbdc; border-radius: 10px; background: #f4f9fc; color: #164e75; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
  .ai-menu-icon { position: relative; width: 16px; height: 12px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
  .ai-menu-icon::before { content: ''; position: absolute; top: 4px; left: 0; width: 16px; border-top: 2px solid currentColor; }
  .ai-menu-toggle[aria-expanded="true"] .ai-menu-icon { height: 16px; border: 0; }
  .ai-menu-toggle[aria-expanded="true"] .ai-menu-icon::before { top: 7px; transform: rotate(45deg); }
  .ai-menu-toggle[aria-expanded="true"] .ai-menu-icon::after { content: ''; position: absolute; top: 7px; left: 0; width: 16px; border-top: 2px solid currentColor; transform: rotate(-45deg); }
  .nav.ai-site-header .ai-site-navigation { display: block; padding: 10px 1px 14px; max-height: calc(100dvh - 130px); overflow-y: auto; overscroll-behavior: contain; }
  .nav.ai-site-header.is-enhanced:not(.is-menu-open) .ai-site-navigation { display: none; }
  .ai-primary-links { display: grid; grid-template-columns: 1fr; gap: 5px; }
  .ai-primary-links > li > a, .ai-more > summary { justify-content: space-between; padding: 11px 14px; background: #f4f9fc; font-size: 14px; }
  .ai-primary-links > li > a::before { content: '›'; order: 1; font-size: 19px; color: #55829d; }
  .ai-more-panel { position: static; width: auto; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; padding: 16px 10px; border: 0; border-radius: 0; box-shadow: none; }
  .ai-site-header .nav-cta { margin-top: 10px; }
}
@media (max-width: 580px) {
  .ai-site-header .brand { font-size: 14px; }
  .ai-more-panel { grid-template-columns: 1fr; gap: 16px; }
}
@media (prefers-reduced-motion: reduce) { .ai-site-header * { scroll-behavior: auto; transition: none; } }
