.school-detail-hero {
  min-height: 210px;
}

.school-detail-hero__kicker {
  color: #f2d7a6;
}

.school-detail-shell {
  max-width: 980px;
}

.school-detail-state {
  padding: 70px 24px;
  border: 1px solid #e5e8ea;
  border-radius: 16px;
  color: #6a747d;
  background: #fafbfb;
  text-align: center;
}

.school-detail-state--error strong {
  display: block;
  color: #8f1f29;
  font-size: 22px;
}

.school-detail-state--error p {
  margin: 10px 0 20px;
}

.school-detail-state--error a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 18px;
  border-radius: 7px;
  color: #fff;
  background: #9d1f2b;
  text-decoration: none;
}

.school-detail-card {
  overflow: hidden;
  border: 1px solid #e5e8ea;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(24, 32, 40, .08);
}

.school-detail-header {
  padding: 46px 56px 32px;
  border-bottom: 1px solid #edf0f2;
  text-align: center;
}

.school-detail-category {
  display: inline-flex;
  min-height: 29px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: #94202b;
  background: #fae9eb;
  font-size: 13px;
  font-weight: 700;
}

.school-detail-header h1 {
  max-width: 800px;
  margin: 18px auto 14px;
  color: #1e2933;
  font-size: clamp(27px, 4vw, 40px);
  line-height: 1.35;
}

.school-detail-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  color: #7b858d;
  font-size: 13px;
}

.school-detail-meta [data-detail-author] {
  color: #56616a;
  font-weight: 700;
}

.school-detail-summary {
  margin: 38px 56px 0;
  padding: 18px 22px;
  border-left: 4px solid #c69b57;
  color: #59636c;
  background: #faf7f1;
  font-size: 16px;
  line-height: 1.8;
}

.school-detail-body {
  min-height: 240px;
  padding: 42px 70px 60px;
  color: #303a43;
  font-size: 17px;
  line-height: 2;
  overflow-wrap: anywhere;
}

.school-detail-body p,
.school-detail-body div {
  margin: 0 0 1.25em;
}

.school-detail-body h2 {
  margin: 1.6em 0 .7em;
  color: #222e38;
  font-size: 27px;
  line-height: 1.45;
}

.school-detail-body h3 {
  margin: 1.45em 0 .65em;
  color: #293640;
  font-size: 22px;
}

.school-detail-body h4 {
  margin: 1.35em 0 .6em;
  font-size: 19px;
}

.school-detail-body h1,
.school-detail-body h5,
.school-detail-body h6 {
  margin: 1.4em 0 .65em;
  color: #293640;
  line-height: 1.45;
}

.school-detail-body ul,
.school-detail-body ol {
  margin: 1em 0 1.4em;
  padding-left: 2em;
}

.school-detail-body blockquote {
  margin: 24px 0;
  padding: 15px 20px;
  border-left: 4px solid #c69b57;
  color: #5d666e;
  background: #faf7f1;
}

.school-detail-body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 28px auto;
  border-radius: 10px;
}

.school-detail-body table {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 28px 0;
  overflow-x: auto;
  border-collapse: collapse;
  border-spacing: 0;
}

.school-detail-body th,
.school-detail-body td {
  min-width: 90px;
  padding: 10px 13px;
  border: 1px solid #dce1e4;
  text-align: inherit;
  vertical-align: top;
}

.school-detail-body th {
  color: #26333d;
  background: #f4f6f7;
  font-weight: 700;
}

.school-detail-body pre,
.school-detail-body code {
  font-family: Consolas, "SFMono-Regular", monospace;
}

.school-detail-body pre {
  max-width: 100%;
  margin: 24px 0;
  padding: 18px;
  overflow-x: auto;
  border-radius: 8px;
  color: #e8eef2;
  background: #26323b;
  font-size: 14px;
  line-height: 1.65;
  white-space: pre-wrap;
}

.school-detail-body video,
.school-detail-body audio,
.school-detail-body iframe {
  display: block;
  max-width: 100%;
  margin: 28px auto;
}

.school-detail-body video,
.school-detail-body iframe {
  width: min(100%, 760px);
  min-height: 420px;
  border: 0;
  border-radius: 10px;
  background: #111;
}

.school-detail-body audio {
  width: min(100%, 560px);
}

.school-detail-body .article-background {
  min-height: 280px;
  padding: 36px;
  border-radius: 12px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.school-detail-body a {
  color: #176a9e;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.school-detail-body hr {
  margin: 34px 0;
  border: 0;
  border-top: 1px solid #e3e7e9;
}

.school-detail-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 56px;
  border-top: 1px solid #edf0f2;
  background: #fafbfb;
}

.school-detail-actions a,
.school-detail-actions button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 15px;
  border: 1px solid #dfe3e6;
  border-radius: 7px;
  color: #303a43;
  background: #fff;
  font: inherit;
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
}

.school-detail-actions a:hover,
.school-detail-actions button:hover {
  border-color: #a52631;
  color: #a52631;
}

@media (max-width: 700px) {
  .school-detail-header {
    padding: 32px 20px 24px;
  }

  .school-detail-meta {
    flex-wrap: wrap;
    gap: 8px 16px;
  }

  .school-detail-summary {
    margin: 24px 18px 0;
    padding: 14px 16px;
    font-size: 15px;
  }

  .school-detail-body {
    padding: 30px 20px 42px;
    font-size: 16px;
    line-height: 1.9;
  }

  .school-detail-body video,
  .school-detail-body iframe {
    min-height: 230px;
  }

  .school-detail-body .article-background {
    min-height: 200px;
    padding: 22px 18px;
  }

  .school-detail-actions {
    padding: 16px 18px;
  }
}

@media print {
  .school-topbar,
  .school-header,
  .school-page-hero,
  .school-footer,
  .school-backtop,
  .school-detail-actions {
    display: none !important;
  }

  .school-section {
    padding: 0;
  }

  .school-detail-card {
    border: 0;
    box-shadow: none;
  }
}
