/* Афиша Bitrix — поверх affiche.css / events.css / index.css */

.affiche-page .affiche-hero.nav {
  min-height: 600px;
  height: 600px;
  padding-bottom: 0;
  overflow: hidden;
  box-sizing: border-box;
}

.affiche-page .affiche-hero .nav__slider,
.affiche-page .affiche-hero .nav__slider-wrap,
.affiche-page .affiche-hero .nav__slide,
.affiche-page .affiche-hero .nav__wrapper {
  min-height: 600px;
}

@media (max-width: 1280px) {
  .affiche-page .affiche-hero.nav {
    height: 480px;
    min-height: 480px;
    padding-bottom: 0;
  }

  .affiche-page .affiche-hero .nav__slider,
  .affiche-page .affiche-hero .nav__slider-wrap,
  .affiche-page .affiche-hero .nav__slide,
  .affiche-page .affiche-hero .nav__wrapper {
    min-height: 480px;
  }
}

@media (max-width: 768px) {
  .affiche-page .affiche-hero.nav {
    height: 360px;
    min-height: 360px;
    padding-bottom: 0;
  }

  .affiche-page .affiche-hero .nav__slider,
  .affiche-page .affiche-hero .nav__slider-wrap,
  .affiche-page .affiche-hero .nav__slide,
  .affiche-page .affiche-hero .nav__wrapper {
    min-height: 360px;
  }
}

.affiche-page .nav__mid-link {
  color: #fff;
  text-decoration: none;
}

.affiche-page .nav__bottom-link {
  text-decoration: none;
}

.affiche-empty {
  padding: 1.5rem 0;
  grid-column: 1 / -1;
}

/* Фильтр по дате */
.affiche-page .activities__card.is-date-hidden {
  display: none !important;
}

.affiche-page .calendar .calendar__slider-wrap {
  cursor: default;
}

.affiche-page .calendar .calendar__btn {
  position: relative;
  min-width: 36px;
  padding: 4px 2px;
  cursor: default;
  opacity: 0.35;
}

.affiche-page .calendar .calendar__btn .date {
  font-weight: 400 !important;
  color: #a7a5a6 !important;
}

.affiche-page .calendar .calendar__btn--has-events {
  cursor: pointer;
  opacity: 1;
}

.affiche-page .calendar .calendar__btn--has-events .date {
  font-weight: 700 !important;
  color: #231f20 !important;
}

.affiche-page .calendar .calendar__btn--active {
  opacity: 1;
}

.affiche-page .calendar .calendar__btn--active .date {
  font-weight: 700 !important;
  color: #27a4e3 !important;
}

.affiche-page .calendar .calendar__btn--active .day:not(.dateWeekend) {
  color: #27a4e3 !important;
}

.affiche-page .calendar .calendar__btn[disabled] {
  pointer-events: none;
}

/* Вкладки месяцев в расписании деталки — как events.html (фиолетовое подчёркивание) */
.affiche-detail .event-schedule .tabs__lst.lst-reset {
  display: flex;
  position: relative;
  max-width: none;
  margin: 0 0 -1px;
  padding: 0;
  gap: 24px;
  font-size: 17px;
  line-height: 30px;
  list-style: none;
  border-bottom: 1px solid #d9d9d9;
}

.affiche-detail .event-schedule .tabs__itm {
  margin: 0;
  list-style: none;
}

.affiche-detail .event-schedule .tabs__btn.btn-reset {
  display: inline-block;
  padding: 0 0 11px;
  margin: 0;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  background: transparent;
  color: #231f20;
  font-size: 17px;
  line-height: 30px;
  cursor: pointer;
  box-shadow: none;
}

.affiche-detail .event-schedule .tabs__btn.btn-reset.tabs__btn--active {
  color: #440d83;
  border-bottom: 3px solid #440d83;
  background: transparent;
}

/* Деталка события — как events.html / Figma */
.affiche-event-hero.nav {
  position: relative;
  min-height: 600px;
  color: #fff;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.affiche-event-hero.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(20, 24, 40, 0.60) 0%,
    rgba(20, 24, 40, 0.16) 38%,
    rgba(20, 24, 40, 0.68) 100%
  );
}

.affiche-event-hero .nav__wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  padding: 24px 36px 40px;
  min-height: 600px;
  flex-direction: column;
}

.affiche-detail .container {
  max-width: 1440px;
  padding-left: 36px;
  padding-right: 36px;
  box-sizing: border-box;
}

.affiche-detail .event__wrapper {
  padding: 39px 0 43px;
}

.affiche-detail .event__inf-left {
  padding-right: 1em;
}

.affiche-event-hero .nav__content {
  display: flex;
  min-height: 0;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

.affiche-event-hero .nav__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.affiche-event-hero .nav__content-link {
  display: inline-flex !important;
  align-items: center;
  width: fit-content;
  margin: 0 0 28px;
  color: #fff;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
}

.affiche-event-hero .nav__content-link svg {
  margin-right: 5px;
  flex-shrink: 0;
  vertical-align: bottom;
}

.affiche-event-hero .nav__content-link span {
  padding-bottom: 3px;
  border-bottom: 1px solid #fff;
}

.affiche-event-hero .dscr-lst {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 0;
  color: #fff;
  list-style: none;
  font-size: 24px;
  line-height: 1.2;
}

.affiche-event-hero .dscr-lst__itm {
  display: inline-flex;
  align-items: center;
  list-style: none;
}

.affiche-event-hero .dscr-lst__itm::marker,
.affiche-event-hero #dscr-1::marker,
.affiche-event-hero #dscr-2::marker,
.affiche-event-hero #dscr-3::marker {
  content: none;
}

/* Десктоп и планшет: · между датой, временем и местом, без иконок */
.affiche-event-hero #dscr-1::before {
  content: none;
}

.affiche-event-hero #dscr-2::before,
.affiche-event-hero #dscr-3::before {
  content: "·";
  display: inline-block;
  margin-right: 12px;
  font-weight: 400;
}

.affiche-event-hero #dscr-1,
.affiche-event-hero #dscr-2,
.affiche-event-hero #dscr-3 {
  margin: 0 28px 0 0;
  padding: 0;
  flex-basis: auto;
}

.affiche-event-hero .nav__ttl {
  margin: 0;
  padding: 20px 0 0;
  max-width: 70%;
  color: #fff;
  font-family: "CanelaDeck", Georgia, serif;
  font-size: 72px;
  font-weight: 500;
  line-height: 80px;
}

.affiche-event-hero .nav__bottom-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 244px;
  margin-top: 40px;
  padding: 25px 31px;
  font-size: 18px;
  line-height: 1;
  color: #231f20;
  background-color: #fff;
  border-radius: 33px;
  text-decoration: none;
}

.affiche-event-hero .nav__bottom-link span {
  margin-right: 10px;
}

.affiche-detail .event__txt.event__txt--g > p:first-child {
  margin-top: 0;
}

.affiche-detail .event__txt p {
  margin: 0 0 1em;
}

@media (min-width: 1025px) {
  .affiche-detail .accordion-content {
    display: block;
    max-height: none !important;
    opacity: 1;
    overflow: visible;
  }
}

.affiche-detail .accordion-control svg {
  margin-left: 8px;
  vertical-align: middle;
}

.affiche-related {
  padding-bottom: 3rem;
}

/*
 * Расписание на деталке: в affiche.css те же классы (.calendar__lst li { width:43px })
 * заточены под полоску дат списка — здесь сбрасываем и возвращаем вёрстку events.html.
 */
.affiche-detail .event-schedule.calendar {
  position: static;
  padding-bottom: 0;
  background-color: #ffffff;
}

.affiche-detail .event-schedule .calendar__wrapper {
  padding: 38px 0;
  min-height: 0;
  flex-direction: column;
  align-items: stretch;
}

.affiche-detail .event-schedule .tabs {
  width: 100%;
}

.affiche-detail .event-schedule .tabs__lst {
  max-width: none;
  margin-bottom: 0;
}

.affiche-detail .event-schedule .tabs__content {
  display: none;
  width: 100%;
}

.affiche-detail .event-schedule .tabs__content--active {
  display: block;
  width: 100%;
}

.affiche-detail .event-schedule .calendar__lst {
  display: block;
  width: 100%;
  flex-grow: 1;
  margin: 0;
  padding: 0;
}

.affiche-detail .event-schedule .calendar__lst > li,
.affiche-detail .event-schedule .calendar__itm {
  display: flex;
  width: auto;
  max-width: none;
  margin-right: 0;
  margin-left: 0;
  padding: 36px 0;
  text-align: left;
  align-items: flex-start;
  border-bottom: 1px solid #8697c1;
  list-style: none;
}

.affiche-detail .event-schedule .calendar__itm:first-child {
  border-top: 1px solid #8697c1;
}

.affiche-detail .event-schedule .calendar__itm:nth-child(2) {
  padding: 36px 0;
  align-items: flex-start;
}

.affiche-detail .event-schedule .calendar__date {
  flex: 0 0 27.3%;
  max-width: 27.3%;
  display: flex;
  align-items: flex-start;
  margin-right: 10px;
}

.affiche-detail .event-schedule .calendar__date-num {
  margin: -0.06em 16px 0 0;
  font-family: "RedHatMono", monospace;
  font-size: 52px;
  font-weight: 500;
  line-height: 1;
}

.affiche-detail .event-schedule .calendar__days {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 0;
}

.affiche-detail .event-schedule .calendar__day {
  font-size: 12px;
  line-height: 1;
  text-transform: uppercase;
  color: inherit;
}

.affiche-detail .event-schedule .calendar__month {
  margin-top: 4px;
  font-size: 17px;
  line-height: 1.2;
}

.affiche-detail .event-schedule .calendar__itm-right {
  display: flex;
  flex: 1 1 72%;
  align-items: flex-start;
  min-width: 0;
}

.affiche-detail .event-schedule .calendar__itm-wrap {
  display: flex;
  flex-direction: column;
  flex: 1 1 72%;
  min-height: 130px;
  justify-content: space-between;
  gap: 16px;
}

.affiche-detail .event-schedule .calendar__time-wrap {
  flex: 0 0 19.7%;
  font-size: 16px;
  line-height: 24px;
}

.affiche-detail .event-schedule .calendar__loc-wrap {
  flex: 1 1 56%;
  min-width: 0;
  font-size: 16px;
  line-height: 24px;
  color: #a7a5a6;
}

.affiche-detail .event-schedule .calendar__price-wrap {
  flex: 0 0 auto;
  margin-left: auto;
}

.affiche-detail .event-schedule .calendar__price {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  height: 44px;
  min-height: 44px;
  width: auto !important;
  min-width: 168px !important;
  max-width: none !important;
  padding: 0 18px;
  font-size: 16px;
  line-height: 24px;
  white-space: nowrap !important;
  text-align: center;
  text-decoration: none;
  color: #ffffff;
  background: #440d83;
  border-radius: 2px;
}

.affiche-detail .event-schedule .calendar__month--mob,
.affiche-detail .event-schedule .calendar__day--mob,
.affiche-detail .event-schedule .calendar__loc--mob,
.affiche-detail .event-schedule .calendar__price--mob {
  display: none;
}

@media (max-width: 1024px) {
  .affiche-detail .event-schedule .calendar__wrapper {
    padding: 15px 0;
  }

  .affiche-detail .event-schedule .calendar__date {
    flex: 0 0 auto;
    max-width: none;
    flex-direction: column;
    align-items: center;
    margin-right: 8px;
  }

  .affiche-detail .event-schedule .calendar__date-num {
    margin: 0;
    font-size: 36px;
    line-height: 36px;
  }

  .affiche-detail .event-schedule .calendar__month--mob {
    display: block;
    font-size: 15px;
    font-weight: 500;
    line-height: 20px;
  }

  .affiche-detail .event-schedule .calendar__days {
    display: none;
  }

  .affiche-detail .event-schedule .calendar__itm,
  .affiche-detail .event-schedule .calendar__itm:nth-child(2) {
    padding: 24px 0;
    align-items: flex-start;
  }

  .affiche-detail .event-schedule .calendar__itm-right {
    flex-direction: column;
    flex: 1 1 auto;
    align-items: flex-start;
    gap: 8px;
  }

  .affiche-detail .event-schedule .calendar__itm-wrap {
    min-height: 0;
    padding: 0;
  }

  .affiche-detail .event-schedule .calendar__time-wrap,
  .affiche-detail .event-schedule .calendar__loc-wrap {
    flex: none;
    width: 100%;
  }

  .affiche-detail .event-schedule .calendar__day--mob,
  .affiche-detail .event-schedule .calendar__loc--mob {
    display: inline;
  }

  .affiche-detail .event-schedule .calendar__loc {
    display: none;
  }

  .affiche-detail .event-schedule .calendar__price-wrap {
    margin-left: 0;
  }
}

/* Карточки с inline background-image */
.affiche-page .activities__card {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.affiche-page .activities__label,
.affiche-page .activities__price,
.affiche-related .activities__label,
.affiche-related .activities__price {
  padding: 3px 8px;
  font-size: 13px;
  line-height: 1.2;
  border: 1px solid #ffffff;
  border-radius: 100px;
}

.affiche-page .activities__cards,
.affiche-related .activities__cards {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-right: 0;
}

/* Иначе .affiche-page .activities__cards { display:flex } сильнее .tabs__content { display:none }
   и все вкладки рисуются стопкой — клик по тегу ничего не фильтрует. */
.affiche-page .activities__tabs > .tabs__content {
  display: none;
}

.affiche-page .activities__tabs > .tabs__content.tabs__content--active {
  display: flex;
}

.affiche-page .activities__cards .activities__card,
.affiche-related .activities__cards .activities__card {
  margin-right: 0;
  margin-bottom: 0;
}

/* Показать ещё: скрываем лишние в активной вкладке */
.affiche-page .activities__tabs > .activities__cards {
  padding-top: 0;
}

.affiche-page .calendar-cards.is-collapsed .activities__card:nth-child(n+7),
.affiche-page .activities__tabs .is-collapsed .activities__card:nth-child(n+7) {
  display: none;
}

.affiche-detail .event__left .sirius-sprint-blocks {
  width: 100%;
}

/*
 * index.css (.btn-reset) грузится ПОСЛЕ Asset CSS и обнуляет border/padding.
 * Пилюли фильтров и кнопки календаря нужно вернуть явно.
 */
.affiche-page .activities__btn.btn-reset,
.affiche-page button.activities__btn {
  padding: 9px 15px 10px;
  background-color: #ffffff;
  border: 1px solid #2a2740;
  border-radius: 43px;
  color: #231f20;
  line-height: 1.2;
  cursor: pointer;
}

.affiche-page .activities__btn.tabs__btn--active,
.affiche-page button.activities__btn.tabs__btn--active {
  background-color: #231f20;
  color: #ffffff;
  border-color: #231f20;
}

.affiche-page .activities__lst.flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding-top: 11px;
  padding-bottom: 0;
  margin-bottom: 40px;
  gap: 0;
}

.affiche-page .calendar.flex {
  display: flex;
  position: relative;
  padding-bottom: 115px;
  min-height: 1px;
}

.affiche-page .calendar--has-prev .calendar__slider-wrap {
  left: 28px;
}

.affiche-page .calendar__slider-wrap {
  position: absolute;
  top: 0;
  left: 0;
  right: 40px;
  max-width: 97%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  cursor: grab;
}

.affiche-page .calendar__lst.flex {
  display: flex;
  flex-wrap: nowrap;
}

.affiche-page .calendar__btn.btn-reset {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  border: none;
  background: transparent;
  color: inherit;
}

.affiche-page .activities__btn-more.btn-reset {
  display: block;
  margin: 0 auto 2rem;
  padding: 12px 28px;
  border: 1px solid #2a2740;
  border-radius: 43px;
  background: #fff;
  color: #231f20;
}

.affiche-page .activities__btn-more.btn-reset[hidden] {
  display: none;
}

@media (max-width: 1024px) {
  .affiche-page .activities__lst.flex {
    position: relative;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-top: 0;
    padding-bottom: 0;
    margin: 0 0 20px;
  }

  .affiche-page .activities__tabs > .activities__cards,
  .affiche-page .activities__tabs .calendar-cards {
    padding-top: 0;
    padding-right: 0;
  }

  .affiche-page .calendar.flex {
    padding-bottom: 100px;
  }

  .affiche-page .activities__card {
    max-width: 100%;
  }
}

@media (max-width: 1024px) {
  .affiche-event-hero .nav__wrapper {
    padding: 24px 20px 36px;
  }

  .affiche-event-hero .nav__content {
    min-height: 0;
  }

  .affiche-event-hero .nav__content-link {
    display: inline-flex !important;
  }

  .affiche-event-hero .nav__ttl {
    max-width: 100%;
    padding-top: 16px;
    font-size: 48px;
    line-height: 54px;
  }

  .affiche-event-hero .dscr-lst {
    padding-left: 0;
    font-size: 18px;
    line-height: 23px;
  }

  .affiche-event-hero #dscr-1,
  .affiche-event-hero #dscr-2,
  .affiche-event-hero #dscr-3 {
    padding-left: 0;
    flex-basis: auto;
  }

  .affiche-event-hero #dscr-1::marker,
  .affiche-event-hero #dscr-3::marker {
    content: none;
  }
}

@media (max-width: 768px) {
  .affiche-event-hero #dscr-1::before,
  .affiche-event-hero #dscr-3::before {
    content: "";
    display: inline-block;
    flex-shrink: 0;
    margin-right: 8px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
  }

  .affiche-event-hero #dscr-1::before {
    width: 15px;
    height: 15px;
    background-image: url(../img/events-dscr-1.svg);
  }

  .affiche-event-hero #dscr-2::before {
    content: "·";
  }

  .affiche-event-hero #dscr-3 {
    flex-basis: 100%;
  }

  .affiche-event-hero #dscr-3::before {
    width: 14px;
    height: 17px;
    background-image: url(../img/events-dscr-2.svg);
  }
}

@media (max-width: 900px) {
  .affiche-page .activities__cards {
    margin-right: 0;
    gap: 16px;
  }

  .affiche-page .activities__card,
  .affiche-page .activities__cards .activities__card {
    flex-basis: 100%;
    margin: 0;
    min-height: 240px;
  }

  .affiche-page .swiper-wrapper {
    max-width: 100%;
  }

  .affiche-page .calendar__slider-wrap {
    right: 0;
    max-width: 100%;
  }

}

@media (max-width: 480px) {
  .affiche-page .activities__cards,
  .affiche-related .activities__cards {
    gap: 16px;
  }

  .affiche-page .activities__cards .activities__card,
  .affiche-related .activities__cards .activities__card {
    margin: 0;
  }
}

@media (max-width: 1280px) {
  .affiche-detail .container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .affiche-event-hero .nav__wrapper {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 768px) {
  .affiche-page .nav__wrapper {
    padding: 40px 20px 32px;
  }

  .affiche-detail .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .affiche-event-hero .nav__wrapper {
    padding-left: 20px;
    padding-right: 20px;
  }

  .affiche-detail .event-schedule .tabs__lst.lst-reset {
    overflow-x: auto;
    gap: 16px;
  }
}

/* Ревью: hero как у других разделов, заголовок сверху, overflow, стрелки календаря */
.affiche-page .affiche-hero,
.affiche-page .affiche-hero .nav__slider,
.affiche-page .affiche-hero .nav__slide {
  overflow: hidden;
}

.affiche-page .affiche-hero.nav,
.affiche-page .affiche-hero .nav__slider,
.affiche-page .affiche-hero .nav__slider-wrap,
.affiche-page .affiche-hero .nav__slide,
.affiche-page .affiche-hero .nav__wrapper {
  min-height: 600px;
}

.affiche-page .affiche-hero .nav__slider {
  position: relative;
}

.affiche-page .affiche-hero .nav__wrapper {
  padding: 48px 32px 52px;
  justify-content: flex-end;
  box-sizing: border-box;
}

.affiche-page .affiche-hero .nav__bottom {
  margin-top: auto;
}

.affiche-page .affiche-hero__title {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 2;
  pointer-events: none;
}

.affiche-page .affiche-hero__title .nav__wrapper {
  min-height: 0;
  height: auto;
  padding-bottom: 0;
  justify-content: flex-start;
}

.affiche-page .affiche-hero .nav__slider-control {
  position: relative;
  z-index: 3;
}

.affiche-page .affiche-hero .nav__mid {
  margin-bottom: 0;
  padding: 0;
  min-height: 0;
}

.affiche-page .affiche-hero .nav__ttl {
  padding: 0;
  margin: 0;
  font-family: "CanelaDeck", Georgia, serif;
  font-weight: 500;
  font-size: clamp(48px, 8vw, 88px);
  line-height: 1.05;
}

@media (max-width: 768px) {
  .affiche-page .affiche-hero .nav__wrapper {
    padding: 40px 20px 32px;
  }

  .affiche-page .affiche-hero__title .nav__wrapper {
    padding-bottom: 0;
  }
}

.affiche-page .nav__bottom-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.affiche-page .calendar__control {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  pointer-events: none;
}

.affiche-page .calendar > .calendar__btn-prev,
.affiche-page .calendar__btn-next {
  pointer-events: auto;
  position: relative;
  width: 20px;
  height: 20px;
  background-image: url(../img/calendar-cntrl.svg);
  background-size: cover;
  background-repeat: no-repeat;
}

.affiche-page .calendar > .calendar__btn-prev {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
  transform: translateY(47px) scaleX(-1);
}

.affiche-page .calendar__btn-next {
  transform: translate(-7px, 47px);
}

.affiche-page .calendar > .calendar__btn-prev[hidden],
.affiche-page .calendar__btn-next[hidden] {
  display: none !important;
}

.affiche-page .calendar > .calendar__btn-prev::before,
.affiche-page .calendar__btn-next::before {
  pointer-events: none;
}

.affiche-page .calendar > .calendar__btn-prev::before {
  position: absolute;
  content: "";
  height: 50px;
  width: 100px;
  top: -50%;
  right: 100%;
  background: linear-gradient(
    270deg,
    #ffffff 0%,
    rgba(255, 255, 255, 0.92) 36.08%,
    rgba(255, 255, 255, 0.64) 69.48%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: 1;
}

.affiche-detail .accordion-control.btn-reset {
  display: none;
}

@media (max-width: 1024px) {
  .affiche-detail .accordion-control.btn-reset {
    display: inline-flex;
    align-items: center;
    margin: 20px 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #27a4e3;
    font-size: 16px;
    line-height: 20px;
    cursor: pointer;
    border-bottom: 1px dashed #27a4e3;
  }

  .affiche-detail .accordion-control.btn-reset[hidden] {
    display: none;
  }

  .affiche-detail .accordion-control svg {
    display: none;
  }
}

.affiche-related .activities__card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
}

/* Фильтры «Площадка» / «Стоимость» (ТЗ: спорт — по дате, стоимости, месту) */
.affiche-page .affiche-filters.flex {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  margin: -40px 0 24px;
}

.affiche-page .affiche-filters__field {
  display: flex;
  flex-direction: column;
  margin: 0 16px 12px 0;
  min-width: 220px;
  max-width: 100%;
}

.affiche-page .affiche-filters__label {
  margin-bottom: 6px;
  font-size: 14px;
  color: #6f6c7a;
}

.affiche-page .affiche-filters__select {
  max-width: 420px;
  min-height: 42px;
  padding: 9px 36px 10px 15px;
  border: 1px solid #2a2740;
  border-radius: 43px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23231f20' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") no-repeat right 15px center;
  color: #231f20;
  font: inherit;
  line-height: 1.2;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.affiche-page .affiche-filters__reset.btn-reset {
  margin: 0 0 12px;
  padding: 10px 4px;
  color: #27a4e3;
  text-decoration: underline;
  cursor: pointer;
}

.affiche-page .affiche-filters__reset[hidden] {
  display: none;
}

@media (max-width: 1024px) {
  .affiche-page .affiche-filters.flex {
    margin-top: -24px;
  }
}

@media (max-width: 600px) {
  .affiche-page .affiche-filters__field {
    width: 100%;
    margin-right: 0;
  }

  .affiche-page .affiche-filters__select {
    max-width: 100%;
  }
}
