/* Insight sticky content header */

:root {
    --akdev-header-height: 88px;
}

.insight-single__body {
    position: relative;
    background: #fafafa;
}

.insight-content-header {
    position: sticky;
    top: var(--akdev-header-height, 88px);
    z-index: 900;
    width: 100%;
    background: #fff;
}

.insight-content-header__inner {
    max-width: var(--akdev-section-max, 1440px);
    margin: 0 auto;
    padding: 16px 16px 0;
    box-sizing: border-box;
}

.insight-content-header__row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
}

.insight-content-header__title {
    margin: 0;
    font-family: Gilroy, sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.25;
    color: #000;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.insight-content-header__cta {
    align-self: stretch;
    justify-content: center;
    white-space: nowrap;
}

.insight-content-header__progress {
    margin-top: 16px;
    height: 9px;
    width: 100%;
    background: #dee1ea;
    overflow: hidden;
}

.insight-content-header__progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(128deg, #006b82 0%, #91c73e 100%);
    transition: width 0.08s linear;
    will-change: width;
}

@media (min-width: 768px) {
    .insight-content-header__inner {
        padding: 20px 16px 0;
    }

    .insight-content-header__title {
        font-size: 22px;
    }

    .insight-content-header__row {
        flex-direction: row;
        align-items: center;
        gap: 24px;
    }

    .insight-content-header__title {
        flex: 1;
        min-width: 0;
        -webkit-line-clamp: 1;
    }

    .insight-content-header__cta {
        align-self: center;
        flex-shrink: 0;
    }
}

@media (min-width: 1024px) {
    .insight-content-header__inner {
        padding: 24px 16px 0;
    }

    .insight-content-header__title {
        font-size: 24px;
    }
}
