/* Adapted from the approved PED.kz prototype. */


:root {
  --navy: #0b2f5b;
  --navy-2: #103e74;
  --blue: #0d68bd;
  --blue-soft: #eaf4ff;
  --cyan: #0f9fad;
  --mint-soft: #e7f8f4;
  --gold: #d9921e;
  --gold-soft: #fff5df;
  --violet: #7b5bb7;
  --violet-soft: #f2edfb;
  --ink: #14243a;
  --text: #52627a;
  --muted: #738197;
  --line: #dce5ef;
  --surface: #f5f8fb;
  --white: #ffffff;
  --shadow: 0 14px 35px rgba(11, 47, 91, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--white);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
}

.container {
  margin: 0 auto;
  max-width: 1240px;
  padding-left: 28px;
  padding-right: 28px;
}

.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e8eef4;
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  align-items: center;
  display: flex;
  height: 78px;
  justify-content: space-between;
}

.logo {
  color: var(--navy);
  font-size: 38px;
  font-weight: 690;
  letter-spacing: -2.2px;
  line-height: 1;
}

.logo span {
  color: var(--cyan);
}

.logo small {
  font-size: 26px;
  font-weight: 650;
  letter-spacing: -1.4px;
}

.main-nav {
  align-items: center;
  display: flex;
  gap: 44px;
}

.nav-item {
  position: relative;
}

.nav-item > a,
.main-nav > a {
  color: #17355a;
  font-size: 15px;
  font-weight: 530;
  position: relative;
}

.nav-item > a::after,
.main-nav > a::after {
  background: var(--cyan);
  bottom: -10px;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
  width: 100%;
}

.nav-item > a:hover::after,
.nav-item > a:focus-visible::after,
.main-nav > a:hover::after,
.main-nav > a:focus-visible::after {
  transform: scaleX(1);
}

.nav-dropdown {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 18px 38px rgba(11, 47, 91, 0.13);
  display: grid;
  left: -18px;
  min-width: 210px;
  opacity: 0;
  padding: 9px;
  pointer-events: none;
  position: absolute;
  top: calc(100% + 17px);
  transform: translateY(-5px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-dropdown::before {
  content: "";
  height: 18px;
  left: 0;
  position: absolute;
  right: 0;
  top: -18px;
}

.nav-dropdown a {
  border-radius: 7px;
  color: #284767;
  font-size: 14px;
  padding: 10px 12px;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus-visible {
  background: var(--blue-soft);
  color: var(--blue);
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.menu-button {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--navy);
  display: none;
  justify-content: center;
  padding: 8px;
}

.hero {
  background:
    radial-gradient(circle at 50% 12%, rgba(15, 159, 173, 0.045), transparent 32%),
    linear-gradient(180deg, #fff 0%, #fbfdff 100%);
  border-bottom: 1px solid #edf2f7;
  overflow: hidden;
  padding: 62px 0 72px;
}

.hero-copy {
  margin: 0 auto;
  max-width: 900px;
  text-align: center;
}

.eyebrow {
  color: var(--blue);
  font-size: 12px;
  font-weight: 720;
  letter-spacing: 0.115em;
  margin: 0 0 15px;
  text-transform: uppercase;
}

.eyebrow.light {
  color: #9fd5f5;
}

.hero h1 {
  color: var(--navy);
  font-size: clamp(42px, 4.7vw, 65px);
  font-weight: 660;
  letter-spacing: -0.046em;
  line-height: 1.12;
  margin: 0;
}

.hero-lead {
  color: var(--text);
  font-size: 20px;
  line-height: 1.55;
  margin: 23px auto 0;
  max-width: 720px;
}

.global-search {
  align-items: center;
  background: var(--white);
  border: 1px solid #cddcea;
  border-radius: 12px;
  box-shadow: 0 12px 35px rgba(11, 47, 91, 0.07);
  color: var(--blue);
  display: flex;
  gap: 17px;
  margin: 38px auto 0;
  max-width: 850px;
  padding: 9px;
  padding-left: 23px;
}

.global-search input {
  border: 0;
  color: var(--ink);
  flex: 1;
  font-size: 17px;
  min-width: 0;
  outline: 0;
  padding: 12px 0;
}

.global-search input::placeholder {
  color: #7a8799;
}

.global-search:focus-within {
  border-color: #76a9d7;
  box-shadow: 0 0 0 4px rgba(13, 104, 189, 0.09), 0 12px 35px rgba(11, 47, 91, 0.08);
}

.global-search button,
.newsletter button {
  background: linear-gradient(135deg, #1173c7 0%, #0758a9 100%);
  border: 0;
  border-radius: 8px;
  color: var(--white);
  font-size: 16px;
  font-weight: 650;
  padding: 15px 33px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.global-search button:hover,
.newsletter button:hover {
  box-shadow: 0 8px 22px rgba(5, 82, 158, 0.23);
  transform: translateY(-1px);
}

.search-meta {
  margin: 11px auto 0;
  max-width: 850px;
  min-height: 24px;
}

.search-feedback {
  color: var(--blue);
  display: none;
  font-size: 13px;
  text-align: center;
}

.search-feedback.visible {
  display: block;
}

.search-feedback.visible + .popular-searches {
  display: none;
}

.popular-searches {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 12px;
  gap: 9px;
  justify-content: center;
}

.popular-searches button {
  background: none;
  border: 0;
  color: #315f8e;
  padding: 0;
}

.popular-searches button:hover {
  color: var(--blue);
  text-decoration: underline;
}

.direction-grid {
  display: grid;
  gap: 19px;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 40px;
}

.direction-card {
  --accent: var(--blue);
  --soft: var(--blue-soft);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 11px;
  box-shadow: 0 7px 18px rgba(11, 47, 91, 0.055);
  padding: 22px 19px 18px;
  position: relative;
  transition: transform 170ms ease, box-shadow 170ms ease;
}

.direction-card::before {
  background: var(--accent);
  border-radius: 11px 11px 0 0;
  content: "";
  height: 3px;
  left: -1px;
  position: absolute;
  right: -1px;
  top: -1px;
}

.direction-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.direction-mint {
  --accent: #4bbda8;
  --soft: var(--mint-soft);
}

.direction-gold {
  --accent: #e2ae4b;
  --soft: var(--gold-soft);
}

.direction-violet {
  --accent: #9e75cf;
  --soft: var(--violet-soft);
}

.direction-heading {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 13px;
  min-height: 72px;
  padding-bottom: 17px;
}

.direction-heading h2 {
  color: var(--navy);
  font-size: 19px;
  font-weight: 680;
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin: 0;
}

.direction-icon {
  align-items: center;
  background: var(--soft);
  border-radius: 10px;
  color: var(--navy);
  display: flex;
  flex: 0 0 56px;
  height: 56px;
  justify-content: center;
}

.direction-links {
  padding-top: 10px;
}

.arrow-link {
  align-items: center;
  color: #195c9f;
  display: flex;
  font-size: 14px;
  justify-content: space-between;
  min-height: 34px;
  transition: color 160ms ease;
}

.arrow-link svg {
  transform: translateX(-2px);
  transition: transform 160ms ease;
}

.arrow-link:hover {
  color: var(--blue);
}

.arrow-link:hover svg {
  transform: translateX(2px);
}

.section {
  padding: 98px 0;
}

.section-heading {
  margin-bottom: 40px;
}

.section-heading h2 {
  color: var(--navy);
  font-size: clamp(32px, 3.3vw, 46px);
  font-weight: 660;
  letter-spacing: -0.038em;
  line-height: 1.15;
  margin: 0;
}

.section-heading > div > .eyebrow,
.section-heading > .eyebrow {
  margin-bottom: 12px;
}

.section-heading > p:last-child {
  color: var(--text);
  font-size: 17px;
  line-height: 1.6;
  margin: 16px auto 0;
  max-width: 650px;
}

.split-heading {
  align-items: flex-end;
  display: flex;
  justify-content: space-between;
}

.centered {
  text-align: center;
}

.narrow {
  margin-left: auto;
  margin-right: auto;
  max-width: 680px;
}

.text-link,
.card-cta {
  align-items: center;
  color: var(--blue);
  display: inline-flex;
  font-size: 14px;
  font-weight: 650;
  gap: 9px;
}

.text-link svg,
.card-cta svg {
  transition: transform 160ms ease;
}

.text-link:hover svg,
.card-cta:hover svg {
  transform: translateX(3px);
}

.institutions {
  background: var(--white);
}

.institution-layout {
  display: grid;
  gap: 24px;
  grid-template-columns: 0.92fr 2fr;
}

.city-panel {
  background: var(--surface);
  border: 1px solid #e1e9f1;
  border-radius: 14px;
  padding: 26px;
}

.panel-title {
  align-items: center;
  color: var(--navy);
  display: flex;
  font-size: 15px;
  font-weight: 680;
  gap: 9px;
}

.city-list {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1fr;
  margin-top: 22px;
}

.city-list a {
  border-radius: 7px;
  color: #42617f;
  font-size: 14px;
  padding: 9px 10px;
}

.city-list a:hover,
.city-list a.active {
  background: var(--white);
  color: var(--blue);
}

.city-list a.active {
  box-shadow: 0 3px 12px rgba(11, 47, 91, 0.07);
  font-weight: 650;
}

.all-cities {
  align-items: center;
  border-top: 1px solid #dde6ee;
  color: var(--blue);
  display: flex;
  font-size: 13px;
  font-weight: 620;
  gap: 8px;
  margin-top: 17px;
  padding: 18px 9px 2px;
}

.institution-cards {
  display: grid;
  gap: 15px;
  grid-template-columns: 1fr 1fr;
}

.institution-card {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: grid;
  gap: 15px;
  grid-template-columns: auto 1fr auto;
  padding: 24px 22px;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.institution-card:hover {
  border-color: #bad3e8;
  box-shadow: 0 9px 25px rgba(11, 47, 91, 0.075);
  transform: translateY(-2px);
}

.institution-card > svg {
  color: #6d87a2;
}

.small-icon {
  align-items: center;
  background: var(--blue-soft);
  border-radius: 9px;
  color: var(--blue);
  display: flex;
  height: 50px;
  justify-content: center;
  width: 50px;
}

.institution-card strong,
.info-row strong {
  color: var(--navy);
  display: block;
  font-size: 17px;
  font-weight: 670;
  margin-bottom: 5px;
}

.institution-card small,
.info-row small {
  color: var(--text);
  display: block;
  font-size: 12px;
  line-height: 1.45;
}

.study-section {
  background: var(--surface);
}

.grade-picker {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  gap: 25px;
  margin: 0 auto;
  max-width: 930px;
  padding: 12px 16px 12px 22px;
}

.grade-picker > span {
  color: var(--navy);
  font-size: 13px;
  font-weight: 680;
}

.grade-buttons {
  display: grid;
  flex: 1;
  gap: 6px;
  grid-template-columns: repeat(11, 1fr);
}

.grade-buttons button {
  background: transparent;
  border: 0;
  border-radius: 7px;
  color: #4e6380;
  font-size: 14px;
  font-weight: 610;
  height: 38px;
}

.grade-buttons button:hover {
  background: #edf5fc;
}

.grade-buttons button.active {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(11, 47, 91, 0.18);
}

.study-toolbar {
  align-items: flex-end;
  display: flex;
  justify-content: space-between;
  margin: 35px 0 20px;
}

.study-toolbar p {
  color: var(--text);
  font-size: 14px;
  margin: 0;
}

.study-toolbar p strong {
  color: var(--navy);
}

.subject-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.subject-chips button {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #49627e;
  font-size: 12px;
  padding: 8px 13px;
}

.subject-chips button:hover,
.subject-chips button.active {
  border-color: #a5c7e4;
  color: var(--blue);
}

.subject-chips button.active {
  background: var(--blue-soft);
  font-weight: 650;
}

.material-grid {
  display: grid;
  gap: 17px;
  grid-template-columns: repeat(4, 1fr);
}

.material-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 13px;
  min-height: 255px;
  padding: 22px;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.material-card:hover {
  border-color: #b9d5ea;
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.material-top {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.material-icon {
  align-items: center;
  background: var(--mint-soft);
  border-radius: 9px;
  color: #137b7e;
  display: flex;
  height: 49px;
  justify-content: center;
  width: 49px;
}

.card-label {
  color: #68809a;
  font-size: 10px;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.material-card h3,
.article-card h3,
.info-featured h3 {
  color: var(--navy);
  font-size: 20px;
  font-weight: 680;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 24px 0 9px;
}

.material-card p,
.article-card p,
.info-featured p {
  color: var(--text);
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}

.material-card .card-cta {
  margin-top: 23px;
}

.admission-section {
  background: var(--white);
  padding-bottom: 0;
  padding-top: 98px;
}

.admission-shell {
  background:
    radial-gradient(circle at 10% 0%, rgba(44, 129, 202, 0.22), transparent 27%),
    linear-gradient(135deg, #0b315f 0%, #0a2a50 100%);
  border-radius: 20px;
  display: grid;
  gap: 65px;
  grid-template-columns: 0.9fr 1.15fr;
  overflow: hidden;
  padding: 56px 58px;
  position: relative;
}

.admission-shell::after {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  content: "";
  height: 280px;
  position: absolute;
  right: -100px;
  top: -170px;
  width: 280px;
}

.admission-intro {
  position: relative;
  z-index: 1;
}

.admission-intro h2 {
  color: var(--white);
  font-size: clamp(31px, 3.2vw, 45px);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin: 0;
}

.admission-intro > p:not(.eyebrow) {
  color: #c1d2e4;
  font-size: 15px;
  line-height: 1.65;
  margin: 19px 0 27px;
  max-width: 410px;
}

.light-button {
  align-items: center;
  background: var(--white);
  border-radius: 8px;
  color: var(--navy);
  display: inline-flex;
  font-size: 14px;
  font-weight: 680;
  gap: 9px;
  padding: 13px 18px;
}

.admission-paths {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.path-card {
  align-items: center;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  color: var(--white);
  display: grid;
  gap: 16px;
  grid-template-columns: auto 1fr auto;
  padding: 18px;
  transition: background 160ms ease, transform 160ms ease;
}

.path-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(3px);
}

.path-number {
  align-items: center;
  background: rgba(119, 196, 231, 0.14);
  border-radius: 8px;
  color: #a9daf1;
  display: flex;
  font-size: 12px;
  font-weight: 700;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.path-card strong {
  display: block;
  font-size: 16px;
  font-weight: 650;
  margin-bottom: 4px;
}

.path-card small {
  color: #b9ccdf;
  display: block;
  font-size: 12px;
}

.info-section {
  padding-top: 108px;
}

.info-grid {
  display: grid;
  gap: 23px;
  grid-template-columns: 1.05fr 1.45fr;
}

.info-featured {
  background: var(--blue-soft);
  border: 1px solid #cee1f2;
  border-radius: 14px;
  min-height: 340px;
  padding: 32px;
  position: relative;
}

.info-featured::after {
  border: 36px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  bottom: -100px;
  content: "";
  height: 220px;
  position: absolute;
  right: -70px;
  width: 220px;
}

.info-icon {
  align-items: center;
  background: var(--white);
  border-radius: 10px;
  color: var(--blue);
  display: flex;
  height: 60px;
  justify-content: center;
  margin-bottom: 28px;
  width: 60px;
}

.info-kicker {
  color: var(--blue);
  font-size: 11px;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.info-featured h3 {
  font-size: 25px;
  margin-top: 12px;
  max-width: 350px;
}

.info-featured p {
  max-width: 390px;
}

.info-featured .card-cta {
  margin-top: 25px;
  position: relative;
  z-index: 1;
}

.info-list {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
}

.info-row {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: grid;
  gap: 13px;
  grid-template-columns: auto 1fr auto;
  padding: 22px 18px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.info-row:hover {
  border-color: #bed4e6;
  box-shadow: 0 8px 22px rgba(11, 47, 91, 0.07);
}

.info-row > svg {
  color: #6d87a2;
}

.info-row .small-icon {
  height: 46px;
  width: 46px;
}

.info-row strong {
  font-size: 15px;
}

.audience-section {
  background: var(--surface);
}

.audience-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 22px;
}

.audience-tabs button {
  background: transparent;
  border: 0;
  border-bottom: 2px solid var(--line);
  color: #6b7a8e;
  font-size: 14px;
  font-weight: 600;
  min-width: 145px;
  padding: 13px 20px;
}

.audience-tabs button:hover,
.audience-tabs button.active {
  color: var(--navy);
}

.audience-tabs button.active {
  border-color: var(--blue);
}

.audience-content {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  display: grid;
  gap: 65px;
  grid-template-columns: 1.1fr 0.9fr;
  margin: 0 auto;
  max-width: 980px;
  min-height: 245px;
  padding: 40px 44px;
}

.audience-copy {
  align-items: flex-start;
  display: flex;
  gap: 21px;
}

.audience-icon {
  align-items: center;
  background: var(--mint-soft);
  border-radius: 12px;
  color: #137b7e;
  display: flex;
  flex: 0 0 66px;
  height: 66px;
  justify-content: center;
}

.audience-copy h3 {
  color: var(--navy);
  font-size: 25px;
  font-weight: 680;
  margin: 8px 0 9px;
}

.audience-copy p {
  color: var(--text);
  font-size: 13px;
  line-height: 1.65;
  margin: 0;
  max-width: 480px;
}

.audience-links {
  border-left: 1px solid var(--line);
  padding-left: 38px;
}

.audience-links .arrow-link {
  border-bottom: 1px solid #e7edf3;
  min-height: 48px;
}

.audience-links .arrow-link:last-child {
  border-bottom: 0;
}

.article-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}

.article-card {
  border: 1px solid var(--line);
  border-radius: 13px;
  overflow: hidden;
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.article-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.article-visual {
  align-items: center;
  color: var(--blue);
  display: flex;
  height: 155px;
  justify-content: center;
  position: relative;
}

.article-visual::before,
.article-visual::after {
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
  opacity: 0.11;
  position: absolute;
}

.article-visual::before {
  height: 95px;
  width: 95px;
}

.article-visual::after {
  height: 135px;
  width: 135px;
}

.article-visual.blue {
  background: var(--blue-soft);
}

.article-visual.gold {
  background: var(--gold-soft);
  color: #b47812;
}

.article-visual.mint {
  background: var(--mint-soft);
  color: #187f78;
}

.article-body {
  padding: 24px 24px 26px;
}

.article-card h3 {
  font-size: 18px;
  margin: 10px 0 10px;
  min-height: 70px;
}

.article-card p {
  min-height: 64px;
}

.article-card .card-cta {
  margin-top: 19px;
}

.newsletter {
  background: var(--navy);
  color: var(--white);
  padding: 54px 0;
}

.newsletter-inner {
  align-items: center;
  display: grid;
  gap: 60px;
  grid-template-columns: 1.15fr 0.85fr;
}

.newsletter h2 {
  font-size: 28px;
  font-weight: 630;
  letter-spacing: -0.03em;
  line-height: 1.3;
  margin: 0;
  max-width: 640px;
}

.newsletter form {
  background: var(--white);
  border-radius: 9px;
  display: flex;
  padding: 6px;
}

.newsletter input {
  border: 0;
  color: var(--ink);
  flex: 1;
  min-width: 0;
  outline: 0;
  padding: 11px 14px;
}

.newsletter button {
  padding: 12px 19px;
}

.footer {
  background: #081f3b;
  color: #a8bbcf;
  padding: 65px 0 24px;
}

.footer-main {
  display: grid;
  gap: 55px;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
}

.footer-logo {
  color: var(--white);
  display: inline-block;
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
  max-width: 310px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-column strong {
  color: var(--white);
  font-size: 14px;
  font-weight: 650;
  margin-bottom: 5px;
}

.footer-column a {
  font-size: 13px;
}

.footer-column a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  font-size: 11px;
  justify-content: space-between;
  margin-top: 50px;
  padding-top: 22px;
}

@media (max-width: 1020px) {
  .main-nav {
    gap: 25px;
  }

  .direction-grid,
  .material-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .institution-layout,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .city-list {
    grid-template-columns: repeat(4, 1fr);
  }

  .admission-shell {
    gap: 35px;
    padding: 45px 40px;
  }

  .audience-tabs button {
    min-width: 130px;
  }
}

@media (max-width: 780px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .header-inner {
    height: 68px;
  }

  .logo {
    font-size: 32px;
  }

  .logo small {
    font-size: 22px;
  }

  .menu-button {
    display: flex;
  }

  .main-nav {
    align-items: stretch;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 30px rgba(11, 47, 91, 0.09);
    display: none;
    flex-direction: column;
    gap: 0;
    left: 0;
    padding: 11px 20px 20px;
    position: absolute;
    right: 0;
    top: 68px;
  }

  .main-nav.is-open {
    display: flex;
  }

  .nav-item > a,
  .main-nav > a {
    border-bottom: 1px solid #e9eff5;
    display: block;
    padding: 15px 4px;
  }

  .nav-item > a::after,
  .main-nav > a::after {
    display: none;
  }

  .nav-dropdown {
    border: 0;
    border-bottom: 1px solid #e9eff5;
    border-radius: 0;
    box-shadow: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    left: auto;
    min-width: 0;
    opacity: 1;
    padding: 5px 4px 12px;
    pointer-events: auto;
    position: static;
    transform: none;
  }

  .nav-dropdown::before {
    display: none;
  }

  .nav-dropdown a {
    font-size: 13px;
    padding: 8px;
  }

  .hero {
    padding: 48px 0 55px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-lead {
    font-size: 17px;
  }

  .global-search {
    padding-left: 16px;
  }

  .global-search input {
    font-size: 14px;
  }

  .global-search button {
    padding-left: 21px;
    padding-right: 21px;
  }

  .popular-searches {
    flex-wrap: wrap;
  }

  .section {
    padding: 76px 0;
  }

  .institution-cards,
  .info-list,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .city-list {
    grid-template-columns: 1fr 1fr;
  }

  .grade-picker {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .grade-buttons {
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
    width: 100%;
  }

  .grade-buttons button {
    flex: 0 0 42px;
  }

  .study-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }

  .subject-chips {
    justify-content: flex-start;
  }

  .admission-shell,
  .newsletter-inner {
    grid-template-columns: 1fr;
  }

  .audience-tabs {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .audience-tabs button {
    flex: 0 0 auto;
  }

  .audience-content {
    gap: 30px;
    grid-template-columns: 1fr;
  }

  .audience-links {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 20px;
  }

  .article-card h3,
  .article-card p {
    min-height: auto;
  }

  .footer-main {
    grid-template-columns: 1.7fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero {
    padding-top: 39px;
  }

  .eyebrow {
    font-size: 10px;
  }

  .hero h1 {
    font-size: 35px;
    line-height: 1.14;
  }

  .hero-lead {
    font-size: 15px;
    line-height: 1.55;
  }

  .global-search {
    align-items: center;
    border-radius: 10px;
    gap: 10px;
    margin-top: 29px;
    padding: 7px 7px 7px 13px;
  }

  .global-search > svg {
    height: 22px;
    width: 22px;
  }

  .global-search input {
    padding: 10px 0;
  }

  .global-search button {
    font-size: 0;
    padding: 12px;
  }

  .global-search button::after {
    content: "→";
    font-size: 18px;
  }

  .popular-searches {
    display: none;
  }

  .direction-grid,
  .material-grid {
    grid-template-columns: 1fr;
  }

  .direction-grid {
    gap: 12px;
    margin-top: 30px;
  }

  .direction-card {
    padding: 19px 17px 15px;
  }

  .section {
    padding: 65px 0;
  }

  .section-heading {
    margin-bottom: 29px;
  }

  .section-heading h2 {
    font-size: 31px;
  }

  .split-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .city-panel,
  .info-featured {
    padding: 23px;
  }

  .institution-cards {
    gap: 11px;
  }

  .institution-card {
    padding: 19px 16px;
  }

  .institution-card small {
    font-size: 11px;
  }

  .material-card {
    min-height: auto;
  }

  .admission-section {
    padding-top: 65px;
  }

  .admission-shell {
    border-radius: 0;
    padding: 42px 22px;
  }

  .path-card {
    gap: 12px;
    padding: 15px;
  }

  .path-card small {
    line-height: 1.4;
  }

  .info-section {
    padding-top: 74px;
  }

  .info-featured {
    min-height: 330px;
  }

  .audience-tabs {
    margin-left: -16px;
    margin-right: -16px;
    padding: 0 16px;
  }

  .audience-tabs button {
    min-width: 125px;
  }

  .audience-content {
    padding: 28px 22px;
  }

  .audience-copy {
    flex-direction: column;
  }

  .newsletter h2 {
    font-size: 24px;
  }

  .newsletter form {
    background: transparent;
    display: grid;
    gap: 8px;
    grid-template-columns: 1fr;
    padding: 0;
  }

  .newsletter input {
    border-radius: 7px;
    padding: 14px;
  }

  .newsletter button {
    padding: 14px;
  }

  .footer-main {
    gap: 37px 25px;
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 7px;
  }
}

/* College profile */
.college-profile-hero {
  background: #f4f8fb;
  border-bottom: 1px solid #e0e8ef;
  padding: 28px 0 54px;
}

.profile-hero-grid {
  align-items: center;
  display: grid;
  gap: 60px;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
}

.profile-eyebrow,
.profile-section-heading > span,
.card-label {
  color: #1c7186;
  display: block;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .11em;
  margin-bottom: 13px;
  text-transform: uppercase;
}

.college-profile-hero h1 {
  color: #102b38;
  font-size: clamp(42px, 5vw, 70px);
  letter-spacing: -.045em;
  line-height: 1.02;
  margin: 0;
  max-width: 850px;
}

.profile-intro {
  color: #596b78;
  font-size: 17px;
  line-height: 1.7;
  margin: 24px 0 0;
  max-width: 700px;
}

.profile-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.profile-badges span {
  background: #fff;
  border: 1px solid #d6e2e9;
  border-radius: 999px;
  color: #405662;
  font-size: 11px;
  font-weight: 650;
  padding: 9px 13px;
}

.profile-cover {
  align-items: center;
  aspect-ratio: 1.24;
  background: linear-gradient(140deg, #123d4e, #1d6679);
  border-radius: 16px;
  box-shadow: 0 22px 55px rgba(16, 43, 56, .16);
  color: rgba(255,255,255,.65);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.profile-monogram {
  color: #fff;
  font-size: 55px;
  font-weight: 780;
  letter-spacing: -.04em;
}

.profile-cover > span {
  font-size: 10px;
  letter-spacing: .12em;
  margin-top: 8px;
  text-transform: uppercase;
}

.profile-main {
  padding: 76px 0 100px;
}

.profile-layout {
  align-items: start;
  display: grid;
  gap: 58px;
  grid-template-columns: minmax(0, 1fr) 315px;
}

.profile-content {
  min-width: 0;
}

.profile-section {
  border-bottom: 1px solid #e2e9ee;
  padding: 0 0 70px;
  margin-bottom: 70px;
}

.profile-section-heading h2 {
  color: #173440;
  font-size: clamp(29px, 3.2vw, 42px);
  letter-spacing: -.035em;
  line-height: 1.12;
  margin: 0;
}

.profile-section-heading p,
.profile-section > p,
.split-information p {
  color: #60717c;
  font-size: 14px;
  line-height: 1.8;
  max-width: 760px;
}

.summary-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 31px;
  overflow: hidden;
}

.summary-grid > div {
  background: #f3f7f9;
  min-height: 104px;
  padding: 25px;
}

.summary-grid small,
.specialty-details small {
  color: #7b8b95;
  display: block;
  font-size: 10px;
  letter-spacing: .06em;
  margin-bottom: 9px;
  text-transform: uppercase;
}

.summary-grid strong {
  color: #173440;
  font-size: 15px;
}

.ad-slot {
  align-items: center;
  background: #f8fafb;
  border: 1px dashed #cbd6dd;
  color: #84929a;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 0 70px;
  min-height: 116px;
  text-align: center;
}

.ad-slot span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ad-slot small {
  font-size: 10px;
  margin-top: 6px;
}

.specialty-list {
  border-top: 1px solid #dce5ea;
  margin-top: 34px;
}

.specialty-item {
  border-bottom: 1px solid #dce5ea;
}

.specialty-item > button {
  align-items: center;
  background: transparent;
  border: 0;
  color: #173440;
  cursor: pointer;
  display: grid;
  gap: 20px;
  grid-template-columns: 92px minmax(0, 1fr) 24px;
  padding: 22px 2px;
  text-align: left;
  width: 100%;
}

.specialty-code {
  color: #1d7186;
  font-size: 11px;
  font-weight: 750;
}

.specialty-item strong {
  font-size: 14px;
  line-height: 1.45;
}

.specialty-plus {
  color: #1d7186;
  font-size: 22px;
  font-weight: 400;
}

.specialty-details {
  background: #f5f8fa;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1.8fr) repeat(3, 1fr);
  padding: 25px 28px;
}

.specialty-details p {
  color: #344d59;
  font-size: 12px;
  line-height: 1.55;
  margin: 4px 0;
}

.split-information {
  align-items: stretch;
  display: grid;
  gap: 35px;
  grid-template-columns: 1.25fr .75fr;
}

.grant-panel {
  background: #123c4c;
  color: #fff;
  padding: 31px;
}

.grant-panel > span {
  color: #a9d5df;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.grant-panel strong {
  display: block;
  font-size: 23px;
  line-height: 1.2;
  margin: 20px 0 11px;
}

.grant-panel p {
  color: #c6d8de;
  font-size: 12px;
  margin: 0;
}

.profile-text-link {
  color: #176d82;
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  margin-top: 12px;
  text-decoration: none;
}

.documents-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
  margin-top: 32px;
}

.documents-grid > div {
  align-items: center;
  border: 1px solid #dde6eb;
  display: flex;
  gap: 17px;
  min-height: 76px;
  padding: 15px 18px;
}

.documents-grid span {
  color: #218099;
  font-size: 11px;
  font-weight: 750;
}

.documents-grid p {
  color: #344c58;
  font-size: 12px;
  line-height: 1.45;
  margin: 0;
}

.advantages-list {
  display: grid;
  gap: 12px 35px;
  grid-template-columns: 1fr 1fr;
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
}

.advantages-list li {
  border-bottom: 1px solid #e2e9ed;
  color: #344d58;
  font-size: 13px;
  padding: 0 0 14px 25px;
  position: relative;
}

.advantages-list li::before {
  color: #1d7b90;
  content: "✓";
  left: 0;
  position: absolute;
}

.empty-reviews {
  background: #f4f8fa;
  margin-top: 30px;
  padding: 30px;
}

.empty-reviews p {
  color: #647680;
  font-size: 13px;
}

.empty-reviews button {
  background: #176f84;
  border: 0;
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  margin-top: 8px;
  padding: 13px 18px;
}

.profile-sidebar {
  position: sticky;
  top: 24px;
}

.contact-card {
  background: #153b4b;
  color: #fff;
  padding: 30px;
}

.contact-card .card-label {
  color: #9fd1dd;
}

.contact-card h3 {
  font-size: 23px;
  margin: 0 0 25px;
}

.contact-card dl {
  margin: 0;
}

.contact-card dl > div {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 14px 0;
}

.contact-card dt {
  color: #aabfc7;
  font-size: 9px;
  letter-spacing: .06em;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.contact-card dd {
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
}

.contact-card a {
  color: inherit;
  text-decoration: none;
}

.contact-primary {
  background: #fff;
  color: #153b4b !important;
  display: block;
  font-size: 12px;
  font-weight: 750;
  margin-top: 20px;
  padding: 14px;
  text-align: center;
}

.profile-toc {
  border: 1px solid #dce5ea;
  display: flex;
  flex-direction: column;
  margin-top: 20px;
  padding: 24px 27px;
}

.profile-toc > span {
  color: #7b8a93;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  margin-bottom: 13px;
  text-transform: uppercase;
}

.profile-toc a {
  color: #294652;
  font-size: 12px;
  padding: 7px 0;
  text-decoration: none;
}

.profile-sidebar .ad-slot {
  margin-top: 20px;
}

.profile-related {
  background: #eef4f7;
  padding: 76px 0 90px;
}

.related-college-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 34px;
}

.related-college-grid a {
  background: #fff;
  color: #173440;
  display: flex;
  flex-direction: column;
  min-height: 145px;
  padding: 27px;
  text-decoration: none;
}

.related-college-grid span {
  color: #1d7186;
  font-size: 11px;
  margin-top: auto;
}

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

  .profile-cover {
    max-width: 520px;
  }

  .profile-sidebar {
    position: static;
  }

  .profile-toc {
    display: none;
  }

  .profile-sidebar .ad-slot {
    display: none;
  }
}

@media (max-width: 640px) {
  .college-profile-hero {
    padding: 20px 0 40px;
  }

  .profile-hero-grid {
    gap: 30px;
  }

  .college-profile-hero h1 {
    font-size: 40px;
  }

  .profile-intro {
    font-size: 14px;
  }

  .profile-cover {
    width: 100%;
  }

  .profile-main {
    padding: 55px 0 70px;
  }

  .profile-section {
    margin-bottom: 52px;
    padding-bottom: 52px;
  }

  .summary-grid,
  .documents-grid,
  .advantages-list,
  .related-college-grid,
  .split-information {
    grid-template-columns: 1fr;
  }

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

  .summary-grid > div {
    min-height: 92px;
    padding: 20px 16px;
  }

  .specialty-item > button {
    gap: 8px;
    grid-template-columns: 70px minmax(0, 1fr) 20px;
  }

  .specialty-item strong {
    font-size: 12px;
  }

  .specialty-details {
    grid-template-columns: 1fr 1fr;
    padding: 20px;
  }

  .specialty-details > div:first-child {
    grid-column: 1 / -1;
  }

  .profile-layout {
    gap: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* Colleges catalog */

.colleges-page {
  overflow: clip;
}

.main-nav .current {
  color: var(--blue);
}

.main-nav .current::after {
  transform: scaleX(1);
}

.colleges-hero {
  background:
    radial-gradient(circle at 82% 16%, rgba(15, 159, 173, 0.08), transparent 27%),
    linear-gradient(180deg, #fbfdff 0%, #f3f8fc 100%);
  border-bottom: 1px solid #e7eef5;
  padding: 24px 0 70px;
}

.breadcrumbs {
  align-items: center;
  color: #77869a;
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  gap: 8px;
  margin-bottom: 42px;
}

.breadcrumbs a:hover {
  color: var(--blue);
}

.breadcrumbs span:last-child {
  color: #3e5874;
}

.colleges-hero-grid {
  align-items: center;
  display: grid;
  gap: 80px;
  grid-template-columns: minmax(0, 1.42fr) minmax(310px, 0.58fr);
}

.colleges-hero h1 {
  color: var(--navy);
  font-size: clamp(44px, 5.2vw, 68px);
  font-weight: 660;
  letter-spacing: -0.05em;
  line-height: 1.05;
  margin: 0;
}

.colleges-lead {
  color: var(--text);
  font-size: 18px;
  line-height: 1.65;
  margin: 22px 0 0;
  max-width: 760px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 29px;
}

.hero-facts span {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #d7e4ef;
  border-radius: 999px;
  color: #597089;
  font-size: 12px;
  padding: 9px 13px;
}

.hero-facts strong {
  color: var(--navy);
  font-weight: 720;
}

.hero-guide {
  align-items: flex-start;
  background: var(--white);
  border: 1px solid #d7e4ef;
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(11, 47, 91, 0.08);
  display: flex;
  gap: 17px;
  padding: 25px;
}

.hero-guide-icon {
  align-items: center;
  background: var(--mint-soft);
  border-radius: 10px;
  color: #177f81;
  display: flex;
  flex: 0 0 52px;
  height: 52px;
  justify-content: center;
}

.hero-guide strong {
  color: var(--navy);
  display: block;
  font-size: 16px;
  font-weight: 680;
  line-height: 1.35;
}

.hero-guide p {
  color: var(--text);
  font-size: 12px;
  line-height: 1.55;
  margin: 8px 0 14px;
}

.hero-guide a,
.grant-callout a {
  align-items: center;
  color: var(--blue);
  display: inline-flex;
  font-size: 13px;
  font-weight: 660;
  gap: 8px;
}

.college-clusters {
  background: var(--white);
  padding: 67px 0 76px;
}

.compact-heading {
  align-items: flex-end;
  display: flex;
  justify-content: space-between;
  margin-bottom: 28px;
}

.compact-heading h2 {
  color: var(--navy);
  font-size: 28px;
  font-weight: 660;
  letter-spacing: -0.032em;
  margin: 0;
}

.compact-heading p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}

.cluster-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, 1fr);
}

.cluster-card {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  display: grid;
  gap: 12px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 108px;
  padding: 17px 15px;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.cluster-card:hover {
  border-color: #bbd3e7;
  box-shadow: 0 10px 25px rgba(11, 47, 91, 0.07);
  transform: translateY(-2px);
}

.cluster-card > svg {
  color: #7890a8;
}

.cluster-icon {
  align-items: center;
  background: var(--blue-soft);
  border-radius: 8px;
  color: var(--blue);
  display: flex;
  height: 43px;
  justify-content: center;
  width: 43px;
}

.cluster-card strong {
  color: var(--navy);
  display: block;
  font-size: 14px;
  font-weight: 670;
  line-height: 1.3;
}

.cluster-card small {
  color: var(--text);
  display: block;
  font-size: 10px;
  line-height: 1.45;
  margin-top: 5px;
}

.catalog-section {
  background: var(--surface);
  padding: 94px 0;
}

.catalog-heading {
  margin-bottom: 32px;
}

.catalog-note {
  color: var(--text);
  font-size: 13px;
  margin: 0;
  max-width: 280px;
  text-align: right;
}

.catalog-shell {
  background: var(--white);
  border: 1px solid #dce6ef;
  border-radius: 15px;
  box-shadow: 0 11px 35px rgba(11, 47, 91, 0.05);
  padding: 23px;
}

.college-search-row {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1.7fr) minmax(250px, 0.55fr);
}

.college-search {
  align-items: center;
  border: 1px solid #cfdce8;
  border-radius: 9px;
  color: var(--blue);
  display: flex;
  gap: 11px;
  min-height: 51px;
  padding: 0 14px;
}

.college-search:focus-within,
.area-select:focus-within {
  border-color: #76a9d7;
  box-shadow: 0 0 0 4px rgba(13, 104, 189, 0.08);
}

.college-search input {
  border: 0;
  color: var(--ink);
  flex: 1;
  font-size: 14px;
  min-width: 0;
  outline: 0;
}

.college-search input::placeholder {
  color: #8290a2;
}

.college-search button {
  align-items: center;
  background: #edf3f8;
  border: 0;
  border-radius: 50%;
  color: #61758a;
  display: flex;
  height: 28px;
  justify-content: center;
  padding: 0;
  width: 28px;
}

.area-select {
  border: 1px solid #cfdce8;
  border-radius: 9px;
  display: grid;
  grid-template-columns: 1fr auto;
  min-height: 51px;
  padding: 7px 13px 6px;
  position: relative;
}

.area-select span {
  color: #8390a1;
  font-size: 9px;
  grid-column: 1;
  letter-spacing: 0.05em;
  pointer-events: none;
  text-transform: uppercase;
}

.area-select select {
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--navy);
  font: inherit;
  font-size: 13px;
  font-weight: 620;
  grid-column: 1 / -1;
  grid-row: 1 / 3;
  outline: 0;
  padding: 13px 30px 0 0;
  width: 100%;
}

.area-select svg {
  color: #6a7f94;
  grid-column: 2;
  grid-row: 1 / 3;
  margin: auto 0;
  pointer-events: none;
}

.filter-row {
  align-items: center;
  border-bottom: 1px solid #e5ecf2;
  display: flex;
  gap: 14px;
  min-height: 73px;
}

.filter-label {
  align-items: center;
  color: var(--navy);
  display: inline-flex;
  font-size: 12px;
  font-weight: 670;
  gap: 7px;
}

.filter-chips {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  gap: 7px;
}

.filter-chips button {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #50667e;
  display: inline-flex;
  font-size: 11px;
  gap: 5px;
  min-height: 33px;
  padding: 7px 11px;
}

.filter-chips button:hover {
  border-color: #9ebed9;
  color: var(--blue);
}

.filter-chips button.active {
  background: var(--blue-soft);
  border-color: #96c1e5;
  color: var(--blue);
  font-weight: 650;
}

.reset-filters {
  background: transparent;
  border: 0;
  color: #63778d;
  font-size: 11px;
  padding: 7px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.reset-filters:hover {
  color: var(--blue);
}

.catalog-result-line {
  align-items: center;
  color: #8390a1;
  display: flex;
  font-size: 11px;
  justify-content: space-between;
  padding: 18px 2px 13px;
}

.catalog-result-line strong {
  color: var(--navy);
}

.college-table-wrap {
  border: 1px solid #dfe7ee;
  border-radius: 10px;
  overflow-x: auto;
}

.college-table {
  border-collapse: collapse;
  min-width: 1120px;
  table-layout: fixed;
  width: 100%;
}

.college-table th {
  background: #f0f5f9;
  border-bottom: 1px solid #dce5ed;
  color: #526981;
  font-size: 10px;
  font-weight: 710;
  letter-spacing: 0.045em;
  padding: 13px 10px;
  text-align: left;
  text-transform: uppercase;
}

.college-table th:first-child {
  padding-left: 16px;
  width: 23%;
}

.college-table th:nth-child(2) {
  width: 22%;
}

.college-table th:nth-child(3),
.college-table th:nth-child(4),
.college-table th:nth-child(5),
.college-table th:nth-child(6) {
  text-align: center;
  width: 7%;
}

.college-table th:last-child {
  width: 27%;
}

.college-table td {
  border-bottom: 1px solid #e5ecf2;
  color: #4e637a;
  font-size: 11px;
  line-height: 1.5;
  padding: 17px 10px;
  text-align: left;
  vertical-align: middle;
}

.college-table tbody tr:last-child td {
  border-bottom: 0;
}

.college-table tbody tr:hover {
  background: #fbfdff;
}

.college-table td:first-child {
  padding-left: 16px;
}

.college-table td:nth-child(3),
.college-table td:nth-child(4),
.college-table td:nth-child(5),
.college-table td:nth-child(6) {
  text-align: center;
}

.college-name {
  color: #0a5ead;
  display: block;
  font-size: 13px;
  font-weight: 680;
  line-height: 1.38;
}

.college-name:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.college-address {
  align-items: center;
  color: #8390a1;
  display: flex;
  font-size: 9px;
  gap: 4px;
  margin-top: 7px;
}

.specialties {
  color: #52667d;
}

.availability {
  align-items: center;
  display: inline-flex;
  justify-content: center;
}

.availability.yes {
  color: #17806e;
}

.availability.no {
  color: #9aa6b3;
}

.availability-word {
  display: none;
}

.college-phone {
  color: var(--navy);
  display: block;
  font-size: 11px;
  font-weight: 620;
}

.details-link {
  align-items: center;
  color: var(--blue);
  display: inline-flex;
  font-size: 10px;
  font-weight: 650;
  gap: 5px;
  margin-top: 7px;
}

.show-more {
  align-items: center;
  background: var(--white);
  border: 1px solid #b9cee0;
  border-radius: 8px;
  color: var(--navy);
  display: flex;
  font-size: 12px;
  font-weight: 650;
  gap: 8px;
  justify-content: center;
  margin: 20px auto 0;
  min-width: 225px;
  padding: 12px 18px;
}

.show-more:hover {
  background: #f4f8fb;
}

.empty-result {
  align-items: center;
  display: flex;
  flex-direction: column;
  padding: 60px 20px 48px;
  text-align: center;
}

.empty-result > span {
  align-items: center;
  background: var(--blue-soft);
  border-radius: 50%;
  color: var(--blue);
  display: flex;
  height: 62px;
  justify-content: center;
  width: 62px;
}

.empty-result h3 {
  color: var(--navy);
  font-size: 20px;
  margin: 17px 0 8px;
}

.empty-result p {
  color: var(--text);
  font-size: 13px;
  margin: 0;
}

.empty-result button {
  background: var(--navy);
  border: 0;
  border-radius: 7px;
  color: var(--white);
  font-size: 12px;
  margin-top: 18px;
  padding: 11px 15px;
}

.data-disclaimer {
  color: #768598;
  font-size: 11px;
  line-height: 1.5;
  margin: 14px 0 0;
  padding: 0 4px;
}

.choice-section {
  background: var(--white);
  padding: 96px 0;
}

.choice-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, 1fr);
}

.choice-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  min-height: 215px;
  padding: 24px 22px;
}

.choice-card > span {
  align-items: center;
  background: var(--mint-soft);
  border-radius: 8px;
  color: #147b7b;
  display: flex;
  font-size: 11px;
  font-weight: 720;
  height: 39px;
  justify-content: center;
  width: 39px;
}

.choice-card h3 {
  color: var(--navy);
  font-size: 17px;
  font-weight: 670;
  margin: 27px 0 9px;
}

.choice-card p {
  color: var(--text);
  font-size: 12px;
  line-height: 1.6;
  margin: 0;
}

.admission-info {
  background: var(--surface);
  padding: 98px 0;
}

.information-layout {
  align-items: start;
  display: grid;
  gap: 62px;
  grid-template-columns: minmax(0, 1fr) 285px;
}

.information-article > h2,
.faq-layout > div:first-child h2 {
  color: var(--navy);
  font-size: clamp(32px, 3.5vw, 46px);
  font-weight: 660;
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin: 0;
}

.article-intro {
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  margin: 19px 0 37px;
  max-width: 790px;
}

.information-columns {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr 1fr;
}

.information-columns > div {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 25px;
}

.information-columns h3,
.grant-callout h3 {
  color: var(--navy);
  font-size: 17px;
  font-weight: 670;
  margin: 0 0 17px;
}

.check-list {
  display: grid;
  gap: 13px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.check-list li {
  align-items: center;
  color: #4d6279;
  display: flex;
  font-size: 12px;
  gap: 9px;
}

.check-list svg {
  color: #17806e;
}

.duration-card {
  border-bottom: 1px solid #e5ecf2;
  display: grid;
  gap: 5px;
  padding: 0 0 13px;
}

.duration-card + .duration-card {
  border-bottom: 0;
  padding: 13px 0 0;
}

.duration-card span {
  color: #718196;
  font-size: 10px;
}

.duration-card strong {
  color: var(--navy);
  font-size: 12px;
  font-weight: 660;
}

.grant-callout {
  align-items: flex-start;
  background: var(--blue-soft);
  border: 1px solid #c8deef;
  border-radius: 13px;
  display: flex;
  gap: 19px;
  margin-top: 22px;
  padding: 27px;
}

.grant-icon {
  align-items: center;
  background: var(--white);
  border-radius: 9px;
  color: var(--blue);
  display: flex;
  flex: 0 0 51px;
  height: 51px;
  justify-content: center;
}

.grant-callout h3 {
  margin-bottom: 9px;
}

.grant-callout p {
  color: var(--text);
  font-size: 12px;
  line-height: 1.62;
  margin: 0 0 13px;
}

.page-navigation {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  padding: 23px;
  position: sticky;
  top: 100px;
}

.page-navigation > strong {
  color: var(--navy);
  font-size: 13px;
  font-weight: 680;
  margin-bottom: 12px;
}

.page-navigation > a {
  border-top: 1px solid #e7edf3;
  color: #526980;
  font-size: 11px;
  padding: 12px 0;
}

.page-navigation > a:hover {
  color: var(--blue);
}

.page-navigation-help {
  align-items: center;
  background: var(--surface);
  border-radius: 9px;
  color: var(--blue);
  display: grid;
  gap: 10px;
  grid-template-columns: auto 1fr auto;
  margin-top: 10px;
  padding: 13px;
}

.page-navigation-help strong {
  color: var(--navy);
  display: block;
  font-size: 10px;
  line-height: 1.35;
}

.page-navigation-help small {
  color: #728197;
  display: block;
  font-size: 8px;
  line-height: 1.4;
  margin-top: 3px;
}

.faq-section {
  background: var(--white);
  padding: 98px 0;
}

.faq-layout {
  align-items: start;
  display: grid;
  gap: 75px;
  grid-template-columns: 0.72fr 1.28fr;
}

.faq-layout > div:first-child > p:last-child {
  color: var(--text);
  font-size: 14px;
  line-height: 1.65;
  margin: 18px 0 0;
  max-width: 390px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item button {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--navy);
  display: flex;
  font-size: 14px;
  font-weight: 650;
  justify-content: space-between;
  padding: 21px 0;
  text-align: left;
  width: 100%;
}

.faq-item button svg {
  color: #6b8095;
  flex: 0 0 auto;
  transition: transform 160ms ease;
}

.faq-item.open button svg {
  transform: rotate(180deg);
}

.faq-item p {
  color: var(--text);
  font-size: 12px;
  line-height: 1.7;
  margin: -3px 40px 22px 0;
}

.related-section {
  background: var(--navy);
  color: var(--white);
  padding: 57px 0;
}

.related-inner {
  align-items: center;
  display: grid;
  gap: 65px;
  grid-template-columns: 0.8fr 1.2fr;
}

.related-section h2 {
  font-size: 29px;
  font-weight: 640;
  letter-spacing: -0.03em;
  margin: 0;
}

.related-section p:not(.eyebrow) {
  color: #b7c9dc;
  font-size: 12px;
  margin: 10px 0 0;
}

.related-links {
  display: grid;
  gap: 8px;
}

.related-links a {
  align-items: center;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  color: var(--white);
  display: flex;
  font-size: 12px;
  justify-content: space-between;
  padding: 13px 15px;
}

.related-links a:hover {
  background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 1080px) {
  .colleges-hero-grid {
    gap: 45px;
  }

  .cluster-grid,
  .choice-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .information-layout {
    gap: 35px;
  }
}

@media (max-width: 780px) {
  .colleges-hero {
    padding-bottom: 55px;
  }

  .breadcrumbs {
    margin-bottom: 32px;
  }

  .colleges-hero-grid,
  .information-layout,
  .faq-layout,
  .related-inner {
    grid-template-columns: 1fr;
  }

  .colleges-hero-grid {
    gap: 31px;
  }

  .hero-guide {
    max-width: 500px;
  }

  .compact-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .college-search-row {
    grid-template-columns: 1fr;
  }

  .filter-row {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 16px 0;
  }

  .filter-chips {
    flex-basis: calc(100% - 90px);
  }

  .catalog-result-line span:last-child {
    display: none;
  }

  .college-table-wrap {
    border: 0;
    overflow: visible;
  }

  .college-table {
    display: block;
    min-width: 0;
  }

  .college-table thead {
    display: none;
  }

  .college-table tbody {
    display: grid;
    gap: 13px;
  }

  .college-table tr {
    background: var(--white);
    border: 1px solid #dce5ed;
    border-radius: 11px;
    display: block;
    overflow: hidden;
  }

  .college-table td,
  .college-table td:first-child,
  .college-table td:nth-child(3),
  .college-table td:nth-child(4),
  .college-table td:nth-child(5),
  .college-table td:nth-child(6) {
    align-items: center;
    border-bottom: 1px solid #e6edf3;
    display: grid;
    gap: 15px;
    grid-template-columns: 126px minmax(0, 1fr);
    padding: 11px 15px;
    text-align: left;
  }

  .college-table td::before {
    color: #79889a;
    content: attr(data-label);
    font-size: 9px;
    font-weight: 680;
    letter-spacing: 0.035em;
    text-transform: uppercase;
  }

  .college-table td:first-child {
    background: #f5f9fc;
    display: block;
    padding-bottom: 16px;
    padding-top: 16px;
  }

  .college-table td:first-child::before {
    display: none;
  }

  .college-table td:last-child {
    border-bottom: 0;
  }

  .availability {
    justify-content: flex-start;
  }

  .availability-word {
    display: inline;
    font-size: 11px;
    margin-left: 5px;
  }

  .college-phone {
    display: inline-block;
  }

  .details-link {
    margin-left: 12px;
    margin-top: 0;
  }

  .choice-section,
  .admission-info,
  .faq-section {
    padding: 76px 0;
  }

  .information-layout {
    gap: 27px;
  }

  .page-navigation {
    position: static;
  }

  .faq-layout {
    gap: 35px;
  }

  .related-inner {
    gap: 28px;
  }
}

@media (max-width: 560px) {
  .colleges-hero {
    padding: 18px 0 45px;
  }

  .breadcrumbs {
    font-size: 10px;
    gap: 6px;
    margin-bottom: 27px;
  }

  .colleges-hero h1 {
    font-size: 39px;
  }

  .colleges-lead {
    font-size: 15px;
    line-height: 1.6;
  }

  .hero-facts {
    gap: 6px;
    margin-top: 23px;
  }

  .hero-facts span {
    font-size: 10px;
    padding: 8px 10px;
  }

  .hero-guide {
    padding: 20px;
  }

  .college-clusters {
    padding: 53px 0 59px;
  }

  .compact-heading h2 {
    font-size: 25px;
  }

  .compact-heading p {
    font-size: 11px;
    line-height: 1.5;
  }

  .cluster-grid,
  .choice-grid,
  .information-columns {
    grid-template-columns: 1fr;
  }

  .cluster-card {
    min-height: 96px;
  }

  .catalog-section {
    padding: 65px 0;
  }

  .catalog-note {
    text-align: left;
  }

  .catalog-shell {
    border-radius: 12px;
    padding: 13px;
  }

  .college-search {
    padding: 0 11px;
  }

  .college-search input {
    font-size: 12px;
  }

  .filter-row {
    gap: 10px;
  }

  .filter-chips {
    display: grid;
    flex-basis: 100%;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .filter-chips button {
    border-radius: 7px;
    justify-content: center;
    padding-left: 7px;
    padding-right: 7px;
  }

  .reset-filters {
    margin-left: auto;
  }

  .college-table td,
  .college-table td:first-child,
  .college-table td:nth-child(3),
  .college-table td:nth-child(4),
  .college-table td:nth-child(5),
  .college-table td:nth-child(6) {
    gap: 9px;
    grid-template-columns: 100px minmax(0, 1fr);
    padding-left: 12px;
    padding-right: 12px;
  }

  .choice-card {
    min-height: 0;
  }

  .grant-callout {
    flex-direction: column;
    padding: 23px;
  }

  .page-navigation {
    display: none;
  }

  .faq-item button {
    font-size: 13px;
    gap: 20px;
  }

  .faq-item p {
    margin-right: 0;
  }
}
