/* Team overview photographs and accessible short introductions. */
.fgp-team-page .fgp-team-photo-header{display:block;min-height:0;height:auto;padding:0;margin-top:var(--nav-height,80px);background:#1b3a5c;overflow:hidden;isolation:isolate}
.fgp-team-page .fgp-team-photo-header .page-hero-bg{position:relative;inset:auto}
.fgp-team-page .fgp-team-photo-header .page-hero-bg a{display:block}
.fgp-team-page .fgp-team-photo-header .page-hero-bg img{display:block;width:100%;height:auto;object-fit:contain;filter:blur(1px);transform:scale(1.004)}
.fgp-team-page .fgp-team-photo-header>.page-hero-overlay{display:block;position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,rgba(27,58,92,.3),rgba(27,58,92,.7))}
.fgp-team-page .fgp-team-photo-header>.container{display:none}
.fgp-team-page .team-card-overlay{padding:1rem;overflow:auto}
.fgp-team-page .team-card-overlay p{font-size:.82rem;line-height:1.55}
.fgp-team-page .team-card:focus-within .team-card-overlay{opacity:1}
.fgp-team-page .team-card:focus-within .team-card-image img{filter:brightness(.35)}
.fgp-team-page .fgp-team-work{display:flex;align-items:center;justify-content:center;min-height:clamp(380px,33.333vw,600px);padding:72px 0;text-align:center;background:#1b3a5c;isolation:isolate}
.fgp-team-page .fgp-team-work .team-cta-bg{position:absolute;inset:-3px;z-index:0}
.fgp-team-page .fgp-team-work .team-cta-bg img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 58%;filter:blur(1px)}
.fgp-team-page .fgp-team-work .team-cta-overlay{display:block;position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,rgba(27,58,92,.48),rgba(27,58,92,.76))}
.fgp-team-page .fgp-team-work>.container{position:relative;z-index:2;width:100%;max-width:1200px;padding:0 24px}
.fgp-team-page .fgp-team-work .team-cta-content{max-width:640px;margin:0 auto}
.fgp-team-page .fgp-team-work .team-cta-content h2{font-size:clamp(28px,3vw,42px);color:#fff;text-shadow:0 2px 14px rgba(0,0,0,.25)}
.fgp-team-page .fgp-team-work .team-cta-content p{font-size:16px;line-height:1.85;color:#fff;text-shadow:0 1px 10px rgba(0,0,0,.35)}
@media(max-width:768px){.fgp-team-page .fgp-team-photo-header{margin-top:var(--nav-height,70px)}.fgp-team-page .fgp-team-work{min-height:410px;padding:64px 0}.fgp-team-page .fgp-team-work .team-cta-bg img{object-position:52% center}.fgp-team-page .team-card-overlay p{font-size:.76rem}}
@media(hover:none){.fgp-team-page .team-card-image{aspect-ratio:auto}.fgp-team-page .team-card-image>img{height:auto;aspect-ratio:1/1}.fgp-team-page .team-card-overlay{position:static;opacity:1;display:block;background:#f2f5ee;overflow:visible}.fgp-team-page .team-card-overlay p{color:#38533f;font-size:.82rem}.fgp-team-page .team-card:hover .team-card-image img,.fgp-team-page .team-card:focus-within .team-card-image img{filter:none;transform:none}}

/* Tighter framing of the supplied panorama: crop ceiling and side walls. */
@media(min-width:769px){
 .fgp-team-page .fgp-team-photo-header .page-hero-bg a{position:relative;overflow:hidden}
 .fgp-team-page .fgp-team-photo-header .page-hero-bg img{position:absolute;bottom:0;left:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center bottom;transform:none}
}
@media(min-width:1025px) and (max-width:1250px){.fgp-team-page .fgp-team-photo-header .page-hero-bg img{height:calc(100% + 70px)}}
@media(min-width:1251px) and (max-width:2300px){.fgp-team-page .fgp-team-photo-header .page-hero-bg img{height:calc(100% + 170px)}}
@media(min-width:2301px){.fgp-team-page .fgp-team-photo-header .page-hero-bg img{object-position:center 45%}}

@media(min-width:769px){.fgp-team-page .fgp-team-photo-header{height:calc(650px - var(--nav-height,80px));min-height:0}.fgp-team-page .fgp-team-photo-header .page-hero-bg,.fgp-team-page .fgp-team-photo-header .page-hero-bg a{height:100%}}
@media(min-width:769px) and (max-width:1024px){.fgp-team-page .fgp-team-photo-header{height:calc(550px - var(--nav-height,80px))}}
