.college-specialty-page {
  --cs-blue: #00235e;
  --cs-blue-soft: #f5f8ff;
  --cs-text: #263248;
  --cs-muted: #8390a8;
  --cs-border: rgba(0, 35, 94, 0.13);
  --cs-shadow: 0 8px 24px rgba(0, 35, 94, 0.08);
  color: var(--cs-text);
}

.college-specialty-page *,
.college-specialty-page *::before,
.college-specialty-page *::after {
  box-sizing: border-box;
}

.college-specialty-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 22px;
  margin: 20px 0 24px;
}

.college-specialty-hero-image {
  flex: 0 0 auto;
  text-align: center;
}

.college-specialty-main-image {
  width: 286px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.college-specialty-hero-content {
  flex: 1 1 320px;
  min-width: 260px;
}

.college-specialty-kicker {
  margin-top: 0;
  margin-bottom: 12px;
}

.college-specialty-kicker span {
  display: block;
  margin-top: 4px;
}

.college-specialty-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin: 20px 0 28px;
}

.college-specialty-stat {
  width: 250px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--cs-border);
  border-radius: 16px;
  padding: 18px 16px;
  box-shadow: var(--cs-shadow);
}

.college-specialty-stat-value {
  font-size: 1.6rem;
  line-height: 1.25;
  font-weight: 700;
  color: var(--cs-blue);
  margin: 0 0 5px;
}

.college-specialty-stat-label {
  margin: 0;
  color: var(--cs-text);
}

.college-specialty-section {
  margin: 24px 0;
}

.college-specialty-card {
  background: #fff;
  border: 1px solid var(--cs-border);
  border-radius: 18px;
  padding: 22px;
  margin: 24px 0;
  box-shadow: var(--cs-shadow);
}

.college-specialty-card h3,
.college-specialty-section h3 {
  margin-top: 0;
  color: var(--cs-blue);
}

.college-specialty-page ul,
.college-specialty-page ol {
  padding-left: 1.4em;
  margin-top: 12px;
}

.college-specialty-page li {
  margin-bottom: 8px;
}

.college-specialty-page p {
  overflow-wrap: anywhere;
}

.college-specialty-content-image {
  display: block;
  max-width: 570px;
  width: 100%;
  height: auto;
  margin: 20px auto 0;
  border-radius: 14px;
}

.college-specialty-checks {
  display: grid;
  gap: 10px;
  margin: 18px 0 24px;
}

.college-specialty-check {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.college-specialty-check::before {
  content: "✅";
  flex: 0 0 auto;
}

.college-specialty-check-text {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
}

.college-specialty-check p {
  margin: 0;
}

.college-specialty-cta {
  margin: 26px 0;
  padding: 18px 20px;
  background: var(--cs-blue-soft);
  border-left: 4px solid var(--cs-blue);
  border-radius: 14px;
  font-weight: 700;
}

.college-specialty-cta a,
.college-specialty-link-card {
  color: var(--cs-blue);
}

.college-specialty-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0;
}

.college-specialty-link-card {
  display: inline-block;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--cs-border);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 5px 16px rgba(0, 35, 94, 0.06);
  font-weight: 700;
}

.college-specialty-link-card:hover,
.college-specialty-link-card:focus {
  text-decoration: underline;
}

.college-specialty-hidden-links {
  font-size: 0;
  line-height: 0;
  margin: 0;
}

.college-specialty-notice {
  padding: 14px 16px;
  border-left: 4px solid #d63638;
  background: #fcf0f1;
  color: #1d2327;
}

@media (max-width: 640px) {
  .college-specialty-hero {
    gap: 14px;
    align-items: flex-start;
  }

  .college-specialty-hero-image,
  .college-specialty-hero-content {
    flex-basis: 100%;
  }

  .college-specialty-stat {
    width: 100%;
    max-width: 360px;
  }

  .college-specialty-card {
    padding: 18px;
    border-radius: 16px;
  }
}

/* v1.0.6 refinements */
.college-specialty-page h3 {
  line-height: 1.18;
}

.college-specialty-section > p:first-of-type,
.college-specialty-card > p:first-of-type {
  margin-top: 0;
}

.college-specialty-card ul,
.college-specialty-card ol,
.college-specialty-section ul,
.college-specialty-section ol {
  margin-bottom: 0;
}

.college-specialty-stats p {
  overflow-wrap: normal;
}

@media (max-width: 480px) {
  .college-specialty-stats {
    gap: 12px;
  }

  .college-specialty-stat {
    padding: 15px 14px;
  }

  .college-specialty-stat-value {
    font-size: 1.35rem;
  }
}
