/*
 * Edu Migration & DA Travels — component styles.
 *
 * Mobile-first. Design tokens are read from style.css custom properties.
 * Everything here is plain CSS (no build step required).
 */

/* ------------------------------------------------------------------ */
/* Base                                                                */
/* ------------------------------------------------------------------ */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

body {
  margin: 0;
  font-family: var(--emdt-font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--emdt-text);
  background: var(--emdt-bg);
  -webkit-font-smoothing: antialiased;
}

img,
svg,
video,
iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--emdt-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover,
a:focus-visible {
  color: var(--emdt-accent-dark);
}

:focus-visible {
  outline: 3px solid var(--emdt-gold);
  outline-offset: 2px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--emdt-font-head);
  line-height: 1.25;
  margin: 0 0 0.5em;
  color: var(--emdt-navy);
}

.wrap,
.emdt-wrap {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 1rem;
}

@media (min-width: 768px) {
  .wrap,
  .emdt-wrap {
    padding-inline: 1.5rem;
  }
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link,
.emdt-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100000;
  background: var(--emdt-navy);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 0.5rem 0;
}

.skip-link:focus,
.emdt-skip-link:focus {
  left: 0;
}

/* ------------------------------------------------------------------ */
/* Header                                                              */
/* ------------------------------------------------------------------ */

.emdt-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 0.96);
  color: var(--emdt-slate-800);
  border-bottom: 1px solid var(--emdt-slate-200);
  box-shadow: 0 2px 12px rgb(15 23 42 / 0.06);
  backdrop-filter: blur(12px);
}

.emdt-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 80px;
  flex-wrap: nowrap;
  padding-block: 0.65rem;
}

.emdt-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--emdt-navy);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  flex: none;
}

.emdt-brand__mark {
  width: 48px;
  height: 48px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--emdt-navy), var(--emdt-blue));
  color: #fff;
  box-shadow: var(--emdt-shadow-sm);
}

.emdt-brand__text,
.emdt-footer__brand-text {
  display: grid;
  line-height: 1.15;
}

.emdt-brand__name {
  color: var(--emdt-navy);
  font-size: 1.15rem;
  font-weight: 800;
}

.emdt-brand__sub {
  margin-top: 0.2rem;
  color: var(--emdt-gold-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.emdt-brand__logo {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 10px;
  background: var(--emdt-gold);
  color: var(--emdt-navy);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1rem;
}

.emdt-nav {
  display: none;
}

.emdt-nav__list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.emdt-nav__link {
  display: inline-block;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  color: var(--emdt-slate-600);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.emdt-nav__link:hover,
.emdt-nav__link:focus-visible {
  background: rgb(37 99 235 / 0.08);
  color: var(--emdt-blue);
}

.emdt-nav__link--accent {
  color: var(--emdt-gold-dark);
  font-weight: 700;
  background: rgb(217 119 6 / 0.08);
}

.emdt-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: none;
}

.emdt-header__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--emdt-navy);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

.emdt-header__phone:hover {
  color: var(--emdt-blue);
}

.emdt-header__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--emdt-gold);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  padding: 0.7rem 1.2rem;
  border-radius: 12px;
  white-space: nowrap;
  box-shadow: 0 5px 14px rgb(217 119 6 / 0.2);
}

.emdt-header__cta:hover,
.emdt-header__cta:focus-visible {
  background: var(--emdt-gold-dark);
  color: #fff;
}

.emdt-menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 1px solid var(--emdt-slate-200);
  color: var(--emdt-navy);
  border-radius: 8px;
  padding: 0.45rem 0.8rem;
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
}

.emdt-mobile-menu {
  background: #fff;
  border-top: 1px solid var(--emdt-slate-200);
  padding: 0.75rem 1rem 1.25rem;
  box-shadow: 0 12px 18px rgb(15 23 42 / 0.08);
}

.emdt-mobile-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.15rem;
}

.emdt-mobile-menu__list a {
  display: block;
  padding: 0.7rem 0.5rem;
  color: var(--emdt-slate-600);
  text-decoration: none;
  border-radius: 8px;
}

.emdt-mobile-menu__list a:hover,
.emdt-mobile-menu__list a:focus-visible {
  background: var(--emdt-slate-100);
  color: var(--emdt-blue);
}

.emdt-mobile-menu__list .emdt-nav__link--accent {
  background: rgb(217 119 6 / 0.1);
  color: var(--emdt-gold-dark);
  font-weight: 700;
}

.emdt-mobile-menu__cta {
  margin-top: 0.75rem;
  text-align: center;
  background: var(--emdt-gold) !important;
  color: var(--emdt-navy) !important;
  font-weight: 700;
}

@media (min-width: 1024px) {
  .emdt-menu-toggle,
  .emdt-mobile-menu {
    display: none;
  }

  .emdt-nav {
    display: block;
  }
}

/* ------------------------------------------------------------------ */
/* Buttons, notices, tags                                              */
/* ------------------------------------------------------------------ */

.emdt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font: inherit;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    transform 0.15s ease;
}

.emdt-btn:active {
  transform: translateY(1px);
}

.emdt-btn--primary {
  background: var(--emdt-accent);
  color: #fff;
}

.emdt-btn--primary:hover,
.emdt-btn--primary:focus-visible {
  background: var(--emdt-accent-dark);
  color: #fff;
}

.emdt-btn--gold {
  background: var(--emdt-gold);
  color: var(--emdt-navy);
}

.emdt-btn--gold:hover,
.emdt-btn--gold:focus-visible {
  background: var(--emdt-gold-light);
  color: var(--emdt-navy);
}

.emdt-btn--ghost {
  background: transparent;
  border-color: var(--emdt-accent);
  color: var(--emdt-accent);
}

.emdt-btn--ghost:hover,
.emdt-btn--ghost:focus-visible {
  background: var(--emdt-accent);
  color: #fff;
}

.emdt-btn--youtube {
  background: #ff0000;
  color: #fff;
}

.emdt-btn--block {
  width: 100%;
}

.emdt-btn.is-busy {
  opacity: 0.65;
  cursor: wait;
}

.emdt-notice {
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  border: 1px solid;
  margin-block: 1rem;
  font-size: 0.95rem;
}

.emdt-notice--error {
  background: #fef2f2;
  border-color: #fca5a5;
  color: #991b1b;
}

.emdt-notice--success {
  background: #f0fdf4;
  border-color: #86efac;
  color: #166534;
}

.emdt-notice--warn {
  background: #fffbeb;
  border-color: #fcd34d;
  color: #92400e;
}

.emdt-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgb(37 99 235 / 0.1);
  color: var(--emdt-accent);
}

.emdt-tag--gold {
  background: rgb(217 119 6 / 0.12);
  color: var(--emdt-gold-dark, #92400e);
}

.emdt-tag--verify {
  background: rgb(5 150 105 / 0.1);
  color: #047857;
}

/* ------------------------------------------------------------------ */
/* Sections                                                            */
/* ------------------------------------------------------------------ */

.emdt-main {
  min-height: 60vh;
}

.emdt-section {
  padding-block: 3.5rem;
}

@media (min-width: 768px) {
  .emdt-section {
    padding-block: 5rem;
  }
}

.emdt-section--white {
  background: #fff;
}

.emdt-section--tint {
  background: var(--emdt-bg-soft);
}

.emdt-section--slate {
  background: var(--emdt-slate-100);
}

.emdt-section--navy {
  background: var(--emdt-navy);
  color: rgb(255 255 255 / 0.9);
}

.emdt-section--navy h2,
.emdt-section--navy h3 {
  color: #fff;
}

.emdt-section--dark {
  background: #0f172a;
  color: rgb(255 255 255 / 0.84);
}

.emdt-section--dark h2,
.emdt-section--dark h3 {
  color: #fff;
}

.emdt-section--warm {
  background: linear-gradient(135deg, #fffbeb, #fff7ed 55%, #eff6ff);
}

.emdt-section__head {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 2.75rem;
}

.emdt-section__head--inner {
  max-width: 860px;
  margin-bottom: 2.5rem;
}

.emdt-chip {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.35rem 0.9rem;
  border: 1px solid rgb(37 99 235 / 0.12);
  border-radius: 999px;
  background: rgb(37 99 235 / 0.1);
  color: var(--emdt-blue);
  font-size: 0.78rem;
  font-weight: 700;
}

.emdt-chip--navy {
  background: #dbeafe;
  color: var(--emdt-navy);
}

.emdt-chip--gold {
  border-color: rgb(217 119 6 / 0.16);
  background: rgb(217 119 6 / 0.12);
  color: var(--emdt-gold-dark);
}

.emdt-chip--light {
  border-color: rgb(255 255 255 / 0.2);
  background: rgb(255 255 255 / 0.14);
  color: #dbeafe;
}

.emdt-section__title {
  font-size: 1.875rem;
  font-weight: 800;
}

@media (min-width: 640px) {
  .emdt-section__title {
    font-size: 2.25rem;
  }
}

.emdt-section__lead {
  color: rgb(255 255 255 / 0.75);
  margin: 0.5rem auto 0;
}

.emdt-section--white .emdt-section__lead {
  color: #5b6472;
}

.emdt-section--slate .emdt-section__lead {
  color: var(--emdt-slate-600);
}

.emdt-section--dark .emdt-section__lead {
  color: rgb(255 255 255 / 0.68);
}

.emdt-section--warm .emdt-section__lead {
  color: var(--emdt-slate-600);
}

.emdt-rule {
  display: block;
  width: 72px;
  height: 4px;
  border-radius: 4px;
  background: var(--emdt-gold);
  margin: 0.9rem auto 0;
}

/* ------------------------------------------------------------------ */
/* Countries                                                           */
/* ------------------------------------------------------------------ */

.emdt-countries {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1rem;
  margin-top: 2rem;
  margin-bottom: 4rem;
}

.emdt-country {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-width: 0;
  min-height: 52px;
  padding: 0.75rem 1.5rem;
  border-radius: 16px;
  border: 2px solid transparent;
  background: var(--emdt-slate-100);
  font: inherit;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.emdt-country:hover {
  border-color: var(--emdt-accent);
  box-shadow: 0 4px 14px rgb(37 99 235 / 0.12);
}

.emdt-country.is-active {
  border-color: var(--emdt-accent);
  background: var(--emdt-blue);
  color: #fff;
  box-shadow: 0 0 0 4px #bfdbfe, 0 8px 18px rgb(37 99 235 / 0.16);
}

.emdt-country.is-active .emdt-country__label {
  color: #fff;
}

.emdt-country.is-coming-soon {
  opacity: 1;
}

.emdt-country__flag {
  font-size: 1rem;
  line-height: 1;
}

.emdt-country__label {
  font-weight: 700;
  font-size: 1rem;
  color: var(--emdt-slate-800);
}

.emdt-country-panel {
  margin-top: 1rem;
  padding: 2.5rem;
  border: 1px solid #dbeafe;
  border-radius: 24px;
  background: linear-gradient(135deg, #f8fafc, #eff6ff 70%, #fff);
  box-shadow: var(--emdt-shadow);
}

.emdt-country-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.emdt-country-intro__text {
  max-width: 760px;
  text-align: center;
}

.emdt-country-intro--centered {
  display: block;
  text-align: center;
}

.emdt-country-intro--centered .emdt-country-intro__text {
  margin-inline: auto;
  text-align: center;
}

.emdt-country-intro__title {
  color: #0f172a;
  font-size: 2.25rem;
  font-weight: 800;
}

.emdt-country-intro__desc {
  max-width: 680px;
  color: var(--emdt-slate-600);
  margin-bottom: 0;
}

.emdt-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: #dbeafe;
  color: var(--emdt-navy);
  font-size: 0.875rem;
  font-weight: 700;
}

.emdt-eyebrow__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--emdt-blue);
}

.emdt-stats {
  display: grid;
  grid-template-columns: repeat(2, 164px);
  justify-content: end;
  gap: 1rem;
  margin: 0;
}

.emdt-stats__item {
  min-width: 0;
  min-height: 128px;
  display: grid;
  place-content: center;
  padding: 1rem 0.75rem;
  border: 1px solid var(--emdt-slate-200);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--emdt-shadow-sm);
  text-align: center;
}

.emdt-stats__item dd {
  display: grid;
  gap: 0.25rem;
  margin: 0;
  line-height: 1.3;
}

.emdt-stats__value {
  color: var(--emdt-blue);
  font-size: 1.55rem;
  font-weight: 800;
}

.emdt-stats__label {
  color: var(--emdt-slate-600);
  font-size: 0.95rem;
  font-weight: 500;
}

.emdt-stats__item:nth-child(2) .emdt-stats__value {
  color: var(--emdt-gold);
}

/* ------------------------------------------------------------------ */
/* Cards and grids                                                     */
/* ------------------------------------------------------------------ */

.emdt-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.emdt-grid--2 {
  grid-template-columns: 1fr;
}

.emdt-grid--3 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .emdt-grid--2,
  .emdt-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .emdt-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.emdt-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid rgb(30 58 138 / 0.12);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 2px 10px rgb(30 58 138 / 0.06);
}

.emdt-card--university {
  padding: 1.5rem;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgb(30 58 138 / 0.06);
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.emdt-card--university:hover,
.emdt-card--university:focus-within {
  transform: translateY(-3px);
  border-color: rgb(37 99 235 / 0.3);
  box-shadow: 0 12px 28px rgb(30 58 138 / 0.12);
}

.emdt-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.emdt-card__top .emdt-tag {
  flex: 0 1 auto;
}

.emdt-tag--muted {
  background: #eff6ff;
  color: var(--emdt-blue);
}

.emdt-rank {
  display: inline-flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 0.3rem;
  max-width: 58%;
  color: var(--emdt-gold-dark);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: right;
}

.emdt-rank .emdt-icon {
  flex: none;
  margin-top: 0.05rem;
}

.emdt-card__title {
  font-size: 1.08rem;
  margin-bottom: 0.4rem;
}

.emdt-card--university .emdt-card__title {
  margin: 0 0 0.65rem;
  color: var(--emdt-navy);
  font-size: 1.2rem;
  line-height: 1.4;
}

.emdt-card__title a {
  color: var(--emdt-navy);
  text-decoration: none;
}

.emdt-card__title a:hover,
.emdt-card__title a:focus-visible {
  color: var(--emdt-accent);
  text-decoration: underline;
}

.emdt-card__meta {
  font-size: 0.85rem;
  color: #6b7280;
  margin: 0 0 0.5rem;
}

.emdt-card__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--emdt-slate-100);
}

.emdt-card__foot .emdt-card__meta {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.4rem;
  min-width: 0;
  margin: 0;
  color: var(--emdt-slate-400);
  font-size: 0.82rem;
  line-height: 1.45;
}

.emdt-card__foot .emdt-card__meta .emdt-icon {
  flex: none;
  margin-top: 0.1rem;
  color: var(--emdt-blue);
}

.emdt-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  flex: none;
  color: var(--emdt-blue);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: right;
  text-decoration: none;
}

.emdt-card__link:hover,
.emdt-card__link:focus-visible {
  color: var(--emdt-navy);
  text-decoration: underline;
}

.emdt-card__desc {
  font-size: 0.95rem;
  color: #4b5563;
}

.emdt-card__media {
  margin: -1.25rem -1.25rem 1rem;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
}

.emdt-card__media img {
  width: 100%;
  aspect-ratio: 640 / 400;
  object-fit: cover;
}

.emdt-card__actions {
  margin-top: auto;
  padding-top: 1rem;
}

.emdt-card--review .emdt-card__stars {
  color: var(--emdt-gold);
  letter-spacing: 2px;
}

/* ------------------------------------------------------------------ */
/* University categories                                               */
/* ------------------------------------------------------------------ */

.emdt-category {
  margin-bottom: 2.5rem;
}

.emdt-category__head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.25rem;
}

.emdt-category__number {
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--emdt-navy);
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
}

.emdt-category__title {
  font-size: 1.3rem;
  margin: 0;
}

.emdt-category__number {
  background: var(--emdt-navy);
  color: #fff;
}

.emdt-category__empty {
  min-height: 112px;
  display: grid;
  place-content: center;
  padding: 1.5rem;
  border: 1px dashed var(--emdt-slate-400);
  border-radius: 16px;
  background: rgb(255 255 255 / 0.72);
  color: var(--emdt-slate-600);
  text-align: center;
}

.emdt-category__empty p {
  margin: 0;
}

/* ------------------------------------------------------------------ */
/* Gallery                                                             */
/* ------------------------------------------------------------------ */

.emdt-gallery {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 768px) {
  .emdt-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.emdt-gallery__figure {
  position: relative;
  aspect-ratio: 1 / 1;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #0f172a;
  border: 1px solid rgb(30 58 138 / 0.1);
}

.emdt-gallery__figure img,
.emdt-gallery__img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.emdt-gallery__figure:hover img,
.emdt-gallery__figure:focus-within img {
  transform: scale(1.04);
}

.emdt-gallery__caption {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  gap: 0.2rem;
  padding: 1.25rem 1rem 0.85rem;
  background: linear-gradient(transparent, rgb(2 6 23 / 0.88));
  color: #fff;
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.emdt-gallery__figure:hover .emdt-gallery__caption,
.emdt-gallery__figure:focus-within .emdt-gallery__caption {
  opacity: 1;
}

.emdt-gallery__date {
  color: rgb(255 255 255 / 0.7);
  font-size: 0.78rem;
}

@media (hover: none) {
  .emdt-gallery__caption {
    opacity: 1;
  }
}

/* ------------------------------------------------------------------ */
/* Video                                                               */
/* ------------------------------------------------------------------ */

.emdt-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--emdt-navy-deep);
  border-radius: 14px;
  overflow: hidden;
}

.emdt-video__btn {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: rgb(30 58 138 / 0.55);
  border: 0;
  color: #fff;
  cursor: pointer;
  font: inherit;
}

.emdt-video__btn:hover,
.emdt-video__btn:focus-visible {
  background: rgb(30 58 138 / 0.75);
}

.emdt-video__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--emdt-gold);
  color: var(--emdt-navy);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgb(0 0 0 / 0.35);
}

.emdt-video__frame,
.emdt-video__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ------------------------------------------------------------------ */
/* Apply CTA band                                                      */
/* ------------------------------------------------------------------ */

.emdt-apply-cta {
  text-align: center;
  padding-block: 5rem;
  background: linear-gradient(110deg, var(--emdt-navy), var(--emdt-blue));
  color: #fff;
}

.emdt-apply-cta__title {
  max-width: 900px;
  margin: 0.75rem auto 0;
  color: #fff;
  font-size: 2.25rem;
  font-weight: 800;
}

.emdt-apply-cta .emdt-btn--accent {
  background: var(--emdt-gold);
  color: #fff;
}

.emdt-apply-cta .emdt-btn--accent:hover,
.emdt-apply-cta .emdt-btn--accent:focus-visible {
  background: var(--emdt-gold-dark);
}

.emdt-apply-cta__lead {
  max-width: 560px;
  margin: 0.5rem auto 0;
  color: rgb(255 255 255 / 0.8);
}

.emdt-apply-cta__action {
  margin-top: 1.5rem;
}

@media (max-width: 767px) {
  .emdt-header__inner {
    min-height: 68px;
  }

  .emdt-brand__mark {
    width: 42px;
    height: 42px;
  }

  .emdt-brand__name {
    font-size: 1rem;
  }

  .emdt-brand__sub {
    font-size: 0.62rem;
  }

  .emdt-header__phone,
  .emdt-header__cta {
    display: none;
  }

  .emdt-country-panel {
    padding: 1.25rem;
    border-radius: 18px;
  }

  .emdt-country-intro {
    display: block;
  }

  .emdt-country-intro__title {
    font-size: 1.8rem;
  }

  .emdt-country {
    min-width: 0;
    min-height: 52px;
    padding: 0.75rem 0.8rem;
    flex: 0 1 calc(50% - 0.5rem);
  }

  .emdt-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1.5rem;
  }

  .emdt-apply-cta__title {
    font-size: 1.8rem;
  }
}

@media (min-width: 1024px) {
  .emdt-country-intro__text {
    text-align: left;
  }
}

/* ------------------------------------------------------------------ */
/* Application form                                                    */
/* ------------------------------------------------------------------ */

.emdt-apply {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .emdt-apply {
    grid-template-columns: 1fr 1.4fr;
    align-items: start;
  }
}

.emdt-info-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.emdt-info-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}

.emdt-info-list svg {
  flex: none;
  margin-top: 0.2rem;
  color: var(--emdt-accent);
}

.emdt-form {
  background: #fff;
  border: 1px solid rgb(30 58 138 / 0.12);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 4px 18px rgb(30 58 138 / 0.08);
}

.emdt-form__grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .emdt-form__grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.emdt-field {
  display: grid;
  gap: 0.35rem;
}

.emdt-field label,
.emdt-field .emdt-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--emdt-navy);
}

.emdt-field .emdt-req {
  color: #dc2626;
}

.emdt-field input,
.emdt-field select,
.emdt-field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1.5px solid rgb(30 58 138 / 0.22);
  border-radius: 10px;
  font: inherit;
  background: #fff;
  color: var(--emdt-text);
}

.emdt-field textarea {
  min-height: 120px;
  resize: vertical;
}

.emdt-field input:focus-visible,
.emdt-field select:focus-visible,
.emdt-field textarea:focus-visible {
  border-color: var(--emdt-accent);
  outline: 3px solid rgb(37 99 235 / 0.25);
  outline-offset: 1px;
}

.emdt-field input[aria-invalid="true"],
.emdt-field select[aria-invalid="true"],
.emdt-field textarea[aria-invalid="true"] {
  border-color: #dc2626;
}

.emdt-field-error {
  color: #b91c1c;
  font-size: 0.85rem;
  margin: 0;
}

.emdt-field-hint {
  color: #6b7280;
  font-size: 0.85rem;
  margin: 0;
}

.emdt-hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.emdt-form__actions {
  margin-top: 1.25rem;
}

.emdt-consent-row {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.emdt-consent-row input {
  width: auto;
  margin-top: 0.3rem;
}

/* ------------------------------------------------------------------ */
/* Modal                                                               */
/* ------------------------------------------------------------------ */

.emdt-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgb(15 23 42 / 0.52);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.emdt-modal__backdrop {
  position: absolute;
  inset: 0;
}

/*
 * The dialog is toggled with the `hidden` attribute, but `display:grid` above
 * would otherwise win over it and leave an invisible full-screen overlay that
 * swallows every click on the page. This rule must stay unlayered and specific.
 */
.emdt-modal[hidden],
.emdt-mobile-menu[hidden] {
  display: none !important;
}

.emdt-modal__dialog {
  position: relative;
  width: min(100%, 472px);
  background: #fff;
  border-radius: 24px;
  padding: 2rem 2rem 1.9rem;
  text-align: center;
  box-shadow: 0 24px 60px rgb(0 0 0 / 0.35);
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.emdt-modal__dialog.is-open {
  opacity: 1;
  transform: none;
}

.emdt-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--emdt-slate-600);
  cursor: pointer;
}

.emdt-modal__close:hover {
  background: var(--emdt-slate-100);
  color: var(--emdt-navy);
}

.emdt-modal__badge {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  margin-inline: auto;
  border-radius: 50%;
  background: #fef3c7;
  color: var(--emdt-gold);
  margin-bottom: 1rem;
}

.emdt-modal__title {
  margin: 0 0 0.5rem;
  color: #111827;
  font-size: 1.5rem;
  font-weight: 800;
}

.emdt-modal__country {
  display: none;
}

.emdt-modal__text {
  max-width: 400px;
  margin: 0 auto 1.5rem;
  color: var(--emdt-slate-600);
  font-size: 1.05rem;
  line-height: 1.55;
}

.emdt-modal__dialog .emdt-btn--primary {
  min-height: 50px;
  border-radius: 12px;
  background: var(--emdt-navy);
  color: #fff;
  box-shadow: 0 4px 10px rgb(30 58 138 / 0.18);
}

.emdt-modal__dialog .emdt-btn--primary:hover,
.emdt-modal__dialog .emdt-btn--primary:focus-visible {
  background: #172f73;
  color: #fff;
}

@media (max-width: 480px) {
  .emdt-modal__dialog {
    padding: 2rem 1.35rem 1.35rem;
    border-radius: 20px;
  }
}

body.emdt-modal-open {
  overflow: hidden;
}

/* ------------------------------------------------------------------ */
/* Footer                                                              */
/* ------------------------------------------------------------------ */

.emdt-footer {
  background: var(--emdt-navy-deep);
  color: rgb(255 255 255 / 0.78);
  padding-block: 2.5rem 1.5rem;
  margin-top: 0;
}

.emdt-footer__grid {
  display: grid;
  gap: 2rem 2.5rem;
}

@media (min-width: 768px) {
  .emdt-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .emdt-footer__grid {
    grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .emdt-footer__grid > :first-child {
    grid-column: 1 / -1;
  }
}

.emdt-footer h2,
.emdt-footer h3 {
  color: #fff;
  font-size: 1.05rem;
}

.emdt-footer a {
  color: rgb(255 255 255 / 0.85);
  text-decoration: none;
  text-underline-offset: 3px;
}

.emdt-footer a:hover,
.emdt-footer a:focus-visible {
  color: #fbbf24;
  text-decoration: underline;
}

.emdt-footer__col {
  min-width: 0;
}

.emdt-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.emdt-brand__mark--footer {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.emdt-footer__name {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
}

.emdt-footer__sub {
  margin-top: 0.2rem;
  color: #fbbf24;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.emdt-footer__tagline,
.emdt-footer__empty {
  max-width: 320px;
  margin: 0;
  color: rgb(255 255 255 / 0.66);
  font-size: 0.92rem;
}

.emdt-footer__heading {
  margin: 0 0 1rem;
}

.emdt-footer__list,
.emdt-footer__legal,
.emdt-social {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.emdt-footer__list li {
  min-width: 0;
  line-height: 1.5;
}

.emdt-footer__list--contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.emdt-footer__list--contact .emdt-icon {
  flex: none;
  margin-top: 0.2rem;
}

.emdt-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.emdt-social__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.emdt-footer__bottom {
  border-top: 1px solid rgb(255 255 255 / 0.14);
  margin-top: 2rem;
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.85rem;
  align-items: center;
}

.emdt-footer__copy {
  margin: 0;
}

.emdt-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.emdt-footer__legal .emdt-admin-hint {
  color: rgb(255 255 255 / 0.55);
}

@media (max-width: 767px) {
  .emdt-footer__grid {
    gap: 1.5rem;
  }

  .emdt-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ------------------------------------------------------------------ */
/* Consent banner                                                      */
/* ------------------------------------------------------------------ */

.emdt-consent {
  position: fixed;
  z-index: 300;
  inset-inline: 1rem;
  bottom: 1rem;
  max-width: 720px;
  margin-inline: auto;
  background: #fff;
  border: 1px solid rgb(30 58 138 / 0.2);
  border-radius: 16px;
  padding: 1.1rem 1.25rem;
  box-shadow: 0 16px 40px rgb(0 0 0 / 0.25);
  display: grid;
  gap: 0.75rem;
}

.emdt-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* ------------------------------------------------------------------ */
/* Generic page templates                                              */
/* ------------------------------------------------------------------ */

.emdt-page {
  padding-block: 2.5rem 3.5rem;
}

.emdt-entry__title {
  font-size: clamp(1.6rem, 1.3rem + 1.6vw, 2.3rem);
}

.emdt-prose {
  max-width: 760px;
}

.emdt-prose p,
.emdt-prose ul,
.emdt-prose ol {
  margin-block: 1rem;
}

.emdt-empty {
  text-align: center;
  color: #6b7280;
  padding-block: 2rem;
}

.emdt-empty--card {
  max-width: 1000px;
  margin-inline: auto;
  padding: 2.5rem;
  border: 1px solid var(--emdt-slate-200);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--emdt-shadow-sm);
}

.emdt-empty--dark {
  max-width: 840px;
  margin-inline: auto;
  padding: 2rem;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 20px;
  background: rgb(255 255 255 / 0.04);
  color: rgb(255 255 255 / 0.72);
}

.emdt-empty__title {
  color: var(--emdt-navy);
  font-size: 1.35rem;
}

.emdt-empty--dark .emdt-empty__title {
  color: #fff;
}

.emdt-404 {
  text-align: center;
}

.emdt-404__code {
  font-size: clamp(3.5rem, 10vw, 6rem);
  font-weight: 800;
  color: rgb(30 58 138 / 0.16);
  margin: 0;
  line-height: 1;
}

/* ------------------------------------------------------------------ */
/* Star icons                                                          */
/* ------------------------------------------------------------------ */

.emdt-icon--gold {
  color: var(--emdt-gold);
}

.emdt-icon--dim {
  color: rgb(30 58 138 / 0.2);
}

.emdt-card__media--placeholder {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  background: #0f172a;
  color: rgb(255 255 255 / 0.72);
}

.emdt-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.emdt-card__text {
  color: var(--emdt-slate-600);
  font-size: 0.95rem;
}

.emdt-card__byline {
  margin: auto 0 0;
  padding-top: 0.75rem;
  color: var(--emdt-slate-600);
  font-size: 0.88rem;
}

.emdt-stars {
  display: flex;
  gap: 0.15rem;
  margin: 0.75rem 0 0;
}

.emdt-interview {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(240px, 1fr);
  align-items: center;
  gap: 1.5rem;
  max-width: 920px;
  margin: 0 auto 2.5rem;
  padding: 1rem;
  border: 1px solid #1e293b;
  border-radius: 24px;
  background: #0f172a;
  color: #fff;
  box-shadow: var(--emdt-shadow-strong);
}

.emdt-interview__media {
  overflow: hidden;
  border-radius: 16px;
  background: #000;
}

.emdt-interview__body {
  padding: 1rem;
}

.emdt-interview__title {
  color: #fff;
  font-size: 1.35rem;
}

.emdt-interview__byline {
  color: #94a3b8;
}

.emdt-scholarship {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: 2rem;
}

.emdt-scholarship__media,
.emdt-scholarship__body {
  min-width: 0;
  padding: 1.5rem;
  border: 1px solid rgb(217 119 6 / 0.16);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--emdt-shadow);
}

.emdt-scholarship__media {
  position: relative;
  padding: 0.75rem;
  overflow: visible;
}

.emdt-scholarship__video-placeholder {
  aspect-ratio: 16 / 9;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.85rem;
  padding: 1.5rem;
  border-radius: 16px;
  background: #0f172a;
  color: #fff;
  text-align: center;
}

.emdt-scholarship__video-placeholder p {
  margin: 0;
  color: rgb(255 255 255 / 0.78);
}

.emdt-scholarship__play {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #dc2626;
  color: #fff;
}

.emdt-scholarship__badge {
  position: absolute;
  right: 1.25rem;
  bottom: -0.75rem;
  z-index: 1;
  padding: 0.65rem 1rem;
  border-radius: 12px;
  background: var(--emdt-gold);
  color: #fff;
  box-shadow: var(--emdt-shadow);
  font-size: 0.82rem;
  font-weight: 700;
}

.emdt-scholarship__media .emdt-video {
  border-radius: 16px;
}

.emdt-scholarship__body {
  border-color: var(--emdt-slate-200);
  border-radius: 18px;
}

.emdt-scholarship__body > p:last-child {
  margin: 1.25rem 0 0;
}

.emdt-scholarship__body .emdt-btn--accent {
  display: flex;
  width: 100%;
  background: var(--emdt-gold);
  color: #fff;
  box-shadow: var(--emdt-shadow-sm);
}

.emdt-scholarship__body .emdt-btn--accent:hover,
.emdt-scholarship__body .emdt-btn--accent:focus-visible {
  background: var(--emdt-gold-dark);
  color: #fff;
}

.emdt-scholarship__body {
  padding: 2rem;
}

.emdt-scholarship__title {
  color: var(--emdt-navy);
}

.emdt-check-list,
.emdt-contact-list {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0;
  padding: 0;
  list-style: none;
}

.emdt-check-list li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--emdt-slate-600);
}

.emdt-check-list li::before {
  position: absolute;
  left: 0;
  color: var(--emdt-emerald);
  content: "✓";
  font-weight: 800;
}

.emdt-apply-layout {
  display: grid;
  gap: 1.5rem;
}

.emdt-apply-layout__aside,
.emdt-apply-layout__main {
  display: grid;
  align-content: start;
  gap: 1.25rem;
  min-width: 0;
}

.emdt-panel {
  padding: 1.75rem;
  border: 1px solid var(--emdt-slate-200);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--emdt-shadow-sm);
}

.emdt-panel--navy {
  border-color: var(--emdt-navy);
  background: var(--emdt-navy);
  color: #fff;
}

.emdt-panel__title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--emdt-navy);
  font-size: 1.2rem;
}

.emdt-panel__title--light {
  color: #fff;
}

.emdt-panel__text {
  color: var(--emdt-slate-600);
}

.emdt-panel--navy .emdt-panel__text {
  color: #bfdbfe;
}

.emdt-panel--form {
  padding: 2rem;
  box-shadow: var(--emdt-shadow);
}

.emdt-form__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.emdt-form__row + .emdt-form__row {
  margin-top: 1rem;
}

.emdt-field {
  margin: 0;
}

.emdt-field__label {
  display: block;
  color: var(--emdt-slate-800);
  font-size: 0.9rem;
  font-weight: 700;
}

.emdt-field input,
.emdt-field select,
.emdt-field textarea {
  min-height: 48px;
  border-radius: 12px;
}

.emdt-field input[type="checkbox"],
.emdt-field input[type="radio"] {
  width: 1.1rem;
  min-height: 1.1rem;
  height: 1.1rem;
  padding: 0;
  border-radius: 4px;
}

.emdt-field__error {
  color: #b91c1c;
  font-size: 0.84rem;
}

.emdt-req {
  color: #dc2626;
}

.emdt-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.emdt-contact-list .emdt-btn {
  width: 100%;
}

.emdt-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  padding: 1rem 1.2rem;
  border: 1px solid;
  border-radius: 14px;
}

.emdt-alert--success {
  border-color: #a7f3d0;
  background: #ecfdf5;
  color: #065f46;
}

.emdt-alert--error {
  border-color: #fecaca;
  background: #fef2f2;
  color: #991b1b;
}

.emdt-alert--info {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: var(--emdt-navy);
}

.emdt-alert__title,
.emdt-alert__text {
  margin: 0;
}

.emdt-alert__title {
  font-weight: 800;
}

@media (min-width: 768px) {
  .emdt-apply-layout {
    grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.65fr);
    align-items: start;
  }

  .emdt-form__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .emdt-interview,
  .emdt-scholarship {
    grid-template-columns: minmax(0, 1fr);
  }

  .emdt-scholarship__badge {
    right: 1rem;
    bottom: -0.5rem;
    max-width: calc(100% - 2rem);
  }

  .emdt-panel--form {
    padding: 1.25rem;
  }
}
