/* Greenhead squads page (squads.html only). Loaded after style.css + pages.css.
   Same look as the approved Classes / Timetable pages: near-black text, white or mint
   bands, white text only on deep green, accent #2BB673. */

/* Hero: second line of the heading in mint, never green on green */
.sq-hero h1 span:not(.h1k){color:#9debc1}
.sq-hero .lead{color:#ffffff}
.sq-hero .cp-invite{background:rgba(255,255,255,.12);color:#ffffff;border-left-color:#9debc1;margin:22px 0 0}
.sq-hero .pg-vis{align-items:center}
.sq-hero .cp-photo{width:min(100%,460px);transform:rotate(1.5deg)}
.sq-hero .cp-badge-mascot{filter:drop-shadow(2px 0 0 #fff) drop-shadow(-2px 0 0 #fff) drop-shadow(0 2px 0 #fff) drop-shadow(0 -2px 0 #fff) drop-shadow(0 10px 14px rgba(0,30,15,.35))}

.gh-squads .cp-info h2{color:#065837}
.gh-squads .cp-info p{margin:0 0 14px;color:#2b3732;font-size:18px;line-height:1.5}
.gh-squads .cp-info .age{background:#087b44;color:#ffffff}
.gh-squads .cp-learn li{color:#05372c}
.gh-squads .cp-photo{transform:rotate(-1.5deg)}
.gh-squads .cp-grid.rev .cp-photo{transform:rotate(1.5deg)}
.gh-squads .cp-btns .btn+.btn{margin-left:0}

/* Wide lineup photo: native 1600×628 ratio so all six gymnasts stay in frame */
.cp-photo.sq-wide{aspect-ratio:1600/628}
.cp-photo.sq-wide img{object-fit:cover;object-position:center}

/* Mini Squad is a class, not a competition squad */
.sq-aside{margin:24px 0 0;background:#ffffff;border:1px solid #daf2e6;border-top:5px solid #098949;border-radius:18px;box-shadow:0 6px 18px rgba(5,55,44,.06);padding:18px 20px 20px;max-width:34em}
.sq-aside h3{font-family:"Fredoka",sans-serif;font-weight:600;font-size:22px;color:#05372c;margin:0 0 8px}
.sq-aside p{margin:0 0 12px;color:#2b3732;font-size:16px;line-height:1.45}
.cp-lav .sq-aside{background:#ffffff}
.gh-squads .cp-lav .cp-info h2{color:#065837}

/* How joining works: four short steps */
.sq-join .sec-head{text-align:left;margin:0 0 36px;max-width:34em}
.sq-join .sec-head h2{color:#05372c}
.sq-join .sec-head h2 em{color:#098949}
.sq-join .sec-head .eyebrow{color:#087b44}
.sq-steps{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:0 0 36px;padding:0;list-style:none;counter-reset:s}
.sq-steps li{position:relative;background:#ffffff;border:1px solid #daf2e6;border-radius:20px;box-shadow:0 6px 18px rgba(5,55,44,.06);padding:22px 22px 22px 22px}
.sq-steps li::before{counter-increment:s;content:counter(s);display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:#2bb673;color:#05372c;font-family:"Anton",sans-serif;font-size:26px;box-shadow:0 5px 0 #087b44;margin-bottom:14px}
.sq-steps h3{font-family:"Fredoka",sans-serif;font-weight:600;font-size:22px;color:#05372c;line-height:1.2;margin:0 0 8px}
.sq-steps p{margin:0;color:#2b3732;font-size:16px;line-height:1.45}
.sq-join .cp-invite{margin:0 0 18px}
.sq-join .cp-btns{margin-top:4px}

.gh-squads .cp-know .cp-kn .ic{box-shadow:0 5px 0 #087b44}
.gh-squads .cp-know h3{color:#05372c}
.gh-squads .cp-know p{color:#2b3732}

@media (max-width:900px){
  .sq-hero .cp-photo{width:min(100%,420px)}
  .sq-steps{grid-template-columns:1fr}
  .gh-squads .cp-vis{max-width:520px;width:100%;margin-inline:auto}
}
@media (max-width:640px){
  .sq-hero .cp-badge-mascot{height:160px;right:-8px;bottom:-18px}
}

/* Squad list (shown only when assets/squads-data.js has entries) */
#sq-list-sec[hidden]{display:none}
#sq-list-sec .sec-head{text-align:left;margin:0 0 28px;max-width:36em}
#sq-list-sec .sec-head h2{color:#05372c}
#sq-list-sec .sec-head h2 em{color:#098949}
.sq-list{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:0;align-items:stretch}
.sq-item{background:#ffffff;border:1px solid #daf2e6;border-top:5px solid #098949;border-radius:20px;box-shadow:0 6px 18px rgba(5,55,44,.06);padding:22px 24px 24px}
.sq-item h3{font-family:"Fredoka",sans-serif;font-weight:600;font-size:26px;color:#05372c;margin:0 0 8px;line-height:1.2}
.sq-blurb{margin:0;color:#2b3732;font-size:17px;line-height:1.45}
@media (max-width:700px){.sq-list{grid-template-columns:1fr}}
