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

body,
h1, h2, h3, h4, h5, h6,
p, a,
button, input, textarea, select,
.elementor-widget-heading .elementor-heading-title,
.elementor-widget-text-editor,
.elementor-button,
.tp-caption,
.rs-layer {
    font-family: 'HarmonyOS Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
}

/* Hero 超大标题 */
.s95 h1,.s95 h2 {
  font-size: clamp(2.5rem, 6vw, 6rem) !important;
  line-height: 1.1;
}

/* 超大标题 */
.s80 h1,.s80 h2 {
  font-size: clamp(2.2rem, 5vw, 5rem) !important;
  line-height: 1.1;
}

/* 大标题 */
.s65 h1,.s65 h2 {
  font-size: clamp(2rem, 4vw, 4rem) !important;
  line-height: 1.15;
}

/* 中标题 */
.s50 h1,.s50 h2 {
  font-size: clamp(1.8rem, 3vw, 3rem) !important;
  line-height: 1.2;
}

/* 小标题 */
.s40 h1,.s40 h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.5rem) !important;
  line-height: 1.25;
}

/* 普通标题 */
.s32 h1,.s32 h2 {
  font-size: clamp(1.3rem, 2vw, 2rem) !important;
  line-height: 1.3;
}

.s30 h1,.s30 h2 {
  font-size: clamp(1.2rem, 1.8vw, 1.8rem) !important;
  line-height: 1.35;
}

/* 大正文 */
.s24 p,.s24 li,.s24 span {
  font-size: clamp(1rem, 1.2vw, 1.5rem) !important;
}

/* 标准正文 */
.s20 p,.s20 li,.s20 span {
  font-size: clamp(0.95rem, 1vw, 1.25rem) !important;
  line-height: 1.7;
}

/* 小正文 */
.s18 p,.s18 li,.s18 span {
  font-size: clamp(0.875rem, 0.9vw, 1.125rem) !important;
  line-height: 1.6;
}


.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;
}

