/*
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.13.1762770407
Updated: 2025-11-10 18:26:47

*/
/*表单*/
input:focus, input[type="text"]:focus{
    border-style: double;
}
.main-header-menu .menu-link{
        padding: 0 .8em;
    }
.case-archive-page footer {
    all: unset !important; /* 重置页脚样式 */
    inherit: all !important; /* 继承全局页脚样式 */
}
/* 若用Astra主题，恢复页脚容器样式 */
.case-archive-page .ast-footer-wrap {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 0;
}

.elementor-1118 .elementor-element.elementor-element-4a49113{
	padding:0
}
.wp-show-posts-entry-title{
    font-size: 2rem;
}
a:focus {
    outline: none;
}
.widget-title{
    font-size: 36px;
    background-color:var(--ast-global-color-0);
    color: #fff;
    
    padding-right: 2.8rem;
    padding-left: 2.8rem;
}
.widget{
    width: 100%;;
}

#block-37 ul{
    display: flex;
}








/*面包屑*/
.ast-breadcrumbs ul li a{
    color: #777;
}

/*分页*/
.ast-pagination .prev.page-numbers, .ast-pagination .page-numbers {
    border: 1px solid var(--ast-global-color-0);
}
.ast-pagination .prev.page-numbers, .ast-pagination .page-numbers:hover {
    background: var(--ast-global-color-0);
    color: #fff;
}
.ast-pagination .prev.page-numbers, .ast-pagination .next.page-numbers {
    border: 0;
}
.ast-pagination .prev.page-numbers, .ast-pagination .next.page-numbers:hover{
    background: transparent;
    color: var(--ast-global-color-1);
}

.woocommerce-js .woocommerce-breadcrumb a:hover , .ast-breadcrumbs ul li:hover a{
    color: var(--ast-global-color-0);
}
.ast-logo-title-inline .site-logo-img{
    padding-right: 0;
}
.site-header-primary-section-left-center,.site-header-primary-section-right-center{
    display: none;
}
.main-header-menu > .menu-item > .menu-link{
/* 	color:red; */
}
.wp-show-posts-image.wpsp-image-center{
	height: 250px;
	overflow:hidden;
	
}
.wp-show-posts a{
	display:block;
	height:100%;
	
}
.wp-show-posts-columns .wp-show-posts-single:not(.wp-show-posts-masonry-block) .wp-show-posts-image img{
	width:100%;
	height:100%;
	object-fit:cover;
	transition: all .8s;
}
.wp-show-posts-inner{
    margin: 0 0 20px 20px;
}
.wp-show-posts-inner:hover .wp-show-posts-image a img{
transform: scale(1.2)
}


.wp-show-posts-entry-header {
    max-width: 500px; 
    letter-spacing: -0.02em; 
}

.wp-show-posts-entry-header .wp-show-posts-entry-title {
    line-height: 1;
}
.wp-show-posts-entry-header .wp-show-posts-entry-title a {
    font-size: 1.1rem;
	 	line-height: 1.1; 
	 	color: #333;
/* 		min-height:50px; */
    white-space: normal;
    word-wrap: break-word;
    display: inline-block;
    width: 100%; 
    -webkit-hyphens: auto;
    hyphens: auto;
    hyphenate-resource: url('https://cdn.jsdelivr.net/npm/hyphenation-ru@0.2.0/ru.tex');
    word-spacing: 0.05em; 
}

.wp-show-posts-inner:hover .wp-show-posts-entry-header .wp-show-posts-entry-title a{
     color: var(--ast-global-color-0);
}

	.wp-show-posts-entry-summary p{
	 min-height: 48px;
	text-align: left;
    font-size: 1rem;
    line-height: 1.5;
  /* 限制显示行数为2行 */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp:2;
  /* 超出部分隐藏并显示省略号 */
  overflow: hidden;
  text-overflow: ellipsis;
		line-height:1.6
}
.wpsp-read-more{
	background:var(--ast-global-color-0);
}
.wpsp-read-more a{
	color: #fff !important;
	border:2px solid var(--ast-global-color-0) !important;
}
.wpsp-read-more a:hover,.wpsp-read-more a:focus{
	background: var(--ast-global-color-1);
	color: #fff;
 border: 2px solid var(--ast-global-color-1) !important;
}
 
 
 
 
 
 
 
 
 
 
 
 /*菜单*/
 .main-header-menu .sub-menu .menu-link{
     padding: .5em 1em;
 }
.ast-builder-grid-row.ast-grid-center-col-layout{
    display: flex;
    
    justify-content: space-between;
    align-items: center;
}
.ast-builder-menu-1 .menu-item > .menu-link{
    font-size: 1.2rem;
}
/* 归档页面设置 */
.ast-container .widget{
		background-color: #FBFBFB;
}
.widget-title{
	line-height:2
}
.widget ul {
/* 	padding-bottom:20px; */
}
.widget ul li{
	padding-left:15px;
	font-size:1rem
}
.ast-separate-container .ast-woocommerce-container {
        padding: 3em 3em;
}
.woocommerce-result-count,.woocommerce-ordering{
        display: none;
    }
    
.ast-on-card-button{
        display: none;
    }

/* 新闻侧边栏防闪烁：单独存放于style.css，不嵌入函数 */
/* 初始隐藏#secondary，避免默认内容闪现，等JS替换后再显示 */
/* #secondary {
    visibility: hidden;
    height: 0;
    overflow: hidden;
    transition: visibility 0s, height 0s;
} */
/* JS替换完成后，通过添加类显示侧边栏 */
#secondary.news-sidebar-loaded {
    visibility: visible;
/* 	  transition: visibility 0s; */
   height: auto;
    overflow: visible;
}
.sidebar-main nav ul li.side-active a{
    font-weight: bold;
   color: var(--ast-global-color-0);
}
#menu-news #menu-item-6881{
    display: none;
}

/* 产品页 */
.woocommerce-ordering select.orderby:focus{
	border-style:none
}
.woocommerce-js .woocommerce-ordering select{
	padding-right:20px;
}
.woocommerce .woocommerce-ordering{
	border:1px solid #ddd;
}
 .woocommerce .ast-woocommerce-container .woocommerce-pagination ul.page-numbers li a:focus {
     border-style: normal; 
    border-color: inherit; 
    border-width: 0;
 }
 .products li{
     transition: all .6s;
 }
 .products li:hover {
     transform: translateY(-5px);
     box-shadow:1px 1px 7px 4px #ddd8d8;
 }


.entry-content[data-ast-blocks-layout] > figure.wp-block-image {
    text-align: center;
}
.ast-post-format- .entry-header .post-thumb-img-content{
    display: none;
}
.ast-post-format- .entry-content p > img,.ast-post-format- .entry-content span > img{
    display: block;
    margin: 0 auto;
    margin-bottom: 10px;;
}

.astra-shop-thumbnail-wrap a{
    min-height: 240px;
    display: none;
}
.astra-shop-thumbnail-wrap a img{
    height: 100% !important;
    
}
.sidebar-main nav{
    padding-bottom: 20px;
}
.sidebar-main nav li a{
    color: var(--ast-global-color-3);
}
.sidebar-main li a:hover{
    color: var(--ast-global-color-0);
}


/*解决方案页面*/
.solution-archive-page .ast-archive-entry-banner[data-post-type="product"][data-banner-background-type="custom"]{
    background-image:url(http://kosunhb.ru/wp-content/uploads/2025/12/solution-banner.png);
    background-repeat: no-repeat;
    background-size: cover;
}
.product_cat-solution .woocommerce-tabs .tabs{
    border-top: 1px solid var(--ast-border-color);
}
.product_cat-solution .woocommerce-tabs .tabs li{
    display: none !important;
}
#menu-solution li:first-child{
    display: none;
}


/*wp-show-posts*/
.wp-show-posts-entry-title{
  text-align: left;  
}

/*案例布局*/
/* 案例分类：一行3列布局（不影响其他样式） */
.footer-widget-area[data-section="sidebar-widgets-footer-widget-1"] , .footer-widget-area[data-section="sidebar-widgets-footer-widget-2"] ,.footer-widget-area[data-section="sidebar-widgets-footer-widget-3"],.footer-widget-area[data-section="sidebar-widgets-footer-widget-4"],.header-widget-area[data-section="sidebar-widgets-header-widget-1"]{
    display: block !important;
}
.case-archive-page .ast-archive-entry-banner[data-post-type="post"][data-banner-background-type="custom"]{
    background-image:url("http://kosunhb.ru/wp-content/uploads/2025/12/Наши проекты-banner.png");
    background-repeat: no-repeat;
    background-size: cover;
}
.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); 
    gap: 20px; 
    margin: 15px 0; 
}


.case-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden; 
    padding: 0;
}
.case-card > a{
    height: 260px;
    display: block;
    overflow: hidden;
   
}

.case-card a img{
    height: 100%;
     transition: all .6s;
}
.case-card:hover a img{
    transform: scale(1.1);
    transition: all .6s;
}
.case-card:hover .case-card-content h2 a{
    color: var(--ast-global-color-0);
}
.case-card-title a{
    color:var(--ast-global-color-3) ;
}
.case-thumb-link {
    display: block;
    width: 100%;
}
.case-thumb {
    width: 100%;
    height: 180px; 
    object-fit: cover; 
}

.case-card-title{
    font-size:1.2rem ;
    text-align: center;
    margin-bottom: 0;;
}
.case-card-title h2{
    margin-bottom: 0 !important;
}
.case-card-content {
    padding: 18px; 
    flex: 1; 
}


.published{
    color:#ccc;
}
.post-content .entry-header{
    margin-bottom: 0;
}
.post-content .read-more{
    margin-top: 1em;
    margin-block: .5em;
}


/*视频页面*/

/*footer*/
.ast-builder-footer-grid-columns a{
    color: #fff;
}
.ast-builder-footer-grid-columns a:hover{
    color: var(--ast-global-color-0);
}


/*内容*/
.post-content p{
     /* 限制显示行数为2行 */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp:2;
  /* 超出部分隐藏并显示省略号 */
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 1250px) {
    .site-header-primary-section-right{
        width: 120px;;
    }
     .ast-builder-menu-1 .menu-item > .menu-link{
        font-size: .9rem;
    }
     .main-header-menu .menu-link{
        padding: 0 .4em;
    }
    .astra-shop-thumbnail-wrap a{
        min-height: auto;
    }
}
@media (max-width: 999px) {
     .main-header-menu .menu-link{
        padding: 0 .4em;
    }
    .ast-builder-menu-1 .menu-item > .menu-link{
        font-size: .8rem;
    }
}
@media (max-width: 921px) {
        .site-header-primary-section-right{
        width: auto;
    }
}
@media (max-width: 768px) {
    .case-grid {
        grid-template-columns: 1fr; /* 手机端1列显示 */
        gap: 15px;
    }
}
