:root {
    --mobile-breakpoint: 768px;
}

body.lock-body-scroll {
    position: fixed;
    width: 100%;
}


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

strong {
    font-weight: 700;
}

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

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;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: 'Farabee', sans-serif;
    font-size: 18px;
    line-height: 21px;
    font-weight: 400;
    letter-spacing: 5%;
    color: #7A675E;
}

body {
    background-color: #FFFFFF;
}

html {
    margin: 0 !important;
}

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

body.header-window-active {
    overflow: hidden;
}

header {
    background-color: #FFD16C;
    background-position: top;
    position: relative;
    margin-top: var(--wp-admin--admin-bar--height);
    background-image: url(../svg/bg__volny.svg);
    background-repeat: no-repeat;
    background-position-y: -180px;
}

.header-image {
    display: none;
}

body.home .header-image {
    display: block;
}


.header-video {
    position: relative;
    height: 580px;
    width: 100%;
    background-color: #F9F4E8;
    overflow: hidden;
}

.header-video video {
    opacity: 1;
    width: 100%;
    height: calc(100% + 1px);
    object-fit: cover;
}


table {
    width: 100%;
    border: 2px solid #7A675E;
    border-collapse: collapse;
    color: #7A675E;
    border-radius: 10px;
    overflow: hidden;
    background-color: #7A675E;
}

table th {
    font-weight: 700;
    padding: 5px;
    background: #FFD16C;
    border: 2px solid #7A675E;
}

table td {
    background-color: #F9F4E8;
    border: 2px solid #7A675E;
    padding: 5px;
}

/* Убираем лишние внутренние скругления в крайних ячейках */
table tr:first-child th:first-child {
    border-top-left-radius: 10px;
}

table tr:first-child th:last-child {
    border-top-right-radius: 10px;
}

table tr:last-child td:first-child {
    border-bottom-left-radius: 10px;
}

table tr:last-child td:last-child {
    border-bottom-right-radius: 10px;
}


iframe {
    border: 0;
    outline: 0;
    max-width: 100%;
    border-radius: 28px;
    height: 515px;
}

p:empty {
    display: none;
}

.svg {
    width: 24px;
    height: 24px;
    overflow: hidden;
    display: inline-block;
    vertical-align: middle;
}

.svg svg {
    width: 100%;
    height: 100%;
    display: block;
}

header .svg * {
    /* fill: #144570; */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

a {
    text-decoration: none;
    color: #7A675E;
    cursor: pointer;
}

p a {
    text-decoration: underline;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 120%;
    margin: 10px 0;
}

h1 {
    font-size: 30px;
    font-weight: 600;
    letter-spacing: .3px;
    text-align: center;
}

h2 {
    font-size: 24px;
}

h3 {
    font-size: 18px;
}

h4 {
    font-size: 15px;
    font-weight: 400;
}


.h1 {
    font-weight: 600;
    font-size: 30px;
    line-height: 36px;
    text-align: left;
    margin-top: 0;
    text-transform: uppercase;
}

.header {}


#searchform input[type="text"] {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid #FFFFFF;
    box-sizing: border-box;
    border-radius: 14px;
    width: 120px;
    height: 50px;
    padding: 0 10px;
}

.header-logo {
    padding: 20px 0;
    text-align: center;
    display: block;
}

.header-logo .logo {
    display: inline-block;
    color: #fff;
}

.header-logo .logo img {
    display: block;
	max-width: 85%;
}

.logo-subtext,
.logo-text {
    font-family: 'Farabee';
    font-weight: 600;
    font-size: 21px;
    line-height: 22px;
    text-align: center;
    color: #7A675E;
}

.logo-subtext {
    font-weight: 600;
    font-size: 13px;
    line-height: 17px;
    margin: 10px 0;
}

.header-nav {
    display: block;
}

.footer-menu ul.menu,
.header-nav ul.menu {
    display: flex;
    justify-content: space-between;
    padding: 0;
    margin: 0;
}

.footer-menu ul.menu li,
.header-nav ul.menu li {
    display: inline-block;
}

.footer-menu ul.menu li a,
.header-nav ul.menu li a {
    display: block;
    padding: 27px 0;
    color: #F9F4E8;
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 26px;
}

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

.footer-menu ul.sub-menu {
    display: none;
}

.header-nav ul.menu li a:hover {}

.h4-copyright {
    font-weight: normal;
}


.socials-links {
    display: flex;
}

.socials-links a {
    margin-right: 20px;
    background-color: #7A675E;
    color: #FFD16C;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.socials-links a:hover {
    opacity: .8;
}

.socials-links a[data-social="in"] {}

.socials-links a[data-social="vk"] {}

.socials-links a[data-social="tg"] {}

.socials-links .svg {
    width: 24px;
    height: 24px;
    display: block;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.socials-links .svg[data-svg="mx"] {
    background-image: url(../svg/s-mx.svg);
}

.socials-links .svg[data-svg="rt"] {
    background-image: url(../svg/s-rt.svg);
}

.socials-links .svg[data-svg="in"] {
    background-image: url(../svg/s-in.svg);
}

.socials-links .svg[data-svg="tg"] {
    background-image: url(../svg/s-tg.svg);
}

.socials-links .svg[data-svg="tw"] {
    background-image: url(../svg/s-tw.svg);
}

.socials-links .svg[data-svg="fb"] {
    background-image: url(../svg/s-fb.svg);
}

.socials-links .svg[data-svg="vk"] {
    background-image: url(../svg/s-vk.svg);
}

.socials-links .svg[data-svg="yt"] {
    background-image: url(../svg/s-yt.svg);
}


.wp-caption {
    border: 1px solid #ddd;
    text-align: center;
    background-color: #f3f3f3;
    margin-top: 15px;
    margin-bottom: 15px;
    max-width: 100%;
}

.wp-caption img {
    display: block;
    max-width: 100% !important;
    height: auto !important;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

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

.aligncenter {
    display: block;
    margin-right: auto;
    margin-left: auto;
}

.alignleft {
    float: left;
    margin-right: 10px;
    margin-bottom: 10px;
}

.breadcrumbs {
    padding: 0;
    margin: 30px 0;
    font-size: 16px;
}

.breadcrumbs a {
    color: #FFB510;
    font-weight: 600;
    font-size: 16px;
}

.delim,
.bread-text {
    color: #afafaf;
}


.margin-60-0 {
    margin: 60px 0;
}

.margin-40-0 {
    margin: 40px 0;
}

.margin-20-0 {
    margin: 20px 0;
}


.block__donate-beige {
    background-color: #F9F4E8;
    border-radius: 28px;
    padding: 50px 0;
}
.block__donate-item p {
    color: #7A675E;
    font-size: 20px;
    line-height: 22px;
    margin: 15px 0;
}

.image-qr {
    display: block;
    margin: 0 auto;
}


.pagination {
    margin: 20px 0;
}

ul.page-numbers {
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

ul.page-numbers li {
    margin-right: 15px;
    display: inline-block;
    font-style: normal;
    font-weight: 700;
    font-size: 22px;
    line-height: 30px;
}

ul.page-numbers li a {
    color: #8C816E;
}


.flexbox {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    margin: 40px 0;
}

body.single .flexbox {
    margin-top: 0;
}

.scroll-up {
    text-align: center;
    display: inline-block;
    background-color: #6CB1FF;
    border-radius: 50%;
    bottom: 30px;
    transition: bottom 2s;
    position: fixed;
    right: 30px;
    bottom: -500px;
    cursor: pointer;
    z-index: 10;
    width: 73px;
    height: 73px;
    background-image: url(../svg/up-arrow.svg);
    background-position: center;
    background-repeat: no-repeat;
}

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


input {
    font-family: 'Farabee', sans-serif;
}

.title-yellow, .button {
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
    display: inline-block;
    border: 0px;
    background-color: #FFD16C;
    padding: 15px 40px;
    border-radius: 28px;
    color: #7A675E;
    /* width: 100%; */
    text-align: center;
    margin: 20px auto;
    font-family: 'Farabee', sans-serif;
}

.h2-side + .title-yellow {
    margin-top: 10px;
}

.wrap-page-video .block-buttons {
    margin-top: 30px;
}

.flexbox-side .button {
    width: 100%;
    margin: 10px 0;
}
.flexbox-side .button:first-child {
    margin-top: 0;
}

.trebi-first .button, 
.donate__double .button, 
.block__donate-item .button, 
.title-yellow {
    width: 100%;
}

button.button,
a.button {
    cursor: pointer;
    text-decoration: none;
}



.title-yellow p {
    margin: 10px 24px;
	font-weight: 600;
    font-size: 22px;
    line-height: 26px;
}


.page-template-template-trebi .title-yellow p {
    margin: 20px 0;
}


.title-yellow > span {
    display: block;
}

/*
.button-border span {
    border: 1px solid #FFFFFF;
    box-sizing: border-box;
    border-radius: 10px;
    display: block;
}
*/

.button[data-align="center"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
}

.button[data-align="right"] {
    display: block;
    margin-left: auto;
    margin-right: 0;
    width: fit-content;
}

.button-green {
    border: 1px solid #fff;
    background-color: #233b37;
    line-height: 40px;
    padding: 0;
    max-width: 340px;
}

.button-primary {
    background-color: #7A675E;
    color: #F9F4E8;
}

.button-beige {
    background-color: #F9F4E8;
    color: #7A675E;
}

.button-blue {
    background-color: #6CB1FF;
    color: #FFF;
}

.button-opacity {
    border: 1px solid #2b2b2b;
    background-color: unset;
    color: #2b2b2b;
}

.button-opacity.button-darkmode {
    border: 1px solid white;
    background-color: unset;
    color: #fff;
}

.button-small {
    padding: 10px 15px;
    font-size: 16px;
    border-radius: 3px;
}

button.button:hover,
a.button:hover {
    opacity: .8;
}

.button:active {
    opacity: .9;
}

.button-block {
    width: 100%;
    display: block;
}

.button[class*="ic-"]::before {
    display: inline-block;
    width: 24px;
    height: 24px;
    content: '';
    margin-right: 10px;
    vertical-align: middle;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.button.ic-play::before {
    background-image: url(../svg/ic-play.svg);
}

.button.ic-list::before {
    background-image: url(../svg/ic-list.svg);
}

.button.ic-view::before {
    background-image: url(../svg/ic-view.svg);
}


.trebi-box,
.block-side {
    background: #F9F4E8;
    border-radius: 28px;
    padding: 25px;
    margin: 10px 0px;
}

.block-raspisanie {
    padding: 50px;
}

.block-raspisanie .h3-side {
    padding: 0 20px;
    margin: 0 0 20px;
}

.block-raspisanie .h2-side {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    align-items: center;
}

.rasp-nav {
    width: 62px;
    height: 21px;
    background-image: url(../svg/right-arrow.svg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    cursor: pointer;
}

#rasp-m-title {}

.rasp-nav:hover {
    opacity: 1;
}

.rasp-nav[data-to="back"] {
    transform: rotate(180deg);
}

.trebi-box {
    background-color: #F9F4E8;
    padding: 15px 35px;
    color: #7A675E;
    background-image: url(../svg/bg__angel.svg), url(../svg/bg__angel.svg);
    background-repeat: no-repeat;
    background-position-x: 5%, 95%;
    background-position-y: 40%;
    background-size: auto 60%;
}

.trebi-box-yellow {
    background-color: #FFD16C;
    background-image: url(../svg/bg__angel-yellow.svg), url(../svg/bg__angel-yellow.svg);
}
.trebi-box-yellowstar {
    background-color: #FFD16C;
    background-image: url(../svg/bg_star-yellow.svg), url(../svg/bg_star-yellow.svg);
}
.trebi-box-brown {
    background-color: #7A675E;
    background-image: url(../svg/bg__angel-brown.svg), url(../svg/bg__angel-brown.svg);
    color: #F9F4E8;
}
.trebi-box-brown p a {
    color: #fff;
}


.trebi-box-beigestar {
    background-image: url(../svg/bg_star-beige.svg), url(../svg/bg_star-beige.svg);
}
.trebi-box-brownstar {
    background-color: #7A675E;
    background-image: url(../svg/bg_star-brown.svg), url(../svg/bg_star-brown.svg);
    color: #F9F4E8;
}

.trebi-box-inner,
.block-side-inner {
    padding: 0px 2px;
}


.block-side p {
    font-size: 20px;
	font-weight: 400;
    line-height: 26px;
    color: #7A675E;
    text-align: center;
}

.page-template-template-shedule-month .block-grafik p {
    font-weight: 600;
	font-size: 22px;
}

.wrap-page-video .block-side {
    margin: 0;
}

.trebi-box-inner p {
    max-width: 820px;
    margin: 10px auto;
    font-size: 20px;
    line-height: 30px;
}

.trebi-box h2 {
    text-align: center;
    margin: 20px 0 20px 0;
    font-size: 28px;
    font-weight: 600;
}

.float-history-side ~ .wp-block-heading {
    margin-top: 50px;
}

.trebi-box-repeater p {
    font-size: 18px;
    line-height: 24px;
    margin: 15px auto;
    max-width: 1140px;
}

.trebi-box-repeater h2 {
    text-transform: uppercase;
}
.trebi-box-repeater strong {
    text-transform: uppercase;
}


.trebi-first {
    background-color: #F9F4E8;
    padding: 30px;
    border-radius: 28px;
    display: flex;
    gap: 40px;
    color: #7A675E;
    margin-bottom: -20px;
}
.trebi-first-side {
    width: 450px;
}
.trebi-first-side img {
    border-radius: 28px;
    width: 100%;
}

.image-mobile {
    display: none;
}


.wrap-rules {
    margin: 60px 0;
    color: #7A675E;
}
.flexbox-images {
    width: 390px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.wrap-rules .flexbox-side img {
    border-radius: 28px;
    width: 100%;
}

.flexbox-image {
    display: none;
}

.flexbox-image img {
    display: block;
    border-radius: 28px;
}


.wrap-rules .flexbox-content p {
    font-size: 19px;
    line-height: 26px;
}

.wrap-rules .flexbox-content p:last-child {
    margin-bottom: 0;
}

.wrap-rules h3 {
    font-size: 18px;
    text-transform: uppercase;
    margin-top: 20px;
}

.wrap-rules ul li {
    margin-bottom: 17px;
    font-size: 13px;
    line-height: 100%;
}
.wrap-rules ul li strong {
    font-size: 20px;
    font-weight: 400;
    line-height: 25px;
}

.wrap-block-tainstva {
    background: rgba(177, 148, 98, 0.21);
    padding: 30px 0;
    color: #7A675E;
}

.wrap-block-tainstva.wrap-block-zapiski {
    background: #D3BC94;
}

.wrap-block-tainstva .flexbox-content p {
    font-size: 14px;
    line-height: 26px;
}

.block-tainstva-side {
    padding: 50px;
    background-color: #F9F4E8;
    border-radius: 28px;
}

.block-tainstva-side h2 {
    color: #FFB510;
    text-align: center;
    margin: 0 0 25px;
    font-weight: 600;
	font-size: 20px;
}

.block-tainstva-side ul li {
    font-size: 22px;
    line-height: 26px;
    font-weight: 600;
    color: #7A675E;
    margin: 10px 0;
}

.tainstva-content p {
    color: #7A675E;
    font-size: 20px;
    line-height: 120%;
}

.tainstva-content img {
    border-radius: 28px;
}


.tainstva-content .wp-block-image {
    margin-bottom: 36px;
}

.wrap-blocks {
    margin: 40px 0;
}

.wp-shedule {
    margin: 50px 0;
}

.b-calendar__tb {
    width: 100%;
    text-align: center;
}

.b-calendar__number {
    display: inline-block;
    width: 28px;
    height: 44px;
    line-height: 44px;
    margin: 2px 0;
    border-radius: 5px;
    font-weight: 600;
    font-size: 20px;
}

.shedule-exists .b-calendar__number {
    color: #7A675E;
    cursor: pointer;
}

.b-calendar__sortable {
    display: none;
}

.current_day {
    background: #FFD16C;
    color: #7A675E;
}

.shedule-show {
    display: none;
    padding: 20px;
    background: #FFD16C;
    border-radius: 28px;
    color: #7A675E;
    margin: 20px 0;
    overflow: hidden;
}

.shedule-show .day-title {
    background: #F9F4E8;
    padding: 20px;
    text-align: center;
    font-size: 20px;
    border-radius: 28px;
}

.shedule-show.active {
    display: block;
}

.shedule-show h4 {
    margin-top: 10px;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 22px;
    line-height: 30px;
    text-align: center;
}

.shedule-title {
    display: none;
}

.shedule-para {
    font-size: 18px;
    line-height: 20px;
    font-weight: 600;
    display: block;
}

.shedule-content {
    font-weight: 400;
    font-size: 18px;
    line-height: 21px;
    color: #7A675E;
    margin-top: 20px;
    display: block;
}



.shedule-content strong {
    display: block;
    margin-top: 15px;
    font-size: 20px;
}

.wrap-raspisanie .shedule-content {
    font-size: 14px;
    line-height: 110%;
    font-weight: 600;
}

.wrap-raspisanie .shedule-content strong {
    font-size: 16px;
    line-height: 110%;
    display: inline-block;
    margin-top: 7px;
}

.wrap-raspisanie .shedule-para {
    font-weight: normal;
    font-size: 16px;
    line-height: 18px;
}
.shedule-output {
    transition: height 400ms;
}

.shedule-output .shedule-content {
    padding: 0 30px;
}


.h3-side,
.h2-side {
    font-weight: 600;
    font-size: 22px;
    line-height: 28px;
    text-align: center;
    color: #7A675E;
}

.h3-side {
    font-size: 20px;
    line-height: 30px;
    color: #FFB510;
}


.h2-side.hgj {
    margin-top: 30px;
}


.h2-line {
    font-weight: 600;
    font-size: 26px;
    line-height: 30px;
    color: #7A675E;
    position: relative;
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
    text-transform: uppercase;
    align-items: flex-end;
}

.h2-line::after {
    display: inline-block;
    flex: auto;
    content: '';
    margin-left: 34px;
    height: 24px;
    background-image: url(../svg/title-line.svg);
    background-position-y: center;
    background-repeat: no-repeat;
}

.line-bottom::after {
    display: block;
    content: '';
    height: 8px;
    width: 100%;
    background-image: url(../svg/title-line.svg);
    background-position-y: center;
    background-repeat: no-repeat;
    border-radius: 0 3px 3px 0;
    margin-bottom: 10px;
}

.post-item .image img {
    width: 100%;
    height: 100%;
    display: block;
    transition: transform 1000ms;
}

.post-item .image {
    display: block;
    overflow: hidden;
    height: 290px;
    border-radius: 28px;
}

.post-item:hover .image img {
    transform: scale(1.1);
}


.post-item .description,
.post-item .title,
.post-item .datetime {
    font-weight: 600;
    font-size: 14px;
    line-height: 110%;
    color: #7A675E;
    display: block;
    margin: 10px 0;
}

.post-item .datetime {
    color: #FFB510;
    margin-top: 18px;
}

.link-more {
    color: #FFB510;
    font-size: 14px;
    font-weight: 600;
}

.post-item .title {
    font-size: 20px;
    line-height: 25px;
    text-transform: uppercase;
    font-weight: 700;
}

.post-item .description {
    font-size: 20px;
    line-height: 22px;
    font-weight: normal;
}


.link-news {
    text-decoration: underline;
    display: block;
    width: fit-content;
    margin: 0;
    font-weight: 700;
    color: #7A675E;
    font-size: 22px;
    text-transform: uppercase;
}

.h2-center a,
.h2-trebi a,
.h2-line a {
    color: #7A675E;
}


.wrap-trebi {
    background-color: #efe8de;
    padding: 1px 0;
}

.trebi {}

.h2-center,
.h1-trebi,
.h2-trebi {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px auto;
    font-weight: 700;
    font-size: 30px;
    line-height: 36px;
    text-transform: uppercase;
}


.h1-trebi {
    justify-content: center;
    max-width: 200px;
    text-align: center;
    background: #efe8de;
    margin: 0 auto;
    margin-top: -27px;
}


.h2-center::after,
.h2-center::before,
.h2-trebi::after,
.h2-trebi::before {
    display: inline-block;
    flex: auto;
    content: '';
    height: 1px;
    background-color: #233B37;
}

.h2-center::after,
.h2-trebi::after {
    margin-left: 45px;
}

.h2-center::before,
.h2-trebi::before {
    margin-right: 45px;
}

.h2-center {}



.h2-center::after,
.h2-center::before {
    margin-top: 14px;
}

.trebi-block {
    border: 1px solid #233B37;
    border-radius: 10px;
    padding: 10px 20px;
    margin: 40px 0;
}

.trebi-block p {
    font-size: 14px;
    line-height: 20px;
    color: #2B2A29;
    margin: 0;
}

.h3-trebi {
    width: fit-content;
    width: max-content;
    background-color: #efe8de;
    margin: 0 auto;
    margin-top: -36px;
    padding: 10px 40px;
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 30px;
    color: #233B37;
}

.h3-trebi a {
    color: #233B37;
    display: inline-block;
    border-bottom: 1px solid rgba(0, 0, 0, 0);
    transition: border 400ms;
}

.h3-trebi a:hover {
    border-bottom: 1px solid #233B37;
}



.flexbox-side .trebi-block {
    max-width: 326px;
    margin: 35px auto;
    display: block;
    color: #233B37;
}

.flexbox-side .trebi-block:hover {
    opacity: .9;
}

.flexbox-side .trebi-block img {
    border-radius: 10px;
    display: block;
    margin: 20px auto;
}


.trebi .flexbox-side {}



.wrap-shool {
    background-color: #F9F4EF;
    padding: 20px 0;
}

.shool .button {
    margin-right: auto;
    margin-left: 0;
}


.post-shool .title {
    font-weight: 500;
    font-size: 20px;
    line-height: 26px;
}

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


.wrap-more-posts {
    padding: 1px 40px;
    background: #F9F4E8;
    border-radius: 28px;
}

.wrap-more-posts h3 {
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 22px;
    text-transform: uppercase;
    color: #FFB510;
    text-align: center;
    margin: 30px 0;
}

.h-line {
    font-style: normal;
    font-weight: 700;
    line-height: 130%;
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
}

.h-line::after,
.h-line.has-text-align-center::before,
.h-line.has-text-align-right::before {
    content: '';
    display: inline-block;
    height: 13px;
    border-bottom: 1px solid #2B2A29;
    flex: auto;
}

.h-line.has-text-align-right::after {
    display: none;
}

.h-line::after {
    margin-left: 20px;
}

.h-line::before {
    margin-right: 20px;
}

h4.h-line::after,
h4.h-line::before,
h5.h-line::after,
h5.h-line::before,
h6.h-line::after,
h6.h-line::before {
    height: 10px !important;
}


div.datetime {
    font-size: 16px;
    line-height: 17px;
    color: #FFB510;
    margin-bottom: 40px;
}

.link-category {
    display: inline-block;
    margin-left: 30px;
    font-weight: 500;
    font-size: 16px;
    line-height: 30px;
    color: #FFFFFF;
    background: #7A675E;
    border-radius: 22px;
    padding: 0 20px;
    vertical-align: middle;
}

.clearfix {
    clear: both;
}

:root :where(.wp-element-button, .wp-block-button__link) {
    background-color: #7A675E;
    color: #F9F4E8;
}

footer {
    background-color: #FFD16C;
    color: #7A675E;
    padding: 30px 0;
    clear: both;
    margin-top: 60px;
    background-image: url(../svg/foot__volny.svg);
    background-repeat: no-repeat;
    background-position: bottom right;
    background-position-x: 97%;
}

body.home footer {
    margin-top: 0;
}

.trebi-mobile {
    display: none;
}

.copyright {
    text-align: center;
    font-size: 14px;
    padding: 10px 0;
}

.footer-flex a {
    color: #7A675E;
}

.footer-address {}

.footer-flex p {
    font-size: 17px;
    line-height: 24px;
    letter-spacing: 5%;
}

.footer-logo {
    background-image: url(../svg/logo.svg);
    background-repeat: no-repeat;
    padding-left: 100px;
}

.footer-logo .subtext,
.footer-logo .text {
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 22px;
    margin-bottom: 15px;
}

.footer-logo .subtext {
    font-size: 13px;
    line-height: 16px;
}

.category-search {
    display: flex;
    margin: 0 0 40px 0;
}

.category-search input[type="text"] {
    padding: 10px;
    border: 1px solid #8f8473;
    border-radius: 6px 0 0 6px;
    border-right: unset;
}

.category-search button[type="submit"] {
    padding: 11px 20px;
    border: 0;
    cursor: pointer;
    background-color: #233b37;
    border-radius: 0 6px 6px 0;
    color: #fff;
}


#sidebar li {
    display: block;
}


.wrap-raspisanie .shedule-show {
    background-color: #FFD16C;
}

.shedule-empty {
    display: block;
    width: 100%;
    text-align: center;
    margin: 20px 0;
}


.donate-form {
    padding: 0px;
    border-radius: 10px;
    max-width: 632px;
    margin: 40px auto 0px auto;
}

.donate-form h3 {
    text-align: center;
    font-weight: normal;
    font-size: 22px;
    margin-bottom: 20px;
    display: none;
}

.donate-form .button-primary {
    max-width: 413px;
    margin-top: 38px;
    display: block;
    width: 100%;
}

.donate-form-field input[type="number"] {
    display: block;
    width: 100%;
    padding: 20px 40px;
    border-radius: 50px;
    border: 1px solid #7A675E;
    margin: 0 auto;
    font-size: 32px;
    color: #7A675E;
}

.donate-form-field input[type="number"]:placeholder {
    color: #7A675E;
}

.comment-alert {
    font-size: 14px;
    line-height: 16px;
    margin-top: 10px;
    text-align: center;
}

.comment-alert[data-status="error"] {
    color: red;
}



.wp-block-button.btn-border .wp-block-button__link {
    border-radius: 10px;
    position: relative;
    padding: 20px 40px;
    font-size: 18px;
    line-height: 150%;
    min-width: 200px;
    text-align: center;
}

.wp-block-button.btn-border .wp-block-button__link:hover {
    opacity: .8;
}

.wp-block-button.btn-border .wp-block-button__link::before {
    content: '';
    display: block;
    width: calc(100% - 30px);
    height: calc(100% - 20px);
    border: 1px solid white;
    position: absolute;
    top: 10px;
    left: 15px;
    border-radius: 6px;
}

.bg-paragraph p {
    background-color: #F9F4E8;
    background-image: url(../svg/bg-star.svg);
    background-position-y: -35px;
    background-position-x: 48%;
    background-size: 200%;
    border-radius: 28px;
    padding: 60px;
    font-size: 25px;
    line-height: 110%;
    color: #FFB510;
    background-repeat: no-repeat;
    margin: 60px 0;
}

.bg-paragraph p:nth-of-type(1) {
    margin-top: 10px;
    background-position-x: -35%;
}

.bg-paragraph p:nth-of-type(2) {
    background-position-x: -15%;
}

.bg-paragraph p:nth-of-type(3) {
    background-position-x: 6%;
}

.bg-paragraph p:nth-of-type(4) {
    background-position-x: 19%;
}

.bg-paragraph p:nth-of-type(5) {
    background-position-x: 40%;
}

.bg-paragraph p strong {
    font-size: 28px;
    font-weight: 600;
}

.donate__double {
    display: flex;
    gap: 30px;
}


.wrap-page-video .flexbox {
    margin-bottom: 0;
}
.wrap-page-video .margin-60-0 {
    margin: 40px 0;
}
.wrap-page-video .button-blue {
    width: 534px;
    max-width: 100%;
    display: block;
}

.block-field {
    text-align: center;
    font-size: 26px;
    line-height: 140%;
}

.mobile-buttons {
    display: none;
}

.title-yellow hr,
.block-field hr {
    display: block;
    height: 8px;
    width: 100%;
    background-image: url(../svg/title-line.svg);
    background-position-y: center;
    background-repeat: no-repeat;
    border-radius: 0 3px 3px 0;
    margin-bottom: 0px;
    border: unset;
    margin: 10px 0;
}

.title-yellow blockquote, 
.block-field blockquote, 
.block-field a {
    font-size: 24px;
    font-weight: 600;
    line-height: 28px;
    display: block;
    border: 0px;
    background-color: #FFD16C;
    padding: 15px 25px;
    border-radius: 28px;
    color: #7A675E;
    width: 100%;
    text-align: center;
    margin: 20px auto;
    text-decoration: unset;
}


.title-yellow blockquote {
    background-color: #F9F4E8;
    border-radius: 50px;
}

.block-field strong {
    font-weight: 600;
}

.title-yellow blockquote p,
.block-field blockquote p {
    margin: unset;
    font-size: 24px;
    font-weight: 600;
    line-height: 28px;
}

.wrap-rules .title-yellow hr {
    margin: 20px auto;
    max-width: 372px;
}

.wrap-rules .title-yellow {
    padding: 40px;
}

.wrap-rules .title-yellow p {
    font-size: 22px;
    line-height: 28px;
    font-weight: 600;
}

.block-field a:hover {
    opacity: .8;
}

.block-field p {
    line-height: 120%;
}

.block-field p:last-child {
    margin-bottom: 0;
}

.block-field h2 {
    font-size: 20px;
    line-height: 30px;
    color: #FFB510;
}

.tpl-video-content {
    background-color: #F9F4E8;
    padding: 50px;
    border-radius: 28px;
}

.tpl-video-content p {
    color: #7A675E;
    font-size: 19px;
    line-height: 22px;
    font-weight: normal;
}

.tpl-video-content p:last-child {
    margin-bottom: 0;
}

.tpl-video-content .wp-block-image img {
    width: 100% !important;
    height: 294px !important;
    border-radius: 28px;
}

.wrap-page-video .title-yellow {
    margin-top: 40px;
    padding: 17px 30px 16px 30px;
}

.title-yellow h2 {
    font-size: 22px;
    line-height: 26px;
    font-weight: 600;
}

.title-yellow ul {
    text-align: left;
    font-weight: 400;
    padding-left: 10px;
    margin: 0;
}

.title-yellow ul li {
    margin-bottom: 5px;
}

.wp-block-gallery.columns-3 {
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 36px;
    margin-top: 40px;
}

@media (max-width: 782px) {
    .wp-block-gallery.columns-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

@media (max-width: 600px) {
    .wp-block-gallery.columns-3 {
        grid-template-columns: 1fr;
    }
}

.wp-block-image {
    margin-bottom: 0; 
}

.wp-block-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 28px;
}


.lr-content {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.lr-content-item {
    display: flex;
    align-items: center;
    gap: 40px;
}

.lr-content-item:first-child {
    background-color: #F9F4E8;
    padding: 50px;
    border-radius: 28px;
}

.lr-content-item:nth-child(even) {
    flex-direction: row-reverse;
}

.lr-content-text {

}


.lr-content-text h3,
.lr-content-text p {
    font-size: 20px;
    line-height: 26px;
    color: #7A675E;
}

.lr-content-text h3 {
    font-weight: 600;
}

.lr-content-image {
    border-radius: 28px;
    max-width: 470px;
}

.float-history-side, 
.float-more-posts {
    display: none;
}

.wrap-single .photonic-object-header {
    border-radius: 28px;
    padding: 30px;
    background-color: #FFD16C;
    background-image: none;
    border: unset;
    margin-top: 0;
    margin-bottom: 50px;
    display: flex;
    align-items: flex-end;
}

.wrap-single .photonic-header-details {
    max-width: 468px;
}

.wrap-single .photonic-header-title {
    font-size: 24px;
    line-height: 25px;
}
.wrap-single .photonic-object-header img {
    border-radius: 28px;
    width: 290px;
    height: 180px;
    display: block;
}

.has-background.wp-block-group {
    padding: 30px;
    border-radius: 28px;
    margin: 30px 0;
}

.header-image img {
    display: none;
}