/* Banner */
.section-banner .section-content > .row {
  max-width: 55.2% !important;
  justify-content: start;
  margin: unset;
  padding: 0.4rem;
}

.section-banner .section-content > .row > .col {
  padding: 0.2rem;
}

/* Câu chuyện thương hiệu */
.section-brand-story h2 {
  padding-bottom: 2.6rem;
}

.section-brand-story .row > .div-img .wrap-img {
  margin-right: auto;
  margin-left: auto;
  z-index: 2;
}

.section-brand-story .row.story-right > .div-img .wrap-img > .col > .col-inner {
  max-width: 700px;
  margin-left: 0;
  margin-right: auto;
}

.section-brand-story .row .wrap-text {
  width: 100%;
}

.section-brand-story .row .wrap-text .col-inner {
  max-width: 403px;
}

.section-brand-story .row.story-left .wrap-text .col-inner {
  margin-right: auto;
  margin-left: 0;
}

.section-brand-story .row.row.story-right .wrap-text .col-inner {
  margin-left: auto;
  margin-right: 0;
}

.section-brand-story .row > .div-text h3,
.section-brand-story .row > .div-text p {
  color: #fff;
}

.section-brand-story .row.story-left > .div-img .wrap-img > .col > .col-inner {
  max-width: 700px;
  margin-right: 0;
  margin-left: auto;
}

.section-brand-story .row > .div-text > .col-inner {
  width: 100%;
  height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.section-brand-story .row > .div-text > .col-inner::after {
  content: "";
  background-color: var(--bg-main);
  width: 1005px;
  height: 350px;
  position: absolute;
  z-index: -1;
  right: 0;
  top: 0;
}

.section-brand-story .row.story-right > .div-text > .col-inner::after {
  border-radius: 0.3rem 0 0 0.3rem;
}

.section-brand-story .row.story-left > .div-text > .col-inner::after {
  border-radius: 0 0.3rem 0.3rem 0;
}

.section-brand-story .row.story-left > .div-text > .col-inner::after {
  left: 0;
}

.section-brand-story .row.story-right > .div-text > .col-inner {
  margin-right: 0;
  margin-left: auto;
}

.section-brand-story .rowstory-left > .div-text > .col-inner {
  margin-left: 0;
  margin-right: auto;
}

.section-brand-story .row.story-left > .div-text > .col-inner {
  margin-left: 0;
  margin-right: auto;
  border-radius: 0 0.3rem 0.3rem 0;
}

.section-brand-story .row.story-left > .div-text,
.section-brand-story .row.story-right > .div-text {
  margin-top: -300px;
  z-index: 1;
}

.section-brand-story .row.story-left > .div-img,
.section-brand-story .row.story-right > .div-img {
  z-index: 2;
}

.section-brand-story .row {
  position: relative;
}

.section-brand-story .row.row-full-width:not(:last-child):after {
  position: absolute;
  content: "";
  background-image: url(/wp-content/uploads/2024/12/line-cau-chuyen.png);
  background-repeat: no-repeat;
  background-size: contain;
  width: 16px;
  height: 98px;
  left: 50%;
  transform: translateX(-50%);
  top: calc(100% - 0.4rem);
  z-index: 2;
}

.section-brand-story .row > .div-text h3 {
  font-size: 1.5rem !important;
}

.section-brand-story .row > .div-text p {
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.2px;
  text-align: justify;
  line-height: 1.3rem;
}

/* Thành tựu */
.section-achievement {
  background-color: #f2f2f2;
}

.section-achievement h2 {
  margin-bottom: 3.4rem !important;
}

.section-achievement .list-achievement .col-inner {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.section-achievement .slick-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.section-achievement .wrap-content img {
  aspect-ratio: 333 / 412;
  width: 333px;
}

.section-achievement .wrap-content {
  display: flex;
  align-items: stretch;
}

.section-achievement .wrap-content > .col {
  flex: 1;
  border-radius: 12px;
}

.section-achievement .wrap-content > .col:first-child {
  background-color: var(--bg-main);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3.5rem 3.4rem 5rem;
}

.section-achievement .wrap-content > .col:last-child {
  background-color: #fff;
}

.section-achievement .wrap-content h3 {
  line-height: 2.4rem !important;
  font-weight: 700 !important;
  color: #fff;
  text-transform: uppercase;
}

.section-achievement .wrap-content p {
  color: #fff;
  letter-spacing: -0.2px;
  text-align: justify;
}

.section-achievement .slick-dots button::before {
  font-size: 0.4rem !important;
}

.section-achievement .slick-dots {
  bottom: 2.9rem;
}

.section-achievement .custom-button {
  background-color: var(--bg-main);
  position: absolute;
  z-index: 2;
}

.section-achievement .custom-button svg {
  stroke: #fff;
}

.section-achievement .custom-button.custom-prev-button {
  left: 2rem;
}

.section-achievement .custom-button.custom-next-button {
  right: 2rem;
}

.section-achievement .custom-button.custom-prev-button:hover svg {
  animation: leftToRightChangeColorBlack 0.4s forwards ease;
}
.section-achievement .custom-button.custom-prev-button:not(:hover) svg {
  animation: leftToRightChangeColorWhite 0.4s forwards;
}

.section-achievement .custom-button.custom-next-button:hover svg {
  animation: rightToLeftChangeColorBlack 0.4s forwards ease;
}
.section-achievement .custom-button.custom-next-button:not(:hover) svg {
  animation: rightToLeftChangeColorWhite 0.4s forwards;
}

.section-achievement .custom-button:hover {
  background-color: var(--gray-bg);
}

.section-achievement .custom-button.custom-prev-button {
  left: 2rem;
}

@keyframes rightToLeftChangeColorBlack {
  49% {
    transform: translateX(100%);
  }

  50% {
    opacity: 0;
    transform: translateX(-100%);
  }
  51% {
    opacity: 1;
  }

  100% {
    stroke: #000;
  }
}

@keyframes rightToLeftChangeColorWhite {
  49% {
    transform: translateX(-100%);
  }

  50% {
    opacity: 0;
    transform: translateX(100%);
  }
  51% {
    opacity: 1;
  }
  100% {
    stroke: white;
  }
}

@keyframes leftToRightChangeColorBlack {
  49% {
    transform: translateX(-100%);
  }

  50% {
    opacity: 0;
    transform: translateX(100%);
  }
  51% {
    opacity: 1;
  }

  100% {
    stroke: #000;
  }
}

@keyframes leftToRightChangeColorWhite {
  49% {
    transform: translateX(100%);
  }

  50% {
    opacity: 0;
    transform: translateX(-100%);
  }
  51% {
    opacity: 1;
  }
  100% {
    stroke: white;
  }
}

@media screen and (max-width: 1200px) {
  .section-brand-story .row > .div-img .wrap-img > .col {
    max-width: 50%;
    flex-basis: 50%;
  }

  .section-brand-story .row > .div-img .wrap-img {
    padding: 0 1rem;
  }

  .section-brand-story .row.story-left > .div-img .wrap-img {
    justify-content: end;
  }

  .section-brand-story .row.story-left > .div-text,
  .section-brand-story .row.story-right > .div-text {
    margin-top: -210px;
  }

  .section-brand-story .row .wrap-text {
    padding: 0 1rem;
  }

  .section-brand-story .row > .div-text > .col-inner {
    height: 300px;
  }

  .section-brand-story .row > .div-text > .col-inner::after {
    max-width: 70%;
    max-height: 300px;
  }

  .section-brand-story .row .wrap-text .col-inner {
    max-width: 460px;
  }

  .section-achievement .wrap-content > .col:first-child {
    padding: 3.5rem 2.5rem 5rem;
  }
}

@media screen and (max-width: 1023.98px) {
  .section-brand-story .row .col.div-img {
    flex-basis: 40%;
    max-width: 40%;
  }
  .section-brand-story .row .col.div-text {
    flex-basis: 60%;
    max-width: 60%;
    margin-top: 0;
  }

  .section-brand-story .row.story-right .col.div-text {
    padding-left: 1rem;
  }

  .section-brand-story .row.story-left .col.div-text {
    padding-right: 1rem;
  }

  .section-brand-story .row > .div-img .wrap-img > .col {
    max-width: 100%;
    flex-basis: 100%;
  }

  .section-brand-story .row > .div-text > .col-inner::after {
    display: none;
  }

  .section-brand-story .row {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
  }

  .section-brand-story .row.story-left > .div-text,
  .section-brand-story .row.story-right > .div-text {
    margin-top: 0 !important;
  }

  .section-brand-story .row > .div-text > .col-inner {
    height: unset !important;
    padding: 1rem;
    background-color: var(--bg-main);
    border-radius: 6px !important;
  }
  .section-brand-story .row.story-left > .div-img {
    order: 2;
  }

  .section-brand-story .row > .div-img .wrap-img,
  .section-brand-story .row .wrap-text {
    padding: 0;
  }

  .section-achievement .wrap-content > .col {
    flex-basis: 100%;
    max-width: 100%;
  }

  .section-achievement .wrap-content > .col:first-child {
    padding: 1.5rem 1.5rem 2rem;
  }

  .section-achievement .slick-dots {
    bottom: 10px;
  }
}

@media screen and (max-width: 767.98px) {
  .section-banner .section-content > .row > .col {
    flex-basis: 50%;
    max-width: 50%;
  }

  .section-brand-story .row .col.div-img {
    flex-basis: 100%;
    max-width: 100%;
    order: 2;
    z-index: -1;
  }

  .section-brand-story .row .col.div-text {
    flex-basis: 100%;
    max-width: 100%;
    padding: 0 !important;
  }

  .section-achievement .wrap-content img {
    width: 225px;
  }

  .section-brand-story h2 {
    padding-bottom: 0;
  }

  .section-achievement .wrap-content h3 {
    font-size: 4.7vw !important;
  }
}
