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

/*elementor表单*/
.elementor-form input:focus,
.elementor-form select:focus,
.elementor-form textarea:focus {
  border: none !important;      /* 去掉边框 */
  outline: none !important;     /* 去掉默认的 outline 高亮 */
  box-shadow: none !important;  /* Elementor/主题有时会加 box-shadow */
}

@media (max-width:1366px){
.elementor-field-group .elementor-field{
    font-size: 16px!important;
}

.elementor-field-textual.elementor-size-lg,.elementor-form .elementor-button.elementor-size-lg {
    min-height: 45px!important;
}

.elementor-53 .elementor-element.elementor-element-906d3ab .elementor-button{
    padding: 16px 16px 16px 16px!important;
}
}

@media (max-width:768px){
.elementor-field-group .elementor-field{
    font-size: 14px!important;
}

.elementor-field-textual.elementor-size-lg,.elementor-form .elementor-button.elementor-size-lg {
    min-height: 40px!important;
}

.elementor-53 .elementor-element.elementor-element-906d3ab .elementor-button{
    padding: 12px 12px 12px 12px!important;
}
}


/* --- 标题系列 --- */
.s95 h2 {
  font-size: clamp(45px, calc(45px + 50 * ((100vw - 375px) / (2560 - 375))), 95px) !important;
}

.s80 h2 {
  font-size: clamp(30px, calc(16px + 64 * ((100vw - 375px) / (2560 - 375))), 80px) !important;
}

.s65 h2 {
  font-size: clamp(24px, calc(24px + 41 * ((100vw - 375px) / (2560 - 375))), 65px) !important;
}

.s50 h2 {
  font-size: clamp(22px, calc(22px + 28 * ((100vw - 375px) / (2560 - 375))), 50px) !important;
}

.s40 h2 {
  font-size: clamp(20px, calc(16px + 24 * ((100vw - 375px) / (2560 - 375))), 40px) !important;
}

.s32 h2 {
  font-size: clamp(18px, calc(10px + 22 * ((100vw - 375px) / (2560 - 375))), 32px) !important;
}

.s30 h2 {
  font-size: clamp(16px, calc(10px + 20 * ((100vw - 375px) / (2560 - 375))), 30px) !important;
}

/* --- 正文系列 --- */
.s24 p,.s24 li,.s24 span {
  font-size: clamp(16px, calc(16px + 12 * ((100vw - 375px) / (2560 - 375))), 24px) !important;
}

.s20 p,.s20 li,.s24 span {
  font-size: clamp(14px, calc(14px + 6 * ((100vw - 375px) / (2560 - 375))), 20px) !important;
}

.s18 p,.s18 li,.s18 span {
  font-size: clamp(13px, calc(12px + 6 * ((100vw - 375px) / (2560 - 375))), 18px) !important;
}

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

