/*
Theme Name: Sao Kim Digital
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Sao Kim Digital
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.0
Text Domain: saokimdigital
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

body {
  font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  text-rendering: optimizeLegibility;
  text-rendering: optimizeSpeed;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


.max_line_1,
.max_line_1 a,
.max_line_1 p {
  overflow: hidden;
  display: -webkit-box !important;
  -webkit-line-clamp: 1 !important;
  line-clamp: 1 !important;
  -webkit-box-orient: vertical !important;
}

.max_line_2,
.max_line_2 a,
.max_line_2 p {
  overflow: hidden;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  text-overflow: clip;
}

.max_line_3,
.max_line_3 a,
.max_line_3 p {
  overflow: hidden;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
}

.max_line_4,
.max_line_4 a,
.max_line_4 p {
  overflow: hidden;
  display: -webkit-box !important;
  -webkit-line-clamp: 4 !important;
  line-clamp: 4 !important;
  -webkit-box-orient: vertical !important;
}



.box_tab_content_img .elementor-widget-image {
  display: none;
}

.box_tab_content_img .elementor-widget-image.active {
  display: block;
}


/* Hoạt động slide */

.hoat-dong-wrapper {
  position: relative;
  padding: 356px 0 163px 0;
  color: #fff;
}

.hoat-dong-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
  z-index: 1;
  transition: 0.6s ease;
}


.hoat-dong-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg, rgba(0, 0, 0, 0.00) 22.44%, rgba(0, 0, 0, 0.80) 100%);
  pointer-events: none;
  z-index: 2;
}

.hoat-dong-inner {
  position: relative;
  z-index: 5;
  display: flex;
  gap: 143px;
  padding-left: calc(((100% - var(--content-width)) / 2));
}

.hoat-dong-left {
  width: 40%;
}

.hoat-dong-right {
  width: 60%;
}


.hoat-dong-inner .hd-sub {
  color: #FFF;
  font-family: "Inter";
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.3em;
  text-transform: uppercase;
}


.hoat-dong-inner .hd-title {
  color: #FFF;
  font-family: "Inter";
  font-size: 36px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.3em;
  text-transform: uppercase;
}


.hoat-dong-inner .hd-content {
  font-family: "Inter";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.3em;
  letter-spacing: 0.32px;
  margin: 32px 0;
  text-align: justify;
}

.item-box {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  backdrop-filter: blur(3px);
  cursor: pointer;
  box-shadow: 4px 10px 20px 0 rgba(0, 0, 0, 0.50);
}

.item-box::after {
  content: "";
  position: absolute;
  inset: 0;
  /* background: linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%); */
  pointer-events: none;
  z-index: 2;
}

.item-img {
  width: 100%;
  aspect-ratio: 240/356;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}

.item-img:hover {
  transform: scale(1.08);
}

.item-name {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 24px;
  color: #FFF;
  font-family: "Inter";
  font-size: 20px;
  font-weight: 500;
  text-transform: uppercase;
  text-align: center;
  z-index: 3;
}


.hd-btn {
  display: inline-block;
  background: #0080C5;
  color: #fff;
  padding: 12px 32px;
  border-radius: 50px;
  color: #FFF;
  font-family: "Inter";
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0.36px;
}

.hd-btn:hover {
  background: #ED1F26;
  color: #fff;
}

.hd-nav {
  margin-top: 32px;
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 31px;
}

.hd-nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

.hoat-dong-inner .swiper-button-prev,
.hoat-dong-inner .swiper-button-next {
  position: relative !important;
  left: unset !important;
  right: unset !important;
  top: unset !important;
  margin: 0 !important;
  transform: none !important;

  width: 50px;
  height: 50px;
  background: transparent;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(4px);
  cursor: pointer;
  z-index: 10;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  border: 1px solid #fff;
}


.hoat-dong-inner .swiper-button-prev:hover,
.hoat-dong-inner .swiper-button-next:hover {
  background: #0080C5;
  border: 1px solid #0080C5;
}


.hoat-dong-inner .swiper-button-prev svg,
.hoat-dong-inner .swiper-button-next svg {
  width: 20px;
  height: 20px;
}

.hoat-dong-inner .swiper-button-prev::after,
.hoat-dong-inner .swiper-button-next::after {
  display: none !important;
}

.hoat-dong-inner .swiper-pagination {
  position: relative !important;
  width: 727px !important;
  height: 5px !important;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
}

.hoat-dong-inner .swiper-pagination-progressbar-fill {
  background: #0080C5 !important;
}

.hoat-dong-inner .swiper-pagination-progressbar {
  background: rgb(255 255 255) !important;
}


.child-product-cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 20px;
}

.child-product-cats .cat-item {
  text-align: center;
  transition: 0.3s;
  border: 1px solid #eee;
  padding: 15px;
}

.child-product-cats .cat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.child-product-cats img {
  width: 100%;
  aspect-ratio: 345/370;
  object-fit: cover;
}

.child-product-cats h3 {
  background-color: var(--e-global-color-secondary);
  padding: 12px 15px;
  font-family: "Inter", Sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 150%;
  color: #FFFFFF;
  margin: 0;
  transition: all 0.6s ease;
}

.child-product-cats .cat-item:hover h3 {
  background-color: #ED1D23;
}

.cat-item a {
  display: flex;
  flex-direction: column;
}

.cat-siblings-list:first-child {
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  flex-direction: column;
}

.level-1>li {
  padding: 8px 15px;
  border-bottom: 1px solid #ddd;
}

.cat-siblings-list li a {

  text-decoration: none;
  display: block;

  font-family: "Inter", Sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: #292929;
}

.level-2 li a {
  font-size: 14px;
  padding: 6px 10px;
}

.cat-siblings-list li a:hover {
  color: #ED1D23;
}

.cat-siblings-list li:last-child a {
  border-bottom: none;
}

/*laptop*/
@media screen and (max-width: 1550px) {
  .hoat-dong-inner {
    gap: 80px;
    padding-left: 60px;
  }

  .hoat-dong-wrapper {
    padding: 250px 0 120px 0;
  }

  .item-name {
    padding: 16px;
    font-size: 16px;
  }

  .child-product-cats h3 {
    padding: 10px 12px;
    font-size: 16px;
  }
}

/*ipad*/
@media screen and (max-width: 967px) {
  .hoat-dong-inner {
    padding: 0 25px;
    flex-wrap: wrap;
  }

  .child-product-cats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 16x;
  }

  .hoat-dong-wrapper {
    padding: 40px 0;
  }

  .hoat-dong-left {
    width: 100%;
  }

  .hoat-dong-right {
    width: 100%;
  }

  .hoat-dong-inner .hd-title {
    font-size: 32px;
  }

  .hoat-dong-inner .hd-sub {
    font-size: 18px;
  }

  .hoat-dong-inner .hd-content {
    margin: 20px 0;
  }

  .item-name {
    padding: 10px;
    font-size: 22px;
  }

  .hd-nav {
    gap: 31px;
  }

  .hd-nav-inner {
    gap: 20px;
  }
}

/*mobile*/
@media screen and (max-width: 767px) {
  .cat-siblings-list li a {
    padding: 6px 12px;
    font-size: 14px;
  }

  .child-product-cats h3 {
    padding: 6px 4px;
    font-size: 12px;
  }

  .hoat-dong-inner {
    padding: 0 16px;

  }

  .hoat-dong-inner .hd-title {
    font-size: 28px;
  }

  .hoat-dong-inner .hd-sub {
    font-size: 16px;
  }

  .hoat-dong-inner .hd-content {
    font-size: 14px;
  }

  .hd-btn {
    padding: 10px 25px;
    font-size: 16px;
  }

  .item-name {
    font-size: 18px;
  }

  .hoat-dong-inner .swiper-button-prev,
  .hoat-dong-inner .swiper-button-next {
    width: 45px;
    height: 45px;
    padding: 10px 18px;

  }

  .hd-nav {
    gap: 20px;
  }

  .hd-nav-inner {
    gap: 16px;
  }

  .hoat-dong-inner .swiper-pagination {
    height: 3px !important;
  }
}




.progress-wrap {
  position: fixed;
  right: 30px;
  bottom: 30px;
  height: 46px;
  width: 46px;
  cursor: pointer;
  display: block;
  border-radius: 50px;
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.1);
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
}

.progress-wrap.active-progress {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.progress-wrap::after {
  content: '';
  position: absolute;
  background-image: url("assets/images/arrow_bottom.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: auto;
  text-align: center;
  line-height: 46px;
  font-size: 24px;
  color: #ed1d23;
  left: 0;
  top: 0;
  height: 46px;
  width: 46px;
  cursor: pointer;
  display: block;
  z-index: 1;
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
  transform: rotate(180deg);
}

.progress-wrap:hover::before {
  opacity: 1;
}

.progress-wrap svg path {
  fill: none;
}

.progress-wrap svg.progress-circle path {
  stroke: #ed1d23;
  stroke-width: 4;
  box-sizing: border-box;
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
}