.media-swiper {
  padding-block: 3rem;
  overflow: hidden;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
@media (max-width: 767px) {
  .media-swiper {
    margin-inline: calc(-50vw + 50%);
    width: 100vw;
    max-width: 100vw;
    padding-inline-start: 2rem;
    padding-inline-end: 0;
  }
}
@media (min-width: 768px) {
  .media-swiper {
    margin-inline: 0;
    width: 100%;
    max-width: 100%;
    padding-inline: 0;
  }
}

.media-swiper__container {
  display: flex;
  flex-direction: column;
  gap: 2.7rem;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: visible;
}
@media (min-width: 768px) {
  .media-swiper__container {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-inline: 0;
    overflow-x: hidden;
    max-width: 128rem;
    margin-inline: auto;
  }
}

.media-swiper__title {
  color: #033324;
  font-family: "Nohemi", sans-serif;
  font-size: 3rem;
  font-style: normal;
  font-weight: 500;
  line-height: 130%;
  letter-spacing: 0.12rem;
  color: #033324;
  margin: 0;
}
@media (min-width: 768px) {
  .media-swiper__title {
    color: #033324;
    font-family: "Nohemi", sans-serif;
    font-size: 4rem;
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
    letter-spacing: 0.16rem;
  }
}

.media-swiper__nav {
  display: none;
}
@media (min-width: 768px) {
  .media-swiper__nav {
    padding-inline-end: 0.5rem;
    display: flex;
    gap: 0.7rem;
    align-items: center;
    flex-shrink: 0;
    order: 2;
  }
}

.media-swiper__nav-button {
  display: flex;
  width: 3.1rem;
  height: 3.1rem;
  padding: 0.9455rem 1.0636rem 0.9455rem 1.4182rem;
  justify-content: center;
  align-items: center;
  background-color: #868686;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  position: static;
  top: auto;
  left: auto;
  right: auto;
  bottom: auto;
  margin: 0;
  background-image: none;
}
.media-swiper__nav-button::after, .media-swiper__nav-button::before {
  display: none;
  content: none;
}
.media-swiper__nav-button svg {
  display: none;
}
.media-swiper__nav-button:hover {
  opacity: 0.9;
  transform: scale(1.05);
}
.media-swiper__nav-button.swiper-button-disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}
.media-swiper__nav-button--prev {
  padding: 0.9455rem 1.4182rem 0.9455rem 1.0636rem;
}
.media-swiper__nav-button--prev .media-swiper__nav-icon {
  transform: scaleX(-1);
}
.rtl .media-swiper__nav-button--prev .media-swiper__nav-icon {
  transform: scaleX(1);
}
.rtl .media-swiper__nav-button--next .media-swiper__nav-icon {
  transform: scaleX(-1);
}

.media-swiper__nav-icon {
  width: auto;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}

.media-swiper__swiper {
  position: relative;
  overflow: visible;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  order: 3;
}
@media (max-width: 767px) {
  .media-swiper__swiper {
    width: calc(100vw - 2rem);
    margin-inline-start: 0;
    margin-inline-end: calc(-50vw + 50%);
    padding-inline-end: 0;
  }
}
@media (min-width: 768px) {
  .media-swiper__swiper {
    overflow: hidden;
    flex-basis: 100%;
    margin-inline: 0;
    padding-inline: 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
}

.media-swiper__swiper .swiper-wrapper {
  display: flex;
  align-items: stretch;
}

.media-swiper__swiper .swiper-slide {
  width: 28rem;
  height: auto;
  flex-shrink: 0;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .media-swiper__swiper .swiper-slide {
    min-width: 0;
    box-sizing: border-box;
  }
}

.media-swiper__swiper .video-card {
  height: 100%;
  min-width: 0;
  width: 100%;
}

.media-swiper__swiper .swiper-pagination {
  margin-block-start: 2.5rem;
  position: relative;
}
.media-swiper__swiper .swiper-pagination .swiper-pagination-bullet {
  width: 0.8rem;
  height: 0.8rem;
  background-color: #e2e2e2;
  opacity: 1;
  transition: background-color 0.2s ease;
}
.media-swiper__swiper .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #00852c;
}

.media-swiper__modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  box-sizing: border-box;
}
.media-swiper__modal[hidden] {
  display: none;
}

.media-swiper__modal-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.85);
  cursor: pointer;
}

.media-swiper__modal-content {
  position: relative;
  width: 100%;
  max-width: 90rem;
  z-index: 1;
}

.media-swiper__modal-close {
  position: absolute;
  inset-block-start: -4rem;
  inset-inline-end: 0;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: none;
  background: transparent;
  color: #ffffff;
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.media-swiper__modal-close:hover {
  opacity: 0.9;
}

.media-swiper__modal-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 0.4rem;
  background-color: #000000;
}

.media-swiper__modal-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
