/* Requested language and homepage responsive refinements */
.language-flag-slider .language-flag-link img,
.home-course-card .static-course-flag img {
  display: block !important;
  object-fit: cover !important;
  object-position: center !important;
}
.language-flag-slider .language-flag-link img {
  border-radius: 4px;
}
.homepage-page,
.homepage-page body {
  max-width: 100%;
  overflow-x: clip;
}
#homeCoursesGrid {
  width: 100%;
  margin-right: 0;
  margin-left: 0;
}
#homeCoursesGrid > [class*="col-"] {
  min-width: 0;
  display: flex;
}
#homeCoursesGrid .home-course-card {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
#homeCoursesGrid .home-course-image,
#homeCoursesGrid .it-course-thumb > a > img {
  display: block;
  width: 100%;
  max-width: 100%;
  object-fit: cover;
}
#homeCoursesGrid .it-course-content,
#homeCoursesGrid .it-course-meta,
#homeCoursesGrid .course-rating {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.ed-home-about-section .ed-about-added-context h5,
.ed-home-about-section .ed-about-extra-description,
.ed-home-about-section .ed-about-extra-description p {
  font-family: inherit;
}
.fr-countries-sec,
.jp-countries-sec,
.mssp-deflag-section {
  background-color: #fdf1f1 !important;
}
.fr-countries-card,
.jp-countries-card,
.mssp-deflag-card {
  background-color: #fff !important;
  border-color: #f1dada !important;
}
.tcp-hero-sec,
.tcp-intro-sec,
.tcp-keyterms-sec,
.tcp-carddetails-sec,
.tcp-variations-sec {
  box-sizing: border-box;
}
.tcp-hero-sec *,
.tcp-intro-sec *,
.tcp-keyterms-sec *,
.tcp-carddetails-sec *,
.tcp-variations-sec * {
  box-sizing: border-box;
}
@media (max-width: 767.98px) {
  .ed-home-about-section .ed-about-added-context h5 { font-size: 20px !important; }
  .ed-home-about-section .ed-about-extra-description,
  .ed-home-about-section .ed-about-extra-description p { font-size: 15px !important; }
  #homeCoursesGrid > [class*="col-"] {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    padding-right: 12px;
    padding-left: 12px;
  }
  #homeCoursesGrid .home-course-card {
    margin-right: auto;
    margin-left: auto;
  }
  .ed-home-about-section .ed-about-added-context,
  .ed-home-about-section .ed-about-added-context h5,
  .ed-home-about-section .ed-about-extra-description,
  .ed-home-about-section .ed-about-extra-description p {
    text-align: center !important;
  }
  .fr-countries-sec,
  .jp-countries-sec,
  .mssp-deflag-section {
    padding-top: 32px !important;
    padding-bottom: 38px !important;
  }
  .tcp-hero-sec {
    min-height: 0;
    background-position: 62% center;
  }
  .tcp-hero-sec::before {
    background: linear-gradient(90deg, rgba(253,241,241,.97), rgba(253,241,241,.88));
  }
  .tcp-hero-content {
    max-width: 100%;
    padding: 54px 0;
  }
  .tcp-hero-title {
    font-size: clamp(28px, 8vw, 40px);
    line-height: 1.14;
    overflow-wrap: anywhere;
  }
  .tcp-hero-desc,
  .tcp-intro-para,
  .tcp-keyterms-list,
  .tcp-carddetails-list,
  .tcp-carddetails-sublist,
  .tcp-privacysecurity-list,
  .tcp-privacysecurity-para,
  .tcp-variations-para {
    font-size: 14px;
    line-height: 1.7;
    overflow-wrap: anywhere;
  }
  .tcp-breadcrumb {
    flex-wrap: wrap;
    gap: 6px 10px;
  }
  .tcp-carddetails-wrap,
  .tcp-variations-card {
    max-width: 100%;
    overflow: hidden;
  }
  .tcp-carddetails-illustration img,
  .tcp-variations-illustration img {
    max-width: 100%;
    height: auto;
  }
}
@media (max-width: 420px) {
  #homeCoursesGrid .course-rating {
    font-size: 13px;
  }
  .tcp-hero-badge {
    font-size: 10px;
    letter-spacing: .2px;
  }
}
.ed-home-about-section .ed-about-added-context h5 {
  font-size: 22px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
}
.ed-home-about-section .ed-about-extra-description,
.ed-home-about-section .ed-about-extra-description p {
  font-size: 16px !important;
  line-height: 1.8 !important;
}
@media (max-width: 767.98px) {
  .ed-home-about-section .ed-about-added-context h5 { font-size: 20px !important; }
  .ed-home-about-section .ed-about-extra-description,
  .ed-home-about-section .ed-about-extra-description p { font-size: 15px !important; }
}

