/* Nine family controls can scroll within their own rail at narrow desktop widths. */
.mc-header .mc-top-categories[data-family-count="9"]{overflow-x:auto;max-width:100%;scrollbar-width:thin;overscroll-behavior-x:contain}
.mc-header .mc-top-categories[data-family-count="9"]>ul{width:max-content;min-width:100%;gap:clamp(12px,1.3vw,20px)}
.mc-header .mc-top-categories[data-family-count="9"] .mc-family-link{white-space:nowrap;text-transform:none;scroll-margin-inline:18px}
/* Include padding and border in the measured viewport height. */
.mc-header #family-panel[data-family-count="9"]{box-sizing:border-box;max-height:var(--mhs-family-available,calc(100dvh - var(--mcc-anchor-offset,145px)));min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;scrollbar-gutter:stable}
.mc-header #family-panel[data-family-count="9"] .mc-wrap{min-width:0;max-width:100%;box-sizing:border-box}
.mc-header #family-panel[data-family-count="9"] .mc-mega-links{min-width:0}
.mc-header #family-panel[data-family-count="9"] .mc-mega-links a{min-width:0;overflow-wrap:anywhere}
.mhs-family-directory{padding-bottom:56px}
.mhs-family-directory .mhs-family-intro{max-width:850px;margin:30px 0}
.mhs-family-directory .mhs-family-intro h1{color:#142e4c;font-size:clamp(28px,3.7vw,44px);line-height:1.15;margin:0 0 18px}
.mhs-family-directory .mhs-family-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;list-style:none;padding:0;margin:24px 0 40px}
.mhs-family-directory .mhs-family-links li{margin:0;min-width:0}
.mhs-family-directory .mhs-family-links a{display:flex;align-items:center;min-height:72px;height:100%;box-sizing:border-box;padding:17px 20px;border:1px solid #dfe5e8;border-radius:8px;color:#142e4c;background:#fff;font-weight:750;text-decoration:none;overflow-wrap:anywhere}
.mhs-family-directory .mhs-family-links a:hover{border-color:#142e4c;text-decoration:underline}
.mhs-family-directory .mhs-family-links a:focus-visible{outline:3px solid #eebc20;outline-offset:3px}
.mhs-family-directory #category-guide{max-width:900px;padding:26px 0;border-top:1px solid #dfe5e8}
@media(max-width:800px){.mhs-family-directory .mhs-family-links{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.mhs-family-directory .mhs-family-links{grid-template-columns:minmax(0,1fr)}.mc-header #family-panel[data-family-count="9"] .mc-mobile-index details[open]{grid-template-columns:minmax(0,1fr)}}
