/* ==========================================================================
   hero.css — Hero section layout, text, level chips, admission dates banner
   ========================================================================== */

.hero {
  background: var(--white);
  position: relative;
  overflow: hidden;
}

/* ── Green diagonal decoration (right half on desktop) ───────────────────── */

.hero-deco {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-deco-inner {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-mid) 60%, #1a7a45 100%);
  clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 0% 100%);
}

/* Radial yellow glow inside green block */
.hero-deco-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 30%, rgba(255, 208, 90, .18) 0%, transparent 55%);
}

/* Yellow left-border accent on green block */
.hero-deco-inner::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 6px;
  height: 100%;
  background: var(--yellow);
}

/* ── Two-column grid ─────────────────────────────────────────────────────── */

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  padding: 72px 48px 80px;
  min-height: calc(100vh - 117px); /* viewport minus topbar + nav */
}

.hero-left { max-width: 540px; }

/* ── Text elements ───────────────────────────────────────────────────────── */

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 24px;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 3px;
  background: var(--yellow);
  border-radius: 2px;
}

.hero-title {
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.12;
  color: var(--navy);
  margin-bottom: 20px;
  letter-spacing: -.02em;
}

.hero-title em {
  font-style: normal;
  color: var(--green);
  position: relative;
}

/* Yellow underline on highlighted word */
.hero-title em::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 4px;
  background: var(--yellow);
  border-radius: 2px;
  opacity: .7;
}

.hero-subtitle {
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.80;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 430px;
}

/* ── Level chips ─────────────────────────────────────────────────────────── */

.hero-levels {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.lchip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  border: 1.5px solid;
}

.lchip svg { width: 12px; height: 12px; }

.lc-mat { background: #fff8e1;            border-color: var(--yellow-dark); color: #7a5c00; }
.lc-pri { background: var(--green-light);  border-color: var(--green);       color: var(--green); }
.lc-col { background: #e8edf5;            border-color: var(--navy);         color: var(--navy); }
.lc-lyc { background: #fce8e8;            border-color: #b94040;             color: #7a2020; }

/* ── Admission dates banner ──────────────────────────────────────────────── */

.admission-dates {
  background: rgba(255, 255, 255, .12);
  border: 1.5px solid rgba(255, 255, 255, .25);
  border-radius: var(--r-md);
  padding: 18px 22px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* On desktop the banner sits on white background (left column) */
.hero-left .admission-dates {
  background: var(--navy);
  border-color: rgba(255, 208, 90, .30);
}

.admission-dates-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.admission-dates-title svg { width: 13px; height: 13px; }

.admission-dates-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admission-date-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.adate-badge {
  background: var(--yellow);
  color: var(--navy);
  font-size: 10px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 50px;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: .04em;
}

.adate-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.adate-date {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
}

.adate-detail {
  font-size: 11px;
  color: rgba(255, 255, 255, .55);
}

/* Loading skeleton while JSON fetches */
.adate-skeleton {
  height: 14px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .10);
  animation: shimmer 1.4s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { opacity: .4; }
  50%       { opacity: 1; }
}
