*, :after, :before {
box-sizing: border-box
}

body {
margin: 0
}

.sections_in-menu .sections__title {
cursor: pointer;
}

.admin-signed-in {
display: none;
}

.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0
}

.container {
position: relative;
width: 100%;
max-width: 1250px;
margin-right: auto;
margin-left: auto;
padding-right: .75rem;
padding-left: .75rem
}

.nd {
    display: none;
}

@media (min-width: 768px) {
.container {
padding-right: 2.5rem;
padding-left: 2.5rem
}
}

.container__full-width {
margin-right: -.75rem;
margin-left: -.75rem
}

@media (min-width: 768px) {
.container__full-width {
margin-right: -2.5rem;
margin-left: -2.5rem
}
}

.container__container-padding {
padding-right: .75rem;
padding-left: .75rem
}

@media (min-width: 768px) {
.container__container-padding {
padding-right: 2.5rem;
padding-left: 2.5rem
}
}

.container__full-width-on-mobile {
margin-right: -.75rem;
margin-left: -.75rem
}

@media (min-width: 768px) {
.container__full-width-on-mobile {
margin-right: 0;
margin-left: 0
}
}

.header {
-ms-flex: none;
flex: none;
height: 120px;
background-image: linear-gradient(90deg, #b8b8b8, #b8b8b8), linear-gradient(270deg, #b8b8b8 0, #b8b8b8 48px, transparent 0, transparent 56px, #b8b8b8 0, #b8b8b8), linear-gradient(180deg, #d6d6d6, #d6d6d6), linear-gradient(90deg, #b8b8b8 0, #b8b8b8 220px, transparent 0, transparent 230px, #b8b8b8 0, #b8b8b8 340px, transparent 0, transparent 350px);
background-repeat: no-repeat;
background-position: top left .75rem, top right .75rem, top 3.5rem left, bottom left .75rem;
background-size: 120px 40px, 104px 40px, 100% 1px, 350px 40px
}

@media (min-width: 768px) {
.header {
background-position: top left 2.5rem, top right 2.5rem, top 3.5rem left, bottom left 2.5rem
}
}

.header-base, .header-nav, .layout-with-right-menu__menu {
display: none
}

.layout-with-right-menu__page {
display: -ms-flexbox;
display: flex;
-ms-flex-direction: column;
flex-direction: column;
min-height: 100vh;
padding-top: 1rem
}

@media (min-width: 576px) {
.layout-with-right-menu__page {
padding-top: 2rem
}
}

.layout-with-right-menu__page:after {
display: block;
-ms-flex: 5 1 auto;
flex: 5 1 auto;
content: "";
background-position: top 40% center;
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='%23b8b8b8' d='M31.6 3.5C5.9 13.6-6.6 42.7 3.5 68.4c10.1 25.7 39.2 38.3 64.9 28.1l-3.1-7.9C44 97 19.9 86.6 11.5 65.3c-8.4-21.3 2-45.4 23.3-53.8l-3.2-8z'%3E%3CanimateTransform attributeName='transform' attributeType='XML' type='rotate' dur='2s' from='0 50 50' to='360 50 50' repeatCount='indefinite'/%3E%3C/path%3E%3Cpath fill='%23b8b8b8' d='M42.3 39.6c5.7-4.3 13.9-3.1 18.1 2.7 4.3 5.7 3.1 13.9-2.7 18.1l4.1 5.5c8.8-6.5 10.6-19 4.1-27.7-6.5-8.8-19-10.6-27.7-4.1l4.1 5.5z'%3E%3CanimateTransform attributeName='transform' attributeType='XML' type='rotate' dur='1s' from='0 50 50' to='-360 50 50' repeatCount='indefinite'/%3E%3C/path%3E%3Cpath fill='%23b8b8b8' d='M82 35.7C74.1 18 53.4 10.1 35.7 18S10.1 46.6 18 64.3l7.6-3.4c-6-13.5 0-29.3 13.5-35.3s29.3 0 35.3 13.5l7.6-3.4z'%3E%3CanimateTransform attributeName='transform' attributeType='XML' type='rotate' dur='2s' from='0 50 50' to='360 50 50' repeatCount='indefinite'/%3E%3C/path%3E%3C/svg%3E");
background-repeat: no-repeat;
background-size: 3rem
}

.footer, .main, .modal {
display: none
}

.sections {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 992px) {
  .sections {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
  }
  .sections__block:nth-child(1) { grid-column: 1; }
  .sections__block:nth-child(2) { grid-column: 2; }
  .sections__block:nth-child(3) { grid-column: 3; }
}

/* Адаптивное отображение фотографий в списках для мобильных устройств */
@media (max-width: 767px) {
  /* Уменьшаем боковые паддинги у всех колонок Bootstrap на мобильных */
  [class^="col-"], [class*=" col-"] {
    padding-left: 1px !important;
    padding-right: 1px !important;
  }

  .place-list-card__cover .embed-responsive,
  .slick-slider-in-list .embed-responsive,
  .slick-slider-on-place-page .embed-responsive {
    position: relative;
    height: auto;
    padding-bottom: 0 !important;
  }
  
  .place-list-card__cover .embed-responsive-16by9,
  .slick-slider-in-list .embed-responsive-16by9,
  .slick-slider-on-place-page .embed-responsive-16by9 {
    padding-bottom: 0 !important;
  }
  
  .place-list-card__cover .embed-responsive-item,
  .slick-slider-in-list .embed-responsive-item,
  .slick-slider-on-place-page .embed-responsive-item {
    position: relative;
    height: auto;
    width: 100%;
  }
  
  .place-list-card__cover img,
  .slick-slider-in-list img,
  .slick-slider-on-place-page img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: cover;
    object-position: center;
  }
}

/* Стили для редизайна сайта */

/* Центрирование заголовка h1 */
.main-heading.text-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

/* Стили для отображения саун по 3 в ряд */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

/* Стили для полной ширины списка саун */
.container-fluid {
  width: 100%;
  max-width: 100%;
  margin-right: auto;
  margin-left: auto;
}

.main-page-layout__list {
  width: 100%;
  max-width: 100%;
}

.col-12, .col-md-4, .col-md-6 {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

@media (min-width: 768px) {
  .col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  
  .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* Стили для карточек саун */
#saunasList .place-list-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

#saunasList .place-list-card:hover {
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  /* Убираем эффект подпрыгивания при наведении */
}

#saunasList .place-list-card__heading {
  padding: 15px;
}

#saunasList .place-list-card__body {
  padding: 15px;
  flex-grow: 1;
}

/* Стили для формы поиска */
.search-container {
  margin-bottom: 30px;
}

.search-container .form-control {
  border-radius: 4px;
}

.search-container .btn-primary {
  padding: 8px 30px;
  font-weight: 500;
}

/* Стили для отзывов */

/* Dots (точки) slick-слайдера по центру внизу фото */

.place-list-card__cover .slick-dots li button {
  background: #fff !important;
  opacity: 1 !important;
  border-radius: 50%;
  width: 12px;
  height: 12px;
  border: none;
  box-shadow: 0 0 2px #888;
  transition: background 0.2s;
}
.place-list-card__cover .slick-dots li.slick-active button {
  background: #2196f3 !important;
  box-shadow: 0 0 4px #2196f3;
}
  background: #2196f3 !important;
  box-shadow: 0 0 4px #2196f3;
}

.place-list-card__cover {
  position: relative;
}
.place-list-card__cover .slick-dots {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  display: flex !important;
  justify-content: center;
  width: 100%;
  padding: 0;
  margin: 0;
  z-index: 2;
}

#mainReviews .card {
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

#mainReviews .card:hover {
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}