﻿@import url("https://fonts.googleapis.com/css2?family=Philosopher:wght@400;700&family=Play:wght@400;700&family=Source+Sans+3:ital@0;1&display=swap");
* {
  transition: color, background, background-color 0.2s ease;
}
:root {
  --main-color: #252121;
  --main-background: #fff;
  --main-font: "Source Sans 3", sans-serif;
  --main-font-size: 14px;
  --main-line-height: 130%;
  --main-font-weight: 400;
  --btn-background-hover: #44789b;
  --dark-background: #141414;
  --dark-color: #b0b0b0;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  padding: 0;
  font-family: var(--main-font);
  color: var(--main-color);
  font-size: var(--main-font-size);
  line-height: var(--main-line-height);
  font-weight: var(--main-font-weight);
}
body.dark {
  background-color: var(--dark-background);
  color: var(--dark-color);
}
ul {
  margin: 0;
  list-style: none;
  padding: 0;
}
h1,
h2,
h3 {
  margin: 0;
  display: block;
  padding: 0;
}
p {
  margin: 0;
}
article,
aside,
footer,
header,
hgroup,
main,
nav,
section {
  display: block;
}
section {
  display: block;
}
*,
*:before,
*:after {
  box-sizing: border-box;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: all 0.3s;
}
a:hover {
  text-decoration-color: inherit;
}

.container {
  max-width: 1340px;
  padding: 0 20px;
  width: 100%;
  margin: 0 auto;
}
.top {
  position: relative;
}
.top:before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  height: 525px;
}
.dark .top:before {
  background: linear-gradient(#fff, #fff) no-repeat center,
    url(../img/top.jpg) no-repeat center;
  background-blend-mode: color;
  background-size: cover;
}
header .container {
  position: relative;
}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-item__menu {
  display: flex;
  align-items: center;
  grid-gap: 20px;
  border-bottom: 1px solid white;
  padding: 15px 0;
  position: relative;
}
.header-item {
  max-width: 500px;
  width: 100%;
  margin-right: auto;
}
.header-item__menu a {
  color: #fff;
  font-family: Play;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  display: block;
  padding: 10px 0;
}
.header-item__menu:last-child {
  border: none;
  padding: 10px 0 10px;
  grid-gap: 30px;
}

a.header__logo:hover {
  opacity: 0.7;
}
.header-search {
  position: absolute;
  display: flex;
  align-items: center;
  right: 0px;
  width: 0%;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
}
.header-search.active {
  width: 100%;
  opacity: 1;
  pointer-events: unset;
}
.mobile-search input,
.header-search input {
  display: block;
  border: 1px solid #deb37e;
  border-radius: 30px;
  height: 25px;
  width: 100%;
  outline: none;
  font-family: var(--main-font);
  font-size: 14px;
  padding: 0 15px;
}
.dark .mobile-search input,
.dark .header-search input {
  border-color: #c2beb9;
}
.mobile-search button,
.search-btn,
.header-search input[type="submit"],
.header-search button {
  position: relative;
  border: none;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
}
.mobile-search button,
.header-search button {
  position: absolute;
  right: 0;
  color: #deb37e;
  z-index: 10;
}
.dark .header-search button {
  color: #c2beb9;
}
.mobile-search button svg,
.search-btn svg,
.header-search button svg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.header-search input[type="submit"] {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  margin: 0;
  padding: 0;
}
.header-right {
  margin-left: auto;
  margin-right: 0;
}
.header-right .header-item__menu {
  justify-content: flex-end;
}
.hero {
  position: relative;
  border-radius: 50px;
  overflow: hidden;
}
.hero::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.74) 0%,
    rgba(0, 0, 0, 0.7) 66.67%,
    rgba(0, 0, 0, 0.62) 100%
  );
}
.hero__img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__content {
  position: relative;
  text-align: center;
  z-index: 1;
  padding: 310px 20px 225px;
}
.hero__title {
  color: #fff;
  text-align: center;
  font-family: Philosopher;
  font-size: 48px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 2.64px;
  text-transform: uppercase;
}
.hero-btn {
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 20px;
  padding: 60px 0 0;
}
.hero-btn a {
  text-decoration: none;
  color: #fff;
  font-family: Play;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 50px;
  border-radius: 10px;
  padding: 5px 10px;
  border: 1px solid var(--ffffff, #fff);
}
.dark .hero-btn a {
  background: #4a763c;
  color: rgb(228, 228, 228);
  border-color: rgb(228, 228, 228);
}
.dark .hero-btn a:hover {
  background: #599049;
}
/* .hero-btn a:hover {
  background: var(--btn-background-hover);
} */
.header__logo {
  align-self: start;
  display: block;
  max-width: 150px;
  margin: auto 0;
}
.main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 413px;
  grid-gap: 30px;
}
.news-item {
  position: relative;
  display: block;
  text-decoration: none;
}
.news-item__img {
  position: relative;
  padding-bottom: 70%;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s;
  background: #4e83a63b;
}
.news-item__img img {
  transition: all 0.3s;
}
.god__img:hover,
.clergy-card:hover .clergy-card__img img,
.public-item:hover,
.gallery-box__item:hover,
.shops-item:hover .shops-item__img {
  filter: brightness(1.1);
}
.clergy-card__img img,
.public-item img,
.gallery-box__item img,
.gallery__bg,
.shops-item__img img,
.news-item__img img {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery__bg {
  background-size: cover;
}
.dark .gallery__bg {
  background-image: linear-gradient(white, white), url("../img/gal-bg-min.jpg");
}
.news-item__meta {
  display: grid;
  align-items: center;
  color: #000;
  font-family: Play;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: capitalize;
  padding: 5px 0 0;
}
.dark .news-item__meta {
  color: rgb(218, 218, 218);
}
.news-item__cat,
.news-item__tag {
  margin-bottom: 3px;
}
.news-item__cat .news-item {
  display: inline-block;
  margin-right: 3px;
  font-weight: bold;
}
.news-item__tag {
  font-weight: bold;
}
.news-item__tag a {
  font-weight: 400;
}
.news-item__title {
  color: var(--main-background);
  font-family: Play;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-decoration: underline;
  text-underline-offset: 5px;
  transition: all 0.3s;
  text-decoration-color: transparent;
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 10;
}
.news-item__date {
  margin-bottom: 10px;
}
.dark .news-item__title {
  color: #5e9467;
}
.dark .news-item:hover .news-item__title {
  color: #71b57c;
}
.title:not(.gallery__title) a:hover,
.news-item:hover .news-item__title {
  color: #deb37e;
}
.dark .title:not(.gallery__title) a:hover {
  color: #568b46;
}
.news-item__desc {
  color: #5c646b;
  font-family: Play;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
.dark .news-item__desc {
  color: #9ba09b;
}
.title {
  color: #282d32;
  font-family: Philosopher;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;
}
.dark .title {
  color: #4a763c;
}
.dark .title:hover {
  color: #588e48;
}
.main-news__link,
.announces__link {
  color: #a37e4f;
  font-family: Play;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;
  position: relative;
  top: 0px;
  padding-left: 50px;
}
.announces__link {
  padding-left: 40px;
}
.dark .main-news__link {
  color: #9e9282;
}
.main-news__top,
.announces__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  position: relative;
}
.main-news__top h2 a,
.announces__top h2 a {
  text-decoration: none;
}
.main-news__top h2,
.announces__top h2 {
  width: fit-content;
  width: -moz-fit-content;
  position: relative;
}
.main-news__link:before,
.announces__link::before,
.main-news__top h2:before,
.announces__top h2:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  width: calc(100% + 32px);
  height: 100%;
}
.dark .main-news__link:before,
.dark .main-news__top h2:before {
  background: var(--dark-background);
}
.main-news__top h2:before,
.announces__top h2:before {
  left: 0;
}
.main-news__link:before,
.announces__link::before {
  width: calc(100% + 43px);
  right: 0;
}
.main-news__top::before,
.announces__top:before {
  content: "";
  display: block;
  position: absolute;
  bottom: 9px;
  background: #a47f50;
  height: 1px;
  left: 0;
  width: 100%;
}
.dark .main-news__top::before {
  background-color: #9e9282;
}
.main-news__link span,
.announces__link span,
.title span {
  position: relative;
}
.main-news,
.announces {
  padding: 55px 0 55px;
}
.main-news__cat {
  display: flex;
  flex-direction: column;
  grid-gap: 15px;
  padding: 95px 0 25px;
}
.main-news__cat a {
  color: var(--ffffff, #fff);
  font-family: Philosopher;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px 10px;
  text-decoration: none;
}
/* .main-news__cat a:hover {
  background: var(--btn-background-hover);
} */
.dark .main-news__cat a {
  background: #4a763c;
  color: rgb(228, 228, 228);
}
.dark .main-news__cat a:hover {
  background: #599049;
}
.calendar-box__top {
  display: grid;
  grid-gap: 20px;
  grid-template-columns: 102px minmax(0, 1fr);
}
.calendar-box__title {
  color: #282d32;
  font-family: Play;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;
}
.calendar-box__desc {
  color: #282d32;
  font-family: Play;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  padding: 10px 0 0;
}
.calendar-box__desc a {
  text-decoration: underline;
}
.calendar-box__desc a:hover {
  text-decoration-color: transparent;
}
.calendar-box {
  border-radius: 20px;
  padding: 30px 20px 40px;
  margin: 25px 0 0;
}
.dark .calendar-box {
  background: #868686;
}
.calendar-box__icon img {
  border-radius: 10px;
}
.shops-box {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-gap: 24px;
  padding: 60px 0 0;
}
.shops-item__img {
  position: relative;
  padding-bottom: 65.5%;
  width: calc(100% - 20px);
  margin: 0 auto;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s;
  background: #f5fbff;
}
.shops-item__title {
  color: #fff;
  font-family: Play;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;
  position: relative;
  text-align: center;
  padding: 12px 0 20px;
  transition: all 0.3s;
}
.shops-item:hover .shops-item__title {
  color: #deb37e;
}
.dark .shops-item:hover .shops-item__title {
  color: #eddcc5;
}
.shops-item {
  position: relative;
  text-decoration: none;
}
.shops-item:before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 123px;
  border-radius: 20px;
  bottom: 0;
}
.dark .shops-item:before {
  background-color: #4a763c;
}
.shops {
  padding: 65px 0;
}
.gallery {
  position: relative;
  border-radius: 50px;
  overflow: hidden;
  padding: 35px 100px 100px;
  margin: 0 -100px;
}
.gallery-top {
  position: relative;
}
.gallery__title {
  color: white;
}
.dark .gallery__title {
  color: #282828;
}
.gallery__title a {
  text-decoration: none;
}
.gallery-top {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
}
.gallery__link {
  color: #fff;
  font-family: Play;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;
}
.dark .gallery__link {
  color: #282828;
}
.gallery-top:before {
  content: "";
  display: block;
  position: absolute;
  background: #fff;
  height: 0.5px;
  width: calc(100% - 500px);
  left: 331px;
  bottom: 9px;
}
.dark .gallery-top:before {
  background-color: #282828;
}
.gallery-box {
  padding: 50px 0 0;
}
.gallery-box__item {
  position: relative;
  padding-bottom: 82%;
  border-radius: 20px;
  overflow: hidden;
  display: block;
  outline: none;
}
.gallery-box__item iframe {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery__swiper {
  position: relative;
}
.gallery__swiper-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 8px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  cursor: pointer;
  transition: all .3s ease;
}
.gallery__swiper-button.swiper-button-disabled {
  opacity: 0;
}
.gallery__swiper-button svg {
  width: 10px;
  height: 20px;
}
.gallery__prev {
  left: 30px;
}
.gallery__prev svg {
  rotate: 180deg
}
.gallery__next {
  right: 30px;
}
#gallery {
  overflow: hidden;
  padding: 50px 0;
}
.public-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 30px;
  padding: 50px 0 0;
}
.public-item {
  position: relative;
  padding-bottom: 57%;
  display: block;
  border-radius: 20px;
  overflow: hidden;
  background: #4e83a63b;
}
.public-item__title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  color: #fff;
  font-family: Play;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;
  padding: 23px 25px;
  z-index: 2;
  transition: all 0.3s;
}
.public-item:hover .public-item__title {
  color: #deb37e;
}
.public-item:before,
.news-item__img:before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 39.58%,
    #000 100%
  );
}
#map {
  height: 574px;
  border-radius: 30px;
  overflow: hidden;
}
.map-section__wrap {
  padding: 50px 0 0;
}
.map-section {
  padding: 120px 0 0;
  position: relative;
}
.bottom {
  position: relative;
}
.bottom:before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: calc(100% - 500px);
}
.dark .bottom:before {
  background: var(--Linear, linear-gradient(92deg, #828282 0%, #616161 100%));
}
footer {
  position: relative;
  padding: 65px 0 70px;
}
.footer__title {
  color: #fff;
  font-family: Philosopher;
  font-size: 32px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;
}
.footer-right__item,
.footer-left__link,
.footer-contact {
  color: #fff;
  font-family: Play;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;
}
.footer-contact {
  padding: 40px 0 40px;
}
.footer-right__item a,
.footer-left__link {
  text-decoration-color: inherit;
}
.footer-right__item a:hover,
.footer-left__link:hover {
  text-decoration-color: transparent;
}
.footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  position: relative;
}
.footer__logo {
  position: absolute;
  width: 148px;
  height: 178px;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
}

.footer__logo img {
  width: 100%;
  height: auto;
}
.footer-right {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  text-align: right;
  grid-gap: 40px;
}
footer .copyright {
  margin-top: 30px;
  text-align: center;
  color: #fff;
  font-family: Play;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
#menu {
  position: absolute;
  left: 0;
  width: 100%;
  z-index: 10;
}
#menu .container {
  position: relative;
}
.menu {
  padding: 60px 75px 60px;
  display: flex;
  flex-wrap: wrap;
  grid-gap: 35px;
  min-height: 381px;
}
.dark .menu {
  background: #555;
}
.body-main .menu {
  border-radius: 50px 50px 0 0;
}
.menu-close {
  position: absolute;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 30px;
  right: 40px;
  z-index: 3;
}
.menu-item__title {
  color: #fff;
  font-family: Play;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
.menu-item__list {
  padding: 10px 0 0;
  display: flex;
  flex-direction: column;
  grid-gap: 10px;
  list-style: disc;
  color: white;
  padding-left: 20px;
}
.menu-item__list a {
  display: block;
  color: #fff;
  font-family: Play;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
.menu-tab {
  opacity: 0;
  height: 0;
  pointer-events: none;
  transition: all 0.3s;
}
.menu-tab.active {
  opacity: 1;
  height: auto;
  pointer-events: unset;
}
.menu-item {
  /* transition: all 0.3s;
  opacity: 0;
  transform: translateY(20px); */
  text-wrap: nowrap;
}
/* .menu-tab.active .menu-item {
  opacity: 1;
  transform: translateY(0px);
} */
#public {
  padding: 40px 0 0;
}
.map-section__wrap {
  padding: 30px 0 0;
}
#map {
  height: 450px;
}
.menu-close span,
#mobile-menu,
.mob-m {
  display: none;
}
.mobile-search {
  position: relative;
  display: none;
}
.mobile-search input {
  border-radius: 20px;
  border: 1px solid #fff;
  height: 40px;
  background: none;
  text-align: center;
  color: #fff;
  font-family: Play;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
.mobile-search input::placeholder {
  color: #fff;
}
.mobile-search button {
  top: 50%;
  transform: translateY(-50%);
  right: 12px;
}
.mobile-search button svg {
  color: white;
}
.main-news__swiper.grid,
.announces__swiper.grid {
  overflow: unset;
}
.main-news__pagination,
.announces__pagination {
  display: none;
}

.main-news__swiper.grid .swiper-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 49px 29px;
}
.announces__swiper.grid .swiper-wrapper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 49px 29px;
}
.main-news__swiper,
.announces__swiper {
  padding: 50px 0 0;
}
.swiper-pagination-bullets {
  display: none;
}
.gallery__pagination.swiper-pagination-bullets {
  display: flex;
  align-items: center;
  justify-content: center;
  grid-gap: 10px;
  flex-wrap: wrap;
  padding: 15px 0 0;
}
.gallery__pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 !important;
  padding: 0;
  /* background: linear-gradient(0deg, #4e83a6 0%, #4e83a6 100%),
    linear-gradient(0deg, #4e83a6 0%, #4e83a6 100%), #4e83a6; */
  opacity: 1;
  /* border: 1px solid #4e83a6; */
  transition: all 0.3s;
}
.gallery__pagination .swiper-pagination-bullet-active {
  background: none;
}
.footer-inner.bottom:before {
  height: 100%;
}
.inner {
  position: relative;
  padding: 0 0 100px;
}
.dark .inner {
  background-color: var(--dark-background);
}
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding: 35px 0 30px;
}
.breadcrumb li a,
.breadcrumb li {
  color: #cdb89e;
  font-family: Play;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
.breadcrumb li {
  display: flex;
  align-items: center;
}
.dark .breadcrumb li {
  color: #ababab;
}
.breadcrumb li a {
  color: #a37e4f;
}
.dark .breadcrumb li a {
  color: #f2f2f2;
}
.breadcrumb li:not(:last-child):after {
  content: "-";
  display: block;
}
.breadcrumb,
.breadcrumb li {
  grid-gap: 5px;
}
h1.title {
  color: #6b5335;
  font-weight: 700;
  letter-spacing: 2.2px;
}
.pagination {
  text-align: center;
  padding: 50px 0 60px;
}
.logo-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  grid-gap: 5px;
}
.logo-inner .header__logo {
  max-width: 83px;
  align-self: center;
}
.logo-title {
  color: #fff;
  text-align: center;
  font-family: Philosopher;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.77px;
  text-transform: uppercase;
}
.header-inner {
  padding: 0 0 12px;
}
.body-inner #menu {
  background: rgb(165, 42, 42);
}
.history-sidebar__title {
  display: none;
}
.history-sidebar {
  background: url(../img/history-sidebar-min.jpg) no-repeat center;
  background-size: cover;
  padding: 40px 25px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}
.history-sidebar:before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    0deg,
    rgba(243, 227, 207, 0.88) 0%,
    rgba(243, 227, 207, 0.88) 100%
  );
}
.dark .history-sidebar:before {
  background: linear-gradient(
    0deg,
    rgba(214, 214, 214, 0.88) 0%,
    rgba(181, 181, 181, 0.88) 100%
  );
}
.history-sidebar__wrap {
  position: relative;
}
.history-list {
  list-style: disc;
  padding-left: 20px;
}
.dark .history-list {
  color: #4a763c;
}
.history-list a {
  display: block;
  color: #000;
  font-family: Play;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 34px;
  text-decoration: none;
}
.same__list a.active,
.history-list a.active {
  font-weight: 700;
}
.history-list a:hover {
  color: #4e83a6;
}
.dark .history-list a:hover {
  color: #4a763c;
}
.single {
  color: #000;
  font-family: Play;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px;
  padding: 20px 0 0;
}
.dark .single {
  color: #a1a1a1;
}
.single p {
  padding-bottom: 20px;
}
.single figure {
  margin: 0;
  padding: 0;
  display: block;
}
.single .wp-block-gallery {
  display: flex;
}
.dark .single h2 {
  color: #d2d2d2;
}
.wp-block-image.alignleft {
  float: left;
  margin: 0 30px 20px 0;
}
.wp-element-caption {
  color: #6b5335;
  font-family: Play;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-align: center;
  padding: 4px 0 0;
}
.dark .wp-element-caption {
  color: #f2f2f2;
}
.wp-block-image.size-full {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  grid-gap: 10px;
  padding: 0 0 50px;
}
.single h3 {
  color: #6b5335;
  font-family: Philosopher;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  padding: 0 0 16px;
}
.single p a {
  color: #0888dd;
}
.wp-block-image.alignright {
  float: right;
  margin: 0 0 25px 25px;
}
blockquote {
  margin: 0;
  padding: 0;
}
.wp-block-quote {
  color: #000;
  font-family: Philosopher;
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  display: flex;
  flex-direction: column;
  grid-gap: 16px;
  padding: 0 0 30px;
}
.wp-block-quote p {
  padding: 0;
}
.has-text-align-right {
  text-align: right;
}
.wp-block-quote cite {
  color: #6b5335;
  font-family: Play;
  font-size: 18px;
  font-style: italic;
  font-weight: 400;
  line-height: normal;
}
.single h2 {
  color: #6b5335;
  font-family: Philosopher;
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 1.76px;
  text-transform: uppercase;
  padding: 30px 0;
}
.single ul {
  color: #4d381f;
  list-style: disc;
  display: flex;
  flex-direction: column;
  grid-gap: 10px;
  padding: 0 0 20px;
  padding-left: 25px;
}
.news-box {
  padding: 50px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 45px 30px;
}
.single-news-title {
  font-size: 26px;
}
.same {
  border-radius: 20px;
  background: #f3e3cf;
  padding: 30px 25px 30px;
}
.dark .same {
  background-color: #d6d6d6;
}
.same__title {
  color: #000;
  font-family: Play;
  font-size: 26px;
  font-style: normal;
  font-weight: 400;
  line-height: 153%;
  display: flex;
  align-items: center;
  grid-gap: 10px;
  user-select: none;
}
.same__title svg {
  display: none;
}
.same__list {
  display: flex;
  flex-direction: column;
  grid-gap: 20px;
  list-style: disc;
  padding-left: 20px;
  margin: 20px 0 0;
}
.same__list a {
  color: #000;
  font-family: Play;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 40px;
  display: block;
  text-decoration: none;
}
.same__list a:hover {
  color: #4e83a6;
}
.dark .same__list a:hover {
  color: #4a763c;
}
.tag,
.single-meta {
  display: flex;
  align-items: center;
  grid-gap: 20px;
  flex-wrap: wrap;
}
.tag__title,
.tag-link a,
.single-meta__date,
.single-meta__cat a {
  color: #6b5335;
  font-family: Play;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  display: flex;
  align-items: center;
  grid-gap: 5px;
  text-decoration: none;
}
.dark .tag__title,
.dark .tag-link a,
.dark .single-meta__date,
.dark .single-meta__cat a {
  color: #dadada;
}
.tag-link,
.single-meta__cat {
  display: flex;
  align-items: center;
  grid-gap: 5px;
}
.tag-link span,
.single-meta__cat span {
  transition: all 0.3s;
  text-decoration: underline;
  text-decoration-color: transparent;
}
.tag-link a:hover span,
.single-meta__cat a:hover span {
  text-decoration-color: inherit;
}
.tag-link a:not(:last-child):after,
.single-meta__cat a:not(:last-child):after {
  content: "|";
  display: block;
  margin: 5px 0;
}
.single-thumbnail {
  padding: 0 0 20px;
}
.tag__title {
  text-transform: uppercase;
  color: #4d381f;
}
.tag-link a {
  color: #4d381f;
}
.tag {
  padding: 30px 0 0;
}
.single-meta {
  padding: 0 0 20px;
}
.clergy-thumbnail {
  padding: 30px 0 50px;
}
.clergy-box__title {
  color: #6b5335;
  font-family: Philosopher;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  text-align: center;
}
.clergy-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 60px;
}
.clergy-row__desc {
  color: #000;
  font-family: Play;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  font-style: italic;
}
.clergy-box__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  grid-gap: 45px;
}
.clergy-row__item {
  display: flex;
  flex-direction: column;
  grid-gap: 30px;
  align-items: center;
  justify-content: space-between;
}
.clergy-card__title {
  color: #4e83a6;
  text-align: center;
  font-family: Philosopher;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px;
  text-decoration: none;
  padding: 13px 0 0;
  transition: all 0.3s;
}
.clergy-card:hover .clergy-card__title {
  color: #000;
}
.clergy-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 50%;
  text-decoration: none;
}
.clergy-card__img {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #4e83a63b;
  width: 100%;
  aspect-ratio: 3 / 4;
}
.clergy-card__img img {
  transition: all 0.3s;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.clergy-row__item:nth-child(3n + 1) .clergy-card {
  align-self: end;
}
.clergy-row__item:nth-child(3n) .clergy-card {
  align-self: start;
}
.clergy-box {
  display: flex;
  flex-direction: column;
  grid-gap: 80px;
}
h1.single-cleargy-title {
  font-size: 26px;
  letter-spacing: 1.43px;
  padding: 0 0 10px;
}
.public-title a {
  text-decoration: none;
}
.pagination__pages {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  grid-gap: 20px;
}
.pagination-btn {
  color: #000;
  font-family: Play;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 40px;
}
.dark .pagination-btn {
  color: #b0b0b0;
}
.pagination-btn-active {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.main.full {
  grid-template-columns: 1fr;
}
div.wp-block-image > figure.aligncenter {
  padding: 0 0 20px;
}
.single .wp-block-gallery {
  padding: 0 0 20px;
}
iframe {
  max-width: 100%;
}
.god {
  display: grid;
  grid-template-columns: 40% 1fr;
  grid-gap: 50px;
  padding: 70px 0 15px;
}
.god__desc {
  padding: 35px 0 40px;
  font-family: Play;
  font-size: 20px;
  font-weight: 400;
  line-height: 120%;
  display: flex;
  flex-direction: column;
  grid-gap: 37px;
  max-width: 803px;
}
.god-content {
  position: relative;
  border-bottom: 1px solid #a47f50;
}
.dark .god-content {
  border-color: #9e9282;
}
.god__more {
  background-color: white;
  color: #a37e4f;
  font-size: 16px;
  text-transform: uppercase;
  position: absolute;
  bottom: 0;
  transform: translateY(50%);
  padding-left: 50px;
  right: 0;
}
.dark .god__more {
  background-color: var(--dark-background);
  color: #9e9282;
}
.god__img {
  display: block;
  transition: all 0.3s;
}

.go-up {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  bottom: 40px;
  right: 40px;
  border-radius: 5px;
  width: 55px;
  height: 55px;
  visibility: hidden;
  opacity: 0;
  z-index: 11;
  cursor: pointer;
  box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.153);
  transition: all 0.2s ease;
}

.go-up--show {
  visibility: visible;
  opacity: 1;
}
/* .go-up:hover {
  background-color: #cdb89e;
} */

.go-up__arrow {
  width: 50%;
  fill: white;
}

.dark .go-up {
  background-color: #333230;
}

.dark .go-up:hover {
  background-color: #4a4845;
}

.theme-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  width: 30px;
  height: 30px;
  margin-left: -10px;
  flex: none;
}

.theme-switch__img {
  width: 100%;
  height: 100%;
  fill: white;
}

.theme-switch__img--moon {
  width: 20px;
}

.ymaps-theme-btn {
  width: 0;
  height: 0;
}

.animate-theme-switch {
  animation-name: animate-theme-switch;
  animation-duration: 0.2s;
  animation-timing-function: ease;
  animation-fill-mode: forwards;
}

@keyframes animate-theme-switch {
  25% {
    transform: rotate(12deg);
  }
  75% {
    transform: rotate(-12deg);
  }
  100% {
    transform: rotate(0);
  }
}

.fancybox-content:has(.fancybox-iframe) {
  width: fit-content !important;
}

.fancybox-iframe {
  aspect-ratio: 16/9;
  position: static;
  width: 100vh;
}

.vk-video-iframe {
  position: absolute;
  left: -10000px;
}
