@charset "UTF-8";
@font-face {
  font-family: "SFProText";
  src: url("../fonts/SFProText-Regular.ttf");
  font-weight: normal;
  font-style: normal;
}
* {
  font-family: "SFProText";
}

html {
  font-size: 13px;
}

body {
  background-color: #f2f2f7;
}
@media (min-width: 1024px) {
  .body{
    background-color: #8a8a8e;
  }
}

ul, ul li {
  list-style: disc;
  /* margin-bottom: 3px; */
  padding-left: inherit;
}
.header_text {
  /* text-align: center; */
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
}
.container_header_text {
  margin-top: 15px;
  max-width: 380px;
  width: 100%;
  margin: 10px auto;
  padding: 0 8px;
}
.header {
  position: fixed;
  /* touch-action: none; */
  top: 0;
  left: 0;
  /* right: 0;
  height: 56px; */
  overflow: hidden;
  transition: height 0.3s cubic-bezier(0.33, 1, 0.68, 1);

  width: 100%;
  border-radius: 0 0 40px 40px;
  background-color: #ffffff;
  padding: 20px 10px;
  height: 125px;
  will-change: height;
  z-index: 1;
}
.header.popup-open {
  pointer-events: none !important;
}
.header__container {
  position: relative;
  height: 100%;
  background: #fff;
  border-radius: 0 0 16px 16px;
  overflow: hidden;
}

.header__background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s;
}

.header__content {
  position: relative;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  /* justify-content: space-between; */
  height: 100%;
}

.header__avatar-wrapper {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.33, 1, 0.68, 1);
}

.header__avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: 25px;
  transition: all 0.3s cubic-bezier(0.33, 1, 0.68, 1);
}

.header__name {
  font-weight: bold;
  font-size: 1.4333333333rem;
  text-align: justify;
  transition: inherit;
}

.header__username {
  color: #007aff;
  font-size: 1.1rem;
}

/* Expanded state */
.header--expanded {
  height: 40vh;
  /* padding: 10px 10px 20px; */
  padding: 0px 0px 0px;
  background-color: 0;
}

.header--expanded .header__background {
  opacity: 1;
}

.header--expanded .header__avatar-wrapper {
  width: 100%;
  height: 100%;
  border-radius: 0;
  position: absolute;
  top: 0;
  left: 0;
}

.header--expanded .header__content {
  align-items: flex-end;
  padding-bottom: 16px;
}

.header--expanded .header__info {
  transform: translateY(30px);
  margin-left: 0;
}

.header--expanded .header__name {
  font-size: 24px;
  color: #fff;
  padding: 12px 5px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.header--expanded .header__username {
  font-size: 0px;
  color: rgba(255,255,255,0.9);
}
.header--expanded .header__approved {
  margin-left: 5px;
  max-width: 0px;
}
.header--expanded .header__icon__approved {
  margin-left: 5px;
  max-width: 0px;
}
/*
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  border-radius: 0 0 40px 40px;
  background-color: #ffffff;
  padding: 20px 10px;
  height: 125px;
}
.header__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
}
.header__image {
  width: 80px;
  height: 80px;
} */
/* .header__info {
  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: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  margin-left: 25px;
} */
.header__row {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  
}
.header__title {
  font-weight: bold;
  font-size: 1.4333333333rem;
  text-align: justify;
}
.header__icon__approved {
  margin-left: 5px;
  margin-right: 0px;
  max-width: 24px;
}

.header__approved {
  /* margin-left: 5px; */
  margin-right: 8px;
  max-width: 20px;
}

.header__update-wrapper {
  display: flex;
  align-items: center;
  margin-top: 8px;
}

.image {
  -o-object-fit: cover;
  object-fit: cover;
}
.image--circle {
  border-radius: 50%;
}

.nickname__title {
  color: #007aff;
  font-size: 1.1rem;
}

.nickname {
  color: #007aff;
  font-size: 1.2rem;
}

.points {
  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-align: center;
  -ms-flex-align: center;
  align-items: center;
  background-color: #007aff;
  border-radius: 30px;
  padding: 4px 6px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}
.points__value {
  color: #ffffff;
  margin-left: 5px;
}

.content {
  margin-top: 145px;
  padding: 10px 15px 60px 15px;
  background-color: #f2f2f7;

}
.content--rule {
  margin-top: 0px;
  padding: 10px 15px 60px 15px;
  background-color: #f2f2f7;

}

.map {
  border-radius: 50%;
  margin-right: 12px;
}

.section {
  margin-bottom: 32px;
}
.section__title-row {
  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: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 8px;
}
.section__title-row-book {
  margin-bottom: 2px;
}
.section__title {
  font-weight: bold;
  font-size: 1.5333333333rem;
}
.section__title__noactive {
  font-weight: bold;
  cursor: pointer;
  font-size: 1.5333333333rem;
}
.section__title__active {
  font-weight: bold;
  color: #007aff;
  cursor: pointer;
  font-size: 1.5333333333rem;
}
.section__item {
  background-color: #ffffff;
  margin-bottom: 8px;
}
.section__item__singup {
  background-color: #007aff;
  margin-bottom: 0px;
  display: flex;
  justify-content: center; /* Центрируем по горизонтали */
  align-items: center; /* Центрируем по вертикали */
}
.section__item__singup--text {
  padding: 12px 10px;
  border-radius: 16px;
}
.section__item__singup-title {
  font-weight: bold;
  font-size: 1.5rem;
  margin-bottom: 4px;
  color: #f0f0f0;
  text-align: center;
}
.section__singup {
  margin-bottom: 32px;
  margin-top: 20px;
}
.section__item_photo {
  margin-bottom: 8px;
}

.section__text {
  text-align: left;
  line-height: 1.5;
  max-height: 4.5em; /* Ограничиваем высоту текста */
  overflow: hidden; /* Прячем текст, выходящий за пределы */
  text-overflow: ellipsis;
  transition: max-height 0.3s ease; /* Анимация при раскрытии */
  white-space: normal;
}

.section__text--expanded {
  line-height: 1.5;
  max-height: 100em; /* Достаточно большое значение для полного текста */
  overflow: visible; /* Показываем весь текст */
}

.section__item--text {
  padding: 12px 10px;
  border-radius: 8px;
}
.section__item--img {
  padding: 4px;
  border-radius: 4px;
}
.section__item--card {
  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-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.section__item--more-info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}
.section__content {
  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-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 0px 0px 10px;
}
.section__item-row {
  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: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.section__card-info {
  width: 100%;
  width: calc(100% - 80px);
}
.section__card-info--thanks {
  width: calc(100% - 30px);
}
.section__info {
  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-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-right: 10px;
}
.section__logo {
  margin-right: 8px;
}
/* .section__text {
  text-align: left;
  line-height: 1.5;
  max-height: 4.5em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
} */
.section__text--grey {
  color: #8a8a8e;
}
.section__text--nooverflow {
  max-height: none;
  overflow: auto;
}
.section__item-title {
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 4px;
  color: black;
}
.section__item-title--normal {
  font-weight: normal;
  font-size: 1.2rem;
  margin-bottom: 2px;
  color: black;
}
/* .section__item-title--blue {
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 4px;
  cursor: pointer;
  color: #007aff;
} */
.section__item-title--nomargin {
  margin: 0;
}
.section__item-title--grey {
  color: #8a8a8e;
}
.section__item-title--grey-book {
  margin-bottom: 8px;
  color: #8a8a8e;
}
.section__card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
}
.section__img {
  margin-right: 12px;
  width: 66px;
  height: 66px;
}
.section__img--high {
  height: 86px;
}
.section__img--star {
  width: 25px;
  height: 25px;
  -ms-flex-item-align: start;
  align-self: start;
  margin-right: 12px;
}
.section__more-info {
  text-align: right;
  font-size: 1.2rem;
  color: #007aff;
  text-decoration: underline !important;
}

.accordeon__part {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.accordeon__part--hidden {
  margin-top: 2px;
}
.accordeon__img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 4px;
}
@media (min-width: 1024px) {
  .accordeon__img{
      max-height: 120px; /* Настройте для декстоп экранов */
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .accordeon__img{
      max-height: 20rem; /* Настройте для декстоп экранов */
  }
}
@media (max-width: 768px) {
  .accordeon__img{
      max-height: 120px; /* Настройте для мобильных экранов */
  }
}

.accordeon-trigger {
  color: #007aff;
  /* text-decoration: underline; */
  cursor: pointer;
}
.accordeon-trigger.active {
  font-weight: bold;
  color: #0b0c0c;
}

.menu-container {
  position: fixed;
  padding: 15px;
  bottom: 50px;
  left: 0;
  width: 100%;
  z-index: 10;
}

.menu-wrapper .menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 100%;
  background-color: #ffffff;
  border-radius: 16px;
  -webkit-box-shadow: -3px 1px 12.3px 2px rgba(0, 0, 0, 0.15);
  box-shadow: -3px 1px 12.3px 2px rgba(0, 0, 0, 0.15);
}
.menu-wrapper .menu__item {
  text-align: center;
  color: #000;
  padding: 13px 0;
  font-weight: 600;
}
.menu-wrapper .menu__item:active,
.menu-wrapper .menu__item:hover {
  background-color: #007aff;
  color: #ffffff;
  z-index: 10;
}
.menu-wrapper .menu--hidden {
  width: 1px !important;
  left: 100%;
}

.burger-btn {
  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;
  width: 56px;
  height: 56px;
  background-color: #007aff;
  border-radius: 50%;
  position: fixed;
  right: 25px;
}
.burger-btn:active {
  background-color: #0056b3;
}

@keyframes waveEffect {
  0% {
    box-shadow: 0 0 0 0 #D11589;
  }
  100% {
    box-shadow: 0 0 0 20px rgba(209, 21, 137, 0);
  }
}

.wave {
  animation: waveEffect 1.5s ease-out infinite;
}

.popup-background {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.8098039216);
}

.popup-container {
  background-color: rgba(0, 0, 0, 0.8098039216);
  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;
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: 10;
  padding: 15px;
}

.popup {
  width: 100%;
  background-color: #ffffff;
  border-radius: 16px;
  -webkit-box-shadow: -3px 1px 12.3px 2px rgba(0, 0, 0, 0.15);
  box-shadow: -3px 1px 12.3px 2px rgba(0, 0, 0, 0.15);
  max-height: 90vh;
  overflow-y: scroll;
  z-index: 10;
}
.popup__img {
  width: 100%;
  margin-top: 10px;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 4px;
}


@media (min-width: 1024px) {
  .popup__img{
      max-height: 400px; /* Настройте для декстоп экранов */
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .popup__img{
      max-height: 600px; /* Настройте для декстоп экранов */
  }
}
@media (max-width: 768px) {
  .popup__img{
      max-height: 400px; /* Настройте для мобильных экранов */
  }
}

.hidden {
  display: none !important;
}
.clickable-item {
  cursor: pointer; /* Курсор в виде указателя */
  transition: background-color 0.3s ease; /* Плавное изменение фона */
}

.clickable-item:hover {
  background-color: #f0f0f0; /* Изменение фона при наведении */
}
.collections-text {
  color: #414956;
  font-size: 1.3666666667rem;
  margin-bottom: 15px;
}

.collections {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  overflow-x: scroll;
  padding-bottom: 4px;
}
.collections__item {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-right: 10px;
}
.collections__img {
  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;
  width: 112px;
  height: 72px;
  border-radius: 8px;
  background-color: #ffffff;
}
.collections__item-title {
  text-align: center;
  color: #000;
  margin-top: 10px;
}

.header,
.menu-container,
.popup-container,
.content--rule,
.content {
  max-width: 1024px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 1024px) {
  .header,
  .menu-container,
  .popup-container,
  .content--rule,
  .content{
      max-width: 400px; /* Настройте для декстоп экранов */
  }
}

.close-btn {
  /* margin-inline: auto;
  cursor: pointer;
  font-size: 4rem;
  color: #009dff; */
  background-color: #007BFF;
  z-index: 10;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  pointer-events: auto;
  font-size: 14px;
}
.close-btn:hover {
  /* color: #555; */
  background-color: #0056b3;
}

.parent {
  display: flex;
  justify-content: center; /* Центрируем по горизонтали */
  align-items: center; /* Центрируем по вертикали */
  width: 100%; /* Растягиваем на всю ширину */
  padding: 0px 0px 15px 0px; /* Добавляем отступ сверху и снизу */
}

.parent-menu-wrapper {
  display: flex;
  justify-content: center; /* Центрируем по горизонтали */
  align-items: center; /* Центрируем по вертикали */
  width: 100%; /* Растягиваем на всю ширину */
  padding: 10px 0px 0px 0px; /* Добавляем отступ сверху и снизу */
}

.modal-header {
  padding-bottom: 0px;
  text-align: center;

}

.modal-header h2 {
  font-size: 22px;
  font-weight: bold;
  margin: 0;
  color: #333;
}

.modal-header p {
  font-size: 16px;
  color: #555;
  margin: 5px 0;
  font-style: italic;
}

.color-line {
  height: 2px;
  background: linear-gradient(to right, #007BFF, #33CC99, #6A5ACD);
  border-radius: 3px;
  /* margin: 10px 0; */
}

.header,
.menu-container,
.popup-container {
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}

.footer-buttons {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
    width: 100%;
}

.footer-button {
    color: #007aff;
    text-decoration: none;
    font-size: 1.15rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    padding: 8px 12px;
    text-align: center;
    background-color: rgba(0, 122, 255, 0.1);
    flex: 1;
    margin: 0 10px;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    min-height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1.3;
}

.footer-button:hover {
    opacity: 0.8;
    background-color: rgba(0, 122, 255, 0.2);
}

.city_section {
  width: 365px;
  height: 16px;
  font-style: normal;
  font-weight: 700;
  font-size: 17px;
  line-height: 16px;
  letter-spacing: -0.5px;
  flex: none;
  order: 0;
  align-self: stretch;
  flex-grow: 0;
  margin-bottom: 15px;
}

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

/* Стили для контейнера с иконками */
.icons-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin: 15px 0;
  border-radius: 8px;
}

/* Контейнер для верхних навигационных иконок */
.content > .icons-container:first-child {
  margin-top: 0;
}

/* Стили для иконок */
.icon-item {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  transition: transform 0.2s ease;
  cursor: pointer;
  padding: 4px;
}

/* Стили для навигационных иконок */
.nav-icon {
  background-color: #ADABAB;
}

/* Специальный цвет для иконки event */
#eventIcon:not(.active-icon) {
  background-color: #F3912B;
}

/* Специальный цвет для иконки userevent */
#usereventIcon:not(.active-icon) {
  background-color: #F3912B;
}

/* Стили для категорий мероприятий */
.event-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  padding: 0 10px;
}

.event-category {
  box-sizing: border-box;
  padding: 2px 12px;
  height: 21px;
  background: #31C8FF;
  border: 1px solid #8CD9FF;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-category:hover {
  background: #1FB8EF;
  border-color: #7BC8E6;
}

.event-category.active {
  background: #0A84FF;
  border-color: #0A84FF;
}

.event-category-text {
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 16px;
  letter-spacing: -0.5px;
  color: #FFFFFF;
  white-space: nowrap;
}

/* Стили для иконок специалистов (увеличенный размер) */
.specialist-icon {
  width: 60px;
  height: 60px;
}

.icon-item:hover {
  transform: scale(1);
}

/* Активная иконка */
.active-icon {
  background-color: #0A84FF;
}

/* Стиль для подзаголовков подтипов специалистов */
.section__subtitle {
  font-size: 1.2em;
  color: #4e4e4e;
  margin: 15px 0 10px;
  padding-left: 10px;
  border-left: 3px solid #009dff;
}

/* Стиль для контейнера заголовков подтипов специалистов */
.section__item-row h2.section__item-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  gap: 4px;
  width: 100%;
  font-size: 1.2em;
  color: #4e4e4e;
  margin-bottom: 0;
}

/* Стили для SEO элементов */
.seo-content {
  display: none;
}

.footer {
  margin-top: 30px;
  padding: 20px 0;
  background-color: #f8f9fa;
  border-top: 1px solid #e9ecef;
}

.footer-container {
  max-width: 500px;
  margin: 0 auto;
  padding: 0 15px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-text {
  font-size: 12px;
  color: #6c757d;
  margin: 10px 0;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 10px;
}

.footer-link {
  font-size: 12px;
  color: #007bff;
  text-decoration: none;
  margin: 0 10px;
}

.footer-link:hover {
  text-decoration: underline;
}

.footer a {
  color: #007bff;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  .footer-nav {
    flex-direction: column;
    align-items: center;
  }

  .footer-link {
    margin: 5px 0;
  }
}

/* Стили для Cookie баннера */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    background-color: #007bff;
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cookie-banner p {
    margin-bottom: 10px;
    font-size: 14px;
}

.cookie-banner button {
    background-color: white;
    color: #007bff;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 5px;
    width: auto;
    min-width: 140px;
    white-space: normal;
    overflow: visible;
    line-height: 1.5;
}

.cookie-banner button:hover {
    background-color: #f0f0f0;
}

/* Стили для социальных сетей */
.social-networks-section {
    margin-bottom: 32px;
}

.social-networks-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0px 16px;
    gap: 26px; /* По умолчанию большой gap для малого количества иконок */
    /* max-width: 364px; */
    margin: 0 auto;
    border-radius: 8px;
    flex-wrap: nowrap; /* Запрещаем перенос элементов */
}

/* Уменьшаем gap если иконок больше 3 */
.social-networks-container:has(.social-network-item:nth-child(5)) {
    gap: 16px;
}

.social-networks-container + .social-networks-container {
    margin-top: 10px;
}

.social-network-item {
    display: flex;
    width: 53px;
    height: 53px;
    border-radius: 53px;
    text-decoration: none;
    flex-shrink: 0; /* Запрещаем сжиматься */
}

.social-network-icon {
    width: 53px;
    height: 53px;
    border-radius: 53px;
    object-fit: cover;
    flex-shrink: 0; /* Запрещаем сжиматься */
}

.social-network-placeholder {
    width: 53px;
    height: 53px;
    border-radius: 53px;
    background-color: #4F5B67;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
}

/* Стили для навигации тегов */
.tags-navigation {
  position: fixed;
  top: 125px;
  left: 0;
  width: 100%;
  background-color: white;
  padding: 10px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.tags-navigation .icons-container {
  display: flex;
  justify-content: space-around;
  padding: 0 15px;
}

/* Стили для контейнеров с контентом тегов */
.tag-content {
  opacity: 0;
  transform: translateX(15px);
  transition: opacity 0.3s, transform 0.3s;
  display: none;
}

.tag-content.active-content {
  opacity: 1;
  transform: translateX(0);
  display: block;
}


/* Фиксированная навигация */
/* .fixed-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
} */

/* Обновленные стили для иконок навигации */
.nav-icon {
  width: 36px;
  height: 36px;
  padding: 6px;
  border-radius: 50%;
  background-color: #ADABAB;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.nav-icon:hover {
  opacity: 0.8;
}

.nav-icon.active-icon {
  background-color: #0A84FF;
}

/* Индикатор свайпа для мобильных устройств */
@media (max-width: 768px) {
  .swipe-indicator {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: #aaa;
    display: flex;
    align-items: center;
    opacity: 0.7;
    transition: opacity 1s;
    animation: fadeInOut 2s infinite;
  }

  .swipe-indicator::before,
  .swipe-indicator::after {
    content: "";
    width: 10px;
    height: 1px;
    background-color: #aaa;
    display: inline-block;
    margin: 0 5px;
  }

  .swipe-indicator::before {
    transform: rotate(45deg);
  }

  .swipe-indicator::after {
    transform: rotate(-45deg);
  }

  @keyframes fadeInOut {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
  }
  
  .icons-container {
    position: relative;
    margin-bottom: 32px;
  }
}

.icons-container--two {
  justify-content: flex-start;
  gap: 16px; /* небольшой отступ между двумя иконками */
}

/* Убираем старые стили, которые мы добавляли ранее */
.icons-container--scroll {
  flex-wrap: wrap; /* По умолчанию разрешаем перенос для больших экранов */
  gap: 16px;
  justify-content: flex-start;
}

/* Новое адаптивное поведение только для телефонов */
@media (max-width: 767px) {
  .icons-container--scroll {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0 4px;
    /* Динамический gap так, чтобы влезало ровно 5,5 иконок */
    gap: calc((100% - (36px * 5.9)) / 4.5);
  }

  .icons-container--scroll::-webkit-scrollbar {
    display: none;
  }

  .icons-container--scroll .icon-item {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    padding: 0; /* Сбрасываем padding, чтобы размер был ровно 35px */
  }
}

.popup-container[data-popup-type="review"] .close-btn {
  position: absolute;
  left: 290px;
  /* Можно скорректировать значения по желанию */
}

.icons-container--scroll .specialist-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  min-height: 50px;
  max-width: 50px;
  max-height: 50px;
  padding: 0;
}

/* Стили для заголовков дат в мероприятиях пользователей */
.date-header {
  background-color: transparent !important;
  padding: 8px 10px !important;
}

.date-header .section__item-title {
  color: black !important;
  font-size: 1.2rem !important;
  font-weight: bold !important;
}

.header__icons-vertical {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
  margin-left: 20px;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .icons-container--scroll {
    display: flex;
    flex-wrap: nowrap;
    gap: 36px;
    width: 100%;
    overflow: visible;
  }
  /* Если 7 иконок — gap меньше */
  .icons-container--scroll:has(.icon-item:nth-child(7)) {
    gap: 18px;
  }
  /* Если 8 иконок — gap ещё меньше */
  .icons-container--scroll:has(.icon-item:nth-child(8)) {
    gap: 12px;
  }
  .icons-container--scroll .icon-item {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    max-width: 36px;
    max-height: 36px;
    padding: 0;
  }
}


