/*
 * Team band — the "Our team" band used on the suburb pages.
 *
 * Source: WPCode snippet 17748 "Staff Profile Snippet", migrated to the child
 * theme 28 July 2026. The snippet is now disabled, not deleted.
 * Enqueued by: inc/enqueue-css.php (handle "phgp-block-team-band")
 *
 * Consumers — TWO copies of the markup exist, so both are consumers:
 *   wp_block 18181       "Team Band - Global"  → the 16 suburb pages
 *   elementor_library 17985                    → page 7565 Regular care
 * Until Regular care is migrated off Elementor, a markup change must be made
 * in both places. This stylesheet serves both.
 *
 * Self-contained: declares its own tokens on .phgp-staff/.staffband and does
 * not depend on core.css.
 */

.phgp-staff,
.staffband{
  --navy:#16335A; --navy-deep:#0F2444; --navy-darker:#08101C;
  --mint:#5BD0A8; --mint-hover:#4ec199; --paper:#FBFAF4;
  --ink:#10243F; --dim:#52606A;
}

/* ============ STAFF BAND ============ */
.staffband{
  box-sizing:border-box;
  font-family:'Inter',system-ui,-apple-system,sans-serif;
  -webkit-font-smoothing:antialiased;
  font-size:16px; line-height:1.6; color:var(--ink);
  padding:80px 56px; text-align:center; position:relative; overflow:hidden;
}
.staffband *{box-sizing:border-box;}
.staffband .inner{position:relative;max-width:760px;margin:0 auto;}

.staffband .kicker{
  font-size:13px; font-weight:600; line-height:1.4;
  letter-spacing:.08em; text-transform:uppercase; margin-bottom:14px;
}
.staffband h2{
  font-size:44px; font-weight:700; letter-spacing:-.025em;
  line-height:1.05; margin:0; text-wrap:balance;
}
.staffband p{
  font-size:18px; line-height:1.6; margin:18px auto 0; max-width:560px;
}

.staffband .stack{display:flex;justify-content:center;margin:40px 0 36px;}
.staffband .av,.staffband .count{
  flex:0 0 auto;width:88px;height:88px;border-radius:50%;margin-left:-22px;
  overflow:hidden;box-shadow:0 8px 24px rgba(0,0,0,.22);
}
.staffband .av{background:#fff;}
.staffband .av.mono{display:grid;place-items:center;}
.staffband .av.mono span{font-weight:700;color:var(--navy);font-size:24px;line-height:1;letter-spacing:.01em;}
.staffband .av:first-child{margin-left:0;}
.staffband .av img{width:100%;height:100%;object-fit:cover;display:block;}
.staffband .count{display:grid;place-items:center;font-size:20px;line-height:1;font-weight:700;}

.staffband .meet-btn{
  display:inline-flex;align-items:center;gap:10px;padding:16px 26px;border-radius:12px;
  font-size:16px;line-height:1.2;font-weight:600;border:none;cursor:pointer;text-decoration:none;
  transition:background .15s,transform .15s;
}
.staffband .meet-btn:hover{transform:translateY(-1px);}

/* --- Navy variant --- */
.staffband.navy{background:var(--navy);}
.staffband.navy::before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 50% -10%,rgba(91,208,168,.20),transparent 55%);}
.staffband.navy .kicker{color:var(--mint);}
.staffband.navy h2{color:#fff;}
.staffband.navy p{color:rgba(255,255,255,.72);}
.staffband.navy .av,.staffband.navy .count{border:3px solid var(--navy);}
.staffband.navy .count{background:var(--mint);color:var(--navy-darker);}
.staffband.navy .meet-btn{background:var(--mint);color:var(--navy-darker);}
.staffband.navy .meet-btn:hover{background:var(--mint-hover);}

/* --- Light (page background) variant --- */
.staffband.light{background:var(--paper);}
.staffband.light .kicker{color:var(--navy);}
.staffband.light h2{color:var(--navy);}
.staffband.light p{color:var(--dim);}
.staffband.light .av,.staffband.light .count{border:3px solid var(--paper);box-shadow:0 8px 24px rgba(15,36,68,.14);}
.staffband.light .count{background:var(--navy);color:#fff;}
.staffband.light .meet-btn{background:var(--navy);color:#fff;}
.staffband.light .meet-btn:hover{background:var(--navy-deep);}

/* --- Responsive: shrink circles, keep them round, fit all on one row --- */
@media(max-width:680px){
  .staffband{padding:56px 24px;}
  .staffband h2{font-size:30px;}
  .staffband p{font-size:16px;}
  .staffband .stack{margin:32px 0 30px;}
  .staffband .av,.staffband .count{width:60px;height:60px;margin-left:-16px;border-width:2px;}
  .staffband .count{font-size:15px;}
}
@media(max-width:400px){
  .staffband .av,.staffband .count{width:50px;height:50px;margin-left:-14px;}
  .staffband .count{font-size:13px;}
}
