.team-hero{position:relative;overflow:hidden;min-height:325px;background:linear-gradient(115deg,#eaf9ff 0%,#f3fcff 62%,#dff5fd 100%)}
.team-hero-inner{display:flex;align-items:center;justify-content:space-between;gap:50px;padding:74px 0 115px;position:relative;z-index:2}
.team-hero h1{font-size:clamp(46px,6vw,78px);line-height:1;letter-spacing:-.055em;color:var(--blue);margin:0 0 18px}
.team-hero h1 em{color:#339d30;font-style:normal}
.team-hero-inner p:not(.eyebrow){font-size:18px;margin:0;max-width:530px}
.team-hero .hero-aside{max-width:235px!important;font-size:19px!important;color:#17829c;font-weight:700;line-height:1.35;border-left:3px solid #84c952;padding-left:18px}
.team-wave{position:absolute;bottom:-1px;width:100%;height:110px;z-index:1}
.team-wave svg{width:100%;height:100%}
.team-leaf-a{top:35px;left:3%;background:#91d1ec;transform:rotate(-32deg)}
.team-leaf-b{top:66px;right:6%;background:#86c958;transform:rotate(38deg)}
.team-doctor{--flow:linear-gradient(120deg,#e9f8ed,#f5fcf5);background:#e9f8ed;padding:55px 0 52px}
.team-doctor:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:45px;background:#eaf8ff;clip-path:polygon(0 45%,18% 82%,42% 100%,66% 80%,82% 58%,100% 75%,100% 100%,0 100%)}
.team-doctor-grid{display:grid;grid-template-columns:minmax(280px,390px) 1fr;align-items:center;gap:75px;max-width:1060px;margin:auto}
.doctor-portrait{max-width:390px;padding:9px;border-radius:25px;background:#fff;box-shadow:0 16px 35px #00649b24;transform:rotate(-1deg)}
.doctor-portrait img{display:block;width:100%;height:445px;object-fit:cover;object-position:center 20%;border-radius:18px;transform:rotate(1deg)}
.doctor-copy .eyebrow:after{content:"";display:block;width:45px;height:3px;background:#5dbb32;margin-top:8px}
.doctor-copy h2{color:var(--blue);font-size:clamp(31px,3.5vw,47px);letter-spacing:-.045em;line-height:1.12;margin:0 0 20px}
.doctor-copy p:not(.eyebrow){font-size:17px;line-height:1.65;max-width:560px;margin:0 0 14px}
.doctor-copy .btn{margin-top:11px}
.credentials{display:grid;grid-template-columns:repeat(3,1fr);gap:17px;margin:49px auto 0}
.credentials>div{border-radius:18px;background:#fff;padding:21px 22px 24px;box-shadow:0 8px 22px #00649b0f;border-top:5px solid #86cf58}
.credentials span{font-size:12px;color:#339d30;font-weight:800}
.credentials h3{font-size:18px;color:var(--blue);margin:7px 0}
.credentials p{font-size:14px;line-height:1.45;margin:0}
.professional-memberships{font-size:13px;line-height:1.5;text-align:center;max-width:1100px;margin:18px auto 0;color:#38657c}
.doctor-leaf{right:3%;bottom:55px;background:#8fd9e9;transform:rotate(-25deg)}
.team-members{--flow:linear-gradient(#eaf8ff,#f4fbff);background:#eaf8ff;padding:48px 0 95px;overflow:hidden}
.team-members:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:48px;background:#00679e;clip-path:polygon(0 72%,20% 95%,41% 78%,60% 51%,79% 68%,100% 100%,100% 100%,0 100%)}
.team-members:before{border-radius:75px 75px 0 0}
.team-members .section-heading{margin-bottom:43px}
.team-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.member-card{display:grid;grid-template-columns:185px 1fr;gap:0;min-height:235px;overflow:hidden;border-radius:22px;background:#fff;box-shadow:0 8px 22px #00649b12}
.member-card>img,.member-photo-placeholder{display:block;width:100%;height:100%;min-height:235px;object-fit:cover;object-position:center 28%;background:#d6ebef}
.member-card>div:last-child{padding:26px 25px}
.member-card h3{font-size:25px;line-height:1.1;color:var(--blue);margin:0 0 5px}
.member-role{font-size:13px;font-weight:800;color:#319f2a;margin:0 0 14px!important;text-transform:uppercase;letter-spacing:.035em}
.member-card p:not(.member-role){font-size:14px;line-height:1.55;margin:0}
.member-photo-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;color:#397493;background:linear-gradient(145deg,#d3eef6,#eaf8e7)}
.member-photo-placeholder span{width:90px;height:90px;display:grid;place-items:center;border-radius:50%;background:#ffffffb8;font-size:50px;font-weight:700;color:#63b850}
.member-photo-placeholder small{font-size:11px;font-weight:700}
.no-bio{min-height:220px}
.members-leaf{right:2%;bottom:25px;background:#8bcc5c;transform:rotate(34deg)}
.team-cta{--flow:linear-gradient(110deg,#00679e,#087eaf);background:#00679e;text-align:center;color:#fff;padding:75px 0 80px}
.team-cta .eyebrow{color:#d5f5e3;margin-bottom:8px}
.team-cta h2{font-size:clamp(30px,3.5vw,45px);line-height:1.12;margin:0 0 10px;color:#fff}
.team-cta p:not(.eyebrow){font-size:17px;margin:0 0 24px}
.team-page .footer{background:#e8faff}
@media(max-width:1000px){.team-doctor-grid{gap:35px}.member-card{grid-template-columns:145px 1fr}.member-card>div:last-child{padding:22px 18px}}
@media(max-width:740px){.team-hero{min-height:0}.team-hero-inner{display:block;padding:62px 0 105px}.team-hero .hero-aside{display:none}.team-hero h1{font-size:clamp(48px,11vw,72px)}.team-doctor{padding:28px 0 42px}.team-doctor-grid{grid-template-columns:1fr;gap:28px}.doctor-portrait{width:min(420px,100%);margin:auto}.doctor-portrait img{height:420px}.doctor-copy{text-align:center}.doctor-copy .eyebrow:after{margin:8px auto}.doctor-copy p:not(.eyebrow){margin-left:auto;margin-right:auto}.credentials{grid-template-columns:1fr;gap:12px;margin-top:36px}.team-members{padding:38px 0 65px}.team-grid{grid-template-columns:1fr}.member-card{grid-template-columns:180px 1fr}.team-cta{padding:62px 0 66px}}
@media(max-width:500px){.team-hero-inner{padding-top:50px}.team-hero-inner p:not(.eyebrow){font-size:16px}.team-hero h1{font-size:48px}.team-leaf-a{left:auto;right:19px;top:28px;width:25px;height:36px}.team-leaf-b{display:none}.doctor-portrait img{height:360px}.doctor-copy h2{font-size:33px}.doctor-copy p:not(.eyebrow){font-size:15px}.member-card{grid-template-columns:118px 1fr;min-height:185px}.member-card>img,.member-photo-placeholder{min-height:185px}.member-card>div:last-child{padding:19px 15px}.member-card h3{font-size:21px}.member-card p:not(.member-role){font-size:12px;line-height:1.45}.member-role{font-size:11px;margin-bottom:8px!important}.member-photo-placeholder span{height:60px;width:60px;font-size:35px}.member-photo-placeholder small{font-size:9px}.no-bio{min-height:185px}}
