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

/* 只在 769px ~ 2560px 生效 */
@media (min-width: 769px) and (max-width: 2560px) {

  .s95, .s80, .s65, .s50, .s40, .s32, .s30, .s24, .s20, .s18, .s16 {
    font-size: var(--fs) !important;
    line-height: var(--lh, inherit);
  }

  .s95 { --fs: clamp(48px, calc(27.857px + 2.623vw), 95px); --lh: 1.1; }
  .s80 { --fs: clamp(42px, calc(25.714px + 2.121vw), 80px); --lh: 1.1; }
  .s65 { --fs: clamp(32px, calc(17.857px + 1.842vw), 65px); --lh: 1.15; }
  .s50 { --fs: clamp(30px, calc(21.429px + 1.116vw), 50px); --lh: 1.2; }
  .s40 { --fs: clamp(24px, calc(17.143px + .893vw), 40px); --lh: 1.2; }
  .s32 { --fs: clamp(20px, calc(14.857px + .670vw), 32px); --lh: 1.2; }
  .s30 { --fs: clamp(18px, calc(12.857px + .670vw), 30px); --lh: 1.2; }
  .s24 { --fs: clamp(18px, calc(15.429px + .335vw), 24px); --lh: 1.2; }
  .s20 { --fs: clamp(16px, calc(14.286px + .223vw), 20px); --lh: 1.3; }
  .s18 { --fs: clamp(14px, calc(12.286px + .223vw), 18px); --lh: 1.3; }
  .s16 { --fs: clamp(12px, calc(10.286px + .223vw), 16px); --lh: 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;
}
