
/* ---------- Emma Oscarsson's profile (vi-pa-dryft/emma-oscarsson.html) ---------- */

/* Her film in the group photo's place (ny_design_om.css, "The group photo"), playing muted by
   itself in 16:9 (Hanna, 2026-11-18). */
.nd_profile_page .nd_profile_video iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    background: var(--nd_green);
}
/* Beside the film on desktop, the heading reads as a quote, centered on the film's height. The line
   the questions have above them stays at the top of the column, level with the film's top edge, so
   it still closes off the questions above (Hanna, 2026-11-18). */
@media (min-width: 1024px) {
    .nd_profile_page .nd_profile_photo_row_text:has(.nd_profile_video_quote) {
        align-self: stretch;
        display: flex;
        flex-direction: column;
        justify-content: center;
        border-top: 1px solid var(--nd_line);
    }
    .nd_profile_page .nd_profile_video_quote > .nd_container {
        padding-top: 0;
        border-top: 0;
        container-type: inline-size;
    }
    /* At most H2 size, smaller where the column is narrower, so "Emma har full koll på läget!"
       always fits on its own line (it is about 14 times the font size wide). */
    .nd_profile_page .nd_profile_video_quote .nd_h2 {
        font-size: min(52px, 6.8cqw);
    }
}
