/* ─── SECTION ─── */
.seo-text {
    padding: 50px 0 0px;
}

/* ─── INNER GRID ─── */
.seo-text__grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* ─── LEFT COLUMN ─── */
.seo-text__left {
    flex: 1;
    min-width: 0;
}

.seo-text__label {
    display: block;
    margin-bottom: 8px;
}

.seo-text__title {
    margin-top: 0;
    margin-bottom: 12px;
}

.seo-text__right{
    display: none;
}

.seo-text__right-mobile{
    margin-bottom: 12px;
}

/* ─── TEXT CONTENT ─── */
.seo-text__preview {
    /* always visible */
}

.seo-text__extra {
    display: none; /* hidden by default */
    margin-top: 0;
}

.seo-text__extra.is-open {
    display: block;
    animation: fadeSlideIn .3s ease both;
}



@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.seo-text__body p {
    color: var(--grey-3);
    margin-bottom: 16px;
}

.seo-text__body p strong {
    color: var(--black);
    font-weight: 700;
}

.seo-text__body p:last-child {
    margin-bottom: 0;
}

/* ─── EXPANDED CONTENT ─── */
.seo-text__extra h3 {
    margin: 28px 0 16px;
}

.seo-text__extra h3:first-child {
    margin-top: 24px;
}

.seo-text__extra ul {
    margin-bottom: 16px;
}

.seo-text__extra ul li {

}

.seo-text__extra ul li::before {

}

/* ─── TOGGLE BUTTON ─── */
.seo-text__toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: "Manrope", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    padding: 0;
    transition: opacity .15s;
    text-decoration: none;
}

.seo-text__toggle:hover {
    opacity: .75;
}

.seo-text__toggle .arrow {
    display: inline-block;
    transition: transform .25s ease;
    font-style: normal;
    line-height: 1;
}

.seo-text__toggle.is-open .arrow {
    transform: rotate(180deg);
}

/* ─── RIGHT COLUMN (chart image) ─── */
.seo-text__right {
    flex-shrink: 0;
}

.seo-text__chart {
    width: 100%;
    max-width: 420px;
    height: auto;
    display: block;
    border-radius: 4px;
    margin: 0 auto;
}

/* ──────────────────────────────
   TABLET 768px
────────────────────────────── */
@media (min-width: 768px) {
    .seo-text {
        padding: 52px 0 0px;
    }
}

/* ──────────────────────────────
   DESKTOP 1024px
   Two-column: left text + right chart
────────────────────────────── */
@media (min-width: 1024px) {
    .seo-text__right-mobile{
        display: none;
    }
    .seo-text { padding: 64px 0 0px; }

    .seo-text__grid {
        flex-direction: row;
        align-items: flex-start;
        gap: 64px;
    }

    .seo-text__left {
        flex: 0 0 auto;
        width: calc(55% - 32px);
    }

    .seo-text__right {
        flex: 1;
        position: sticky;
        top: 32px;
        width: auto;
        margin: -24px 0;
        margin-right: calc(-48px - ((100vw - var(--content)) / 2));
        align-self: stretch;
        display: flex;
        align-items: flex-start;
        overflow: visible;
        padding-left: 48px;
        max-width: 692px;

    }

    .seo-text__title { margin-bottom: 24px; }

    .seo-text__chart {
        max-width: 100%;
        margin: 0;
    }
}
