.mod-image-text-repeater-section{
  padding: 80px 60px;
}

.mod-image-text-repeater-section:has(.mod-image-text:not(:only-child)) {
  padding: 56px 60px 80px;
}

.mod-image-text-repeater-section.hero-spacing-ready:has(.mod-image-text:not(:only-child)) {
  padding: 0px 60px 80px;
}

.mod-image-text-repeater-section .mod-image-text:not(:only-child) {
  padding-bottom: 56px;
}

.mod-image-text-repeater-section .mod-image-text:not(:only-child):last-of-type {
  padding-bottom: 0px;
}

.mod-image-text-repeater-section .corsi-tabs-nav {
  display: flex;
  justify-content: center;
  padding-bottom: 56px;
}

.mod-image-text-repeater-section .corsi-tabs-nav .dynamic-filter-btn {
  background: none;
  border-top: none;
  border-right: none;
  border-left: none;
  border-image: initial;
  border-bottom: 4px solid var(--color-primary-azure);
  cursor: pointer;
  padding: 16px 95px;
  color: var(--color-primary-azure);
}

.mod-image-text__wrapper {
  display: flex;
  align-items: stretch;
  gap: 38px;
}

.mod-image-text__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mod-image-text__content {
  display: flex;
  align-items: center;
}

a.mod-image-text__cta {
  display: inline-flex;
  margin-top: 25px;
  text-transform: uppercase;
  transition: opacity 0.3s ease;
  text-decoration: underline;
  text-decoration-style: solid;
  text-decoration-thickness: 1px;
  color: var(--color-primary);
  align-items: center;
  gap: 12px;
}

a.mod-image-text__cta .icon-arrow {
  display: flex;
}

a.mod-image-text__cta .icon-arrow svg path,a.mod-image-text__cta .icon-arrow svg {
  fill: inherit;
}

.mod-image-text--v1 .mod-image-text__wrapper {
  gap: 58px;
}

.mod-image-text--v1 .mod-image-text__image {
  flex: 0 0 50%;
}

.mod-image-text--v1 .mod-image-text__image img {
  height: 700px;
}

.mod-image-text--v1 .mod-image-text__content {
  flex: 0 0 50%;
  max-width: 558px;
}

.mod-image-text--v1 .mod-image-text__title {
  text-transform: uppercase;
  margin-bottom: 20px;
}

.mod-image-text--v1 .mod-image-text__text p {
  margin-bottom: 15px;
}

.mod-image-text--v1 .mod-image-text__text a,.mod-image-text--v1 .mod-image-text__text li {
  color: var(--color-primary);
}

.mod-image-text--align-right.mod-image-text--v1 .mod-image-text__wrapper {
  flex-direction: row-reverse;
}

.mod-image-text--v1.custom-padding {
  padding: 0;
}

.mod-image-text--v2 .mod-image-text__wrapper {
  position: relative;
  gap: 0;
  min-height: 500px;
}

.mod-image-text--v2 .mod-image-text__image {
  position: relative;
  width: 60%;
  flex: none;
}

.mod-image-text--v2 .mod-image-text__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  max-height: 800px;
}

.mod-image-text--v2 .mod-image-text__content {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 50%;
  max-width: none;
  z-index: 2;
  padding: 80px 40px;
}

.mod-image-text--v2 .mod-image-text__title {
  text-transform: uppercase;
  margin-bottom: 20px;
}

.mod-image-text--v2 .mod-image-text__text p {
  margin-bottom: 15px;
}

.mod-image-text--v2 .mod-image-text__text ul {
  margin: 0.5rem 0;
  padding-inline-start: 30px;
}

.mod-image-text--v2 .mod-image-text__text a,.mod-image-text--v1 .mod-image-text__text li {
  color: var(--color-primary);
}

.mod-image-text--v1 .mod-image-text__text li::marker,.mod-image-text--v2 .mod-image-text__text li::marker {
  color: var(--color-primary);
}

.mod-image-text--align-right.mod-image-text--v2 .mod-image-text__image {
  margin-left: auto;
}

.mod-image-text--align-right.mod-image-text--v2 .mod-image-text__content {
  right: auto;
  left: 0;
  margin-right: 0;
}

@media (max-width: 992px) {
  .mod-image-text-repeater-section:has(.mod-image-text:not(:only-child)) {
    padding: 0;
  }

  .mod-image-text-repeater-section .corsi-tabs-nav {
    padding-bottom: 0px;
  }

  .mod-image-text-repeater-section .corsi-tabs-nav .dynamic-filter-btn{
    padding: 16px;
    flex: 1;
  }

  .mod-image-text-repeater-section .mod-image-text:not(:only-child) {
    padding-bottom: 0px;
  }

  .mod-image-text--v1 .mod-image-text__wrapper {
    flex-direction: column;
    gap: 0;
  }

  .mod-image-text--v1 .mod-image-text__image {
    flex: none;
    width: 100%;
  }

  .mod-image-text--v1 .mod-image-text__image img {
    height: auto;
  }

  .mod-image-text--v1 .mod-image-text__content {
    flex: none;
    width: 100%;
    max-width: 100%;
    padding: 0px 20px;
  }

  .mod-image-text--v1 .mod-image-text__title {
    margin-bottom: 15px;
  }

  .mod-image-text--v2 .mod-image-text__wrapper {
    flex-direction: column;
    min-height: auto;
  }

  .mod-image-text--v2 .mod-image-text__image {
    width: 100%;
  }

  .mod-image-text--v2 .mod-image-text__content {
    position: relative;
    top: 0;
    right: 0;
    transform: none;
    width: 100%;
    padding: 40px 20px;
  }

  .mod-image-text--v2 .mod-image-text__title {
    margin-bottom: 15px;
  }

  .mod-image-text__cta {
    padding: 16px 0px;
  }
}
