/* MM Admin — hero shell matches MM Kiosk; titel/bands blijven eigen stijl */

/* ---- Hero (same stack / metrics as .mm-kiosk-hero) ---- */
.mm-admin-hero {
    position: relative;
    min-height: clamp(26rem, 60vh, 42rem);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 0 3rem;
    margin-bottom: 0;
    overflow: hidden;
}

.mm-admin-hero-bg {
    --mm-admin-hero-bg-shot: none;
    position: absolute;
    inset: 0;
    overflow: hidden;
    background-color: #17120f;
}

/* Blurred screenshot — enough blur to keep hero text readable, still recognizable UI */
.mm-admin-hero-bg::before {
    content: "";
    position: absolute;
    inset: -10%;
    background-image: var(--mm-admin-hero-bg-shot);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    filter: blur(11px) saturate(1.08);
    transform: scale(1.04);
    transform-origin: center top;
}

.mm-admin-hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.06) 1px, transparent 0),
        linear-gradient(165deg, rgba(13, 148, 136, 0.14) 0%, transparent 58%),
        linear-gradient(0deg, rgba(40, 28, 22, 0.42) 0%, transparent 58%);
    background-size:
        24px 24px,
        100% 100%,
        100% 100%;
    background-position: center, center, center;
    background-repeat: no-repeat;
}

.mm-admin-hero-scrim {
    position: absolute;
    inset: 0;
    pointer-events: none;
    /* Center stays clear for copy; edges only darken slightly so the shot stays visible */
    background: radial-gradient(
        ellipse 88% 78% at 50% 42%,
        transparent 0%,
        transparent 38%,
        rgba(23, 18, 15, 0.38) 68%,
        rgba(12, 10, 9, 0.62) 100%
    );
}

.mm-admin-hero-content {
    position: relative;
    z-index: 1;
    max-width: 42rem;
    padding-top: 0;
    text-align: center;
}

/* Hero titel = zelfde gradient-traktatie als MM Kiosk */
.mm-admin-hero-content h1 {
    font-size: clamp(2.25rem, 5.2vw, 3.15rem);
    margin-bottom: 0.65rem;
    line-height: 1.06;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #f6fdfb 0%, var(--primary-color) 42%, #a8ddd4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 20px rgba(0, 0, 0, 0.45));
}

.mm-admin-tagline {
    font-size: 1.18rem;
    color: #2a2420;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
    text-shadow: none;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

.mm-admin-lead {
    font-size: 1.05rem;
    color: rgba(26, 26, 26, 0.88);
    line-height: 1.65;
    margin: 0 auto 1rem;
    max-width: 38rem;
    text-align: center;
}

.mm-admin-lead strong {
    color: #111;
}

.mm-admin-hero-note {
    margin: 0 auto;
    font-size: 0.9rem;
    color: color-mix(in srgb, var(--primary-color) 72%, transparent);
    line-height: 1.45;
    max-width: 32rem;
}

/* ---- Shared: images ---- */
.mm-admin-media {
    margin: 0;
}

.mm-admin-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.mm-admin-ph--photo {
    position: relative;
    padding: 0 !important;
    gap: 0 !important;
    border: none !important;
    background: #0c0e10 !important;
    box-shadow: none;
    overflow: hidden;
}

.mm-admin-ph--photo .mm-admin-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 0;
}

.mm-admin-media-placeholder--laptop.mm-admin-ph--photo {
    box-shadow:
        inset 0 0 0 3px rgba(45, 40, 36, 0.9),
        0 12px 40px rgba(0, 0, 0, 0.4);
}

.mm-admin-media-placeholder--laptop.mm-admin-ph--photo .mm-admin-img {
    object-position: left top;
}

/* Placeholder tones (alternate look) */
.mm-admin-ph--soft {
    border: 1px solid color-mix(in srgb, var(--primary-color) 22%, transparent);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.06) 0%, rgba(30, 22, 18, 0.45) 100%);
}

.mm-admin-ph--edge {
    border: none;
    border-radius: 0;
    border-bottom: 3px solid color-mix(in srgb, var(--primary-color) 58%, transparent);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(0, 0, 0, 0.28) 100%);
}

.mm-admin-ph--solid {
    border: 2px solid rgba(80, 70, 64, 0.6);
    background: linear-gradient(145deg, rgba(35, 30, 28, 0.95) 0%, rgba(12, 10, 9, 0.9) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 24px 48px rgba(0, 0, 0, 0.45);
}

.mm-admin-media-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-align: center;
    padding: 1.5rem;
    box-sizing: border-box;
    border-radius: 14px;
}

.mm-admin-media-placeholder-icon {
    font-size: 2rem;
    color: rgba(196, 235, 228, 0.9);
    opacity: 0.95;
}

.mm-admin-media-placeholder-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.52);
    line-height: 1.45;
    font-weight: 500;
}

.mm-admin-media-placeholder-text small {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.8rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.38);
}

.mm-admin-caption {
    margin-top: 0.65rem;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.45;
}

/* ---- Band A: bleed cinema + copy below (mobile) / beside (desktop) ---- */
.mm-admin-band--a {
    padding: 0;
    background: linear-gradient(180deg, #1c1612 0%, var(--dark-gray) 100%);
}

.mm-admin-band-a-inner {
    display: flex;
    flex-direction: column;
}

.mm-admin-media--bleed {
    width: 100%;
}

.mm-admin-media--cinema {
    box-sizing: border-box;
    padding-block: clamp(1.25rem, 3.5vh, 2.25rem);
}

/* Inset cinema shots from band / viewport edges (mobile + desktop row layout) */
.mm-admin-media--bleed.mm-admin-media--cinema {
    padding-inline: clamp(16px, 4vw, 28px);
    min-width: 0;
}

.mm-admin-media-placeholder--cinema {
    aspect-ratio: 21 / 9;
    min-height: 11rem;
    border-radius: 0;
    border-left: none;
    border-right: none;
    box-sizing: border-box;
}

.mm-admin-media-placeholder--cinema.mm-admin-ph--photo {
    border-radius: clamp(10px, 1.25vw, 18px);
    box-shadow:
        0 4px 14px rgba(0, 0, 0, 0.18),
        0 20px 42px -14px rgba(0, 0, 0, 0.4);
}

.mm-admin-media-placeholder--cinema.mm-admin-ph--photo .mm-admin-img {
    border-radius: inherit;
}

.mm-admin-band-a-copy {
    padding: 2rem 20px 2.5rem;
    max-width: 32rem;
}

@media (max-width: 899px) {
    .mm-admin-band-a-copy {
        text-align: center;
        margin-inline: auto;
    }
}

@media (min-width: 900px) {
    .mm-admin-band-a-inner {
        flex-direction: row;
        align-items: stretch;
        min-height: 22rem;
    }

    .mm-admin-band-a-inner--reverse {
        flex-direction: row-reverse;
    }

    .mm-admin-band-a-inner--reverse .mm-admin-band-a-copy {
        padding: 2.5rem 1.5rem 2.5rem 3rem;
        text-align: right;
    }

    .mm-admin-media--cinema {
        flex: 1.35;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: stretch;
        min-height: 0;
    }

    .mm-admin-media--cinema .mm-admin-media-placeholder--cinema {
        flex: 0 0 auto;
        width: 100%;
        min-height: 11rem;
        aspect-ratio: 21 / 9;
    }

    .mm-admin-band-a-copy {
        flex: 0.72;
        max-width: none;
        padding: 2.5rem 3rem 2.5rem 1.5rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        box-sizing: border-box;
    }
}

.mm-admin-band-a-copy h2 {
    font-size: clamp(1.45rem, 3vw, 1.9rem);
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.mm-admin-band-a-copy p {
    margin: 0;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.65;
}

/* ---- Band B: stack — headline then full-bleed panorama (contrast vs Delivery) ---- */
.mm-admin-band--b {
    padding: 3rem 0 0;
    background: radial-gradient(ellipse 100% 80% at 50% 0%, rgba(13, 148, 136, 0.07), transparent 55%),
        rgba(0, 0, 0, 0.26);
}

/* Alternate stack band (Openingsuren: ingekaderde panorama i.p.v. full-bleed) */
.mm-admin-band--b.mm-admin-band--surface-muted {
    background: radial-gradient(ellipse 100% 70% at 50% 0%, rgba(13, 148, 136, 0.05), transparent 50%),
        var(--dark-gray);
    padding-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.mm-admin-band--b.mm-admin-band--surface-muted .mm-admin-stack-head {
    text-align: center;
}

.mm-admin-band--b.mm-admin-band--surface-muted .mm-admin-stack-head h2,
.mm-admin-band--b.mm-admin-band--surface-muted .mm-admin-stack-head p {
    margin-left: auto;
    margin-right: auto;
}

.mm-admin-stack-head {
    margin-bottom: 1.75rem;
}

.mm-admin-stack-head h2 {
    font-size: clamp(1.45rem, 3vw, 1.9rem);
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    line-height: 1.2;
    max-width: 40rem;
}

.mm-admin-stack-head p {
    margin: 0;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.65;
    max-width: 40rem;
}

/* Opbrengsten: copy + screenshot als één rustige kolom (geen full-bleed) */
.mm-admin-band--b--inset {
    padding: clamp(2.5rem, 6vw, 3.5rem) 0 clamp(2rem, 4vw, 2.75rem);
}

.mm-admin-band--b--inset .mm-admin-stack-head {
    margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
    text-align: center;
}

.mm-admin-band--b--inset .mm-admin-stack-head h2,
.mm-admin-band--b--inset .mm-admin-stack-head p {
    margin-left: auto;
    margin-right: auto;
}

.mm-admin-media--stack-wide {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* Panorama binnen inset-band: gecentreerd, afgerond, zelfde breedte als copy */
.mm-admin-media--stack-feature {
    width: 100%;
    max-width: min(48rem, 100%);
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 1.5rem);
    box-sizing: border-box;
}

/*
 * Panorama stack-feature: hoogte volgt intrinsieke screenshot (geen vaste aspect-ratio → geen lege band).
 * Img niet absolute/fill — width 100%, height auto.
 */
.mm-admin-media--stack-feature .mm-admin-media-placeholder--panorama.mm-admin-ph--photo {
    aspect-ratio: unset;
    min-height: unset;
    height: auto;
    border-radius: 14px;
    overflow: hidden;
    box-shadow:
        0 4px 14px rgba(0, 0, 0, 0.2),
        0 22px 44px -16px rgba(0, 0, 0, 0.45);
}

.mm-admin-media--stack-feature .mm-admin-media-placeholder--panorama.mm-admin-ph--photo .mm-admin-img {
    position: static;
    inset: auto;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: unset;
    object-position: unset;
    border-radius: inherit;
}

.mm-admin-media--stack-feature .mm-admin-caption {
    text-align: center;
    padding: 0.85rem clamp(0.5rem, 2vw, 1rem) 0;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

.mm-admin-media-placeholder--panorama {
    aspect-ratio: 2.4 / 1;
    min-height: 12rem;
    border-radius: 0;
}

.mm-admin-media--stack-wide .mm-admin-caption {
    text-align: center;
    padding: 0.75rem 20px 2.5rem;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

/* ---- Band C: float card laptop / browser + text ---- */
.mm-admin-band--c {
    padding: 3rem 0;
    background: var(--dark-gray);
}

.mm-admin-band--c.mm-admin-band--surface-deep {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, var(--dark-gray) 100%);
}

.mm-admin-float-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

.mm-admin-media-placeholder--laptop {
    aspect-ratio: 16 / 10;
    width: min(100%, clamp(20rem, 92vw, 38rem));
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    border-radius: clamp(10px, 1.5vw, 18px);
    box-shadow:
        inset 0 0 0 3px rgba(45, 40, 36, 0.9),
        0 12px 40px rgba(0, 0, 0, 0.4);
}

.mm-admin-media--float-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Optioneel: alleen waar expliciet gevraagd (niet op elke laptop-band) */
.mm-admin-media--float-card.mm-admin-media--float-tilt {
    transform: rotate(-2.25deg);
    transition: transform 0.25s ease;
}

.mm-admin-media--float-card.mm-admin-media--float-tilt:hover {
    transform: rotate(0deg) translateY(-4px);
}

@media (min-width: 800px) {
    .mm-admin-float-split {
        grid-template-columns: 1fr 0.95fr;
        gap: 3rem;
        align-items: center;
    }

    .mm-admin-media--float-card {
        order: -1;
    }

    /* Tekst links, laptop rechts (DOM: tekst eerst) */
    .mm-admin-band--figure-after .mm-admin-media--float-card {
        order: 1;
    }

    .mm-admin-media-placeholder--laptop {
        width: min(100%, 44rem);
    }

    .mm-admin-media--float-card .mm-admin-caption {
        text-align: center;
        max-width: min(100%, 28rem);
        margin-left: auto;
        margin-right: auto;
    }
}

/* ---- Compact prose band (geen groot beeld) ---- */
.mm-admin-band--prose {
    padding: 2.5rem 0;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid color-mix(in srgb, var(--primary-color) 12%, transparent);
    border-bottom: 1px solid color-mix(in srgb, var(--primary-color) 12%, transparent);
}

.mm-admin-prose-inner {
    max-width: 42rem;
    margin: 0 auto;
    padding: 0 20px;
}

.mm-admin-prose-inner h2 {
    font-size: clamp(1.45rem, 3vw, 1.9rem);
    color: var(--primary-color);
    margin: 0 0 0.75rem;
    line-height: 1.2;
}

.mm-admin-prose-inner p {
    margin: 0;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.65;
}

.mm-admin-split-text--padded h2 {
    font-size: clamp(1.45rem, 3vw, 1.9rem);
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.mm-admin-split-text--padded p {
    margin: 0;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.65;
    max-width: 34rem;
}

@media (max-width: 799px) {
    .mm-admin-split-text--padded {
        text-align: center;
    }

    .mm-admin-split-text--padded p {
        margin-left: auto;
        margin-right: auto;
    }
}

.mm-admin-band--figure-after .mm-admin-split-text--padded {
    text-align: right;
}

.mm-admin-band--figure-after .mm-admin-split-text--padded p {
    margin-left: auto;
    margin-right: 0;
}

/* ---- Mosaic gallery (bento layout on wide screens) ---- */
.mm-admin-gallery {
    padding: 3rem 0 3.5rem;
    border-top: 1px solid color-mix(in srgb, var(--primary-color) 18%, transparent);
    background: #14100d;
}

.mm-admin-gallery-title {
    text-align: left;
    font-size: 1.85rem;
    color: rgba(245, 232, 218, 0.95);
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

@media (min-width: 700px) {
    .mm-admin-gallery-title {
        text-align: center;
    }
}

.mm-admin-gallery-intro {
    text-align: left;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.98rem;
    max-width: 520px;
    margin: 0 0 2rem;
    line-height: 1.5;
}

@media (min-width: 700px) {
    .mm-admin-gallery-intro {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
}

.mm-admin-gallery-mosaic {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    /* Stacked: equal height rows */
    grid-auto-rows: minmax(11rem, 28vw);
    align-items: stretch;
}

.mm-admin-gallery-mosaic > .mm-admin-media {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.mm-admin-gallery-mosaic .mm-admin-media-placeholder {
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    aspect-ratio: unset;
}

.mm-admin-gallery-mosaic .mm-admin-ph--photo {
    border-radius: 10px;
}

.mm-admin-gallery-mosaic .mm-admin-ph--photo .mm-admin-img {
    border-radius: 10px;
}

.mm-admin-gallery-mosaic .mm-admin-img {
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    object-fit: cover;
}

@media (min-width: 700px) {
    .mm-admin-gallery-mosaic {
        grid-template-columns: 1.12fr 0.88fr;
        grid-template-rows: minmax(14rem, 32vh) minmax(11rem, 24vh);
        grid-template-areas:
            'hero hero'
            'tall sq';
        gap: 0.9rem;
        grid-auto-rows: unset;
    }

    .mm-admin-mosaic__hero {
        grid-area: hero;
    }

    .mm-admin-mosaic__tall {
        grid-area: tall;
    }

    .mm-admin-mosaic__sq {
        display: flex;
        grid-area: sq;
    }
}

@media (min-width: 900px) {
    .mm-admin-gallery-mosaic {
        grid-template-columns: 1.35fr 1fr;
        grid-template-rows: minmax(15rem, 34vh) minmax(12rem, 26vh);
        gap: 1rem;
    }
}

/* ---- Close ---- */
.mm-admin-close {
    padding: 2.25rem 0 3rem;
    border-top: 1px solid color-mix(in srgb, var(--primary-color) 24%, transparent);
    background: linear-gradient(180deg, rgba(28, 22, 18, 0.98) 0%, rgba(10, 8, 7, 0.95) 100%);
}

.mm-admin-close-inner {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto;
    padding: 0 20px;
}

.mm-admin-quote {
    margin: 0;
    padding: 1.45rem 1.5rem 1.55rem 3.15rem;
    border: none;
    border-left: 4px solid var(--primary-color);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0 16px 16px 0;
    text-align: left;
    position: relative;
    box-shadow: 0 12px 38px rgba(0, 0, 0, 0.26);
}

.mm-admin-quote::before {
    content: "\201C";
    position: absolute;
    left: 0.95rem;
    top: 0.3rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.65rem;
    line-height: 1;
    color: color-mix(in srgb, var(--primary-color) 58%, transparent);
    font-weight: 700;
    pointer-events: none;
}

.mm-admin-quote p {
    margin: 0;
    padding: 0;
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    line-height: 1.62;
    font-style: italic;
    color: rgba(238, 242, 240, 0.92);
    font-weight: 500;
}

