.country-details {
  width: 100%;
  overflow: hidden;
  background: #fff;
  color: #17233c;
}

.country-details *,
.country-details *::before,
.country-details *::after {
  box-sizing: border-box;
}

.country-hero {
  width: min(calc(100% - 4.8rem), 116rem);
  min-height: 54rem;
  margin: 2.4rem auto 0;
  position: relative;
  border-radius: 2rem;
  background: #172d50;
  overflow: hidden;
}

.country-hero > img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  display: block;
  object-fit: cover;
}

.country-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 27, 52, 0.15) 0%, rgba(12, 27, 52, 0.88) 82%);
}

html[dir='ltr'] .country-hero__overlay {
  background: linear-gradient(270deg, rgba(12, 27, 52, 0.15) 0%, rgba(12, 27, 52, 0.88) 82%);
}

.country-hero__content {
  width: min(52rem, 52%);
  padding: 7rem 5rem;
  position: relative;
  z-index: 1;
  color: #fff;
}

html[dir='ltr'] .country-hero__content {
  margin-left: auto;
}

.country-hero__content > span,
.country-section__heading > span,
.country-next-step > div:first-child > span {
  display: inline-block;
  margin-bottom: 1.2rem;
  color: #ff7188;
  font-size: 1.5rem;
  font-weight: 800;
}

.country-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(3.4rem, 5vw, 5.6rem);
  font-weight: 900;
  line-height: 1.35;
}

.country-hero p {
  margin: 1.8rem 0 0;
  color: #e2e9f4;
  font-size: 1.7rem;
  line-height: 2;
}

.country-hero__actions {
  display: flex;
  margin-top: 3rem;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.country-hero__actions a,
.country-next-step__actions a {
  display: inline-flex;
  min-height: 5rem;
  padding: 1rem 2.3rem;
  align-items: center;
  justify-content: center;
  border: 1px solid #cf2340;
  border-radius: 1rem;
  background: #cf2340;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 900;
  text-decoration: none;
}

.country-hero__actions .country-hero__secondary,
.country-next-step__actions .country-next-step__secondary {
  border-color: rgba(255, 255, 255, 0.55);
  background: transparent;
}

.country-hero__actions a:hover,
.country-hero__actions a:focus-visible,
.country-next-step__actions a:hover,
.country-next-step__actions a:focus-visible {
  border-color: #fff;
  background: #fff;
  color: #172d50;
  text-decoration: none;
}

.country-facts {
  display: grid;
  width: min(calc(100% - 8rem), 108rem);
  margin: -4.2rem auto 0;
  position: relative;
  z-index: 2;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  border: 1px solid #dfe5ee;
  border-radius: 1.6rem;
  background: #fff;
  box-shadow: 0 1.5rem 4rem rgba(23, 35, 60, 0.12);
  overflow: hidden;
}

.country-facts > div {
  min-width: 0;
  padding: 2.3rem 1.8rem;
  text-align: center;
}

.country-facts > div + div {
  border-inline-start: 1px solid #e5eaf1;
}

.country-facts span {
  display: block;
  margin-bottom: 0.8rem;
  color: #6c7688;
  font-size: 1.3rem;
}

.country-facts strong {
  display: block;
  color: #17233c;
  font-size: 1.65rem;
  font-weight: 900;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.country-nav {
  width: min(calc(100% - 4.8rem), 116rem);
  margin: 2.4rem auto 0;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  border: 1px solid #e0e6ef;
  border-inline-start: .4rem solid #243d69;
  border-radius: 1.2rem;
  background: #f7f9fc;
}

.country-nav h2 {
  margin: 0 0 1.1rem;
  color: #17233c;
  font-size: 1.9rem;
}

.country-nav ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  gap: .8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.country-nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 4.4rem;
  gap: .6rem;
  padding: .7rem 1.2rem;
  border: 1px solid #dbe4f0;
  border-radius: 0.8rem;
  background: #fff;
  color: #243d69;
  font-size: 1.4rem;
  font-weight: 800;
  text-decoration: none;
}

.country-facts[id],
.country-next-step[id] {
  scroll-margin-top: 13rem;
}

@media (prefers-reduced-motion: no-preference) {
  html:has(.country-details) {
    scroll-behavior: smooth;
  }
}

.country-nav a:hover,
.country-nav a:focus-visible {
  background: #172d50;
  color: #fff;
  text-decoration: none;
}

.country-section {
  width: min(calc(100% - 4.8rem), 116rem);
  margin: 0 auto;
  padding: 7rem 0;
  scroll-margin-top: 13rem;
}

.country-section--tinted {
  width: 100%;
  padding-right: max(2.4rem, calc((100% - 116rem) / 2));
  padding-left: max(2.4rem, calc((100% - 116rem) / 2));
  background: #f5f7fb;
}

.country-section__heading {
  max-width: 76rem;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.country-section__heading h2 {
  margin: 0;
  color: #17233c;
  font-size: clamp(2.7rem, 3vw, 3.8rem);
  font-weight: 900;
  line-height: 1.5;
}

.country-video video {
  width: 100%;
  max-height: 62rem;
  display: block;
  border-radius: 1.6rem;
  background: #0c1525;
  box-shadow: 0 1.5rem 4rem rgba(23, 35, 60, 0.12);
}

.country-gallery {
  padding-top: 2rem;
}

.country-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.country-gallery__grid a {
  height: 24rem;
  border-radius: 1.2rem;
  background: #e8edf4;
  overflow: hidden;
}

.country-gallery__grid img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 180ms ease;
}

.country-gallery__grid a:hover img,
.country-gallery__grid a:focus-visible img {
  transform: scale(1.035);
}

.country-details-grid,
.country-universities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem;
}

.country-disclosure,
.country-university,
.country-faq details {
  border: 1px solid #dfe5ee;
  border-radius: 1.2rem;
  background: #fff;
  overflow: hidden;
}

.country-disclosure summary,
.country-university summary,
.country-faq summary {
  display: flex;
  min-height: 7rem;
  padding: 1.8rem 2rem;
  gap: 1.2rem;
  align-items: center;
  color: #17233c;
  font-size: 1.65rem;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.country-disclosure summary::-webkit-details-marker,
.country-university summary::-webkit-details-marker,
.country-faq summary::-webkit-details-marker {
  display: none;
}

.country-disclosure summary i {
  color: #cf2340;
  font-size: 2rem;
}

.country-disclosure summary span,
.country-university summary span,
.country-faq summary span {
  flex: 1;
}

.country-disclosure summary b,
.country-university summary b,
.country-faq summary b {
  display: grid;
  width: 3.2rem;
  height: 3.2rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #edf1f7;
  color: #243d69;
  font-size: 2rem;
  font-weight: 500;
  transition: transform 180ms ease;
}

.country-disclosure[open] summary b,
.country-university[open] summary b,
.country-faq details[open] summary b {
  transform: rotate(45deg);
}

.country-rich-text {
  padding: 0 2rem 2.2rem;
  color: #4f5c72;
  font-size: 1.55rem;
  line-height: 2.1;
  overflow-wrap: anywhere;
}

.country-rich-text img {
  max-width: 100%;
  height: auto;
}

.country-rich-text table {
  max-width: 100%;
  border-collapse: collapse;
}

.country-rich-text a {
  color: #b71f38;
  text-decoration: underline;
}

.country-content-stack {
  display: grid;
  gap: 2rem;
}

.country-content-card {
  padding: 3rem;
  border: 1px solid #dfe5ee;
  border-radius: 1.4rem;
  background: #fff;
  box-shadow: 0 1rem 3rem rgba(23, 35, 60, 0.05);
}

.country-content-card h3 {
  margin: 0 0 1.4rem;
  color: #17233c;
  font-size: 2.1rem;
  font-weight: 900;
}

.country-content-card.country-rich-text {
  padding: 3rem;
}

.country-university summary {
  padding: 0;
}

.country-university summary img {
  width: 12rem;
  height: 9rem;
  flex: 0 0 auto;
  object-fit: cover;
  background: #eef2f7;
}

.country-university summary span {
  padding: 1.8rem 0;
}

.country-university summary b {
  margin-inline-end: 2rem;
}

.country-university .country-rich-text,
.country-disclosure .country-rich-text,
.country-faq .country-rich-text {
  border-top: 1px solid #e7ebf1;
  padding-top: 2.2rem;
}

.country-faq__list {
  display: grid;
  max-width: 92rem;
  margin: 0 auto;
  gap: 1.2rem;
}

.country-next-step {
  display: flex;
  width: min(calc(100% - 4.8rem), 116rem);
  margin: 0 auto 7rem;
  padding: 3.5rem 4rem;
  gap: 4rem;
  align-items: center;
  justify-content: space-between;
  border-radius: 1.8rem;
  background: #172d50;
  color: #fff;
}

.country-next-step h2 {
  margin: 0;
  color: #fff;
  font-size: 2.6rem;
  font-weight: 900;
}

.country-next-step p {
  max-width: 68rem;
  margin: 1rem 0 0;
  color: #dbe4f2;
  font-size: 1.5rem;
  line-height: 1.9;
}

.country-next-step__actions {
  display: flex;
  gap: 1.2rem;
  flex: 0 0 auto;
}

@media (max-width: 991.98px) {
  .country-hero {
    min-height: 48rem;
  }

  .country-hero__content {
    width: 62%;
    padding: 5rem 3rem;
  }

  .country-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .country-facts > div + div {
    border-inline-start: 0;
  }

  .country-facts > div {
    border-bottom: 1px solid #e5eaf1;
  }

  .country-next-step {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 767.98px) {
  .country-hero {
    display: flex;
    min-height: 60rem;
    align-items: flex-end;
  }

  .country-hero__overlay,
  html[dir='ltr'] .country-hero__overlay {
    background: linear-gradient(0deg, rgba(12, 27, 52, 0.96) 5%, rgba(12, 27, 52, 0.2) 100%);
  }

  .country-hero__content,
  html[dir='ltr'] .country-hero__content {
    width: 100%;
    margin: 0;
    padding: 4rem 2.4rem;
  }

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

  .country-gallery__grid,
  .country-details-grid,
  .country-universities {
    grid-template-columns: 1fr;
  }

  .country-gallery__grid a {
    height: 28rem;
  }
}

@media (max-width: 575.98px) {
  .country-hero,
  .country-nav,
  .country-section,
  .country-next-step {
    width: min(calc(100% - 3.2rem), 116rem);
  }

  .country-hero {
    min-height: 54rem;
    margin-top: 1.6rem;
    border-radius: 1.4rem;
  }

  .country-hero__actions,
  .country-hero__actions a,
  .country-next-step__actions,
  .country-next-step__actions a {
    width: 100%;
  }

  .country-hero__actions,
  .country-next-step__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .country-facts {
    width: min(calc(100% - 4.8rem), 108rem);
  }

  .country-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .country-section--tinted {
    width: 100%;
    padding-right: 1.6rem;
    padding-left: 1.6rem;
  }

  .country-gallery__grid a {
    height: 22rem;
  }

  .country-content-card {
    padding: 2.2rem 1.8rem;
  }

  .country-university summary img {
    width: 9rem;
  }

  .country-next-step {
    margin-bottom: 5rem;
    padding: 3rem 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .country-gallery__grid img,
  .country-disclosure summary b,
  .country-university summary b,
  .country-faq summary b {
    transition: none;
  }
}
