.seo-rich-section {
    position: relative;
    z-index: 2;
}

.seo-rich-content {
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.62);
    background: linear-gradient(145deg, rgba(247, 250, 255, 0.9), rgba(238, 246, 255, 0.82)),
    radial-gradient(520px 240px at 8% 6%, rgba(148, 46, 135, 0.04), transparent 74%);
    backdrop-filter: blur(12px) saturate(1.08);
    box-shadow: 0 22px 34px -30px rgba(15, 23, 42, 0.28);
    padding: clamp(1rem, 2.4vw, 1.6rem);
    color: rgba(15, 23, 42, 0.88);
    font-size: clamp(0.94rem, 1.32vw, 1rem);
    line-height: 1.74;
}

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

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

.seo-rich-content :where(h1, h2, h3, h4, h5, h6) {
    margin: 1.2em 0 0.5em;
    line-height: 1.24;
    letter-spacing: -0.01em;
    font-weight: 700;
    position: relative;
    color: #0f172a;
}

.seo-rich-content :where(h1) {
    font-size: clamp(1.45rem, 2.6vw, 2rem);
    color: #13203e;
}

.seo-rich-content :where(h2) {
    font-size: clamp(1.24rem, 2.2vw, 1.72rem);
    background: linear-gradient(120deg, #2a3360 0%, #522778 48%, #8f2d86 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    border-left: 4px solid rgba(122, 50, 159, 0.34);
    padding-left: 0.62rem;
}

.seo-rich-content :where(h3) {
    font-size: clamp(1.08rem, 1.7vw, 1.35rem);
    color: #2f3160;
    border-left: 3px solid rgba(82, 39, 120, 0.28);
    padding-left: 0.56rem;
}

.seo-rich-content :where(h4, h5, h6) {
    font-size: clamp(1rem, 1.4vw, 1.14rem);
    color: #43416f;
    font-weight: 650;
}

.seo-rich-content :where(p, ul, ol, blockquote, table, hr, pre) {
    margin: 0.82em 0;
}

.seo-rich-content :where(strong, b) {
    font-weight: 700;
    color: #0b1021;
}

.seo-rich-content :where(em, i) {
    font-style: italic;
}

.seo-rich-content :where(u) {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.seo-rich-content :where(a) {
    color: #522778;
    text-decoration: underline;
    text-decoration-color: rgba(82, 39, 120, 0.45);
    text-underline-offset: 3px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.seo-rich-content :where(a:hover, a:focus-visible) {
    color: #7a329f;
    text-decoration-color: rgba(122, 50, 159, 0.68);
}

.seo-rich-content :where(ul, ol) {
    padding-left: 1.4rem;
}

.seo-rich-content :where(ul) {
    list-style: disc outside;
}

.seo-rich-content :where(ol) {
    list-style: decimal outside;
}

.seo-rich-content :where(li + li) {
    margin-top: 0.34rem;
}

.seo-rich-content :where(ul li)::marker {
    color: rgba(122, 50, 159, 0.92);
}

.seo-rich-content :where(ol li)::marker {
    color: rgba(69, 85, 120, 0.92);
    font-weight: 600;
}

.seo-rich-content :where(blockquote) {
    border-left: 3px solid rgba(122, 50, 159, 0.35);
    background: rgba(255, 255, 255, 0.36);
    padding: 0.72rem 0.95rem;
    border-radius: 0.78rem;
    color: rgba(15, 23, 42, 0.86);
}

.seo-rich-content :where(img, video, iframe) {
    max-width: 100%;
    height: auto;
    border-radius: 0.9rem;
}

.seo-rich-content :where(table) {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 0.8rem;
    font-size: 0.94em;
}

.seo-rich-content :where(th, td) {
    border: 1px solid rgba(148, 163, 184, 0.38);
    padding: 0.56rem 0.62rem;
    text-align: left;
}

.seo-rich-content :where(th) {
    background: rgba(255, 255, 255, 0.42);
    color: #0b1021;
    font-weight: 700;
}

.seo-rich-content :where(hr) {
    border: 0;
    border-top: 1px solid rgba(148, 163, 184, 0.42);
}

.seo-rich-content .blog-inline-cta {
    margin: 1.3rem 0 1.15rem;
    width: 100%;
    padding: 0.34rem;
    border-radius: 1rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.34rem;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 24px -18px rgba(15, 23, 42, 0.32);
}

.seo-rich-content .blog-inline-cta-btn {
    min-height: 2.95rem;
    width: 100%;
    border-radius: 0.76rem;
    display: grid;
    place-items: center;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.95);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.seo-rich-content .blog-inline-cta-btn i {
    display: inline-block;
    width: 1em;
    line-height: 1;
    font-size: 1.14rem;
    font-weight: 900;
    font-style: normal;
    font-variant: normal;
    font-feature-settings: normal;
    text-align: center;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: geometricPrecision;
    text-shadow: 0 0 0.01px currentColor, 0 0 0.01px currentColor;
}

.seo-rich-content .blog-inline-cta-btn:hover {
    transform: translateY(-1px) scale(1.01);
}

.seo-rich-content .blog-inline-cta-btn--appointment {
    background: linear-gradient(145deg, #6d28d9, #7c3aed);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), 0 10px 18px -14px rgba(109, 40, 217, 0.62);
}

.seo-rich-content .blog-inline-cta-btn--whatsapp {
    background: linear-gradient(145deg, #059669, #16a34a);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), 0 10px 18px -14px rgba(5, 150, 105, 0.62);
}

.seo-rich-content .blog-inline-cta-btn--phone {
    background: linear-gradient(145deg, #2563eb, #3b82f6);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), 0 10px 18px -14px rgba(37, 99, 235, 0.62);
}

@media (max-width: 1180px) {
    .seo-rich-content {
        padding: 1rem;
    }
}

@media (max-width: 767px) {
    .seo-rich-content .blog-inline-cta {
        grid-template-columns: 1fr;
    }
}
