/* =========================================================
   TOEIC 4 KN banner — khớp Figma ảnh 2 (Banner TO 4 KN)
========================================================= */

:root {
  /* Đổi font banner tại đây — 1 chỗ duy nhất */
  --jax-banner-font: "Montserrat", "Inter", sans-serif;
  --jax-banner-display-font: "Anton SC", "Anton", sans-serif;
}

.jax-toeic-banner {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  color: #000;
  margin: 0;
  font-family: var(--jax-banner-font);
}

.jax-toeic-banner__container {
  position: relative;
  z-index: 2;
  /* max-width: 100%;
  padding: 26px 131px 60px 88px; */
  padding-top: 26px;
  padding-bottom: 50px;
}

.jax-toeic-banner__breadcrumb {
  margin-bottom: 8px;
  display: none !important;
}

.jax-toeic-banner__row {
  display: flex;
  gap: 0px 25px;
}

.jax-toeic-banner__left {
  flex: 0 1 50%;
  padding-top: 12px;
}

.jax-toeic-banner__right {
  flex: 1 1 50%;
  min-width: 0;
  position: relative;
}

/* Collage mobile: ẩn trên desktop, hiện dưới mô tả */
.jax-toeic-banner__mobi {
  display: none;
}

/* TOEIC 4 SKILLS — Eyebrow Title (Figma Exact Linear Gradient) */
.jax-toeic-banner__eyebrow {
  display: inline-block;
  position: relative;
  font-family:
    var(--jax-banner-display-font), "UTM HelvetIns", "Anton", "Montserrat",
    "Inter", sans-serif;
  font-size: clamp(56px, 5vw, 76px);
  font-weight: 900;
  line-height: 1.1;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  background: linear-gradient(
    197deg,
    #4651c1 0%,
    #192696 19%,
    #424ec8 42%,
    #2936c6 42%,
    #5796fe 72%,
    #4874ff 74%,
    #0a26b2 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0;
  paint-order: normal;
  filter: none;
}

/* Subtitle = Pill Badge "KHÓA HỌC TOEIC 4 KỸ NĂNG" */
.jax-toeic-banner__title-wrap {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 100%;
  margin: 0 0 24px;
}

.jax-toeic-banner__title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #2d52dd;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  font-family: var(--jax-banner-font);
  font-size: clamp(15px, 1.8vw, 22px);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 46px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.35);
  margin: 0;
  -webkit-background-clip: initial;
  background-clip: initial;
}

.jax-toeic-banner__gach-do {
  display: none !important;
}

/* Description paragraph */
.jax-toeic-banner__desc {
  margin: 0 0 28px;
  max-width: 74%;
  font-size: 16px;
  line-height: 1.6;
  color: #475569;
  font-weight: 400;
  font-family: var(--jax-banner-font);
}

.jax-toeic-banner__desc strong,
.jax-toeic-banner__desc b {
  font-weight: 700;
  color: #0f172a;
}

/* 3 Stat Cards — Mint green, Light blue, Light orange */
.jax-toeic-banner__stats {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  border: 0;
  background: transparent;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 30px;
  width: 100%;
  max-width: 100%;
}

.jax-toeic-banner__stat {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 6px;
  padding: 14px 14px;
  position: relative;
  list-style: none;
  border-radius: 14px;
  min-width: 0;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.jax-toeic-banner__stat:first-child {
  padding-left: 14px;
}

.jax-toeic-banner__stat:last-child {
  padding-right: 14px;
}

.jax-toeic-banner__stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -17px;
  top: 15%;
  bottom: 15%;
  width: 2px;
  background: #2936c6;
  border-radius: 2px;
  display: block;
  opacity: 0.8;
}

.jax-toeic-banner__stat-head {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
}

.jax-toeic-banner__stat-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.jax-toeic-banner__stat-icon-default {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  display: block;
}

.jax-toeic-banner__stat-num {
  font-family: var(--jax-banner-font);
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

.jax-toeic-banner__stat-desc {
  display: block;
  text-align: center;
  font-size: 11px;
  line-height: 1.4;
  color: #0e208a;
  font-weight: 400;
  margin-top: 2px;
}

/* Card 1: Mint Green */
.jax-toeic-banner__stat:nth-child(1),
.jax-toeic-banner__stat--card-1 {
  background: #dafff0;
  border: 2px solid #23c582;
}
.jax-toeic-banner__stat:nth-child(1) .jax-toeic-banner__stat-num,
.jax-toeic-banner__stat--card-1 .jax-toeic-banner__stat-num {
  color: #0e208a;
}
.jax-toeic-banner__stat:nth-child(1) .jax-toeic-banner__stat-icon-default,
.jax-toeic-banner__stat--card-1 .jax-toeic-banner__stat-icon-default {
  stroke: #0e208a;
}

/* Card 2: Light Blue */
.jax-toeic-banner__stat:nth-child(2),
.jax-toeic-banner__stat--card-2 {
  background: #e5f9ff;
  border: 2px solid #4d79f4;
}
.jax-toeic-banner__stat:nth-child(2) .jax-toeic-banner__stat-num,
.jax-toeic-banner__stat--card-2 .jax-toeic-banner__stat-num {
  color: #0e208a;
}
.jax-toeic-banner__stat:nth-child(2) .jax-toeic-banner__stat-icon-default,
.jax-toeic-banner__stat--card-2 .jax-toeic-banner__stat-icon-default {
  stroke: #0e208a;
}

/* Card 3: Light Orange / Peach */
.jax-toeic-banner__stat:nth-child(3),
.jax-toeic-banner__stat--card-3 {
  background: #fff0e3;
  border: 2px solid #fe8e2b;
}
.jax-toeic-banner__stat:nth-child(3) .jax-toeic-banner__stat-num,
.jax-toeic-banner__stat--card-3 .jax-toeic-banner__stat-num {
  color: #0e208a;
}
.jax-toeic-banner__stat:nth-child(3) .jax-toeic-banner__stat-icon-default,
.jax-toeic-banner__stat--card-3 .jax-toeic-banner__stat-icon-default {
  stroke: #0e208a;
}

/* Horizontal Divider Line */
.jax-toeic-banner__divider {
  width: 90%;
  height: 2px;
  background-color: #7891d3;
  margin: 28px 0 20px;
}

/* Action Buttons */
.jax-toeic-banner__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-bottom: 0;
}

.jax-toeic-banner__btn {
  font-family: var(--jax-banner-font);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.jax-toeic-banner__btn:hover {
  text-decoration: none;
}

/* Primary Button: Red Glossy Pill (Nhận tư vấn) — CSS giống class .jax-on-banner__cta */
.jax-toeic-banner__btn--primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 247px;
  height: 48px;
  padding: 6.26px 36px;
  box-sizing: border-box;

  border-radius: 62.56px;
  border: 2px solid #fffffe;

  /* Gradient theo Figma .jax-on-banner__cta */
  background: linear-gradient(
    135deg,
    #f5000f 0%,
    #e70504 19%,
    #fd0c0b 42%,
    #df0403 42%,
    #fc0c0c 72%,
    #cc0404 74%,
    #f40a09 100%
  );

  /* 2 Drop shadow theo Figma */
  box-shadow:
    4px 4px 0 #ce0404,
    8px 8px 0 rgba(65, 65, 65, 0.2);

  color: #fff;
  font-size: 24px;
  font-weight: 800;
  font-style: italic;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.jax-toeic-banner__btn--primary:hover,
.jax-toeic-banner__btn--primary:focus {
  color: #fff;
  text-decoration: none;
  opacity: 0.96;
  transform: translateY(-1px);
  box-shadow:
    4px 5px 0 #ce0404,
    8px 10px 0 rgba(65, 65, 65, 0.2);
}

/* Outline Button: White with Blue Border (Xem khoá học) */
.jax-toeic-banner__btn--outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 6.26px 32px;
  box-sizing: border-box;
  border-radius: 62.56px;
  border: 2.5px solid #2936c6;
  background: #ffffff;
  box-shadow:
    3px 3px 0 #2936c6,
    6px 6px 0 rgba(65, 65, 65, 0.15);
  color: #2936c6;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.jax-toeic-banner__btn--outline:hover {
  background: #eff6ff;
  border-color: #1d4ed8;
  color: #1d4ed8;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.2);
}

/* Collage: ảnh BG khối phải + 3 ảnh người xếp đúng slot — không decor */
.jax-toeic-banner__collage {
  position: relative;
  width: 100%;
  /* max-width: 580px;
  margin-left: auto; */
  aspect-ratio: 735 / 623;
  /* height: auto;
  min-height: 360px; */
}

/* Ảnh nền chỉ trong khối phải */
.jax-toeic-banner__panel-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: transparent;
}

.jax-toeic-banner__panel-bg img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
}

/* 3 ảnh người — không khung màu CSS (đã có trong ảnh BG) */
.jax-toeic-banner__frame {
  position: absolute;
  z-index: 2;
  overflow: hidden;
  background: transparent;
  padding: 0;
  box-shadow: none;
  border-radius: 28px;
}

.jax-toeic-banner__frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Slot xanh dương (trái) — Ảnh 1 */
.jax-toeic-banner__frame--1 {
  left: 18%;
  top: 7.2%;
  width: 42%;
  height: 57%;
  border-radius: 32px;
  z-index: 3;
}

/* Slot tím (phải) — Ảnh 2 */
.jax-toeic-banner__frame--2 {
  left: 69%;
  top: 10%;
  width: 35%;
  height: 50%;
  border-radius: 32px;
  z-index: 2;
}

/* Slot xanh lá (dưới) — Ảnh 3 */
.jax-toeic-banner__frame--3 {
  left: 9%;
  top: 65%;
  width: 60%;
  height: 36%;
  border-radius: 28px;
  z-index: 4;
}

.course-banner-follow {
  margin-top: 0px;
  position: relative;
  padding-top: 50px;
  z-index: 3;
}
@media (max-width: 1600px) and (min-width: 1367px) {
  .jax-toeic-banner__actions {
    margin-bottom: 30px;
  }

  /* .jax-toeic-banner__btn{
    font-size: 24px;
  } */
  /* .jax-toeic-banner__stat {
    padding: 0 25px;
  } */
  .jax-toeic-banner__eyebrow {
    font-size: 76px;
  }
  .jax-toeic-banner__row {
    gap: 0 50px;
  }
  .jax-toeic-banner__container {
    padding: 20px;
  }
  .jax-toeic-banner__desc {
    /* font-size: 20px; */
    max-width: 79%;
    margin-bottom: 30px;
  }
  /* .jax-toeic-banner__btn{
    padding: 10px 20px;
    line-height: 1;
  } */
  .jax-toeic-banner__gach-do {
    width: 60%;
  }
}
@media (max-width: 1366px) and (min-width: 1025px) {
  .jax-toeic-banner__actions {
    margin-bottom: 30px;
  }
  .jax-toeic-banner__actions {
    gap: 10px;
  }
  /* .jax-toeic-banner__btn--primary{
    font-size: 24px;
  } */
  .jax-toeic-banner__stat {
    padding: 0 25px;
  }
  .jax-toeic-banner__eyebrow {
    font-size: 57px;
  }
  .jax-toeic-banner__row {
    gap: 0 50px;
  }
  .jax-toeic-banner__container {
    padding: 20px;
  }
  /* .jax-toeic-banner__desc{
    font-size: 20px;
    margin-bottom: 30px;
  } */
  /* .jax-toeic-banner__btn{
    padding: 10px 20px;
    font-size: 24px;
    line-height: 1;
  } */
  .jax-toeic-banner__gach-do {
    width: 60%;
    right: 19%;
    position: absolute;
  }
}
@media only screen and (max-width: 1024px) {
  .jax-toeic-banner__row {
    display: block;
  }
  .jax-toeic-banner__left {
    margin-bottom: 50px;
  }
  .jax-toeic-banner__gach-do {
    display: block;
    width: 30%;

    position: absolute;
    left: 8%;
    height: auto;
    max-height: 57px;
    margin-top: -6px;
    object-fit: contain;
    float: none;
    pointer-events: none;
  }
  .jax-toeic-banner__title-wrap {
    margin: 0 0 35px;
  }
}
/* Trust block: ẩn hoàn toàn trên desktop */
.jax-toeic-banner__trust {
  display: none;
}

@media only screen and (max-width: 991px) {
  .jax-toeic-banner__container {
    padding: 30px 20px;
  }

  .jax-toeic-banner__row {
    flex-direction: column;
    min-height: 0;
    gap: 0;
  }

  .jax-toeic-banner__left {
    flex: 1 1 auto;
    max-width: none;
    width: 100%;
    padding-top: 0;
    margin-bottom: 0;
  }
}

@media only screen and (max-width: 767px) {
  .jax-toeic-banner {
    background: #ffffff;
  }

  .jax-toeic-banner__right {
    display: none;
  }

  .jax-toeic-banner__container {
    padding: 24px 16px 36px;
  }

  .jax-toeic-banner__row {
    flex-direction: column;
    gap: 0;
    min-height: 0;
    display: flex;
  }

  .jax-toeic-banner__left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
  }

  /* 2. Subtitle: KHÓA HỌC TOEIC 4 KỸ NĂNG — Left Aligned */
  .jax-toeic-banner__title-wrap {
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    margin: 0 0 16px;
    display: flex;
    text-align: left;
  }

  /* 3. Description — Left Aligned */
  .jax-toeic-banner__desc {
    text-align: left;
    font-size: 13px;
    line-height: 1.55;
    margin: 0 0 20px;
    max-width: 50%;
    width: 100%;
    color: #334155;
    display: block;
  }

  .jax-toeic-banner__desc strong,
  .jax-toeic-banner__desc b {
    font-weight: 700;
    color: #0f172a;
  }

  /* 4. Mobile Collage — Displayed in Middle */
  .jax-toeic-banner__mobi {
    display: block;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    position: relative;
    margin-bottom: -65px;
  }

  .jax-toeic-banner__collage--mobi {
    width: 100%;
    aspect-ratio: 359 / 400;
    position: relative;
  }

  .jax-toeic-banner__frame--1 {
    left: 8%;
    top: 10.5%;
    width: 36%;
    height: 50%;
    border-radius: 28px;
    z-index: 3;
  }

  .jax-toeic-banner__frame--2 {
    left: 64%;
    top: 10%;
    width: 29%;
    height: 44%;
    border-radius: 26px;
    z-index: 2;
  }

  .jax-toeic-banner__frame--3 {
    left: 5%;
    top: 42%;
    width: 85%;
    height: 35%;
    z-index: 4;
  }

  /* 5. 3 Stat Cards — Horizontal row with 3 boxes side-by-side */
  .jax-toeic-banner__stats {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    margin: 0 0 20px;
    padding: 0;
    width: 100%;
  }

  .jax-toeic-banner__stat {
    flex: 1 1 0;
    min-width: 0;
    padding: 10px 4px;
    border-radius: 12px;
    align-items: center;
    text-align: center;
    gap: 4px;
  }

  .jax-toeic-banner__stat:first-child {
    padding-left: 4px;
  }

  .jax-toeic-banner__stat:last-child {
    padding-right: 4px;
  }

  .jax-toeic-banner__stat-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
  }

  .jax-toeic-banner__stat-icon {
    width: 24px;
    height: 24px;
    margin: 0 auto;
  }

  .jax-toeic-banner__stat-icon-default {
    width: 22px;
    height: 22px;
    margin: 0 auto;
  }

  .jax-toeic-banner__stat-num {
    font-size: 16px;
    line-height: 1.2;
    font-weight: 800;
  }

  .jax-toeic-banner__stat-desc {
    font-size: 9.5px;
    line-height: 1.35;
    text-align: center;
    color: #334155;
    margin-top: 0;
  }

  .jax-toeic-banner__stat:not(:last-child)::after {
    right: -5px;
    top: 15%;
    bottom: 15%;
    width: 1.5px;
    background: #93c5fd;
    display: block;
  }

  /* 6. Divider hidden on mobile, replaced by flanking lines on actions */
  .jax-toeic-banner__divider {
    display: none;
  }

  /* 7. Action buttons row with side lines */
  .jax-toeic-banner__actions {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin: 0 0 20px;
  }

  .jax-toeic-banner__actions::before,
  .jax-toeic-banner__actions::after {
    content: "";
    flex: 1 1 auto;
    height: 2px;
    background: #a5b4fc;
    border-radius: 2px;
    min-width: 10px;
  }

  .jax-toeic-banner__btn--primary {
    flex: 0 0 auto;
    max-width: 155px;
    height: 42px;
    padding: 4px 18px;
    font-size: 16px;
    border-radius: 50px;
  }

  .jax-toeic-banner__btn--outline {
    flex: 0 0 auto;
    height: 42px;
    padding: 4px 16px;
    font-size: 15px;
    border-radius: 50px;
    border-width: 2px;
  }

  /* 8. Trust Social Proof Row — Left aligned */
  .jax-toeic-banner__trust {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-top: 4px;
    width: 100%;
  }

  .jax-toeic-banner__trust-img {
    flex-shrink: 0;
  }

  .jax-toeic-banner__trust-img img {
    height: 38px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    display: block;
  }

  .jax-toeic-banner__trust-text {
    font-size: 11px;
    line-height: 1.4;
    color: #475569;
    font-weight: 500;
    text-align: left;
    flex: 1;
  }

  .jax-toeic-banner__trust-text strong,
  .jax-toeic-banner__trust-text b {
    color: #1e3a8a;
    font-weight: 700;
  }

  .jax-toeic-banner__panel-bg img {
    height: 100%;
  }
  .jax-toeic-banner__panel-bg {
    top: -60%;
  }
}

@media only screen and (max-width: 575px) {
  .jax-toeic-banner__desc {
    max-width: 100%;
    font-size: 12px;
  }
}
