/* ==========================================================================
   Eligibility & Age Criteria (admissions.html, #eligibility only).
   Left: kicker, heading with the orange script accent, the eligibility text,
   three bullet points and a pill button (index.html style).
   Right: the existing photo in an organic blob frame with a handwritten tag.
   ========================================================================== */

#eligibility.el-sec {
  position: relative;
  background: #faf7f1;
  overflow-x: clip;
}

#eligibility .el-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

/* ---------- copy ---------- */
#eligibility .el-copy .kicker {
  display: inline-block;
  font-family: var(--hp-nav);
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--hp-orange);
  margin-bottom: 16px;
}

#eligibility .el-copy .kicker::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 1.5px;
  margin-right: 12px;
  vertical-align: middle;
  background: var(--hp-orange);
}

#eligibility .el-title {
  font-family: var(--hp-serif);
  font-size: clamp(38px, 4.4vw, 60px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.015em;
  color: var(--hp-navy);
  margin: 0 0 22px;
  text-wrap: balance;
}

#eligibility .el-title .hp-script {
  font-size: 1.05em;
  letter-spacing: 0;
  white-space: normal;
}

#eligibility .el-lead {
  font-family: var(--hp-sans);
  font-size: 18px;
  line-height: 1.65;
  color: var(--hp-ink);
  max-width: 600px;
  margin: 0 0 32px;
}

/* ---------- bullet list ---------- */
#eligibility .el-list {
  list-style: none;
  margin: 0 0 36px;
  padding: 0;
  max-width: 620px;
}

#eligibility .el-item {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid #e3ddd0;
}

#eligibility .el-item:first-child {
  padding-top: 0;
}

#eligibility .el-item:last-child {
  border-bottom: 0;
}

#eligibility .el-dot {
  width: 9px;
  height: 9px;
  margin-top: 9px;
  border-radius: 50%;
}

#eligibility .el-dot--orange {
  background: var(--hp-orange);
}

#eligibility .el-dot--blue {
  background: var(--hp-blue);
}

#eligibility .el-item h3 {
  font-family: var(--hp-sans);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: #0b1f3a;
  margin: 0 0 4px;
}

#eligibility .el-item p {
  font-family: var(--hp-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--hp-ink);
  margin: 0;
}

/* ---------- image ---------- */
#eligibility .el-art {
  position: relative;
  margin: 0;
  padding: 28px 0 0;
}

#eligibility .el-blob {
  position: relative;
  padding: 14px;
  border-radius: 46% 54% 42% 58% / 48% 42% 58% 52%;
  background: #fde7dc;
}

#eligibility .el-blob img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  border-radius: inherit;
  box-shadow: 0 22px 50px rgba(14, 42, 71, .12);
}

#eligibility .el-tag {
  position: absolute;
  top: 0;
  right: 2%;
  font-family: "Pacifico", "Segoe Script", cursive;
  font-size: 20px;
  line-height: 1.2;
  color: var(--hp-orange);
  transform: rotate(-4deg);
  white-space: nowrap;
}

/* ---------- tablet: stacked, image first ---------- */
@media (max-width: 1024px) {
  #eligibility .el-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  #eligibility .el-art {
    max-width: 620px;
    width: 100%;
    margin: 0 auto;
    order: -1;
  }
}

/* ---------- phone ---------- */
@media (max-width: 640px) {
  #eligibility .el-title {
    font-size: clamp(34px, 9.5vw, 42px);
  }
  #eligibility .el-title .hp-script {
    font-size: 1.05em;
  }
  #eligibility .el-lead {
    font-size: 16px;
    margin-bottom: 26px;
  }
  #eligibility .el-item h3 {
    font-size: 17px;
  }
  #eligibility .el-item p {
    font-size: 15px;
  }
  #eligibility .el-tag {
    font-size: 17px;
    right: 0;
  }
  #eligibility .el-btns .hp-pill {
    width: 100%;
    min-height: 52px;
    padding: 0 20px;
    font-size: 16px;
    justify-content: center;
  }
}
