.image-slider-text-block { 
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  max-width: 100vw;
  width: 100vw;
  height: 100%;
}

.image-slider-text-block > div {
  position: relative; 
  display: grid;
  grid-template-columns: 1fr 400px;
  padding-top: 40px;
  padding-bottom: 100px;
}

.image-slider-text-block .image-slider-text-wrapper {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  align-items: flex-start;
  margin-top: 2rem;
  width: 100%;
  grid-column-start: 1;
  grid-column-end: 3;
} 

.image-slider-text-block h1,
.image-slider-text-block h2,
.image-slider-text-block h3 { 
  margin: 0;
  font-size: calc(32 / 16 * 1rem);
  line-height: 1.2;
  font-family: 'RobotoRegular', sans-serif;
  grid-column-start: 1;
  grid-column-end: 3;
}

.image-slider-text-block .image-slider-text-wrapper .image-slider-text {
  width: 100%;
  position: relative;
}

.image-slider-text-block .image-slider-text-wrapper .image-slider-text .swiper-wrapper {
  width: 100%;
}

.image-slider-text-block .image-slider-text-wrapper .image-slider-text .swiper-wrapper .item {
  width: 100%;
}

.image-slider-text-block .image-slider-text-wrapper .image-slider-text .swiper-wrapper .item > img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  object-position: center;
  aspect-ratio: 16/9;
}

.image-slider-text-block .image-slider-text-nav {
  position: relative;
  height: 55px;
  width: 80px;
  grid-column-start: 1;
  grid-column-end: 2;
  justify-self: flex-end;
  margin-top: 0px;
  margin-right: 25px;
  transform: translateY(-15px);
  z-index: 10;
}

.image-slider-text-block .swiper-pagination {
  position: relative;
  width: 100%;
  gap: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  margin-top: 15px;
}

.image-slider-text-block .swiper-pagination .swiper-pagination-bullet {
  transform: scale(1.5);
}

.image-slider-text-block .swiper-pagination .swiper-pagination-bullet-active {
  background: #463D27;
}

.image-slider-text-block .image-slider-text-nav .swiper-button-next::after,
.image-slider-text-block .image-slider-text-nav .swiper-button-prev::after {
  color: #463D27;
  font-size: 21px;
}

.image-slider-text-block .image-slider-text-wrapper .content {
  background: #F7F7F7;
  padding: 20px;
  box-sizing: border-box;
  width: fit-content;
}

.image-slider-text-block .image-slider-text-wrapper .content h1,
.image-slider-text-block .image-slider-text-wrapper .content h2,
.image-slider-text-block .image-slider-text-wrapper .content h3 {
  font-size: calc(28 / 16 * 1rem);
  line-height: 1.2;
  font-family: 'RobotoRegular', sans-serif;
}

/* .image-slider-text-block .image-slider-text-wrapper .content p {
  font-size: calc(24 / 16 * 1rem);
  line-height: 1.4;
}  */

.image-slider-text-block .image-slider-text-wrapper .content ul {
  margin: 25px 0 15px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.image-slider-text-block .image-slider-text-wrapper .content ul li {
  font-size: calc(18 / 16 * 1rem);
  line-height: 1.2;
  padding-left: 0;
  list-style: none;
  margin: 0;
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 5px;
}

.image-slider-text-block .image-slider-text-wrapper .content ul li::before {
  content: url('/zes/wp-content/themes/zes_theme/images/check-list.svg');
  width: 15px;
  height: auto;
  background: none; 
  margin-right: 10px;
  position: relative; 
}

@media only screen and (max-width: 1380px) { 
  .image-slider-text-block .image-slider-text-wrapper {
    display: flex;
    flex-direction: column-reverse;
  }
  .image-slider-text-block .image-slider-text-nav {
    justify-self: flex-start;
  }
}

@media only screen and (max-width: 870px) { 
  .image-slider-text-block .image-slider-text-wrapper {
    display: flex;
    flex-direction: column-reverse;
  }
  .image-slider-text-block .image-slider-text-wrapper .content {
    width: 100%;
  }
  .image-slider-text-block .image-slider-text-nav {
    transform: translateY(0);
    grid-column-start: 2;
    margin-top: 20px;
  }
  .image-slider-text-block h1,
  .image-slider-text-block h2,
  .image-slider-text-block h3 {
    grid-column-end: 3;
    grid-column-start: 1;
    margin: 0;
  }
  .image-slider-text-block > div {
    padding-top: 50px;
    padding-bottom: 25px;
    display: flex;
    flex-direction: column;
  } 
  .image-slider-text-block {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    max-width: 100%;
  }
  .image-slider-text-block .image-slider-text-wrapper .content ul li {
    display: flex;
  }
  .image-slider-text-block .image-slider-text-wrapper .content ul li::before {
    content: url(/zes/wp-content/themes/zes_theme/images/check-list.svg);
    width: 15px;
    height: auto;
    background: none;
    transform: scale(1) translateY(0%);
    margin-right: 10px;
    position: relative;
    top: 0;
  }
}

.block-editor-block-list__block .image-slider-text-block {
  max-width: 100%;
  width: 100%; 
  padding-bottom: 0;
  margin-left: 0;
  margin-right: 0;
  padding: 2rem;
  box-sizing: border-box;
}

.block-editor-block-list__block .image-slider-text-block > div {
  padding-top: 0;
  padding-bottom: 0;
}

.block-editor-block-list__block .image-slider-text-block .image-slider-text-wrapper .content ul li {
  padding-left: 0;
}

.block-editor-block-list__block .image-slider-text-block .image-slider-text-wrapper .content ul {
  margin-top: 15px;
  margin-bottom: 15px;
}

.block-editor-block-list__block .image-slider-text-block .image-slider-text-wrapper .content ul li::before {
  margin-right: 10px;
}