/* Only the inline About Us team section. */
.bl-team {
    background: #f3f8ff;
    padding: clamp(48px, 6vw, 88px) 24px;
    color: #0f1c6e;
    scroll-margin-top: 190px;
}
.bl-team *, .bl-team *::before, .bl-team *::after { box-sizing: border-box; }
.bl-team .bl-team-wrap { max-width: 1100px; margin: 0 auto; }
.bl-team .bl-team-heading { text-align: center; margin: 0 auto 40px; }
.bl-team .bl-team-eyebrow { color: #3345b5; font-size: 16px; font-weight: 600; margin: 0 0 12px; }
.bl-team .bl-team-heading h2 { color: #3345b5; font-size: clamp(30px, 4vw, 44px); line-height: 1.2; margin: 0; }
.bl-team .bl-team-profiles { display: grid; gap: 28px; }
.bl-team .bl-team-profile {
    display: grid;
    grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
    align-items: start;
    gap: clamp(24px, 4vw, 48px);
    padding: clamp(24px, 3vw, 40px);
    background: #fff;
    border-radius: 0 58px 0 58px;
}
.bl-team .bl-team-photo { overflow: hidden; border-radius: 0 36px 0 36px; background: #e8e9eb; }
.bl-team .bl-team-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: center 20%; margin: 0; }
.bl-team .bl-team-bio { min-width: 0; overflow-wrap: anywhere; }
.bl-team .bl-team-bio h3 { color: #3345b5; font-size: clamp(25px, 3vw, 31px); line-height: 1.25; margin: 0 0 18px; }
.bl-team .bl-team-bio p, .bl-team .bl-team-bio li { font-size: 18px; line-height: 1.75; color: #0f1c6e; }
.bl-team .bl-team-bio p { margin: 0 0 16px; }
.bl-team .bl-team-bio p:last-child { margin-bottom: 0; }
.bl-team .bl-team-bio a { color: #3345b5; text-decoration: underline; }
.bl-team .bl-team-no-photo { grid-template-columns: minmax(0, 1fr); }
.bl-team.bl-team-intro { background: #fff; text-align: center; padding-bottom: 44px; }
.bl-team.bl-team-intro h1 { color: #3345b5; font-size: clamp(36px, 5vw, 54px); line-height: 1.2; margin: 0; }
.bl-team .bl-team-page-copy { max-width: 780px; margin: 24px auto 0; font-size: 18px; line-height: 1.7; }
.bl-team.bl-team-founder { padding-bottom: 0; }
.bl-team .bl-team-bio h2 { color: #3345b5; font-size: clamp(25px, 3vw, 31px); line-height: 1.25; margin: 0 0 18px; }
.bl-team.bl-team-invite { text-align: center; }
.bl-team.bl-team-invite h2 { color: #3345b5; font-size: clamp(28px, 4vw, 40px); margin: 0 0 20px; }
.bl-team.bl-team-invite p { font-size: 18px; line-height: 1.7; margin: 0 0 28px; }
.bl-team.bl-team-invite .btn { background: #eb5296; color: #fff; border-radius: 40px; padding: 14px 32px; display: inline-block; }
@media (max-width: 640px) {
    .bl-team { padding: 44px 18px; }
    .bl-team .bl-team-heading { margin-bottom: 28px; }
    .bl-team .bl-team-profile { grid-template-columns: minmax(0, 1fr); padding: 26px; gap: 24px; border-radius: 0 42px 0 42px; }
    .bl-team .bl-team-photo { width: min(100%, 260px); margin: 0 auto; }
    .bl-team .bl-team-bio h3 { text-align: center; }
    .bl-team .bl-team-bio h2 { text-align: center; }
    .bl-team .bl-team-bio p, .bl-team .bl-team-bio li { font-size: 17px; line-height: 1.7; }
}

/* Meet Us shares the services page's watermark, colours and curved panels. */
#bl-meet-page { background: #f3f8ff; color: #0f1c6e; }
#bl-meet-page .bl-team { background-color: transparent; }
#bl-meet-page .bl-team-wrap { max-width: 1100px; }
#bl-meet-page .bl-team-intro {
    background-color: #3345b5;
    background-image: linear-gradient(120deg, #3345b5 0%, #3345b5 67%, #00c7bf 67%, #00c7bf 100%);
    background-blend-mode: normal;
    background-size: cover;
    background-position: center;
    padding: 56px 24px 60px;
    position: relative;
    overflow: hidden;
}
#bl-meet-page .bl-team-intro::before { content: none; }
#bl-meet-page .bl-team-title-panel { background: transparent; border-radius: 0; padding: 0; position: relative; z-index: 1; }
#bl-meet-page .bl-team-intro h1 { color: #fff; max-width: 900px; margin: 0 auto; font-size: clamp(34px, 4vw, 52px); font-weight: 600; letter-spacing: -.025em; }
#bl-meet-page .bl-team-intro .bl-team-eyebrow { color: #fff; }
#bl-meet-page .bl-team-hero-copy { max-width: 790px; color: #fff; font-size: 23px; line-height: 1.6; margin: 24px auto 0; }
#bl-meet-page .bl-team-page-copy, #bl-meet-page .bl-team-page-copy p { color: #fff; }
#bl-meet-page .bl-team-eyebrow { margin-bottom: 16px; }
#bl-meet-page .bl-team-founder { padding-top: 40px; }
#bl-meet-page .bl-team-profile { box-shadow: 0 8px 26px #3345b50c; border: 1px solid #3345b509; }
#bl-meet-page .bl-team-bio h2, #bl-meet-page .bl-team-bio h3 { font-weight: 600; }
.bl-team .bl-team-bio .bl-team-role { color: #3345b5; font-size: 16px; font-weight: 600; line-height: 1.5; margin: -3px 0 20px; }
#bl-meet-page .bl-team-bio p { max-width: 68ch; }
#bl-meet-page .bl-team-bio h2::after, #bl-meet-page .bl-team-bio h3::after { content: ''; display: block; width: 42px; height: 3px; background: #00c7bf; margin-top: 15px; }
#bl-meet-page .bl-team-heading h2 { font-size: clamp(28px, 3vw, 36px); font-weight: 600; }
#bl-meet-page .bl-team:not(.bl-team-intro):not(.bl-team-founder) { padding-top: 28px; padding-bottom: 44px; }
#bl-meet-page .bl-team.bl-team-contact { background: #fff; padding: 32px 24px 48px; text-align: center; }
#bl-meet-page .bl-team-contact .btn { display: inline-block; background: #eb5296; color: #fff; padding: 15px 30px; border-radius: 40px; font-size: 18px; font-weight: 600; text-decoration: none; }
#bl-meet-page .bl-team-contact .btn:focus-visible { outline: 3px solid #3345b5; outline-offset: 5px; }
@media (prefers-reduced-motion: no-preference) {
    #bl-team-invite .bl-team-invite-content { transition: opacity .55s ease, transform .55s ease; }
    #bl-team-invite .bl-team-reveal-pending { opacity: 0; transform: translateY(20px); }
    #bl-meet-page .bl-team-profile { transition: opacity .55s ease, transform .55s ease; }
    #bl-meet-page .bl-team-reveal-pending { opacity: 0; transform: translateY(20px); }
}
@media (max-width: 640px) {
    #bl-meet-page .bl-team-intro { padding: 38px 22px 42px; }
    #bl-meet-page .bl-team-title-panel { padding: 0; border-radius: 0; }
    #bl-meet-page .bl-team-hero-copy { font-size: 18px; margin-top: 20px; }
    #bl-meet-page .bl-team-founder { padding-top: 28px; }
    #bl-meet-page .bl-team-bio h2::after, #bl-meet-page .bl-team-bio h3::after { margin-left: auto; margin-right: auto; }
    #bl-meet-page .bl-team-role { text-align: center; }
    #bl-meet-page .bl-team:not(.bl-team-intro):not(.bl-team-founder) { padding-top: 34px; padding-bottom: 44px; }
}
@media (prefers-reduced-motion: reduce) {
    #bl-team-invite .bl-team-invite-content { opacity: 1 !important; transform: none !important; transition: none !important; }
    #bl-meet-page .bl-team-profile { opacity: 1 !important; transform: none !important; transition: none !important; }
}
@media print {
    #bl-team-invite .bl-team-invite-content { opacity: 1 !important; transform: none !important; transition: none !important; }
    #bl-meet-page .bl-team-profile { opacity: 1 !important; transform: none !important; transition: none !important; break-inside: avoid; }
}
