/* ===========================================================
   school.css — School landing, Specialization landing, and the
   Academics mega-menu. Loads alongside styles.css.
   =========================================================== */

.sch-main { padding: 0 0 90px; }

/* Breadcrumb */
.sch-crumb { margin: 30px 0 10px; font-size: 14px; color: var(--muted); }
.sch-crumb a { color: var(--navy); text-decoration: none; font-weight: 600; }
.sch-crumb a:hover { color: var(--green); }
.sch-crumb .sep { margin: 0 8px; opacity: .55; }

/* Page title (green, display) */
.sch-title {
  font-family: 'aesthet-nova', 'Fraunces', serif;
  font-weight: 700;
  color: var(--green);
  font-size: 52px;
  line-height: 1.06;
  margin: 6px 0 34px;
}

/* Hero: text/box left, image right */
.sch-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: start;
}
.sch-hero__media img {
  width: 100%;
  border-radius: 20px;
  display: block;
  object-fit: cover;
}

/* Tick bullets */
.sch-bullets { list-style: none; margin: 4px 0 28px; padding: 0; display: grid; gap: 22px; }
.sch-bullets li { display: flex; align-items: flex-start; gap: 16px; }
.sch-bullets .seal { flex: 0 0 auto; width: 30px; height: 30px; color: var(--green); margin-top: 1px; }
.sch-bullets .txt { color: var(--navy); font-size: 19px; line-height: 1.3; font-weight: 500; }

/* Courses Offered box */
.sch-offer {
  background: var(--bg-warm);
  border-radius: 16px;
  padding: 26px 30px 30px;
}
.sch-offer__h {
  font-family: 'aesthet-nova', 'Fraunces', serif;
  color: var(--green);
  font-weight: 700;
  font-size: 22px;
  margin: 0 0 20px;
}
.sch-offer__groups { display: flex; flex-wrap: wrap; gap: 30px 44px; }
.sch-offer__grp { }
.sch-offer__grp .lbl { color: var(--navy); font-weight: 600; font-size: 16px; margin-bottom: 12px; }
.sch-offer__grp .pills { display: flex; flex-wrap: wrap; gap: 10px; }

/* Level pill */
.lvl-pill {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; line-height: 1;
  padding: 9px 18px; border-radius: 999px; text-decoration: none;
  white-space: nowrap;
}
a.lvl-pill { transition: transform .15s ease, box-shadow .15s ease; }
a.lvl-pill:hover { transform: translateY(-1px); box-shadow: 0 8px 18px -10px rgba(0,0,0,.4); }
.lvl-pill.sm { font-size: 12.5px; padding: 6px 14px; }

/* Intro (full width under hero) */
.sch-intro {
  max-width: 1400px;
  margin: 52px 0 0;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.6;
}
.sch-intro p { margin: 0 0 18px; }

/* Specializations section */
.sch-specs-h {
  font-family: 'aesthet-nova', 'Fraunces', serif;
  color: var(--green);
  font-weight: 700;
  font-size: 34px;
  margin: 70px 0 26px;
}
.sch-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 72px;
}
.sch-spec-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid #e7e7ea;
}
.sch-spec-row__name { color: var(--navy); font-size: 17px; font-weight: 600; text-decoration: none; line-height: 1.25; }
.sch-spec-row__name:hover { color: var(--green); }
.sch-spec-row__pills { display: flex; gap: 8px; flex: 0 0 auto; }

/* ---------- Specialization page ---------- */
.spec-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 26px;
  margin-top: 14px;
}
.spec-card {
  background: var(--bg-warm);
  border-radius: 16px;
  padding: 28px 28px 24px;
  display: flex; flex-direction: column;
}
.spec-card__lvl { align-self: flex-start; margin-bottom: 14px; }
.spec-card h3 {
  font-family: 'aesthet-nova', 'Fraunces', serif;
  color: var(--navy); font-weight: 700; font-size: 21px; line-height: 1.18; margin: 0 0 14px;
}
.spec-card__meta { color: var(--navy); font-size: 14.5px; line-height: 1.5; margin: 0 0 20px; flex: 1; }
.spec-card__meta b { font-weight: 700; }
.spec-card .view {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--green); color: #fff; font-size: 14px; font-weight: 600;
  text-decoration: none; padding: 9px 18px; border-radius: 8px;
  transition: background .2s ease, box-shadow .2s ease;
}
.spec-card .view:hover { background: var(--green-dark); box-shadow: 0 10px 24px -10px rgba(58,174,42,.7); }

.spec-section-h {
  font-family: 'aesthet-nova', 'Fraunces', serif;
  color: var(--green); font-weight: 700; font-size: 30px; margin: 66px 0 22px;
}
.spec-careers { display: flex; flex-wrap: wrap; gap: 12px; }
.spec-careers .role {
  background: #fdeef5; color: #7a1f50; border-radius: 999px;
  padding: 11px 22px; font-size: 15px; font-weight: 600;
}

/* ---------- Faculties & Schools index (/schools/) ---------- */
.schools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 16px; }
.school-card {
  background: var(--bg-warm); border-radius: 16px; padding: 30px 30px 26px;
  display: flex; flex-direction: column; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.school-card:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -20px rgba(39,48,112,.5); }
.school-card h3 {
  font-family: 'aesthet-nova', 'Fraunces', serif;
  color: var(--navy); font-weight: 700; font-size: 23px; line-height: 1.18; margin: 0 0 12px;
}
.school-card p { color: var(--navy); font-size: 14.5px; line-height: 1.5; margin: 0 0 16px; flex: 1; }
.school-card .cnt { color: var(--green); font-weight: 700; font-size: 14px; }

/* (Academics mega-menu styles live in styles.css — loaded sitewide.) */

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .sch-specs { grid-template-columns: repeat(2, 1fr); }
  .schools-grid { grid-template-columns: repeat(2, 1fr); }
  .sch-title { font-size: 42px; }
  .sch-intro { font-size: 19px; }
}
@media (max-width: 760px) {
  .sch-hero { grid-template-columns: 1fr; gap: 26px; }
  .sch-hero__media { order: -1; }
  .sch-title { font-size: 34px; margin-bottom: 22px; }
  .sch-specs { grid-template-columns: 1fr; gap: 0 0; }
  .schools-grid { grid-template-columns: 1fr; }
  .sch-intro { font-size: 17px; margin-top: 36px; }
  .sch-bullets .txt { font-size: 17px; }
}
