.school-catalog-shell {
  --ink-blue: #002fa7;
  --ink-blue-hover: #002783;
  --paper: #f5f1e8;
  --paper-light: #faf8f2;
  --surface: #fffdf8;
  --carbon: #20242c;
  --carbon-muted: #687080;
  --carbon-faint: #959ba6;
  --border-subtle: rgba(17, 24, 39, .10);
}

.school-catalog-page {
  width: min(calc(100% - 80px), 1680px);
  max-width: none;
  margin: 0 auto;
  padding: 0 0 64px;
  color: #063981;
}

.school-catalog-hero {
  position: static;
  top: auto;
  z-index: auto;
  min-height: 250px;
  margin: 24px 0 28px;
  padding: 34px clamp(32px, 4vw, 70px);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
  align-items: center;
  gap: clamp(42px, 7vw, 110px);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background:
    radial-gradient(circle at 82% 25%, rgba(0, 47, 167, .055) 0 2px, transparent 2.5px) 0 0 / 18px 18px,
    linear-gradient(112deg, rgba(255, 253, 248, .98), rgba(250, 248, 242, .84));
  box-sizing: border-box;
}

.school-catalog-kicker {
  margin: 0 0 10px;
  color: var(--ink-blue);
  font-size: 11px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: .24em;
}

.school-catalog-hero h1 {
  margin: 0;
  color: #06378f;
  font-family: var(--font-ui);
  font-size: clamp(46px, 4.2vw, 72px);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: .03em;
}

.school-catalog-hero-copy > p:not(.school-catalog-kicker) {
  max-width: 760px;
  margin: 13px 0 0;
  color: #31517f;
  font-size: 16px;
  line-height: 1.65;
}

.school-catalog-hero-copy > p + p:not(.school-catalog-kicker) { margin-top: 2px; }

.school-catalog-hero-meta {
  min-width: 0;
  padding: 8px 0 8px 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-left: 2px solid var(--ink-blue);
}

.school-catalog-hero-meta > span {
  color: var(--carbon-faint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
}

.school-catalog-hero-meta strong {
  width: 100%;
  margin-top: 8px;
  overflow: hidden;
  color: #143d82;
  font-size: 22px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.school-catalog-hero-meta small {
  margin-top: 5px;
  color: var(--carbon-muted);
  font-size: 13px;
}

.school-catalog-hero-meta a {
  margin-top: 14px;
  display: inline-flex;
  gap: 9px;
  align-items: center;
  color: var(--ink-blue);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.school-catalog-panel { margin-top: 24px; border: 1px solid rgba(17, 50, 94, .16); border-radius: 15px; background: rgba(255, 253, 248, .92); overflow: hidden; }
.school-catalog-toolbar { display: flex; justify-content: space-between; gap: 18px; padding: 20px 24px; border-bottom: 1px solid rgba(17, 50, 94, .12); }
.school-region-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.school-region-tabs button, .school-catalog-pagination button { min-height: 42px; padding: 0 18px; border: 1px solid rgba(17, 50, 94, .17); border-radius: 9px; color: #173f79; background: #fffdfa; font: inherit; font-weight: 650; cursor: pointer; }
.school-region-tabs button[aria-selected="true"] { color: #fff; border-color: #073dac; background: #073dac; box-shadow: 0 7px 18px rgba(7, 61, 172, .16); }
.school-catalog-search input { width: min(320px, 28vw); min-height: 42px; padding: 0 14px; border: 1px solid rgba(17, 50, 94, .17); border-radius: 9px; color: #173f79; background: #fffdfa; font: inherit; }
.school-catalog-summary { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px 10px; }
.school-catalog-summary strong { font-size: 21px; }
.school-catalog-summary span { color: #8190a5; font-size: 13px; }
.school-table-wrap { overflow-x: auto; padding: 0 24px; }
.school-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.school-table th { padding: 13px 14px; border-bottom: 1px solid rgba(17, 50, 94, .16); color: #8090a6; font-size: 12px; text-align: left; letter-spacing: .08em; }
.school-table th:first-child { width: 120px; }
.school-table th:nth-child(3) { width: 190px; }
.school-table th:last-child { width: 190px; }
.school-table td { padding: 15px 14px; border-bottom: 1px solid rgba(17, 50, 94, .1); color: #536985; vertical-align: middle; }
.school-table td strong, .school-table td small { display: block; }
.school-table td strong { color: #063981; font-size: 15px; }
.school-table td small { margin-top: 4px; color: #8692a4; font-size: 12px; }
.school-table a { color: #073dac; font-weight: 650; text-decoration: none; }
.school-rank { display: inline-flex; min-width: 68px; justify-content: center; padding: 6px 10px; border-radius: 999px; color: #073dac; background: #edf3ff; font-size: 13px; font-weight: 750; white-space: nowrap; }
.school-site-missing { color: #9aa3b0; font-size: 13px; }
.school-table-status { height: 160px; text-align: center; color: #8b96a7 !important; }
.school-catalog-pagination { display: flex; justify-content: center; align-items: center; gap: 14px; padding: 20px 24px 24px; }
.school-catalog-pagination button:disabled { cursor: default; opacity: .42; }
.school-page-jump { display: inline-flex; align-items: center; justify-content: center; gap: 7px; color: #78869a; font-size: 13px; }
.school-page-jump input { width: 58px; height: 40px; padding: 0 7px; border: 1px solid rgba(17, 50, 94, .17); border-radius: 8px; background: #fffdfa; color: #173f79; font: inherit; font-weight: 650; text-align: center; }
.school-page-jump button { min-height: 40px; padding-inline: 14px; }
.school-page-jump b { color: #536985; font-weight: 650; }

@media (max-width: 1180px) {
  .school-catalog-page { width: min(calc(100% - 48px), 1040px); }
  .school-catalog-hero { grid-template-columns: minmax(0, 1fr) 300px; }
}

@media (max-width: 760px) {
  .school-catalog-page { width: min(calc(100% - 28px), 680px); }
  .school-catalog-hero {
    min-height: 0;
    margin-top: 12px;
    padding: 24px 20px;
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .school-catalog-hero h1 { font-size: 38px; }
  .school-catalog-hero-copy > p:not(.school-catalog-kicker) { font-size: 14px; }
  .school-catalog-toolbar { display: block; padding: 16px; }
  .school-catalog-search input { width: 100%; margin-top: 14px; }
  .school-table-wrap { padding: 0; }
  .school-table { min-width: 720px; }
  .school-catalog-summary { padding-inline: 16px; }
  .school-catalog-pagination { gap: 8px; padding-inline: 12px; }
  .school-catalog-pagination > button { padding-inline: 12px; }
  .school-page-jump { gap: 5px; }
  .school-page-jump input { width: 48px; }
  .school-page-jump button { padding-inline: 10px; }
}
