
* {
    box-sizing: border-box;
    outline: 0;
}

:root {
    --fontSize32: 32px;
    --fontSize30: 30px;
    --fontSize28: 28px;
    --fontSize22: 22px;
    --fontSize20: 20px;
    --fontSize18: 18px;
    --fontSize16: 16px;
    --fontSize14: 14px;
}

input, textarea, select {
    border-radius: 0;
    vertical-align: middle;
}

input[type=text]::-ms-clear {  display: none; width : 0; height: 0; }
input[type=text]::-ms-reveal {  display: none; width : 0; height: 0; }
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration { display: none; }

input::-webkit-clear-button,
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

html, body {
    margin: 0;
    padding: 0;
    font-size: var(--fontSize18);
    line-height: 120%;
    width: 100%;
    box-sizing: border-box;
    font-family: 'Gilroy', Arial, sans-serif;
}

body {
    background-color: #fff; 
    color: #000;
}

html {
    margin: 0 !important;
}

a {
    color: #143257;
    text-decoration: none;
}

img {
    max-width: 100%; 
    object-fit: cover; 
    height: auto;
}

.wp-block-media-text__media img {
    border-radius: 8px;
}

.only_mobile {
    display: none !important;
}

body.admin-bar header {
    margin-top: var(--wp-admin--admin-bar--height);
}

.container {
	width: 100%;
	max-width: 1320px;
	margin-left: auto;
	margin-right: auto;
}

.scroll-up { 
    text-align: center;
    display: inline-block;
    padding: 7px 10px;
    font-size: 14px;
    line-height: 17px;
    background-color: rgba(0,0,0,.5);
    color: #fff;
    border-radius: 3px;
    bottom: 30px;
    transition: bottom 2s;
    position: fixed;
    right: 30px;
    bottom: -500px;
    cursor: pointer;
    z-index: 10;
}

.scroll-up.active {
    bottom: 30px;
}

.scroll-up::before {
    content: '';
    border: 8px solid transparent;
    border-bottom: 10px solid #b7b7b7;
    display: block;
    width: 0px;
    margin: 4px auto;
    margin-top: -6px;
}

header {
    background-color: rgba(20, 50, 87, 1);
    position: relative;
}

footer {
    background-color: rgba(6, 24, 46, 1);
    margin-top: 40px;
}

.wp-block-heading {
    line-height: 120%;
}

.footer,
.header {
    display: flex;
    justify-content: space-between;
    padding: 40px 0 50px 0;
}

.logo {
    display: flex;
    gap: 10px;
    align-items: center;
}
.logo img {
    display: block;
}
.logo .title {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: #fff;
}
.logo .title strong {
    font-family: 'Bona Nova SC';
    font-size: var(--fontSize28);
    line-height: 100%;
    max-width: 342px;
}
.logo .title span {
    font-size: var(--fontSize20);
    padding-left: 6px;
}


.header .menu {
    display: flex;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    backdrop-filter: blur(5px);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    list-style: none;
    padding: 0 12px;
    position: relative;
    z-index: 1;
    margin: 16px 0;
}

.header .menu li {
    position: relative;
}

.header .menu a {
    padding: 7px 7px;
    display: block;
    font-size: var(--fontSize16);
    font-family: 'Bona Nova SC';
    color: #fff;
}

.header .menu a:hover {
    text-decoration: underline;
}

.sub-menu {
    display: none;
    flex-direction: column;
    background-color: rgba(20, 50, 87, 1);
    position: absolute;
    top: calc(100% + 1px);
    gap: 5px;
    padding: 10px;
    border-radius: 10px;
    min-width: 240px;
    list-style: none;
}
.sub-menu a {
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    backdrop-filter: blur(5px);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

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


.header__links {
    display: flex;
    gap: 23px;
    margin: 16px 0;
    justify-content: flex-end;
}

.header__links-donate, 
.header__links-search, 
.header__links-trebi {
    background-color: rgba(164, 147, 111, 1);
    color: #fff;
    padding: 4px 15px;
    border: 0.2px solid rgba(255, 255, 255, 1);
    position: relative;
    border-radius: 8px;
    font-size: var(--fontSize14);
    background-image: url(../svg/ic-svecha.svg);
    background-size: 18px;
    background-repeat: no-repeat;
    padding-right: 32px;
    background-position-y: center;
    background-position-x: calc(100% - 7px);
    display: inline-block;
    transition: all 300ms;
}

.header__links-search {
    background-color: rgba(116, 180, 221, 1); 
    background-image: url(../svg/ic-search.svg); 
}

.header__links-donate:hover,
.header__links-trebi:hover {
    background-color: rgba(139, 120, 81, 1);
}
.header__links-search:hover {
    background-color: rgba(68, 129, 169, 1);
}

.header__links-trebi::before {
    content: '';
    display: block;
    width: 100%;
    height: 14px;
    background-image: url(../svg/button-uzor.svg);
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    top: calc(100% + 20px);
    left: 0;
}




.header-socials {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-left: auto;
    width: fit-content;
}

.link-icon::before {
    display: inline-block;
    width: 20px;
    height: 20px;
    content: '';
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    transition: all 400ms;
}
.link-icon-vk::before {
    background-image: url(../svg/s-vk.svg);
}
.link-icon-vk:hover::before {
    background-image: url(../svg/s-vk-blue.svg);
}



.home__slider {
    position: relative;
    width: 100%;
    height: 560px; /* Высота слайдера */
    overflow: hidden;
    margin: 0 auto;
}

.home__slider-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.home__slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.home__slider-item.active {
    opacity: 1;
}


.blocks__list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin: 40px 0;
}

.block {
    background: rgba(244, 249, 253, 1);
    padding: 20px;
    display: block;
    box-shadow: 0px 2px 4px 0px rgba(116, 180, 221, 1);
    border-radius: 10px;
    display: flex;
    gap: 30px;
    color: #000;
    position: relative;
    transition: all 400ms;
}

a.block:hover {
    background-color: #ecf6fd;
    box-shadow: 0px 2px 6px 0px rgba(6, 24, 46, 1);
}



.block__uzor,
.block__uzor_pc {
    padding-left: 40px;
    padding-right: 40px;
}

.block__uzor::after, 
.block__uzor::before,
.block__uzor_mobile::after, 
.block__uzor_mobile::before,
.block__uzor_pc::after, 
.block__uzor_pc::before {
    height: 150px;
    background-image: url(../svg/uzor-y.svg);
    content: '';
    display: block;
    position: absolute;
    width: 14px;
    background-repeat: no-repeat;
    background-position: center;
    top: calc(50% - 75px);
}


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

.block__uzor::before {
    top: 20px;
}

.block__uzor::after {
    top: unset;
    bottom: 20px;
}

.block__uzor::after,
.block__uzor_pc::after {
    right: 13px;
} 
.block__uzor::before,
.block__uzor_pc::before {
    left: 13px;
}

.h-button {
    display: none;
}
.block__image {
    width: 160px;
    height: 200px;
    position: relative;
}
.block__image img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.block__info {
    width: 100%;
}

.block__image ~ .block__info {
    width: calc(100% - 180px);
}

.block__info-title {
    font-family: 'Cormorant';
    font-size: var(--fontSize32);
    text-transform: uppercase;
    color: black;
    margin-top: 10px;
    display: block;
    line-height: 120%;
}

.block__info p {
    font-family: 'Gilroy';
    font-size: var(--fontSize18);
}

.kama_breadcrumbs {
    margin: 20px 0 40px 0;
    font-family: 'Gilroy';
    font-size: var(--fontSize14);
    line-height: 120%;
    color: rgba(87, 87, 87, 1);
}
.kama_breadcrumbs a {
    color: rgba(87, 87, 87, 1);
}
.kama_breadcrumbs a:hover {
    text-decoration: underline;
}


.flex__single {
    display: flex;
    gap: 20px;
}

.flex__single-content {
    width: 100%;
}

.flex__single.child__exists .flex__single-content {
    width: calc(100% - 220px);
}

.flex__single-content > .block {
    min-height: 100%;
}

.flex__single-side {
    width: 200px;
}

.side__childs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: sticky;
    top: 20px;
}

body.admin-bar .side__childs {
    top: calc(var(--wp-admin--admin-bar--height) + 20px);
}

.side__childs .posts__list-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.posts__list-item img {
    display: block;
    border-radius: 8px;
}

.image {
    position: relative;
    padding-top: 56%;
}

.posts__list-item .image {
    padding-top: 70%;
}
.image img {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wp-block-image img, 
.wp-block-gallery img {
    border-radius: 8px;
}

.button {
    display: block;
    background: rgba(20, 50, 87, 1);
    padding: 5px 10px;
    color: #fff;
    font-size: var(--fontSize16);
    font-family: 'Gilroy';
    border-radius: 8px;
    text-align: center;
    transition: all 300ms;
}

.button:hover {
    background-color: rgba(67, 129, 169, 1);
}

.posts__list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 34px;
}

.posts__list-item {
    border: 1px solid rgba(164, 147, 111, 1);
    padding: 13px;
    border-radius: 8px;
    background-color: #fff;
    width: calc(100% / 4 - 15px);
    transition: all 400ms;
}
.posts__list-item:hover {
    box-shadow: 0px 2px 4px 0px rgba(80, 66, 38, 1);
}
.posts__list-item .date {
    display: block;
    background: rgba(164, 147, 111, 1);
    padding: 5px 10px;
    color: #fff;
    font-size: var(--fontSize14);
    font-family: 'Gilroy';
    border-radius: 5px;
    transition: all 400ms;
}
.posts__list-item:hover .date {
    background-color: rgb(149 131 93);
}

.posts__list-item .title {
    font-size: var(--fontSize22);
    color: #000;
    font-family: 'Cormorant';
    display: block;
    margin-top: 15px;
    line-height: 120%;
    font-weight: 600;
}


.navigation .prev,
.navigation .next {
    display: none;
}

.nav-links {
    font-family: 'Cormorant';
    font-size: var(--fontSize32);
    line-height: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    color: #000;
    padding-bottom: 10px;
}

.nav-links a {
    color: #000;
}
.nav-links a:hover {
    opacity: .8;
    text-decoration: underline;
}
.nav-links span {
    color: #000000;
    display: inline-block;
    border-bottom: 1px solid #474747;
}




.news__childs {
    border: 1px solid rgba(215, 200, 169, 1);
    box-shadow: 0px 2px 4px 0px rgba(212, 190, 152, 1);
    padding: 10px;
    border-radius: 10px;
}
.news__childs h2 {
    background: rgba(164, 147, 111, 1);
    color: #fff;
    font-family: 'Gilroy';
    font-size: var(--fontSize14);
    padding: 5px 15px;
    margin: 0;
    margin-bottom: 10px;
    border-radius: 8px;
    text-align: center;
    font-weight: normal;
}

.news__childs-item {
    margin: 10px 0;
}

.news__childs-item a {
    font-family: 'Cormorant';
    font-size: var(--fontSize18);
    line-height: 100%;
    display: block;
    color: #000;
}
.news__childs-item a:hover {
    text-decoration: underline;
}


.form-search {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}
.form-search input[type="search"] {
    border: 1px solid #a4936f;
    font-size: var(--fontSize16);
    line-height: 140%;
    font-family: 'Gilroy';
    padding: 5px 10px;
    border-radius: 8px;
    flex: auto;
}
.form-search button[type="submit"] {
    background: #06182e;
    color: #fff;
    border: unset;
    border-radius: 8px;
    font-size: var(--fontSize16);
    line-height: 140%;
    font-family: 'Gilroy';
    padding: 5px 20px;
    cursor: pointer;
}
.form-search button[type="submit"]:hover {
    opacity: .8;
}


.block__page .date {
    font-size: var(--fontSize14);
    font-family: 'Gilroy';
    font-weight: 600;
    color: rgba(87, 87, 87, 1);
}


.footer .logo {
    align-items: flex-start;
    gap: 34px;
}

.footer .logo .title {
    margin-top: 13px;
}
.footer .logo .title span {
    font-size: var(--fontSize20);
    font-family: 'Cormorant';
    padding: 0;
}
.footer .logo .title strong {
    font-weight: normal;
    max-width: 300px;
    line-height: 140%;
    background-image: linear-gradient(180deg, #FFFFFF 0%, #CFC8BA 89.03%);
    background-clip: text;
    color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}



.footer .menu {
    display: flex;
    list-style: none;
    margin: 16px 0;
    gap: 10px;
}

.footer .menu li {
    position: relative;
}

.footer .menu a {
    padding: 7px 7px;
    display: block;
    font-size: var(--fontSize16);
    font-family: 'Gilroy';
    color: rgba(215, 200, 169, 1);
}

.footer .menu a:hover {
    text-decoration: underline;
}

.footer .header__links {
    margin: 30px 0;
}

.header__links-donate {
    padding: 4px 15px;
    background-image: unset;
}

.footer .header__links-donate, 
.footer .header__links-trebi {
    border: unset;
}

.footer .header__links-trebi::before {
    display: none;
}



.wrap__treby { 
    display: flex;
    gap: 0px;
    margin-bottom: 26px;
}

.wrap__treby .block {
    width: 650px;
}



.donate {
    display: block;
    margin: 15px auto;
    width: 560px;
    border: 1px solid #143257;
    padding: 20px;
    border-radius: 10px;
    max-width: 100%;
}

.donate input[type="text"], .donate input[type="number"], .donate input[type="email"] {
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
    margin: 6px 0;
    border: 1px solid rgba(164, 147, 111, 1);
    border-radius: 8px;
}

.donate__flex {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.donate-button-amount {
    width: calc(50% - 8px);
}

.donate-button-amount button {
    background: rgba(164, 147, 111, 1);
    color: #fff;
    font-size: 20px;
    line-height: 120%;
    font-family: 'Gilroy';
    padding: 7px 10px;
    border-radius: 8px;
    border: unset;
    display: block;
    width: 100%;
    cursor: pointer;
}

.donate-input-amount {
    width: 100%;
}

.donate-submit {
    margin-top: 10px;
}

.donate-submit button {
    color: white;
    padding: 10px 14px;
    display: block;
    width: 100%;
    cursor: pointer;
    border: 0;
    background-color: rgba(34, 102, 153, 1);
    border-radius: 8px;
    font-size: 18px;
}

.donate-submit button:hover, 
.donate-button-amount button:hover {
    opacity: .9;
}


.comment-alert {
  text-align: center;
    font-size: 14px;
    line-height: 16px;
    margin-top: 10px;
}
.comment-alert[data-status="error"] {
  color: red; 
}


.checkbox-agree {

}
.checkbox-agree input[type="checkbox"] {
    
}
.checkbox-agree label {
    font-size: 13px;
    font-family: 'Gilroy';
    line-height: 110%;
    display: block;
}
.checkbox-agree a {
    
}


.copyright {
    text-align: right;
    color: #cfcfcf;
    padding-bottom: 30px;
}

.copyright a {
    color: #a4936f;
    text-decoration: underline;
}

