:root {
    --emv-ink: #14243a;
    --emv-muted: #66758a;
    --emv-line: #e5ebf2;
    --emv-blue: #315cf5;
    --emv-blue-dark: #163bba;
    --emv-sky: #eaf2ff;
    --emv-white: #fff;
    --emv-shadow: 0 18px 55px rgba(20, 42, 78, .09);
    --emv-radius: 20px;
}

/* Public video showcase */
.emv-video-public-page { margin: 0; background: #f7f9fc; color: var(--emv-ink); font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.emv-public-topbar { min-height: 76px; padding: 0 clamp(20px, 5vw, 76px); display: flex; align-items: center; justify-content: space-between; gap: 22px; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(220,228,239,.9); }
.emv-public-brand { display: inline-flex; align-items: center; gap: 11px; color: var(--emv-ink); text-decoration: none; font-weight: 800; letter-spacing: -.02em; }
.emv-public-brand-mark { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 12px; color: #fff; background: linear-gradient(135deg, #6bb7ff, #315cf5 75%); font-size: 13px; box-shadow: 0 7px 18px rgba(49,92,245,.22); }
.emv-public-topbar nav { display: flex; align-items: center; gap: 8px; }
.emv-public-topbar nav a { padding: 10px 15px; border-radius: 999px; color: #64748b; text-decoration: none; font-size: 13px; font-weight: 700; transition: color .2s ease, background .2s ease; }
.emv-public-topbar nav a:hover, .emv-public-topbar nav a.is-current { color: var(--emv-blue); background: #edf3ff; }
.emv-public-main { width: min(1240px, calc(100% - 40px)); margin: 0 auto; }
.emv-video-hero { position: relative; overflow: hidden; margin: 42px 0 34px; padding: clamp(34px, 6vw, 68px); border-radius: 28px; color: #fff; background: radial-gradient(circle at 85% 15%, rgba(129,195,255,.65), transparent 30%), linear-gradient(120deg, #102d69, #2455c9 58%, #68b8ef); box-shadow: 0 25px 65px rgba(27,70,153,.19); }
.emv-video-hero:after { content: ""; position: absolute; width: 320px; height: 320px; right: -95px; bottom: -220px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; box-shadow: 0 0 0 34px rgba(255,255,255,.045), 0 0 0 72px rgba(255,255,255,.035); }
.emv-kicker { display: inline-block; margin-bottom: 10px; color: #5c8eff; font-size: 10px; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.emv-video-hero .emv-kicker { color: #bcdcff; }
.emv-video-hero h1 { max-width: 760px; margin: 0 0 13px; font-family: "Playfair Display", Georgia, serif; font-size: clamp(34px, 5vw, 58px); line-height: 1.08; letter-spacing: -.035em; }
.emv-video-hero p { max-width: 650px; margin: 0; color: rgba(255,255,255,.82); font-size: 15px; line-height: 1.8; }
.emv-section-head { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin: 0 0 23px; }
.emv-section-head h2, .emv-selected-video__copy h2 { margin: 0 0 8px; color: var(--emv-ink); font-family: "Playfair Display", Georgia, serif; font-size: clamp(27px, 3vw, 38px); line-height: 1.15; letter-spacing: -.025em; }
.emv-section-head p, .emv-selected-video__copy p { max-width: 660px; margin: 0; color: var(--emv-muted); font-size: 14px; line-height: 1.75; }
.emv-outline-link, .emv-text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--emv-blue); text-decoration: none; font-size: 13px; font-weight: 800; white-space: nowrap; transition: gap .2s ease, color .2s ease; }
.emv-outline-link { padding: 12px 17px; border: 1px solid #d9e4fb; border-radius: 999px; background: #fff; }
.emv-outline-link:hover, .emv-text-link:hover { color: var(--emv-blue-dark); gap: 13px; }
.emv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 23px; }
.emv-grid--home { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.emv-card { min-width: 0; overflow: hidden; border: 1px solid rgba(224,232,242,.9); border-radius: var(--emv-radius); background: var(--emv-white); box-shadow: 0 7px 24px rgba(21,43,77,.045); transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; }
.emv-card:hover { transform: translateY(-5px); border-color: #d1defa; box-shadow: var(--emv-shadow); }
.emv-card__visual { position: relative; display: block; overflow: hidden; background: linear-gradient(145deg, #112e68, #3476c8 60%, #87d0e8); aspect-ratio: 16 / 9; isolation: isolate; }
.emv-card.emv-ratio--portrait .emv-card__visual { aspect-ratio: 9 / 16; }
.emv-card__visual img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.emv-card:hover .emv-card__visual img { transform: scale(1.055); }
.emv-card__placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: rgba(255,255,255,.76); font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.emv-card__placeholder-mark { display: grid; width: 58px; height: 58px; place-items: center; padding-left: 4px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; color: #fff; background: rgba(255,255,255,.15); backdrop-filter: blur(8px); font-size: 17px; }
.emv-card__play { position: absolute; left: 50%; top: 50%; display: grid; width: 54px; height: 54px; place-items: center; padding-left: 3px; border: 1px solid rgba(255,255,255,.75); border-radius: 50%; color: #1d4ed8; background: rgba(255,255,255,.94); box-shadow: 0 10px 32px rgba(0,0,0,.2); transform: translate(-50%,-50%); transition: transform .22s ease, background .22s ease; }
.emv-card:hover .emv-card__play { transform: translate(-50%,-50%) scale(1.1); background: #fff; }
.emv-card__badge, .emv-card__duration { position: absolute; z-index: 1; top: 13px; padding: 7px 10px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; color: #fff; background: rgba(12,29,58,.58); backdrop-filter: blur(10px); font-size: 10px; font-weight: 800; }
.emv-card__badge { left: 13px; }
.emv-card__duration { right: 13px; }
.emv-card__body { padding: 19px 20px 21px; }
.emv-card__eyebrow { display: block; margin-bottom: 8px; color: #5b82d9; font-size: 10px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.emv-card__body h3 { margin: 0 0 8px; font-size: 17px; line-height: 1.4; letter-spacing: -.02em; }
.emv-card__body h3 a { color: var(--emv-ink); text-decoration: none; }
.emv-card__body h3 a:hover { color: var(--emv-blue); }
.emv-card__body p { display: -webkit-box; overflow: hidden; margin: 0 0 13px; color: var(--emv-muted); font-size: 12px; line-height: 1.7; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.emv-card__link { display: inline-flex; align-items: center; gap: 8px; color: var(--emv-blue); text-decoration: none; font-size: 12px; font-weight: 850; }
.emv-card__link:hover { gap: 12px; }
.emv-all-videos { padding: 20px 0 75px; }
.emv-selected-video { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr); align-items: center; gap: 34px; margin: 0 0 56px; padding: 25px; border: 1px solid var(--emv-line); border-radius: 24px; background: #fff; box-shadow: var(--emv-shadow); }
.emv-selected-video__media { min-width: 0; }
.emv-selected-video__copy h2 { margin-bottom: 12px; }
.emv-selected-video__copy p { margin-bottom: 20px; }
.emv-player { position: relative; overflow: hidden; width: 100%; border-radius: 16px; background: #091426; aspect-ratio: 16 / 9; }
.emv-player.emv-ratio--portrait { width: min(100%, 430px); margin-inline: auto; aspect-ratio: 9 / 16; }
.emv-player video, .emv-player iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; background: #091426; object-fit: contain; }
.emv-player__unavailable { display: grid; width: 100%; height: 100%; place-items: center; padding: 25px; color: #fff; text-align: center; font-size: 14px; }
.emv-empty-state { padding: 55px 25px; border: 1px dashed #cbd7e8; border-radius: 20px; background: #fff; text-align: center; }
.emv-empty-state > span { display: grid; width: 48px; height: 48px; margin: 0 auto 15px; place-items: center; border-radius: 15px; color: var(--emv-blue); background: var(--emv-sky); }
.emv-empty-state h3 { margin: 0 0 7px; font-size: 18px; }
.emv-empty-state p { margin: 0; color: var(--emv-muted); font-size: 13px; }
.emv-alert { margin: 18px 0; padding: 13px 16px; border: 1px solid #d8e5fa; border-radius: 12px; color: #214f9d; background: #eff6ff; font-size: 13px; }
.emv-public-footer { display: flex; justify-content: space-between; gap: 20px; padding: 24px clamp(20px,5vw,76px); color: #a9b8ce; background: #10213a; font-size: 12px; }
.emv-public-footer a { color: #d5e3fb; text-decoration: none; font-weight: 700; }

/* Standalone CMS interface */
.emv-admin-page { margin: 0; background: #f4f7fb; color: var(--emv-ink); font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.emv-admin-wrap { min-height: 100vh; }
.emv-admin-topbar { display: flex; align-items: center; justify-content: space-between; gap: 25px; min-height: 76px; padding: 0 clamp(20px,4vw,60px); border-bottom: 1px solid #e4eaf2; background: #fff; }
.emv-admin-topbar > div { display: flex; align-items: center; gap: 12px; }
.emv-admin-topbar strong, .emv-admin-topbar small { display: block; }
.emv-admin-topbar strong { font-size: 14px; }
.emv-admin-topbar small { margin-top: 3px; color: #8290a4; font-size: 10px; }
.emv-admin-mark { display: grid; width: 39px; height: 39px; place-items: center; border-radius: 13px; color: #fff; background: linear-gradient(135deg, #6bb7ff, #315cf5); font-size: 12px; font-weight: 900; }
.emv-admin-topbar nav { display: flex; flex-wrap: wrap; gap: 7px; }
.emv-admin-topbar nav a { padding: 10px 13px; border-radius: 9px; color: #68778c; text-decoration: none; font-size: 12px; font-weight: 700; }
.emv-admin-topbar nav a:hover, .emv-admin-topbar nav a.is-current { color: var(--emv-blue); background: #eff4ff; }
.emv-admin-main { width: min(1260px, calc(100% - 40px)); margin: 0 auto; padding: 38px 0 60px; }
.emv-admin-heading { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-bottom: 25px; }
.emv-admin-heading h1 { margin: 0 0 7px; font-family: "Playfair Display", Georgia, serif; font-size: clamp(32px,4vw,43px); letter-spacing: -.03em; }
.emv-admin-heading p { margin: 0; color: var(--emv-muted); font-size: 13px; }
.emv-primary-btn, .emv-secondary-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 43px; padding: 0 18px; border: 0; border-radius: 11px; text-decoration: none; font: inherit; font-size: 12px; font-weight: 850; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.emv-primary-btn { color: #fff; background: linear-gradient(110deg, #4279ff, #2854df); box-shadow: 0 9px 22px rgba(49,92,245,.2); }
.emv-primary-btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 13px 26px rgba(49,92,245,.26); }
.emv-secondary-btn { color: #526176; background: #edf1f7; }
.emv-alert--success { color: #176246; border-color: #c9ecdd; background: #effbf5; }
.emv-alert--error { color: #9b2c2c; border-color: #f2d0d0; background: #fff4f4; }
.emv-admin-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; margin-bottom: 22px; }
.emv-admin-stats > div { padding: 18px 20px; border: 1px solid var(--emv-line); border-radius: 15px; background: #fff; }
.emv-admin-stats span { display: block; color: #7b899d; font-size: 11px; font-weight: 700; }
.emv-admin-stats strong { display: block; margin-top: 7px; color: #17335f; font-size: 25px; font-weight: 850; }
.emv-admin-panel { margin-bottom: 22px; padding: 24px; border: 1px solid #e5ebf3; border-radius: 18px; background: #fff; box-shadow: 0 7px 28px rgba(24,46,80,.04); }
.emv-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.emv-panel-heading h2 { margin: 0; font-family: "Playfair Display", Georgia, serif; font-size: 25px; letter-spacing: -.02em; }
.emv-panel-heading h2 small { color: #8a97a9; font: 700 12px Inter, sans-serif; }
.emv-text-link { white-space: normal; }
.emv-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px; }
.emv-field { display: flex; min-width: 0; flex-direction: column; gap: 8px; color: #34455c; font-size: 11px; font-weight: 800; }
.emv-field > span { display: block; }
.emv-field b { color: #e05a5a; }
.emv-field input, .emv-field select, .emv-field textarea { width: 100%; min-height: 43px; box-sizing: border-box; padding: 11px 13px; border: 1px solid #dce4ef; border-radius: 9px; outline: 0; color: #20334d; background: #fbfcfe; font: 500 12px Inter, sans-serif; transition: border .2s ease, box-shadow .2s ease, background .2s ease; }
.emv-field textarea { min-height: 78px; resize: vertical; }
.emv-field input:focus, .emv-field select:focus, .emv-field textarea:focus { border-color: #7ba2ff; background: #fff; box-shadow: 0 0 0 3px rgba(49,92,245,.1); }
.emv-field input[type=file] { padding: 9px; background: #fff; }
.emv-field small { color: #8491a4; font-size: 10px; font-weight: 500; line-height: 1.55; }
.emv-field--wide { grid-column: 1 / -1; }
.emv-form-options { display: flex; flex-wrap: wrap; gap: 11px 22px; margin: 20px 0; padding: 15px; border-radius: 11px; background: #f6f8fc; }
.emv-form-options label { display: inline-flex; align-items: center; gap: 8px; color: #4d5c70; font-size: 11px; font-weight: 700; }
.emv-form-options input { accent-color: var(--emv-blue); }
.emv-form-actions { display: flex; gap: 9px; }
.emv-table-wrap { overflow-x: auto; }
.emv-admin-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 12px; }
.emv-admin-table th { padding: 12px 13px; border-bottom: 1px solid #e9eef5; color: #8995a6; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.emv-admin-table td { padding: 15px 13px; border-bottom: 1px solid #edf1f6; color: #4b5a6e; vertical-align: middle; }
.emv-admin-table tbody tr:last-child td { border-bottom: 0; }
.emv-admin-table td strong, .emv-admin-table td small { display: block; }
.emv-admin-table td strong { max-width: 320px; color: #263b57; font-size: 12px; }
.emv-admin-table td small { margin-top: 5px; color: #8b97a8; font-size: 10px; }
.emv-admin-table td:nth-child(3) span { display: block; margin: 3px 0; }
.emv-source-pill, .emv-status { display: inline-flex; padding: 5px 8px; border-radius: 6px; background: #eef3fb; color: #58708f; font-size: 10px; font-weight: 800; }
.emv-status--published { color: #16734f; background: #e9f8f0; }
.emv-status--draft { color: #956317; background: #fff6e6; }
.emv-status--archived { color: #6b7280; background: #eff1f4; }
.emv-actions { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.emv-actions a, .emv-danger-link { padding: 0; border: 0; color: var(--emv-blue); background: transparent; text-decoration: none; font: 750 11px Inter,sans-serif; cursor: pointer; }
.emv-actions .emv-danger-link { color: #c34e58; }
.emv-actions form { display: inline; }
.emv-admin-footnote { color: #8190a4; font-size: 11px; line-height: 1.7; }
.emv-admin-footnote code { color: #52627a; }
[hidden] { display: none !important; }

@media (max-width: 900px) {
    .emv-grid, .emv-grid--home { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .emv-selected-video { grid-template-columns: 1fr; }
    .emv-selected-video__copy { padding: 0 4px 6px; }
}
@media (max-width: 640px) {
    .emv-public-topbar { min-height: 64px; padding-inline: 17px; }
    .emv-public-topbar nav a { padding: 9px 10px; font-size: 11px; }
    .emv-public-main { width: min(100% - 28px, 520px); }
    .emv-video-hero { margin: 22px 0 28px; padding: 32px 24px; border-radius: 20px; }
    .emv-section-head { align-items: flex-start; flex-direction: column; gap: 15px; }
    .emv-grid, .emv-grid--home { grid-template-columns: 1fr; gap: 16px; }
    .emv-card.emv-ratio--portrait { display: grid; grid-template-columns: minmax(110px,.7fr) minmax(0,1.3fr); }
    .emv-card.emv-ratio--portrait .emv-card__visual { aspect-ratio: 9 / 16; }
    .emv-card.emv-ratio--portrait .emv-card__body { align-self: center; padding: 15px; }
    .emv-card__body h3 { font-size: 15px; }
    .emv-selected-video { margin-bottom: 38px; padding: 13px; border-radius: 17px; gap: 22px; }
    .emv-public-footer { flex-direction: column; padding: 22px 18px; }
    .emv-admin-topbar { align-items: flex-start; flex-direction: column; padding: 15px 18px; }
    .emv-admin-topbar nav { width: 100%; }
    .emv-admin-main { width: calc(100% - 28px); padding-top: 27px; }
    .emv-admin-heading { align-items: flex-start; flex-direction: column; }
    .emv-admin-stats { gap: 8px; }
    .emv-admin-stats > div { padding: 13px; }
    .emv-admin-stats strong { font-size: 21px; }
    .emv-admin-panel { padding: 17px 14px; }
    .emv-form-grid { grid-template-columns: 1fr; }
    .emv-field--wide { grid-column: auto; }
    .emv-form-options { flex-direction: column; gap: 12px; }
    .emv-actions { flex-wrap: wrap; }
}

/* ================================================================
   Video showcase refresh: compact cards, Swiper rail and lightbox
   ================================================================ */
.emv-showcase { position: relative; padding-block: clamp(34px, 5vw, 66px); }
.emv-showcase .emv-section-head { align-items: center; margin-bottom: 20px; }
.emv-showcase .emv-section-head h2 { margin-bottom: 0; }
.emv-showcase__actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.emv-slider-controls { display: inline-flex; align-items: center; gap: 7px; }
.emv-slider-arrow { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid #dce6f5; border-radius: 50%; color: #244a9c; background: #fff; box-shadow: 0 5px 16px rgba(23,53,102,.07); font: 500 27px/1 Inter, sans-serif; cursor: pointer; transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.emv-slider-arrow:hover { border-color: #315cf5; color: #fff; background: linear-gradient(135deg,#5ca8ff,#315cf5); box-shadow: 0 8px 20px rgba(49,92,245,.2); transform: translateY(-2px); }
.emv-slider-arrow:focus-visible, .emv-card__visual:focus-visible, .emv-lightbox__close:focus-visible { outline: 3px solid rgba(49,92,245,.35); outline-offset: 3px; }
.emv-swiper { width: 100%; overflow: hidden; padding: 5px 4px 18px; margin: 0 -4px; }
.emv-swiper .swiper-wrapper { align-items: stretch; }
.emv-swiper .swiper-slide { height: auto; min-width: 0; }
.emv-card { height: 100%; overflow: hidden; border: 1px solid rgba(220,230,244,.95); border-radius: 17px; background: #fff; box-shadow: 0 8px 24px rgba(18,42,78,.07); transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; }
.emv-card:hover { transform: translateY(-4px); border-color: #cbdafa; box-shadow: 0 17px 38px rgba(23,53,102,.14); }
.emv-card__visual { position: relative; display: block; width: 100%; overflow: hidden; padding: 0; border: 0; border-radius: 0; aspect-ratio: 16 / 10; isolation: isolate; color: #fff; background: linear-gradient(135deg,#102a56,#3268ad 58%,#78b9df); text-align: left; cursor: pointer; }
.emv-card__visual img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2,.7,.2,1); }
.emv-card--portrait .emv-card__visual img { object-fit: contain; background: #08172b; }
.emv-card:hover .emv-card__visual img { transform: scale(1.045); }
.emv-card__placeholder { position: absolute; inset: 0; background: radial-gradient(circle at 75% 20%,rgba(129,198,255,.5),transparent 34%),linear-gradient(135deg,#10264f,#315cf5 72%,#74c5e5); }
.emv-card__shade { position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg,rgba(4,16,34,.2),transparent 34%,rgba(4,14,30,.18) 50%,rgba(4,14,30,.88)); pointer-events: none; }
.emv-card__badge { position: absolute; z-index: 2; top: 11px; left: 11px; padding: 6px 9px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; color: #fff; background: rgba(8,23,46,.58); backdrop-filter: blur(10px); font-size: 9px; font-weight: 850; letter-spacing: .1em; line-height: 1; }
.emv-card__play { position: absolute; z-index: 2; top: 50%; left: 50%; display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid rgba(255,255,255,.85); border-radius: 50%; background: rgba(255,255,255,.94); box-shadow: 0 9px 27px rgba(0,0,0,.24); transform: translate(-50%,-50%); transition: transform .25s ease, background .25s ease, box-shadow .25s ease; }
.emv-card__play span { width: 0; height: 0; margin-left: 4px; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 11px solid #2456d9; }
.emv-card:hover .emv-card__play { background: #fff; box-shadow: 0 12px 34px rgba(0,0,0,.3); transform: translate(-50%,-50%) scale(1.09); }
.emv-card__title { position: absolute; z-index: 2; right: 15px; bottom: 14px; left: 15px; display: -webkit-box; overflow: hidden; color: #fff; font-size: clamp(13px,1.2vw,16px); font-weight: 800; line-height: 1.35; letter-spacing: -.015em; text-shadow: 0 2px 10px rgba(0,0,0,.28); -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
/* Fallback layout remains usable if Swiper is not loaded on a page. */
.emv-swiper--fallback .swiper-wrapper { display: grid !important; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; }
.emv-swiper--fallback .swiper-slide { width: auto !important; }

/* Modal player */
body.emv-lightbox-open { overflow: hidden; }
.emv-lightbox[hidden] { display: none !important; }
.emv-lightbox { position: fixed; z-index: 100000; inset: 0; display: grid; place-items: center; padding: 22px; }
.emv-lightbox__backdrop { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(4,11,24,.9); backdrop-filter: blur(12px); cursor: pointer; }
.emv-lightbox__dialog { position: relative; z-index: 1; display: flex; width: min(100%,1160px); max-height: calc(100dvh - 44px); flex-direction: column; gap: 13px; outline: 0; animation: emvLightboxIn .24s ease both; }
.emv-lightbox__header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 2px; color: #fff; }
.emv-lightbox__heading { min-width: 0; }
.emv-lightbox__type { display: block; margin-bottom: 5px; color: #a9caff; font-size: 9px; font-weight: 900; letter-spacing: .16em; }
.emv-lightbox__header h2 { overflow: hidden; margin: 0; color: #fff; font-family: Inter,system-ui,sans-serif; font-size: clamp(15px,2vw,20px); font-weight: 750; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.emv-lightbox__close { display: grid; flex: 0 0 auto; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; color: #fff; background: rgba(255,255,255,.1); font: 300 29px/1 Inter,sans-serif; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.emv-lightbox__close:hover { background: rgba(255,255,255,.22); transform: rotate(90deg); }
.emv-lightbox__player { position: relative; overflow: hidden; width: 100%; max-height: calc(100dvh - 112px); aspect-ratio: 16 / 9; margin: 0 auto; border: 1px solid rgba(255,255,255,.14); border-radius: 16px; background: #020711; box-shadow: 0 24px 80px rgba(0,0,0,.42); }
.emv-lightbox__player.is-portrait { width: auto; height: min(74dvh,760px); max-width: 100%; max-height: calc(100dvh - 112px); aspect-ratio: 9 / 16; }
.emv-lightbox__player video, .emv-lightbox__player iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; background: #020711; object-fit: contain; }
.emv-lightbox__unavailable { display: grid; width: 100%; height: 100%; place-items: center; padding: 30px; color: #fff; text-align: center; font-size: 14px; }
@keyframes emvLightboxIn { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }

@media (max-width: 900px) {
    .emv-swiper--fallback .swiper-wrapper { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
}
@media (max-width: 640px) {
    .emv-showcase .emv-section-head { align-items: flex-start; }
    .emv-showcase__actions { width: 100%; justify-content: space-between; }
    .emv-slider-arrow { width: 36px; height: 36px; }
    .emv-swiper { padding-bottom: 13px; }
    .emv-card { border-radius: 14px; }
    .emv-card__visual { aspect-ratio: 4 / 3; }
    .emv-card__title { right: 11px; bottom: 11px; left: 11px; font-size: 13px; }
    .emv-card__play { width: 42px; height: 42px; }
    .emv-lightbox { padding: 12px; }
    .emv-lightbox__dialog { max-height: calc(100dvh - 24px); gap: 10px; }
    .emv-lightbox__player { max-height: calc(100dvh - 100px); border-radius: 12px; }
    .emv-lightbox__player.is-portrait { width: auto; height: min(75dvh, calc(100dvh - 100px)); max-width: 100%; }
    .emv-lightbox__close { width: 38px; height: 38px; }
}
@media (max-width: 520px) {
    .emv-swiper--fallback .swiper-wrapper { grid-template-columns: 1fr; }
}

@media (min-width: 901px) {
    .emv-grid--page { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; }
}
@media (min-width: 641px) and (max-width: 900px) {
    .emv-grid--page { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
}
.emv-lightbox__player.is-portrait { align-self: center; }


/* Facebook XFBML player fallback link */
.emv-facebook-embed { width: 100%; max-width: 100%; }
.emv-facebook-open-link { position: absolute; z-index: 5; right: 14px; bottom: 12px; display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 13px; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; color: #fff !important; background: rgba(8,19,38,.88); font: 700 11px Inter,system-ui,sans-serif; text-decoration: none !important; backdrop-filter: blur(8px); }
.emv-facebook-open-link:hover { background: rgba(34,78,151,.96); }
