.rich-text-content {
    color: #5f5b57;
    font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

.rich-text-content h2,
.rich-text-content h3,
.rich-text-content h4 {
    color: #151515;
    font-family: "Poppins", "Inter", ui-sans-serif, system-ui, sans-serif;
    font-weight: 600;
    line-height: 1.25;
}

.rich-text-content h2 {
    margin: 26px 0 10px;
    font-size: 32px;
}

.rich-text-content h3 {
    margin: 22px 0 8px;
    font-size: 24px;
}

.rich-text-content h4 {
    margin: 18px 0 7px;
    font-size: 20px;
}

.rich-text-content > :first-child {
    margin-top: 0;
}

.rich-text-content > :last-child {
    margin-bottom: 0;
}

.rich-text-content p,
.rich-text-content > div {
    margin: 0 0 8px;
}

.rich-text-content p:empty,
.rich-text-content > div:empty,
.rich-text-content p:has(> br:only-child),
.rich-text-content > div:has(> br:only-child) {
    min-height: 1em;
    margin-bottom: 0;
}

.rich-text-content ul,
.rich-text-content ol {
    margin: 0 0 12px;
    padding-left: 28px;
}

.rich-text-content li + li {
    margin-top: 3px;
}

.rich-text-content a {
    color: var(--condrieu-rust-dark, #76513b);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.rich-text-content blockquote {
    margin: 20px 0;
    padding: 17px 22px;
    border-left: 4px solid var(--condrieu-rust, #9a6b4e);
    background: var(--condrieu-cream, #f5f2ec);
    color: #3f3b38;
    font-size: 18px;
}

.rich-text-content figure {
    margin: 32px 0;
}

.rich-text-content.rich-text-content figure img,
.rich-text-content.rich-text-content > img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 10px;
}

.rich-text-content figcaption {
    margin-top: 9px;
    color: #6f6a66;
    font-size: 13px;
    text-align: center;
}

@media (max-width: 767px) {
    .rich-text-content h2 {
        font-size: 27px;
    }

    .rich-text-content h3 {
        font-size: 22px;
    }
}
