body.school-detail-page {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
  color: #0f172a;
}

.school-detail-page a {
  color: #2563eb;
}

.school-detail-header {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 50;
}

.school-detail-header-inner,
.school-detail-shell,
.school-detail-breadcrumb {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.school-detail-header-inner {
  display: flex;
  align-items: center;
  min-height: 84px;
}

.school-detail-logo img {
  display: block;
  height: 68px;
  width: auto;
}

.school-detail-breadcrumb {
  padding-top: 16px;
  padding-bottom: 0;
  font-size: 13px;
  color: #64748b;
}

.school-detail-breadcrumb a {
  text-decoration: none;
}

.school-detail-breadcrumb span {
  margin: 0 6px;
  color: #94a3b8;
}

.school-detail-shell {
  padding-top: 24px;
  padding-bottom: 56px;
}

.school-detail-hero,
.school-detail-sections {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 24px;
  align-items: start;
}

.school-detail-main-column {
  display: grid;
  gap: 24px;
}

.school-detail-followup {
  margin-top: 24px;
}

.school-detail-card,
.school-detail-panel,
.school-detail-box {
  background: #ffffff;
  border: 1px solid #dbe7ff;
  border-radius: 22px;
  box-shadow: 0 18px 44px rgba(37, 99, 235, 0.08);
}

.school-detail-card,
.school-detail-panel,
.school-detail-box {
  padding: 24px;
}

.school-detail-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 700;
}

.school-detail-title {
  margin: 16px 0 10px;
  font-size: clamp(30px, 4.8vw, 42px);
  line-height: 1.08;
}

.school-detail-summary,
.school-detail-box p {
  margin: 0;
  color: #475569;
  font-size: 15px;
  line-height: 1.75;
}

.school-detail-richtext {
  display: grid;
  gap: 14px;
}

.school-detail-richtext a {
  font-weight: 600;
}

.school-detail-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.school-detail-quick-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid #dbeafe;
  background: #f8fbff;
  color: #1d4ed8;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.school-detail-quick-links a:hover {
  transform: translateY(-1px);
  background: #eff6ff;
  border-color: #bfdbfe;
}

.school-detail-map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 20px;
  margin-top: 8px;
}

.school-detail-map-embed {
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid #dbeafe;
  background: #f8fbff;
  min-height: 360px;
}

.school-detail-map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  display: block;
}

.school-detail-map-meta {
  display: grid;
  gap: 14px;
  align-content: start;
}

.school-detail-lgs-box {
  display: grid;
  gap: 18px;
}

.school-detail-lgs-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.school-detail-lgs-heading p {
  margin-top: 6px;
}

.school-detail-lgs-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8 !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.school-detail-lgs-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.school-detail-lgs-insights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.school-detail-lgs-insight {
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
  border: 1px solid #dbeafe;
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.08);
}

.school-detail-lgs-insight strong {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}

.school-detail-lgs-insight span {
  display: block;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.1;
  color: #0b2a6f;
}

.school-detail-lgs-insight small {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: #475569;
}

.school-detail-lgs-programs {
  display: grid;
  gap: 18px;
}

.school-detail-lgs-program {
  display: grid;
  gap: 16px;
}

.school-detail-lgs-program-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}

.school-detail-lgs-meta {
  padding: 16px;
  border-radius: 16px;
  background: #f8fbff;
  border: 1px solid #dbeafe;
}

.school-detail-lgs-meta strong {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #64748b;
}

.school-detail-lgs-meta span {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
}

.school-detail-lgs-table-wrap {
  overflow-x: auto;
  border: 1px solid #dbeafe;
  border-radius: 18px;
  background: #ffffff;
}

.school-detail-lgs-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

.school-detail-lgs-table thead th {
  padding: 14px 16px;
  background: linear-gradient(135deg, #0b2a6f 0%, #2563eb 100%);
  color: #ffffff;
  text-align: left;
  font-size: 13px;
  font-weight: 700;
}

.school-detail-lgs-table tbody td {
  padding: 14px 16px;
  border-top: 1px solid #e2e8f0;
  font-size: 15px;
  color: #0f172a;
}

.school-detail-lgs-table tbody tr:nth-child(even) td {
  background: #f8fbff;
}

.school-detail-lgs-table tbody tr:hover td {
  background: #eff6ff;
}

.school-detail-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.school-detail-stat {
  padding: 16px;
  border-radius: 16px;
  background: #f8fbff;
  border: 1px solid #dbeafe;
}

.school-detail-stat strong,
.school-detail-row strong {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #64748b;
}

.school-detail-stat span {
  display: block;
  font-size: 18px;
  font-weight: 700;
}

.school-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.school-detail-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.school-detail-primary {
  background: #2563eb;
  color: #ffffff !important;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.22);
}

.school-detail-secondary {
  background: #ffffff;
  color: #0f172a !important;
  border: 1px solid #cbd5e1;
}

.school-detail-panel h2,
.school-detail-box h2 {
  margin: 0 0 14px;
  font-size: 21px;
}

.school-detail-list {
  display: grid;
  gap: 12px;
}

.school-detail-row {
  padding: 14px 16px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.school-detail-row span,
.school-detail-row a {
  font-size: 15px;
  line-height: 1.6;
  color: #0f172a;
  word-break: break-word;
}

.school-detail-box ul {
  margin: 0;
  padding-left: 18px;
  color: #475569;
  line-height: 1.8;
}

@media (max-width: 900px) {
  .school-detail-hero,
  .school-detail-stat-grid {
    grid-template-columns: 1fr;
  }

  .school-detail-map-layout {
    grid-template-columns: 1fr;
  }

  .school-detail-lgs-summary {
    grid-template-columns: 1fr 1fr;
  }

  .school-detail-lgs-insights {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .school-detail-lgs-summary {
    grid-template-columns: 1fr;
  }

  .school-detail-lgs-insights {
    grid-template-columns: 1fr;
  }
}
