*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html{
    font-size: calc(1vw / 19.20);
}
body{
    background-color: rgb(251, 238, 204);
}
.header{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 73rem;
    background-color: #000;
    z-index: 9999999999;
}
.header_container{
    max-width: 980rem;
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: flex-end;
}
.header__logo{
    width: 161rem;
    height: 52rem;
    margin-bottom: 15rem;
}
.header__logo img{
    width: 161rem;
}

.header_nav ul{
    display: flex;
}
.header_nav ul li{
    padding: 0 5rem 10rem 5rem;
    min-width: 83rem;
}
.header_nav ul li a{
    color: #fff;
    line-height: 35rem;
    font-family:wfont_fb9c2e_de302d75c5794720b1bbfa25204bf863,wf_de302d75c5794720b1bbfa252,orig_avenir_next_regular;
    font-size: 12rem;
    padding: 0 15rem 0 15rem;
}
.page_home,.site-page{
    position: relative;
    min-height: 100vh;
    min-height: 1000rem;
    width: 100%;
    top: 0;
    left: 0;
    padding-top: 73rem;
    z-index: 99999;
    overflow: hidden;
}
.page_home .social, .site-page .social{
    position: absolute;
    right: 472rem;
    top: 100rem;
    z-index: 9;
}
.page_home .social ul, .site-page .social ul{
    display: flex;
    gap: 10rem;
}   
.page_home .online_link{
    position: absolute;
    right: 493rem;
    top: 152rem;
    z-index: 9;
}
.page_home .online_link a{
    font-size: 25rem;
    color: #fff !important;
    font-family: eb garamond,serif;
}
.page_home .online_link span{
    font-family: wfont_fb9c2e_f148d5b9132946f5a55b0de566b485c7,wf_f148d5b9132946f5a55b0de56,orig_algerian;
    font-weight: 400;
}
.page_home h1{
    position: absolute;
    max-width: 650rem;
    top: 242rem;
    left: 532rem;
    z-index: 9;
}
.page_home h1 a{
    font-family:wfont_fb9c2e_de302d75c5794720b1bbfa25204bf863,wf_de302d75c5794720b1bbfa252,orig_avenir_next_regular;
    font-size: 40rem;
    font-weight: 400;
    color: #fff;
}
.page_home h5{
    position: absolute;
    top: 700rem;
    left: 494rem;
    z-index: 9;
}
.page_home h5 a{
    font-family:wfont_fb9c2e_de302d75c5794720b1bbfa25204bf863,wf_de302d75c5794720b1bbfa252,orig_avenir_next_regular;
    font-size: 24rem;
    font-weight: 400;
    color: #fff;
}
.page_home h4{
    position: absolute;
    top: 380rem;
    right: 497rem;
    z-index: 9;
}
.page_home h4 a{
        font: var(--font_4);
    font-size: 38rem;
    font-weight: 400;
    color: #fff;
    text-align: center;
}
.page_home h4 a span{
        font: var(--font_4);
    font-size: 38rem;
    font-weight: bold;
    color: #fff;
    text-align: center;
    justify-content: center;
    display: flex;
}
.over{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 8;
    background-color: rgba(0, 0, 0, 0.5);
}
.bg{
    position: sticky;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bg img{
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: 50% 50%;
    transform: translateY(-60rem) perspective(120rem) translateZ(15rem);
    transition: transform 0.1s ease-out; /* Плавная анимация */
}
.footer{
    background-color: rgb(18, 18, 18);
}

.site-page .content{
    max-width: 882rem;
    margin: 0 auto;
    padding-top: 73rem;
    font-family:wfont_fb9c2e_de302d75c5794720b1bbfa25204bf863,wf_de302d75c5794720b1bbfa252,orig_avenir_next_regular;
    font-size: 16rem;
}
.site-page .content ol{
    margin-left: 24rem;
    list-style: decimal;
}
.site-page .content p{
    min-height: 16rem;
}
.site-page .content a{
    color: #8b0000;
        text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.6), -1px -1px 1px rgba(0, 0, 0, 0.6);
}
.site-page .content{
    padding-bottom: 32rem;
}
.site-page .content ul{
    margin-left: 24rem;
    list-style: disc;
}
.site-page .content p{
    min-height: 16rem;
}

.site-page .content .center_block{
    max-width: 600rem;
    margin: 0 auto;
}

.contact_form input, textarea{
        -webkit-appearance: none;
    -moz-appearance: none;
    background-color: var(--corvid-background-color, rgba(var(--bg, 255, 255, 255), var(--alpha-bg, 1)));
    border-color: var(--corvid-border-color, rgba(var(--brd, 227, 227, 227), var(--alpha-brd, 1)));
    border-radius: var(--corvid-border-radius, var(--rd, 0));
    border-style: solid;
    border-width: var(--corvid-border-width, var(--brw, 1px));
    box-shadow: var(--shd, 0 0 0 transparent);
    box-sizing: border-box !important;
    direction: var(--inputDirection, "inherit");
    font: var(--fnt, var(--font_8));
    margin: 0;
    max-width: 100%;
    padding: 3rem;
    text-align: var(--inputAlign, "inherit");
    text-overflow: ellipsis;
    width: 100%;
    background-color: rgb(8, 4, 81);
    padding-left: 5rem;
    color: #fff;
    min-height: 32rem;
}
.contact_form textarea{
    resize: none;
    background-color: rgb(8, 4, 81);
}
.contact_form input[type=submit]{
    width: 103rem;
    margin-left: auto;
    text-align: center;
    padding: 0;
    height: 32rem;
    cursor: pointer;
}
.mleft{
    margin-left: 40rem;
}
.header_nav ul{
    list-style: none;
}
.header_nav ul .menu-item-has-children{
    display: flex;
    flex-direction: column;
    position: relative;
}
.header_nav ul .menu-item-has-children .sub-menu{
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 35rem;
    padding: 15rem 0 0 0;
    width: fit-content;
    background-color: rgba(0, 0, 0, 0.5);
    height: fit-content;
    left: 50%;
    transform: translate(-50%,0);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-50%,0);
    transition: all 0.3s ease;
}
.header_nav ul .menu-item-has-children .sub-menu li{
    height: fit-content;
    display: flex;
    justify-content: center;
    padding: 8rem 20rem;
}
.header_nav ul .menu-item-has-children .sub-menu li a{
    line-height: 12rem;
    padding: 0;
    display: flex;
    white-space: nowrap;
}
.header_nav ul .menu-item-has-children .sub-menu li:hover a{
    color: yellow;
}
.menu-item-has-children:hover .sub-menu {
    opacity: 1 !important;
    visibility: visible !important;
}

.wp-block-post-template{
    list-style: none !important;
}

#lg-backdrop-1{
	z-index: 99999;
}
#lg-outer-1{
	z-index: 999999;
}

.mobile_btn{
    display: none;
}
footer{
	padding: 50rem 0;
}
@media screen and (max-width: 768px){
    html{
        font-size: calc(1vw / 4.8);
    }
	body{
		width: 100%;
	}
    .header_nav{
        display: none !important;
    }
    .header{
        height: 91rem;
    }
    .header__logo{
        width: 161rem;
        height: 41rem;
        margin-bottom: 0;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%,-50%);
    }
    .mobile_btn{
        width: 50rem;
        height: 50rem;
        display: flex;
		flex-direction: column;
        align-items: center;
		gap:5rem; 
        justify-content: center;
        border: 1rem solid #fff;
        border-radius: 4rem;
        margin-left: auto;
        margin-bottom: 10rem;
        margin-right: 15rem;
    }
	.mobile_btn span{
		width: 20rem;
		height: 3rem;
		border-radius: 5rem;
		background: #fff;
	}





	.page_home,.site-page{
		position: relative;
		min-height: 100vh;
		min-height: 100vh;
		width: 100%;
		top: 0;
		left: 0;
		padding-top: 100rem;
		z-index: 99999;
		overflow: hidden;
	}
	.site-page{
		padding-left: 15rem;
		padding-right: 15rem;
	}
	.page_home{
		padding-top: 140rem;
		max-height: 100vh;
	}
	.page_home .social, .site-page .social{
		position: relative;
		right: auto;
		transform: translate(0, -50%);
		top: auto;
		z-index: 9;
		display: flex;
		justify-content: center;
	}
	.page_home .social ul, .site-page .social ul{
		display: flex;
		gap: 10rem;
	}   
	.page_home .online_link{
		position: relative;
		right: auto;
		top: auto;
		z-index: 9;
	}
	.page_home .online_link a{
		font-size: 32rem;
		margin-left: 15rem;
	}
	.page_home h1{
		position: relative;
		max-width: 100%;
		margin-left: 15rem;
		margin-top: 20rem;
		top: auto;
		left: auto;
		z-index: 9;
	}
	.page_home h1 a{
		font-size: 36rem;
	}
	.page_home h5{
		margin: 40rem 0 0 15rem;
		position: relative;
		top: auto;
		left: auto;
		z-index: 9;
	}
	.page_home h5 a{
		font-family:wfont_fb9c2e_de302d75c5794720b1bbfa25204bf863,wf_de302d75c5794720b1bbfa252,orig_avenir_next_regular;
		font-size: 24rem;
		font-weight: 400;
		color: #fff;
		text-align: center;
	}
	.page_home h4{
		position: relative;
		top: auto;
		right: auto;
		z-index: 9;
		margin-top: 40rem;
	}
	.page_home h4 a{
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
			font: var(--font_4);
		font-size: 38rem;
		font-weight: 400;
		color: #fff;
		text-align: center;
	}
	.page_home h4 a span{
			font: var(--font_4);
		font-size: 38rem;
		font-weight: bold;
		color: #fff;
		text-align: center;
		justify-content: center;
		display: flex;
	}
	.over{
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		z-index: 8;
		background-color: rgba(0, 0, 0, 0.5);
	}
	.bg{
		position: absolute;
		top: 0;
		width: 100%;
		height: 100%;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.bg img{
		width: auto;
		height: 100%;
		object-fit: cover; 
		object-position: 50% 50%;
		transform: none;
		transition: transform 0.1s ease-out; /* Плавная анимация */
	}
	.footer{
		background-color: rgb(251, 238, 204);
	}
}

.mobile_menu{
	min-width: 60%;
	width: fit-content;
	max-width: 70%;
	background-color: #000;
	height: 100%;
	position: absolute;
	left: -100%;
	transition: all 0.4s;
	top: 0;
	z-index: 99999999999;
	display: flex;
	align-items: center;
	padding: 0 20rem;
}

.mobile_menu .menu-header_menu-container{
	width: 100%;
}
.mobile_menu ul li a{
	color: #fff;
	font-size: 20rem;
}
.mobile_menu ul .menu-item-has-children{
	padding: 15rem 20rem 15rem 0;
	border-bottom: 2rem solid #fff;
}
.mobile_menu ul .menu-item-has-children>a{
	display: flex;
	align-items: center;

}
.mobile_menu ul .menu-item-has-children>a::before{
	content: '+';
	color: #fff;
	font-size: 24rem;
	margin-right: 20rem;
}
.mobile_menu ul .menu-item-has-children .sub-menu{
	height: 0;
	overflow: hidden;
	visibility: hidden;
}
.mobile_menu ul .menu-item-has-children .sub-menu li::before{
display: none;
}
.mobile_menu ul .menu-item-has-children .sub-menu {
	display: flex;
	flex-direction: column;
	gap: 20rem;
}
.mobile_menu ul .menu-item-has-children .sub-menu li a{
	font-size: 18rem;

}



.mobile_btn.open {
	gap: 0;
}
.mobile_btn.open span:nth-child(1) {
	position: absolute;
            transform: rotate(45deg);
        }
        .mobile_btn.open span:nth-child(2) {
            opacity: 0;
        }
		
        .mobile_btn.open span:nth-child(3) {
			position: absolute;
            transform: rotate(-45deg);
        }



.mobile_menu.open_menu {
            left: 0;
        }



		.open_sub{
			height: fit-content !important;
			padding: 20rem 0 !important;
			visibility: visible !important;
		}


.open_sub_menu>a::before{
	content: '-' !important;
}
##WRchTxt8{
	width: fit-content !important;
}