/* About (page "about", ID 49 on live) */
.about-block { padding: var(--rp) 0 18px; }
.about-h { font: 500 40px/1.14 var(--f-regular); letter-spacing: -0.75px; padding-bottom: 10px; }
.about-h--green { color: var(--green); }
.about-h--taupe { color: var(--taupe); }
.about-h--navy  { color: var(--navy); font-size: 50px; }
.about-text { margin-top: 30px; font: 300 18px/1.14 var(--f-body); color: var(--navy); letter-spacing: -0.38px; }
p.about-text { padding-top: 0; }
.about-text p + p, .about-text p + ul { padding-top: 1em; }
.about-tenets { padding: 2em 0 18px 1em !important; line-height: 26px; }
.about-divider { width: 100%; max-width: 1400px; margin: 0 auto; padding: var(--rp) 0; }
.about-process { margin: 50px auto; width: 40%; }

.about-team__intro { display: grid; grid-template-columns: 539fr 809fr; gap: 0; align-items: start; padding: var(--rp) 0 18px; }
.about-team__grid { padding: var(--rp) 0; margin: 50px auto; }

/* [npf_team] cards */
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 37px 3.75%; }   /* live gutter: 51px of 1362px, 43px of 1138px */
.team-card {
    position: relative; cursor: pointer;
    padding: 20px 20px 44px; text-align: center;
    border: .8px solid var(--green); border-radius: 8px;
}
.team-card__open { position: absolute; inset: 0; z-index: 2; width: 100%; background: none; border: 0; cursor: pointer; border-radius: 8px; }
.team-card__open:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.team-card__photo img { width: 300px; height: 300px; margin: 0 auto; object-fit: cover; border-radius: 50%; }
.team-card__name {
    display: inline-block; width: 320px; max-width: 100%;
    margin: 40px 0 10px; padding: 10px;
    border-radius: 58px; background: var(--green);
    max-width: calc(100% - 60px);   /* live: the pill narrows with the card, so long names wrap below ~1350px */
    font: 600 18px/1.14 var(--f-body); letter-spacing: -0.257px; color: var(--white);
}
.team-card__position { font: 500 14px/1.7 var(--f-body); color: var(--navy); }
.team-card { transition: transform .3s; }
.team-card:hover { transform: translateY(-3px); }

@media (max-width: 980px) {
    .team-card__name { max-width: 100%; }
    .about-team__intro { grid-template-columns: 1fr; gap: 0; }
    .about-team__intro .about-h { padding-bottom: 14px; }
    .about-team__intro .about-text { margin-top: 3px; }
    .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 37px 30px; }
    .about-process { width: 65%; }                 /* live: image module 65% wide on tablet/phone */
}
@media (max-width: 767px) {
    .team-grid { grid-template-columns: minmax(0, 1fr); row-gap: 35px; padding-bottom: 79px; }   /* live Blog Extras on phones */
    .team-card { padding-bottom: 25px; }
}

/* Bio pop-up (replaces Divi Overlay "Team-Member-Bio"): 70% wide white panel, 10px radius */
.bio-modal { width: 70%; max-width: 1100px; max-height: 85vh; padding: 40px; border-radius: 10px; background: #fff; box-shadow: 0 2px 18px rgba(0, 0, 0, .3); overflow-y: auto; }
.bio-modal::backdrop { background: rgba(0, 0, 0, .5); }
.popup-close { position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #f1f1f1; font-size: 24px; line-height: 1; cursor: pointer; color: #101530; }
.popup-bio-content { display: flex; gap: 30px; align-items: flex-start; flex-wrap: wrap; }
.popup-bio-image img { max-width: 200px; height: auto; border-radius: 8px; }
.popup-bio-text { flex: 1; }
.popup-bio-text h2 { color: #101530; font-family: var(--f-semibold); font-size: 24px; font-weight: 600; line-height: 114%; letter-spacing: -0.75px; }
.popup-bio-text .team-position { font-family: Inter; font-size: 18px; font-weight: normal; line-height: 114%; letter-spacing: -0.284px; margin: 10px 0 20px; }
.popup-bio-text .team-description { color: #101530; font-family: Inter; font-size: 15.049px; font-weight: 400; line-height: 114%; letter-spacing: -0.226px; }
.popup-bio-text .team-description p { padding-bottom: 1em; }
@media (max-width: 1024px) {
    .bio-modal { width: 90%; padding: 20px; }
    .popup-bio-content { flex-direction: column; align-items: center; text-align: center; }
    .popup-bio-image img { max-width: 100%; }
}
@media (max-width: 480px) { .bio-modal { width: 100%; } }
@media (max-width: 379px) { .team-card__name { max-width: calc(100% - 41px); } }   /* live: long names wrap on the smallest phones */
