/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

/* Hero 超大标题：40px ~ 95px */
.s95 {
  font-size: clamp(2.5rem, calc(1.027rem + 3.069vw), 5.9375rem) !important;
  line-height: 1.1;
}

/* 超大标题：32px ~ 80px */
.s80 {
  font-size: clamp(2rem, calc(0.714rem + 2.679vw), 5rem) !important;
  line-height: 1.1;
}

/* 大标题：30px ~ 70px */
.s70 {
  font-size: clamp(1.875rem, calc(0.804rem + 2.232vw), 4.375rem) !important;
  line-height: 1.15;
}

/* 次标题：24px ~ 60px */
.s60 {
  font-size: clamp(1.5rem, calc(0.536rem + 2.009vw), 3.75rem) !important;
  line-height: 1.2;
}

/* s50：24px ~ 50px */
.s50 {
  font-size: clamp(1.5rem, calc(0.804rem + 1.451vw), 3.125rem) !important;
  line-height: 1.2;
}

/* s40：20px ~ 40px */
.s40 {
  font-size: clamp(1.25rem, calc(0.714rem + 1.116vw), 2.5rem) !important;
  line-height: 1.25;
}

/* s30：18px ~ 30px */
.s30 {
  font-size: clamp(1.125rem, calc(0.804rem + 0.67vw), 1.875rem) !important;
  line-height: 1.35;
}

/* 大正文：16px ~ 24px */
.s24 {
  font-size: clamp(1rem, calc(0.786rem + 0.446vw), 1.5rem) !important;
}

/* 标准正文：14px ~ 20px */
.s20 {
  font-size: clamp(0.875rem, calc(0.714rem + 0.335vw), 1.25rem) !important;
  line-height: 1.3;
}

/* 小正文：12px ~ 18px */
.s18 {
  font-size: clamp(0.75rem, calc(0.589rem + 0.335vw), 1.125rem) !important;
  line-height: 1.3;
}

/* 小正文：12px ~ 16px */
.s16 {
  font-size: clamp(0.75rem, calc(0.643rem + 0.223vw), 1rem) !important;
  line-height: 1.3;
}


.elementor-icon-wrapper {
    margin-bottom: -8px;
}

/*前台banner大图动画*/
.bgdh::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-image: inherit; 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  transform: scale(1);
  animation: zoomInOut 12s infinite alternate ease-in-out;
  will-change: transform;
}

.bgdh::before{
    z-index: 1;
}

/* 保证内容层正常显示在上方 */
.bgdh {
  position: relative;
  z-index: 0;
  overflow:hidden;
}

/* 动画关键帧 */
@keyframes zoomInOut {
  0% {
    transform: scale(1.3);
  }
  100% {
    transform: scale(1);
  }
}

.ct-container-fluid {
    width: 100%!important;
    padding: 0vw 3vw 0vw 3vw;
}

:is(.is-layout-flow,.is-layout-constrained)>*:where(:not(h1,h2,h3,h4,h5,h6)){
    margin-block-end: 0px!important;
}
