:root {
  --text-black: #121525;
  --text-broun: #A79581;
  --text-gray: #707782;
  --text-white: #fff;
  --text-primary: #4E949D;
  --text-gray: #62748E;
  --text-lightbroun: #F3EFEC;
  --bg-green: #4E949D;
  --bg-lightbroun: #F3EFEC;
  --bg-primary: #4E949D;
  --bg-black: #121525;
  --bg-red: #FF0051;
}

body {
  color: var(--text-black);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: normal;
  line-height: 1.5;
  margin: 0;
}

.h1,
.h2,
h1,
h2 {
  clear: both;
  font-family: 'Bounded', sans-serif;
}

.h2,
h2 {
  font-size: 40px;
}

.h3,
h3 {
  font-size: 18px;
}

.h3 a,
h3 a {
  color: #121525 !important;
  text-decoration: none;
}

p {
  margin-bottom: 1.5em;
}

.fs14 {
  font-size: 14px;
}

.fs16 {
  font-size: 16px;
}

.fs18 {
  font-size: 18px;
}

.padding-top {
  padding-top: 116px;
}

.padding-bottom {
  padding-bottom: 116px;
}

.container,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
  max-width: 1216px;
}

.font-inter {
  font-family: 'Inter', sans-serif;
}

.font-bounded {
  font-family: 'Bounded', sans-serif;
}

.bg-lightbroun {
  background: var(--bg-lightbroun);
  line-height: normal;
}

.bg-green {
  background: var(--bg-green);
  line-height: normal;
}

.bg-white {
  background: #fff;
  line-height: normal;
}

.bg-primary {
  background: var(--bg-primary);
}

.bg-black {
  background: var(--bg-black);
}

.bg-red {
  background: var(--bg-red);
}

.text-white {
  color: var(--text-white);
}

.text-gray {
  color: var(--text-gray);
}

.text-broun {
  color: var(--text-broun);
}

.text-lightbroun {
  columns: var(--text-lightbroun);
}

.text-primary {
  color: var(--text-primary);
}

.text-gray {
  color: var(--text-gray);
}

.border-gray {
  border: 1.5px solid #DDDCD9;
}

.radius,
.radius-img img {
  border-radius: 16px;
}

.btn-mini {
  padding: 12px 15px;
  font-size: 14px;
}

.btn {
  font-size: 14px;
  line-height: normal;
  padding: 18px 30px;
  text-decoration: none;
  border-radius: 16px;
  display: inline-block
}

.btn-primary {
  background: var(--bg-green);
  border: 1.5px solid #4E949D;
  color: var(--text-white);
}

.btn-primary:hover {
  background: #2F7F89;
}

.btn-light {
  border: 1.5px solid #DDDCD9;
  background: #F3EFEC;
  color: var(--text-black);
}

.btn-light:hover {
  background: #2F7F89;
  color: #fff;
  border-color: #2F7F89;
}

.pum-container input.wpcf7-submit {
  margin-top: 1.5rem !important;
  width: 100%;
  background: var(--bg-primary);
  border: 0;
  height: 40px;
  border-radius: 16px;
  color: #fff;
}

.page-template-page-contacts input.wpcf7-submit {
  margin-top: 1.5rem !important;
  background: var(--bg-primary);
  border: 0;
  padding: 18px 30px;
  border-radius: 16px;
  color: #fff;
}

input.wpcf7-submit:hover {
  background: #2F7F89;
}

label.d-flex.align-items-start.acceptance+br {
  display: none;
}

nav#site-navigation {
  font-size: 14px;
  font-weight: 500;
}

.main-navigation a {
  color: var(--text-black);
}

.main-navigation li {
  padding: 12px;
}



/* Navigation
--------------------------------------------- */
.main-navigation {
  display: block;
  width: 100%;
}

.main-navigation ul {
  display: none;
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.main-navigation ul ul {
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
  float: left;
  position: absolute;
  top: 100%;
  left: -999em;
  z-index: 99999;
}

.main-navigation ul ul ul {
  left: -999em;
  top: 0;
}

.main-navigation ul ul li:hover>ul,
.main-navigation ul ul li.focus>ul {
  display: block;
  left: auto;
}

.main-navigation ul ul a {
  width: 200px;
}

.main-navigation ul li:hover>ul,
.main-navigation ul li.focus>ul {
  left: auto;
}

.main-navigation li {
  position: relative;
}

.main-navigation a {
  display: block;
  text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
  display: block;
}

@media screen and (min-width: 37.5em) {

  .menu-toggle {
    display: none;
  }

  .main-navigation ul {
    display: flex;
  }
}

.text-decoration {
  text-decoration: none
}

.title-banner {
  font-size: 72px;
  font-style: normal;
  line-height: 110%;
  text-transform: uppercase;
  font-weight: 200;
}

.title-banner strong {
  font-weight: 500;
}

.img-banner img {
  width: 100%;
}

.subtitle-banner {
  font-weight: 300;
  line-height: normal;
  color: #A79581;
  text-transform: uppercase;
  position: absolute;
  right: 0px;
  bottom: -5px;
}


.content-banner {
  margin-top: 175px;
}

.img-banner {
  margin-top: 80px;
}

.preimushestvo-item {
  width: 260px;
}

.preimushestvo-cifra {
  font-size: 48px;
  font-weight: 200;
}

.preimushestvo {
  border-top: 1px solid #D9D5CA;
}

.preimushestvo {
  padding: 60px 0;
}

.page-template-front-page header#masthead {
  position: absolute;
  width: 100%;
}

header#masthead>div {
  z-index: 99;
}

section.banner {

  z-index: 9;
}

.banner .container:before {
    content: '';
    width: 100%;
    height: 560px;
    transform: rotate(-136.234deg);
    position: absolute;
    border-radius: 800px;
    opacity: 0.5;
    background: linear-gradient(32deg, #D7D7D4 0%, #F3EFEC 98.5%);
    right: 0px;
    top: -564px;
}

.img-banner img {
  position: relative;
  z-index: 1;
}

.img-banner:before {
  content: '';
  width: 100%;
  height: 358.227px;
  position: absolute;
  background: linear-gradient(0deg, #F3EFEC 6.6%, rgba(243, 239, 236, 0.00) 100%);
  bottom: -100px;
  z-index: 9;
}

.img-banner:after {
  content: '';
  width: 590px;
  height: 525px;
  opacity: 1;
  top: 10px;
  left: 84px;
  border-top-left-radius: 800px;
  border-top-right-radius: 800px;
  position: absolute;
  background: linear-gradient(90deg, #D7D7D4 0%, #F3EFEC 98.5%);
  z-index: 0;
}

section.preimushestvo-wrap {
  z-index: 9;
}

.slider-container {
  max-width: 804px;
  margin: auto;
  overflow: hidden;
}

.slider-wrap {
  max-width: 1010px;
  margin: auto;
}

.slider-left {
  width: 100%;
  max-width: 390px;
  background: #F7F7F7;
  text-align: center;
  border-radius: 16px 0 0 16px;
}

.slider-right {
  max-width: 412px;
  width: 100%;
  padding: 40px;
}

.slider-title.font-bounded {
  font-size: 24px;
  margin-bottom: 38px;
}

.slider-text {
  font-size: 18px;
  margin-bottom: 40px;
}

.swiper-button-next,
.swiper-button-prev {
  width: 40px !important;
  height: 40px !important;
  border: 1px solid #A79581;
  border-radius: 100px;
}

.swiper-button-next svg,
.swiper-button-prev svg {
  display: none !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-family: 'Font Awesome 6 Pro' !important;
  font-size: 18px !important;
  color: #A79581 !important;
}

.swiper-button-next:after {
  content: "\f061" !important;
}

.swiper-button-prev:after {
  content: "\f060" !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: #D9D5CA;
  border-color: #D9D5CA;
}

.swiper-button-next:hover:after,
.swiper-button-prev:hover:after {
  color: var(text-black);
}

section.slider-books.bg-lightbroun {
  padding-top: 166px;
  padding-bottom: 200px;
}


.swiper-pagination-bullet.swiper-pagination-bullet-active {
  width: 32px;
  height: 7px;
  border-radius: 16px;
  background: #4E949D;
}

.btn-wrap {
  display: flex;
}

.elipse-slider {
  top: 96px;
  z-index: 0;
}

.nav-tabs {
  list-style: none;
  padding: 10px;
  border: 0;
  border-radius: 27px;
}

.nav-tabs button.nav-link.active {
  background: #4e949d;
  color: #fff;
  border: 0;
  border-radius: 16px;
  padding: 10px;

}

.nav-tabs button.nav-link {
  padding: 10px;
  width: 190px;
  border: 0;
  font-size: 14px;
}

.nav-tabs button.nav-link:hover {
  background: #2F7F89;
  color: #fff;
  border-radius: 16px;
}

.nav-link:focus,
.nav-link:hover {
  border: 0;
}

.lible-block {
  font-size: 14px;
  background: var(--bg-lightbroun);
  display: inline-block;
  border-radius: 16px;
  padding: 8px 12px;
  text-decoration: none;
  color: var(--text-black);
}

a.lible-block:hover,
a.lible-block-primary:hover {
  background: #2F7F89;
  color: #fff;
  border-color: #2F7F89;
}

.lible-block-primary {
  font-size: 14px;
  background: transparent;
  display: inline-block;
  border-radius: 16px;
  text-decoration: none;
  padding: 8px 12px;
  color: var(--bg-lightbroun);
  border: 1px solid var(--bg-lightbroun);

}
.acceptance a {
    border-bottom: 1px solid;
}
.block-pastora {
  position: relative;
  z-index: 9;
  padding-top: 200px;
}

.slider-books-pastora {
  background: linear-gradient(180deg, #F3EFEC 1.07%, #FFFFFF 50.06%, #F3EFEC 100%);
}
section.slider-books-pastora img {
    width: 100%;
}
.slider-books-pastora:before {
  content: '';
    width: 100%;
    height: auto;
    opacity: 0.5;
  top: 515px;
  left: 8%;
  border-radius: 800px;
  position: absolute;
  background: linear-gradient(86deg, #F3EFEC 13.37%, rgba(255, 255, 255, 0) 85.02%);
  z-index: 1;
}

.slider-books-pastora:after {
  content: '';
  width: 100%;
  height: 1390px;
  opacity: 0.5;
  top: 1031px;
  left: 0;
  border-radius: 800px;
  position: absolute;
  background: linear-gradient(299deg, #F3EFEC 13.37%, rgba(255, 255, 255, 0) 85.02%);
  z-index: 1;
  /* background: #333; */
}

.section-video-one {
  position: relative;
  z-index: 9;
}

.section-video-one {
  background: linear-gradient(180deg, #FFFFFF 0%, #F3EFEC 100%);
  padding: 116px 0;
}

.section-video-one .container,
.section-partnerstvo .container {
  max-width: 1100px;
}

.bg-lightbroun .lible-block {
  border: 1.5px solid #D9D5CA;
}

.section-video {
  overflow: hidden;
}

.section-video .swiper-slide {
  width: 342px !important;
  overflow: hidden;
}

.section-video .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-container.videoSwiper {
  margin-top: 40px;
}

.video-content,
.news-content,
.direction-content {
  padding: 30px;
}
.video-programma iframe {
    width: 100%;
    height: 296px;
    border-radius: 16px 16px 0 0;
}
.video-avotar-bg {
    width: 48px;
    height: 48px;
    font-size: 16px;
    border-radius: 100px;
    text-align: center;
    color: #fff;
    line-height: 48px;
    background: #4E949D;
}
.vide-img i.fas.fa-play {
  margin-right: auto;
  left: 50%;
  text-align: center;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 35px;
  border-radius: 100px;
  font-weight: 700;
  z-index: 99;
  position: absolute;
  width: 56px;
  height: 56px;
  background: #fff;
  line-height: 56px;
  padding-left: 6px;
  color: #4E949D;
  font-size: 24px;
}

.icons-color {
  background: #F3EFEC;
  width: 48px;
  height: 48px;
  text-align: center;
  line-height: 48px;
}

.svidetelstvo-avotar-bg {
  width: 48px;
  height: 48px;
  font-size: 16px;
  border-radius: 100px;
  text-align: center;
  color: #fff;
  line-height: 48px;
}

.svidetelstvo-item:nth-child(1) .svidetelstvo-avotar-bg {
  background: linear-gradient(135deg, #00A63E 0%, #009689 100%);
}

.svidetelstvo-item:nth-child(2) .svidetelstvo-avotar-bg {
  background: linear-gradient(135deg, #155DFC 0%, #9810FA 100%);
}

.svidetelstvo-item:nth-child(3) .svidetelstvo-avotar-bg {
  background: linear-gradient(135deg, #F54900 0%, #E60076 100%);
}

.svidetelstvo-header {
  padding-bottom: 30px;
  border-bottom: 1px solid var(--bg-primary);
}

.svidetelstvo-text.mt-4 {
  line-height: 28px;
}

.svidetelstvo-add.text-center.radius {
  background: #2F7F89;
  padding: 32px;
  color: #fff;
}

.svidetelstvo-add-title {
  font-size: 24px;
}

.svidetelstvo-add .btn {
  border: 1px solid #F3EFEC;
  color: #fff;
}

.svidetelstvo-add .btn:hover {
  background: var(--bg-primary);
}

.overflow-hiden {
  overflow: hidden;
}

.new-img img {
  width: 100%;
  height: auto;
}

.ten-video {
  width: 100%;
  height: 100%;
  bottom: -100px;
}

.books-img img {
  width: 220px;
  height: auto;
  -webkit-box-shadow: 19px 9px 16px -9px rgba(34, 60, 80, 0.2);
  -moz-box-shadow: 19px 9px 16px -9px rgba(34, 60, 80, 0.2);
  box-shadow: 19px 9px 16px -9px rgba(34, 60, 80, 0.2);
}

.status-knigi {
  display: inline-block;
  position: absolute;
  font-size: 12px;
  border-radius: 12px;
  padding: 6px 12px;
  color: #fff;
  top: -10px;
  left: -5px;
  height: 27px;
}

.status-knigi.novinka {
  background: #00A63E;
}

.status-knigi.skidka {
  background: #FF0051;
}

.status-knigi.besplatno {
  background: #FFAE00;

}

a.books-btn {
  font-size: 14px;
  text-decoration: none;
  color: var(--text-block);
  padding: 10px 16px;
  border: 1px solid #D9D5CA;
  border-radius: 16px;
}

h3.books-title {
  height: 45px;
}

footer#colophon {
  padding: 64px 0;
}

.logo-footer {
  font-size: 12px;
  text-transform: uppercase;
  line-height: normal;
}

.logo-footer {
  font-size: 12px;
  text-transform: uppercase;
  line-height: normal;
  border-bottom: 1px solid var(--text-primary);
  max-width: 200px;
}

footer#colophon a {
  color: var(--text-white);
  text-decoration: none;
}

.footer-menu li {
  margin-bottom: 8px;
}

.date-onlain {
  color: #fff;
}

.contact-footer {
  border-bottom: 1px solid var(--text-primary);
  padding-bottom: 16px;
  margin-bottom: 16px;
  max-width: 228px;
}

.copyright {
  font-size: 12px;
  color: #90A1B9;
  text-align: right;
}

.sliderSwiper .swiper-pagination {
  bottom: -42px !important;
}

.position-relative {
  z-index: 99;
}

.page-banner-video {
  padding: 64px 0;
  background: linear-gradient(180deg, #F3EFEC 0%, #FFFFFF 100%);
}

.news-img img {
  width: 100%;
  height: auto;
}

.blog header.site-header {
  background: transparent;
}

.custom-checkbox input:checked+.checkbox-label {
  background-color: #4CAF50;
  /* Зелёный фон */
  border-color: #4CAF50;
}

.custom-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.custom-checkbox input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.checkbox-label {
  width: 20px;
  height: 20px;
  border: 2px solid #ccc;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.2s, border-color 0.2s;
}

.custom-checkbox input:checked+.checkbox-label {
  background-color: #4CAF50;
  border-color: #4CAF50;
}

.checkbox-text {
  font-family: Arial, sans-serif;
  color: #333;
}

.pum-theme-9 .pum-container,
.pum-theme-lightbox .pum-container {
  padding: 24px !important;
  border-radius: 16px !important;
  border: 0 !important;
  box-shadow: none !important;
  background-color: rgba(255, 255, 255, 1.00);
}

.form-label {
  font-weight: 400;
  font-size: 14px;
}

input.wpcf7-text {
  width: 100%;
  height: 50px;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid #DDDCD9;
}

.wpcf7-textarea {
  width: 100%;
  border-radius: 16px;
  padding: 15px;
  border-color: #dddcd9;
}

.acceptance {
  font-size: 14px;
  font-weight: 400;
}

.acceptance a {
  text-decoration: none;
  color: inherit;
}

span.wpcf7-form-control-wrap {
  width: 100%;
  display: block;
}

.acceptance input {
  margin-right: 10px;
  margin-top: 5px;
}

.wpcf7-list-item-label::before,
.wpcf7-list-item-label::after {
  display: none !important;
}

input[type="checkbox"] {
  margin-right: 10px;
  width: 15px;
  height: 15px;
}

.sposob span.wpcf7-list-item {
  margin-right: 20px;
}

.wpcf7-radio.sposob .wpcf7-list-item-label {
  font-weight: 400;
  margin-bottom: 7px;
  display: block;
}

.wpcf7-list-item {
  margin-left: 0 !important;
}

.pum-container .wpcf7-radio.sposob {
  width: 100%;
  display: flex;
  justify-content: space-around;
  text-align: center;
}

.page-template-page-contacts .wpcf7-radio.sposob {
  display: flex;
}

.page-template-page-contacts .sposob .wpcf7-list-item {
  display: flex;
  flex-direction: row-reverse;
}

.page-template-page-contacts .wpcf7-radio.sposob .wpcf7-list-item-label {
  margin-left: 7px;
}

.wpcf7-form p {
  margin-bottom: 0;
}

span.wpcf7-spinner {
  display: none;
}

.wpcf7-radio.sposob .wpcf7-list-item input {
  height: 20px;
  width: 100%;
  cursor: pointer;
}

.pum-theme-9 .pum-content+.pum-close,
.pum-theme-lightbox .pum-content+.pum-close {
  right: 4px !important;
  top: 4px !important;
  background: var(--bg-primary) !important;
  border: 0 !important;
  box-shadow: none !important;
}

.single-post header#masthead,
.post-type-archive-direction header#masthead,
.single-direction header#masthead,
.post-type-archive-books header#masthead,
.page-template-page-contacts header#masthead,
.page-template-page-testimonial header#masthead,
.page-template-page-partners header#masthead {
  background: transparent;
}

.icon-contacts {
  width: 48px;
  height: 48px;
  text-align: center;
  line-height: 48px;
}

.contact-right {
  width: 100%;
  max-width: 390px;
}

.contact-left {
  width: 100%;
  max-width: 700px;
}

.raspisanie-item {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #cfcfcf;
}

.raspisanie-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.cifra {
  font-family: 'Bounded', sans-serif;
  font-size: 50px;
  font-weight: bold;
  color: var(--text-primary);
}

.social svg {
  border-radius: 16px;
  margin-bottom: 5px;
}

.social {
  font-size: 10px;
}

.vide-img img {
  width: 100%;
  height: auto;
}

.video {
  border-radius: 16px;
  overflow: hidden;
}

.video-partners iframe {
  height: 500px;
  border-radius: 16px;
  max-width: 920px;
}

.img-fluid img {
  width: 100%;
  height: auto;
}
a.books-btn:hover{
    background: #4e949d;
    color: #fff;
}
@media (max-width: 767px) {
  .cifra {
    font-size: 25px;
  }

  .video-partners iframe {
    height: 200px;
  }

  .banner .container:before,
  .slider-books-pastora:before {
    display: none;
  }
.show .offcanvas-body {
    overflow: inherit;
    background: #fff;
}
	.offcanvas-backdrop.fade.show{
    background: #fff!important;
    opacity: 10!important;
}
  .slider-books-pastora:after {
    width: 100%;
    top: 1774px;
    left: 0;

  }
  .img-banner:before {
    width: 100%;
  }

  .img-banner:after {
    width: 100%;
    height: 380px;
    left: 0;
    top: -30px;
  }

  .title-banner {
    font-size: 30px;
  }
.subtitle-banner {
    right: 10px;
}
.menu-menju-podval-container {
    display:none;
}
.offcanvas .menu-menju-podval-container,
.offcanvas-body ul#primary-menu {
    display:block;
}
  .block-pastora img {
    width: 100%;
    height: auto;
  }

  section.section-video-one svg {
    width: 100%;
  }

  section.slider-books-pastora svg {
    width: 100%;
  }

  .preimushestvo {
    padding: 64px 0;
    overflow-y: auto;

    &::-webkit-scrollbar {
      display: none;
    }

    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .preimushestvo-item.text-center {
    margin-left: 20px;
    margin-right: 18px;
  }

  .banner .row {
    flex-direction: column-reverse;
  }

  .subtitle-banner {
    font-size: 12px;
  }

  .subtitle-banner.font-bounded p {
    margin-bottom: 7px;
  }

  section.banner {
    padding-top: 50px;
  }

  .content-banner {
    margin-top: -100px;
    z-index: 999;
  }

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

  .block-pastora {
    padding-top: 80px;
  }

  .nav-tabs button.nav-link {
    width: 170px;
  }

  .h2,
  h2 {
    font-size: 32px;
  }

  div#myTabContent .row {
    flex-direction: column-reverse;
    padding-bottom: 56px;
  }

  div#myTabContent .lible-block {
    margin-top: -82px;
    position: absolute;
  }

  .section-video-one {
    padding: 56px 0;
  }

  .section-video .swiper-slide {
    width: 300px !important;
  }

  .ten-video {
    display: none;
  }

  .padding-bottom {
    padding-bottom: 56px;
  }

  .padding-top {
    padding-top: 56px;
  }

  .section-svidetelstvo .row {
    overflow-y: auto;

    &::-webkit-scrollbar {
      display: none;
    }

    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .section-svidetelstvo .svidetelstvo-item {
    width: 90%;
  }

  .section-news .row {
    overflow-y: hidden;

    &::-webkit-scrollbar {
      display: none;
    }

    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .section-news .news-item {
    width: 90%;
  }

  .section-books .row {
    padding-top: 10px;
  }

  .section-books .row {
    overflow-y: hidden;

    &::-webkit-scrollbar {
      display: none;
    }

    scrollbar-width: none;
    -ms-overflow-style: none;
  }


  .books-img img {
    width: 80%;
  }

  .section-books .bookc-item {
    width: 70%;
  }

  .br-none br {
    display: none;
  }


  .logo-footer {
    max-width: 100%;
  }

  .footer-menu ul {
    padding-left: 0;
  }

  footer a.btn-mini {
    width: 100%;
    text-align: center;
  }

  .copyright {
    text-align: center;
  }

  .main-navigation {
    position: absolute;
    top: 50px;
    width: 100%;
    left: 0;

  }

.btn-banner {
    z-index: 999;
    position: relative;
}

nav#site-navigation .offcanvas-body li {
    border-bottom: 1px solid #e1e1e1;
}
/*nav#site-navigation  .offcanvas-header {
    justify-content: flex-end;
  }*/
  header#masthead nav#site-navigation a {
    font-size:20px;
  }

  header#masthead .main-navigation li {
    padding: 8px;
  }

  header#masthead .menu-top-menju-container {
    width: 100%;
  }

  header#masthead a.btn-mini {
    margin-right: 55px;
  }

  header#masthead button.menu-offcanvas {
    position: absolute;
    right: 15px;
    top: -42px;
    border: 0;
    color: var(--text-primary);
    font-size: 29px;
    background: transparent;
  }
header#masthead{
    position: fixed !important;
    z-index: 9999;
	        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
	width:100%;
}
  .single-video .video iframe {
    border: 0;
    height: 200px;
  }
}
@media (max-width: 340px){
    .title-banner {
        font-size: 22px;
    }
    .subtitle-banner {
      font-size: 11px;
  }
}

/* =============================================
   MOBILE ADDITIONS (safe, no header changes)
   ============================================= */
@media (max-width: 767px) {
  .section-video .swiper-slide { width: 280px; }
  .section-direction .col-md-4 { margin-bottom: 16px; }
  .direction-img img, .direction-img .wp-post-image { width: 100%; height: auto; }
  .page-template-page-testimonial .row.flex-nowrap { flex-wrap: wrap; }
  .page-template-page-testimonial .svidetelstvo-item { min-width: 100%; }
  .section-news .row.flex-nowrap { scrollbar-width: none; }
  .section-news .row.flex-nowrap::-webkit-scrollbar { display: none; }
  .section-books .row.flex-nowrap { scrollbar-width: none; }
  .section-books .row.flex-nowrap::-webkit-scrollbar { display: none; }
  h3.books-title { height: auto; min-height: 40px; }
  .section-partnerstvo .col-md-6:first-child { margin-bottom: 24px; }
  .slider-container { max-width: 100%; padding: 0 16px; }
  .slider-wrap { max-width: 100%; }
  .slider-left { max-width: 100%; border-radius: 16px 16px 0 0; padding: 20px; }
  .slider-left img, .slider-left .wp-post-image { max-width: 200px; height: auto; }
  .slider-right { max-width: 100%; padding: 24px; border-radius: 0 0 16px 16px; }
  .slider-title.font-bounded { font-size: 20px; margin-bottom: 16px; }
  .slider-text { font-size: 16px; margin-bottom: 20px; }
  .elipse-slider { display: none; }
  .video-programma iframe { height: 200px; }
  footer#colophon .row > [class*=col-] { width: 100%; flex: 0 0 100%; max-width: 100%; margin-bottom: 16px; }
  footer#colophon .contact-footer { max-width: 100%; }
  footer#colophon .copyright { text-align: center; }
  footer#colophon .btn-wrap { justify-content: center; }
  .contact-left { max-width: 100%; }
  .contact-right { max-width: 100%; margin-top: 24px; }
  .post-type-archive-direction .col-md-4,
  .post-type-archive-books .col-xl-3,
  .post-type-archive-video .col-md-4 { margin-bottom: 16px; }
  .pum-container .wpcf7-radio.sposob { flex-direction: row; align-items: center; gap: 20px; }
}
