/* Shared redesign for the ten Study Abroad country pages. */
.country-study-redesign {
  --country-primary: #029683;
  --country-primary-dark: #016f62;
  --country-secondary: #f0801c;
  --country-ink: #15302d;
  --country-muted: #5f706e;
  position: relative;
  overflow: hidden;
  padding: 96px 0 110px !important;
  background:
    radial-gradient(circle at 4% 10%, rgba(2, 150, 131, .1), transparent 26%),
    radial-gradient(circle at 96% 54%, rgba(240, 128, 28, .09), transparent 24%),
    #f7fbfa;
}

.country-study-redesign::before,
.country-study-redesign::after {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(2, 150, 131, .14);
  border-radius: 50%;
  pointer-events: none;
}

.country-study-redesign::before { top: 50px; left: -160px; }
.country-study-redesign::after { right: -165px; bottom: 170px; }

.country-study-redesign > .container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1240px;
  padding-right: 24px;
  padding-left: 24px;
}

.country-study-redesign .col-12.col-xl-10.col-xxl-9 {
  width: 100%;
  max-width: 1120px;
}

.country-study-redesign .col-12.col-xl-10.col-xxl-9 > .img-holder:first-child {
  position: relative;
  width: 100%;
  height: 400px;
  margin-bottom: 22px !important;
  overflow: hidden;
  border-radius: 32px;
  background: var(--country-primary);
  box-shadow: 0 28px 70px rgba(20, 62, 56, .18);
}

.country-study-redesign .col-12.col-xl-10.col-xxl-9 > .img-holder:first-child::after {
  content: "";
  position: absolute;
  left: 28px;
  bottom: 26px;
  width: 68px;
  height: 68px;
  border: 4px solid rgba(255, 255, 255, .92);
  border-radius: 50%;
  background-color: #fff;
  background-image: var(--country-flag);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
}

.country-study-redesign .col-12.col-xl-10.col-xxl-9 > .img-holder:first-child img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  border-radius: 0 !important;
  transition: transform .6s ease;
}

.country-study-redesign .col-12.col-xl-10.col-xxl-9 > .img-holder:first-child:hover img { transform: scale(1.025); }

.country-study-redesign .col-12.col-xl-10.col-xxl-9 > .row {
  margin: 0 -11px 58px;
}

.country-study-redesign .col-12.col-xl-10.col-xxl-9 > .row .col { padding: 0 11px; }

.country-study-redesign .col-12.col-xl-10.col-xxl-9 > .row .img-holder {
  height: 245px;
  margin-bottom: 0 !important;
  overflow: hidden;
  border-radius: 24px;
  border: 6px solid #fff;
  box-shadow: 0 16px 40px rgba(20, 62, 56, .12);
}

.country-study-redesign .col-12.col-xl-10.col-xxl-9 > .row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 !important;
}

.country-study-redesign h1.semi-title {
  position: relative;
  margin: 0 0 28px !important;
  color: var(--country-ink);
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.06 !important;
  letter-spacing: -.035em;
}

.country-study-redesign h1.semi-title::before {
  content: "";
  display: block;
  width: 72px;
  height: 6px;
  margin-bottom: 22px;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--country-primary) 0 72%, var(--country-secondary) 72%);
}

.country-study-redesign .description-text {
  max-width: 990px;
  color: var(--country-muted);
  font-size: 17px;
  line-height: 1.85;
}

.country-study-redesign h2.semi-title {
  position: relative;
  margin: 58px 0 20px !important;
  padding-left: 22px;
  color: var(--country-ink);
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.22;
  letter-spacing: -.02em;
}

.country-study-redesign h2.semi-title::before {
  content: "";
  position: absolute;
  top: .08em;
  bottom: .08em;
  left: 0;
  width: 6px;
  border-radius: 8px;
  background: var(--country-primary);
}

.country-study-redesign ul.mb-5 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 12px !important;
  padding: 28px;
  list-style: none;
  border: 1px solid rgba(2, 150, 131, .14);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(20, 62, 56, .08);
}

.country-study-redesign ul.mb-5 li {
  position: relative;
  min-height: 52px;
  padding: 13px 16px 13px 48px;
  border-radius: 14px;
  color: var(--country-ink);
  background: #f1f9f7;
  line-height: 1.55;
}

.country-study-redesign ul.mb-5 li::before {
  content: "\2713";
  position: absolute;
  top: 12px;
  left: 14px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--country-primary);
  font-size: 13px;
  font-weight: 800;
}

.country-study-redesign .scholarship-cta-card {
  margin-top: 70px !important;
  padding: 52px !important;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 30px !important;
  background: linear-gradient(135deg, var(--country-primary) 0%, var(--country-primary-dark) 100%) !important;
  box-shadow: 0 26px 60px rgba(2, 150, 131, .24) !important;
}

.country-study-redesign .scholarship-cta-card::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -50px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: var(--country-secondary);
  opacity: .14;
}

.country-study-redesign .scholarship-cta-card .btn {
  color: #fff !important;
  background: var(--country-secondary) !important;
  box-shadow: 0 12px 26px rgba(45, 31, 15, .18) !important;
}

.country-study-redesign .scholarship-cta-card .btn:hover {
  color: var(--country-primary-dark) !important;
  background: #fff !important;
  transform: translateY(-2px);
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .country-study-redesign .col-12.col-xl-10.col-xxl-9 > .img-holder:first-child { height: 330px; }
}

@media (max-width: 767.98px) {
  .country-study-redesign { padding: 64px 0 72px !important; }
  .country-study-redesign > .container { padding-right: 16px; padding-left: 16px; }
  .country-study-redesign .col-12.col-xl-10.col-xxl-9 > .img-holder:first-child { height: 240px; border-radius: 22px; }
  .country-study-redesign .col-12.col-xl-10.col-xxl-9 > .img-holder:first-child::after { left: 16px; bottom: 16px; }
  .country-study-redesign .col-12.col-xl-10.col-xxl-9 > .row { margin-bottom: 40px; }
  .country-study-redesign .col-12.col-xl-10.col-xxl-9 > .row .col + .col { margin-top: 16px; }
  .country-study-redesign .col-12.col-xl-10.col-xxl-9 > .row .img-holder { height: 210px; border-width: 4px; border-radius: 18px; }
  .country-study-redesign h1.semi-title { font-size: 38px; }
  .country-study-redesign h2.semi-title { margin-top: 42px !important; padding-left: 17px; font-size: 28px; }
  .country-study-redesign h2.semi-title::before { width: 5px; }
  .country-study-redesign .description-text { font-size: 16px; line-height: 1.72; }
  .country-study-redesign ul.mb-5 { grid-template-columns: 1fr; gap: 10px; padding: 16px; border-radius: 20px; }
  .country-study-redesign .scholarship-cta-card { margin-top: 50px !important; padding: 30px 22px !important; border-radius: 22px !important; }
  .country-study-redesign .scholarship-cta-card h2 { font-size: 28px !important; }
}

@media (max-width: 420px) {
  .country-study-redesign .col-12.col-xl-10.col-xxl-9 > .img-holder:first-child { height: 210px; }
  .country-study-redesign .col-12.col-xl-10.col-xxl-9 > .row .img-holder { height: 185px; }
  .country-study-redesign h1.semi-title { font-size: 34px; }
}
