/* ==========================================================================
   Life Skills & 21st-Century Skills (beyond-academics.html, #life-skills only).
   Light section with a left-aligned heading and ten white skill cards in a
   five-column grid (two rows), each with an orange number and navy name.
   "Responsible action." uses index.html's orange .hp-script. "Considerate
   choices." is a plain orange serif, as in the design.
   ========================================================================== */

#life-skills.ls-sec {
  position: relative;
  background: #f8f6f1;
  overflow: hidden;
}

#life-skills .ls-head {
  max-width: 980px;
  margin: 0 0 48px;
  text-align: left;
}

#life-skills .ls-head .kicker {
  display: inline-block;
  font-family: var(--hp-nav);
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--hp-orange);
  margin-bottom: 14px;
}

#life-skills .kicker::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 1.5px;
  margin-right: 12px;
  vertical-align: middle;
  background: var(--hp-orange);
}

#life-skills .kicker::after {
  content: none;
  display: none;
}

#life-skills .ls-title {
  font-family: var(--hp-serif);
  font-size: clamp(36px, 4.4vw, 62px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.015em;
  color: var(--hp-blue);
  margin: 0 0 22px;
  text-wrap: balance;
}

#life-skills .ls-capable {
  color: var(--hp-blue);
}

#life-skills .ls-considerate {
  color: var(--hp-orange);
}

#life-skills .ls-responsible {
  font-size: 1.05em;
  letter-spacing: 0;
  white-space: normal;
}

#life-skills .ls-head .copy-18 {
  font-size: 17px;
  line-height: 1.65;
  color: var(--hp-ink);
  max-width: 880px;
  margin: 0;
}

/* ---------- skill cards ---------- */
#life-skills .ls-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

#life-skills .ls-grid li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid #e6e2d8;
  border-radius: 14px;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease, border-color .3s ease;
}

#life-skills .ls-grid li:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(14, 42, 71, .07);
  border-color: #12294b;
}

/* the number replaces the old icon badge: reset the inherited badge styles */
#life-skills .ls-grid li > .ls-num {
  display: inline-block;
  width: auto;
  height: auto;
  min-width: 0;
  padding: 0;
  margin: 0;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  line-height: 1;
}

#life-skills .ls-num {
  flex: 0 0 auto;
  font-family: var(--hp-nav);
  font-size: 14px;
  font-weight: 600;
  color: var(--hp-orange);
  letter-spacing: .04em;
}

#life-skills .ls-grid p {
  margin: 0;
  font-family: var(--hp-nav);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--hp-blue);
}

/* ---------- tablet: three columns ---------- */
@media (max-width: 1024px) {
  #life-skills .ls-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ---------- phone: two columns ---------- */
@media (max-width: 640px) {
  #life-skills .ls-head {
    margin-bottom: 32px;
  }
  #life-skills .ls-title {
    font-size: clamp(32px, 9vw, 40px);
  }
  #life-skills .ls-responsible {
    font-size: 1.05em;
  }
  #life-skills .ls-head .copy-18 {
    font-size: 16px;
  }
  #life-skills .ls-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  #life-skills .ls-grid li {
    min-height: 64px;
    padding: 14px 14px;
    gap: 8px;
    border-radius: 12px;
    flex-wrap: wrap;
  }
  #life-skills .ls-grid p {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #life-skills .ls-grid li {
    transition: none;
  }
  #life-skills .ls-grid li:hover {
    transform: none;
  }
}

/* Student Leadership: "Learning to Serve" in index.html's orange script; medium-size apply button */
#lead-title .hp-script {
  font-size: 1.05em;
  letter-spacing: 0;
  white-space: normal;
}

#leadership .lead-pill {
  align-self: flex-start;
  width: auto;
  max-width: max-content;
  min-height: 46px;
  padding: 0 22px;
  font-size: 15px;
}

@media (max-width: 640px) {
  #leadership .lead-pill {
    align-self: flex-start;
    width: auto;
    min-height: 44px;
    padding: 0 20px;
    font-size: 15px;
  }
}
