/* stylelint-disable selector-class-pattern, custom-property-empty-line-before, shorthand-property-no-redundant-values, max-line-length, selector-list-comma-newline-after */

.p-section-half-text-gallery--text-scroll-yes {
  --padding-navigation: 2.5rem;
}

.p-section-half-text-gallery--text-scroll-yes .p-section-half-text-gallery__text {
  padding-bottom: calc(var(--padding-navigation) * 2);
  position: relative;
}

.p-section-half-text-gallery__text-buttons {
  position: absolute;
  z-index: 10;
  bottom: 0;
  right: calc((var(--v-spacing-md) / 2) + var(--v-layout-container-padding));
  gap: 1rem;
  display: none;
  flex-direction: column;
}

.p-section-half-text-gallery--text-scroll-yes .p-section-half-text-gallery__text-buttons {
  display: flex;
}

.p-section-half-text-gallery__text-button-scroll {
  width: calc(var(--padding-navigation) - 1rem);
  height: calc(var(--padding-navigation) - 1rem);
  background-image: url("/wp-content/themes/w153c-theme-oe/assets/img/icons/arrow-double-right-blue.svg");
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  cursor: pointer;
  opacity: 0.7;
  transition: var(--v-transition-default);
  transform: rotate(-90deg);
}

.p-section-half-text-gallery__text-button-scroll:hover {
  opacity: 1;
}

.p-section-half-text-gallery__text-button-scroll-down {
  transform: rotate(90deg);
}

.p-section-half-text-gallery--text-scroll-yes .p-section-half-text-gallery__text-wrapper {
  max-height: 25rem;
  overflow: hidden;

  /* Allow some space for the italic text to overflow a bit on right side */
  padding-right: 0.5rem;
  margin-right: -0.5rem;
}

.p-section-half-text-gallery__text {
  display: flex;
  align-items: center;
}

.p-section-half-text-gallery__text-wrapper {
  width: 100%;
}

.p-section-half-text-gallery__text-inner {
  padding-left: var(--v-layout-container-padding);
  padding-right: var(--v-layout-container-padding);
  text-align: right;
}

.p-section-half-text-gallery__text-inner ul {
  list-style-type: none;
  padding: 0;
}

.p-section-half-text-gallery .p-section-half-text-gallery__text-inner ul li {
  position: relative;
  /*padding-left: 1rem;*/
  margin-bottom: 0.7rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px dashed var(--v-color-5);

  font-weight: var(--v-font-weight-bold);
  color: var(--v-color-5);
}

.p-section-half-text-gallery .p-section-half-text-gallery__text-inner ul > li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

/*
.p-section-half-text-gallery .p-section-half-text-gallery__text-inner ul li::before {
  position: absolute;
  z-index: 10;
  top: 0.7rem;
  left: 0;
  content: "";
  width: 0.35rem;
  height: 0.35rem;
  background-color: var(--v-color-1);
  border-radius: 50%;
}

.p-section-half-text-gallery:not(.p-section-half-text-gallery--position-invert) .p-section-half-text-gallery__text-inner ul li {
  padding-right: 1rem;
  padding-left: 0;
}

.p-section-half-text-gallery:not(.p-section-half-text-gallery--position-invert) .p-section-half-text-gallery__text-inner ul li::before {
  right: 0;
  left: auto;
}
*/

.p-section-half-text-gallery--position-invert .p-section-half-text-gallery__text-inner {
  text-align: left;
}

.p-section-half-text-gallery__gallery {
  position: relative;
  min-height: 15rem;
}

.p-section-half-text-gallery__gallery-inner,
.p-section-half-text-gallery__gallery-inner > .swiper-wrapper,
.p-section-half-text-gallery__gallery > .swiper-pagination {
  position: absolute !important;
  z-index: 10 !important;
  inset: 0 !important;
  overflow: hidden !important;
  height: auto !important;
  width: auto !important;
}

.p-section-half-text-gallery__gallery-inner,
.p-section-half-text-gallery__gallery > .swiper-pagination {
  left: calc(var(--v-spacing-md) / 2) !important;
  right: calc(var(--v-spacing-md) / 2) !important;
  bottom: calc(7px + 5px) !important;
}

.p-section-half-text-gallery__gallery > .swiper-pagination {
  top: auto !important;
  bottom: 0 !important;
  display: flex;
  gap: 7px;
}

.p-section-half-text-gallery__gallery > .swiper-pagination .swiper-pagination-bullet {
  width: auto;
  height: 5px;
  border-radius: 0;
  flex-grow: 1;
  margin: 0 !important;
}

.p-section-half-text-gallery__gallery-slide {
  display: flex !important;
  height: 100% !important;
}

.p-section-half-text-gallery__gallery-slide img {
  object-fit: cover;
  object-position: center center;
  width: 100%;
  height: 100%;
}

@media (min-width: 700px) {
  .p-section-half-text-gallery__gallery {
    min-height: 30rem;
  }

  .p-section-half-text-gallery:not(.p-section-half-text-gallery--position-invert) .p-section-half-text-gallery__text-inner {
    padding-right: 0;
  }

  .p-section-half-text-gallery.p-section-half-text-gallery--position-invert .p-section-half-text-gallery__text-inner {
    padding-left: 0;
  }

  .p-section-half-text-gallery__text-buttons {
    right: calc(var(--v-spacing-md) / 2);
  }

  .p-section-half-text-gallery--position-invert .p-section-half-text-gallery__gallery {
    order: 1;
  }

  .p-section-half-text-gallery--position-invert .p-section-half-text-gallery__text {
    order: 2;
  }

  .p-section-half-text-gallery--position-invert .u-misc-separator::after {
    inset: 0 auto 0 -2px !important;
  }
}

@media (min-width: 1100px) {
  .p-section-half-text-gallery--text-scroll-yes {
    --padding-navigation: 3rem;
  }
}

@media (min-width: 1300px) {
  .p-section-half-text-gallery__text-inner {
    padding-left: 20%;
  }

  .p-section-half-text-gallery--text-width-large .p-section-half-text-gallery__text-inner {
    padding-left: 10%;
  }

  .p-section-half-text-gallery--position-invert .p-section-half-text-gallery__text-inner {
    padding-left: 0;
    padding-right: 20%;
  }

  .p-section-half-text-gallery--position-invert.p-section-half-text-gallery--text-width-large .p-section-half-text-gallery__text-inner {
    padding-left: 0;
    padding-right: 10%;
  }
}

@media (min-width: 1500px) {
  .p-section-half-text-gallery__text-inner {
    padding-left: 40%;
  }

  .p-section-half-text-gallery--text-width-large .p-section-half-text-gallery__text-inner {
    padding-left: 25%;
  }

  .p-section-half-text-gallery--position-invert .p-section-half-text-gallery__text-inner {
    padding-left: 0;
    padding-right: 40%;
  }

  .p-section-half-text-gallery--position-invert.p-section-half-text-gallery--text-width-large .p-section-half-text-gallery__text-inner {
    padding-left: 0;
    padding-right: 25%;
  }
}

@media (min-width: 2000px) {
  .p-section-half-text-gallery__text-inner {
    padding-left: 60%;
  }

  .p-section-half-text-gallery--text-width-large .p-section-half-text-gallery__text-inner {
    padding-left: 30%;
  }

  .p-section-half-text-gallery--position-invert .p-section-half-text-gallery__text-inner {
    padding-left: 0;
    padding-right: 60%;
  }

  .p-section-half-text-gallery--position-invert.p-section-half-text-gallery--text-width-large .p-section-half-text-gallery__text-inner {
    padding-left: 0;
    padding-right: 30%;
  }
}
