/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Template: astra
Author: Brainstorm Force
Author URI: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
Description: The Astra WordPress theme is lightning-fast and highly customizable. It has over 1 million downloads and the only theme in the world with 6,000+ five-star reviews! It’s ideal for professional web designers, solopreneurs, small businesses, eCommerce, membership sites and any type of website. It offers special features and templates so it works perfectly with all page builders like Spectra, Elementor, Beaver Builder, etc. Fast performance, clean code, mobile-first design and schema markup are all built-in, making the theme exceptionally SEO-friendly. It’s fully compatible with WooCommerce, SureCart and other eCommerce plugins and comes with lots of store-friendly features and templates. Astra also provides expert support for free users. A dedicated team of fully trained WordPress experts are on hand to help with every aspect of the theme. Try the live demo of Astra: https://zipwp.org/themes/astra/
Tags: custom-menu,custom-logo,entertainment,one-column,two-columns,left-sidebar,e-commerce,right-sidebar,custom-colors,editor-style,featured-images,full-width-template,microformats,post-formats,rtl-language-support,theme-options,threaded-comments,translation-ready,blog
Version: 4.11.18.1767688061
Updated: 2026-01-06 16:27:41

*/

/* 手动定义 Animate.css 4.1.1 版本的 animate__bounce 关键帧 */
/*@keyframes animate__bounce {*/
/*  0%, 20%, 53%, 80%, 100% {*/
/*    transform: translate3d(0, 0, 0);*/
/*  }*/
/*  40%, 43% {*/
/*    transform: translate3d(0, -15px, 0);*/
/*  }*/
/*  70% {*/
/*    transform: translate3d(0, -8px, 0);*/
/*  }*/
/*  90% {*/
/*    transform: translate3d(0, -4px, 0);*/
/*  }*/
/*}*/


/*.elementor-widget-heading h2.elementor-heading-title {*/
/*  display: inline-block;*/
/*  color: red;*/
/*  animation:animate__bounce 1s ease;*/
/*}*/
/* 全局统一字体：只保留一个字体，去掉所有备用 */
/*body, h1, h2, h3, h4, h5, h6, p, li, a, span, div, button, input, textarea, label {*/
/*    font-family: "Poppins",sans-serif !important;*/
   
/*}*/

/* 额外加固：代码块、表单等特殊元素也统一 */
/*input, button, textarea, select, pre, code {*/
/*    font-family: inherit !important;*/
/*}*/









.entry-content p a{
    display: inline-block !important;
}
.ast-single-post .elementor-widget-container{
    padding: 0;
}
.elementor-25 .elementor-element.elementor-element-e9c11c9 > .elementor-widget-container {
    padding: 0px 0px 40px 72px !important;
}
.elementor img{
    width: 100%;
}
input:focus,input[type="search"]:focus,#ast-scroll-top:focus{
    border-style: none;
}
body,html{
    transition: all .3s;
}
a{
    display: block;
}
.breadcrumb-below-banner span a,#ast-breadcrumbs-yoast span a{
    display: inline-block;
}
a:focus{
    outline: unset;
}
.ast-menu-toggle{
    border-style: none;
}
.ast-woocommerce-container{
    padding: 0 20px;
}
li{
    list-style: none;
}
li::marker {
    content: none;
}


.e-con-inner{
    /*max-width: 1480px !important;*/
    /*padding-left: 20px !important;*/
    /*padding-right: 20px !important;*/
}
    .ast-theme-transparent-header #masthead {
        /*background-color: var(--ast-global-color-1);*/
        background-color: #fff !important;
    }
    .ast-above-header-wrap .ast-builder-html-element{
        display: flex;
        align-items: center;
    }
    .ast-above-header-wrap .ast-builder-html-element>p{
        margin-bottom: 0;
        margin-right: 10px;
    }
    .ast-builder-html-element img.alignnone{
        width: 22px;
    }
    footer .ast-builder-html-element img.alignnone{
        width: 150px;
        height: 150px;
    }

/*页眉菜单*/
 .ast-theme-transparent-header .ast-builder-menu .main-header-menu .menu-link, .ast-theme-transparent-header [CLASS*="ast-builder-menu-"] .main-header-menu .menu-item > .menu-link{
     color: #000;
 }
 .ast-theme-transparent-header .main-header-menu .menu-item:hover > .menu-link{
     color: var(--ast-global-color-1) !important;
 }
.ast-theme-transparent-header .main-header-menu li .sub-menu li a {
    color: var(--ast-global-color-2) !important;
}
.ast-theme-transparent-header .main-header-menu li .sub-menu li:hover > a {
    color: var(--ast-global-color-0) !important;
}
.ast-builder-grid-row.ast-grid-center-col-layout{
    grid-template-columns: 1fr 4fr;
}
.ast-main-header-wrap .ast-builder-grid-row.ast-grid-center-col-layout{
    grid-template-columns:.2fr 1fr .05fr;
}
.ast-builder-menu-1{
    text-transform: unset !important;
    width: 100%;
}
.ast-builder-menu-1{
    text-transform: unset !important;
}

.ast-above-header-bar{
    border-bottom-color: #cfcfdf54;
}
.main-header-menu .sub-menu .menu-link {
    padding: .35em 1em;
    
}
.site-header-section>div:last-child {
    padding-right: 0;
    display: flex;
    justify-content: flex-end;
}


 .ast-desktop .astra-menu-animation-slide-down>.menu-item>.sub-menu>li>a{
     font-size: 17px;
     font-weight: none;
 }



#block-13 {
  position: relative;
  display: inline-block;
  cursor: pointer;
  /* 新增：让子元素居中定位的基础 */
  text-align: center;
}
#block-13 img{
    width: 20px;
}
/* 下拉菜单默认样式：隐藏+偏移+动画（核心修改处） */
#block-13 .toggle {
  position: absolute;
  top: 100%;
  /* 1. 水平居中：left50% + 负margin-left，适配任意菜单宽度 */
  left: 50%;
  transform: translate(-50%, 5px); /* 2. 初始偏移：水平居中+向下5px，滑动更自然 */
  min-width: 120px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 4px;
  padding: 8px 0;
  margin: 0; /* 去掉原有margin，用transform控制间距更精准 */
  margin-top: 8px; 
  list-style: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  /* 动画保留，只改偏移逻辑 */
  transition: all 0.3s ease-in-out;
  
   max-height: 0;
  overflow: hidden;
}

#block-13 .toggle li a {
  display: block;
  padding: 6px 16px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
}

#block-13 .toggle li a:hover {
  background: #f5f5f5;
  color: var(--ast-global-color-0);
}
.ast-builder-menu-1 .menu-item > .menu-link{
    /*font-size: 1.1rem;*/
}
/* 显示类：触发滑入动画（核心修改处） */
#block-13 .toggle.show {
  opacity: 1;
  visibility: visible;
  /* 滑入后：水平居中+无垂直偏移，自然贴紧图标下方 */
  transform: translate(-50%, 0);
  
   max-height: 500px;
}

#block-10 .wp-block-list li{
    display: block;
}

/*application*/
#wpsp-103969 .wp-show-posts-inner:hover img{
    opacity: .8;
}

/*侧边栏*/
.elementor-element .widget,#secondary .widget{
    padding: 0 !important;
    padding-bottom: 20px !important;
}
.widget-title{
    font-size: 1.8rem;
    font-weight: bold;
}
.elementor-element .widget h2,#secondary .widget h2 ,.news-archive-page .widget .widget-title{
    padding: 20px 20px 0;
}
.news-archive-page footer .widget .widget-title{
    padding: 0;
}
.news-archive-page article {
    border-radius: 10px;
}
.news-archive-page article > .ast-post-format-{
    padding: 20px;
}
.elementor-element .widget nav ul li,#secondary .widget nav ul li,#block-8 ul li,#block-35 > ul{
    padding: 10px 20px;
    margin-bottom: 0;
}
#block-35 .wp-block-latest-posts__post-title{
    font-size: 1.4rem;
    line-height: 30px;
}
#block-35 .wp-block-latest-posts__post-date{
    margin: 0;
}
#block-35 .wp-block-latest-posts__post-excerpt{
    margin-top: 0;
     display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  /* 超出部分隐藏并显示省略号 */
  overflow: hidden;
  text-overflow: ellipsis;
}
#block-35 ul li:hover .wp-block-latest-posts__post-title{
    color: var(--ast-global-color-0);
}
#block-8 ul li{
    margin: 0;
}
#block-8 ul li a{
    margin-bottom: 0;
}
.elementor-element .widget nav ul li:hover,#secondary .widget nav ul li:hover,#block-8 ul li:hover{
    background: #e3e0e057;
    border-left: 3px solid var(--ast-global-color-0);
}
.elementor-element .widget nav ul li.active,#secondary .widget nav ul li.active{
    background: #e3e0e057;
    border-left: 3px solid var(--ast-global-color-0);
}
.elementor-element .elementor-widget-container,#secondary .elementor-widget-container{
    /*padding: 0 !important;*/
}
.ast-single-post .elementor-widget-container{
    padding: 0 !important;
}
 .ast-page-builder-template .entry-content[data-ast-blocks-layout] > *:not(.wp-block-group):where(:not(.uagb-is-root-container):not(.spectra-is-root-container)) > *{
     max-width: 100%;
 }
.widget_nav_menu li{
    transition: unset;
}
/*首页产品*/
#wpsp-103767 .wp-show-posts-inner{
    padding-bottom: 10px;
}
#wpsp-103767 .wp-show-posts-inner header {
    text-align: center;
}
.wp-show-posts-columns#wpsp-103767 .wp-show-posts-inner{
    box-shadow: 3px 3px 3px 0px #00000012;
}
h4, .entry-content :where(h4),.wp-show-posts-entry-title{
    font-size:1.2rem ;
}
.wp-show-posts-entry-title,.entry-title a,.ast-woocommerce-container .products li .astra-shop-summary-wrap{
    font-size: 1.4rem;
    font-weight: bold;
}
.wp-show-posts-entry-summary p{
    /* 限制显示行数为2行 */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  /* 超出部分隐藏并显示省略号 */
  overflow: hidden;
  text-overflow: ellipsis;
}

.wp-show-posts-image.wpsp-image-center{
    height: 300px;
}
body .wp-show-posts .wp-show-posts-image  a{
    height: 100%;
    display: block;
}
.wp-show-posts-columns .wp-show-posts-single:not(.wp-show-posts-masonry-block) .wp-show-posts-image img{
    object-fit: cover;
    height: 100%;
    width: 100%;
}

#wpsp-103767 .wp-show-posts-inner{
    
}
#wpsp-103767 .wp-show-posts-inner:hover .wp-show-posts-image img{
    opacity: .8;
}
/*WooCommerce产品*/
.woocommerce-tabs .additional_information_tab{
    display: none !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active:before{
    background: unset;
}
.description_tab{
    background-color: var(--ast-global-color-0) !important;
    
}
.woocommerce-js div.product .woocommerce-tabs ul.tabs li{
    border-radius: 5px;
}
.woocommerce-js div.product .woocommerce-tabs{
    padding-top: 0;
}
.woocommerce-js div.product .woocommerce-tabs ul.tabs{
    margin-bottom: 2em;
}
.woocommerce-js div.product .woocommerce-tabs ul.tabs:before{
    position: absolute;
    bottom: 0;
    top: unset;
}
.woocommerce-js div.product .woocommerce-tabs ul.tabs li a{
    padding: .5rem;
    color: #fff;
    
}
.woocommerce-js div.product .woocommerce-tabs ul.tabs li a:hover{
    color: #fff;
}
.woocommerce-js ul.products li.product .woocommerce-loop-category__title, .woocommerce-page ul.products li.product .woocommerce-loop-category__title {
    bottom: 0;
    font-size: .9em;
    width: 100%;
    left: 0;
    height: 80px;
}
.woocommerce-js ul.products li.product .woocommerce-loop-product__title, .woocommerce-page ul.products li.product .woocommerce-loop-product__title{
    font-size: 1.2rem;
    text-align: center;
}
.woocommerce nav.woocommerce-pagination ul li a:focus, .woocommerce nav.woocommerce-pagination ul li a:hover, .woocommerce nav.woocommerce-pagination ul li span.current {
    background: var(--ast-global-color-0);
    color:#fff;
}
.woocommerce #secondary .sidebar-main{
    box-shadow: 0px 1px 9px 4px #0b318f1f;
}
/* 隐藏产品分类小工具里的 指定分类 */
.widget_product_categories li.cat-item-19 {
    display: none !important;
}
/* 只隐藏红框里的 products 文字 */
#menu-item-103784{
    display: none !important;
}
/*表单*/
.elementor-element-ecd0507{
    box-shadow: 0px -1px 14px -9px #0b318f;
}
/*WooCommerce*/
.woocommerce-result-count,.woocommerce-ordering,.ast-on-card-button{
    display: none;
}
.ast-woocommerce-container .products li{
    cursor: pointer;
    transition: all .3s;
}
.ast-woocommerce-container .products li:hover{
    box-shadow: 0px 10px 30px 0px #00000033;
    transform: scale3d(1.01, 1.01, 1.01);
}
.ast-woocommerce-container .products li .astra-shop-summary-wrap{
    padding: 0 10px;
}
.ast-woocommerce-container .products li .ast-woo-product-category{
  /*white-space: nowrap; */
  width: fit-content; 
}
.woocommerce-page #content> .ast-container{
    margin-top: 50px;
}


/*新闻*/
.news-img,.news-news{
    margin: 0;
}
.news-img .listing-item{
    display: flex;
    justify-content: space-between;
    background-color: #fff;
    
    margin-bottom: 15px;
    border-radius: 10px;
}
.category-news .ast-blog-layout-5-grid .ast-article-post{
    margin-bottom: 0;
}
.news-img .listing-item a.image {
    overflow: hidden;
    border-radius: 10px 0px 0px 10px;
}
.news-img .listing-item a.image img{
    transition: all .6s;
}
.news-img .listing-item:hover a.image img{
    transform: scale(1.1);
}
.news-img .listing-item:hover a.title{
    color: var(--ast-global-color-0);
}
.news-img .news-r{
    padding: 20px;
    width: 80%;
}
.news-news .listing-item{
    position: relative;
  
}
.news-news .news-r{
    background-color: rgba(1,1,1,.4);
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 20px;
    border-radius: 0px 0px 10px 10px;
}
.news-news .news-r a,.news-news .news-r span{
    color: #fff;
}
.news-news .listing-item a.image{
    height: 560px;
}
.news-news .listing-item a.image img{

    object-fit: cover;
    height: 100%;
    aspect-ratio: 4/3; 
    border-radius: 10px;
}
.news-img a.image{
    width: 30%;
}
.news-img a.image img{
    width: 100%;
    height: 100%;
}
.news-img .excerpt{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    /* 超出部分隐藏并显示省略号 */
     overflow: hidden;
    text-overflow: ellipsis;
}
.news-r .title{
    font-size: 18px;
    font-weight: bold;
}
.date{
    font-size: 14px;
    color: #ccc;
}

.excerpt-dash{
    display: none;
}

#block-7{
    margin-bottom: 0 !important;
    padding-bottom: 1px !important;
}
#block-8{
    padding-top: 0 !important;
}
.entry-title{
    font-size: 1.2rem;
}
.entry-meta .posted-on .published{
    color: #ccc;
    font-size: .8em;
}
.ast-excerpt-container p{
     /* 限制显示行数为2行 */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  /* 超出部分隐藏并显示省略号 */
  overflow: hidden;
  text-overflow: ellipsis;
}
.published{
    display: none;
}
.news-archive-page .published,#wpsp-103807 .published
{
    display: block;
}

/*首页新闻*/
#wpsp-103807 .wp-show-posts-entry-title{
    font-size: 1rem;
}
#wpsp-103807 header{
    margin-bottom: 5px;
}

/*首页案例*/
#wpsp-103915{
    /*width: 89%;*/
}
.wp-show-posts-columns#wpsp-103915{
    margin-left: 0 !important;
}
/* 初始隐藏轮播容器，避免旧样式闪现 */
#wpsp-103915 {
  visibility: hidden !important; /* 隐藏但保留占位，不跳布局 */
  opacity: 0 !important;
  transition: opacity 0.3s ease !important;
}

/* 轮播初始化完成后，自动显示容器 */
#wpsp-103915.slick-initialized {
  visibility: visible !important;
  opacity: 1 !important;
}

/* 兼容Slick样式，避免布局错乱 */
#wpsp-103915 .slick-slide {
  display: block !important;
}


.elementor-image-box-title{
    margin-bottom: 8px;
}
#wpsp-103915 .wp-show-posts-inner{
        position: relative;

       width: 100%; 
       margin-left: 0 !important;
}
#wpsp-103915 .wp-show-posts-entry-header,#wpsp-103915 .wp-show-posts-entry-summary{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: #fff;
    width: 50%;
    z-index: 4;
}
#wpsp-103915 .wp-show-posts-entry-header{
   /*height: 150px;*/
    bottom: 20%;
    z-index: 3;
    /*padding-bottom: 20;*/
}

#wpsp-103915 .wp-show-posts-image{
    height: 550px !important;
    margin: 0;
}
#wpsp-103915 .wp-show-posts-image img{
    width:100%;
}
#wpsp-103915{
    display: block !important;
}
#wpsp-103915 .slick-dots{
    text-align: right;
}
#wpsp-103915 > button{
    position: absolute;
    bottom: 13%;
    z-index: 2;
    width: 50px;
    height: 50px;
    border: 0;
    border-radius: 50%;
    background: #333;
    transition: all .6s;
}

#wpsp-103915 > button:hover{
    background: var(--ast-global-color-0) !important;
}
#wpsp-103915 .slick-prev{
    right: 110px;
}
#wpsp-103915 .slick-next{
    right: 30px;
}

/* 重置按钮样式 */
.slick-prev, .slick-next {
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.7) !important;
    border-radius: 50%;
    border: none;
    font-size: 0; /* 隐藏默认文字 */
    position: relative; /* 为伪元素定位做准备 */
}


/* 左箭头：小于号样式 */
.slick-prev::after {
    content: "\f104";
    font-family: "FontAwesome";
    display: block;
    font-size: 30px !important;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
}

/* 右箭头：大于号样式 */
.slick-next::after {
    content: "\f105";
    display: block;
    font-family: "FontAwesome";
    font-size: 30px;
    color: #fff;
    position: absolute;
    top: 48%;
    left: 45%;
    /*transform: translate(-50%, -50%); */
}


.slick-dots button{
    border: 0;
}
.slick-dots li
{
    list-style: none
}
/* 重置容器样式 */
.slick-dots {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

/* 重置每个dot的li样式 */
.slick-dots li {
  list-style: none;
  display: inline-block;
  margin: 0 8px;
  width: 30px;
  height: 30px;
  line-height: 30px;
  cursor: pointer;
  position: relative;
}

/* 彻底隐藏slick默认的圆点按钮 */
.slick-dots li button {
  display: none;
  width: 0;
  height: 0;
}

/* 核心：精准生成 01、02、03...（从第一个开始） */
/* 第1个li（对应轮播第1页）显示01 */
.slick-dots li:nth-child(1)::before {
  content: '01';
}
/* 第2个li显示02 */
.slick-dots li:nth-child(2)::before {
  content: '02';
}
/* 第3个li显示03 */
.slick-dots li:nth-child(3)::before {
  content: '03';
}
/* 第4个li显示04（按需增加，有多少轮播页就加多少） */
.slick-dots li:nth-child(4)::before {
  content: '04';
}
/* 第5个li显示05 */
.slick-dots li:nth-child(5)::before {
  content: '05';
}
/* 第5个li显示06 */
.slick-dots li:nth-child(6)::before {
  content: '06';
}
.slick-dots li:nth-child(7)::before {
  content: '07';
}
/* 统一设置dot的默认样式 */
.slick-dots li::before {
  color: #999; /* 未选中颜色 */
  font-size: 22px;
  font-weight: 500;
  display: block;
  width: 100%;
  height: 100%;
  text-align: center;
  border-radius: 50%; /* 圆形背景，可去掉 */
}

/* 激活态样式（选中的dot变色） */
.slick-dots li.slick-active::before {
  color: var(--ast-global-color-0); 
  font-weight: bold;
  /*background: #fef0e8; */
}

/*home-case*/


/*归档页面*/
.ast-row {
  /*  display: flex;*/
  /* 让子元素在一行排列，自动换行 */
  /*flex-wrap: wrap;*/
  /* 在元素之间添加均匀间距 */
  /*gap: 10px; */

   display: grid;
  /* 固定3列，每列宽度相等，间距20px */
  grid-template-columns: repeat(3, 1fr); 
  gap: 20px; 
}

/*.ast-row > article{*/
/*    flex: 1 1 calc(33.333% - 10.66px);*/
  /* 最小宽度防止在小屏幕上挤得太窄 */
/*  min-width: 280px;*/
/*  box-sizing: border-box;*/
/*}*/
/*.ast-row > article > div{*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*}*/

.ast-row > article > div > .ast-blog-featured-section{
    width: 100%;
}
.ast-row > article > div .post-thumb-img-content a{
    display: block;
    height: 220px;
}

.ast-row > article > div > .post-content{
    width: 100%;
    line-height: 1.5em;
}
.news-archive-page{
    margin-bottom: 6px;
}
.post-content h2 ,.post-content header{
    margin-bottom: 6px;
}
.post-content>.read-more{
    margin-top: .6em;
    margin-bottom: 0;
}
.ast-separate-container .ast-blog-layout-5-grid .post-content{
    /*padding-right: 0;*/
    /*padding-top: 0;*/
    /*padding-bottom: 0;*/
}
.archive .entry-title{
    line-height: 1.2em;
    
     display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    /* 超出部分隐藏并显示省略号 */
     overflow: hidden;
    text-overflow: ellipsis;
}
/*新闻页面*/
.news-archive-page #content > .ast-container{
    display: flex;
    flex-direction: row-reverse;
}
.news-archive-page #content #secondary{
    padding-right: 0;
    padding-left: 30px;
}
.news-archive-page .ast-row{
    display: flex;
    flex-direction: column
}
.news-archive-page .ast-row > article > div{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
}
.ast-row article:hover .ast-article-inner .post-content h2 a,
.news-archive-page .ast-row > article > div:hover .post-content > h2 a{
    color:var(--ast-global-color-0);
}
.ast-row article .post-thumb ,
.news-archive-page .ast-row > article > div .post-thumb-img-content{
    overflow: hidden;
}
.ast-row article .post-thumb-img-content a img,
.news-archive-page .ast-row > article > div .post-thumb-img-content a img{
    transition: all .6s;
}
.ast-row article:hover .post-thumb-img-content a img,
.news-archive-page .ast-row > article > div:hover .post-thumb-img-content a img{
    transform: scale(1.2);
}
.news-archive-page .ast-row > article > div .ast-blog-featured-section{
   width: 35%; 
}
.news-archive-page .ast-row > article > div > .post-content{
    width: 65%;
}
.news-archive-page .ast-row > article > div .post-thumb-img-content a{
    height: 260px;
}
/*页面字体对齐*/
.wp-show-posts-entry-summary p,.ast-excerpt-container p{
    word-spacing: 0.1em; 
    letter-spacing: -0.02em; 
    text-align: left;
    hyphens: auto;
    

}
.ast-excerpt-container{
          /* 限制显示行数为2行 */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  /* 超出部分隐藏并显示省略号 */
  overflow: hidden;
  text-overflow: ellipsis;
}

/*手机端菜单按钮*/
.ast-button-wrap .menu-toggle:focus{
    outline: none;
}
[data-section="section-header-mobile-trigger"] .ast-button-wrap .ast-mobile-menu-trigger-minimal:focus{
    border-style: unset;
}

/*单篇文章*/
.ast-single-entry-banner[data-post-type="post"]{
    padding-top: 11em;
    padding-bottom: 5em;
}
/*联系页面*/
.page-id-410 .wpforms-container form label{
    color: #fff;
}
.page-id-410 .wpforms-submit-container #wpforms-submit-1352{
    color: #fff;
    border-color: #fff;
    transition: all .6s;
}
.page-id-410 .wpforms-submit-container #wpforms-submit-1352:hover{
    color: #e6b263;
    border-color: #e6b263;
}
/*视频*/
.wp-block-video{
    text-align: center;
    
}
.wp-block-video > video{
    width: 420px;
}
/*页脚*/

footer .ast-builder-html-element ul{
    display: flex;
    margin: 0;
    margin-top: 20px
}
footer .ast-builder-html-element ul li{
    text-align: center;
    margin-right: 10px;
}
footer .ast-builder-html-element ul li:last-child{
    margin-right: 0;
}
footer .ast-builder-html-element ul li img{
    width: 150px;
}
.ast-footer-html-1 .ast-builder-html-element ul li p{
    margin-top:5px;
}
/*.elementor-element-7b5e64c .elementor-widget-container p{*/
/*    margin-bottom: 0;*/
    
/*}*/
/*.elementor-element-f8b30fa{*/
/*    padding-bottom: 20px;*/
/*}*/
.elementor-page-328 .e-con-inner .elementor-widget-container > p{
    margin-bottom: 0;
}
@media (max-width: 1500px){
    .elementor-25 .elementor-element.elementor-element-e813b1b.e-con{
        padding-left: 10px;
    }
}
@media (max-width: 1300px){
.ast-row > article{
    flex: 1 1 calc(28% - 10.66px);
    min-width: auto;
}
.ast-row > article > div .post-thumb-img-content a{
    height: 11rem;
}
.news-img a.image{
    width: 50%;
}
    
}
@media (max-width: 1100px){
    
}
@media (min-width: 993px) {
    .ast-left-sidebar #secondary {
        padding-right: 20px;
    }
    .ast-left-sidebar #primary {
        padding-left: 0px;
    }

}
@media (min-width: 922px) {
    
/*内容页侧边栏大小*/
    #secondary{
     width:25%;
     margin-right: 0;
     margin-left: 0;
    }
    .woocommerce #secondary{
        width:30%;
    }
    .ast-separate-container.ast-left-sidebar #primary{
        width: 76%;
    }

}
@media (min-width: 921px) {
    .ast-theme-transparent-header #masthead {
        position: unset; 
        /*background-color: var(--ast-global-color-1);*/
    }
    /*.elementor-25 .elementor-element.elementor-element-c7ce894 {*/
    /*display: grid;*/
    /*e-con-grid-template-columns: repeat(1, 1fr);*/
        
    /*}*/
}

@media (max-width: 921px) {
    .ast-theme-transparent-header #masthead{
        position: unset;
    }
    .elementor-swiper-button{
        display: none !important;
    }
    .ast-left-sidebar #content > .ast-container{
        display: flex;
        flex-direction: column;
      
    }
    .news-archive-page #content #secondary{
          padding-left: 0;
    }
    .ast-separate-container #primary{
        padding-top: 0;
    }
    .ast-separate-container .ast-blog-layout-5-grid .post-content,.news-archive-page article > .ast-post-format-{
        padding: 10px;
    }
    .news-archive-page .ast-row > article > div .ast-blog-featured-section {
     width: 55%;
    }
    .news-archive-page .ast-row > article > div > .post-content{
        width: 45%;
    }
   .ast-container #secondary,.news-archive-page #secondary{
       /*display: none;*/
   }
       .ast-row> article > div .post-thumb-img-content a {
        height: 150px;
    }
    /*   .ast-separate-container .ast-blog-layout-5-grid .post-content{*/
    /*    padding-top: 0;*/
    /*}*/
    .ast-row > article > div > .ast-blog-featured-section{
        margin-bottom: 0;
    }
    .news-archive-page #primary{
        width: 100%;
    }
    .ast-single-entry-banner[data-post-type="post"]{
        padding-top: 8em;
        padding-bottom: 3em;
    }
    .ast-single-entry-banner[data-post-type="post"] .entry-title {

        font-size: 30px;
    }
}
@media (min-width: 922px) {
    #primary {
        width: 100%;
    }
    .ast-woo-shop-archive .site-content > .ast-container {
        max-width: 1440px;
    }

}
@media (max-width: 768px) {
    .ast-separate-container .entry-header{
        margin-bottom: 0;
    }
}
@media (max-width: 767px) {
.elementor-25 .elementor-element.elementor-element-813000e:not(.elementor-motion-effects-element-type-background){
    background-image: none !important;
 }
 #wpsp-103915 .wp-show-posts-image,#wpsp-103915 .wp-show-posts-image img{
     height: auto !important;
 }
 #wpsp-103915 > button{
     display: none !important;
 }
#wpsp-103915 .wp-show-posts-entry-header, #wpsp-103915 .wp-show-posts-entry-summary{
     width: 100%;
     position: unset;
     margin: 0;
 }
 #wpsp-103915 .wp-show-posts-entry-header{
     padding-bottom: 0;
 }
 .news-news .listing-item a.image{
     height: auto;
 }
 .news-img .news-r{
     padding: 10px;
 }
 .news-r .title {
    font-size: 16px;
    font-weight: bold;
    line-height: 1.3;
    }
.news-img .excerpt{
    line-height: 1.3;
    }
    footer .ast-builder-html-element img.alignnone {
    width: 120px;
    height: 120px;
}
}
@media (max-width: 750px){
    .ast-row{
       display: block;
    }
    .ast-row > article > div .post-thumb-img-content a {
        height:auto;
    }
}
@media (max-width: 544px) {
    h2, .entry-content :where(h2) {
        font-size: 26px;
    }
    .ast-above-header-wrap .ast-builder-html-element {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    }
.woocommerce-js ul.products li.product .woocommerce-loop-category__title, .woocommerce-page ul.products li.product .woocommerce-loop-category__title{
        justify-content: center;
    }
}