.site-masthead .header-inner { gap: clamp(14px, 1.85vw, 30px); }
.site-masthead details { border:0; }
.directory-nav { display:flex; align-items:center; gap:clamp(14px,1.55vw,26px); margin-left:auto; align-self:stretch; }
.directory-branch { align-self:stretch; }
.directory-branch > summary,.directory-direct {
  display:flex; height:100%; align-items:center; gap:7px; font-size:15px; font-weight:550; color:#354f65;
  cursor:pointer; white-space:nowrap; position:relative; touch-action:manipulation;
}
.directory-branch > summary,.directory-drawer > summary { list-style:none; padding:0; }
.directory-branch > summary::-webkit-details-marker,.directory-drawer > summary::-webkit-details-marker { display:none; }
.directory-branch > summary::after,.directory-direct::after {
  content:""; position:absolute; bottom:12px; left:0; right:0; height:2px; background:#175de1;
  transform:scaleX(0); transform-origin:left; transition:transform .18s ease;
}
.directory-branch[data-active-branch] > summary::after,.directory-branch[open] > summary::after,
.directory-branch > summary:hover::after,.directory-direct:hover::after,.directory-direct[aria-current]::after { transform:scaleX(1); }
.directory-caret { width:7px; height:7px; border:solid currentColor; border-width:0 1.5px 1.5px 0; transform:translateY(-2px) rotate(45deg); transition:transform .18s ease; }
.directory-branch[open] .directory-caret { transform:translateY(2px) rotate(225deg); }
.directory-panel,.drawer-body { position:absolute; top:100%; inset-inline:0; background:#f7f9fa; border-block:1px solid #c3d0d9; box-shadow:0 20px 28px -20px #00152780; }
.directory-panel { max-height:calc(100dvh - 84px); overflow:auto; overscroll-behavior:contain; }
.directory-grid { display:grid; grid-template-columns:minmax(210px,.86fr) 1fr 1fr; gap:clamp(30px,4.9vw,78px); padding-block:25px 30px; align-items:start; }
.directory-lead { display:block; color:#102e43; font-size:17px; font-weight:620; }
.directory-lead img { width:100%; height:108px; object-fit:cover; background:#e0e6ea; }
.directory-lead span { justify-content:space-between; gap:8px; align-items:center; display:flex; padding-block:9px; border-bottom:1px solid #a6bacc; }
.directory-lead b { color:#215bd1; font-size:18px; }
.directory-lead:hover,.directory-lead[aria-current],.directory-direct:hover,.directory-direct[aria-current] { color:#154db0; }
.directory-list p { margin:0 0 8px; font-size:11px; letter-spacing:.095em; font-weight:650; text-transform:uppercase; color:#48677f; }
.directory-list ul { margin:0; padding:0; list-style:none; }
.directory-list li + li { border-top:1px solid #dde5e9; }
.directory-list a,.drawer-shortcuts a,.drawer-overview { display:block; padding:8px 4px 8px 0; color:#16344e; font-size:17px; line-height:1.37; font-weight:530; }
.directory-list a:hover,.directory-list a[aria-current],.drawer-shortcuts a:hover,.drawer-overview:hover { color:#165abe; text-decoration:underline; text-underline-offset:4px; }
.directory-list a[aria-current],.drawer-overview[aria-current] { font-weight:700; }
.directory-nav a:focus-visible,.directory-branch > summary:focus-visible,.directory-drawer > summary:focus-visible,.drawer-body a:focus-visible { outline:2px solid #1769ff; outline-offset:2px; }
.directory-drawer { display:none; }
@keyframes directory-in { from { opacity:.82; transform:translateY(-4px); } to { opacity:1; transform:translateY(0); } }
@media (prefers-reduced-motion:no-preference) {
  .directory-branch[open] .directory-grid,.directory-drawer[open] .drawer-body { animation:directory-in .15s ease-out; }
}
@media (min-width:951px) and (max-width:1100px) {
  .directory-nav { gap:13px; }
  .directory-branch > summary,.directory-direct { font-size:14px; }
}
@media (max-width:950px) {
  .directory-nav { display:none; }
  .directory-drawer { display:block; }
  .directory-drawer > summary { display:grid; place-items:center; min-width:40px; height:44px; cursor:pointer; }
  .drawer-lines { width:20px; height:1px; background:#14344b; position:relative; box-shadow:0 -5px #14344b,0 5px #14344b; }
  .directory-drawer[open] .drawer-lines { box-shadow:none; transform:rotate(45deg); }
  .directory-drawer[open] .drawer-lines::after { content:""; inset:0; position:absolute; background:inherit; transform:rotate(90deg); }
  .drawer-body { padding:9px max(20px,calc((100vw - 780px)/2)) 22px; max-height:calc(100dvh - 75px); overflow:auto; overscroll-behavior:contain; }
  .drawer-shortcuts { display:flex; gap:22px; align-items:center; margin-bottom:5px; }
  .drawer-shortcuts a { padding:12px 0; font-size:14px; }
  .drawer-overview { border-top:1px solid #b7c8d5; color:#153e63; padding:12px 0; font-size:18px; font-weight:680; }
  .drawer-overview::after { content:" ↗"; color:#1b5cbb; }
  .drawer-body .directory-list p { margin-bottom:3px; }
  .drawer-body .directory-list ul { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:14px; }
  .drawer-body .directory-list li + li { border:0; }
  .drawer-body .directory-list { margin-bottom:10px; }
  .drawer-body .directory-list a { min-height:42px; font-size:15px; }
}
@media (max-width:480px) {
  .site-masthead .header-inner { gap:8px; }
  .site-masthead .header-inner > .button { gap:7px; padding:7px 9px; font-size:12px; white-space:nowrap; }
}
@media (max-width:360px) {
  .site-masthead .header-inner { gap:5px; }
  .site-masthead .brand img { width:33px; }
  .site-masthead .brand b { font-size:16px; }
  .site-masthead .brand small { font-size:6px; }
  .directory-drawer > summary { min-width:36px; }
}
@media(prefers-reduced-motion:reduce) {
  .directory-caret,.directory-branch > summary::after,.directory-direct::after { transition:none; }
}
@media print { .site-masthead { display:none; } }
