/******
 ****** Global font
 ******/
html body {
    font-family: "Montserrat", arial, helvetica, clean, sans-serif;
}

:root {
  --bs-breakpoint-xs: 0;
  --bs-breakpoint-sm: 576px;
  --bs-breakpoint-md: 768px;
  --bs-breakpoint-lg: 992px;
  --bs-breakpoint-xl: 1200px;
  --bs-breakpoint-xxl: 1400px;
  --bs-body-font-size: 13px;
}
@media (min-width: 768px) {
  :root {
    --bs-body-font-size: 16px;
    --wp--preset--font-size--small: 16px;
  }
}

/******
 ****** Globa color
 ******/
.text-blue{
  color: #743BFF;
}
.bg-blue{
  background-color: #743BFF;
}
.text-purple{
  color: #7B3FF7;
}
.bg-purple{
  background-color: #7B3FF7;
}
.text-grey{
  color: #666;
}

/******
 ****** Globa font size
 ******/
body {
  color: #333;
}

p {
  color: #333;
}

h1 {
  font-size: 24px;
}

h2 {
  font-size: 20px;
}

h3 {
  font-size: 18px;
}

h4 {
  font-size: 16px;
}

h5 {
  font-size: 14px;
}

h6 {
  font-size: 13px;
}

.page-title{
  font-size: 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #000;
  font-weight: bold;
}

@media (min-width: 768px) {
  p {
    font-size: 15px;
    margin-bottom: 28px;
  }

  .single-blog-content p {
    margin-bottom: 16px;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 22px;
  }

  h4 {
    font-size: 18px;
  }

  h5 {
    font-size: 16px;
  }

  h6 {
    font-size: 14px;
  }
  .page-title{
    font-size: 24px;
  }
}

@media (min-width: 1440px) {

  .single-blog-content p {
    margin-bottom: 20px;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 42px;
  }

  h3 {
    font-size: 32px;
  }

  h4 {
    font-size: 24px;
  }

  h5 {
    font-size: 20px;
  }

  h6 {
    font-size: 18px;
  }
  .page-title{
    font-size: 48px;
  }
}

p:last-child {
  margin-bottom: 0;
}

strong,
.bold {
  font-weight: bold !important;
}

.f-600 {
  font-weight: 600;
}

.f-800 {
  font-weight: 800;
}

/******
 ****** Globa button
 ******/
a {
  color: #000;
  cursor: pointer;
  outline: none;
  text-decoration: none;
  transition: all 0.1s;
}

a:hover {
  color: #333;
  text-decoration: none;
  transition: all 0.1s;
}

.btn {
  --bs-btn-padding-x: 30px;
  --bs-btn-padding-y: 10px;
  --bs-btn-font-size: 14px;
  --bs-btn-font-weight: bold;
  --bs-btn-border-width: 2px;
  --bs-btn-border-radius: 4px;
  --bs-btn-line-height: 1.4;
}

.btn-lg {
  --bs-btn-padding-x: 38px;
  --bs-btn-padding-y: 7px;
  --bs-btn-font-size: 16px;
  --bs-btn-border-radius: 24px;
}

.btn-sm {
  --bs-btn-padding-x: 10px;
  --bs-btn-padding-y: 5px;
  --bs-btn-font-size: 12px;
  --bs-btn-border-radius: 4px;
}

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #743BFF;
  --bs-btn-border-color: #743BFF;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #4B14D3;
  --bs-btn-hover-border-color: #4B14D3;
  --bs-btn-focus-shadow-rgb: 0, 0, 0;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #4B14D3;
  --bs-btn-active-border-color: #4B14D3;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #9CE5E8;
  --bs-btn-disabled-border-color: #9CE5E8;
}

.btn-outline-primary {
    --bs-btn-color: #743BFF;
    --bs-btn-border-color: #743BFF;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #743BFF;
    --bs-btn-hover-border-color: #743BFF;
    --bs-btn-focus-shadow-rgb: 13, 110, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #743BFF;
    --bs-btn-active-border-color: #743BFF;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #743BFF;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #743BFF;
    --bs-gradient: none;
}

.btn-secondary {
  --bs-btn-color: #743BFF;
  --bs-btn-bg: #F7F8F9;
  --bs-btn-border-color: #F7F8F9;
  --bs-btn-hover-color: #F7F8F9;
  --bs-btn-hover-bg: #743BFF;
  --bs-btn-hover-border-color: #743BFF;
  --bs-btn-focus-shadow-rgb: 0, 0, 0;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #743BFF;
  --bs-btn-active-border-color: #743BFF;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #a6a6a6;
  --bs-btn-disabled-bg: rgba(166, 166, 166, 0.15);
  --bs-btn-disabled-border-color: rgba(166, 166, 166, 0.15);
}

.btn-danger {
  --bs-btn-color: #fff;
  --bs-btn-bg: #743BFF;
  --bs-btn-border-color: #743BFF;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #F3278D;
  --bs-btn-hover-border-color: #F3278D;
  --bs-btn-focus-shadow-rgb: 0, 0, 0;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #F3278D;
  --bs-btn-active-border-color: #F3278D;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #F581BB;
  --bs-btn-disabled-border-color: #F581BB;
}

.btn-link {
    --bs-btn-color: #743BFF;
    --bs-btn-hover-color: #743BFF;
    --bs-btn-active-color: #743BFF;
}

.back-to-top {
  display: none;
  cursor: pointer;
  position: fixed;
  bottom: 0;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #743BFF;
  color: #fff;
  border-radius: 8px 8px 0 0;
  height: 48px;
  width: 48px;
  font-size: 12px;
}

.back-to-top:hover,
.back-to-top:focus {
  background-color: #0189B1;
}

@media (min-width: 768px) {
  .btn {
    --bs-btn-padding-x: 32px;
    --bs-btn-padding-y: 8px;
    --bs-btn-font-size: 15px;
    --bs-btn-border-radius: 6px;
  }

  .btn-lg {
    --bs-btn-padding-x: 40px;
    --bs-btn-padding-y: 10px;
    --bs-btn-font-size: 24px;
    --bs-btn-border-radius: 30px;
  }

  .btn-sm {
    --bs-btn-padding-x: 15px;
    --bs-btn-padding-y: 6px;
    --bs-btn-font-size: 13px;
    --bs-btn-border-radius: 6px;
  }
}

@media (min-width: 1200px) {
  .btn {
    --bs-btn-padding-x: 34px;
    --bs-btn-padding-y: 10px;
    --bs-btn-font-size: 17px;
    --bs-btn-border-width: 2px;
    --bs-btn-border-radius: 8px;
  }

  .btn-lg {
    --bs-btn-padding-x: 50px;
    --bs-btn-padding-y: 17px;
    --bs-btn-font-size: 28px;
    --bs-btn-border-radius: 40px;
  }

  .btn-sm {
    --bs-btn-padding-x: 20px;
    --bs-btn-padding-y: 7px;
    --bs-btn-font-size: 14px;
    --bs-btn-border-radius: 8px;
  }
}

/******
 ****** Globa round
 ******/
.round-3 {
    border-radius: 2px;
}
.round-10 {
    border-radius: 6px;
}
.round-16 {
    border-radius: 8px;
}
.round-20 {
    border-radius: 10px;
}
.round-25 {
    border-radius: 12px;
}
.round-30 {
    border-radius: 15px;
}
.round-40 {
    border-radius: 30px;
}
@media (min-width: 768px) {
    .round-3 {
        border-radius: 3px;
    }
    .round-10 {
        border-radius: 8px;
    }
    .round-16 {
        border-radius: 10px;
    }
    .round-20 {
        border-radius: 15px;
    }
    .round-25 {
        border-radius: 18px;
    }
    .round-30 {
        border-radius: 20px;
    }
    .round-40 {
        border-radius: 30px;
    }
}
@media (min-width: 1200px) {
    .round-10 {
        border-radius: 10px;
    }
    .round-16 {
        border-radius: 16px;
    }
    .round-20 {
        border-radius: 20px;
    }
    .round-25 {
        border-radius: 25px;
    }
    .round-30 {
        border-radius: 30px;
    }
    .round-40 {
        border-radius: 40px;
    }
}

/******
 ****** Globa image
 ******/
img {
    width: auto;
    height: auto;
    max-width: 100%;
}
.zoom-out,
.zoom-in {
    position: relative;
    overflow: hidden;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
.zoom-out img,
.zoom-in img {
    transition: all 0.3s ease-in-out;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
.zoom-in:hover img {
    -webkit-transform: scale(1.15);
    transform: scale(1.15);
}
.zoom-out:hover img {
    -webkit-transform: scale(0.85);
    transform: scale(0.85);
}
.content-float {
    transition: all 0.2s linear;
}
.content-float:hover {
    transform: translate3d(0, -3px, 0);
    -webkit-transform: translate3d(0, -3px, 0);
}
.content-float:hover {
    box-shadow: 0 20px 20px 0 rgba(0, 0, 0, 0.1);
}
.shadow-hover {
    transition: all 0.3s ease-in-out;
}
.shadow-hover:hover {
    background-color: #fff;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.08);
}

/******
 ****** Add ratio style
 ******/
.ratio {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
}
.ratio::before {
    display: block;
    content: "";
}
.ratio > .ratio-area {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.ratio-1by1::before {
    padding-top: 100%;
}
.ratio-4by3::before {
    padding-top: 75%;
}
.ratio-2by1::before {
    padding-top: 50%;
}
.ratio-16by9::before {
    padding-top: 56.25%;
}
.ratio-21by9::before {
    padding-top: 42.857143%;
}
@media (min-width: 576px) {
    .ratio-sm-1by1::before {
        padding-top: 100%;
    }
    .ratio-sm-4by3::before {
        padding-top: 75%;
    }
    .ratio-sm-2by1::before {
        padding-top: 50%;
    }
    .ratio-sm-16by9::before {
        padding-top: 56.25%;
    }
    .ratio-sm-21by9::before {
        padding-top: 42.857143%;
    }
}
@media (min-width: 768px) {
    .ratio-md-1by1::before {
        padding-top: 100%;
    }
    .ratio-md-4by3::before {
        padding-top: 75%;
    }
    .ratio-md-2by1::before {
        padding-top: 50%;
    }
    .ratio-md-16by9::before {
        padding-top: 56.25%;
    }
    .ratio-md-21by9::before {
        padding-top: 42.857143%;
    }
}
@media (min-width: 992px) {
    .ratio-lg-1by1::before {
        padding-top: 100%;
    }
    .ratio-lg-4by3::before {
        padding-top: 75%;
    }
    .ratio-lg-2by1::before {
        padding-top: 50%;
    }
    .ratio-lg-16by9::before {
        padding-top: 56.25%;
    }
    .ratio-lg-21by9::before {
        padding-top: 42.857143%;
    }
}
@media (min-width: 1200px) {
    .ratio-xl-1by1::before {
        padding-top: 100%;
    }
    .ratio-xl-4by3::before {
        padding-top: 75%;
    }
    .ratio-xl-2by1::before {
        padding-top: 50%;
    }
    .ratio-xl-16by9::before {
        padding-top: 56.25%;
    }
    .ratio-xl-21by9::before {
        padding-top: 42.857143%;
    }
}

/******
 ****** Add grid style
 ******/
.container,
.row {
    --bs-gutter-x: 30px;
}
.row-0 {
    --bs-gutter-x: 0;
}
.row-10 {
    --bs-gutter-x: 10px;
}
.row-20 {
    --bs-gutter-x: 20px;
}
.row-30 {
    --bs-gutter-x: 30px;
}
.row-40 {
    --bs-gutter-x: 40px;
}
.row-50 {
    --bs-gutter-x: 50px;
}
.row-60 {
    --bs-gutter-x: 60px;
}
.row-70 {
    --bs-gutter-x: 70px;
}
.row-80 {
    --bs-gutter-x: 80px;
}
.row-90 {
    --bs-gutter-x: 90px;
}
.row-100 {
    --bs-gutter-x: 100px;
}
.row-110 {
    --bs-gutter-x: 110px;
}
.row-120 {
    --bs-gutter-x: 120px;
}
.row-130 {
    --bs-gutter-x: 130px;
}
.row-140 {
    --bs-gutter-x: 140px;
}
.row-150 {
    --bs-gutter-x: 150px;
}
.row-160 {
    --bs-gutter-x: 160px;
}
.row-170 {
    --bs-gutter-x: 170px;
}
.row-180 {
    --bs-gutter-x: 180px;
}
.row-190 {
    --bs-gutter-x: 190px;
}
.row-200 {
    --bs-gutter-x: 200px;
}
@media (min-width: 576px) {
    .row-sm-0 {
        --bs-gutter-x: 0;
    }
    .row-sm-10 {
        --bs-gutter-x: 10px;
    }
    .row-sm-20 {
        --bs-gutter-x: 20px;
    }
    .row-sm-30 {
        --bs-gutter-x: 30px;
    }
    .row-sm-40 {
        --bs-gutter-x: 40px;
    }
    .row-sm-50 {
        --bs-gutter-x: 50px;
    }
    .row-sm-60 {
        --bs-gutter-x: 60px;
    }
    .row-sm-70 {
        --bs-gutter-x: 70px;
    }
    .row-sm-80 {
        --bs-gutter-x: 80px;
    }
    .row-sm-90 {
        --bs-gutter-x: 90px;
    }
    .row-sm-100 {
        --bs-gutter-x: 100px;
    }
    .row-sm-110 {
        --bs-gutter-x: 110px;
    }
    .row-sm-120 {
        --bs-gutter-x: 120px;
    }
    .row-sm-130 {
        --bs-gutter-x: 130px;
    }
    .row-sm-140 {
        --bs-gutter-x: 140px;
    }
    .row-sm-150 {
        --bs-gutter-x: 150px;
    }
    .row-sm-160 {
        --bs-gutter-x: 160px;
    }
    .row-sm-170 {
        --bs-gutter-x: 170px;
    }
    .row-sm-180 {
        --bs-gutter-x: 180px;
    }
    .row-sm-190 {
        --bs-gutter-x: 190px;
    }
    .row-sm-200 {
        --bs-gutter-x: 200px;
    }
}
@media (min-width: 768px) {
    .row-md-0 {
        --bs-gutter-x: 0;
    }
    .row-md-10 {
        --bs-gutter-x: 10px;
    }
    .row-md-20 {
        --bs-gutter-x: 20px;
    }
    .row-md-30 {
        --bs-gutter-x: 30px;
    }
    .row-md-40 {
        --bs-gutter-x: 40px;
    }
    .row-md-50 {
        --bs-gutter-x: 50px;
    }
    .row-md-60 {
        --bs-gutter-x: 60px;
    }
    .row-md-70 {
        --bs-gutter-x: 70px;
    }
    .row-md-80 {
        --bs-gutter-x: 80px;
    }
    .row-md-90 {
        --bs-gutter-x: 90px;
    }
    .row-md-100 {
        --bs-gutter-x: 100px;
    }
    .row-md-110 {
        --bs-gutter-x: 110px;
    }
    .row-md-120 {
        --bs-gutter-x: 120px;
    }
    .row-md-130 {
        --bs-gutter-x: 130px;
    }
    .row-md-140 {
        --bs-gutter-x: 140px;
    }
    .row-md-150 {
        --bs-gutter-x: 150px;
    }
    .row-md-160 {
        --bs-gutter-x: 160px;
    }
    .row-md-170 {
        --bs-gutter-x: 170px;
    }
    .row-md-180 {
        --bs-gutter-x: 180px;
    }
    .row-md-190 {
        --bs-gutter-x: 190px;
    }
    .row-md-200 {
        --bs-gutter-x: 200px;
    }
}
@media (min-width: 992px) {
    .row-lg-0 {
        --bs-gutter-x: 0;
    }
    .row-lg-10 {
        --bs-gutter-x: 10px;
    }
    .row-lg-20 {
        --bs-gutter-x: 20px;
    }
    .row-lg-30 {
        --bs-gutter-x: 30px;
    }
    .row-lg-40 {
        --bs-gutter-x: 40px;
    }
    .row-lg-50 {
        --bs-gutter-x: 50px;
    }
    .row-lg-60 {
        --bs-gutter-x: 60px;
    }
    .row-lg-70 {
        --bs-gutter-x: 70px;
    }
    .row-lg-80 {
        --bs-gutter-x: 80px;
    }
    .row-lg-90 {
        --bs-gutter-x: 90px;
    }
    .row-lg-100 {
        --bs-gutter-x: 100px;
    }
    .row-lg-110 {
        --bs-gutter-x: 110px;
    }
    .row-lg-120 {
        --bs-gutter-x: 120px;
    }
    .row-lg-130 {
        --bs-gutter-x: 130px;
    }
    .row-lg-140 {
        --bs-gutter-x: 140px;
    }
    .row-lg-150 {
        --bs-gutter-x: 150px;
    }
    .row-lg-160 {
        --bs-gutter-x: 160px;
    }
    .row-lg-170 {
        --bs-gutter-x: 170px;
    }
    .row-lg-180 {
        --bs-gutter-x: 180px;
    }
    .row-lg-190 {
        --bs-gutter-x: 190px;
    }
    .row-lg-200 {
        --bs-gutter-x: 200px;
    }
}
@media (min-width: 1200px) {
    .row-xl-0 {
        --bs-gutter-x: 0;
    }
    .row-xl-10 {
        --bs-gutter-x: 10px;
    }
    .row-xl-20 {
        --bs-gutter-x: 20px;
    }
    .row-xl-30 {
        --bs-gutter-x: 30px;
    }
    .row-xl-40 {
        --bs-gutter-x: 40px;
    }
    .row-xl-50 {
        --bs-gutter-x: 50px;
    }
    .row-xl-60 {
        --bs-gutter-x: 60px;
    }
    .row-xl-70 {
        --bs-gutter-x: 70px;
    }
    .row-xl-80 {
        --bs-gutter-x: 80px;
    }
    .row-xl-90 {
        --bs-gutter-x: 90px;
    }
    .row-xl-100 {
        --bs-gutter-x: 100px;
    }
    .row-xl-110 {
        --bs-gutter-x: 110px;
    }
    .row-xl-120 {
        --bs-gutter-x: 120px;
    }
    .row-xl-130 {
        --bs-gutter-x: 130px;
    }
    .row-xl-140 {
        --bs-gutter-x: 140px;
    }
    .row-xl-150 {
        --bs-gutter-x: 150px;
    }
    .row-xl-160 {
        --bs-gutter-x: 160px;
    }
    .row-xl-170 {
        --bs-gutter-x: 170px;
    }
    .row-xl-180 {
        --bs-gutter-x: 180px;
    }
    .row-xl-190 {
        --bs-gutter-x: 190px;
    }
    .row-xl-200 {
        --bs-gutter-x: 200px;
    }
    .col-xl-65 {
        width: 54%;
    }
    .col-xl-55 {
        width: 46%;
    }
}
/******
 ****** Globa form
 ******/
.global-form .form-group {
    margin-bottom: 15px;
}
.global-form .form-label {
    font-size: 13px;
    font-weight: bold;
    color: #696464;
    margin-bottom: 5px;
}
.global-form .form-label span{
    color: red;
}
.global-form .form-control {
    height: 36px;
    border-radius: 4px;
    border: 1px solid #e5e5e5;
    background-color: #fff;
    box-shadow: none;
    font-size: 13px;
    line-height: 36px;
    color: #333;
    padding: 10px 15px;
}
.global-form .form-check-wrap{
    height: 36px;
}
.global-form .form-check-label,
.global-form .form-check-input{
    cursor: pointer;
}
.global-form textarea.form-control {
    height: 100px;
    line-height: 1.4;
}
.global-form .input-group-btn {
    background-color: #fc0;
    height: 36px;
    border-radius: 4px;
    font-size: 13px;
    color: #fff;
    padding: 10px 15px;
    border: 0;
}
.global-form .input-group-btn:hover {
    background-color: #1080a5;
}
.global-form .form-control:disabled {
    background-color: var(--bs-secondary-bg);
    opacity: 1;
}
@media (min-width: 768px) {
    .global-form .form-group {
        margin-bottom: 20px;
    }
    .global-form .form-label {
        font-size: 16px;
    }
    .global-form .form-control {
        height: 44px;
        font-size: 16px;
        line-height: 44px;
        padding: 10px 15px;
    }
    .global-form .form-check-wrap{
        height: 44px;
    }
    .global-form textarea.form-control {
        height: 140px;
    }
    .global-form .input-group-btn {
        height: 44px;
        font-size: 16px;
        padding: 10px 15px;
    }
}
/******
 ****** General
 ******/
.wrapper-none,
.home .wrapper {
    background: none;
}
.content {
    padding: 30px 0;
}
.home-wrapper .content {
    padding: 0;
}
.banner {
    background-color: #f2f3f7;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    height: 120px;
}
.banner-only-title {
    height: auto;
    padding-top: 30px;
    background: none !important;
}
.banner .container {
    height: 100%;
}
.main-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
}
.section-title {
    font-weight: bold;
}
@media (min-width: 768px) {
    .content {
        padding: 50px 0;
    }
    .banner {
        height: 160px;
    }
    .banner-only-title {
        height: auto;
        padding-top: 50px;
    }
    .section-title {
        margin-bottom: 50px;
    }
}
@media (min-width: 1200px) {
    .content {
        padding: 80px 0;
    }
    .banner {
        height: 200px;
    }
    .banner-only-title {
        height: auto;
        padding-top: 80px;
    }
    .section-title {
        margin-bottom: 70px;
    }
}

/******
 ****** 404
 ******/
.error-404-wrapper {
    padding: 60px 0;
    text-align: center;
}
.img-404 {
    line-height: 0;
}
.img-404 img {
    max-height: 150px;
}
@media (min-width: 768px) {
    .error-404-wrapper {
        padding: 80px 0;
    }
    .img-404 img {
        max-height: 200px;
    }
}
@media (min-width: 992px) {
    .error-404-wrapper {
        padding: 100px 0;
    }
    .img-404 img {
        max-height: 260px;
    }
}
@media (min-width: 1200px) {
    .error-404-wrapper {
        padding: 150px 0;
    }
    .img-404 img {
        max-height: 320px;
    }
}

/* ==========================================================================
   公用：加粗（对齐 purescix）
   ========================================================================== */
.bold {
    font-weight: bold !important;
}

/* ==========================================================================
   首页轮播 home-hero-section（对齐 purescix 首页）
   说明：purescix 用的是 swiper 7，箭头由 CSS 变量 --swiper-navigation-color 着色；
   本项目 swiper 为 4.4.1，箭头是 SVG background-image，无法用变量着色，
   故下方 .swiper-black 用 filter 反相为白色，并显式给出 background-size，
   保证观感与 purescix 一致。
   ========================================================================== */
.home-hero-section {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.heroSwiper {
    width: 100%;
    height: 640px;
}

.hero-slide {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-content {
    position: absolute;
    padding: 50px 30px;
    left: 0;
    bottom: 0;
    max-width: 950px;
    z-index: 2;
    color: #fff;
}

.hero-pagination {
    bottom: 15px !important;
    z-index: 2 !important;
}

.hero-pagination .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    margin: 0 6px !important;
}

.hero-pagination .swiper-pagination-bullet-active {
    width: 48px;
    border-radius: 20px;
    background: #fff;
}

.hero-desc {
    font-size: 18px;
}

.hero-sub-desc {
    font-size: 14px;
}

@media (min-width: 768px) {
    .hero-desc {
        font-size: 22px;
    }
    .hero-sub-desc {
        font-size: 18px;
    }
    .hero-content {
        padding: 50px;
    }
    .hero-pagination {
        bottom: 30px !important;
        z-index: 2 !important;
    }
}

@media (min-width: 1200px) {
    .heroSwiper {
        height: 540px;
    }
    .hero-content {
        padding: 60px;
    }
}

@media (min-width: 1400px) {
    .heroSwiper {
        height: 640px;
    }
    .hero-content {
        padding: 60px;
    }
}

@media (min-width: 1680px) {
    .heroSwiper {
        height: 820px;
    }
    .hero-content {
        padding: 100px;
    }
}

@media (min-width: 1980px) {
    .heroSwiper {
        height: 1080px;
    }
}

/* 轮播箭头 / 分页的公用样式在 purescix-theme.css 中（.swiper-button-next/prev、
   .swiper-white / .swiper-black、--swiper-navigation-size 等），此处不再重复定义。 */

/* ==========================================================================
   卡片：产品分类 / 首页精选内容共用（对齐 purescix .card-category）
   图片作为 background-image，内容层盖毛玻璃遮罩（.global-blurry）
   ========================================================================== */
.card-category {
    position: relative;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.4s ease;
    height: 100%;
    aspect-ratio: 1;
}

.card-category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    color: #fff;
}

/* 卡片内容区分两层：外层 .global-blurry 负责毛玻璃遮罩，内层 .card-category-content 放文字。
   注意：主题样式中 .global-blurry 带 position:relative，若两个类写在同一个元素上会覆盖
   内容层的 absolute 贴底定位（文字会跑到卡片顶部），故拆成两层，并在此显式定位。
   下面第二条规则用于兼容「两个类写在同一元素」的旧写法。 */
.card-category > .global-blurry,
.card-category .card-category-content.global-blurry {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
}

.card-category > .global-blurry > .card-category-content {
    position: relative;
    width: 100%;
    padding: 20px;
    color: #fff;
}

.card-category-arrow {
    position: absolute;
    right: 20px;
    bottom: 22px;
    font-size: 20px;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateX(-6px);
    aspect-ratio: 1;
}

.card-category:hover .card-category-arrow {
    opacity: 1;
    transform: translateX(0);
}

.col-lg-6 .card-category {
    aspect-ratio: auto;
}

/* 小屏下第一个新闻与其余两个保持一致：正方形 */
@media (max-width: 991.98px) {
    .col-lg-6 .card-category {
        aspect-ratio: 1;
    }
}

/* 首页精选内容：标题最多两行 */
.home-news-title {
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================================================
   首页精选内容（news-hover-row）：悬停项展开为 50%，其余收缩为 25%
   ========================================================================== */
@media (min-width: 992px) {
    .news-hover-row .card-category {
        max-height: 250px;
    }
}

@media (min-width: 1280px) {
    .news-hover-row .card-category {
        max-height: 280px;
    }
}

@media (min-width: 1360px) {
    .news-hover-row .card-category {
        max-height: 290px;
    }
}

@media (min-width: 1560px) {
    .news-hover-row .card-category {
        max-height: 320px;
    }
}

@media (min-width: 1720px) {
    .news-hover-row .card-category {
        max-height: 420px;
    }
}

@media (min-width: 1920px) {
    .news-hover-row .card-category {
        max-height: 600px;
    }
}

.news-hover-row > [class*="col-"] {
    transition: flex 0.4s ease-in-out, max-width 0.4s ease-in-out;
}

@media (min-width: 992px) {
    /* 行内任意项被悬停 → 悬停项展开为 50%，其余收缩为 25% */
    .news-hover-row:has(> [class*="col-"]:hover) > [class*="col-"]:not(:hover) {
        flex: 0 0 25% !important;
        max-width: 25% !important;
    }
    .news-hover-row > [class*="col-"]:hover {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
    .news-hover-row > [class*="col-"]:hover .card-category {
        aspect-ratio: auto;
        height: 100%;
    }
}

/* ==========================================================================
   新闻列表项（列表页：左侧日期徽标 + 右侧标题摘要）
   ========================================================================== */
.news-list-item {
    align-items: stretch;
    border-radius: 8px;
    overflow: hidden;
    background: #F7F8F9;
    transition: background-color 0.3s ease;
}

.news-list-item:hover {
    background: #F0FAFD;
}

/* 日期徽标 */
.news-date-badge {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 150px;
    min-height: 150px;
    color: #fff;
    line-height: 1;
    text-align: center;
    background: linear-gradient(135deg, #0090b8 0%, #743BFF 100%);
}

.news-date-badge .news-date-day {
    font-size: 48px;
    font-weight: 700;
}

.news-date-badge .news-date-ym {
    margin-top: 10px;
    font-size: 18px;
    font-weight: 400;
    opacity: 0.9;
}

/* 右侧内容 */
.news-list-body {
    flex: 1 1 auto;
    min-width: 0;
    padding: 24px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-list-title {
    margin-bottom: 12px;
    font-size: 22px;
    font-weight: 700;
    color: #222;
    transition: color 0.3s ease;
}

.news-list-excerpt {
    font-size: 15px;
    line-height: 1.8;
    color: #888;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-list-item:hover .news-list-title {
    color: #743BFF;
    text-decoration: underline;
}

.news-list-item:hover .news-list-excerpt {
    color: #743BFF;
}

@media (max-width: 767.98px) {
    .news-date-badge {
        width: 110px;
        min-height: 110px;
    }
    .news-date-badge .news-date-day {
        font-size: 36px;
    }
    .news-date-badge .news-date-ym {
        font-size: 15px;
    }
    .news-list-body {
        padding: 16px 18px;
    }
    .news-list-title {
        font-size: 18px;
    }
}

/* ==========================================================================
   「查看更多」等区块描述文字（首页精选内容底部链接用）
   ========================================================================== */
.core-desc {
    text-align: center;
}

/* ==========================================================================
   产品卡片与产品轮播（对齐 purescix #featured-products）
   ========================================================================== */
.product-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.35s ease;
    background: #F8FAFC;
}

.product-card-link {
    color: inherit;
}

.product-card-image {
    overflow: hidden;
    border-radius: 12px;
}

.product-card-image img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

.product-card-tag {
    position: absolute;
    top: 20px;
    right: 0;
    font-size: 13px;
    color: #fff;
    background: #7B3FF7;
    padding: 5px 10px;
    border-radius: 4px 0 0 4px;
}

.product-card-name {
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-excerpt {
    margin-bottom: 0;
    min-height: 54px;
}

/* 产品轮播：所有 item 等高 */
.swiper-product .swiper-slide {
    height: auto;
}

.swiper-product .product-card,
.swiper-product .product-card-link {
    height: 100%;
}

.swiper-product .product-card-body {
    padding: 20px;
}

.swiper-product .product-card-excerpt {
    display: inline;
    border-radius: 4px;
    background-color: #fff;
}


/* ==========================================================================
   核心价值（对齐 purescix #core-value）
   ========================================================================== */
.card-core {
    position: relative;
    display: flex;
    align-items: flex-end;
    aspect-ratio: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.4s ease;
}

.card-core:hover {
    transform: translateY(-6px);
}

.card-core-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    color: #fff;
}

/* 同 .card-category：.global-blurry 自带 position:relative，需拆两层保证内容层贴底 */
.card-core > .global-blurry,
.card-core .card-core-content.global-blurry {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
}

.card-core > .global-blurry > .card-core-content {
    position: relative;
    width: 100%;
    padding: 30px;
    color: #fff;
}

.card-core-arrow {
    position: absolute;
    right: 20px;
    bottom: 22px;
    font-size: 20px;
    opacity: 0;
    color: #fff;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateX(-6px);
}

.card-core:hover .card-core-arrow {
    opacity: 1;
    transform: translateX(0);
}

.card-core-name {
    font-size: 20px;
    margin-bottom: 15px;
    letter-spacing: 0.15em;
}

.card-core-en-title {
    font-size: 20px;
    letter-spacing: 0.14em;
    margin-bottom: 5px;
}

.core-img {
    text-align: center;
    margin-bottom: 20px;
    display: inline-block;
    background: #F8FAFC;
    padding: 20px;
    border-radius: 100px;
}

.core-img img{
    max-height: 80px;
}

.core-list {
    margin-top: 20px;
}

.core-items{
    border-radius: 7.5px !important;
    border: solid 1px #ddd;
    background-size: 103% 106%;
    background-position: center;
    padding: 20px;
    height: 100%;
}

.core-items:hover{
    border: solid 0.8px #fff;
    background-image: url('../images/services/services-bg.webp');
}

.core-title {
    text-align: center;
    font-size: 15px;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

@media (min-width: 768px) {
    .card-core {
        aspect-ratio: 1.4;
    }
    .card-core-arrow,
    .card-core-name {
        font-size: 26px;
    }
    .card-core-en-title {
        font-size: 26px;
    }
    .core-list {
        margin-top: 30px;
    }
    .core-title {
        font-size: 15px;
    }
}

@media (min-width: 1600px) {
    .card-core-arrow,
    .card-core-name {
        font-size: 30px;
    }
    .card-core-en-title {
        font-size: 30px;
    }
    .core-list {
        margin-top: 0;
    }
    .core-title {
        font-size: 24px;
    }
    .card-core {
        aspect-ratio: 2;
    }
}

/* ==========================================================================
   大屏行间距（purescix 核心价值区块用 .row-xxl-60）
   ========================================================================== */
@media (min-width: 1400px) {
    .row-xxl-60 {
        --bs-gutter-x: 60px;
        --bs-gutter-y: 60px;
    }
}

/* ==========================================================================
   首页：顶部轮播与「产品分类」之间的间距
   （purescix 此处是 .home-about-section 的 40px 内边距，本项目无该区块，
     故在「产品分类」顶部补上同等间距）
   ========================================================================== */
#product-categories {
    padding-top: 40px;
}

@media (min-width: 768px) {
    #product-categories {
        padding-top: 60px;
    }
}


.max-50-{
  max-width: 50%;
}
