/* idx-banner */
.idx-banner {
  position: relative;
}

.idx-banner img, .idx-banner video {
  width: 100%;
  min-height: 250px;
  display: block;
}

.idx-banner .container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
}

.idx-banner .title {
  line-height: 1.2;
  text-align: center;
}

.idx-banner .info, .idx-banner .btn {
  display: none;
}

@media (min-width: 768px) {
  .idx-banner .title {
    margin-bottom: 20px;
  }

  .idx-banner .info {
    font-weight: bold;
    margin-bottom: 20px;
    display: block;
  }

  .idx-banner .btn {
    width: 178px;
    color: #fff;
    border-radius: 0;
    padding: 11px 15px;
    background: var(--style-color);
    display: inline-block;
  }
}

@media (min-width: 1200px) {
  .idx-banner .title {
    margin-bottom: 40px;
  }

  .idx-banner .info {
    margin-bottom: 40px;
  }

  .idx-banner .btn {
    width: 203px;
    transition: all .3s;
  }

  .idx-banner .btn:hover {
    color: var(--style-color);
    background: #fff;
  }
}

@media (min-width: 1440px) {
  .idx-banner .title {
    font-size: 54px;
    margin-bottom: 63px;
  }

  .idx-banner .info {
    margin-bottom: 60px;
  }
}

@media (max-width: 640px) {
  .idx-banner .title {
    font-size: 18px;
  }
}


/* idx-contact */
.idx-contact {
  padding: 20px 0;
  color: #fff;
  background: var(--style-color);
}

.idx-contact .info {
  margin-bottom: 15px;
}

.idx-contact .btn {
  border-radius: 0;
  background: #008191;
}

@media (min-width: 768px) {
  .idx-contact .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .idx-contact .info {
    margin-bottom: 0;
  }
}

@media (min-width: 1200px) {
  .idx-contact .btn {
    width: 268px;
    padding-top: 11px;
    padding-bottom: 11px;
    transition: all .3s;
  }

  .idx-contact .btn:hover {
    color: var(--style-color);
    background: #fff;
  }
}


/* idx-products */
.idx-products {
  padding: 30px 0;
}

.idx-products .title {
  margin-bottom: 10px;
}

.idx-products .sub-info {
  text-align: center;
  line-height: 1.8;
  margin-bottom: 20px;
}

.idx-products .swiper-container {
  margin: -8px -11px -14px -11px;
  padding: 8px 11px 14px 11px;
}

.idx-products .swiper-slide {
  box-shadow: 0px 3px 10px 1px rgba(0, 0, 0, 0.13);
}

.idx-products .swiper-slide img {
  width: 100%;
  height: 100%;
  aspect-ratio: 500 / 600;
}

.idx-products .tit {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 80px;
  color: #fff;
  padding: 5px 15px;
  display: flex;
  align-items: center;
}

.idx-products .tit::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: .4;
}

.idx-products .tit span {
  position: relative;
  z-index: 1;
}

@media (min-width: 1200px) {
  .idx-products {
    padding: 60px 0;
  }

  .idx-products .title {
    margin-bottom: 18px;
  }

  .idx-products .sub-info {
    margin-bottom: 50px;
  }

  .idx-products .tit {
    height: 94px;
    margin-top: 25px;
    padding-left: 40px;
    padding-right: 40px;
  }

  .idx-products .tit:hover {
    color: var(--style-color);
  }
}

@media (min-width: 1640px) {
  .idx-products {
    padding: 74px 0 80px;
  }
}


/* idx-about */
.idx-about {
  padding-top: 30px;
}

.idx-about .lt {
  color: #fff;
  padding: 30px 20px;
  position: relative;
}

.idx-about .lt::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--style-color);
  opacity: .9;
}

.idx-about .lt>* {
  position: relative;
  z-index: 1;
}

.idx-about .line-title {
  margin-bottom: 15px;
}

.idx-about .title {
  text-align: left;
  margin-bottom: 20px;
}

.idx-about .sub-info {
  line-height: 1.8;
  max-height: 231px;
}

.idx-about .btn {
  width: 160px;
  margin-top: 20px;
  border-radius: 0;
  background: #008191;
}

@media (min-width: 992px) {
  .idx-about .container {
    display: flex;
  }

  .idx-about .lt {
    width: 400px;
    flex-shrink: 0;
  }

  .idx-about .rt {
    flex: 1;
  }

  .idx-about .rt img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

@media (min-width: 1200px) {
  .idx-about {
    padding-top: 60px;
  }

  .idx-about .lt {
    width: 500px;
    padding: 60px 50px;
  }

  .idx-about .line-title {
    margin-bottom: 31px;
    justify-content: flex-start;
  }

  .idx-about .line-title::before {
    width: 60px;
    margin-right: 20px;
    background: #fff;
  }

  .idx-about .line-title::after {
    display: none;
  }

  .idx-about .title {
    margin-bottom: 32px;
  }

  .idx-about .btn {
    width: 203px;
    margin-top: 40px;
    padding-top: 11px;
    padding-bottom: 11px;
    transition: all .3s;
  }

  .idx-about .btn:hover {
    color: var(--style-color);
    background: #fff;
  }
}

@media (min-width: 1640px) {
  .idx-about {
    padding-top: 80px;
  }

  .idx-about .lt {
    padding-right: 75px;
  }

  .idx-about .btn {
    margin-top: 68px;
  }
}


/* idx-advantage */
@font-face {
  font-family: 'BOXING';
  src: url('../public/Themes/fonts/BOXING.TTF');
}

.idx-advantage {
  padding: 30px 0;
}

.idx-advantage .title {
  margin-bottom: 10px;
}

.idx-advantage .sub-info {
  text-align: center;
  line-height: 1.8;
  margin-bottom: 20px;
}

.idx-advantage .swiper-slide {
  height: unset;
  color: #fff;
  padding: 30px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.idx-advantage .swiper-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .3);
}

.idx-advantage .swiper-slide>* {
  position: relative;
  z-index: 1;
}

.idx-advantage .num {
  font-family: 'BOXING';
  line-height: 1;
  margin-bottom: 15px;
}

.idx-advantage .tit {
  line-height: 1.2;
}

.idx-advantage .info {
  height: 116px;
  line-height: 1.8;
  margin-top: 10px;
}

.idx-advantage .icon {
  width: auto;
  height: 50px;
  margin-top: 15px;
}

@media (min-width: 540px) {
  .idx-advantage .swiper-slide {
    aspect-ratio: 400 / 600;
  }
}

@media (min-width: 1200px) {
  .idx-advantage {
    padding: 60px 0;
  }

  .idx-advantage .title {
    margin-bottom: 19px;
  }

  .idx-advantage .sub-info {
    max-width: 1370px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
  }

  .idx-advantage .swiper-slide::before {
    transition: background .3s linear;
  }

  .idx-advantage .swiper-slide:hover::before {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #00CFE9 100%);
  }

  .idx-advantage .info {
    transition: all .3s linear;
  }

  .idx-advantage .swiper-slide:not(:hover) .info {
    height: 0;
    margin-top: 0;
  }

  .idx-advantage .icon {
    margin-top: 23px;
  }
}

@media (min-width: 1640px) {
  .idx-advantage {
    padding: 104px 0 80px;
  }

  .idx-advantage .sub-info {
    margin-bottom: 51px;
  }

  .idx-advantage .swiper-slide {
    padding: 44px 40px 40px;
  }
}


/* hot-products */
.hot-products .top-wrap {
  padding: 30px 0 60px;
  position: relative;
}

.hot-products .top-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(88deg, #036E7B 0%, rgba(3, 110, 123, 0) 100%);
  opacity: 0.49;
}

.hot-products .top-wrap .container {
  color: #fff;
  position: relative;
  z-index: 1;
}

.hot-products .title {
  text-align: left;
  max-width: 515px;
  margin-bottom: 10px;
}

.hot-products .sub-info {
  line-height: 1.8;
  max-width: 400px;
}

.hot-products .btn {
  width: 160px;
  margin-top: 20px;
  border-radius: 0;
  background: var(--style-color);
}

.hot-products .bottom-wrap {
  margin-top: -30px;
}

.hot-products .swiper-container {
  margin: -8px -11px -14px -11px;
  padding: 8px 11px 14px 11px;
}

.hot-products .scale-img {
  border: 4px solid #FFFFFF;
  box-shadow: 0px 3px 10px 1px rgba(0, 0, 0, 0.13);
}

.hot-products .scale-img img {
  width: 100%;
}

.hot-products .tit {
  font-weight: bold;
  margin-top: 15px;
  margin-bottom: 8px;
}

.hot-products .info {
  color: #999;
}

@media (min-width: 1200px) {
  .hot-products .top-wrap {
    padding: 60px 0 200px;
  }

  .hot-products .line-title {
    margin-bottom: 31px;
    justify-content: flex-start;
  }

  .hot-products .line-title::before {
    width: 60px;
    margin-right: 20px;
    background: #fff;
  }

  .hot-products .line-title::after {
    display: none;
  }

  .hot-products .title {
    margin-bottom: 19px;
  }

  .hot-products .btn {
    width: 203px;
    margin-top: 40px;
    padding-top: 11px;
    padding-bottom: 11px;
    transition: all .3s;
  }

  .hot-products .btn:hover {
    color: var(--style-color);
    background: #fff;
  }

  .hot-products .bottom-wrap {
    margin-top: -137px;
  }

  .hot-products .tit {
    margin-top: 25px;
  }

  .hot-products .tit a:hover {
    color: var(--style-color);
  }
}


/* idx-blog */
.idx-blog {
  padding-top: 30px;
  padding-bottom: 30px;
}

.idx-blog .title {
  margin-bottom: 10px;
}

.idx-blog .sub-info {
  line-height: 1.8;
  text-align: center;
  margin-bottom: 20px;
}

.idx-blog .tit {
  font-weight: bold;
  text-align: left;
}

.idx-blog .info-desc {
  line-height: 1.75;
  text-align: left;
}

.idx-blog .news-list {
  margin-bottom: 30px;
}

.idx-blog .tab-list {
  margin-top: 0;
  display: block;
  list-style: none;
}

.idx-blog .tab-list li {
  width: 100%;
  background: #F7F7F7;
  transition: all 550ms cubic-bezier(.19, 1, .22, 1);
  overflow: hidden;
  cursor: pointer;
}

.idx-blog .tab-list li:not(:last-child) {
  margin-bottom: 25px;
}

.idx-blog .tab-list li.active {
  background: #032237;
}

.idx-blog .tab-list li.active .date {
  background: var(--style-color);
}

.idx-blog .date {
  display: none;
}

.idx-blog .info-group {
  width: 100%;
  padding: 10px 20px 10px 14px;
}

.idx-blog .tab-list li.active .tit,
.idx-blog .tab-list li.active .info-desc {
  color: #fff;
}

.idx-blog .info-group .tit {
  margin-bottom: 1px;
}

.idx-blog .scale-img {
  position: relative;
}

.idx-blog .scale-img img {
  width: 100%;
}

.idx-blog .tab-pane .tit {
  text-align: left;
  margin: 20px 0 10px;
}

.idx-blog .tab-pane .btn {
  width: 160px;
  color: #fff;
  margin-top: 15px;
  border-radius: 0;
  border-color: var(--style-color);
  background: var(--style-color);
}

@media (min-width: 648px) {
  .idx-blog .tab-list li {
    display: flex;
  }

  .idx-blog .date {
    width: 125px;
    height: 100%;
    padding-right: 18%;
    color: #fff;
    background-color: #DBDBDB;
    clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .idx-blog .date span {
    display: block;
    font-size: 45px;
    line-height: 1;
  }

  .idx-blog .info-group .tit {
    -webkit-line-clamp: 1;
  }

  .idx-blog .news-list .info-desc {
    -webkit-line-clamp: 2;
  }
}

@media (min-width: 768px) {
  .idx-blog .news-list .date span {
    font-size: 60px;
  }
}

@media (min-width: 1200px) {
  .idx-blog {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .idx-blog .title {
    margin-bottom: 19px;
  }

  .idx-blog .sub-info {
    margin-bottom: 50px;
  }

  .idx-blog .row-wrap {
    display: flex;
    flex-direction: row-reverse;
  }

  .idx-blog .news-list {
    flex: 0 0 49.18%;
    max-width: 49.18%;
    padding-left: 15px;
  }

  .idx-blog .news-list {
    margin-bottom: 0;
  }

  .idx-blog .tab-list li:not(:last-child) {
    margin-bottom: 40px;
  }

  .idx-blog .news-list .info-group {
    padding-top: 22px;
    padding-bottom: 26px;
    padding-right: 30px;
  }

  .idx-blog .news-list .btn:hover {
    color: var(--style-color);
  }

  .idx-blog .news-list .btn:hover i {
    color: #fff;
    background: var(--style-color);
  }

  .idx-blog .tab-content {
    flex: 0 0 50.82%;
    max-width: 50.82%;
    padding-right: 15px;
  }

  .idx-blog .tab-pane .tit {
    margin-top: 25px;
  }

  .idx-blog .tab-pane .tit a:hover {
    color: var(--style-color);
  }

  .idx-blog .tab-pane .btn {
    width: 203px;
    margin-top: 26px;
    padding-top: 11px;
    padding-bottom: 11px;
    transition: all .3s;
  }

  .idx-blog .tab-pane .btn:hover {
    color: var(--style-color);
    background: #fff;
  }
}

@media (min-width: 1640px) {
  .idx-blog {
    padding-top: 100px;
    padding-bottom: 110px;
  }

  .idx-blog .tab-content {
    padding-right: 21px;
  }

  .idx-blog .news-list {
    padding-left: 21px;
  }

  .idx-blog .news-list .date {
    width: 172px;
  }

  .idx-blog .news-list .date span {
    font-size: 80px;
  }

  .idx-blog .news-list .info-desc {
    -webkit-line-clamp: 3;
  }
}