.carousel__wrapper {
  max-width: 1290px;
  margin: auto;

  @media (max-width: 1152px) {
    max-width: 620px;
  }

  @media (max-width: 767px) {
    max-width: 100%;
    width: 100%;
  }
}

.carousel__header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 30px;

  @media (max-width: 1152px) {
    margin-bottom: 20px;
  }

  @media (max-width: 767px) {
    margin-bottom: 20px;
    flex-flow: column;
    align-items: center;
  }
}

.carousel__header__title {
  font-weight: 600;
  font-size: 56px;
  line-height: 100%;
  letter-spacing: -0.01em;
  text-transform: uppercase;

  @media (max-width: 1152px) {
    font-size: 52px;
    line-height: 103%;
  }

  @media (max-width: 767px) {
    margin-bottom: 12px;
    font-size: 36px;
  }
}

.carousel__header__links {
  display: flex;
  align-items: center;
  gap: 20px;

  @media (max-width: 1152px) {
    gap: 12px;
  }
}

.carousel__header__text {
  font-weight: 300;
  font-size: 32px;
  line-height: 150%;
  letter-spacing: 0.03em;
  color: #fff;
  margin-left: auto;

  @media (max-width: 1152px) {
    font-size: 26px;
  }

  @media (max-width: 767px) {
    font-size: 20px;
  }
}

@media (hover: hover) {
  .carousel__header__text:hover {
    color: #ccc;
  }
}

.carousel__header__icon {
  padding: 5px;
  background: #363539;
  border-radius: 8px;

  @media (max-width: 1152px) {
    padding: 4px;
  }

  @media (max-width: 1152px) {
    border-radius: 6px;
    padding: 4px;
  }
}

.carousel_icon {
  width: 32px;
  aspect-ratio: 1;
  transition: all 0.3s;

  @media (max-width: 1152px) {
    width: 28px;
  }

  @media (max-width: 767px) {
    width: 26px;
  }
}

.insta_icon {
  background: url("../img/insta-icon.svg") center / cover;
}

@media (hover: hover) {
  .insta_icon:hover {
    background: url("../img/insta-icon-hover.svg") center / cover;
  }
}

.phone_icon {
  background: url("../img/phone.svg") center / cover;

  /* @media (hover: hover) {
	.insta_icon {
	background: url("../img/insta-icon-hover.svg") center / cover;
	}
	} */
}

.splide > ul {
  bottom: -30px;
}

.slide {
  display: flex;
  flex-wrap: wrap;
  gap: 50px 30px;

  & > * {
    flex-grow: 1;
    max-width: calc(100% / 3 - 30px / 3 * 2);
    width: calc(100% / 3 - 30px / 3 * 2);
  }

  @media (max-width: 1152px) {
    gap: 20px;

    & > * {
      max-width: calc(50% - 20px / 2);
      width: calc(50% - 20px / 2);
    }
  }

  @media (max-width: 767px) {
    padding: 16px;

    & > * {
      max-width: 100%;
      width: 100%;
    }
  }
}

.gallery__item {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: end;
  background: 100% / cover;
  height: fit-content;
}

@media (hover: hover) {
  .gallery__item:hover .gallery__item__footer__title {
    color: #cc984a;
  }

  .gallery__item:hover .gallery__item__footer::after {
    background-image: url("../img/arrow-gold.svg");
  }
}

.gallery__item__footer {
  background: #040207b2;
  width: 100%;
  padding: 5px 15px;
  position: relative;

  @media (max-width: 767px) {
    padding: 5px 12px;
  }
}

.gallery__item__footer::after {
  content: "";
  display: block;
  background-image: url("../img/arrow.svg");
  width: 36px;
  aspect-ratio: 1 / 1;
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translate(0, -50%);

  @media (max-width: 767px) {
    width: 32px;
  }
}

.gallery__item__footer__title {
  font-size: 20px;
  font-weight: 500;
  line-height: 30px;
  color: #fff;

  @media (max-width: 767px) {
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
  }
}

.gallery__item__footer__date {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #89898a;

  @media (max-width: 767px) {
    font-size: 14px;
    line-height: 150%;
  }
}

.markul {
  background-image: url("../img/gallery/markul.png");
}

.new-year {
  background-image: url("../img/gallery/new-year.png");
}

.retreat {
  background-image: url("../img/gallery/retreat.png");
}

.mumiy-troll {
  background-image: url("../img/gallery/mummy-troll.png");
}

.tatiana-kozlova {
  background-image: url("../img/gallery/tatiana-kozlova.png");
}

.karina {
  background-image: url("../img/gallery/karina.png");
}

.markul {
  background-image: url("../img/gallery/markul.png");
}

.valentines-day {
  background-image: url("../img/gallery/valentines-day.png");
}

.march8 {
  background-image: url("../img/gallery/march8.png");
}

.markul03 {
  background-image: url("../img/gallery/markul03.png");
}

.dzhigurda {
  background-image: url("../img/gallery/dzhigurda.png");
}

.kristina-si {
  background-image: url("../img/gallery/kristina-si.png");
}

.kids-party {
  background-image: url("../img/gallery/kids-party.png");
}

.krec-gallery {
  background-image: url("../img/gallery/krec-gallery.png");
}

.red-wood {
  background-image: url("../img/gallery/red-wood.png");
}

.kids-party2 {
  background-image: url("../img/gallery/kids-party2.png");
}

.wine-tasting {
  background-image: url("../img/gallery/wine-tasting.png");
}

.padel-party {
  background-image: url("../img/gallery/padel-party.png");
}

.rus-thai {
  background-image: url("../img/gallery/rus-thai.png");
}

.dan-ilya {
  background-image: url("../img/gallery/dan-ilya.png");
}

.vasiliev {
  background-image: url("../img/gallery/vasiliev.png");
}

.master-class {
  background-image: url("../img/gallery/master-class.png");
}

.prime-time {
  background-image: url("../img/gallery/prime-time.png");
}

.halloween_gallery {
  background-image: url("../img/gallery/halloween_gallery.png");
}

.padl-bay {
  background-image: url("../img/gallery/padl-bay.png");
}

.new-year_25 {
  background-image: url("../img/gallery/new-year_25.png");
}

.rybakov_gallery {
  background-image: url("../img/gallery/rybakov_gallery.png");
}

.soso_gallery {
  background-image: url("../img/gallery/soso_gallery.png");
}

.affiche__item {
  display: flex;
  align-items: normal;
  flex-flow: column;
  gap: 20px;
  cursor: pointer;
  background: #040207;
  color: #fff;
}

@media (hover: hover) {
  .affiche__item:hover .affiche__item__date {
    color: #cc984a;
  }

  .affiche__item:hover .affiche__item__title {
    color: #cc984a;
  }

  .affiche__item:hover .affiche__item__arrow {
    background-image: url("../img/arrow-gold.svg");
  }
}

.affiche__item__image {
  width: 100%;
  aspect-ratio: 1;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.affiche__item__footer {
  display: flex;
  gap: 16px;
  align-items: center;
  text-align: left;
}

.affiche__item__date {
  font-weight: 600;
  font-size: 60px;
  line-height: 103%;
  letter-spacing: -0.01em;
  text-transform: uppercase;

  @media (max-width: 1152px) {
    font-size: 42px;
  }

  @media (max-width: 767px) {
    font-size: 36px;
    line-height: 100%;
  }
}

.affiche__item__title {
  font-weight: 500;
  font-size: 24px;
  line-height: 150%;
  text-wrap: nowrap;

  @media (max-width: 1152px), (max-width: 767px) {
    font-size: 16px;
  }
}

.affiche__item__description {
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #89898a;
  text-wrap: nowrap;
  text-transform: capitalize;

  @media (max-width: 1152px), (max-width: 767px) {
    font-size: 12px;
  }
}

.affiche__item__arrow {
  width: 46px;
  height: 28px;
  background: center / cover;
  background-image: url("../img/arrow.svg");
  margin-left: auto;
  margin-right: 8px;

  @media (max-width: 1152px), (max-width: 767px) {
    width: 30px;
    height: 18px;
    margin-right: 6px;
  }
}

.every_thursday {
  background-image: url("../img/affiche/every_thursday.jpg");
}

.live_music_8 {
  background-image: url("../img/affiche/live_music_8.jpg");
}

.divo {
  background-image: url("../img/affiche/divo.jpg");
}

.movie_night_john_wick {
  background-image: url("../img/affiche/movie_night_john_wick.jpg");
}

.business_breakfast {
  background-image: url("../img/affiche/business_breakfast.jpg");
}

.russian_party {
  background-image: url("../img/affiche/russian_party.jpg");
}

.quiz_37 {
  background-image: url("../img/affiche/quiz_37.jpg");
}

.kids_party_mimishki {
  background-image: url("../img/affiche/kids_party_mimishki.jpg");
}

.movie_night_f1 {
  background-image: url("../img/affiche/movie_night_f1.jpg");
}

.kids_party_spider_man {
  background-image: url("../img/affiche/kids_party_spider_man.jpg");
}

.movie_night_robot {
  background-image: url("../img/affiche/movie_night_robot.jpg");
}

.spirit_of_shaman {
  background-image: url("../img/affiche/spirit_of_shaman.jpg");
}

.elina_nasibullina {
  background-image: url("../img/affiche/elina_nasibullina.jpg");
}

.kids_party_minecraft {
  background-image: url("../img/affiche/kids_party_minecraft.jpg");
}

.live_music_9 {
  background-image: url("../img/affiche/live_music_9.jpg");
}

.busters_mafia {
  background-image: url("../img/affiche/busters_mafia.jpg");
}

.dinner {
  background-image: url("../img/affiche/dinner.jpg");
}

.business_diagnostics {
  background-image: url("../img/affiche/business_diagnostics.jpg");
}

.black_empire {
  background-image: url("../img/affiche/black_empire.jpg");
}

.kino {
  background-image: url("../img/affiche/kino.jpg");
}

.movie_night_sherlock {
  background-image: url("../img/affiche/movie_night_sherlock.jpg");
}

.polonskii {
  background-image: url("../img/affiche/polonskii.jpg");
}

.live_music_10 {
  background-image: url("../img/affiche/live_music_10.jpg");
}

.aura_ra {
  background-image: url("../img/affiche/aura_ra.jpg");
}

.quiz_38 {
  background-image: url("../img/affiche/quiz_38.jpg");
}

.movie_night_pulp_fiction {
  background-image: url("../img/affiche/movie_night_pulp_fiction.jpg");
}

.business_breakfast_2 {
  background-image: url("../img/affiche/business_breakfast_2.jpg");
}

.busters_mafia_2 {
  background-image: url("../img/affiche/busters_mafia_2.jpg");
}

.guf {
  background-image: url("../img/affiche/guf.jpeg");
}

.meladze {
  background-image: url("../img/affiche/meladze.jpg");
}

.lebedev {
  background-image: url("../img/affiche/lebedev.jpeg");
}

.divo_2 {
  background-image: url("../img/affiche/divo_2.jpg");
}

.kids_party_candy {
  background-image: url("../img/affiche/kids_party_candy.jpg");
}

.movie_night_moulin {
  background-image: url("../img/affiche/movie_night_moulin.jpg");
}

.live_music_11 {
  background-image: url("../img/affiche/live_music_11.jpg");
}

.quiz_39 {
  background-image: url("../img/affiche/quiz_39.jpg");
}

.quiz_40 {
  background-image: url("../img/affiche/quiz_40.jpg");
}

.movie_night_ted {
  background-image: url("../img/affiche/movie_night_ted.jpg");
}

.cash_flow {
  background-image: url("../img/affiche/cash_flow.jpg");
}

.hill_club {
  background-image: url("../img/affiche/hill_club.jpg");
}

.kids_party_halloween {
  background-image: url("../img/affiche/kids_party_halloween.jpg");
}

.quiz_41 {
  background-image: url("../img/affiche/quiz_41.jpg");
}

.quiz_42 {
  background-image: url("../img/affiche/quiz_42.jpg");
}

.movie_night_escape {
  background-image: url("../img/affiche/movie_night_escape.jpg");
}

.skull {
  background-image: url("../img/affiche/skull.jpg");
}

.bdsm_halloween {
  background-image: url("../img/affiche/bdsm_halloween.jpg");
}

.sergienko {
  background-image: url("../img/affiche/sergienko.jpg");
}

.business_breakfast_3 {
  background-image: url("../img/affiche/business_breakfast_3.jpg");
}
