/*
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.12.3.1770882650
Updated: 2026-02-12 15:50:50

*/


/*动画*/
/* 初始状态：隐藏+在下方 */
/*.scroll-animate {*/
/*  opacity: 0; */
/*  transform: translateY(50px); */
/*  transition: all 0.8s ease-out; */
/*  will-change: opacity, transform; */
/*}*/


/*.scroll-animate.animate-show {*/
/*  opacity: 1; */
/*  transform: translateY(0); */
/*}*/

/* ======================
   滚动动画通用样式
====================== */

/* 淡入动画 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px); /* 轻微下移，入场更自然 */
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 左滑入动画 */
@keyframes slideInLeft {
  from {
    transform: translate3d(-100%, 0, 0);
    visibility: visible;
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

/* 右滑入动画 */
@keyframes slideInRight {
  from {
    transform: translate3d(100%, 0, 0);
    visibility: visible;
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

/* 新增：从下方滑入动画（slideInUp） */
@keyframes slideInUp {
  from {
    transform: translate3d(0, 100%, 0); /* 初始位置：下方100% */
    visibility: visible;
    opacity: 0; /* 初始透明，更自然 */
  }
  to {
    transform: translate3d(0, 0, 0); /* 最终位置：原位置 */
  }
}
body {
    /*font-family: "PingFangSC-Regular","Microsoft Yahei","Helvetica","Arial","sans-serif",serif;*/
    font-family: "Microsoft Yahei", sans-serif;

}
h1,.ast-woocommerce-container .products,#main .ast-row,.display-posts-listing{
    animation: fadeIn 1.2s ease-in-out;
    animation-delay: 0.3s;
}

/* 仅在非Elementor编辑器的前端页面生效 */
body:not(.elementor-editor-active) .scroll-animate {
  opacity: 0;
  transition: all 0.8s ease-out;
  will-change: opacity, transform;
  backface-visibility: hidden;
  transform: translateZ(0);
}
.ast-container{
    /*padding: 10px;*/
}
/* 从下往上（默认） */
body:not(.elementor-editor-active) .scroll-animate.animate-up {
  transform: translateY(50px) translateZ(0);
}
/* 从左往右 */
body:not(.elementor-editor-active) .scroll-animate.animate-left {
  transform: translateX(-50px) translateZ(0);
}
/* 从右往左 */
body:not(.elementor-editor-active) .scroll-animate.animate-right {
  transform: translateX(50px) translateZ(0);
}

/* 滚动触发显示（前端生效） */
body:not(.elementor-editor-active) .scroll-animate.animate-show {
  opacity: 1;
  transform: translate(0, 0) translateZ(0);
  transition: all 0.8s ease-out, transform 0s;
}



body,html{
    transition: all .3s;
    overflow-x: hidden;
}
a:focus {
    outline: unset;
}
.published{
    /*display: none;*/
    color: #ccc;
    font-size: 14px;
}
li{
    list-style: none;
}
.e-con-inner{
    max-width: 1440px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    
    display: flex;
    justify-content: space-between !important;
}

.ast-archive-entry-banner{
    position: relative;
}
.elementor-2169 .elementor-element.elementor-element-89cd4e3 .elementor-swiper-button.elementor-swiper-button-prev svg, .elementor-2169 .elementor-element.elementor-element-89cd4e3 .elementor-swiper-button.elementor-swiper-button-next svg {
    fill: var( --e-global-color-astglobalcolor5 );
    transition:all .6s;
}
.elementor-2169 .elementor-element.elementor-element-89cd4e3 .elementor-swiper-button.elementor-swiper-button-prev svg:hover, .elementor-2169 .elementor-element.elementor-element-89cd4e3 .elementor-swiper-button.elementor-swiper-button-next svg:hover {
    fill: #b0b5dd;
}



.ast-breadcrumbs-wrapper{
    text-align: left;
    bottom: -35px;
    padding-left: 40px;
}
.ast-breadcrumbs-wrapper .ast-breadcrumbs .trail-items li span {
    color: var(--ast-global-color-3);
}
.ast-breadcrumbs-wrapper .ast-breadcrumbs .trail-items li span:hover a span{
    color: var(--ast-global-color-0);
}
.posted-on{
    display: none;
}


.news-archive-page .posted-on , .news-single-page .posted-on{
    display: block;
}
.news-single-page .posted-on{
    text-align: left;
}
.rank-math-breadcrumb{
    max-width: 1440px;
    margin: 0 auto;
    margin-top: 20px;
    /*padding: 0 20px;*/
}
.archive .rank-math-breadcrumb{
    padding: 0 20px;
}
/*页眉*/
.ast-desktop .ast-builder-menu-1 .menu-item .sub-menu .menu-link:hover{
    color: var(--ast-global-color-0) !important;
}
.site-header-primary-section-left{
    display: flex;
    justify-content: space-between;
}
.ast-builder-html-element p{
    color: #000;
}
.site-logo-img .transparent-custom-logo img, .ast-theme-transparent-header .site-logo-img img ,.site-logo-img img{
    filter: none !important;
}




/*切换语言*/
#block-8 {
  position: relative;
  display: inline-block;
  cursor: pointer;
  /* 新增：让子元素居中定位的基础 */
  text-align: center;
}
#block-8 img{
    width: 20px;
}
/* 下拉菜单默认样式：隐藏+偏移+动画（核心修改处） */
#menu-item-4737{
    display: none;
}
#block-32 {
    width: 100px;
    margin: 10px 0;
}
#block-8 .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-8 .toggle li a {
  display: block;
  padding: 6px 16px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
}

#block-8 .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-8 .toggle.show {
  opacity: 1;
  visibility: visible;
  /* 滑入后：水平居中+无垂直偏移，自然贴紧图标下方 */
  transform: translate(-50%, 0);
  
   max-height: 500px;
}



/*导航*/
.ast-separate-container.ast-two-container #secondary .widget{
    padding: 0;
    padding-bottom: 20px;
}

#secondary li{
    margin-bottom: 0;
}
.ast-header-button-1[data-section*="section-hb-button-"] .ast-builder-button-wrap .ast-custom-button {

    padding: 10px;
    font-size: 15px;
}
.elementor-element .widget-title,#secondary .widget-title,#block-30 h2{
    padding: 20px 20px 0;
}
.elementor-element .menu li , #secondary .menu li,#block-29 ul li{
    padding:5px 20px; 
    cursor: pointer;
}
#block-29 time{
    margin: 0;
    color: #ccc;
}
.elementor-element .menu li.active , #secondary .menu li.active{
    background: #e3e0e057;
    border-left: 3px solid var(--ast-global-color-0);
}
.elementor-element .menu li:hover,#secondary .menu li:hover{
     background: #e3e0e057;
    border-left: 3px solid var(--ast-global-color-0);
}
.main-header-menu .menu-link{
    /*padding: 0 .5em;*/
}
/*.main-header-menu > .menu-item > .menu-link, #astra-footer-menu > .menu-item > .menu-link{*/
/*    font-size: 16px;*/
/*}*/
.main-navigation > ul >li >a,.main-navigation .sub-menu li a{
    color: #000 !important;
    /*font-weight: bold;*/
}
.main-navigation ul li a :hover{
   color: var(--ast-global-color-0) !important; 
}

/*新闻页面侧边栏*/
#block-30 {
    margin-bottom:0 !important;
}


/*分类页面banner*/
.ast-archive-entry-banner[data-post-type="post"][data-banner-background-type="custom"],.ast-single-entry-banner[data-post-type="post"][data-banner-layout="layout-2"],.ast-archive-entry-banner[data-post-type="product"][data-banner-background-type="custom"],.ast-single-entry-banner[data-post-type="product"][data-banner-layout="layout-2"]{
    background-position: -100px 100px;
    background-repeat: no-repeat;
    background-size: contain;
    background-color:var(--ast-global-color-0);
}
.ast-archive-entry-banner > .ast-container > h1,.ast-archive-entry-banner > .ast-container > p,.ast-container h1.entry-title{
    color: #fff;
    text-align: left;
}
.ast-archive-entry-banner > .ast-container > p{
    font-size: 18px;
    color: #FFFFFFBF;
}
.ast-archive-entry-banner[data-post-type="post"]{
    padding-top: 0;
    padding-bottom: 0;
}
.ast-archive-entry-banner > .ast-container , .ast-single-entry-banner > .ast-container{
    padding-bottom: 120px;
    padding-top: 220px;
    padding-left: 0;
    padding-right: 0;
}
/*单篇文章*/
.entry-content[data-ast-blocks-layout] > figure{
    text-align: center;
}
.ast-single-entry-banner .ast-container > .entry-title {
    color: #FFF;
}
.trail-items li::after,.ast-breadcrumbs ul li span{
    /*color:#FFFFFFBF !important;*/
}
.ast-post-format- .post-thumb-img-content{
    overflow: hidden;
}
.ast-post-format- .post-thumb-img-content a img{
    transition: all .6s;
}
.ast-post-format-:hover .post-thumb-img-content a img{
    transform: scale(1.1);
}
 
 
/*产品页*/
.ast-left-sidebar #secondary{
    /*padding-right: 0 !important;*/
}
#nav_menu-5 , .widget_nav_menu{
    /*background-color: var( --e-global-color-astglobalcolor0) !important;*/
}
.widget_nav_menu a{
    color: var(--ast-global-color-2);
}
.widget_nav_menu a:hover{
    /*color: var(--ast-global-color-0);*/
}
footer .widget_nav_menu{
    background-color: transparent !important;
}
footer .widget .wp-block-heading {

    font-size: 1.7rem;
    font-weight: normal;
}
#nav_menu-12 {
    background-color: unset !important;
}
.sidebar-main nav ul li{
    margin-bottom: 10px;
}
.widget-title,.sidebar-main nav ul li a{
    /*color: #fff;*/
}
#nav_menu-12 .widget-title,footer .widget_nav_menu .widget-title{
    color: unset;
}
.woocommerce-ordering{
    display: none;
}
.product_title{
    color: var(--ast-global-color-3) !important;
}
.woocommerce ul.products li.product.desktop-align-left, .woocommerce-page ul.products li.product.desktop-align-left{
    border-radius: 0;
    background: #fff;
}
.ahfb-svg-iconset,.ast-woo-product-category,.orderby,.woocommerce-result-count{
    display: none !important;
}

.woocommerce-loop-product__title{
    font-size: 1.4rem;

}
.woocommerce-js ul.products li.product .woocommerce-loop-product__title{
        padding: 1.2rem 0;
    margin: 0;
}
.astra-shop-summary-wrap{
    text-align: center;
}
.astra-shop-summary-wrap a.button{
    display: none;
}

.products .astra-shop-thumbnail-wrap{
    height: 260px;
}
.products .astra-shop-thumbnail-wrap a {
    display: block;
    height: 100%;
}
.products .astra-shop-thumbnail-wrap a img{
    height: 100% !important;
    object-fit: cover;
}
.products li{
    transition: all .6s;
    border-bottom: 3px solid #fff;
}
.products li:hover {
    border-bottom: 3px solid var(--ast-global-color-0);
}



/*服务与配件*/
.page-id-4394 .elementor-image-box-img {
    height: 270px;
}
.page-id-4394 .elementor-image-box-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.page-id-4394 .elementor-image-box-description{
    text-align: left;
}

#ast-scroll-top:focus{
    border-style: none;
}



/*归档页面*/
/* 让 .ast-row 下的子元素一行显示3个 */

 .ast-row {
    display: flex;
    flex-wrap: wrap;
    /*justify-content: space-between;*/
    /*margin: 0 -15px; */
     gap: 30px 20px; 
    /* 可选：让最后一行左对齐，符合归档页视觉习惯 */
    justify-content: flex-start; 
}
.news-archive-page .ast-row {
    display: initial;  
    flex-wrap: initial;
    margin: initial; 
}


.ast-row > * {
    /*flex: 0 0 calc(33.333% - 30px);*/
    /*max-width: calc(33.333% - 30px);*/
    
     flex: 0 0 calc(33.333% - 13.333px); 
    max-width: calc(33.333% - 13.333px);
     margin: 0 0 0 0; 
    /*margin: 0 15px 30px; */
    
     display: flex;
    flex-direction: column;
    height: 100%;
}
.news-archive-page .ast-row > * {
    flex: initial;
    max-width: initial;
    margin-bottom:2em; 
}





.ast-row .ast-article-inner{
    display: flex;
    flex-wrap: wrap;
    height: 100%;
    align-content: flex-start;
}
 .ast-blog-layout-5-grid .ast-blog-featured-section{
    height: 220px;
}
.ast-blog-layout-5-grid .ast-blog-featured-section, .ast-blog-layout-5-grid .post-content{
    width: 100%;
}
.ast-excerpt-container>p:last-child {

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;

  overflow: hidden;
  text-overflow: ellipsis;
}
.entry-header{
    margin-bottom: 8px;
}
.post-content>.read-more {
    margin-top: 10px;
}
.case-archive-page{
    margin-bottom: 0;
}
.entry-title {
    font-size: 1.2rem;
    margin-bottom: 8px !important;
}
.post-content>.read-more{
    margin-bottom: 0;
}



.news-archive-page .ast-row .ast-article-inner {
    display: flex;

    align-items: stretch;
    justify-content: space-between;
}
.news-archive-page .ast-blog-layout-5-grid .ast-blog-featured-section {
    /*height: initial;*/
}
.news-archive-page .ast-blog-layout-5-grid .ast-blog-featured-section,
.news-archive-page .ast-blog-layout-5-grid .post-content {
    width: initial;
}
.news-archive-page .ast-excerpt-container>p:last-child {
    display: initial;
    -webkit-box-orient: initial;
    -webkit-line-clamp: initial;
    overflow: initial;
    text-overflow: initial;
    
    
    
    /* 限制显示行数为2行 */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  /* 超出部分隐藏并显示省略号 */
  overflow: hidden;
  text-overflow: ellipsis;
}


.news-archive-page {
    margin-bottom: initial;
}
.news-archive-page  .post-thumb-img-content a{
    display: block;
    height: 100%;
    display: block;
}

.ast-separate-container .ast-blog-layout-5-grid .post-content{
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
    display: flex;
    flex-direction: column;
    height: 260px;
    
}
.news-archive-page .ast-blog-layout-5-grid .post-content{

    display: block;
    height: auto;
}

.news-archive-page .ast-row article{
    cursor: pointer;
}
.news-archive-page .ast-row article .post-thumb-img-content{
    overflow: hidden;
}
.news-archive-page .ast-row article .post-thumb-img-content a img{
        transition: all .6s;
}
.news-archive-page .ast-row article:hover .post-thumb-img-content a img{
    transform: scale(1.1);
}

/*侧边栏*/
.widget_nav_menu{
    background: #fff;
    padding: 20px 0;
    
}
.widget_nav_menu li{
    transition: unset;
}

footer .widget_nav_menu{
    background: transparent;
    padding-top: 0px;
}
footer .widget_nav_menu li{
    margin-bottom: 5px;
}
footer .widget_nav_menu h2.widget-title{
    font-size: 1.7rem;
}
footer .widget_nav_menu nav ul li a{
color:var(--ast-global-color-3)
}
footer .widget_nav_menu nav ul li a:hover{
    color: #dfaf42 !important;
}
footer .widget_nav_menu nav ul li:hover a{
color:var(--ast-global-color-0)
}
/*首页案例*/
.excerpt-dash{
    display: none;
}
/* 外层容器：设置Flex布局，一行3列 */
/* .display-posts-listing {*/
/*    display: flex;*/
/*    flex-wrap: wrap; */
/*    gap: 20px; */
/*    margin: 0 -10px ; */
/*    padding: 0;*/
/*}*/
.elementor-element-7c331d6 .display-posts-listing{
    margin: 0;
}

#news .display-posts-listing {
   display: unset;
}


/* 外层容器：Flex布局，一行3列，统一间距 */
.display-posts-listing {
    display: flex;
    flex-wrap: wrap; 
    gap: 20px; /* 元素之间的水平间距 */
    margin: 0; 
    padding: 0;
}

/* 单个文章项：默认一行3个（大屏+平板） */
.display-posts-listing .listing-item {
    flex: 0 0 calc(33.333% - (40px/3)); /* 精准适配20px gap的3列宽度 */
    box-sizing: border-box;
    /*padding: 15px;*/
    overflow: hidden;
    margin: 0 0 10px 0; /* 仅底部留间距，上下美观 */
background-color: #fff;
    border-radius: 8px;
}
.elementor-element-2113a57 .display-posts-listing .listing-item{
    border-radius: 0;
    cursor: pointer;
}


#news .display-posts-listing .listing-item {
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
    background-color:#fff ;
}
#news .display-posts-listing .listing-item:last-child{
    margin-bottom: 0;
}
/* 图片样式：适配卡片布局 */
.display-posts-listing .listing-item a.image{
    display: block;
    height: 16rem;
    margin-bottom: 20px;
    overflow: hidden;
}

#news .display-posts-listing .listing-item a.image{
    display: block;
    height: auto;
    margin-bottom: 0px;
    height: 125px;
}
.display-posts-listing .listing-item img {
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    /*border-radius: 6px;*/
    margin: 0 0 10px 0;
    float: none; 
}
#news .display-posts-listing .listing-item img{
     width: 100%; 
    height: 100%; 
}
/*应用领域*/
.elementor-element-6898b97 .news-r,.elementor-element-2113a57 .news-r,.elementor-page-2171 .news-r{
    padding: 0 20px 20px;
}
.elementor-element-6898b97 .display-posts-listing .listing-item{
    background-color: #fff;
    cursor: pointer;
}
.elementor-element-6898b97 .display-posts-listing .listing-item a{
   overflow: hidden;
}
.elementor-element-6898b97 .display-posts-listing .listing-item a img{
    transition: all .6s;
}
.elementor-element-6898b97 .display-posts-listing .listing-item:hover a img{
    transform: scale(1.1);
}
/*案例*/
.elementor-element-2113a57 .display-posts-listing .listing-item,.elementor-element-2113a57 .display-posts-listing .listing-item a.image img {
    transition: all .6s;
}
.elementor-element-2113a57 .display-posts-listing .listing-item:hover{
     box-shadow:  0px 30px 50px -26px rgba(16, 36, 94, 0.25);
}

.elementor-element-2113a57 .display-posts-listing .listing-item:hover a.image img {
  transform: scale(1.08);
  -webkit-transform: scale(1.08);
}





/* 标题/日期/摘要样式：适配卡片竖排 */
.display-posts-listing .listing-item a.title {
    font-size: 1.4rem;
    line-height: 1.3;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    display: block;
    margin-bottom: 8px;
}

#news .display-posts-listing .listing-item a.title {
    font-size: 18px;
    margin-bottom: 0;
}

.display-posts-listing .listing-item .date {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
    display: block;
}
#news .display-posts-listing .listing-item .date {
    margin-bottom: 0;
}
.display-posts-listing .listing-item .excerpt {
    /*font-size: 14px !important;*/
    color: #666;
    line-height: 1.6;
    
    
     /* 限制显示行数为2行 */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  /* 超出部分隐藏并显示省略号 */
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: justify;
}
#news .display-posts-listing .listing-item .excerpt {
    font-size: 15px;
    
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}

/*新闻*/
#news .display-posts-listing .listing-item{
    border-bottom: 0;
}
#news .display-posts-listing .listing-item .image{
    width: 32%;
}
#news .display-posts-listing .listing-item .news-r{
    width: 65%;
    padding: 10px 20px 10px 0;
}
#news .display-posts-listing .listing-item a.image{
    transition: all .6s;
    overflow: hidden;
}
#news .display-posts-listing .listing-item a.image img{
    transition: all .6s;
}
#news .display-posts-listing .listing-item:hover a.image img{
    transform: scale(1.1);
}
#news .display-posts-listing .listing-item:hover a.title{
    color: var(--ast-global-color-0);
}
.news-archive-page .ast-blog-layout-5-grid .ast-blog-featured-section{
    width: 33%;
}
.news-archive-page .ast-blog-layout-5-grid .post-content{
    width: 66%;
}

#content > .ast-container{
    margin-top: 0px;
}
.e-con-full{
    margin-right: 0px !important;
}
.home #content > .ast-container{
    margin-top: 0px;
}
.elementor-element-b2e6772 .elementor-testimonial-wrapper,.elementor-element-bd61321 .elementor-testimonial-wrapper{
    display: flex;
    flex-direction: column-reverse;
}
.elementor-element-b2e6772 .elementor-testimonial-wrapper.elementor-testimonial-content,.elementor-element-bd61321 .elementor-testimonial-wrapper.elementor-testimonial-content{
    margin-bottom: 0;
}
.elementor-element-b2e6772 .elementor-testimonial-wrapper .elementor-testimonial-meta,.elementor-element-bd61321 .elementor-testimonial-wrapper .elementor-testimonial-meta{
    margin-bottom: 20px;
}
/*页脚*/

footer .ast-footer-social-1-wrap{
    display: none;
}
footer .ast-footer-html-2{
    margin-top: 10px;
}
footer .ast-builder-html-element ul{
    display: flex;
    margin: 0;
}
footer .ast-builder-html-element li{
    margin-right: 10px;
}
footer .ast-builder-html-element img.alignnone{
    width: 100px;
}
footer h2,footer p,footer a,footer li{
    color: #fff !important;
}
footer .site-below-footer-wrap p{
    color: var(--ast-global-color-3) !important;
}
footer .site-below-footer-wrap a{
    color: var(--ast-global-color-0) !important;
}
.site-footer-primary-section-4 .widget{
    margin-bottom: 0;
}
/*手机端*/
.ast-mobile-header-content{
    position: absolute;
    z-index: 9;
}
.ast-button-wrap .ahfb-svg-iconset{
    display: block !important;
}

.ast-button-wrap .menu-toggle:focus,input[type=search]:focus,.ast-menu-toggle:focus{
    outline: none;
}
input:focus,[data-section="section-header-mobile-trigger"] .ast-button-wrap .ast-mobile-menu-trigger-minimal:focus,textarea:focus{
    border-style: none !important;
}
.elementor-2169 .elementor-element.elementor-element-ec13831{
    display: unset;
}
/* 排除 .news-archive-page 下的 .ast-row，恢复其原有样式 */

.ast-above-header.ast-above-header-bar{
    background-color: #fff;
}


.ast-builder-footer-grid-columns{
    padding: 0 20px;
}
@media (min-width: 922px) {
    .blog .site-content > .ast-container, .archive .site-content > .ast-container, .search .site-content > .ast-container {
        max-width: 1440px;
    }
    .ast-container{
        max-width: 1400px;
    }
    .single .ast-container{
        max-width: 1480px;
    }
    .ast-separate-container.ast-two-container.ast-left-sidebar #secondary , #content .ast-container #secondary{
        margin-left: 0;
        width: 25%;
        margin-top: 0;
        padding-right: 0;
    }
     .ast-separate-container.ast-left-sidebar #primary,#content #primary{
        width: 100%;
        margin-top: 0;
    }
        .ast-left-sidebar #secondary {
        border-right: 0;
        margin-right: -1px;
    }
    .ast-left-sidebar #primary{
        border-left: 0;
    }
}


.news-archive-page #content .ast-container{
    display: flex;
    flex-direction: row-reverse;
}
.news-archive-page #content .ast-container #secondary{
    margin-right: 0 !important;
    margin-left: 30px !important;
}

@media (min-width: 993px) {
    .ast-left-sidebar #primary {
        padding-left: 0px;
    }
    .ast-left-sidebar #secondary {
        padding-right: 0px !important;
        margin-right: 30px !important;
    }
}

@media (min-width: 769px) and (max-width: 992px) {
    .display-posts-listing .listing-item {
        flex: 0 0 calc(33.33% - 20px); /* 平板端一行2个 */
    }
}
@media (max-width: 1500px){
    .rank-math-breadcrumb{
     padding: 0 20px;
    }
}
@media (max-width: 1300px){
    .rank-math-breadcrumb{
     /*padding: 0 10px;*/
    }
}
@media (max-width: 1300px) {
    .ast-builder-menu .main-navigation>ul{
        margin-left: 0px;
    }
    .ast-builder-menu-1 .menu-item > .menu-link{
        padding-left: 10px;
        padding-right: 10px;
    }
    
}
@media (max-width: 1024px) {
.ast-archive-entry-banner > .ast-container
 {
        padding-top: 160px;
        padding-bottom: 50px;
        padding-left: 30px;
        padding-right: 30px;
    }
.elementor-2170 .elementor-element.elementor-element-ee42a3a {
        /*margin-top: 80px;*/
}
   .home .e-con-inner{
       padding-left: 0 !important;
       padding-right: 0 !important;
   } 
}
/*@media (max-width: 921px) {*/
    /*banner*/
@media (min-width: 921px) {
    .ast-theme-transparent-header #masthead {
        position: unset;
    }
    
}
@media (max-width: 921px) {
    .ast-row > article{
        /*flex: auto;*/
        max-width: 50%;
    }
    .elementor-swiper-button{
        display: none !important;
    }
    .ast-theme-transparent-header #masthead{
        position: unset;
    }
    .elementor-element-09a4020 .e-con-inner{
        display: flex;
        align-items: center !important;
    }
    .ast-separate-container.ast-two-container #secondary{
        display: none;
    }
    .ast-header-html-2 {
        margin-right: 0px;
    }
    .ast-search-icon .icon-search{
        font-size: 20px;
    }
    .ast-archive-entry-banner[data-post-type="post"]{
        min-height: 285px;
    }
    .ast-archive-entry-banner[data-post-type="post"] .ast-container h1 {
    font-size: 2.2rem;
    }
    .ast-separate-container #primary{
        padding: 0;
    }
    .news-archive-page .ast-blog-layout-5-grid .ast-blog-featured-section{
        height: auto;
        margin-bottom: 0;
    }
    .ast-left-sidebar #secondary{
        /*display: none;*/
        margin: 0;
    }
    .ast-left-sidebar #content > .ast-container{
        display: flex;
        flex-direction: column;
    }
    .ast-container .woocommerce ul.products:not(.elementor-grid), .woocommerce-page ul.products:not(.elementor-grid), .woocommerce.tablet-columns-3 ul.products:not(.elementor-grid) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
     .ast-left-sidebar #primary {
         margin-bottom: 0;
     }
     .ast-archive-entry-banner[data-post-type="product"] .ast-container{
         padding-left: 30px;
         padding-right: 30px;
     }
    #nav_menu-12,#nav_menu-15{
        padding: 0;
    }
    .news-archive-page .ast-blog-layout-5-grid .ast-blog-featured-section{
        width: 43%;
    }
    .news-archive-page .ast-blog-layout-5-grid .post-content{
        width: 56%;
        padding-left:10px;
    }
    .ast-builder-grid-row-container.ast-builder-grid-row-tablet-4-equal .ast-builder-grid-row{
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-widget-area[data-section="sidebar-widgets-footer-widget-3"].footer-widget-area-inner {
        text-align: left;
    }
    .footer-widget-area #block-27,#block-28{
        text-align: left;
    }
    .ast-pagination{
        margin-bottom: 10px;
    }
    .ast-separate-container .ast-article-post{
       flex: auto;
        width: 48%;
    }
    .ast-archive-entry-banner > .ast-container, .ast-single-entry-banner > .ast-container {
    padding-bottom: 100px;
    padding-top: 140px;
        
    }
    .ast-single-entry-banner[data-post-type="post"] {
    justify-content: center;
    min-height: 285px;
    width: 100%;
    padding-right: 3em;
    padding-left: 3em;
}
    
    .elementor-element-ee42a3a{
        margin-top:0;
    }
    
}
/* 移动端适配：屏幕小于768px时，一行1个；平板时一行2个 */
@media (min-width: 768px) {
        .elementor-4282 .elementor-element.elementor-element-a0a5467 {
            width: 82%;
        }
        .elementor-4282 .elementor-element.elementor-element-8a79382 {
            width: 18%;
        }
}
@media (max-width: 768px) {
    .display-posts-listing .listing-item {
        flex: 0 0 100%; 
    }
    .ast-builder-grid-row-container.ast-builder-grid-row-tablet-3-equal .ast-builder-grid-row {
        grid-template-columns: repeat(1, 1fr);
    }
  /*#block-8 .toggle.show {*/
  /*  opacity: 1 !important;*/
  /*  visibility: visible !important;*/
  /*  max-height: 500px !important;*/
  /*  }*/
}
@media (max-width: 767px) {
   
    .ast-container .woocommerce ul.products:not(.elementor-grid){
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .products .astra-shop-thumbnail-wrap{
        height: 200px;
    }
    .elementor-element-5e8448b{
      margin-bottom: 50px;  
    }
    header .ast-builder-html-element span{
    font-size: 12px;
}
    header .ast-builder-grid-row{
        grid-column-gap: 0px;
    }
     .ast-header-break-point #masthead .ast-mobile-header-wrap .ast-above-header-bar {
    padding-left: 15px;
    padding-right: 15px;
    }
    header .ast-header-html-2{
    padding: 0;
    }
    .ast-builder-footer-grid-columns {
        grid-column-gap: 15px;
    }
    #block-16 figure{
        width: 150px;
    }
    .ast-footer-html-2{
        position: absolute;
        bottom: 105px;
        width: 100%;
        left: 0;
    }
    .site-primary-footer-wrap[data-section="section-primary-footer-builder"]{
        padding-bottom: 150px;
    }
    footer .ast-builder-html-element ul {
        display: flex;
        justify-content: center;
    }
    
    #news .display-posts-listing .listing-item .news-r{
        padding: 10px 10px 10px 0;
    }
    #news .display-posts-listing .listing-item a.title{
        font-size: 16px;
    }
    #news .display-posts-listing .listing-item .image {
        width: 40%;
        margin-right: 10px;
    }
    #news .display-posts-listing .listing-item a.image{
        height: 160px;
    }
    .ast-archive-entry-banner > .ast-container{
        padding-top: 60px;
    }
     h1, .entry-content :where(h1) {
        font-size: 36px;
    }
    .elementor-2170 .elementor-element.elementor-element-ee42a3a:not(.elementor-motion-effects-element-type-background){
        background-image: none !important;
    }
}
@media (max-width: 600px){
    .ast-container .woocommerce ul.products:not(.elementor-grid){
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    header .custom-logo-link img{
        width: 120px;
    }
    .products .astra-shop-thumbnail-wrap{
        height: auto;
    }
     .ast-row > article{
        flex: auto;
        max-width: 100%;
    }
}
@media (max-width: 540px){
    .site-primary-footer-wrap[data-section="section-primary-footer-builder"]{
        padding-bottom: 130px;
    }
}
@media (max-width: 500px){
ast-footer-html-2{
        bottom:120px;
    }
    .ast-header-html-2 .ast-builder-html-element p{
        font-size: 13px;
    }
    .ast-header-html-2 .ast-builder-html-element p img{
        /*width: 15px;*/
    }
    .ast-header-break-point .header-widget-area[data-section="sidebar-widgets-header-widget-1"]{
        padding: 0 0 0 5px;
    }
    .ast-header-break-point #masthead .ast-mobile-header-wrap .ast-above-header-bar {
        padding-left: 10px;
        padding-right: 10px;
    }
}







