.cc_p5yi8lss_rich_text .rich-text {
  width: 100%;
  background: var(--rich-text-bg, var(--color-bg));
  padding: var(--space-2xl) 0;
}

.cc_p5yi8lss_rich_text .rich-text-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(16px, 5vw, 80px);
}

.cc_p5yi8lss_rich_text .rich-text[data-alignment="left"] .rich-text-container {
  text-align: left;
}
.cc_p5yi8lss_rich_text .rich-text[data-alignment="center"] .rich-text-container {
  text-align: center;
}
.cc_p5yi8lss_rich_text .rich-text[data-alignment="right"] .rich-text-container {
  text-align: right;
}

.cc_p5yi8lss_rich_text .rich-text-heading {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 400;
  line-height: 1.15;
  color: var(--color-text-primary);
}

.cc_p5yi8lss_rich_text .rich-text-heading--has-following {
  margin-bottom: var(--space-md);
}

.cc_p5yi8lss_rich_text .rich-text-body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-body-lg);
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.cc_p5yi8lss_rich_text .rich-text-body p {
  margin: 0 0 var(--space-sm) 0;
}

.cc_p5yi8lss_rich_text .rich-text-body p:last-child {
  margin-bottom: 0;
}

.cc_p5yi8lss_rich_text .rich-text-body h2, .cc_p5yi8lss_rich_text .rich-text-body h3, .cc_p5yi8lss_rich_text .rich-text-body h4 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--color-text-primary);
  margin: var(--space-md) 0 var(--space-xs);
}

.cc_p5yi8lss_rich_text .rich-text-body ul, .cc_p5yi8lss_rich_text .rich-text-body ol {
  margin: 0 0 var(--space-sm);
  padding-left: var(--space-md);
  text-align: left;
}

.cc_p5yi8lss_rich_text .rich-text-body a {
  color: inherit;
  text-decoration: underline;
}

.cc_p5yi8lss_rich_text .rich-text-body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: var(--space-sm) auto;
}

.cc_p5yi8lss_rich_text .rich-text[data-alignment="center"] .rich-text-body {
  margin-left: auto;
  margin-right: auto;
}
.cc_p5yi8lss_rich_text .rich-text[data-alignment="right"] .rich-text-body {
  margin-left: auto;
}

.cc_p5yi8lss_rich_text .rich-text-body--has-following {
  margin-bottom: var(--space-lg);
}

.cc_p5yi8lss_rich_text .rich-text-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.cc_p5yi8lss_rich_text .rich-text[data-alignment="left"] .rich-text-actions {
  justify-content: flex-start;
}
.cc_p5yi8lss_rich_text .rich-text[data-alignment="center"] .rich-text-actions {
  justify-content: center;
}
.cc_p5yi8lss_rich_text .rich-text[data-alignment="right"] .rich-text-actions {
  justify-content: flex-end;
}

.cc_p5yi8lss_rich_text .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  max-width: 100%;
  font-family: var(--font-label);
  font-size: var(--text-label);
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-base);
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
  cursor: pointer;
  white-space: nowrap;
}

.cc_p5yi8lss_rich_text .btn--primary {
  background: var(--color-primary);
  color: #fff;
  border: none;
  padding: 14px 32px;
}
.cc_p5yi8lss_rich_text .btn--primary:hover {
  background: var(--color-primary-hover);
}

.cc_p5yi8lss_rich_text .btn--secondary {
  background: transparent;
  color: var(--color-text-primary);
  border: 1px solid var(--color-border);
  padding: 12px 28px;
}
.cc_p5yi8lss_rich_text .btn--secondary:hover {
  border-color: var(--color-accent);
}

.cc_p5yi8lss_rich_text .btn--ghost {
  background: transparent;
  color: var(--color-accent);
  border: none;
  padding: 12px 28px;
}
.cc_p5yi8lss_rich_text .btn--ghost:hover {
  text-decoration: underline;
}

.cc_p5yi8lss_rich_text .reveal-item {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 500ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 500ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition-delay: var(--reveal-delay, 0ms);
}

.cc_p5yi8lss_rich_text .rich-text.is-visible .reveal-item {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .cc_p5yi8lss_rich_text .reveal-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 767px) {
  .cc_p5yi8lss_rich_text .rich-text {
    padding: var(--space-xl) 0;
  }

  .cc_p5yi8lss_rich_text .rich-text-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cc_p5yi8lss_rich_text .rich-text-actions .btn {
    width: 100%;
    white-space: normal;
    padding-left: var(--space-sm);
    padding-right: var(--space-sm);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .cc_p5yi8lss_rich_text .rich-text {
    padding: var(--space-2xl) 0;
  }
}
