/* Home extension: the supplied customer cover is the focal point. Its complete
   horizontal composition opens the original portrait video, contained and only
   on demand. Inherit MVO typography, surfaces, focus and both theme palettes. */
.mvo-next .nx-customer-stories { background: var(--nx-surface); padding-block: 72px; }
.mvo-next .nx-customer-stories-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); align-items: center; gap: 72px; }
.mvo-next .nx-customer-stories-copy h2 { max-width: 12ch; font-size: clamp(32px, 3.3vw, 46px); }
.mvo-next .nx-customer-stories-copy p { max-width: 38ch; margin-top: 24px; color: var(--nx-muted); line-height: 1.8; }
.mvo-next .nx-customer-stories-copy .nx-text-link { margin-top: 24px; }
html[data-mvo-theme="light"] .mvo-next .nx-customer-stories-copy .nx-text-link:hover { color: var(--nx-blue); }
.mvo-next .nx-customer-stories-list { display: grid; gap: 36px; min-width: 0; }
.mvo-next .nx-customer-story-open { display: block; border-radius: 12px; overflow: hidden; background: var(--nx-bg); color: var(--nx-ink); }
.mvo-next .nx-customer-story-open img { display: block; width: 100%; height: auto; aspect-ratio: 1724 / 912; object-fit: contain; }
.mvo-next .nx-customer-story-watch { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; font-size: 14px; font-weight: 800; transition: background-color .18s ease-out, color .18s ease-out; }
.mvo-next .nx-customer-story-watch > span:first-child { display: inline-flex; align-items: center; gap: 12px; }
.mvo-next .nx-customer-story-watch svg { width: 18px; height: 18px; }
.mvo-next .nx-customer-story-watch > span:last-child { font-variant-numeric: tabular-nums; color: var(--nx-muted); font-weight: 600; }
.mvo-next .nx-customer-story-open:hover .nx-customer-story-watch { background: #1670e5; color: #fff; }
.mvo-next .nx-customer-story-open:hover .nx-customer-story-watch > span:last-child { color: #fff; }
.mvo-next .nx-customer-story-caption { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-top: 20px; }
.mvo-next .nx-customer-story-caption h3 { font-size: 22px; }
.mvo-next .nx-customer-story-caption p { font-size: 14px; text-align: right; color: var(--nx-ink); }
.mvo-next .nx-customer-story-caption p span { display: block; margin-top: 3px; color: var(--nx-muted); font-size: 13px; }
body.mvo-testimonial-open { overflow: hidden; }
.mvo-next .nx-testimonial-dialog { margin: auto; padding: 16px; width: min(520px, calc(100% - 32px)); max-height: calc(100dvh - 32px); border: 0; border-radius: 16px; background: var(--nx-bg); color: var(--nx-ink); overflow: auto; overscroll-behavior: contain; }
.mvo-next .nx-testimonial-dialog::backdrop { background: rgba(3, 10, 19, .86); }
.mvo-next .nx-testimonial-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.mvo-next .nx-testimonial-dialog-header h3 { font-size: 16px; font-weight: 600; letter-spacing: 0; line-height: 1.5; }
.mvo-next .nx-testimonial-dialog-header button { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; border: 0; border-radius: 8px; background: var(--nx-surface); color: var(--nx-ink); cursor: pointer; }
.mvo-next .nx-testimonial-dialog-header button:hover { background: var(--nx-line); }
.mvo-next .nx-testimonial-dialog video { display: block; width: 100%; height: min(72dvh, 720px); object-fit: contain; background: #000; border-radius: 8px; }
.mvo-next .nx-testimonial-dialog .nx-testimonial-status { font-size: 14px; color: var(--nx-muted); line-height: 1.6; margin-top: 12px; }
.mvo-next .nx-testimonial-fallback { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.mvo-next .nx-testimonial-dialog [hidden] { display: none; }
@media (max-width: 1000px) {
    .mvo-next .nx-customer-stories-layout { gap: 36px; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); }
}
@media (max-width: 760px) {
    .mvo-next .nx-customer-stories { padding-block: 48px; }
    .mvo-next .nx-customer-stories-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .mvo-next .nx-customer-stories-copy h2 { max-width: 16ch; }
    .mvo-next .nx-customer-stories-copy p { margin-top: 20px; }
    .mvo-next .nx-customer-stories-copy .nx-text-link { margin-top: 16px; }
    .mvo-next .nx-customer-story-watch { padding: 14px 16px; font-size: 13px; }
    .mvo-next .nx-customer-story-caption { gap: 12px; align-items: start; }
    .mvo-next .nx-customer-story-caption h3 { font-size: 20px; }
    .mvo-next .nx-customer-story-caption p { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
    .mvo-next .nx-customer-story-watch { transition: none; }
}
