/* ════════════════════════════════════════════
   Content Block V3 — text-only V2 family block
   Full-width heading + rich text, no image.
   Same typography, colors and link styling as
   Content Block V2; optional centered variant.
   Depends on scw-base (tokens + .scw-section).
   ════════════════════════════════════════════ */

.scw-cb3 {
    background: var(--scw-cb3-bg, #FFFFFF);
    font-family: var(--scw-font, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.scw-cb3 *,
.scw-cb3 *::before,
.scw-cb3 *::after {
    box-sizing: border-box;
}

.scw-cb3__heading--center {
    text-align: center;
}

.scw-cb3__body--center {
    text-align: center;
}

/* ── Heading ── */
.scw-cb3__heading {
    font-size: clamp(26px, 3.5vw, 38px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--scw-cb3-heading, #0F0F0F);
    margin: 0 0 24px;
}

/* ── Body ── */
.scw-cb3__body {
    font-size: 16px;
    line-height: 1.75;
    color: var(--scw-cb3-text, #52525B);
}

.scw-cb3__body p {
    margin: 0 0 16px;
}

.scw-cb3__body p:last-child {
    margin-bottom: 0;
}

.scw-cb3__body a {
    color: var(--scw-cb3-a2, #EC4899);
    text-decoration: none;
}

.scw-cb3__body a:hover {
    text-decoration: underline;
}

.scw-cb3__body strong,
.scw-cb3__body b {
    color: var(--scw-cb3-heading, #0F0F0F);
}

/* Sub-headings inside the rich text */
.scw-cb3__body h2,
.scw-cb3__body h3,
.scw-cb3__body h4 {
    color: var(--scw-cb3-heading, #0F0F0F);
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.3;
    margin: 32px 0 12px;
}

.scw-cb3__body h2 { font-size: 24px; }
.scw-cb3__body h3 { font-size: 20px; }
.scw-cb3__body h4 { font-size: 17px; }

.scw-cb3__body h2:first-child,
.scw-cb3__body h3:first-child,
.scw-cb3__body h4:first-child {
    margin-top: 0;
}

/* Lists inside the rich text — gradient dot bullets */
.scw-cb3__body ul,
.scw-cb3__body ol {
    margin: 0 0 16px;
    padding-left: 24px;
}

.scw-cb3__body li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.scw-cb3__body ul {
    list-style: none;
    padding-left: 0;
}

.scw-cb3__body ul li {
    position: relative;
    padding-left: 22px;
}

.scw-cb3__body--center ul li {
    padding-left: 0;
}

.scw-cb3__body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--scw-cb3-a1, #A855F7) 0%, var(--scw-cb3-a2, #EC4899) 100%);
}

.scw-cb3__body--center ul li::before {
    display: none;
}

/* ════════════════════════════════════════════
   Responsive — Tablet (≤ 1023px)
   ════════════════════════════════════════════ */
@media (max-width: 1023px) {
    .scw-cb3__heading {
        font-size: clamp(24px, 3vw, 32px);
    }

    .scw-cb3__body {
        font-size: 15px;
    }
}

/* ════════════════════════════════════════════
   Responsive — Mobile (≤ 767px)
   ════════════════════════════════════════════ */
@media (max-width: 767px) {
    .scw-cb3__heading {
        margin-bottom: 20px;
    }

    .scw-cb3__body h2 { font-size: 22px; }
    .scw-cb3__body h3 { font-size: 19px; }
}

/* ════════════════════════════════════════════
   Responsive — Small mobile (≤ 480px)
   ════════════════════════════════════════════ */
@media (max-width: 480px) {
    .scw-cb3__heading {
        font-size: 24px;
    }
}

/* ── Elementor Editor Overrides ── */
.elementor-editor-active .scw-cb3 {
    min-height: 100px;
}
