
@media (max-width: 1023px) {
	.only_mobile {
		display: block !important;
	}

	.only_pc {
		display: none !important;
	}

	.logo {
	    width: calc(100% - 60px);
	}
	.h-button {
	    display: block;
	    width: 60px;
	    height: 60px;
	    border-width: 0px;
	    border-style: solid;
	    border-radius: 10px;
	    background-color: unset;
	    position: absolute;
	    top: 25px;
	    z-index: 1;
	    right: 20px;
	}

	.h-button-menu span {
	    width: 34px;
	    height: 1px;
	    background: #ffffff;
	    display: block;
	    position: absolute;
	    left: calc(50% - 17px);
	    top: 16px;
	    transition: all 200ms;
	}

	.h-button-menu span:nth-of-type(1) {
	    top: 10px;
	}

	.h-button-menu span:nth-of-type(2) {
	    top: 20px;
	}
	.h-button-menu span:nth-of-type(3) {
	    top: 30px;
	}


	body.menu-active .h-button-menu span {
	    top: 20px;
	}

	body.menu-active .h-button-menu span:nth-of-type(2),
	body.menu-active .h-button-menu span:nth-of-type(1) {
	    transform: rotate(45deg);
	} 

	body.menu-active .h-button-menu span:nth-of-type(3) { 
		transform: rotate(-45deg);
	}

	.header__right {
	    display: flex;
	    flex-direction: column;
	}

	.header__menu {
	    order: 3;
	    display: none;
	    z-index: 1;
	    top: 100%;
	    left: 0;
	    background: #143257;
	    position: absolute;
	    width: 100%;
	    padding: 15px 15px 0 15px;
	}

	body.menu-active .header__menu {
	    display: block;
	}

	.header .menu {
		flex-direction: column;
	}
	.header .menu .sub-menu {
	    display: flex;
	    position: unset;
	    background: unset;
	    padding: 0;
	    padding-left: 35px;
	    list-style: disc;
	    color: #fff;
	}
	.header .sub-menu a {
	    background: unset;
	    border: unset;
	    backdrop-filter: unset;
	    padding: 5px 0;
	}

	.header .header__links {
		position: relative;
	}

	.header .header__links::before {
	    content: '';
	    display: block;
	    width: 100%;
	    height: 14px;
	    background-image: url(../svg/button-uzor.svg);
	    background-repeat: no-repeat;
	    background-size: contain;
	    background-position-x: center;
	    position: absolute;
	    top: calc(100% + 10px);
	    left: 0;
	    z-index: 1;
	}
	.container {
		max-width: calc(100% - 30px);
	}

	.block, 
	.footer, 
	.header {
		flex-direction: column;
	}

	.block__uzor_mobile::after, 
	.block__uzor_mobile::before {
	    display: block;
	}


	.block__image.block__uzor_mobile::before {
		left: -23px;
	}
	.block__image.block__uzor_mobile::after {
		right: -23px;
	}


	.block__uzor_pc::after, 
	.block__uzor_pc::before, 
	.header-socials, 
	.header__links-trebi::before, 
	.footer .header__right {
		display: none;
	}
	.header {
	    padding: 10px 0 15px 0;
	    margin: 0;
	    max-width: 100%;
	}
	.header__right,
	.header__left {
	    padding: 0 15px;
	}

	.header .header__left {
		border-bottom: 1px solid #fff;
		padding-bottom: 12px;
	}

	.header__links {
	    justify-content: center;
	}

	.logo .title strong {
	    font-size: 18px;
	}
	.logo .title span {
		font-size: 13px;
	}
	.header .logo img {
		max-width: 71px;
	}

	.home__slider {
	    height: 380px;
	}

	.block {
		align-items: center;
	}

	.posts__list-item {
		width: calc(100% / 2 - 10px);
	}
	.block__image ~ .block__info {
	    width: 100%;
	} 

	.block__info-title {
		text-align: center;
	}

	.blocks__list {
		margin: 20px 0;
	}

	.posts__list {
	    padding: 0;
	    margin-top: 20px;
	}

	.block__uzor {
	    padding-left: 30px;
	    padding-right: 30px;
	}

	.footer .logo {
		gap: 10px;
	    flex-direction: column;
	    align-items: center;
	    text-align: center;
	    margin: 0 auto;
	}
	.footer .logo .title strong {
	    font-size: 24px;
	    max-width: 100%;
	}
	.blocks__list {
	    flex-direction: row;
	    gap: 20px;
	    margin: 20px 0;
	}
	.blocks__list .block {
		width: calc(50% - 10px);
	}
}


@media (max-width: 767px) {

	.wrap__treby {
	    flex-direction: column;
	    margin-bottom: 0;
	}

	.wrap__treby .block {
	    width: 100%;
	    margin-bottom: 20px;
	}

	.h-button { 
	    width: 40px;
	    height: 40px;
	}

	.flex__single, 
	.blocks__list {
	    flex-direction: column;
	}
	.posts__list-item,
	.flex__single-side, 
	.flex__single.child__exists .flex__single-content, 
	.blocks__list .block {
		width: 100%;
	}
	
	.posts__list-item img {
	    display: block;
	    border-radius: 8px;
	    width: 100%;
	}

	.kama_breadcrumbs {
		margin: 20px 0;
	}

	.home__slider {
	    height: 230px;
	}

	.side__childs {
		position: unset;
	}

	.block__uzor::before {
	    left: 7px;
	}
	.block__uzor::after {
	    right: 7px;
	}

}