/* Team page overrides. */
body.page-template-page-team .team,
body.pulsar-page-team .team{background:#fbf9f4;padding:80px 20px}
body.page-template-page-team .section-heading-row,
body.pulsar-page-team .section-heading-row{display:flex;justify-content:space-between;gap:30px;align-items:flex-start}
body.page-template-page-team .team-grid,
body.pulsar-page-team .team-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:30px}
body.page-template-page-team .person,
body.pulsar-page-team .person{text-align:center}
body.page-template-page-team .person-photo img,
body.pulsar-page-team .person-photo img{width:100%;aspect-ratio:.78;object-fit:cover;background:#fff;border:1px solid rgba(199,168,107,.5)}
body.page-template-page-team .person h3,
body.pulsar-page-team .person h3{font-size:22px;margin:14px 0 4px}
body.page-template-page-team .person p,
body.pulsar-page-team .person p{color:var(--green);font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.08em}
body.page-template-page-team .team-hero,
body.pulsar-page-team .team-hero{background:var(--green);color:#fff;padding:80px 20px}
body.page-template-page-team .team-hero h1,
body.pulsar-page-team .team-hero h1{font-size:clamp(34px,4vw,52px);margin-bottom:16px}
body.page-template-page-team .team-hero p,
body.pulsar-page-team .team-hero p{font-size:18px;color:var(--ivory);max-width:720px}
body.page-template-page-team .team-cta,
body.pulsar-page-team .team-cta{background:var(--green);color:var(--gold);text-align:center;padding:60px 20px;border-bottom:1px solid rgba(199,168,107,.3)}
body.page-template-page-team .team-cta h2,
body.pulsar-page-team .team-cta h2{font-size:26px;margin-bottom:20px;color:#fff}
body.page-template-page-team .team-cta .btn,
body.pulsar-page-team .team-cta .btn{position:relative!important;float:none!important;display:inline-flex;margin-top:24px;padding:14px 28px;font-size:15px;font-weight:700;border-radius:4px}
.team-title-mobile{display:none}
.team-title-desktop{display:inline}
@media(max-width:980px){
  body.page-template-page-team .team-grid,
  body.pulsar-page-team .team-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:640px){
  body.page-template-page-team .team-grid,
  body.pulsar-page-team .team-grid{grid-template-columns:1fr}
  body.page-template-page-team .team-cta,
  body.pulsar-page-team .team-cta{padding:40px 16px}
  body.page-template-page-team .team-cta .btn,
  body.pulsar-page-team .team-cta .btn{display:flex;width:100%;margin-top:28px}
  .team-title-desktop{display:none}
  .team-title-mobile{display:inline}
}


/* Final team polish: one gold section label, no generated duplicate. */
body.page-template-page-team .team-hero .hero-content::before,
body.pulsar-page-team .team-hero .hero-content::before,
body.page-template-page-team .team-hero h1::before,
body.pulsar-page-team .team-hero h1::before{content:none!important;display:none!important}
body.page-template-page-team .team-hero .hero-eyebrow,
body.pulsar-page-team .team-hero .hero-eyebrow{display:block!important;margin:0 0 13px!important;color:var(--gold)!important;font-size:11px!important;font-weight:700!important;line-height:1!important;letter-spacing:.18em!important;text-transform:uppercase!important}
body.page-template-page-team .team-hero h1,
body.pulsar-page-team .team-hero h1{margin-top:0!important}
@media(max-width:640px){
  body.page-template-page-team .team-cta,
  body.pulsar-page-team .team-cta{background:var(--ivory)!important;padding:28px 0 32px!important;margin:0!important}
  body.page-template-page-team .team-cta .container,
  body.pulsar-page-team .team-cta .container{width:min(calc(100% - 34px),var(--container))!important;max-width:var(--container)!important;min-height:0!important;margin:0 auto!important;padding:26px 22px!important;background:var(--green)!important;display:grid!important;grid-template-columns:1fr!important;gap:20px!important;align-items:start!important;text-align:left!important;box-sizing:border-box!important}
  body.page-template-page-team .team-cta h2,
  body.pulsar-page-team .team-cta h2{margin:0!important;color:#fff!important;font-family:var(--serif)!important;font-size:30px!important;font-weight:400!important;line-height:1.08!important;text-align:left!important}
  body.page-template-page-team .team-cta .btn,
  body.pulsar-page-team .team-cta .btn{position:static!important;float:none!important;display:flex!important;width:100%!important;min-width:0!important;max-width:none!important;height:auto!important;min-height:52px!important;margin:0!important;padding:14px 18px!important;background:var(--gold)!important;color:var(--green)!important;border:0!important;border-radius:0!important;transform:none!important;font-size:11px!important;font-weight:700!important;line-height:1.2!important;white-space:normal!important;text-align:center!important}
}
@media (max-width:640px){
  body.pulsar-page-team .team-hero,
  body.page-template-page-team .team-hero{
    min-height:auto!important;
    padding:140px 17px 70px!important;
  }

  body.pulsar-page-team .team-hero .hero-content,
  body.page-template-page-team .team-hero .hero-content{
    padding:0!important;
  }
}