/*
 * Stap 15B - twee bestaande compacte hero's met het echte RI&E-dashboard,
 * plus de echte PvA-afbeelding op de RI&E-pagina.
 * De basiskaders en grids blijven uit pages.css / rie.css komen.
 */

/* Laptop blijft exact binnen de oorspronkelijke mediakolom. */
.website-subpage .website-preview--real {
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.website-subpage .website-preview--real .website-preview__device {
    box-sizing: border-box;
    width: 100%;
}

.website-subpage .website-preview--real .website-preview__screen {
    display: grid;
    place-items: center;
    aspect-ratio: 1.70 / 1;
    min-width: 0;
    background: #eef3f9;
}

.website-subpage .website-preview--real .website-preview__screen img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain; /* volledig dashboard, geen crop of vervorming */
    object-position: center;
}

/* Op de RI&E-pagina dezelfde ruimte als het oude visuele processchema. */
.website-rie .rie-online__screenshot {
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 1.42 / 1;
    min-width: 0;
    padding: clamp(9px, 1.2vw, 17px);
    margin: 0;
    border: 1px solid #dbe7f2;
    border-radius: 19px;
    background: #fff;
    box-shadow: 0 24px 55px rgba(15, 57, 112, .10);
}

.website-rie .rie-online__screenshot img {
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    object-fit: contain; /* scherm blijft geheel zichtbaar */
    object-position: center;
    background: #f5f8fc;
    border-radius: 8px;
}

@media (max-width: 650px) {
    .website-subpage .website-preview--real .website-preview__device {
        padding: 7px 7px 10px;
    }

    .website-rie .rie-online__screenshot {
        aspect-ratio: 1.55 / 1;
        padding: 7px;
        border-radius: 13px;
    }
}
