

@media (max-width: 1023px) {

	.container.header,  
	.header-menu, 
	.header-socials, 
	.header-contacts {
		display: none;
	}

	.logo img {
	    width: 54px;
	    height: 57px;
	    top: -8px;
	}

	.logo span {
	    font-size: 14px;
	    line-height: 120%;
	    padding: 10px 0;
	    padding-left: 64px;
	}

	body.header-window-active .logo span {
		opacity: 0;
	}

	.wrap-header-menu {
	    height: 36px;
	    width: calc(100% - 30px);
	    margin: 20px auto 10px auto;
	}



	.h-menu-toggle {
	    display: inline-block;
	    position: absolute;
	    right: 10px;
	    height: 46px;
	    width: 46px;
	    border-radius: 50%;
	    border: 1px solid rgba(170, 156, 114, 1);
	    top: 15px;
	    background-color: rgba(246, 241, 223, 1);
	    z-index: 1;
	}
	.h-menu-toggle span {
	    width: 23px;
	    height: 1px;
	    background-color: #AA9C72;
	    position: absolute;
	    top: 14px;
	    left: 11px;
	}
	.h-menu-toggle span:nth-of-type(2) {
	    top: 21px;
	}
	.h-menu-toggle span:nth-of-type(3) {
	    top: 28px;
	}


	body.header-window-active .mobile-menu {
	    display: block;
	    position: absolute;
	    top: 0px;
	    left: 0px;
	    background-color: #fff;
	    width: 100%;
	    height: 100%;
	    z-index: 1;
	    padding: 20px 15px;
	    overflow-y: auto;
	}

	body.header-window-active .h-menu-toggle {
	    z-index: 2;
	    background: unset;
	    border: unset;
	    background-image: url(../svg/btn-close.svg);
	    background-position: center;
	    background-size: contain;
	    background-repeat: no-repeat;
	}
	body.header-window-active .h-menu-toggle span {
		display: none;
	}

	.mobile-menu .search-link {
	    margin: 30px 0 20px 0;
	}

	.mobile-menu .header-contacts {
	    display: flex;
	    flex-direction: column;
	    align-items: flex-start;
	    gap: 15px;
	    margin: 30px 0;
	}

	.mobile-menu .header-contacts a {
	    margin: 0;
	    padding: 8px 15px;
	}

	.mobile-menu .header-contacts .info-link-address::before {
	    height: 16px;
	}

	.mobile-menu .header-menu {
	    display: block;
	    padding: 0;
	    margin: 10px 0 50px 0;
	}

	.header-menu li {
		display: block;
	}

	.header-menu li a {
	    font-size: 14px;
	    line-height: 17px;
	    color: #AA9C72;
	    padding: 7px 0; 
	}

	.mobile-menu .header-socials {
	    display: flex;
	    gap: 10px;
	}

	.partners {
		flex-wrap: wrap;
	}

	.footer__menu, 
	.footer-contacts {
		width: 100%; 
	}

	.title__link {
		padding-left: 0;
	}

	.title__link a {
	    font-size: 14px;
	    line-height: 50px;
	    height: 50px;
	    padding-left: 15px;
	}

	.title__link a::after {
	    background-position-y: center;
	    background-position-x: 34px;
	    height: 50px;
	    width: 100px;
	}


	.partners a {
		height: 204px;
	}
	.partners a.partners__item-2 img {
		height: 100%; 
	}
	.partners a span {
	    margin-top: 80px;
	    margin-left: 30px;
	    font-size: 16px;
	    line-height: 20px;
	}

	.partners a.partners__item-1 img {
	    filter: grayscale(1);
	}


	.stati-links .sl-title {
		font-size: 16px;
		line-height: 20px;
	}

	.sl-description {
		font-size: 14px;
		line-height: 20px;
	}

	.sl-description,
	.sl-title {
		display: block;
		max-width: 270px; 
		margin: 0 auto;
	}

	.home-news-four .post .post--title, 
	.post--title {
		font-size: 16px; 
		line-height: 20px;
	}


	.post-mini .post--image img, 
	.post-medium .post--image img,
	.home-news-five .post img {
		width: 196px;
		height: 131px;
	}

	.post--description {
		font-size: 14px; 
		line-height: 20px;
	}


	.header-menu .sub-menu {
		display: block;
	}


	.terms__nav {
	    flex-wrap: wrap;
	    border: 1px solid #DAD9D9;
	    border-bottom: unset;
	    width: calc(100% - 30px);
	    margin: 15px auto;
	}
	.terms__nav span {
	    width: 100%;
	    font-weight: 300;
	    font-size: 14px;
	    line-height: 18px;
	    border: unset;
	    border-bottom: 1px solid #DAD9D9;
	}
	.term__list-item {
	    width: 100%;
	    border-right: unset;
	}
	.wrap-projects .title__link span {
	    padding-left: 15px;
	    font-weight: 300;
	    font-size: 14px;
	    line-height: 50px;
	    height: 50px;
	}


	.footer__flex {
		flex-direction: column;
	}



	.footer__menu {
		padding-left: unset;
	}

	footer {
	    padding: 40px 15px;
	}

	.copyright {
		line-height: 18px;
	}
}

@media (max-width: 767px) {
	.head__title-last {
		display: none;
	}


	.head__title-first {
	    text-align: center;
	    padding: 20px 0;
	    font-size: 14px;
	    line-height: 18px;
	    max-width: 270px;
	    margin: 0 auto;
	    border: unset;
	}



	.post .post--title,
	.post .post--description {
		padding: 0 15px;
	}

	.partners a, 
	.stati-links a, 
	.home-news-six .post, 
	.home-news-six .post:nth-of-type(3), 
	.home-news-six .post:nth-of-type(4), 
	.home-news-four .post, 
	.home-news-five .post, 
	.home-news-five .post:nth-of-type(-n+2) {
		width: 100%; 
	}


	.footer-logo {
	    flex-direction: column;
	    align-items: flex-start;
	    position: relative;
	}

	.footer-logo span {
		font-size: 14px;
		line-height: 18px;
	}

	.footer-logo span strong {
	    position: absolute;
	    top: 22px;
	    width: 200px;
	    left: 93px;
	}


	#searchform {
	    margin: 30px 0 20px 0;
	    padding: 0 15px;
	}

	#searchform input[type="search"] {
	    padding: 5px 15px;
	    height: 40px;
	}

	#searchform .search-reset, 
	#searchform button[type="submit"] {
	    top: 10px;
	}

	#searchform button[type="submit"] {
	    right: 20px;
	    font-size: 14px;
	}

	.search-empty {
	    margin: 15px 0;
	    padding: 0 15px;
	    font-size: 14px;
	    line-height: 18px;
	}

	body.admin-bar .h-menu-toggle {
	    top: 61px;
	}

	body.admin-bar.header-window-active .mobile-menu {
	    top: 46px;
	    height: calc(100% - 46px);
	}

	.big-posts .post--image, 
	.big-posts .post .post--image img {
	    width: 80px;
	    height: 54px;
	    margin-right: 15px;
	}

	.big-posts .post {
	    padding: 15px 0;
	    min-height: 120px;
	}

	.post-mini .post--title, .post-medium .post--title {
	    font-size: 14px;
	    line-height: 18px;
	    color: #393B3E;
	    font-weight: 400;
	}

	.big-posts .post {
		padding: 15px;
	}

	.big-posts .post--description {
		display: none;
	}

	.big-posts.search-posts {
	    margin-top: 20px;
	}

	.post--readmore {
	    font-weight: 300;
	    font-size: 12px;
	    line-height: 14px;
	    margin-top: 0;
	}

	.big-posts .post-has-thumbnail .post--readmore {
	    margin-left: 96px;
	    display: block;
	}

	.big-posts .post-has-thumbnail .post--title {
	    margin: 0 0 10px;
	    padding-left: 96px;
	}

	.ajax-load {
	    font-weight: 300;
	    font-size: 12px;
	    line-height: 14px;
	    padding: 15px;
	}

	.category__description {
	    font-weight: 300;
	    font-size: 14px;
	    line-height: 18px;
	    padding: 15px 15px;
	    margin: 0;
	}

	.category__nav {
		flex-wrap: wrap;
	}

	.category__nav a {
	    width: calc(100% / 2);
	    padding: 10px;
	    font-weight: 300;
	    font-size: 14px;
	    line-height: 18px;
	}

	.kama_breadcrumbs {
	    font-weight: 300;
	    font-size: 14px;
	    line-height: 18px;
	    margin: 30px 0 15px 0;
	    padding: 0 15px;
	}

	.big-posts .post--image {
	    margin-bottom: 5px;
	}

	.big-posts .post--description {
		display: none;
	}

	h2.h2-recomended {
	    margin-top: 20px;
	    padding-top: 15px;
	    font-size: 22px;
	    margin-bottom: 15px;
	    padding-left: 15px;
	}

	.posts-recomended {
	    flex-wrap: wrap;
	}

	.posts-recomended .post {
		width: calc(100% / 2);
	}
	.post-mini .post--image {
		width: 100%;
	}

	.posts-recomended .post img {
		width: 100%;
	}

	.single-heading .post__date {
	    font-size: 16px;
	    padding: 15px;
	}

	.content {
	    margin: 15px auto;
	}

	.single-heading {
		margin-bottom: 15px;
	}

	.single-heading .h1 {
	    font-size: 20px;
	    line-height: 25px;
	    margin: 15px 0;
	}

	.single-content > .content, 
	.single-heading .content {
		padding-left: 15px;
		padding-right: 15px;
	}

	.wrap-page .single-content > * {
		padding-left: 15px;
		padding-right: 15px;
	}
}

@media (min-width: 768px) and (max-width: 1023px) {

	.wrap-page .single-content > * {
		padding-left: 15px;
		padding-right: 15px;
	}
	.head__title-first {
	    padding-left: 5%;
	}
	.head__title-first, .head__title-last {
	    width: 50%;
	    font-weight: 300;
	    font-size: 14px;
	    line-height: 18px;
	    display: inline-flex;
	    align-items: center;
	}


	.mobile-menu .search-link {
	    margin: 0px 0 20px 0;
	}

	.mobile-menu .header-menu {
		text-align: center;
	}

	.mobile-menu .header-contacts {
	    flex-direction: row;
	    justify-content: center;
	}

	.mobile-menu .header-socials {
	    justify-content: center;
	}

	.home-news-four .post--image, 
	.home-news-five .post:nth-of-type(1n+3) .post--image {
		width: 150px;
		height: 100px;
	}


	.home-news-four .post {
	    width: calc(100% / 2);
	    justify-content: flex-start; 
	}

	.news__cat-25 .post {
	    justify-content: center; 
	    padding: 10px 0; 
	    min-height: 200px;
	}
	.news__cat-25 .post .post--description {
		display: none;
	}

	.home-news-six {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: repeat(2, 1fr);
		grid-column-gap: 0px;
		grid-row-gap: 0px;
	}
	.home-news-six .post .post--image {
		width: 150px;
		height: 100px;
	}
	.home-news-six .post:nth-of-type(1) .post--image {
	    width: 80%;
	    height: 220px;
	}
	.home-news-six .post:nth-of-type(1) .post--description {
		display: block;
	}
	.home-news-six .post:nth-of-type(3) .post--description {
		display: none;
	}

	.home-news-six .post:nth-of-type(1) { grid-area: 1 / 1 / 3 / 2; }
	.home-news-six .post:nth-of-type(2) { grid-area: 1 / 2 / 2 / 3; }
	.home-news-six .post:nth-of-type(3) { grid-area: 2 / 2 / 3 / 3; }

	.home-news-six .post:nth-of-type(4),
	.home-news-six .post:nth-of-type(5),
	.home-news-six .post:nth-of-type(6) {
		display: none;
	}

	.home-news-six .post {
	    width: unset;
	    min-height: unset;
	}

	.home-news-six .post:nth-of-type(1n+3) {
	    width: unset;
	}

	.partners a {
	    height: 240px;
	    width: calc(100% / 2);
	}

	.partners a:nth-of-type(1) { order: 1; }
	.partners a:nth-of-type(2) { order: 3; }
	.partners a:nth-of-type(3) { order: 4; }
	.partners a:nth-of-type(4) { order: 2; }


	.terms__nav {
	    flex-wrap: wrap;
	    width: calc(100% - 35px);
	}
	.terms__nav span {
	    width: calc(100% / 2);
	    border-right: 1px solid #DAD9D9;
	}

	.term__list-item {
	    width: calc(100% / 2);
	    border-right: 1px solid #DAD9D9;
	}
	.term__list-item:nth-of-type(even) {
		border-right: unset;
	}

	.kama_breadcrumbs {
	    padding: 0 15px;
	    margin: 30px 0 30px 0;
	}

	.footer__flex {
	    flex-direction: row;
	}

	.footer-logo span {
		font-size: 14px;
	}
}


@media (min-width: 1024px) and (max-width: 1200px) {

	.footer, 
	.container.header, 
	.wrap-header-menu {
		width: calc(100% - 30px);
	}

	.single-content, 
	.post--title {
		padding: 0 15px;
	}

	.post--description {
		padding-left: 15px;
	}

	
}

@media (min-width: 1024px) {


	.header-menu .sub-menu {
	    display: none;
	    position: absolute;
	    z-index: 1;
	    width: 170px;
	    padding: 0;
	    box-shadow: 0px 0px 3px gray;
	}
	.header-menu .sub-menu li {
	    width: 100%; 
	}
	.header-menu .sub-menu li a {
	    padding: 15px 10px; 
	    background-color: #fff;
	    transition: background 400ms;
	}
	.header-menu .sub-menu li a:hover {
	    background-color: #f3f3f3;
	}

	.header-menu li.menu-item-has-children:hover > .sub-menu {
	    display: block;
	}

	/*
	.header-menu > li.menu-item-has-children:nth-last-of-type(-n+2) > .sub-menu {
		right: 0;
	}
	*/

	
	.header-menu .sub-menu .sub-menu {
		left: 100%;
		top: 0;
	}
	.header-menu > li .sub-menu .sub-menu {
	    left: -100%;
	}

}


@media (min-width: 1200px) {

	.container.header {
		height: 90px;
	}

	.header-menu .sub-menu li a {
		color: #AA9C72;
	}

	.wrap-single .single-content .wp-block-image {
	    margin-left: -187px;
	    margin-right: -187px;
	    padding: 60px 187px;
	    margin-top: 50px;
	    margin-bottom: 50px;
	}

	.post.post-line {

	}

	.wrap-page .h1 {
		margin-bottom: 30px;
	}

	.home-news-five .post .post--title {
	    display: block;
	    max-height: 72px;
	    overflow: hidden;
	}

	.home-news-six .post .post--description,
	.home-news-four .post .post--description,
	.home-news-five .post .post--description {
	    padding: 0 20px;
		
	}

	.big-posts .post--title {
		padding: 0 0
	}

	.home-news-five .post .post--description {
	    display: block;
	    max-height: 54px;
	    overflow: hidden;
	}


	.home-news-five .post:nth-of-type(-n+2) .post--title {
	    display: block;
	    max-height: 52px;
	    overflow: hidden;
	    font-size: 22px;
	    line-height: 26px;
	}

	.home-news-five .post:nth-of-type(-n+2) .post--description {
	    display: block;
	    max-height: 70px;
	    overflow: hidden;
	}

	.home-news-five .post img {
		margin-bottom: 10px;
	}


}