/* Rich Text module */

.rich_text_module {
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  width: 100%;
  overflow: hidden;
  padding-right: 24px;
  padding-left: 24px;
  color: var(--rich-text-color, #232426);
}

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


/* Section watermark */

.rich_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;
}

.rich-text-color-dark.rich_text_module--has-watermark::before {
  filter: brightness(0) invert(1);
  opacity: 0.07;
}

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

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

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


/* Content */

.rich_text_module__content {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: var(--ib-container, 1200px);
  margin: 0 auto;
  color: var(--rich-text-color, #232426);
  font-size: 18px;
  line-height: 1.7;
}

.rich_text_module__content h1,
.rich_text_module__content h2,
.rich_text_module__content h3,
.rich_text_module__content h4,
.rich_text_module__content h5,
.rich_text_module__content h6 {
  margin-top: 1.5em;
  margin-bottom: 0.65em;
  color: var(--rich-text-heading-color, #232426);
  line-height: 1.2;
}

.rich_text_module__content h1 {
  color: var(--rich-text-accent-color, #b02020);
}

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

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

.rich_text_module__content p {
  color: inherit;
}

.rich_text_module__content a {
  color: var(--rich-text-accent-color, #b02020);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.rich_text_module__content a:hover {
  text-decoration-thickness: 2px;
}

.rich_text_module__content a:focus-visible {
  border-radius: 2px;
  outline: 3px solid var(
    --rich-text-accent-color,
    #b02020
  );
  outline-offset: 3px;
}

.rich_text_module__content ul,
.rich_text_module__content ol {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
  padding-left: 1.5em;
}

.rich_text_module__content li {
  margin-bottom: 0.5em;
  padding-left: 0.35em;
  color: inherit;
}

.rich_text_module__content li:last-child {
  margin-bottom: 0;
}

.rich_text_module__content li::marker {
  color: var(--rich-text-accent-color, #b02020);
  font-weight: 700;
}

.rich_text_module__content blockquote {
  margin: 1.5em 0;
  padding: 16px 24px;
  border-left: 4px solid var(
    --rich-text-accent-color,
    #b02020
  );
  color: inherit;
}

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

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

.rich_text_module.rich-text-color-dark
  .rich_text_module__content
  a:focus-visible {
  outline-color: #ffffff;
}


/* Mobile */

@media (max-width: 767px) {

  .rich_text_module {
    padding-right: 20px;
    padding-left: 20px;
  }

}