/* =========================================================
   Integrated English Skills banner — khớp Figma mới
========================================================= */

:root {
  --jax-int-font: "Montserrat", "Inter", sans-serif;
  --jax-int-font-Anton: "Anton", sans-serif;
  --jax-int-purple: #8c81e9;
  --jax-int-orange: #ff6742;
  --jax-int-text: #000;
  --jax-int-tag-1: #ffd251;
  --jax-int-tag-2: #aaedff;
  --jax-int-tag-3: #74eebb;
  --jax-int-tag-4: #ffa042;
  --jax-int-red: #ff2b34;
}

.jax-int-banner.course-banner,
.jax-int-banner.course-banner.course-banner--integrated {
  position: relative;
  padding: 0; 
  margin: 0;
  overflow: hidden;
  color: var(--jax-int-text);
  font-family: var(--jax-int-font);
  background: #fff;
}

.jax-int-banner.course-banner .jax-int-banner__container {
  position: relative;
  z-index: 2;
}

.jax-int-banner__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.jax-int-banner__bg img {
  width: 100%;
  /* height: 100%; */
  /* object-fit: contain; */
  /* object-position: center center; */
  display: block;
}

.jax-int-banner__bg--mobi {
  display: none;
}

.jax-int-banner__row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 5fr);
  min-height: 500px;
  align-items: stretch;
}

.jax-int-banner__left {
  z-index: 3;
  position: relative;
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  padding: 48px 24px 50px 40px;
}

.jax-int-banner__right {
  z-index: 3;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0;
  min-width: 0;
  padding-bottom: 50px;
}

.jax-int-banner__desc {
  z-index: 3;
  position: relative;
  margin: 12px 0 0;
  padding: 0;
  width: 96%;
  max-width: 100%;
  font-family: var(--jax-int-font);
  font-size: 18px;
  font-weight: 600;
  font-style: italic;
  line-height: 1.25;
  color: #071F61;
}

.jax-int-banner__desc strong,
.jax-int-banner__desc b {
  font-weight: 800;
  font-style: italic;
  color: #4B03DB;
}

.jax-int-banner__title {
  --jax-int-title-grad: linear-gradient(
    5deg,
    #7029fe 0%,
    #7029fe 15%,
    #886efe 30%,
    #8756e4 30%,
    #6b2cdf 59%,
    #4423d8 70%,
    #7c3dff 74%,
    #5f02ff 98%,
    #5f02ff 100%
  );
  margin: 0;
  font-family: var(--jax-int-font-Anton);
  font-size: 76px;
  font-weight: 600;
  line-height: 1.1;
  font-style: normal;
  text-transform: uppercase;
}

.jax-int-banner__title i,
.jax-int-banner__title em {
  font-style: normal;
}

.jax-int-banner__title-line {
  display: block;
  background-image: var(--jax-int-title-grad);
  background-repeat: no-repeat;
  background-size: 100% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.jax-int-banner__title-line--1 {
  background-position: center top;
}

.jax-int-banner__title-line--2,
.jax-int-banner__title-line--3,
.jax-int-banner__title-line--4 {
  background-position: center bottom;
}

.jax-int-banner .jax-int-banner__subtitle {
  display: inline-block;
  align-self: flex-start;
  width: auto;
  max-width: 100%;
  margin: 0 0 80px;
  padding: 8px 22px;
  border-radius: 10px;
  background: #846EFF;
  font-family: var(--jax-int-font);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #fff;
}

.jax-int-banner__subtitle span {
  display: inline;
  /* margin-left: 0.3em; */
}

.jax-int-banner__br-sm,
.jax-int-banner__br-mobi {
  display: none;
}

.jax-int-banner__tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin: 0;
  padding: 0;
}

.jax-int-banner__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 100px;
  color: #000;
  font-family: var(--jax-int-font);
  font-size: clamp(13px, 1vw, 16px);
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.jax-int-banner__tag--1 {
  background: var(--jax-int-tag-1);
}

.jax-int-banner__tag--2 {
  background: var(--jax-int-tag-2);
}

.jax-int-banner__tag--3 {
  background: var(--jax-int-tag-3);
}

.jax-int-banner__tag--4 {
  background: var(--jax-int-tag-4);
}

.jax-int-banner__visual {
  position: relative;
  z-index: 1;
  width: 100%;
  line-height: 0;
}

.jax-int-banner__visual--mobi {
  display: none;
}

.jax-int-banner__visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: right bottom;
}

@keyframes jax-int-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.jax-int-banner.is-in .jax-int-banner__visual {
  animation: jax-int-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.12s forwards;
}

@media (prefers-reduced-motion: reduce) {
  .jax-int-banner.is-in .jax-int-banner__visual {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

@media screen and (max-width: 1600px) and (min-width: 1367px) {
  .jax-int-banner__row {
    min-height: 460px;
  }
}

/* @media (max-width: 1366px) and (min-width: 1025px) {
  .jax-int-banner__row {
    min-height: 400px;
  }

  .jax-int-banner__left {
    padding: 36px 16px 36px 24px;
  }

  .jax-int-banner__title {
    font-size: clamp(34px, 3.2vw, 50px);
  }

  .jax-int-banner__desc {
    font-size: 14px;
    margin-top: 12px;
  }

  .jax-int-banner .jax-int-banner__subtitle {
    font-size: 14px;
    margin-bottom: 24px;
    padding: 6px 14px;
  }

  .jax-int-banner__tag {
    padding: 7px 14px;
    font-size: 13px;
  }
} */

@media screen and (max-width: 1024px) {
  .jax-int-banner__row {
    display: flex;
    flex-direction: column;
    min-height: 0;
    grid-template-columns: none;
  }

  .jax-int-banner__left,
  .jax-int-banner__right,
  .jax-int-banner__desc {
    width: 100%;
    max-width: 100%;
  }

  .jax-int-banner__left {
    padding: 28px 0 12px;
  }

    /* .jax-int-banner__title {
      font-size: clamp(32px, 5vw, 46px);
    } */

  .jax-int-banner__right {
    align-items: center;
    justify-content: center;
  }

  .jax-int-banner__visual img {
    object-position: center bottom;
  }

  .jax-int-banner__desc {
    margin-top: 16px;
    padding: 0;
    width: 100%;
    max-width: none;
  }
}

@media only screen and (max-width: 767px) {
  .jax-int-banner.course-banner,
  .jax-int-banner.course-banner.course-banner--integrated {
    overflow: visible;
    background: #fff;
  }

  .jax-int-banner.course-banner .jax-int-banner__container {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .jax-int-banner__bg--desk {
    display: none;
  }

  .jax-int-banner.has-mobi-bg .jax-int-banner__bg--mobi {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 0;
  }

  .jax-int-banner.has-mobi-bg .jax-int-banner__bg--mobi img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  .jax-int-banner.has-mobi-people .jax-int-banner__visual--desk {
    display: none;
  }

  .jax-int-banner.has-mobi-people .jax-int-banner__visual--mobi {
    display: block;
  }

  .jax-int-banner:not(.has-mobi-people) .jax-int-banner__visual--mobi {
    display: none;
  }

  .jax-int-banner__row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    gap: 0;
  }

  .jax-int-banner__left {
    display: contents;
  }

  .jax-int-banner__br-mobi {
    display: block;
  }

  .jax-int-banner__title {
    order: 1;
    width: 100%;
    margin: 0 0 10px;
    /* font-size: clamp(36px, 11vw, 48px); */
    line-height: 1;
    /* letter-spacing: -0.03em; */
    text-align: left;
  }

  .jax-int-banner .jax-int-banner__subtitle {
    order: 2;
    align-self: flex-start;
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: 0;
    margin: 0 0 16px;
    padding: 6px 14px;
    color: #fff;
    background: #846EFF;
    white-space: nowrap;
  }

  .jax-int-banner__tags {
    order: 3;
    display: grid;
    grid-template-columns: repeat(2, max-content);
    justify-content: start;
    justify-items: stretch;
    align-self: flex-start;
    gap: 10px 12px;
    margin: 0 0 12px;
  }

  .jax-int-banner__tag {
    min-width: 108px;
    padding: 7px 18px;
    font-size: 14px;
    font-weight: 700;
    color: #000;
  }

  .jax-int-banner__right {
    order: 4;
    display: block;
    width: 100%;
    margin: 8px 0 12px;
    padding: 0;
    min-height: 0;
  }

  .jax-int-banner__visual {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
  }

  .jax-int-banner__visual img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto !important;
    object-fit: contain;
    object-position: center center;
  }

  .jax-int-banner__desc {
    order: 5;
    width: 100%;
    max-width: 100%;
    margin: 8px auto 0;
    padding: 0 16px;
    font-size: 13px;
    font-style: italic;
    line-height: 1.5;
    text-align: center;
  }

  .jax-int-banner__desc strong,
  .jax-int-banner__desc b {
    color: #5d45e6;
    font-weight: 800;
    font-style: italic;
  }
}

@media screen and (max-width: 575px) {
  .jax-int-banner.course-banner .jax-int-banner__container {
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .jax-int-banner__br-sm,
  .jax-int-banner__subtitle br {
    display: none;
  }

  /* .jax-int-banner .jax-int-banner__subtitle {
    font-size: 11px;
    padding: 5px 12px;
  } */

  .jax-int-banner__tag {
    min-width: 100px;
    padding: 6px 16px;
    font-size: 13px;
  }

  .jax-int-banner__desc {
    font-size: 17px;
    text-align: center;
    color: #5d45e6;
  }
}
