.mg-team-carousel{padding-top:48px;padding-bottom:64px;min-width:0}
.mg-team-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:24px}
.mg-team-heading h2{margin:0;font-size:clamp(28px,3vw,40px);line-height:1.15}
.mg-team-controls:not([hidden]){display:flex;align-items:center;gap:14px;flex-shrink:0}
.mg-team-controls button{width:48px;height:48px;border:1px solid #b8b4a7;border-radius:50%;background:transparent;color:inherit;font:inherit;font-size:24px;cursor:pointer}
.mg-team-controls button:hover{background:#ffffff18}.mg-team-controls button:disabled{opacity:.3;cursor:default}
.mg-team-status{font-size:18px;white-space:nowrap;min-width:44px;text-align:center}
.mg-team-track{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.mg-team-carousel.is-ready .mg-team-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:0;overscroll-behavior-x:contain;scrollbar-width:thin;padding-bottom:16px}
body.v5 .mg-team-card{display:flex;flex-direction:column;flex:0 0 calc((100% - 48px)/3);min-width:0;padding:24px;border:1px solid #d8d4c9;background:#f8f7f2;color:inherit;text-decoration:none;scroll-snap-align:start;scroll-margin:4px}
body.v5 .mg-team-card>img,body.v5 .mg-team-card>.mg-portrait-frame{width:180px!important;height:180px!important;aspect-ratio:1!important;object-fit:cover;border-radius:0;margin:0 0 24px;max-width:100%}
body.v5 .mg-team-card>div{display:flex;flex:1;flex-direction:column;min-width:0}
body.v5 .mg-team-card b{font-size:24px;line-height:1.2;margin-bottom:12px;overflow-wrap:normal}
body.v5 .mg-team-card em{font-size:18px!important;line-height:1.5;font-style:normal;margin-bottom:24px}
.mg-team-card .v6-link{margin-top:auto;padding-top:12px}
.mg-team-card:focus-visible,.mg-team-controls button:focus-visible{outline:3px solid var(--v7-gold, #a49250);outline-offset:-4px}
.mg-team-footer{display:flex;gap:24px;align-items:center;flex-wrap:wrap;margin-top:24px}
@media(max-width:1000px){body.v5 .mg-team-card{flex-basis:calc((100% - 24px)/2)}.mg-team-track{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.mg-team-heading{align-items:start;flex-direction:column;gap:20px}.mg-team-carousel{padding-top:32px;padding-bottom:40px}body.v5 .mg-team-card{flex-basis:88%;padding:20px;box-sizing:border-box}.mg-team-track{grid-template-columns:1fr;gap:16px}.mg-team-footer{align-items:start;flex-direction:column}}
/* The looping strip has no finite scrollbar; arrows and swiping navigate it. */
.mg-team-carousel.is-ready .mg-team-track{scrollbar-width:none}
.mg-team-track::-webkit-scrollbar{display:none}

.mg-team-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;min-width:0}
@media(min-width:1001px){body.v5 .mg-team-carousel[data-team-count="2"] .mg-team-card{flex-basis:calc((100% - 24px)/2)}}

/* Navy team section above the navy information strip. */
body.v5 .mg-team-carousel.mg-team-in-header{grid-column:1/-1;width:100%;max-width:none;margin:0;padding:32px clamp(22px,3.8vw,58px) 40px;background:var(--v6-navy,#17263e);color:#fff;border-top:0;box-sizing:border-box}
body.v5 .mg-team-in-header .mg-team-heading h2{color:#fff;font-size:clamp(28px,3vw,40px);margin:0}
body.v5 .mg-team-in-header .v6-eyebrow{color:var(--v7-gold, #a49250);margin:0 0 12px}
body.v5 .mg-team-in-header .mg-team-card{background:#ffffff05;border-color:#ffffff35;color:#fff;margin:0;box-sizing:border-box}
body.v5 .mg-team-in-header .mg-team-card b{color:#fff}
body.v5 .mg-team-in-header .mg-team-card em{color:#e0e5ec;margin-bottom:20px}
body.v5 .mg-team-in-header .mg-team-card .mg-team-email{margin-top:auto;margin-bottom:14px;min-height:1.5em;font-size:18px;line-height:1.5;color:var(--v7-gold, #a49250);text-decoration:underline;text-underline-offset:4px;overflow-wrap:anywhere}
body.v5 .mg-team-in-header .mg-team-card .v6-link{margin-top:0;color:#fff}
body.v5 .mg-team-in-header .mg-team-footer>.v6-link{color:#fff}
body.v5 .mg-team-in-header .mg-team-controls button{color:#fff;border-color:#ffffff60}
body.v5 .mg-team-in-header .mg-team-controls button:hover{background:#ffffff18}
body.v5 .mg-team-in-header a:focus-visible,body.v5 .mg-team-in-header button:focus-visible{outline:2px solid var(--v7-gold, #a49250);outline-offset:3px}
@media(max-width:600px){body.v5 .mg-team-in-header .mg-team-email{min-height:3em}}

/* Practice logos use the available column width, matching the hub scale. */
body.v5.mg-unified-practice .mg-site-logo{width:100%;max-width:590px}
body.v5.mg-unified-practice .mg-site-logo img{max-width:590px}
body.v5 .mg-overview-consult-cta{margin-top:24px;align-self:flex-start}
.mg-team-heading>div{min-width:0}
@media(max-width:760px){body.v5.mg-unified-practice .mg-site-logo img{max-width:420px}}
/* Separator only above the contact note, not above the team. */
body.v5 .mg-team-carousel.mg-team-in-header{border-top:0}
body.v5 :is(.mg-consult-topic,.mg-consult-overview)>.mg-consultation-reach-bar{border-top:1px solid var(--v7-gold, #a49250)}

body.v5 .mg-team-in-header button:focus-visible{outline-color:var(--v7-gold, #a49250)}

/* One navy matched to the existing logo area; cards alone have a light overlay. */
body.v5{--v6-navy:#17243c;--v5-navy:#17243c;--mg-header-navy:#17243c}
body.v5 :is(.mg-nav-bar,.mg-site-top,.mg-site-logo,.mg-hub-stage-copy,.mg-hub-stage-brand,.mg-hub-bar){background-color:var(--mg-header-navy)}
body.v5 :is(.mg-consult-topic,.mg-consult-overview)>.mg-consultation-reach-bar{background-color:var(--mg-header-navy)}
body.v5.v6-hub .mg-hub-stage .mg-header-art{border-right-color:var(--mg-header-navy)}

/* A sole contact uses the full section width instead of a carousel column. */
body.v5 .mg-team-carousel[data-team-count="1"] .mg-team-track{grid-template-columns:minmax(0,1fr)}
body.v5 .mg-team-carousel[data-team-count="1"] .mg-team-card{width:100%;flex-basis:100%}
@media(min-width:601px){
 body.v5 .mg-team-carousel[data-team-count="1"] .mg-team-card{flex-direction:row;align-items:center;gap:36px;padding:32px}
 body.v5 .mg-team-carousel[data-team-count="1"] .mg-team-card>img{width:220px!important;height:220px!important;flex-shrink:0;margin:0}
 body.v5 .mg-team-carousel[data-team-count="1"] .mg-team-card>div{align-items:flex-start}
 body.v5 .mg-team-carousel[data-team-count="1"] .mg-team-email{margin-top:0}
}
