.text-with-gallery {
  width: 100%;
  @media screen and (min-width: 1025px) {
    width: 100dvw;
  }
}

.container-text-with-gallery {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 16px 40px 16px;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 40px;

  @media screen and (min-width: 1025px) {
    padding: 40px 64px;
    flex-direction: row-reverse;
    gap: 80px;
    justify-content: center;
    align-items: center;
  }
}

.container-text-with-gallery .container-text-with-gallery_content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  align-self: stretch;
  max-width: 632px;
  width: 100%;
  @media screen and (min-width: 1025px) {
    width: 50%;
  }
}

.container-text-with-gallery .container-text-with-gallery_gallery {
  flex: 1;
  width: 100%;
  padding: 0;

  @media screen and (min-width: 1025px) {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    width: 50%;
  }
}

.container-text-with-gallery .container-text-with-gallery_gallery .text-with-gallery-main-swiper {
  width: 100%;
  @media screen and (min-width: 769px) {
    width: 88%;
    height: 566px;
  }
}

.container-text-with-gallery .container-text-with-gallery_gallery .text-with-gallery-main-swiper .swiper-slide {
  height: auto;
}

.container-text-with-gallery .container-text-with-gallery_gallery .text-with-gallery-main-swiper .swiper-slide video,
.container-text-with-gallery .container-text-with-gallery_gallery .text-with-gallery-main-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.container-text-with-gallery .container-text-with-gallery_gallery .swiper-pagination {
  display: none;
  @media screen and (max-width: 1024px) {
    display: block;
    margin-top: 10px;
    position: relative;
  }
}

.container-text-with-gallery
  .container-text-with-gallery_gallery
  .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: #1a1a1a;
}

.container-text-with-gallery .container-text-with-gallery_gallery .thumbnail-container {
  display: none;
  @media screen and (min-width: 1025px) {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 12%;
  }
}

.container-text-with-gallery .container-text-with-gallery_gallery .thumbnail-container .swiper-button-prev,
.container-text-with-gallery .container-text-with-gallery_gallery .thumbnail-container .swiper-button-next {
  position: relative;
  margin-top: 0;
  margin-left: 0;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  aspect-ratio: 1/1;
  top: unset;
  left: unset;
  right: unset;
  bottom: unset;
}

.container-text-with-gallery .container-text-with-gallery_gallery .thumbnail-container .swiper-button-prev svg,
.container-text-with-gallery .container-text-with-gallery_gallery .thumbnail-container .swiper-button-next svg {
  width: 32px;
  height: 32px;
  fill: none;
}

.container-text-with-gallery .container-text-with-gallery_gallery .text-with-gallery-thumbs-swiper {
  max-height: 460px;
}
.container-text-with-gallery .container-text-with-gallery_gallery .text-with-gallery-thumbs-swiper .swiper-slide {
  opacity: 0.5;
  border: 2px solid transparent;
}

.container-text-with-gallery
  .container-text-with-gallery_gallery
  .text-with-gallery-thumbs-swiper
  .swiper-slide-thumb-active {
  opacity: 1;
  border: 2px solid #ea1947;
}

.container-text-with-gallery .container-text-with-gallery_gallery .text-with-gallery-thumbs-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

.container-text-with-gallery .container-text-with-gallery_content .container-text-with-gallery_content-header {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  align-self: stretch;
}

.container-text-with-gallery .container-text-with-gallery_content .container-text-with-gallery_content-header h2,
.container-text-with-gallery .container-text-with-gallery_content .container-text-with-gallery_content-header h2 p {
  margin-bottom: 0;
  color: var(--section-text-with-gallery-header-text-color, #000);
  font-family: "Clio Ultra Black Ob", sans-serif;
  font-size: 28px;
  font-style: normal;
  font-weight: 900;
  line-height: 36px;
  letter-spacing: -0.56px;
  text-transform: uppercase;

  @media screen and (min-width: 769px) {
    font-size: 40px;
    line-height: 48px;
    width: 566px;
    height: 144px;
  }
}

.container-text-with-gallery
  .container-text-with-gallery_content
  .container-text-with-gallery_content-header
  h2
  p
  strong {
  color: var(--section-text-with-gallery-header-text-strong-color, #d31245);
}

.container-text-with-gallery .container-text-with-gallery_content .container-text-with-gallery_content-content p {
  margin-bottom: 24px;
}

.container-text-with-gallery .container-text-with-gallery_content .container-text-with-gallery_content-content ul {
  margin-bottom: 0;
  padding-left: 20px;
  list-style: none;
  padding-left: 0;
}

.container-text-with-gallery .container-text-with-gallery_content .container-text-with-gallery_content-content li {
  margin-bottom: 20px;
  position: relative;
  padding-left: 32px;

  @media screen and (min-width: 769px) {
    margin-bottom: 16px;
  }
}

.container-text-with-gallery
  .container-text-with-gallery_content
  .container-text-with-gallery_content-content
  li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M20 6L9 17L4 12' stroke='%231A1A1A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 24px 24px;
}

.container-text-with-gallery .container-text-with-gallery_content .container-text-with-gallery_content-content p,
.container-text-with-gallery .container-text-with-gallery_content .container-text-with-gallery_content-content li {
  color: var(--section-text-with-gallery-text-color, #1a1a1a);
  font-family: "Helvetica Neue", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 140%;
}

.container-text-with-gallery .container-text-with-gallery_content .container-text-with-gallery_content-content strong {
  color: var(--section-text-with-gallery-text-strong-color, #1a1a1a);
  font-family: "Helvetica Neue", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
}

.container-text-with-gallery .container-text-with-gallery_content .container-text-with-gallery_content-link {
  display: flex;
  padding: 16px 24px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  align-self: stretch;
  border-radius: 8px;
  background: var(--section-text-with-gallery-button-background-color, #ea1947);
  color: var(--section-text-with-gallery-button-text-color, #fff);
  font-family: "Clio Ultra Black Ob", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
  width: 100%;
  margin-top: 24px;
  text-decoration: none;

  @media screen and (min-width: 769px) {
    width: 290px;
    margin-top: 32px;
  }
}

@media (min-width: 1025px) {
  .text-with-gallery-thumbs-swiper .swiper-slide {
    width: 85px !important;
    height: 85px !important;
  }

  .text-with-gallery-thumbs-swiper .swiper-slide img {
    width: 85px;
    height: 85px;
    object-fit: cover;
  }
}