html {
  height: auto;
}

/* -- Global -- */

/* @media (min-width: 990px) {
  :root {
    --size: 1600;
  }

  html {
    height: auto !important;
    -ms-overflow-style: none;
    scrollbar-width: none;
    font-size: calc(15.8 * 100vw / var(--size));
    -webkit-text-size-adjust: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
} */

/* -- Media -- */

@media only screen and (max-width: 1172px) {
  [value-box="wrapper"] .text-m {
    font-size: 16px;
  }

  [value-box="wrapper"] {
    max-width: 17.5rem;
  }
}

@media only screen and (max-width: 1090px) {
  [value-box="wrapper"] .text-m {
    font-size: 15px;
  }

  [value-box="wrapper"] {
    max-width: 16.25rem;
  }
}

@media only screen and (max-width: 991px) {
  [value-box="wrapper"] {
    max-width: unset !important;
  }

  .film_case-part.is--films_slider::before {
    content: "";
    position: absolute;
    z-index: 3;
    pointer-events: none;
    width: 15%;
    opacity: 0.65;
    top: 0;
    height: 100%;
    left: -7.5%;
    background: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0) 100%);
  }

  .film_case-part.is--films_slider::after {
    content: "";
    position: absolute;
    z-index: 3;
    pointer-events: none;
    width: 15%;
    opacity: 0.65;
    top: 0;
    height: 100%;
    right: -7.5%;
    background: linear-gradient(270deg, #000 0%, rgba(0, 0, 0, 0) 100%);
  }

  .swiper-cover.is--film_posters .swiper {
    overflow: visible;
  }
}

@media only screen and (max-width: 767px) {
}

@media only screen and (max-width: 479px) {
}

/* -- Keyframe Animations -- */

/* Animations */

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

@keyframes marqueeXReverse {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes marquee2 {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-100%);
  }
}

@keyframes marqueeRev {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(100%);
  }
}

@media only screen and (max-width: 991px) {
  @keyframes marquee2 {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-100%);
    }
  }
  @keyframes marqueeRev {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(100%);
    }
  }
}

/* News Swiper Styling */

.sw-bullets .swiper-pagination-bullet {
  transition: all 300ms ease;
  border-radius: 2rem !important;
  height: 0.425rem !important;
  width: 0.425rem;
  background-color: #ffffff;
  opacity: 0.5;
}

.sw-bullets .swiper-pagination-bullet.swiper-pagination-bullet-active {
  width: 1.25rem !important;
  background-color: #ffffff;
  opacity: 1;
}

.swiper-slide.is--article {
  transform: scale(0.875);
  transition: opacity 550ms ease;
  transition: transform 500ms cubic-bezier(0.77, 0, 0.175, 1);
}

.swiper-slide.is--article .news_card-overflow {
  transition: opacity 550ms ease;
  opacity: 0.8;
}

.swiper-slide.is--article.is--active .news_card-overflow {
  opacity: 0 !important;
}

.swiper-slide.is--article.is--active {
  transform: scale(1);
}

/* Card Animations On Hover */

.news_card-more {
  transition: all 350ms cubic-bezier(0.77, 0, 0.175, 1);
}

.news_card-fshape {
  transition: all 350ms cubic-bezier(0.77, 0, 0.175, 1);
}

.news_card-bshape {
  transition: all 350ms cubic-bezier(0.77, 0, 0.175, 1);
}

.news_media-front img {
  transition: all 350ms cubic-bezier(0.77, 0, 0.175, 1);
}

.news_card-wrapper:hover .news_card-more {
  border-color: white;
}

.news_card-wrapper:hover .news_card-fshape {
  transform: translate(100%, 0px) rotate(-90deg);
}

.news_card-wrapper:hover .news_card-bshape {
  transform: translate(0%, 0px) rotate(0deg);
}

/* .news_card-wrapper:hover .news_media-front img {
  transform: scale(1.1);
} */

/* Animation's usage */

.news_vmarquee-line {
  animation: marquee 15s linear infinite;
}

.marquee-line.is--new_labels {
  gap: 2rem;
  padding-right: 2rem;
  flex: 0 0 auto;
  animation: marquee 25s linear infinite;
}

[reverse-direction="true"] {
  justify-content: flex-end;
}

[reverse-direction="true"] .marquee-line.is--new_labels {
  animation: marqueeXReverse 25s linear infinite;
}

.no-scroll {
  overflow: hidden;
}

.news_side-box_content {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

.news_side-box_content::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

/* Video Container */

[video-container-enabled="false"] {
}

[video-container-enabled="true"] {
  position: relative;
}

[video-container-enabled="true"]::after {
  content: "";
  position: absolute;
  bottom: 0rem;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 0.5;
  transition: all 400ms ease;
  z-index: 20;
  pointer-events: auto;
}

[video-popup="player"] {
  object-fit: cover;
}

/* Video Popup */

[video-popup-container] {
  transition: all 350ms ease;
  display: flex;
}

[video-popup-close] {
  transition: all 350ms ease;
}

[video-popup-player] {
  transition: all 350ms ease;
}

[video-popup-container].is--close {
  pointer-events: none;
}

[video-popup-container].is--close [video-popup-close] {
  opacity: 0;
}

[video-popup-container].is--close [video-popup-player] {
  opacity: 0;
  transform: translateY(1.5rem);
}

[video-popup-container].is--open {
  pointer-events: auto;
}

[video-popup-container].is--open [video-popup-close] {
  opacity: 0.7;
}

[video-popup-container].is--open [video-popup-player] {
  opacity: 1;
  transform: translateY(0rem);
}

/* Movie Poster Slider */

.swiper-slide.is--film_poster.swiper-slide-next {
  scale: 0.875;
}

.swiper-slide.is--film_poster {
  scale: 0.8;
}

.swiper-slide.is--film_poster.is--active {
  scale: 1;
}

.film_poster-link {
  overflow: hidden;
}

.film_poster-card:hover .news_card-fshape {
  transform: translate(100%, 0px) rotate(-90deg);
}

.film_poster-card:hover .news_card-bshape {
  transform: translate(0%, 0px) rotate(0deg);
}
