/* ==========================================================
   Insights body section
   Relies on the :root variables defined in style.css
   (--purple, --white, --text-dark, --secondary-blue, --baby-blue)
   ========================================================== */

.insights-body {
    --insights-panel-bg: color-mix(in srgb, var(--secondary-blue) 22%, var(--white));
    background: var(--white);
    color: var(--text-dark);
    font-family: "Questrial", "Montserrat", Arial, sans-serif;
    position: relative;
}

/* ---------- Heading ---------- */
.insights-body__header {
    padding: 40px 80px 80px;
}

.insights-body__heading {
    margin: 0;
    font-size: clamp(56px, 7vw, 104px);
    font-weight: 400;
    line-height: 1.05;
    color: var(--purple);
}

/* ---------- Rows: two cells each (image + list) ---------- */
.insights-body__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 372px;
}

/* ---------- Image cell ---------- */
.insights-body__figure {
    position: relative;
    margin: 0;
    min-height: 372px;
    overflow: hidden;
}

.insights-body__figure img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ---------- List cell ---------- */
.insights-body__panel {
    display: flex;
    align-items: center;
    padding: 40px 30px;
    background: var(--white);
}

/* list on the left = tinted panel (like items 05–07 and 11–13) */
.insights-body__row--image-right .insights-body__panel {
    background: var(--insights-panel-bg);
}

.insights-body__list {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.insights-body__item {
    margin: 0;
}

.insights-body__link {
    display: block;
    padding-left: 54px;      /* room for the hanging number */
    text-indent: -54px;      /* number hangs, wrapped lines indent */
    font-size: clamp(24px, 2.2vw, 34px);
    line-height: 1.12;
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.25s ease;
}

.insights-body__num {
    display: inline-block;
    min-width: 54px;
    text-indent: 0;
}

.insights-body__arrow {
    margin-left: 6px;
    color: var(--purple);
    white-space: nowrap;
    transition: margin-left 0.25s ease, color 0.25s ease;
}

.insights-body__link:hover,
.insights-body__link:focus-visible {
    color: var(--purple);
}

.insights-body__link:hover .insights-body__arrow,
.insights-body__link:focus-visible .insights-body__arrow {
    margin-left: 14px;
    color: var(--baby-blue);
}


/* ---------- Insights Description ---------- */
.insights-body .insights-body__description {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;

    position: relative;
    z-index: 2;

    width: calc(100% - 48px);
    max-width: 1090px;

    margin: 70px auto 0;
    padding: 0 0 50px;

    box-sizing: border-box;

    color: var(--purple, #6c3bb8);
    font-family: "Questrial", "Montserrat", Arial, sans-serif;

    /* Responsive typography */
    font-size: clamp(28px, 4.5vw, 65px);
    line-height: 1.3;
    font-weight: 700;
    text-align: center;

    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* ---------- Tablet ---------- */
@media (min-width: 768px) and (max-width: 991px) {
    .insights-body .insights-body__description {
        width: calc(100% - 64px);
        max-width: 850px;

        margin-top: 45px;
        padding-bottom: 40px;

        font-size: clamp(32px, 4.5vw, 44px);
        line-height: 1.35;
    }
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
    .insights-body .insights-body__description {
        width: calc(100% - 36px);
        max-width: 100%;

        margin-top: 30px;
        padding-bottom: 30px;

        font-size: clamp(24px, 6vw, 34px);
        line-height: 1.4;

        text-align: center;
    }
}

/* ---------- Small Phones ---------- */
@media (max-width: 480px) {
    .insights-body .insights-body__description {
        width: calc(100% - 32px);

        margin-top: 24px;
        padding-bottom: 24px;

        font-size: clamp(21px, 6vw, 28px);
        line-height: 1.45;
    }
}



/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .insights-body__header {
        padding: 30px 24px 40px;
    }

    .insights-body__row {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .insights-body__row--image-right .insights-body__figure {
        order: -1;
    }

    .insights-body__figure {
        min-height: 240px;
    }

    .insights-body__panel {
        padding: 30px 20px;
    }

    .insights-body__list {
        gap: 28px;
    }

    .insights-body__link {
        font-size: clamp(22px, 3.5vw, 30px);
        padding-left: 44px;
        text-indent: -44px;
    }

    .insights-body__num {
        min-width: 44px;
    }
}