.image_text_module {
  --image-text-bg: #f5f3f0;
  --image-text-color: #232426;
  --image-text-accent: #b02020;
  --image-text-button-bg: #232426;
  --image-text-button-color: #ffffff;
  --image-text-button-hover-bg: #b02020;
  --image-text-button-hover-color: #ffffff;
  --image-text-container: 1500px;

  position: relative;
  isolation: isolate;
  width: 100%;
  overflow: hidden;
  background: var(--image-text-bg);
  color: var(--image-text-color);
}

.image_text_module,
.image_text_module * {
  box-sizing: border-box;
}














/* ==========================================================
   SECTION WATERMARK
   ========================================================== */

.image_text_module--has-watermark::before {
  position: absolute;
  z-index: 0;
  top: 0;
  width: auto;
  height: 100%;
  aspect-ratio: 520 / 890;
  background-image: url(
    "/wp-content/uploads/2026/09/autosales-identity-icon2.png"
  );
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  opacity: 0.055;
  pointer-events: none;
}

/*
 * Use a white version of the watermark against charcoal,
 * black and red module backgrounds.
 */

.image_text_module--dark.image_text_module--has-watermark::before {
  filter: brightness(0) invert(1);
  opacity: 0.07;
}

/* Left position */

.image_text_module--watermark-left::before {
  right: auto;
  left: 0;
  transform: none;
}

/* Centre position */

.image_text_module--watermark-center::before {
  right: auto;
  left: 50%;
  transform: translateX(-50%);
}

/* Right position */

.image_text_module--watermark-right::before {
  right: 0;
  left: auto;
  transform: none;
}

/*
 * Keep the module content above the decorative watermark.
 */

.image_text_module__section-title-wrap,
.image_text_module__blocks {
  position: relative;
  z-index: 1;
}















.image_text_module__section-title-wrap {
  width: 80%;
  max-width: var(--image-text-container);
  margin-inline: auto;
  margin-bottom: 80px;
}

.image_text_module__section-title {
  max-width: 768px;
  margin: 0;
  color: var(--image-text-color);
  font-size: 56px;
  line-height: 1.05;
}

.image_text_module__blocks {
  display: flex;
  flex-direction: column;
  gap: 120px;
}

.image_text_module__block {
  position: relative;
  display: flex;
  width: 90%;
  max-width: var(--ib-container, 1200px);
  min-height: 380px;
  margin-inline: auto;
  isolation: isolate;
}

.image_text_module__content,
.image_text_module__media {
  width: 50%;
  flex: 0 0 50%;
}

.image_text_module__block--image_right
  .image_text_module__content {
  padding: 60px 110px 60px 0;
}

.image_text_module__block--image_left
  .image_text_module__content {
  padding: 60px 0 60px 110px;
}

.image_text_module__content {
  position: relative;
  z-index: 2;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  color: var(--image-text-color);
}

.image_text_module__eyebrow {
  margin: 0 0 16px;
  color: var(--image-text-accent);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.image_text_module__heading {
  max-width: 512px;
  margin: 0;
  color: var(--image-text-color);
  font-size: 52px;
  font-weight: 700;
  line-height: 1.05;
  text-wrap: balance;
}

.image_text_module__text {
  max-width: 608px;
  margin-top: 22px;
  color: var(--image-text-color);
  font-size: 18px;
  line-height: 1.65;
}

.image_text_module__text > :first-child {
  margin-top: 0;
}

.image_text_module__text > :last-child {
  margin-bottom: 0;
}

.image_text_module__text a {
  color: var(--image-text-accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.image_text_module__text li::marker {
  color: var(--image-text-accent);
  font-weight: 700;
}

.image_text_module__button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 28px;
  padding: 15px 26px;
  border: 2px solid var(--image-text-button-bg);
  background: var(--image-text-button-bg);
  color: var(--image-text-button-color);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.image_text_module__button:hover {
  border-color: var(--image-text-button-hover-bg);
  background: var(--image-text-button-hover-bg);
  color: var(--image-text-button-hover-color);
}

.image_text_module__button:focus-visible {
  outline: 3px solid var(--image-text-accent);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--image-text-bg);
}

.image_text_module__button-arrow {
  flex: 0 0 auto;
  font-size: 18px;
  line-height: 1;
}

.image_text_module__media {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.image_text_module__media-frame {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  /* background: #d9d9d9; */
}

.image_text_module__image {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
}

.image_text_module__block--has-colors
  .image_text_module__media::before {
  position: absolute;
  z-index: 0;
  top: 50%;
  height: 80%;
  transform: translateY(-50%);
  background: var(--image-text-block-color, #b02020);
  content: "";
  pointer-events: none;
}

/* .image_text_module__block--has-colors
  .image_text_module__media::after {
  position: absolute;
  z-index: 0;
  top: 10px;
  width: 100%;
  height: 100%;
  background: var(--image-text-block-color-2, #232426);
  content: "";
  pointer-events: none;
}

.image_text_module__block--has-colors.image_text_module__block--image_left
  .image_text_module__media::after {
  left: 10px;
}

.image_text_module__block--has-colors.image_text_module__block--image_right
  .image_text_module__media::after {
  left: -10px;
} */

.image_text_module__block--has-colors.image_text_module__block--image_left
  .image_text_module__media::before {
  right: -95px;
  left: -5vw;
  clip-path: polygon(
    0 0,
    calc(100% - 80px) 0,
    100% 100%,
    80px 100%
  );
}

.image_text_module__block--has-colors.image_text_module__block--image_right
  .image_text_module__media::before {
  right: -5vw;
  left: -95px;
  clip-path: polygon(
    80px 0,
    100% 0,
    calc(100% - 80px) 100%,
    0 100%
  );
}

.image_text_module__block--no-image {
  display: block;
  min-height: 0;
}

.image_text_module__block--no-image
  .image_text_module__content {
  width: 50%;
  max-width: 750px;
  padding-inline: 0;
}

@media (max-width: 1199px) {
  .image_text_module__section-title {
    font-size: 48px;
  }

  .image_text_module__heading {
    font-size: 44px;
  }

  .image_text_module__text {
    font-size: 17px;
  }

  .image_text_module__block--image_right
    .image_text_module__content {
    padding-right: 100px;
  }

  .image_text_module__block--image_left
    .image_text_module__content {
    padding-left: 100px;
  }
}

@media (max-width: 991px) {
  .image_text_module__section-title-wrap {
    margin-bottom: 48px;
  }

  .image_text_module__section-title {
    font-size: 42px;
  }

  .image_text_module__blocks {
    gap: 20px;
  }

  .image_text_module__block {
    min-height: 0;
    flex-direction: column;
  }

  .image_text_module__block.image_text_module__block--image_right {
    flex-direction: column-reverse;
  }

  .image_text_module__content,
  .image_text_module__media,
  .image_text_module__block--image_right
    .image_text_module__content,
  .image_text_module__block--image_left
    .image_text_module__content {
    width: 100%;
    flex-basis: auto;
  }

  .image_text_module__content,
  .image_text_module__block--image_right
    .image_text_module__content,
  .image_text_module__block--image_left
    .image_text_module__content {
    padding: 48px 0;
  }

  .image_text_module__media {
    aspect-ratio: 16 / 9;
  }

  .image_text_module__block--has-colors
    .image_text_module__media::before {
    top: 50%;
    bottom: auto;
    height: calc(80% + 48px);
  }

  .image_text_module__block--has-colors.image_text_module__block--image_left
    .image_text_module__media::before {
    right: -65px;
    clip-path: polygon(
      0 0,
      calc(100% - 50px) 0,
      100% 100%,
      0 100%
    );
  }

  .image_text_module__block--has-colors.image_text_module__block--image_right
    .image_text_module__media::before {
    left: -65px;
    clip-path: polygon(
      50px 0,
      100% 0,
      100% 100%,
      0 100%
    );
  }

  .image_text_module__block--no-image
    .image_text_module__content {
    width: 100%;
    max-width: none;
  }


  article.image_text_module__block:last-child .image_text_module__content{
    padding-bottom: 0;
  }






    /* .image_text_module--has-watermark::before {
    width: 400px;
    height: 400px;
    max-width: 65vw;
    max-height: 70%;
  } */

  .image_text_module--watermark-left::before {
    left: -100px;
  }

  .image_text_module--watermark-right::before {
    right: -100px;
  }





}

@media (max-width: 767px) {
  .image_text_module__section-title {
    font-size: 36px;
  }

  .image_text_module__heading {
    font-size: 38px;
  }
}

@media (max-width: 520px) {
  .image_text_module__section-title-wrap,
  .image_text_module__block {
    width: calc(100% - 40px);
  }

  .image_text_module__section-title {
    font-size: 32px;
  }

  .image_text_module__heading {
    font-size: 32px;
  }

  .image_text_module__text {
    font-size: 16px;
  }

  .image_text_module__button {
    width: 100%;
  }

  /* .image_text_module__block--has-colors
    .image_text_module__media::before {
    height: calc(100% + 36px);
  } */
  .image_text_module__block--has-colors.image_text_module__block--image_left .image_text_module__media::before {
      clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  .image_text_module__block--has-colors.image_text_module__block--image_right .image_text_module__media::before {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }











    /* .image_text_module--has-watermark::before {
    top: 50%;
    width: 280px;
    height: 280px;
    max-width: 80vw;
    max-height: 60%;
    opacity: 0.045;
  } */

  .image_text_module--dark.image_text_module--has-watermark::before {
    opacity: 0.055;
  }

  .image_text_module--watermark-left::before {
    left: -90px;
  }

  .image_text_module--watermark-right::before {
    right: -90px;
  }













  
}

@media (prefers-reduced-motion: reduce) {
  .image_text_module__button {
    transition: none;
  }
}