/* Original photography and page copy in the approved navy photo layout. */
body.v5.mg-photo-page .mg-photo-hero {
  display:grid; grid-template-columns:42% 58%; align-items:stretch;
  gap:0; width:100%; max-width:none; min-height:0; margin:0;
  background:#17263e; color:#faf8f4;
}
body.v5.mg-photo-page .mg-photo-copy {
  display:flex; flex-direction:column; align-items:stretch; justify-content:flex-start;
  align-self:stretch; min-width:0; padding:clamp(32px,3.6vw,64px) clamp(28px,3.8vw,68px);
  background:#17263e; color:#faf8f4;
}
body.v5.mg-photo-page .mg-photo-brand {
  width:100%; margin:0 0 clamp(42px,4.2vw,72px); background:transparent; z-index:auto;
}
body.v5.mg-photo-page .mg-photo-brand .mg-site-logo {
  display:block; width:100%; min-height:0; padding:0; background:transparent;
}
body.v5.mg-photo-page .mg-photo-brand img { display:block; width:100%; max-width:none; height:auto; }
body.v5.mg-photo-page .mg-photo-content { min-width:0; margin-block:auto; }
body.v5.mg-photo-page .mg-photo-content h1 {
  max-width:none; margin:0 0 24px; color:#faf8f4;
  font:400 clamp(44px,4.25vw,72px)/1.04 "Cormorant Garamond",Georgia,serif;
  letter-spacing:-.025em; text-wrap:balance;
}
body.v5.mg-photo-page .mg-photo-content > p:not(.eyebrow):not(.v5-eyebrow) {
  max-width:36em; margin:0 0 26px; color:#e1e5eb; font-size:max(22px, clamp(17px,1.3vw,21px)); line-height:1.65;
}
body.v5.mg-photo-page .mg-photo-content > p:last-child { margin-bottom:0; }
body.v5.mg-photo-page .mg-photo-content .v5-eyebrow { color:var(--v7-gold, #a49250); margin:0 0 18px; }
body.v5.mg-photo-page .mg-photo-content .v5-profile-role { font-weight:500; color:#faf8f4; }
body.v5.mg-photo-page .mg-photo-content > .v5-text-link {
  display:inline-flex; margin:0 0 28px; padding:0 0 6px; color:#e1e5eb; font-size:22px;
}
body.v5.mg-photo-page .mg-photo-content .v5-button,
body.v5.mg-photo-page .mg-photo-content .button--light {
  display:inline-flex; align-items:center; justify-content:space-between; min-height:54px;
  max-width:100%; gap:18px; margin-top:4px; padding:13px 22px; border:1px solid var(--v7-gold, #a49250);
  background:transparent; color:#faf8f4; font-size:22px; line-height:1.4; text-decoration:none;
}
body.v5.mg-photo-page .mg-photo-content .button-row { display:flex; flex-wrap:wrap; align-items:center; gap:20px 28px; margin-top:30px; }
body.v5.mg-photo-page .mg-photo-content .firm-master-hero__link { color:#faf8f4; font-size:22px; }
body.v5.mg-photo-page .mg-photo-content a:focus-visible { outline:2px solid var(--v7-gold, #a49250); outline-offset:5px; }
body.v5.mg-photo-page .mg-photo-media { display:grid; grid-template-rows:minmax(0,1fr) auto; min-width:0; }
body.v5.mg-photo-page .mg-photo-caption {
  display:flex; align-items:center; justify-content:center; min-height:76px; margin:0;
  padding:22px 28px; border:0; color:#faf8f4; background:#17263e;
  font:400 22px/1.4 "Cormorant Garamond",Georgia,serif; text-decoration:none;
}
body.v5.mg-photo-page .mg-photo-caption:hover { text-decoration:underline; text-underline-offset:5px; text-decoration-color:var(--v7-gold, #a49250); }
body.v5.mg-photo-page .mg-photo-caption:focus-visible { outline:2px solid var(--v7-gold, #a49250); outline-offset:-6px; }
body.v5.mg-photo-page .mg-photo-hero .mg-photo-visual {
  position:relative; display:block; align-self:stretch; aspect-ratio:auto; order:0;
  min-width:0; min-height:34vw; height:auto; margin:0; overflow:hidden; background:#d8cdbf;
}
body.v5.mg-photo-page .mg-photo-hero .mg-photo-visual img {
  position:absolute; inset:0; display:block; width:100%; height:100%; aspect-ratio:auto;
  object-fit:cover !important; object-position:center;
}
body.v5.mg-photo-page--profile .mg-photo-hero { grid-template-columns:50% 50%; }
body.v5.mg-photo-page--profile .mg-photo-brand { max-width:560px; margin-bottom:38px; }
body.v5.mg-photo-page--profile .mg-photo-hero .mg-photo-visual { min-height:46vw; }
body.v5.mg-photo-page--profile .mg-photo-hero .mg-photo-visual img { object-position:95% 50%; }
body.v5.mg-photo-page--profile .mg-photo-hero .mg-photo-visual .v5-portrait--martin { object-position:100% 50%; }
body.v5.mg-photo-page--profile .mg-photo-hero .mg-photo-visual .v5-portrait--leona { object-position:92% 50%; }
/* Keep the profile links level when names and qualifications wrap differently. */
body.v5.mg-photo-page--team .v5-person-card { display:flex; flex-direction:column; min-width:0; }
body.v5.mg-photo-page--team .v5-person-card > .v5-person-image { flex:none; }
body.v5.mg-photo-page--team .v5-person-card > div { display:flex; flex-direction:column; flex:1; min-width:0; }
body.v5.mg-photo-page--team .v5-person-card .v5-text-link { margin-top:auto; padding-top:24px; }
body.v5.mg-photo-page--team .v6-memberships { --serif:"Cormorant Garamond",Georgia,serif; --sans:"DM Sans",Arial,sans-serif; }
@media (max-width:1100px) and (min-width:761px) {
  body.v5.mg-photo-page .mg-photo-copy { padding:32px 28px; }
  body.v5.mg-photo-page .mg-photo-content h1 { font-size:max(22px, clamp(36px,4.3vw,48px)); }
  body.v5.mg-photo-page .mg-photo-content > p:not(.eyebrow):not(.v5-eyebrow) { font-size:22px; line-height:1.55; }
  body.v5.mg-photo-page:not(.mg-photo-page--profile) .mg-photo-hero { grid-template-columns:1fr; }
  body.v5.mg-photo-page:not(.mg-photo-page--profile) .mg-photo-brand { max-width:420px; margin-bottom:38px; }
  body.v5.mg-photo-page .mg-photo-media { grid-template-rows:auto auto; }
  body.v5.mg-photo-page:not(.mg-photo-page--profile) .mg-photo-hero .mg-photo-visual { min-height:0; aspect-ratio:12/7; }
}
@media (max-width:760px) {
  body.v5.mg-photo-page .mg-photo-hero { grid-template-columns:1fr; }
  body.v5.mg-photo-page .mg-photo-media { grid-template-rows:auto auto; }
  body.v5.mg-photo-page .mg-photo-copy { padding:32px 28px 38px; }
  body.v5.mg-photo-page .mg-photo-brand { max-width:420px; margin:0 0 38px; }
  body.v5.mg-photo-page .mg-photo-content h1 { font-size:max(22px, clamp(42px,9vw,60px)); }
  body.v5.mg-photo-page .mg-photo-content > p:not(.eyebrow):not(.v5-eyebrow) { font-size:22px; line-height:1.65; }
  body.v5.mg-photo-page .mg-photo-hero .mg-photo-visual { min-height:0; aspect-ratio:12/7; }
  body.v5.mg-photo-page--profile .mg-photo-hero .mg-photo-visual { aspect-ratio:1; }
}
@media (max-width:360px) {
  body.v5.mg-photo-page .mg-photo-copy { padding-inline:22px; }
  body.v5.mg-photo-page .mg-photo-content h1 { font-size:40px; }
}

/* Homepage experience line beneath the team photography. */
body.v5.mg-photo-page .mg-photo-media--experience{grid-template-rows:minmax(0,1fr) auto}
body.v5.mg-photo-page .mg-photo-media--experience:has(.mg-photo-caption){grid-template-rows:minmax(0,1fr) auto auto}
body.v5.mg-photo-page .mg-photo-experience{display:flex;align-items:center;justify-content:center;min-height:90px;margin:0;padding:24px 28px;background:#17263e;color:#faf8f4;font:400 clamp(22px,1.9vw,33px)/1.25 "Cormorant Garamond",Georgia,serif;text-align:center;text-wrap:balance}
body.v5.mg-photo-page .mg-photo-slogan{margin:-12px 0 32px;color:#faf8f4;font:500 clamp(28px,2.5vw,40px)/1.15 "Cormorant Garamond",Georgia,serif}
body.v5.mg-photo-page .mg-photo-media--experience .mg-photo-caption{min-height:0;padding-top:0;padding-bottom:24px}
@media(max-width:760px){body.v5.mg-photo-page .mg-photo-experience{font-size:25px;min-height:0}body.v5.mg-photo-page .mg-photo-media--experience,body.v5.mg-photo-page .mg-photo-media--experience:has(.mg-photo-caption){grid-template-rows:auto auto}body.v5.mg-photo-page .mg-photo-slogan{margin:0 0 30px}}
body.v5.mg-photo-page .mg-photo-media--experience{padding:0}
body.v5.mg-photo-page :is(.mg-photo-experience,.mg-photo-slogan){font-family:"Cormorant Garamond",Georgia,serif!important;font-weight:400!important}
