/* ═══════════════════════════════════════════════════════
   IWTMYL — Public Volunteer Profile
   css/volunteer-profile.css
   Template: volunteer_template.php
   Route:    /volunteer/{state}/{name}/

   Page-specific additions only. Base typography, buttons,
   cards, chips, sections, hero come from vp-system.css.
   ═══════════════════════════════════════════════════════ */


/* ── Hero layout ── */

.vp-profile-hero__layout {
  display: flex !important;
  align-items: flex-start !important;
  gap: 28px !important;
}

.vp-profile-hero__media {
  flex: 0 0 auto !important;
}

.vp-profile-hero__content {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

@media (max-width: 600px) {
  .vp-profile-hero__layout {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  .vp-profile-hero__content .vp-chips-row {
    justify-content: center !important;
  }
}


/* ── Portrait / initials fallback ── */

.vp-profile-portrait {
  width: 140px !important;
  height: 140px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 3px solid #dce9df !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.06) !important;
}

.vp-profile-initials {
  width: 140px !important;
  height: 140px !important;
  border-radius: 50% !important;
  background: #2f7d4d !important;
  color: #fff !important;
  font-size: 52px !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  border: 3px solid #dce9df !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.06) !important;
}


/* ── Trust row ── */

.vp-profile-trust {
  font-size: 13px !important;
  color: #5f6b63 !important;
  margin-top: 10px !important;
  margin-bottom: 4px !important;
}


/* ── Outline chip variant (availability) ── */

.vp .vp-chip--outline {
  background: transparent !important;
  border: 1px solid #c8d9cc !important;
  color: #48534c !important;
  font-weight: 500 !important;
}


/* ── Impact stat grid ── */

.vp-profile-impact__grid {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 24px !important;
  justify-content: center !important;
  text-align: center !important;
}

.vp-profile-impact__stat {
  flex: 0 0 auto !important;
  min-width: 120px !important;
}

.vp-profile-impact__stat strong {
  display: block !important;
  font-size: 28px !important;
  font-weight: 800 !important;
  color: #2f7d4d !important;
  line-height: 1.2 !important;
}

.vp-profile-impact__stat span {
  display: block !important;
  font-size: 13px !important;
  color: #5f6b63 !important;
  margin-top: 4px !important;
  font-weight: 500 !important;
}


/* ── Work photos grid ── */

.vp-profile-photos__grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 24px !important;
  margin-top: 16px !important;
}

.vp-profile-photo-pair {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 12px !important;
  background: #fff !important;
  border: 1px solid #dfe8e1 !important;
  border-radius: 10px !important;
  padding: 12px !important;
  box-shadow: 0 1px 3px rgba(0,0,0,.03) !important;
}

.vp-profile-photo-pair__img {
  margin: 0 !important;
}

.vp-profile-photo-pair__img img {
  width: 100% !important;
  height: 180px !important;
  object-fit: cover !important;
  border-radius: 6px !important;
  display: block !important;
}

.vp-profile-photo-pair__img figcaption {
  font-size: 11px !important;
  color: #5f6b63 !important;
  text-transform: uppercase !important;
  letter-spacing: .05em !important;
  font-weight: 600 !important;
  margin-top: 6px !important;
  text-align: center !important;
}

.vp-profile-photo-pair__caption {
  grid-column: 1 / -1 !important;
  font-size: 13px !important;
  color: #5f6b63 !important;
  text-align: center !important;
  margin: 4px 0 0 !important;
}

@media (max-width: 600px) {
  .vp-profile-photo-pair__img img {
    height: 130px !important;
  }
}


/* ── Association badges ── */

.vp-profile-badges__row {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
  align-items: center !important;
  justify-content: center !important;
}

.vp-profile-badge-img {
  width: auto !important;
  height: 44px !important;
  object-fit: contain !important;
  opacity: .8 !important;
  transition: opacity .15s ease !important;
}

.vp-profile-badge-img:hover {
  opacity: 1 !important;
}


/* ── Social links ── */

.vp-profile-social__row {
  display: flex !important;
  gap: 14px !important;
  align-items: center !important;
  justify-content: center !important;
}

.vp-profile-social__link img {
  width: 24px !important;
  height: 24px !important;
  opacity: .6 !important;
  transition: opacity .15s ease !important;
}

.vp-profile-social__link:hover img {
  opacity: 1 !important;
}


/* ── CTA grid ── */

.vp-profile-cta__grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 18px !important;
}

@media (max-width: 600px) {
  .vp-profile-cta__grid {
    grid-template-columns: 1fr !important;
  }
}


/* ── Share section ── */

.vp-profile-share {
  text-align: center !important;
}

.vp-profile-copy-btn {
  cursor: pointer !important;
}


/* ── Org footer ── */

.vp-profile-org {
  text-align: center !important;
}

.vp-profile-org p {
  max-width: 640px !important;
  margin: 0 auto !important;
}

.vp-profile-org a {
  color: #2f7d4d !important;
  text-decoration: underline !important;
}


/* ── About section ── */

.vp-profile-about h2 {
  margin-bottom: 12px !important;
}

.vp-profile-about p {
  font-size: 15px !important;
  color: #2f2f2f !important;
  line-height: 1.7 !important;
  max-width: 680px !important;
}
