/* ──────────────────────────────────────────────────────────────────────────
   The section has NO background so it expands freely to contain the full
   laptop image.  A ::before pseudo-element draws the blue gradient at a
   FIXED height — ending roughly mid-laptop — so the keyboard area beneath
   that boundary sits on the white page background.
   CMS colours arrive as CSS custom properties on the <section> element.
   ────────────────────────────────────────────────────────────────────────── */
.platform-dashboard-section {
    background: none;
    margin-bottom: 0;
    margin-top: 0;
    overflow: visible;
    padding: 48px 0 0;
    position: relative;
}

.platform-dashboard-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 60px;
    right: 60px;
    height: 760px;
    background: linear-gradient(180deg, var(--dash-bg-primary, #2D5699) 0%, var(--dash-bg-secondary, #1C355E) 63.69%);
    border-bottom-left-radius: 48px;
    border-bottom-right-radius: 48px;
    z-index: 0;
}

.platform-dashboard-section--no-image {
    padding-bottom: 72px;
}

.platform-dashboard-section__container {
    margin: 0 auto;
    max-width: 1629px;
    padding: 0 40px;
    position: relative;
    text-align: center;
    z-index: 1;
}

.platform-dashboard-section__title {
    font-family: "Aktiv Grotesk", sans-serif;
    font-size: 41px;
    font-weight: 600;
    letter-spacing: -0.1px;
    line-height: 1.06;
    margin: 0 auto 24px;
    max-width: 667px;
}

.platform-dashboard-section__description {
    font-family: "Aktiv Grotesk", sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.5;
    margin: 0 auto;
    max-width: 708px;
}

.platform-dashboard-section__description p {
    color: inherit;
    margin-bottom: 0;
}

.platform-dashboard-section__image-shell {
    margin: 48px auto 0;
    max-width: 1629px;
    position: relative;
    z-index: 1;
}

.platform-dashboard-section__image {
    display: block;
    filter: drop-shadow(0 24px 48px rgba(15, 27, 44, 0.2));
    height: auto;
    margin: 0 auto;
    width: 100%;
}

@media (max-width: 991px) {
    .platform-dashboard-section::before {
        height: 620px;
    }

    .platform-dashboard-section__container {
        padding: 0 24px;
    }

    .platform-dashboard-section__title {
        font-size: 40px;
        max-width: 640px;
    }

    .platform-dashboard-section__image-shell {
        max-width: 980px;
    }
}

@media (max-width: 767px) {
    .platform-dashboard-section {
        background: none !important;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        margin-left: 0 !important;
        margin-right: 0 !important;
        top: -1px;
        padding: 24px 0 0;
    }

    .platform-dashboard-section::before {
        content: '' !important;
        top: 0;
        left: 0;
        right: 0;
        height: 490px;
        background: linear-gradient(180deg, var(--dash-bg-primary, #2D5699) 0%, var(--dash-bg-secondary, #1C355E) 63.69%);
        border-bottom-left-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
    }

    .platform-dashboard-section--no-image {
        padding-bottom: 56px;
    }

    .platform-dashboard-section__container {
        padding: 0 24px;
    }

    .platform-dashboard-section__title {
        font-size: 28px;
        margin-bottom: 16px;
        max-width: 320px;
    }

    .platform-dashboard-section__description {
        font-size: 15px;
        max-width: 320px;
    }

    .platform-dashboard-section__image-shell {
        margin-top: 24px;
        max-width: 390px;
    }
}