/* ==========================================================================
   Get Involved and Start an IIPT Chapter pages
   Loaded after inner.css.
   ========================================================================== */

/* On-page navigation */
.gi-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.gi-jump a { padding: 8px 18px; border-radius: 999px; background: var(--ip-sky-light); color: var(--ip-navy); font-weight: 700; font-size: 14px; text-decoration: none; transition: background .2s, color .2s; }
.gi-jump a:hover { background: var(--ip-sky); color: #fff; }

/* Cards with a link */
.gi-way { display: flex; flex-direction: column; }
.gi-way p { flex: 1; }
.gi-way-link { margin-top: 18px; }
.ip-card a:not(.ip-link):not(.ip-btn) { color: var(--ip-sky); font-weight: 600; }

/* Benefit tiles with check lists */
.ip-tile .ip-check { margin-top: 6px; }
.ip-tile .ip-check li { color: rgba(255, 255, 255, .95); }
.ip-tile--sky .ip-check li::before { background-color: var(--ip-navy); }

/* Peace Park steps */
.gi-steps { counter-reset: step; list-style: none; padding: 0; margin: 22px 0 0; }
.gi-steps li { counter-increment: step; position: relative; padding: 0 0 14px 46px; line-height: 1.65; color: var(--ip-text); }
.gi-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--ip-amber); color: #1a2332; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.gi-park-img img { aspect-ratio: 4 / 3; object-fit: cover; }

/* Contact panel */
.gi-contact { padding-top: 24px; }
.gi-contact-panel { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; background: linear-gradient(135deg, var(--ip-navy-dark) 0%, var(--ip-navy) 55%, #0b5f9e 100%); border-radius: 22px; padding: 48px; box-shadow: var(--ip-shadow-lg); color: #fff; }
.gi-contact-panel h2 { color: #fff; font-size: 34px; font-weight: 700; margin-bottom: 14px; }
.gi-contact-panel p { color: rgba(255, 255, 255, .9); line-height: 1.75; }
.gi-contact-sub { font-weight: 700; margin-top: 18px; margin-bottom: 10px; }
.gi-people { display: flex; flex-direction: column; gap: 14px; }
.gi-person { display: flex; align-items: center; gap: 16px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); border-radius: 16px; padding: 18px 20px; }
.gi-person strong { display: block; color: #fff; font-size: 18px; }
.gi-person span { display: block; color: rgba(255, 255, 255, .8); font-size: 14px; margin-bottom: 4px; }
.gi-person a { color: #ffd27a; font-weight: 700; word-break: break-word; }
.gi-person a:hover { color: #fff; }
.gi-avatar { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 50%; display: flex !important; align-items: center; justify-content: center; background: var(--ip-sky); color: #fff !important; font-weight: 800; font-size: 18px !important; margin: 0 !important; letter-spacing: .04em; }
.gi-avatar--amber { background: var(--ip-amber); color: #1a2332 !important; }
.gi-mail-both { align-self: flex-start; margin-top: 6px; }

/* ---------- Start an IIPT Chapter ---------- */
.sc-hero { position: relative; min-height: 460px; display: flex; align-items: center; overflow: hidden; }
.sc-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 78%; }
.sc-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 28, 71, .78) 0%, rgba(8, 28, 71, .35) 55%, rgba(8, 28, 71, 0) 100%); }
.sc-hero .container { position: relative; z-index: 1; }
.sc-hero-card { max-width: 560px; padding: 40px 0; color: #fff; }
.sc-hero-card h2 { color: #fff; font-size: 40px; line-height: 1.2; font-weight: 700; margin: 0 0 14px; }
.sc-hero-card p { color: rgba(255, 255, 255, .92); font-size: 18px; line-height: 1.7; margin-bottom: 24px; }
.sc-hero-card .ip-eyebrow { color: var(--ip-amber); }
.sc-hero-card .ip-btn--outline { color: #fff; border-color: #fff; }
.sc-hero-card .ip-btn--outline:hover { background: #fff; color: var(--ip-navy); }

.sc-chapters, .ip-card .sc-chapters { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.sc-chapters li a, .sc-chapters li span { display: block; padding: 10px 14px; border-radius: 10px; background: var(--ip-sky-light); color: var(--ip-navy); font-weight: 700; }
.sc-chapters li a { color: var(--ip-sky); }
.sc-chapters li a::after { content: " \2192"; }
.sc-benefits { margin-top: 10px; }
.ip-panel--navy p { color: rgba(255, 255, 255, .88); }

@media (max-width: 991px) {
  .gi-contact-panel { grid-template-columns: 1fr; padding: 36px 28px; }
  .sc-hero { min-height: 400px; }
  .sc-hero-card h2 { font-size: 32px; }
}
@media (max-width: 767px) {
  .gi-contact-panel h2 { font-size: 27px; }
  .sc-hero::after { background: linear-gradient(180deg, rgba(8, 28, 71, .45) 0%, rgba(8, 28, 71, .82) 100%); }
  .sc-hero-card { padding: 56px 0 40px; }
  .sc-hero-card h2 { font-size: 28px; }
  .sc-hero-card p { font-size: 16px; }
  .sc-chapters { grid-template-columns: 1fr 1fr; }
}
