/*
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: Astra is fast, fully customizable &amp; beautiful WordPress theme suitable for blog, personal portfolio, business website and WooCommerce storefront. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with Schema.org code integrated and is Native AMP ready so search engines will love your site. It offers special features and templates so it works perfectly with all page builders like Elementor, Beaver Builder, Visual Composer, SiteOrigin, Divi, etc. Some of the other features: # WooCommerce Ready # Responsive # RTL &amp; Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained &amp; Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and WooCommerce ready theme that you can use for building any kind of website!
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.8.2.1727877241
Updated: 2024-10-02 16:54:01

*/

html {
	font-size: calc(100vw / 1440 * 10)!important;
}

html,
body {
	scroll-behavior: smooth;
	scroll-padding-top: 12rem !important;
}

* > p:last-child {
	margin-bottom: 0!important;
}

.product-item__link a {
	width: 100%;
}

.custom-post-expert .elementor-widget-container {
	display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3; /* Ограничиваем текст до 3 строк */
}

.breadcrumbs {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.breadcrumbs a,
.breadcrumbs span {
	font-family: "Roboto", Sans-serif;
	font-size: 1.2rem;
	line-height: 2rem;
	color: #54595F !important;
}

.breadcrumbs .current-item {
	color: #23A455 !important;
}

.archive-category ul {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.archive-category a {
    border: 0.1rem solid #23A455;
    border-radius: 2rem;
    text-align: center;
    margin: 0 !important;
}

.form-submit {
	font-family: "Roboto", Sans-serif;
    font-size: 1.4rem;
	border: 0.1rem solid #23A455;
    border-radius: 2rem;
    text-align: center;
    margin: 0 !important;
	padding-left: 4rem;
	padding-right: 4rem;
	color: #23A455;
}

.archive-category a:hover {
    color: #fff;
    background: #23A455;
}

.archive-category .current-menu-item {
    text-align: center;
    border-radius: 2rem;
    background: #23A455;
}

.catalog-grid-item .elementor-post__read-more {
    padding: 2rem 4rem;
    border: 0.1rem solid #23A455;
    border-radius: 2rem;
}

.catalog-grid-item .elementor-post__read-more:hover {
    color: #fff !important;
    background: #23A455;
}

.catalog-grid-item .elementor-post__thumbnail {
	padding: 0!important;
}

.catalog-grid-item .elementor-post__thumbnail img {
	position: static!important;
    height: 25rem !important;
	transform: initial !important;
	width: 100%!important;
    object-fit: cover !important;
    object-position: center !important;
}

.wpforms-field-container input {
	font-family: "Roboto", Sans-serif;
	font-size: 1.2rem;
	line-height: 2rem;
	color: #000 !important;
}

.wpforms-field-container input::placeholder {
	color: #54595F !important;
}

@media (max-width: 1023px) {
	html {
		font-size: calc(100vw / 768 * 10)!important;
	}
	
	html,
	body {
		scroll-padding-top: 8rem !important;
	}
	
	.menu-header {
		position: absolute !important;
		background: #fff;
		width: 100%;
		top: 6rem;
		left: 0;
		padding: 3rem 5rem;
		transition: all .5s ease;
		opacity: 0;
		visibility: hidden;
	}
	
	.menu-header--active {
		opacity: 1;
		visibility: visible;
	}
	
	.menu-header ul.elementor-nav-menu {
		display: flex !important;
		flex-direction: column !important;
		gap: 2rem !important;
	}
	
	.menu-header ul.sub-menu {
		padding-top: 2rem!important;
	}
	
	.menu-header ul.sub-menu li + li {
		margin-top: 2rem!important;
	}
	
	.menu-header ul .elementor-item.menu-link,
	.menu-header ul .elementor-sub-item.menu-link{
		padding: 0 !important;
		margin: 0;
		margin-inline-end: 0 !important;
		margin-inline-start: 0 !important;
	}
	
	.menu-wrapper {
		position: static !important;
	}
	
	a.elementor-item-active,
	a.elementor-item:hover,
	a.elementor-item:active,
	.elementor-nav-menu--dropdown a.highlighted {
		color: #000 !important;
		background: transparent !important;
	}
	
	.archive-category a:hover,
	.archive-category a:active,
	.archive-category .current-menu-item,
	.archive-category a.elementor-item-active{
    	color: #fff !important;
    	background: #23A455 !important;
	}
	
	.burger {
		width: 2.4rem;
		height: 2.4rem;
		position: relative;
	}
	
	.burger__line {
		position: absolute;
		left: 0;
		width: 100%;
		height: 0.2rem;
		border-radius: 0.2rem;
		background: #000;
		transition: all .5s ease;
	}
	
	.burger__line-1 {
		top: 0.4rem;
	}
	
	.burger__line-2 {
		top: 50%;
		transform: translateY(-50%);
	}
	
	.burger__line-3,
	.burger__line-4 {
		opacity: 0;
		top: 50%;
	}
	
	.burger__line-5 {
		bottom: 0.4rem;
	}
	
	.burger--active .burger__line-1,
	.burger--active .burger__line-2,
	.burger--active .burger__line-5 {
		opacity: 0;
	}
	
	.burger--active .burger__line-3 {
		opacity: 1;
		transform: translateY(-50%) rotate(45deg);
	}
	
	.burger--active .burger__line-4 {
		opacity: 1;
		transform: translateY(-50%) rotate(-45deg);
	}
}

@media (max-width: 767px) {
	html {
		font-size: calc(100vw / 360 * 10)!important;
	}
	
	.menu-header {
		left: 0;
		padding-left: 2rem;
		padding-right: 2rem;
		padding-bottom: 2rem;
	}
	
	.archive-category ul {
    	gap: 1rem;
	}
	
	.catalog-grid-item .elementor-post__thumbnail img {
		height: 20rem !important;
	}
	
	.catalog-grid-item .elementor-post__text {
		border: 0.1rem solid #000;
		border-top: 0;
    	border-bottom-right-radius: 2rem;
    	border-bottom-left-radius: 2rem;
    	padding-bottom: 4rem;
		padding-top: 2rem;
		margin: 0!important;
	}
}