/* V22: compact navigation, consistent optical logo sizes, aligned content and supplied photos. */
.fame-header-bar .fame-header-cta.fm-button{min-height:38px!important;height:38px!important;padding:5px 6px 5px 12px!important;gap:9px!important;font-size:var(--fm-nav-size)!important;line-height:1.2!important;min-width:0!important}
.fame-header-bar .fame-header-cta .fm-button-icon{width:26px!important;height:26px!important;min-width:26px!important;flex:0 0 26px!important}
.fame-header-bar .fame-header-cta .fm-button-icon svg{width:16px;height:16px}
/* Alphabetical order reads down the first column, then down the second. */
.fame-mega-stage .fame-mega-menu--branches .fame-mega-grid{display:grid;grid-auto-flow:column;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(6,auto)}
/* Fixed CSS pixel sizing avoids different proportions on wide / Retina screens.
   Per-image offsets compensate for the source image's transparent margins. */
.fmnc-home .fm-logo-belt .fm-logo-track>span,.fmnc-home .fm-logo-belt .fm-logo-track>span:hover{--logo-scale:1;position:relative;flex:0 0 220px!important;width:220px!important;height:106px!important;padding:0!important;overflow:hidden;background:transparent!important;border:0!important;transform:none!important;transition:none!important}
.fmnc-home .fm-logo-belt .fm-logo-track>span img[style],.fmnc-home .fm-logo-belt .fm-logo-track>span:hover img[style]{position:absolute!important;left:50%!important;top:50%!important;width:calc(var(--logo-w)*var(--logo-scale))!important;height:calc(var(--logo-h)*var(--logo-scale))!important;min-width:0!important;max-width:none!important;min-height:0!important;max-height:none!important;margin-left:calc(var(--logo-l)*var(--logo-scale))!important;margin-top:calc(var(--logo-t)*var(--logo-scale))!important;object-fit:fill!important;filter:grayscale(1)!important;opacity:.55!important;transform:none!important;scale:none!important;translate:none!important;transition:none!important}
.fmnc-home .fm-logo-belt .fm-logo-track,.fmnc-home .fm-logo-belt:hover .fm-logo-track{animation-play-state:running!important}
.fm-breadcrumb{position:relative;display:flex!important;align-items:center;gap:9px!important;flex-wrap:wrap;line-height:1.5!important;margin-block:0 20px!important;padding-block:0!important;clear:both}
.fm-breadcrumb>.fm22-crumb-arrow{display:inline-flex;flex:none;align-items:center;color:currentColor;opacity:.6}
.fm22-crumb-arrow svg{display:block;width:15px;height:15px}
.fm-breadcrumb+.fmnc-label{display:block!important;margin-top:0!important;margin-bottom:12px!important}
/* The supplied cutout includes the navy circle. */
.fm-curved-cta__logo.fm22-advisor{width:215px;aspect-ratio:auto;align-self:end;background:none!important;border-radius:0!important;overflow:visible!important}
.fm-curved-cta__logo.fm22-advisor:before{display:none!important}
.fm-curved-cta__logo.fm22-advisor img{display:block;width:100%!important;height:auto!important;max-height:305px;object-fit:contain;object-position:bottom}
/* Shared footer: brand first, followed by three parallel columns on tablet. */
@media(min-width:768px) and (max-width:1199px){
 .fame-footer .fame-footer__grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:32px 24px!important}
 .fame-footer .fame-footer__brand{grid-column:1/-1!important;grid-row:auto!important}
 .fame-footer .fame-footer__column,.fame-footer .fame-footer__contact{grid-column:auto!important;grid-row:auto!important;display:flex!important;flex-direction:column!important;align-items:flex-start}
 .fame-footer .fame-footer__contact-link,.fame-footer .fame-footer__location{display:flex!important;align-items:center!important;gap:8px!important;min-width:0}
 .fame-footer .fame-footer__contact strong{font-size:12px!important;overflow-wrap:anywhere}
}
@media(min-width:981px){
 .fmnc-home .fmnc-intro__card,.fmnc-home .fmnc-about__grid,.fmnc-home .fmnc-result__card,.fmnc-home .fmnc-expect__grid,.fm-about-redesign .fm-about-hero__grid,.fm-about-redesign .fm-about-story__grid,.fm-detail .fm-detail-grid{align-items:stretch!important}
 .fmnc-home .fmnc-intro__heading,.fmnc-home .fmnc-intro__copy{display:flex;flex-direction:column;align-items:flex-start}
 .fmnc-home .fmnc-intro__copy>p:first-child{margin-top:0!important}
 .fmnc-home .fmnc-intro__copy>.fm-button{margin-top:auto}
 .fmnc-home .fmnc-about__copy,.fmnc-home .fmnc-result__copy{display:flex;flex-direction:column;align-items:flex-start}
 .fmnc-home .fmnc-about__copy>.fm-button,.fmnc-home .fmnc-result__copy>.fm-button{margin-top:auto}
 .fmnc-home .fmnc-about__visual,.fmnc-home .fmnc-result__media,.fmnc-home .fmnc-expect__visual,.fmnc-home .fmnc-expect__visual .fmnc-brand-visual{height:auto!important;min-height:0!important;align-self:stretch!important;aspect-ratio:auto!important}
 .fmnc-home .fmnc-expect__visual{display:grid!important;grid-template-columns:1fr!important}
 .fmnc-home .fmnc-expect__visual .fmnc-brand-visual{width:100%!important}
 .fmnc-home .fmnc-result__copy>p:last-of-type,.fmnc-home .fmnc-about__copy>h2{margin-bottom:22px}
 .fm-detail .fm-detail-grid>div:first-child{padding-bottom:0!important;min-height:300px}
 .fmnc-home.fm-detail .fm-detail-grid .fm-detail-image{height:auto!important;min-height:0!important;align-self:stretch!important}
 .fm-about-redesign .fm-about-hero__visual{height:auto!important;min-height:0!important}
}
@media(max-width:980px){
 .fm-curved-cta__logo.fm22-advisor{width:175px}
}
@media(max-width:767px){
 .fmnc-home .fm-logo-belt .fm-logo-track>span,.fmnc-home .fm-logo-belt .fm-logo-track>span:hover{--logo-scale:.78;flex-basis:170px!important;width:170px!important;height:86px!important}
 .fame-footer .fame-footer__grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:32px 18px!important;text-align:center!important}
 .fame-footer .fame-footer__brand{grid-column:1/-1!important;grid-row:auto!important;align-items:center!important;text-align:center!important}
 .fame-footer .fame-footer__logo{margin-inline:auto!important}
 .fame-footer .fame-footer__brand p{margin-inline:auto!important}
 .fame-footer .fame-footer__socials{justify-content:center!important}
 .fame-footer .fame-footer__column{grid-column:auto!important;grid-row:auto!important;display:flex!important;flex-direction:column!important;align-items:center!important;text-align:center!important;min-width:0}
 .fame-footer .fame-footer__column>a{font-size:12px!important;max-width:100%;white-space:normal}
 .fame-footer .fame-footer__contact{grid-column:1/-1!important;align-items:center!important;justify-content:center!important}
 .fame-footer .fame-footer__contact-link,.fame-footer .fame-footer__location{display:flex!important;align-items:center!important;justify-content:center!important;gap:9px!important}
 .fm-curved-cta__logo.fm22-advisor{width:160px;margin-inline:auto}
 .fm-curved-cta__logo.fm22-advisor img{max-height:225px}
}
.fmnc-intro__heading .fm-service-rotation{width:100%;min-width:0;align-self:stretch}
