:root {
  --blue: #2d66c3;
  --blue-strong: #1e73be;
  --line: #6fb4ff;
  --text: #243044;
  --muted: #8d9ab2;
  --border: #aab5c8;
  --page: #f5f5f5;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  background: var(--white);
}

.header-inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1200px;
  min-height: 120px;
  padding: 10px 40px;
}

.brand img {
  height: auto;
  width: 350px;
}

.primary-nav > ul {
  align-items: center;
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav li {
  position: relative;
}

.primary-nav a {
  color: #8a95ad;
  display: block;
  font-size: 16px;
  font-weight: 400;
  padding: 15px 14px;
  white-space: nowrap;
}

.primary-nav a:hover,
.primary-nav a.active {
  color: var(--blue);
}

.has-submenu > a::after {
  border-bottom: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
  display: inline-block;
  height: 6px;
  margin-left: 10px;
  transform: rotate(45deg) translateY(-2px);
  width: 6px;
}

.primary-nav ul ul {
  background: #efefef;
  box-shadow: 0 8px 20px rgba(22, 47, 83, 0.12);
  left: 0;
  list-style: none;
  min-width: 220px;
  opacity: 0;
  padding: 0;
  position: absolute;
  top: 100%;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  visibility: hidden;
  z-index: 20;
}

.primary-nav li:hover > ul,
.primary-nav li:focus-within > ul {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.primary-nav ul ul a {
  color: #6d7891;
  font-size: 15px;
  padding: 13px 16px;
}

.menu-toggle {
  background: transparent;
  border: 0;
  display: none;
  padding: 8px;
}

.menu-toggle span {
  background: var(--blue);
  display: block;
  height: 2px;
  margin: 5px 0;
  width: 24px;
}

.hero-slider {
  background: #e5e5e5;
  margin: 0 auto;
  max-width: 1200px;
  overflow: hidden;
  position: relative;
}

.slides {
  aspect-ratio: 1200 / 491;
  position: relative;
}

.slide {
  inset: 0;
  opacity: 0;
  position: absolute;
  transition: opacity .8s ease;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.slider-arrow {
  background: transparent;
  border: 0;
  cursor: pointer;
  display: flex;
  height: 96px;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: absolute;
  top: 50%;
  width: 72px;
  z-index: 3;
}

.slider-arrow::before {
  border: solid rgba(255, 255, 255, .88);
  border-width: 0 3px 3px 0;
  content: "";
  display: block;
  height: 28px;
  width: 28px;
}

.slider-arrow.prev {
  left: 0;
  transform: translateY(-50%);
}

.slider-arrow.next {
  right: 0;
  transform: translateY(-50%);
}

.slider-arrow.prev::before {
  transform: rotate(135deg);
}

.slider-arrow.next::before {
  transform: rotate(-45deg);
}

.slider-dots {
  bottom: 14px;
  display: flex;
  gap: 9px;
  justify-content: center;
  left: 0;
  position: absolute;
  right: 0;
  z-index: 4;
}

.slider-dots button {
  background: rgba(255, 255, 255, .55);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  height: 11px;
  padding: 0;
  width: 11px;
}

.slider-dots button.active {
  background: rgba(255, 255, 255, .92);
}

.quick-links {
  display: grid;
  gap: 50px 40px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 45px auto 47px;
  max-width: 1028px;
  padding: 0 0 0;
}

.info-card {
  background: #f7f7f7;
  border: 1px solid var(--border);
  display: block;
  min-height: 170px;
  padding: 44px 12px 25px;
}

.info-card h2 {
  border-bottom: 2px solid var(--line);
  color: var(--blue);
  font-size: 36px;
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 13px;
  padding-bottom: 12px;
}

.info-card span {
  color: var(--muted);
  display: block;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .02em;
}

.accreditation {
  background: var(--blue-strong);
  padding: 60px 0 58px;
}

.accreditation .wide {
  margin: 0 auto;
  max-width: 1028px;
  min-height: 120px;
  padding-top: 25px;
}

.site-footer {
  background: #eeeeee;
  width: 100%;
}

.footer-inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1200px;
  min-height: 172px;
  padding: 42px 40px;
}

.footer-brand img {
  height: auto;
  width: 175px;
}

.site-footer nav {
  color: var(--blue-strong);
  font-size: 18px;
}

.site-footer nav a:hover {
  text-decoration: underline;
}

.page-hero {
  background: #1e73be;
  color: var(--white);
  margin: 0 0 85px;
}

.page-hero .page-hero-inner {
  margin: 0 auto;
  max-width: 1200px;
  padding: 72px 40px 88px;
}

.page-hero h1 {
  color: var(--white);
  font-size: 52px;
  font-weight: 300;
  letter-spacing: .08em;
  line-height: 1;
  margin: 0;
  text-transform: uppercase;
}

.content-wrap {
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 40px;
}

.mission-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 75px;
}

.text-card {
  background: rgba(255, 255, 255, .55);
  border: 1px solid var(--border);
  min-height: 380px;
  padding: 46px 18px 35px;
}

.text-card h2 {
  border-bottom: 2px solid var(--line);
  color: var(--blue);
  font-size: 34px;
  font-weight: 400;
  line-height: 1.1;
  margin: 0 0 24px;
  padding-bottom: 18px;
}

.text-card p {
  color: #8996af;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.62;
  margin: 0;
}

.section-title {
  color: var(--blue);
  font-size: 38px;
  font-weight: 300;
  letter-spacing: .08em;
  line-height: 1.1;
  margin: 0 0 70px;
  text-transform: uppercase;
}

.button-row {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 100px;
}

.article-page {
  padding-bottom: 96px;
}

.article-page .section-title {
  margin-bottom: 58px;
}

.subsection-title {
  color: var(--blue);
  font-size: 32px;
  font-weight: 300;
  line-height: 1.2;
  margin: 0 0 28px;
}

.article-content {
  color: #8996af;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.78;
  margin: 0;
  max-width: 1120px;
}

.article-content p {
  margin: 0 0 28px;
}

.article-section {
  margin-bottom: 58px;
}

.article-list {
  color: #8996af;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.55;
  list-style: none;
  margin: 0;
  padding: 0;
}

.article-list li::before {
  content: "• ";
}

.board-list p {
  margin-bottom: 12px;
}

.board-list strong {
  font-weight: 700;
}

.board-list em {
  display: block;
  font-style: italic;
  line-height: 1.35;
  text-transform: uppercase;
}

.solid-link {
  align-items: center;
  background: #4169c5;
  color: var(--white);
  display: flex;
  font-size: 21px;
  font-weight: 400;
  justify-content: center;
  min-height: 66px;
  padding: 16px;
  text-align: center;
  text-transform: uppercase;
}

.solid-link:hover {
  background: #315bb4;
}

.join-hero .page-hero-inner {
  padding-bottom: 92px;
}

.hero-subtitle {
  color: #ff7a26;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  margin: 36px 0 0;
  text-shadow: 0 5px 10px rgba(0, 0, 0, .35);
}

.hero-orange {
  color: #ff7a26;
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  margin: 28px 0 0;
  text-shadow: 0 5px 10px rgba(0, 0, 0, .42);
  text-transform: uppercase;
}

.member-note {
  color: var(--blue);
  font-size: 34px;
  font-weight: 300;
  line-height: 1.25;
  margin: 0 0 82px;
  text-align: center;
}

.member-actions {
  display: grid;
  gap: 96px 190px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1060px;
}

.member-action {
  align-items: center;
  background: var(--blue-strong);
  color: var(--white);
  display: flex;
  flex-direction: column;
  font-size: 24px;
  font-weight: 400;
  justify-content: center;
  line-height: 1.1;
  min-height: 82px;
  padding: 16px 24px;
  text-align: center;
  text-transform: uppercase;
}

.member-action small {
  color: #ff7a26;
  display: block;
  font-size: 23px;
  font-weight: 700;
  margin-top: 4px;
}

.education-links {
  margin-top: 64px;
  margin-bottom: 0;
}

.course-content strong {
  font-weight: 700;
}

.course-content .subsection-title {
  margin-top: 58px;
}

.course-content .subsection-title:first-child {
  margin-top: 0;
}

.course-info-band {
  background: #e8e8e8;
  margin: -85px 0 0;
  padding: 32px 40px;
  text-align: center;
}

.course-info-band p {
  color: var(--muted);
  font-size: 18px;
  font-weight: 300;
  margin: 0;
  text-transform: uppercase;
}

.course-info-band a {
  color: var(--blue-strong);
  font-weight: 400;
  text-decoration: none;
}

.course-official-page {
  padding-top: 54px;
}

.course-official-page ol {
  margin: 0 0 0 30px;
  padding: 0;
}

.course-main-title {
  max-width: 1050px;
  text-transform: uppercase;
}

.superior-courses-page {
  padding-bottom: 52px;
}

.superior-courses-page .course-main-title {
  font-size: 36px;
  margin-bottom: 52px;
}

.superior-courses-page .article-content {
  margin-bottom: 46px;
}

.superior-accordion {
  background: #f0f0f0;
  padding: 28px 42px 30px;
}

.superior-accordion details {
  border-bottom: 1px solid #d2d6dd;
  color: var(--blue);
  padding: 0;
}

.superior-accordion summary {
  cursor: pointer;
  font-size: 20px;
  font-weight: 300;
  list-style: none;
  padding: 18px 0 18px 38px;
  position: relative;
  text-transform: uppercase;
}

.superior-accordion summary::-webkit-details-marker {
  display: none;
}

.superior-accordion summary::before {
  border-bottom: 7px solid transparent;
  border-left: 7px solid var(--blue);
  border-top: 7px solid transparent;
  content: "";
  left: 18px;
  position: absolute;
  top: 24px;
}

.superior-accordion details[open] summary::before {
  transform: rotate(90deg);
}

.superior-accordion p {
  color: #8996af;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.5;
  margin: 0;
  padding: 0 0 18px 38px;
}

.wide-action {
  margin-top: 56px;
}

.wide-action .solid-link {
  min-height: 78px;
  width: 100%;
}

.pasantia-page .wide-action {
  margin-bottom: 60px;
}

.pasantia-gallery {
  display: grid;
  gap: 4px;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto;
  max-width: 904px;
}

.pasantia-gallery a {
  aspect-ratio: 1;
  background: #dfe6ef;
  display: block;
  overflow: hidden;
}

.pasantia-gallery a:last-child {
  grid-column: 2;
}

.pasantia-gallery img {
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
  width: 100%;
}

.pasantia-gallery a:hover img {
  transform: scale(1.06);
}

.lightbox {
  align-items: center;
  background: rgba(0, 0, 0, .86);
  display: none;
  inset: 0;
  justify-content: center;
  padding: 60px 86px;
  position: fixed;
  z-index: 100;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-height: calc(100vh - 120px);
  max-width: 100%;
  object-fit: contain;
}

.lightbox button {
  background: transparent;
  border: 0;
  color: var(--white);
  cursor: pointer;
  font-family: Arial, sans-serif;
}

.lightbox-close {
  font-size: 42px;
  line-height: 1;
  position: absolute;
  right: 28px;
  top: 20px;
}

.lightbox-nav {
  font-size: 76px;
  line-height: 1;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 28px;
}

.lightbox-next {
  right: 28px;
}

.lightbox-count {
  bottom: 24px;
  color: var(--white);
  font-size: 14px;
  left: 0;
  letter-spacing: .08em;
  position: absolute;
  right: 0;
  text-align: center;
}

.courses-page {
  padding-top: 0;
}

.courses-grid {
  display: grid;
  gap: 64px 30px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.course-card {
  align-items: center;
  background-position: center;
  background-size: cover;
  display: flex;
  min-height: 290px;
  padding: 58px 30px;
}

.course-card-panel {
  background: var(--white);
  max-width: 460px;
  padding: 40px 30px 36px;
  width: 100%;
}

.course-card-panel h2 {
  border-bottom: 2px solid var(--line);
  color: var(--blue);
  font-size: 26px;
  font-weight: 300;
  line-height: 1.15;
  margin: 0 0 18px;
  padding-bottom: 18px;
  text-transform: uppercase;
}

.course-card-panel a {
  background: #efefef;
  color: #444;
  display: inline-block;
  font-size: 14px;
  font-weight: 300;
  padding: 10px 22px;
  text-transform: uppercase;
}

.diplomatura-page {
  padding-bottom: 74px;
}

.diplomatura-hero .page-hero-inner {
  padding-bottom: 92px;
  padding-top: 86px;
}

.diplomatura-hero h1 {
  font-size: 50px;
  letter-spacing: 0;
  line-height: 1.02;
  max-width: 1200px;
}

.diplomatura-hero h1 strong {
  font-weight: 700;
}

.basic-advance-hero h1 {
  text-transform: uppercase;
}

.basic-advance-page {
  padding-bottom: 74px;
  padding-top: 80px;
}

.basic-course-intro {
  color: #8996af;
  font-size: 16px;
  line-height: 1.45;
  margin-bottom: 64px;
}

.basic-course-intro h2 {
  color: #4169c5;
  font-size: 32px;
  font-weight: 300;
  line-height: 1;
  margin: 0 0 48px;
}

.basic-course-intro p {
  margin: 0 0 42px;
}

.basic-course-intro strong {
  font-weight: 700;
}

.basic-course-intro .basic-date {
  color: #4169c5;
  font-size: 28px;
  font-weight: 300;
  margin-top: 74px;
  text-transform: uppercase;
}

.basic-course-form {
  max-width: none;
}

.diplomatura-page .compact-content {
  font-size: 21px;
  line-height: 1.42;
  margin-bottom: 62px;
}

.diplomatura-page .compact-content p {
  margin: 0 0 10px;
}

.diplomatura-page .compact-content strong {
  font-weight: 700;
}

.diplomatura-page .compact-content ol,
.diplomatura-page .compact-content ul {
  margin-top: 8px;
}

.diplomatura-page .vacancy-status {
  color: var(--blue);
  font-size: 28px;
  font-weight: 300;
  line-height: 1.35;
  margin: 0 0 46px;
}

.diplomatura-page .vacancy-status p {
  margin: 0 0 44px;
}

.diplomatura-form-section {
  margin: 0 0 80px;
  max-width: 720px;
}

.diplomatura-form-section > p,
.form-note {
  color: #333;
  font-size: 16px;
  margin: 0 0 10px;
}

.diplomatura-form {
  color: #222;
  font-size: 16px;
}

.diplomatura-form label,
.diplomatura-form fieldset {
  border: 0;
  display: block;
  margin: 0 0 12px;
  padding: 0;
}

.diplomatura-form label,
.diplomatura-form legend {
  font-weight: 700;
}

.diplomatura-form input[type="text"],
.diplomatura-form input[type="email"],
.diplomatura-form input[type="tel"],
.diplomatura-form input[type="number"],
.diplomatura-form select,
.diplomatura-form textarea {
  background: var(--white);
  border: 1px solid #e8e8e8;
  box-sizing: border-box;
  color: #222;
  display: block;
  font-family: inherit;
  font-size: 15px;
  font-weight: 300;
  height: 40px;
  margin-top: 6px;
  padding: 9px 11px;
  width: 100%;
}

.diplomatura-form select {
  appearance: auto;
}

.diplomatura-form textarea {
  height: auto;
  min-height: 120px;
  resize: vertical;
}

.diplomatura-form fieldset label {
  display: inline-flex;
  font-weight: 300;
  gap: 6px;
  margin: 6px 18px 0 0;
}

.diplomatura-form button {
  background: #333;
  border: 0;
  color: var(--white);
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  padding: 10px 18px;
}

.member-form-page {
  padding-bottom: 72px;
  padding-top: 52px;
}

.member-form-intro {
  color: #8996af;
  font-size: 16px;
  line-height: 1.5;
  margin: 0 0 56px;
}

.member-form-section {
  max-width: none;
}

.diploma-program {
  font-size: 19px;
  line-height: 1.65;
}

.diploma-program .subsection-title {
  font-size: 34px;
}

.accreditation-page {
  padding-bottom: 72px;
}

.directory-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 70px;
}

.directory-link {
  background: var(--blue-strong);
  font-size: 18px;
  line-height: 1.2;
  min-height: 112px;
  padding: 18px 20px;
}

.accreditation-columns {
  display: grid;
  gap: 42px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 82px;
}

.accreditation-block h2 {
  border-bottom: 2px solid #222;
  color: #ff4b12;
  font-size: 37px;
  font-weight: 700;
  line-height: 1.08;
  margin: 0 0 26px;
  padding-bottom: 30px;
  text-transform: uppercase;
}

.accreditation-block details {
  border-bottom: 1px solid #d2d6dd;
  color: var(--blue);
  padding: 0 0 14px;
}

.accreditation-block summary {
  cursor: pointer;
  font-size: 19px;
  font-weight: 300;
  list-style: none;
  padding: 0 0 0 38px;
  position: relative;
  text-transform: uppercase;
}

.accreditation-block summary::-webkit-details-marker {
  display: none;
}

.accreditation-block summary::before {
  border-bottom: 7px solid transparent;
  border-left: 7px solid var(--blue);
  border-top: 7px solid transparent;
  content: "";
  left: 16px;
  position: absolute;
  top: 7px;
}

.accreditation-block details[open] summary::before {
  transform: rotate(90deg);
}

.accreditation-block .article-content {
  font-size: 15px;
  line-height: 1.55;
  margin-top: 22px;
}

.reaccreditation-note {
  color: #8996af;
  font-size: 18px;
  font-weight: 300;
}

.reaccreditation-note p {
  margin: 0;
}

.reaccreditation-note strong {
  font-weight: 700;
}

.reaccreditation-note a {
  color: var(--blue-strong);
}

.publications-page .section-title {
  font-size: 32px;
  margin-bottom: 42px;
}

.publications-page .article-content {
  font-size: 14px;
  line-height: 1.7;
}

.publications-intro {
  margin-bottom: 56px;
}

.publications-list p {
  margin-bottom: 15px;
}

.publications-list a,
.publications-intro a {
  color: var(--blue);
  font-weight: 500;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.publications-list a:hover,
.publications-intro a:hover {
  text-decoration: underline;
}

.contact-page {
  padding-bottom: 72px;
}

.contact-page .section-title {
  font-size: 32px;
  margin-bottom: 42px;
}

.contact-page .article-content,
.contact-list {
  color: var(--muted);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
}

.contact-intro {
  margin-bottom: 46px;
  max-width: 900px;
}

.contact-list {
  margin: 0 auto 54px;
  max-width: 520px;
}

.contact-list p {
  margin: 0 0 24px;
}

.contact-list strong {
  color: var(--muted);
  font-weight: 500;
  letter-spacing: .02em;
}

.contact-list a {
  color: var(--blue-strong);
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

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

.online-meetings-page {
  padding-bottom: 72px;
}

.online-meetings-page .article-content {
  margin-bottom: 60px;
}

.online-meetings-page .subsection-title {
  margin-top: 48px;
}

.online-form-section {
  max-width: none;
}

.math-captcha-form .captcha-row {
  max-width: 260px;
}

.math-captcha-form .captcha-error {
  color: #b00020;
  font-size: 14px;
  margin: 0 0 14px;
}

.hidden-field {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px !important;
  margin: -1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  width: 1px !important;
  white-space: nowrap;
}

.diplomatura-form input.hidden-field {
  height: 1px !important;
  padding: 0 !important;
  width: 1px !important;
}

.form-status {
  font-size: 16px;
  font-weight: 700;
  margin: 18px 0 0;
}

.form-status.ok {
  color: #1f7a35;
}

.form-status.error {
  color: #b00020;
}

.endoraquis-page {
  background: #f5f5f5;
}

.endoraquis-banner {
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 34px;
}

.endoraquis-banner img {
  display: block;
  height: auto;
  width: 100%;
}

.endoraquis-content {
  color: #8996af;
  font-size: 17px;
  line-height: 1.55;
  padding-bottom: 18px;
  padding-top: 40px;
}

.endoraquis-content h1,
.endoraquis-content h2 {
  color: #4169c5;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
}

.endoraquis-content h1 {
  font-size: 36px;
  margin: 0 0 52px;
}

.endoraquis-content p {
  margin: 0 0 30px;
}

.endoraquis-founders {
  margin: 58px 0 42px;
  text-align: center;
}

.endoraquis-founders h2,
.endoraquis-highlights h2 {
  font-size: 36px;
  margin: 0 0 30px;
}

.endoraquis-founders img {
  display: block;
  height: auto;
  margin: 0 auto;
  max-width: 883px;
  width: 82%;
}

.endoraquis-highlights {
  color: #111;
  font-size: 18px;
  font-weight: 700;
  margin: 0 auto;
  max-width: 1120px;
  text-align: center;
}

.endoraquis-highlights ul {
  list-style: none;
  margin: 0 0 34px;
  padding: 0;
  text-transform: uppercase;
}

.endoraquis-highlights li {
  margin: 5px 0;
}

.endoraquis-highlights li::before {
  content: "✓ ";
}

.endoraquis-highlights p {
  color: #111;
  font-size: 16px;
  line-height: 1.45;
  margin-bottom: 0;
}

.publications-list em {
  display: inline-block;
  font-style: italic;
}

.pub-arrow {
  display: inline-block;
  margin-right: 6px;
}

@media (max-width: 960px) {
  .header-inner {
    min-height: 92px;
    padding: 12px 22px;
  }

  .brand img {
    width: 260px;
  }

  .menu-toggle {
    display: block;
  }

  .primary-nav {
    background: var(--white);
    border-top: 1px solid #e2e6ee;
    display: none;
    left: 0;
    position: absolute;
    right: 0;
    top: 92px;
    z-index: 30;
  }

  .primary-nav.open {
    display: block;
  }

  .primary-nav > ul {
    align-items: stretch;
    display: block;
    padding: 8px 22px 18px;
  }

  .primary-nav a {
    padding: 12px 0;
  }

  .primary-nav ul ul {
    box-shadow: none;
    opacity: 1;
    padding-left: 18px;
    position: static;
    transform: none;
    visibility: visible;
  }

  .hero-slider {
    max-width: none;
  }

  .quick-links,
  .footer-inner,
  .accreditation .wide,
  .content-wrap {
    margin-left: 22px;
    margin-right: 22px;
  }

.page-hero {
    margin-bottom: 38px;
  }

  .page-hero .page-hero-inner {
    padding: 52px 22px 62px;
  }

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

  .content-wrap {
    padding-left: 0;
    padding-right: 0;
  }

  .mission-grid {
    gap: 26px;
    grid-template-columns: 1fr;
  }

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

  .article-page {
    padding-bottom: 62px;
  }

  .member-actions {
    gap: 28px;
    grid-template-columns: 1fr;
    max-width: 620px;
  }

  .member-note {
    margin-bottom: 42px;
  }

  .directory-grid,
  .accreditation-columns,
  .courses-grid {
    grid-template-columns: 1fr;
  }

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

  .pasantia-gallery a:last-child {
    grid-column: auto;
  }

  .accreditation-block h2 {
    font-size: 30px;
  }
}

@media (max-width: 680px) {
  .header-inner {
    min-height: 76px;
  }

  .brand img {
    width: 215px;
  }

  .primary-nav {
    top: 76px;
  }

  .slides {
    aspect-ratio: 1200 / 491;
  }

  .slider-arrow {
    height: 64px;
    width: 48px;
  }

  .slider-arrow::before {
    height: 18px;
    width: 18px;
  }

  .slider-arrow.prev {
    left: 0;
  }

  .slider-arrow.next {
    right: 0;
  }

  .quick-links {
    gap: 24px;
    grid-template-columns: 1fr;
    margin-top: 28px;
    margin-bottom: 34px;
  }

  .info-card {
    min-height: 138px;
    padding: 30px 12px 20px;
  }

  .info-card h2 {
    font-size: 30px;
  }

  .accreditation {
    padding: 42px 0;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .page-hero .page-hero-inner {
    padding: 42px 22px 50px;
  }

  .page-hero h1 {
    font-size: 34px;
    letter-spacing: .04em;
  }

  .text-card {
    min-height: 0;
    padding: 30px 14px 25px;
  }

  .text-card h2 {
    font-size: 30px;
  }

  .text-card p {
    font-size: 16px;
  }

  .section-title {
    font-size: 32px;
    margin-bottom: 38px;
  }

  .subsection-title {
    font-size: 29px;
  }

  .article-content {
    font-size: 16px;
    line-height: 1.68;
  }

  .article-content p {
    margin-bottom: 24px;
  }

  .join-hero .page-hero-inner {
    padding-bottom: 54px;
  }

  .hero-subtitle {
    font-size: 30px;
    margin-top: 24px;
  }

  .member-note {
    font-size: 27px;
  }

  .member-action,
  .member-action small {
    font-size: 19px;
  }

  .pasantia-gallery {
    grid-template-columns: 1fr;
  }

  .lightbox {
    padding: 56px 18px;
  }

  .lightbox-nav {
    font-size: 50px;
  }
}
