/******FONTS******/

@font-face {
  font-family: "Ubuntu";

  src: url("../fonts/Ubuntu-Regular.ttf");

  font-weight: normal;

  font-style: normal;
}

@font-face {
  font-family: "Ubuntu";

  src: url("../fonts/Ubuntu-Light.ttf");

  font-weight: 300;

  font-style: normal;
}

@font-face {
  font-family: "Ubuntu";

  src: url("../fonts/Ubuntu-Medium.ttf");

  font-weight: medium;

  font-style: normal;
}

/* ============================================
   Мобильное меню (Гамбургер)
   ============================================ */

/* Десктопное меню */
.desktop-menu {
  display: block;
  margin-left: auto;
}

.desktop-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

.desktop-menu-list li {
  margin: 0;
  position: relative;
}

.desktop-menu-list li a {
  display: block;
  padding: 10px 20px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  transition: all 0.3s;
}

.desktop-menu-list li a:hover {
  color: #3498db;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
}

.desktop-menu-list .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 200px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  z-index: 101;
}

.desktop-menu-list li:hover .sub-menu {
  display: block;
}

.desktop-menu-list .sub-menu li {
  margin: 0;
}

.desktop-menu-list .sub-menu li a {
  color: #333;
  padding: 12px 20px;
  font-size: 13px;
  text-transform: none;
}

.desktop-menu-list .sub-menu li a:hover {
  background: #f5f5f5;
  color: #3498db;
}

/* Скрываем десктопное меню на мобильных */
@media (max-width: 768px) {
  .desktop-menu {
    display: none;
  }
}

.togle_btn {
  display: block;
  top: 18px;
  right: 20px;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1002;
}

.togle_btn span {
  display: block;
  width: 100%;
  height: 3px;
  background: #fff;
  margin: 5px 0;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Анимация гамбургера в крестик */
body.menu-is-open .togle_btn span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
  opacity: 0;
}

body.menu-is-open .togle_btn span:nth-child(2) {
  opacity: 0;
}

body.menu-is-open .togle_btn span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
  opacity: 0;
}

/* Меню на весь экран */
.menu-togle {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: #5780a8ed;
  z-index: 1000;
  transition: right 0.4s ease;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.menu-togle.menu-open {
  right: 0;
}

/* Затемнение фона */
.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.menu-togle.menu-open ~ .menu-overlay {
  display: block;
  opacity: 1;
}

/* Кнопка закрытия (крестик) */
.menu-close {
  position: absolute;
  top: 50px;
  right: 350px;
  background: transparent;
  border: none;
  font-size: 40px;
  color: #ffffff;
  cursor: pointer;
  width: 40px;
  height: 40px;
  line-height: 1;
  padding: 0;
  transition: color 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.menu-close:hover {
  color: #e74c3c;
}

/* Навигация внутри меню */
.main-navigation {
  padding: 80px 0 0 0;
}

.main-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-menu-list li {
  margin: 0;
  border-bottom: 1px solid #eee;
}

.main-menu-list li a {
  display: block;
  padding: 20px 0;
  color: #333;
  text-decoration: none;
  font-size: 20px;
  font-weight: 500;
  transition:
    color 0.3s,
    padding-left 0.3s;
}

.main-menu-list li a:hover {
  color: #3498db;
  padding-left: 10px;
}

.main-menu-list .sub-menu {
  padding-left: 20px;
  background: #f9f9f9;
}

.main-menu-list .sub-menu li a {
  font-size: 16px;
  padding: 15px 0;
}

/* Показываем гамбургер на мобильных */
@media (max-width: 768px) {
  .togle_btn {
    display: block;
  }

  .menu-head .telephone {
    display: none;
  }
}

@font-face {
  font-family: "Ubuntu";

  src: url("../fonts/Ubuntu-Bold.ttf");

  font-weight: bold;

  font-style: normal;
}

@font-face {
  font-family: "brushtype";

  src: url("../fonts/brushtype.ttf");

  font-weight: normal;

  font-style: normal;
}

@font-face {
  font-family: "segoepr";

  src: url("../fonts/segoepr.ttf");

  font-weight: normal;

  font-style: normal;
}

@font-face {
  font-family: "OpenSans";

  src: url("../fonts/OpenSans-Regular.ttf");

  font-weight: normal;

  font-style: normal;
}

body {
  background: #f5f5f5;
}

.post,
.page {
  margin: 0 0 0 !important;
}

.no-gutter > [class*="col-"] {
  padding-right: 0;
  padding-left: 0;
}

/**** Header style ****/

.site-content {
  display: block !important;
  margin: 0px !important;
}

#wpadminbar {
  position: fixed !important;
}

.site-header {
  background-color: #5780a8;
  -webkit-box-shadow: 0px 2px 0.98px 0.02px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 2px 0.98px 0.02px rgba(0, 0, 0, 0.15);
  height: 60px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 100% !important;
  position: fixed;
  z-index: 100;
}

/* Старая кнопка меню - отключаем */
.togle_btn[style*="background-image"] {
  display: none !important;
}

.togle_btn:hover {
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
}

/* Позиционирование элементов хедера */
.menu_head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 20px;
}

.telephone {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  margin: 0 20px;
}

/* Адаптивность хедера */
@media (max-width: 768px) {
  .menu_head {
    padding: 0 15px;
  }

  .telephone {
    display: none;
  }

  .site-branding {
    max-width: 200px;
  }

  .togle_btn {
    margin: 0;
  }
}

p.site-title {
  margin-top: 25px;
}

.site-title {
  margin-top: 10px;
}

.main-navigation ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.menu-new-container {
  display: none;
  border-radius: 10px;
  background-color: #374256;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 200px;
  position: absolute;
  -webkit-box-shadow: 0px 0px 20px 5px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 0px 20px 5px rgba(0, 0, 0, 0.15);
  margin-top: 75px;
  right: 10px;
  overflow: hidden;
  z-index: 100;
  position: fixed;
}

.menu-add {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
}

.custom-logo-link {
  height: 50px;
  width: 50px;
}

.menu_head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 0 50px;
}

.site-branding {
  -webkit-box-align: center;

  -ms-flex-align: center;

  align-items: center;
}

.telephone {
  font-size: 16px;
  color: white;
  font-family: OpenSans;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  text-align: center;
  margin: 0;
  margin-top: -4px;
  padding: 0;
}

.main-navigation a {
  width: 100% !important;
  color: white;
  font-size: 16px;
  font-family: openSans;
  height: 50px;
  background-color: #5780a8;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 200px;
  border-bottom: 1px solid #ffffff17;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.main-navigation a:hover {
  background: -webkit-gradient(
    linear,
    right top,
    left top,
    from(#5374af),
    color-stop(#6890d6),
    to(#5374af)
  );
  background: linear-gradient(to left, #5374af, #6890d6, #5374af);
  border-bottom: 1px solid #f2f5f7;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.site-title a {
  color: white !important;
  font-size: 20px;
  text-decoration: none;
  margin-left: 20px;
  font-family: brushtype;
  text-transform: uppercase;
  height: auto;
}

.screen_one {
  height: 100vh;
  background: #fafafa;
  background-image: url(../images/bg_1.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 20px 5px;
}

.screen_two {
  min-height: 840px;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(top, TO),
    color-stop(#fafafa),
    color-stop(#fafafa),
    color-stop(#fafafa),
    color-stop(#fafafa),
    to(#e7dee3)
  );
  background: linear-gradient(
    TO top,
    #fafafa,
    #fafafa,
    #fafafa,
    #fafafa,
    #e7dee3
  );
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background-repeat: no-repeat;
  background-position: top center;
}

.screen_three {
  min-height: 300px;
  background: #fafafa;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.screen_three .container.row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 30px;
}

.screen_three .cart_m {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 calc(33.333% - 20px);
  flex: 0 0 calc(33.333% - 20px);
  max-width: calc(33.333% - 20px);
}

.screen_four {
  min-height: 300px;
  background: #fafafa;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.screen_four .container.row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 30px;
}

.screen_five {
  min-height: 300px;
  background: #fafafa;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.site-footer {
  padding: 30px 10px 10px 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-align: left;
  background: #333333;
  color: #fff;
}
.main_block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.nazv {
  font-size: 52px;
  font-family: ubuntu;
  color: #5f5f5f;
  text-align: center;
  text-transform: uppercase;
  line-height: 1;
  margin: 0;
  margin-bottom: 30px;
}

h4 {
  font-size: 22px;
  font-family: ubuntu;
  color: #464646;
  text-align: center;
  text-transform: lowercase;
}

.description__screen_one {
  font-size: 16px;
  font-family: DidactGothic;
  color: rgb(161, 174, 183);
  line-height: 1.5;
  text-align: left;
}

.primary-btn {
  background-color: rgb(87, 128, 168);
  width: 200px;
  height: 50px;
  border-radius: 35px;
  padding: 10px;
  font-size: 16px;
  font-family: ubuntu;
  color: rgb(255, 255, 255);
  text-transform: uppercase;
  line-height: 1.2;
  text-align: center;
  margin: 0px 15px;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.primary-btn:hover {
  background-color: rgb(255, 255, 255);
  color: rgb(0, 0, 0);
}

.post_con {
  margin: 0 auto;
  padding-top: 100px;
  min-height: 1000px;
}

.services_box {
  display: block;
  overflow: hidden;
  padding: 20px 0;
}

.ser.row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  width: 100%;
  margin-right: 0;
  margin-left: 0;
}

/* На single-странице убираем сетку в 2 колонки */
.post_con .ser.row {
  display: block;
  grid-template-columns: none;
}

.post_con .ser.row .col-md-12 {
  width: 100%;
  float: none;
}

/* Адаптивность для услуг */
@media (max-width: 992px) {
  .ser.row {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .ser.row {
    gap: 20px;
  }

  .cart_container {
    margin-bottom: 0;
  }
}

@media (min-width: 993px) {
  .ser.row .col-lg-6 {
    width: 50%;
    float: left;
    padding: 0 15px;
  }
}

.sevice {
  margin-bottom: -7px;
}

.services_box_cont {
  gap: 15px;
}

/* ==========================================
   Карточки услуг - ховер эффект
   ========================================== */
.cart_container {
  position: relative;
  margin-bottom: 30px;
  padding-top: 15px;
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(87, 128, 168, 0.15);
  transition:
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.4s ease,
    border-color 0.4s ease;
  border: 2px solid transparent;
}

.cart_container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 15px;
  background: linear-gradient(
    135deg,
    rgba(87, 128, 168, 0.08) 0%,
    rgba(118, 75, 162, 0.04) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.cart_container:hover::before {
  opacity: 1;
}

.cart_container:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 15px 35px rgba(87, 128, 168, 0.3);
  border-color: rgba(87, 128, 168, 0.3);
}

.cart_container .circle_zag {
  width: calc(100% - 30px);
  height: 245px;
  object-fit: cover;
  transition: transform 0.5s ease;
  position: relative;
  z-index: 2;
  border-radius: 15px;
  display: block;
  margin-left: 15px;
}

.cart_container:hover .circle_zag {
  transform: scale(1.05);
}

.cart_container .info_cart {
  padding: 25px;
  position: relative;
  z-index: 2;
}

.cart_container .info_cart h3 {
  font-size: 20px;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.cart_container .info_cart h3 a:hover {
  color: #5780a8;
}

.cart_container .info_cart h5 {
  margin-bottom: 15px;
}

.cart_container .info_cart p {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
}

/* ==========================================
   Карточки мероприятий - ховер эффект
   ========================================== */
.cart_m {
  position: relative;
  margin-bottom: 0;
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(87, 128, 168, 0.15);
  transition:
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.4s ease,
    border-color 0.4s ease;
  border: 2px solid transparent;
}

.cart_m::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(87, 128, 168, 0.08) 0%,
    rgba(118, 75, 162, 0.04) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.cart_m:hover::before {
  opacity: 1;
}

.cart_m:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 15px 35px rgba(87, 128, 168, 0.3);
  border-color: rgba(87, 128, 168, 0.3);
}

.cart_m .circle_zag {
  width: 100%;
  height: 245px;
  object-fit: cover;
  transition: transform 0.5s ease;
  position: relative;
  z-index: 2;
}

.cart_m:hover .circle_zag {
  transform: scale(1.05);
}

.cart_m .cart_info {
  padding: 25px;
  position: relative;
  z-index: 2;
}

.cart_m .cart_info h3 {
  font-size: 20px;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.cart_m .cart_info h3 a:hover {
  color: #5780a8;
}

.cart_m .cart_info h5 {
  margin-bottom: 15px;
}

.cart_m .cart_info p {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
}

.cart_personal p {
  line-height: 1;
}

/* ==========================================
   Карточки тренеров - ховер эффект
   ========================================== */
.cart_personal {
  position: relative;
  margin-bottom: 0;
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(87, 128, 168, 0.15);
  transition:
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.4s ease,
    border-color 0.4s ease;
  border: 2px solid transparent;
  padding: 25px;
}

.cart_personal::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(87, 128, 168, 0.06) 0%,
    rgba(118, 75, 162, 0.03) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

.cart_personal:hover::before {
  opacity: 1;
}

.cart_personal:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(87, 128, 168, 0.25);
  border-color: rgba(87, 128, 168, 0.25);
}

.cart_personal .img_personal {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 10px;
  transition: transform 0.5s ease;
  position: relative;
  z-index: 1;
}

.cart_personal:hover .img_personal {
  transform: scale(1.03);
}

.cart_personal h3 {
  margin-top: 20px;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.cart_personal p {
  color: #666;
  font-size: 14px;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

.widget-area h2 {
  text-align: left !important;
  margin-left: 115px;
}

.widget-area a {
  color: #464646;
  text-decoration: none;
  margin-left: 30px;
}

.widget-area li {
  list-style-type: none;
}

.widget-area {
  margin-top: 45px;
}

h6 {
  font-size: 40px;
  color: #464646;
  font-family: ubuntu;
  line-height: 1;
  text-align: center;
  padding: 0px;
  margin: 40px;
}

h2 {
  font-size: 20px;
  color: #464646;
  font-family: openSans;
  line-height: 1;
  text-align: center;
}

h3 {
  font-size: 22px;
  color: #5780a8 !important;
  font-family: ubuntu;
}

h3 a {
  text-decoration: none;
  color: #5780a8 !important;
}

h3 a:hover {
  text-decoration: none;
  color: #5780a8 !important;
}

h3 a:visited {
  text-decoration: none;
  color: #5780a8 !important;
}

h5 {
  font-size: 18px;
  color: #5780a8;
  font-family: ubuntu;
  font-weight: 300;
  margin: 0;
}

.ser p {
  font-size: 14px;
  color: #303030;
  font-family: openSans;
}

.info-box {
  padding-left: 30px !important;
}

.second-btn {
  font-size: 14px;
  font-family: DidactGothic;
  color: rgb(66, 75, 90) !important;
  text-decoration: underline;
  line-height: 1.2;
  text-align: left;
  margin-top: 7px;
}

.container {
  max-width: 1200px;
}

.container-footer {
  width: 1200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.s-12 {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 785px) {
  .screen_one {
    background-position: 10% !important;
  }
}

@media (max-width: 785px) {
  .menu_head {
    padding: 25px !important;
  }

  .site-title a {
    display: none !important;
  }

  .togle_btn {
    margin: 20px 0 20px 0 !important;
  }

  .nazv {
    font-size: 32px !important;
  }

  .container-footer {
    flex-direction: column;
  }

  .s-12 {
    margin: 10px 0;
  }
}

/****** MEDITATIONS ******/

.screen_meditations {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 0;
  background: #f8f9fa;
}

.screen_meditations h6 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 32px;
  color: #333;
}

.screen_meditations .container.row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.meditation-card {
  margin: 0 15px 30px;
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(87, 128, 168, 0.15);
  transition:
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.4s ease,
    border-color 0.4s ease;
  max-width: 380px;
  border: 2px solid transparent;
  position: relative;
}

.meditation-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(87, 128, 168, 0.1) 0%,
    rgba(118, 75, 162, 0.05) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.meditation-card:hover::before {
  opacity: 1;
}

.meditation-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 35px rgba(87, 128, 168, 0.3);
  border-color: rgba(87, 128, 168, 0.3);
}

.meditation-card .circle_zag {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
  position: relative;
  z-index: 2;
}

.meditation-card:hover .circle_zag {
  transform: scale(1.05);
}

.meditation-card .cart_info {
  padding: 20px;
  position: relative;
  z-index: 2;
}

.meditation-card .cart_info h3 {
  font-size: 18px;
  margin-bottom: 15px;
}

.meditation-card .cart_info h3 a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.meditation-card .cart_info h3 a:hover {
  color: #5780a8;
}

.meditation-card .meditation-preview-player {
  margin: 15px 10px;
  padding: 0 5px;
  position: relative;
  z-index: 2;
}

.meditation-card .meditation-preview-player audio {
  border-radius: 5px;
  width: calc(100% - 10px);
  margin-left: 5px;
}

.meditation-card .cart_info p {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
}

/* Медитация - отдельная страница */
.meditation-single {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.meditation-single h6 {
  font-size: 28px;
  color: #333;
  margin-bottom: 20px;
}

.meditation-single .meditation-audio-player {
  margin: 25px 0;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 10px;
  border: 1px solid #e9ecef;
}

.meditation-single .meditation-audio-player label {
  display: block;
  margin-bottom: 10px;
  color: #333;
  font-weight: 600;
}

.meditation-single .meditation-audio-player audio {
  width: 100%;
  border-radius: 5px;
}

.meditation-single .meditation-content {
  margin-top: 25px;
  line-height: 1.8;
  color: #444;
}

.meditation-single .back-to-home {
  margin-top: 30px;
  display: inline-block;
}

.meditation-single .back-to-home p {
  color: #666;
  transition: color 0.3s;
}

.meditation-single .back-to-home:hover p {
  color: #333;
}

/* ==========================================
   Сайдбары: выравнивание элементов
   ========================================== */

/* Убираем отступы у заголовков и ссылок во всех сайдбарах */
.widget-area-meditations h2,
.widget-area-services h2,
.widget-area-events h2,
.widget-area-tours h2 {
  text-align: left !important;
  margin-left: 0;
}

.widget-area-meditations a,
.widget-area-services a,
.widget-area-events a,
.widget-area-tours a {
  color: #464646;
  text-decoration: none;
  margin-left: 0;
  display: flex;
}

.widget-area-meditations li,
.widget-area-services li,
.widget-area-events li,
.widget-area-tours li {
  list-style-type: none;
  margin-left: 0;
  padding-left: 0;
}

.widget-area-meditations ul,
.widget-area-services ul,
.widget-area-events ul,
.widget-area-tours ul {
  margin-left: 0;
  padding-left: 0;
}

.widget-area-meditations .widget,
.widget-area-services .widget,
.widget-area-events .widget,
.widget-area-tours .widget {
  margin-left: 0;
  padding-left: 0;
}

/* Общие стили для всех специализированных сайдбаров */
.widget-area-meditations,
.widget-area-services,
.widget-area-events,
.widget-area-tours {
  margin-top: 45px;
}

/* ==========================================
   Стили для кастомных виджетов
   ========================================== */

/* Списки виджетов */
.ya-meditations-list,
.ya-services-list,
.ya-events-list,
.ya-tours-list,
.ya-altai-details-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Элементы списка */
.ya-meditation-item,
.ya-service-item,
.ya-event-item,
.ya-tour-item,
.ya-altai-detail-item {
  margin-bottom: 15px;
  padding: 0;
}

/* Ссылки в виджетах */
.ya-meditation-link,
.ya-service-link,
.ya-event-link,
.ya-tour-link,
.ya-altai-detail-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: #f8f9fa;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-left: 0 !important;
}

.ya-meditation-link:hover,
.ya-service-link:hover,
.ya-event-link:hover,
.ya-tour-link:hover,
.ya-altai-detail-link:hover {
  background: #e9ecef;
  transform: translateX(5px);
}

/* Миниатюры в виджетах */
.ya-meditation-thumbnail,
.ya-service-thumbnail,
.ya-event-thumbnail,
.ya-tour-thumbnail,
.ya-altai-detail-thumbnail {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
}

.ya-meditation-img,
.ya-service-img,
.ya-event-img,
.ya-tour-img,
.ya-altai-detail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Информация в виджетах */
.ya-meditation-info,
.ya-service-info,
.ya-event-info,
.ya-tour-info,
.ya-altai-detail-info {
  flex: 1;
  min-width: 0;
}

.ya-meditation-title,
.ya-service-title,
.ya-event-title,
.ya-tour-title,
.ya-altai-detail-title {
  display: block;
  color: #464646;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.ya-meditation-link:hover .ya-meditation-title,
.ya-service-link:hover .ya-service-title,
.ya-event-link:hover .ya-event-title,
.ya-tour-link:hover .ya-tour-title,
.ya-altai-detail-link:hover .ya-altai-detail-title {
  color: #5780a8;
}

/* Заглушки для отсутствующих изображений */
.ya-meditation-thumbnail:not(:has(img)),
.ya-service-thumbnail:not(:has(img)),
.ya-event-thumbnail:not(:has(img)),
.ya-tour-thumbnail:not(:has(img)),
.ya-altai-detail-thumbnail:not(:has(img)) {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.widget-more-link-wrap {
  margin: 14px 0 0;
}

.widget-more-link {
  display: inline-flex;
  align-items: center;
  color: #5780a8;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.widget-more-link:hover {
  color: #3a5f7d;
}

/* Сообщения об отсутствии контента */
.ya-no-meditations,
.ya-no-services,
.ya-no-events,
.ya-no-tours {
  color: #999;
  font-size: 13px;
  font-style: italic;
  margin: 10px 0;
}

/* Заголовки виджетов */
.widget-area-meditations .widget-title,
.widget-area-services .widget-title,
.widget-area-events .widget-title,
.widget-area-tours .widget-title {
  font-size: 18px;
  color: #464646;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e9ecef;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
  .screen_meditations {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 0;
  }

  .screen_meditations h6 {
    font-size: 24px;
    margin-bottom: 25px;
  }

  .screen_three .container.row,
  .screen_four .container.row {
    gap: 20px;
  }

  .screen_three .cart_m {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 calc(50% - 10px);
    flex: 0 0 calc(50% - 10px);
    max-width: calc(50% - 10px);
  }

  .meditation-card .circle_zag {
    height: 180px;
  }

  .meditation-single {
    padding: 20px;
  }

  .meditation-single h6 {
    font-size: 22px;
  }
}

@media (max-width: 576px) {
  .screen_three .cart_m {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* ==========================================
   Адаптивность для экрана услуг
   ========================================== */
@media (max-width: 1199px) {
  .screen_two {
    min-height: auto;
    padding: 60px 0;
  }
}

@media (max-width: 992px) {
  .screen_two {
    min-height: auto;
    padding: 50px 0;
  }

  .screen_two h6 {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .screen_two {
    min-height: auto;
    padding: 40px 0;
  }

  .screen_two h6 {
    font-size: 28px;
    margin: 30px 0;
  }

  .cart_container .circle_zag {
    height: 200px;
  }

  .cart_container .info_cart {
    padding: 20px;
  }

  .cart_container .info_cart h3 {
    font-size: 18px;
  }
}

@media (max-width: 576px) {
  .screen_two {
    padding: 30px 0;
  }

  .screen_two h6 {
    font-size: 24px;
  }

  .cart_container .circle_zag {
    height: 180px;
  }

  .ser.row {
    gap: 15px;
  }
}
