/* =========================================================
   Page Tiếng Anh THCS — khớp Figma Grammar Pathway
========================================================= */

:root {
  --thcs-font1: "Raleway", "Montserrat", "Inter", sans-serif;
  --thcs-font2: "Denk One", "Anton", sans-serif;
  --thcs-font3: "Great Vibes", cursive;
  --thcs-font4: "Beau Rivage", cursive;
  --thcs-font5: "Inter", sans-serif;
}

.thcs-hero {
  padding: 0;
  margin: 0;
  overflow: visible;
  background: #fff;
}

.thcs-hero__container {
  position: relative;
  z-index: 2;
}

.thcs-hero__row {
  display: flex;
  align-items: center;
  gap: 24px 20px;
}

.thcs-hero__left {
  flex: 0 1 50%;
  min-width: 0;
}

.thcs-hero__right {
  flex: 1 1 50%;
  min-width: 0;
  position: relative;
}

.thcs-hero__title {
  margin: 0 0 10px;
  font-family: var(--thcs-font2);
  font-size: clamp(32px, 4.1vw, 69px);
  line-height: 1.2;
  font-weight: 400;
  background: linear-gradient(
    90deg,
    #0008FF 0%,
    #319CFF 100%
);

-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
color: transparent;
}

.thcs-hero__subtitle {
  margin: 0 0 30px;
  font-family: var(--thcs-font2);
  font-size: clamp(32px, 4.1vw, 64px);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
  color: #CA1F27;
}

.thcs-hero__desc {
  margin: 0 0 38px;
  font-family: var(--thcs-font5);
  font-size: clamp(10px, 1.05vw, 18px);
  font-weight: 400;
  max-width: 92%;
  line-height: 1.4;
  color: #000;
}

.thcs-hero__desc strong,
.thcs-hero__desc b {
  font-weight: 700;
}

.thcs-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 12px;
  border-radius: 27px;
  border: 1px solid #000000;
  background: #CA1F27;
  color: #fff;
  font-family: var(--thcs-font5);
  font-size: clamp(9px, 1.1vw, 17px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 5px 4px 0 rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.thcs-hero__cta:hover,
.thcs-hero__cta:focus {
  color: #fff;
  opacity: 0.94;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(227, 28, 35, 0.4);
}

/* Ảnh export đã có khung; chỉ overlay 2 field text vào ô trống */
.thcs-hero__frame {
  position: relative;
  width: 100%;
  margin-left: auto;
  container-type: inline-size;
  container-name: thcs-frame;
}

.thcs-hero__photo {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
}

.thcs-hero__stat {
  position: absolute;
  z-index: 2;
  top: 20.5%;
  left: 11.5%;
  width: 24%;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  pointer-events: none;
}

.thcs-hero__stat-num {
  display: block;
  font-family: var(--thcs-font5);
  font-size: 25px;
  font-weight: 800;
  line-height: 1.1;
  color: #000;
}

.thcs-hero__stat-text {
  display: block;
  font-family: var(--thcs-font5);
  font-size: clamp(8px, 1.05vw, 13px);
  font-weight: 400;
  line-height: 1.5;
  color: #000;
}

@media screen and (max-width: 1600px) and (min-width: 1367px) {
  .thcs-hero__title {
    font-size: 44px;
  }

  .thcs-hero__subtitle {
    font-size: 60px;
  }
}

@media (max-width: 1366px) and (min-width: 1025px) {
  .thcs-hero__container {
    padding: 20px 20px 28px;
  }

  .thcs-hero__row {
    gap: 16px 24px;
  }

  .thcs-hero__title {
    font-size: 36px;
  }

  .thcs-hero__subtitle {
    font-size: 48px;
  }

  .thcs-hero__desc {
    font-size: 15px;
    margin-bottom: 22px;
  }

  .thcs-hero__cta {
    padding: 12px 22px;
    font-size: 13px;
  }
}

@media screen and (max-width: 1024px) {
  .thcs-hero__row {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .thcs-hero__left {
    flex: none;
    padding: 8px 0 12px;
  }

  .thcs-hero__right {
    flex: none;
  }

  .thcs-hero__frame {
    max-width: 520px;
    margin: 0 auto;
  }
}

@media only screen and (max-width: 767px) {
  .thcs-hero__container {
    padding: 16px 16px 24px;
  }

  .thcs-hero__title {
    font-size: 28px;
  }

  .thcs-hero__subtitle {
    font-size: 32px;
    margin-bottom: 12px;
  }

  .thcs-hero__desc {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .thcs-hero__cta {
    /* width: 100%; */
    padding: 13px 20px;
    font-size: 13px;
  }
}

@media only screen and (max-width: 575px) {
  .thcs-hero__title {
    font-size: 24px;
  }

  .thcs-hero__subtitle {
    font-size: 26px;
  }
}

/* =========================================================
   Section 4 lợi thế + bộ bí quyết
========================================================= */

.thcs-adv {
  margin: 0;
  padding: 0;
  padding-bottom: 275px;
  background: #fff;
  overflow-x: clip;
  overflow-y: visible;
  z-index: 1;
  background-image: url("../img/Vector (1).png");
  background-size: 111% auto;
  background-repeat: no-repeat;
  /* background-position: center bottom; */
}

.thcs-adv__wrap {
  width: 100%;
  padding-top: 20px;
}

.thcs-adv__top {
  position: relative;
  padding: 50px 0px 0px;
  /* padding-bottom: 300px; */
  /* background-image: url("../img/Vector (1).png"); */
  /* background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 100% auto; */
}

.thcs-adv__head {
  position: relative;
  text-align: center;
  margin: 35px 0 6px;
}

.thcs-adv__title {
  position: relative;
  display: block;
  margin: 0;
  font-family: var(--thcs-font1);
  font-size: clamp(14px, 2.8vw, 48px);
  font-weight: 700;
  line-height: 150%;
  text-transform: uppercase;
  color: #0e208a;
}

.thcs-adv__star {
  position: absolute;
  pointer-events: none;
} 

.thcs-adv__star--l {
  left: 24%;
  top: -10%;
  height: auto;
} 

.thcs-adv__star--r {
  right: 25%;
  top: 20%;
  height: auto;
}

.thcs-adv__lead {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 16px;
  margin: 0;
  vertical-align: middle;
}

.thcs-adv__script {
  display: block;
  margin: 0;
  font-family: var(--thcs-font3);
  font-weight: 400;
  color: #0e208a;
  font-size: clamp(20px, 3.8vw, 64px);
  line-height: 0.85;
}

.thcs-adv__highlight {
  display: block;
  font-family: var(--thcs-font1);
  font-weight: 700;
  text-transform: uppercase;
  color: #CA1F27;
  font-size: clamp(14px, 2.8vw, 48px);
  line-height: 1;
}

.thcs-adv__star--gold {
  right: -11%;
  top: 5%;
  height: auto;
}

.thcs-adv__stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 32%) minmax(0, 1fr);
  align-items: center;
  /* overflow-x: clip; */
}

.thcs-adv__col {
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-width: 0;
}

.thcs-adv__col--left {
  align-items: flex-end;
}

.thcs-adv__col--right {
  align-items: flex-start;
}

.thcs-adv__card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  padding: 0 15px 15px 0;
  background: #fff;
  border: 1px solid #CECBCB;
  border-radius: 15px;
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.06);
}

.thcs-adv.is-ready .thcs-adv__card {
  opacity: 0;
  will-change: transform, opacity;
}

.thcs-adv.is-ready .thcs-adv__card[data-adv-from="left"] {
  transform: translate3d(-110vw, 0, 0);
}

.thcs-adv.is-ready .thcs-adv__card[data-adv-from="right"] {
  transform: translate3d(110vw, 0, 0);
}

.thcs-adv.is-inview .thcs-adv__card {
  animation: thcs-adv-slide-in 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.thcs-adv.is-inview .thcs-adv__card[data-adv-i="0"] { animation-delay: 0ms; }
.thcs-adv.is-inview .thcs-adv__card[data-adv-i="1"] { animation-delay: 250ms; }
.thcs-adv.is-inview .thcs-adv__card[data-adv-i="2"] { animation-delay: 500ms; }
.thcs-adv.is-inview .thcs-adv__card[data-adv-i="3"] { animation-delay: 750ms; }

.thcs-adv.is-inview .thcs-adv__card.is-done {
  animation: none;
  opacity: 1;
  transform: none;
  will-change: auto;
}

@keyframes thcs-adv-slide-in {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .thcs-adv.is-ready .thcs-adv__card,
  .thcs-adv.is-inview .thcs-adv__card {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

.thcs-adv__card-head {
  display: flex;
  align-items: center;
}

.thcs-adv__check {
  flex-shrink: 0;
  line-height: 0;
}

.thcs-adv__check img {
  display: block;
}

.thcs-adv__card-title {
  margin: 0;
  font-family: var(--thcs-font5);
  font-size: clamp(15px, 2.8vw, 20px);
  font-weight: 800;
  line-height: 1.25;
  color: #111;
}

.thcs-adv__card-text {
  margin: 0;
  font-family: var(--thcs-font5);
  font-size: clamp(12px, 1.2vw, 16px);
  font-weight: 400;
  line-height: 1.5;
  padding-left: 20px;
  color: #222;
}

.thcs-adv__mascot {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  overflow: visible;
}

.thcs-adv__halo {
  display: none;
  position: absolute;
  left: 50%;
  bottom: 6%;
  width: 108%;
  max-width: 320px;
  height: auto;
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
}

.thcs-adv__mascot-img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
}

.thcs-adv__path {
  position: absolute;
  left: 45%;
  top: 74%;
  z-index: 0;
  height: auto;
  transform: translateX(-50%);
  pointer-events: none;
}

.thcs-adv__path-mobile {
  display: none;
}

.thcs-adv__courses {
  position: relative;
  /* z-index: 2; */
  /* margin-top: -72px; */
  /* padding: 0 5vw 64px; */
  padding-bottom: 30px;
  text-align: center;
  background: #fff;
}

.thcs-adv__eyebrow {
  margin: 0;
  line-height: 150%;
  font-family: var(--thcs-font5);
  font-size: clamp(14px, 2.8vw, 24px);
  font-weight: 400;
  text-transform: uppercase;
  color: #000;
}

.thcs-adv__courses-title {
  margin: 0 0 32px;
  font-family: var(--thcs-font5);
  font-size: clamp(13px, 4.1vw, 35px);
  font-weight: 700;
  line-height: 150%;
  color: #0e208a;
}

.thcs-adv__courses-title strong,
.thcs-adv__courses-title b {
  color: #EE1717;
}

.thcs-adv__courses-title em,
.thcs-adv__courses-title i {
  color: #0E208A;
}

.thcs-adv__slider-wrap {
  position: relative;
  padding: 0 64px;
}

.thcs-adv__slide {
  padding: 0 12px;
}

.thcs-adv__course {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
} 

.thcs-adv__course-media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border-radius: 10px;
}

.thcs-adv__course-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thcs-adv__course-media.is-portrait {
  display: flex;
  justify-content: center;
  background: #ECEEEF;
}

.thcs-adv__course-media.is-portrait img {
  width: 62%;
}

.thcs-adv__course-bar {
  position: absolute;
  bottom: 0px;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px;
  background: #2f5fe0;
  border-radius: 10px;
  text-align: left;
  width: 100%;
}

.thcs-adv__course-icon {
  flex-shrink: 0;
  width: 24px !important;
  height: auto;
  margin-top: 1px;
}

.thcs-adv__course-bar p {
  margin: 0;
  font-family: var(--thcs-font5);
  font-size: clamp(12px, 0.95vw, 15px);
  font-weight: 700;
  line-height: 120%;
  color: #fff;
}

.thcs-adv__courses-head {
  display: block;
  width: 100%;
  margin: 0 0 80px;
  text-align: center;
  z-index: 2;
  position: relative;
  margin-top: -100px;
  left: 21%;
}

.thcs-adv__arrow {
  position: absolute;
  top: 42%;
  z-index: 3;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1.5px solid #1a1a1a;
  border-radius: 50%;
  background: transparent url("../img/slide_left.svg") no-repeat center;
  background-size: 8px 13px;
  box-shadow: none;
  filter: brightness(0);
  cursor: pointer;
}

.thcs-adv__arrow--prev {
  left: -5%;
}

.thcs-adv__arrow--next {
  right: -5%;
  background-image: url("../img/slide_right.svg");
}

.thcs-adv .slick-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.slick-dots{
  bottom: -60px;
}
.slick-dots li {
  margin: 0;
  width: auto;
  height: auto;
}

.thcs-adv .slick-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #cfcfcf;
  font-size: 0;
  line-height: 0;
}
.slick-dots li button:before{
  font-family: unset;
  font-size: 30px;
}

.thcs-adv .slick-dots .slick-active button {
  width: 9px;
  height: 9px;
  background: #ca1f27;
}
@media screen and (max-width: 1660px) {
  .thcs-adv__courses-head {
   left: 0%;
  }
}
@media screen and (max-width: 1024px) {
  .thcs-adv__stage {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .thcs-adv__col--left,
  .thcs-adv__col--right {
    align-items: stretch;
  }

  .thcs-adv__mascot {
    order: -1;
    margin-bottom: 80px;
  }

  .thcs-adv__card {
    max-width: none;
  }

  .thcs-adv__slider-wrap {
    padding: 0 48px;
  }
  .thcs-hero__desc {
    max-width: 100%;
    font-size: 11px;
  }
  .thcs-adv__star--l{
    top: -80%;
  }
  .thcs-adv__star--r{
    top: -80%;
    right: 29%;
  }
  .thcs-adv__star--gold {
    right: -20%;
    top: -20%;
    height: auto;
}
.thcs-adv__mascot-img{
  width: auto;
}
.thcs-adv__path{
  width: 40%;
}
.thcs-adv{
  padding-bottom: 150px;
}
}

@media only screen and (max-width: 767px) {
  .thcs-adv{
   background-position: center bottom;
  }
  .thcs-adv__head {
    margin: 16px 0 18px;
  }

  .thcs-adv__courses {
    margin-top: 100px;
    padding: 0 16px 36px;
  }

  .thcs-adv__title {
    padding: 0 32px;
    font-size: 20px;
  }

  .thcs-adv__star--l {
    left: 0;
  }

  .thcs-adv__star--r {right: 15%;
    width: 15px;
    top: -20%;
  }
  .thcs-adv {
    padding-bottom: 0px;
}
.thcs-adv__courses-head{
  margin-top: 0;
  margin-bottom: 30px;
}
.thcs-adv__arrow{
  width: 35px;
  height: 35px;
}

  .thcs-adv__lead {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    gap: 4px 10px;
    padding-right: 22px;
  }

  .thcs-adv__script {
    display: inline;
    font-size: 28px;
  }

  .thcs-adv__highlight {
    display: inline;
    font-size: 18px;
  }

  .thcs-adv__star--gold {
    right: -8px;
    top: -4px;
    width: 22px;
  }

  .thcs-adv__stage {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    overflow: visible;
  }

  .thcs-adv__col {
    display: contents;
  }

  .thcs-adv__col--left .thcs-adv__card:nth-of-type(1) {
    order: 1;
  }

  .thcs-adv__mascot {
    order: 2;
    z-index: 2;
    width: min(68vw, 240px);
    margin: -25px auto -28px;
    align-self: center;
  }

  .thcs-adv__col--left .thcs-adv__card:nth-of-type(2) {
    order: 3;
  }

  .thcs-adv__col--right .thcs-adv__card:nth-of-type(1) {
    order: 4;
  }

  .thcs-adv__col--right .thcs-adv__card:nth-of-type(2) {
    order: 5;
  }

  .thcs-adv__card {
    position: relative;
    z-index: 1;
    max-width: none;
    padding: 14px 16px 16px;
  }

  .thcs-adv__card-text {
    padding-left: 0;
  }

  .thcs-adv__check img {
    width: 36px;
    height: 36px;
  }

  .thcs-adv__mascot-img {
    width: 84%;
    max-width: 210px;
  }

  .thcs-adv__halo {
    display: block;
    width: 118%;
    max-width: none;
    bottom: 6%;
  }

  .thcs-adv__path {
    display: none;
  }

  .thcs-adv__path-mobile {
    display: flex;
    position: absolute;
    order: 6;
    width: auto;
    height: auto;
    margin: 6px auto 10px;
    pointer-events: none;
    top: 95%;
    left: 50%;
    z-index: 5;
}

  .thcs-adv__slider-wrap {
    padding: 0;
  }
}
@media screen and (max-width: 575px) {
  .thcs-adv__arrow{
    width: 35px;
    height: 35px;
  }
  .thcs-adv__arrow--next{
    right: -8%;
  }
  .thcs-adv__arrow--prev {
    left: -8%;
  }
}

/* =========================================================
   Section Students Review
========================================================= */

.thcs-reviews {
  margin: 0;
  padding: 10px 0 45px;
  background: #fff;
}

.thcs-reviews__wrap {
  width: 100%;
}

.thcs-reviews__head {
  text-align: center;
  margin: 0 0 36px;
}

.thcs-reviews__title {
  font-family: var(--thcs-font4);
  font-size: clamp(24px, 4.1vw, 64px);
  font-weight: 400;
  line-height: 150%;
  color: #0e208a;
}

.thcs-reviews__subtitle {
  margin: 0 auto !important; 
  font-family: var(--thcs-font5);
  font-size: clamp(16px, 1.7vw, 32px);
  font-weight: 700;
  line-height: 150%;
  text-transform: uppercase;
  color: #0e208a;
}

.thcs-reviews__subtitle strong,
.thcs-reviews__subtitle b {
  font-weight: 700;
  color: #ee1717;
}

.thcs-reviews__row {
  align-items: stretch;
}

.thcs-reviews__row-top {
  margin-bottom: 30px;
}

.thcs-reviews__stat,
.thcs-reviews__card {
  height: 100%;
}

.thcs-reviews__stat {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px;
  padding: 22px 24px 20px;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(
    180deg,
    #F90E0E 0%,
    #FA2F2F 57%,
    #FDAFAF 100%
  );
  box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.25);
}

.thcs-reviews__stat-top {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.thcs-reviews__stat-num {
  display: block;
  font-family: var(--thcs-font5);
  font-size: clamp(15px, 2.2vw, 40px);
  font-weight: 700;
  line-height: 115%;
  color: #fff;
}

.thcs-reviews__stat-unit {
  display: block;
  font-family: var(--thcs-font5);
  font-size: clamp(15px, 2.2vw, 40px);
  font-weight: 700;
  line-height: 115%;
  color: #fff;
}

.thcs-reviews__stat-desc {
  font-family: var(--thcs-font5);
  font-size: clamp(13px, 1.05vw, 16px);
  font-weight: 700;
  line-height: 150%;
  color: #fff;
}

.thcs-reviews__stat-icon {
  display: none;
}

.thcs-reviews__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 20px 22px 16px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 16px;
  box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.25);
}

.thcs-reviews__person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.thcs-reviews__avatar {
  flex-shrink: 0;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  object-fit: cover;
  background: #eee;
}

.thcs-reviews__meta {
  min-width: 0;
}

.thcs-reviews__name {
  margin: 0;
  font-family: var(--thcs-font5);
  font-size: clamp(14px, 1.05vw, 16px);
  font-weight: 400;
  line-height: 1.3;
  color: #000;
}

.thcs-reviews__name strong,
.thcs-reviews__name b {
  font-weight: 700;
}

.thcs-reviews__place {
  margin: 2px 0 0;
  font-family: var(--thcs-font5);
  font-size: clamp(12px, 0.9vw, 14px);
  font-weight: 400;
  line-height: 1.4;
  color: #757575;
}

.thcs-reviews__text {
  margin: 0 0 12px;
  font-family: var(--thcs-font5);
  font-size: clamp(13px, 0.95vw, 14px);
  font-weight: 400;
  line-height: 150%;
  color: #222;
}

.thcs-reviews__see {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  margin-left: auto;
  font-family: var(--thcs-font5);
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  color: #5d62ff;
  text-decoration: underline;
}

.thcs-reviews__see-icon {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.thcs-reviews__see:hover,
.thcs-reviews__see:focus {
  color: #3b40d9;
}

.thcs-reviews__more-wrap {
  margin-top: 28px;
  text-align: center;
}

.thcs-reviews__more {
  display: inline-block;
  font-family: var(--thcs-font5);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  color: #6b6b6b;
  text-decoration: underline;
}

.thcs-reviews__more:hover,
.thcs-reviews__more:focus {
  color: #0e208a;
}

@media screen and (max-width: 767px) {
  .thcs-reviews {
    padding: 4px 0 40px;
  }

  .thcs-reviews__head {
    margin-bottom: 18px;
  }

  .thcs-reviews__title {
    font-size: 32px;
    line-height: 1.15;
  }

  .thcs-reviews__subtitle {
    font-size: 20px;
  }

  .thcs-reviews__row-top {
    margin-bottom: 0;
  }

  .thcs-reviews__stat,
  .thcs-reviews__card {
    height: auto;
    margin-bottom: 22px;
  }

  .thcs-reviews__stat {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    min-height: 0;
    padding: 12px 14px 12px 12px;
    border-radius:10px;
    background: linear-gradient(90deg, #f90e0e 0%, #de0b0b 100%);
    box-shadow: 0 4px 12px rgba(201, 20, 20, 0.28);
  }

  .thcs-reviews__stat-icon {
    display: flex;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
  }

  .thcs-reviews__stat-icon::before {
    content: "";
    width: 24px;
    height: 24px;
    background: #e31c23;
    -webkit-mask: url("../img/user.svg") center / contain no-repeat;
    mask: url("../img/user.svg") center / contain no-repeat;
  }

  .thcs-reviews__stat-top {
    flex-shrink: 0;
    gap: 0;
  }

  .thcs-reviews__stat-num {
    font-size: 22px;
    line-height: 1.1;
  }

  .thcs-reviews__stat-unit {
    font-size: 15px;
    line-height: 1.2;
  }

  .thcs-reviews__stat-desc {
    flex: 1;
    min-width: 0;
    margin: 0;
    padding-left: 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.9);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.35;
  }

  .thcs-reviews__card {
    padding: 16px;
  }
}

/* =========================================================
   Section Lộ trình khóa học
========================================================= */

.thcs-learn {
  margin: 0;
  padding: 25px 0 45px;
  background: #fff;
}

.thcs-learn__wrap {
  width: 100%;
}

.thcs-learn__head {
  text-align: center;
  margin: 0 0 36px;
}

.thcs-learn__title {
  margin: 0;
  font-family: var(--thcs-font5);
  font-size: clamp(24px, 3.2vw, 48px);
  font-weight: 600;
letter-spacing: -2%;
  text-transform: uppercase;
  line-height: 1;
  color: #EE1717;
}

.thcs-learn__subtitle {
  margin: 4px auto 0;
  font-family: var(--thcs-font5);
  font-size: clamp(18px, 3.2vw, 45px);
  font-weight: 600;
letter-spacing: -2%;
  text-transform: uppercase;
  line-height: 1;
  color: #0e208a;
}

.thcs-learn__subtitle u,
.thcs-learn__subtitle strong,
.thcs-learn__subtitle b {
  text-decoration: none;
  border-bottom: 3px solid #5061D8;
  padding-bottom: 1px;
}

.thcs-learn__br {
  display: none;
}

.thcs-learn__board {
  margin-bottom: 8px;
  position: relative;
  margin-top: 200px;
}

.thcs-learn__steps {
  display: grid;
  grid-template-columns: repeat(var(--learn-cols, 4), minmax(0, 1fr));
  align-items: end;
}

.thcs-learn__step {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
  cursor: pointer;
}

.thcs-learn__stage {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.thcs-learn__badge {
  position: absolute;
  margin: 0 auto 8px;
  top: -50%;
}

.thcs-learn__badge img {
  display: block;
  width: 100%;
  height: auto;
}

.thcs-learn__name {
  margin: 0 0 10px;
  font-family: var(--thcs-font5);
  font-size: clamp(13px, 1.35vw, 20px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #0e208a;
}

.thcs-learn__bar {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--stage-color, #f5a8a8);
  cursor: pointer;
  transition: filter 0.2s ease;
}

.thcs-learn__bar:hover,
.thcs-learn__bar:focus-visible {
  filter: brightness(0.97);
  outline: none;
}

.thcs-learn__duration {
  display: block;
  width: 100%;
  padding: 8px 8px 14px;
  font-family: var(--thcs-font5);
  font-size: clamp(10px, 2.6vw, 26px);
  font-weight: 400; 
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.thcs-learn__bar-rule {
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 1;
}

.thcs-learn__copy {
  position: relative;
  width: 100%;
  margin: 15px 0 0px;
  padding: 0 18px;
  padding-top: 15px;
}

.thcs-learn__desc {
  position: relative;
  width: 100%;
  min-height: 3.2em;
  margin: 0;
  padding: 0;
  font-family: var(--thcs-font5);
  font-size: clamp(12px, 0.95vw, 15px);
  font-weight: 400;
  line-height: 1.4;
  color: #111;
}

.thcs-learn__desc::first-line {
  font-weight: 700;
}

.thcs-learn__desc-arrow {
  position: absolute;
  top: 0;
  width: 8px;
  height: 72px;
  pointer-events: none;
  z-index: 1;
}

.thcs-learn__desc-arrow--start {
  left: -3px;
}

.thcs-learn__desc-arrow--end {
  right: -4px;
}

.thcs-learn__desc--empty {
  visibility: hidden;
}

.thcs-learn__tab {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 99%;
  min-height: 42px;
  margin: 20px 0 50px;
  padding: 10px 8px;
  border: 0;
  border-radius: 4px;
  background: #d9d9d9;
  color: #6b6b6b;
  font-family: var(--thcs-font5);
  font-size: clamp(11px, 0.95vw, 14px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.thcs-learn__tab:hover,
.thcs-learn__tab:focus-visible {
  background: #cbcbcb;
  outline: none;
}

.thcs-learn__tab.is-active {
  background: #ca1f27;
  color: #fff;
}

.thcs-learn__tab.is-active:hover,
.thcs-learn__tab.is-active:focus-visible {
  background: #b51b22;
  color: #fff;
}

.thcs-learn__tab-arrow {
  display: none;
  position: absolute;
  left: 50%;
  bottom: -100%;
  width: 100px;
  height: 16px;
  object-fit: cover;
  object-position: center 72%;
  transform: translateX(-50%);
  pointer-events: none;
  overflow: visible;
  z-index: 2;
}

.thcs-learn__tab.is-active .thcs-learn__tab-arrow {
  display: block;
}

.thcs-learn__panels {
  margin-top: 8px;
}

.thcs-learn__panel {
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 36px 32px 36px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.4);
}

.thcs-learn__panel.is-active {
  display: grid;
}

.thcs-learn__col {
  min-width: 0;
  padding: 0 22px;
}

.thcs-learn__col:first-child {
  padding-left: 8px;
}

.thcs-learn__col:last-child {
  padding-right: 8px;
}

.thcs-learn__col:not(:last-child) {
  border-right: 1px solid #e8b48a;
}

.thcs-learn__col-title {
  margin: 0 0 20px;
  font-family: var(--thcs-font5);
  font-size: clamp(15px, 1.25vw, 24px);
  font-weight: 600;
  text-align: center;
  text-decoration: underline;
  line-height: 1.3;
  color: #2D44E5;
  padding-bottom: 2px;
}

.thcs-learn__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.thcs-learn__item:last-child {
  margin-bottom: 0;
}

.thcs-learn__item-icon {
  flex-shrink: 0;
  width: 22px;
  line-height: 0;
}

.thcs-learn__item-icon img {
  display: block;
  width: 22px;
  height: auto;
}

.thcs-learn__col--goals .thcs-learn__item-icon img {
  width: 20px;
}

.thcs-learn__col--outcomes .thcs-learn__item-icon img {
  width: 24px;
}

.thcs-learn__item-body {
  min-width: 0;
}

.thcs-learn__item-title {
  margin: 0 0 4px;
  font-family: var(--thcs-font5);
  font-size: clamp(13px, 1.05vw, 16px);
  font-weight: 600;
  line-height: 1.35;
  color: #111;
}

.thcs-learn__item-text {
  margin: 0;
  font-family: var(--thcs-font5);
  font-size: clamp(12px, 0.92vw, 14px);
  font-weight: 400;
  line-height: 1.5;
  color: #333;
}

.thcs-learn__cta-wrap {
  margin-top: 70px;
  text-align: center;
}

.thcs-learn__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 36px;
  border-radius: 10px;
  background: #DF1515;
  color: #fff;
  font-family: var(--thcs-font5);
  font-size: clamp(13px, 1.5vw, 26px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -2%;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.thcs-learn__cta:hover,
.thcs-learn__cta:focus {
  color: #fff;
  opacity: 0.94;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(227, 28, 35, 0.35);
}

@media screen and (max-width: 1024px) {
  .thcs-learn {
    padding: 16px 0 56px;
  }

  .thcs-learn__steps {
    column-gap: 0;
  }

  .thcs-learn__copy {
    padding: 0 12px;
  }

  .thcs-learn__desc {
    font-size: 12px;
    min-height: 60px;}

  .thcs-learn__panel {
    padding: 24px 16px 20px;
  }

  .thcs-learn__col {
    padding: 0 12px;
  }
}

@media only screen and (max-width: 767px) {
  .thcs-learn {
    padding: 8px 0 40px;
  }

  .thcs-learn__head {
    margin-bottom: 22px;
  }


  .thcs-learn__subtitle {
    line-height: 1.2;
  }

  .thcs-learn__br {
    display: revert;
  }

  .thcs-learn__subtitle u,
  .thcs-learn__subtitle strong,
  .thcs-learn__subtitle b {
    border-bottom-width: 2px;
  }

  .thcs-learn__board {
    margin-bottom: 0;
  }

  .thcs-learn__badge {
    width: 40%;
    top: -70%;
    margin: 0 auto 10px;
  }

  /* .thcs-learn__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 22px;
  } */

  /* .thcs-learn__step:nth-child(2n) .thcs-learn__desc-arrow--end,
  .thcs-learn__step:nth-child(2n) .thcs-learn__bar-rule {
    display: none;
  } */

  .thcs-learn__copy {
    padding: 0 5px;
  }

  .thcs-learn__bar {
    width: 100%;
  }

  .thcs-learn__step:nth-child(1) .thcs-learn__bar {
    height: 96px !important;
  }

  .thcs-learn__step:nth-child(2) .thcs-learn__bar {
    height: 110px !important;
  }

  .thcs-learn__step:nth-child(3) .thcs-learn__bar {
    height: 124px !important;
  }

  .thcs-learn__step:nth-child(4) .thcs-learn__bar {
    height: 140px !important;
  }

  .thcs-learn__tab {
    width: 100%;
    max-width: none;
    font-size: 12px;
  }

  .thcs-learn__panel.is-active {
    grid-template-columns: 1fr;
    padding: 20px 16px;
  }

  .thcs-learn__col,
  .thcs-learn__col:first-child,
  .thcs-learn__col:last-child {
    padding: 0;
  }

  .thcs-learn__col:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid #e8b48a;
    padding-bottom: 18px;
    margin-bottom: 18px;
  }

  .thcs-learn__cta {
    width: 100%;
    max-width: 320px;
    padding: 13px 20px;
    font-size: 14px;
  }
}

@media only screen and (max-width: 575px) {
  /* .thcs-learn__board{
    margin-top: 150px;
  } */
  .thcs-learn__tab{
    font-size: 10px;
  }
  .thcs-learn__desc {
    font-size: 12px;
    min-height: 70px;
}
.thcs-learn__badge {
  width: 45%;
  top: -55%;
}
}

/* =========================================================
   Section Giảng viên
========================================================= */

.thcs-lecturers {
  margin: 0;
  padding: 25px 0 55px;
  background: #fff;
  scroll-margin-top: 90px;
}

.thcs-lecturers__head {
  text-align: center;
  margin: 0 0 76px;
}

.thcs-lecturers__title {
  margin: 0;
  font-family: var(--thcs-font5);
  font-size: clamp(18px, 2.5vw, 48px);
  font-weight: 700;
  letter-spacing: -2%;
  text-transform: uppercase;
  line-height: 1.35;
  color: #0e208a;
}

.thcs-lecturers__head::after {
  content: "";
  display: block;
  width: 30%;
  height: 5px;
  margin: 14px auto 0;
  background: #F80F0F;
}

.thcs-lecturers__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: 18px 20px;
  align-items: stretch;
  overflow: visible;
}

.thcs-lecturers__featured,
.thcs-lecturers__mini {
  position: relative;
  z-index: 1;
  background: #fff;
  border: 2px solid #ececec;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transform: scale(1);
  transform-origin: center center;
  transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
}

.thcs-lecturers__featured:hover,
.thcs-lecturers__mini:hover {
  z-index: 3;
  transform: scale(1.03);
}

.thcs-lecturers__featured {
  display: flex;
  flex-direction: column;
  padding: 28px 28px 22px;
  min-height: 100%;
}

.thcs-lecturers__featured-inner {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.thcs-lecturers__featured-top {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-bottom: 21px;
}

.thcs-lecturers__avatar {
  display: block;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 50%;
  background: #f2f2f2;
}

.thcs-lecturers__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thcs-lecturers__avatar--lg {
  width: 92px;
  height: 92px;
}

.thcs-lecturers__avatar--sm {
  width: 86px;
  height: 86px;
  margin: 0 auto 12px;
}

.thcs-lecturers__featured-id {
  min-width: 0;
}

.thcs-lecturers__name {
  margin: 0;
  font-family: var(--thcs-font5);
  font-size: clamp(12px, 2.5vw, 28px);
  font-weight: 700;
  line-height: 1.25;
  color: #000;
}

.thcs-lecturers__role {
  margin: 4px 0 0;
  font-family: var(--thcs-font5);
  font-size: clamp(10px, 1.3vw, 24px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.35;
  color: #000;
}

.thcs-lecturers__quote {
  margin: 0 0 18px;
  max-width: 86%;
  font-family: var(--thcs-font5);
  font-size: clamp(15px, 1.3vw, 24px);
  font-weight: 700;
  line-height: 1.45;
  color: #F81010;
}

/* .thcs-lecturers__quote::before {
  content: "“";
}

.thcs-lecturers__quote::after {
  content: "”";
} */

.thcs-lecturers__tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.thcs-lecturers__tags li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--thcs-font5);
  font-size: clamp(14px, 1.05vw, 18px);
  font-weight: 600;
  line-height: 1.3;
  color: #222;
}

.thcs-lecturers__tags img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

.thcs-lecturers__more {
  display: inline-flex;
  margin-top: auto;
  padding-top: 22px;
  align-self: flex-end;
  font-family: var(--thcs-font5);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  color: #3b6eed;
  text-decoration: underline;
}

.thcs-lecturers__more:hover,
.thcs-lecturers__more:focus {
  color: #1f4ed8;
}

.thcs-lecturers__minis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
  overflow: visible;
}

.thcs-lecturers__mini {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 188px;
  padding: 22px 16px 18px;
  margin: 0;
  text-align: center;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  background: #fff;
}

.thcs-lecturers__mini:hover,
.thcs-lecturers__mini:focus {
  color: inherit;
  text-decoration: none;
  outline: none;
}

.thcs-lecturers__mini:hover {
  border-color: #e31c23;
  box-shadow: 0 8px 22px rgba(227, 28, 35, 0.2);
}

.thcs-lecturers__mini:focus-visible {
  border-color: #3b6eed;
}

.thcs-lecturers__mini-name {
  font-family: var(--thcs-font5);
  font-size: clamp(14px, 1.05vw, 16px);
  font-weight: 600;
  line-height: 1.35;
  color: #4a4a4a;
}

.thcs-lecturers__paging {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 54px;
}

.thcs-lecturers__page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ececec;
  color: #333;
  font-family: var(--thcs-font5);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}

.thcs-lecturers__page:hover,
.thcs-lecturers__page:focus {
  color: #333;
  background: #e0e0e0;
}

.thcs-lecturers__page.is-active {
  background: #e31c23;
  color: #fff;
}

.thcs-lecturers__page.is-active:hover,
.thcs-lecturers__page.is-active:focus {
  background: #e31c23;
  color: #fff;
}

.thcs-lecturers__page--arrow {
  background: transparent;
  font-size: 18px;
  font-weight: 500;
  color: #888;
}

.thcs-lecturers__page--arrow:hover,
.thcs-lecturers__page--arrow:focus {
  background: transparent;
  color: #333;
}

.thcs-lecturers__page.is-disabled {
  opacity: 0.35;
  pointer-events: none;
}

.thcs-lecturers__ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  color: #888;
  font-size: 16px;
  line-height: 1;
}

@media screen and (max-width: 991px) {
  .thcs-lecturers__grid {
    grid-template-columns: 1fr;
  }

  .thcs-lecturers__featured {
    padding: 22px 20px 18px;
  }
}

@media screen and (max-width: 575px) {
  .thcs-lecturers {
    padding: 8px 0 52px;
  }

  .thcs-lecturers__head {
    margin-bottom: 24px;
  }

  .thcs-lecturers__title {
    font-size: 18px;
  }

  .thcs-lecturers__minis {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .thcs-lecturers__mini {
    min-height: 160px;
    padding: 16px 10px 14px;
  }

  .thcs-lecturers__avatar--lg {
    width: 72px;
    height: 72px;
  }

  .thcs-lecturers__avatar--sm {
    width: 68px;
    height: 68px;
  }

  .thcs-lecturers__paging {
    gap: 6px;
    flex-wrap: wrap;
  }

  .thcs-lecturers__page {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }
}

/* =========================================================
   Section Test năng lực đầu vào
========================================================= */

.thcs-test {
  margin: 0;
  padding: 15px 0 70px;
  background: #fff;
  scroll-margin-top: 90px;
}

.thcs-test__head {
  text-align: center;
  margin: 0 0 59px;
}

.thcs-test__title {
  margin: 0 0 18px;
  font-family: var(--thcs-font5);
  font-size: clamp(22px, 3.1vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1.25;
  color: #0e208a;
}

.thcs-test__title strong,
.thcs-test__title b {
  color: #CE1212;
  font-weight: 700;
}

.thcs-test__proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px 26px;
  margin: 0 auto;
}

.thcs-test__avatars {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.thcs-test__avatar {
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(14, 32, 138, 0.08);
  background: #e8e8e8;
}

.thcs-test__avatar + .thcs-test__avatar {
  margin-left: -12px;
}

.thcs-test__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thcs-test__avatars.is-single .thcs-test__avatar {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  background: transparent;
}

.thcs-test__avatars.is-single .thcs-test__avatar img {
  width: auto;
  object-fit: contain;
}

.thcs-test__subtitle {
  margin: 0;
  text-align: left;
  font-family: var(--thcs-font5);
  font-size: clamp(13px, 1.3vw, 24px);
  letter-spacing: -2%;
  font-weight: 400;
  line-height: 1.45;
  color: #1a1a1a;
}

.thcs-test__subtitle b{
  font-weight: 700;
}

.thcs-test__panel {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.88fr);
  gap: 20px 24px;
  align-items: stretch;
  padding: 40px;
  background: linear-gradient(105deg, #5b74d4 0%, #6d5bb8 28%, #c4455c 72%, #e0313b 100%);
  overflow: hidden;
}

.thcs-test__left {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 8px 8px 10px 14px;
}

.thcs-test__visual {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  /* justify-content: center; */
}

.thcs-test__visual img {
  width: auto;
  height: auto;
  display: block;
}

.thcs-test__benefits {
  display: block;
  column-count: 2;
  margin: 16px 0 0;
  padding: 16px 4px 0;
  list-style: none;
  border-top: 4px solid rgba(255, 255, 255, 0.55);
}

.thcs-test__benefits li {
  position: relative;
  margin: 0 0 10px;
  padding-left: 14px;
  break-inside: avoid;
  font-family: var(--thcs-font5);
  font-size:12px;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
}

.thcs-test__benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
}

.thcs-test__right {
  min-width: 0;
  display: flex;
}

.thcs-test__card {
  position: relative;
  width: 100%;
  background: #fff;
  border-radius: 10px;
  padding: 57px 39px 27px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.thcs-test__form-title {
  margin: 0 0 15px;
  font-family: var(--thcs-font5);
  font-size: clamp(16px, 2.5vw, 28px);
  font-weight: 700;
  line-height: 1.35;
  color: #000;
}

.thcs-test__form-desc {
  margin: 0 0 18px;
  font-family: var(--thcs-font5);
  font-size: clamp(12px, 1.3vw, 16px);
  font-weight: 400;
  line-height: 1.5;
  color: #000;
}

.thcs-test__form-desc b , .thcs-test__form-desc span em{
  font-weight: 700;
  font-style: normal;
}
.thcs-test__form-desc span{
  color: #5E5A5A;
}

.thcs-test__form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.thcs-test__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.thcs-test__form input,
.thcs-test__form select {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  background: #fff;
  color: #222;
  font-family: var(--thcs-font5);
  font-size: 14px;
  line-height: 1.3;
  outline: none;
  box-shadow: none;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
}

.thcs-test__form input::placeholder {
  color: #9aa0a6;
}

.thcs-test__form select {
  color: #9aa0a6;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
  padding-right: 36px;
}

.thcs-test__form select:valid {
  color: #222;
}

.thcs-test__form input:focus,
.thcs-test__form select:focus {
  border-color: #c9c9c9;
}

.thcs-test__submit {
  margin: 0 auto;
  margin-top: 4px;
  padding: 15px 30px;
  border: 0;
  border-radius: 8px;
  background: #E52424;
  color: #fff;
  font-family: var(--thcs-font5);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -2%;
  text-transform: uppercase;
  line-height: 1.2;
  cursor: pointer;
}

.thcs-test__submit:hover,
.thcs-test__submit:focus {
  background: #cb171e;
  color: #fff;
}

.thcs-test__error {
  grid-column: 1 / -1;
  margin: 0;
  color: #e31c23;
  font-size: 12px;
  text-align: left;
}

.thcs-test__success {
  margin: 12px 0 0;
  text-align: center;
  color: #e31c23;
  font-family: var(--thcs-font5);
  font-size: 15px;
  font-weight: 600;
}

.thcs-test__loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 8px;
}

.thcs-test__loader[hidden] {
  display: none;
}

.thcs-test__spinner {
  width: 36px;
  height: 36px;
  border: 2px solid #ddd;
  border-top-color: #e31c23;
  border-left-color: #e31c23;
  border-radius: 50%;
  animation: thcs-test-spin 0.8s infinite linear;
}

@keyframes thcs-test-spin {
  to {
    transform: rotate(360deg);
  }
}

@media screen and (max-width: 1024px) {
  .thcs-test {
    padding: 16px 0 64px;
  }

  .thcs-test__panel {
    grid-template-columns: 1fr;
    padding: 16px;
    border-radius: 18px;
  }

  .thcs-test__left {
    padding: 4px 4px 0;
  }

  .thcs-test__card {
    padding: 22px 18px 18px;
  }

  .thcs-test__proof {
    flex-wrap: wrap;
  }

  .thcs-test__subtitle {
    text-align: center;
  }
}

@media screen and (max-width: 575px) {
  .thcs-test__title {
    font-size: 20px;
    margin-bottom: 14px;
  }

  .thcs-test__head {
    margin-bottom: 16px;
  }

  .thcs-test__avatar {
    width: 34px;
    height: 34px;
  }

  .thcs-test__avatars.is-single .thcs-test__avatar,
  .thcs-test__avatars.is-single .thcs-test__avatar img {
    height: 34px;
  }

  .thcs-test__row {
    grid-template-columns: 1fr;
  }

  .thcs-test__benefits {
    column-count: 1;
    column-gap: 0;
  }

  .thcs-test__form input,
  .thcs-test__form select {
    height: 44px;
    font-size: 16px;
  }

  .thcs-test__submit {
    font-size: 15px;
  }
}
