.emc-front{--emc-ink:#0f172a;--emc-muted:#64748b;--emc-line:#e2e8f0;--emc-blue:#2563eb;--emc-card:#fff;--emc-dark:#111827;font-family:inherit;color:var(--emc-ink)}
.emc-front a{text-decoration:none}.emc-front-hero{position:relative;overflow:hidden;border-radius:28px;background:linear-gradient(135deg,#0b1220,#1d4ed8);color:#fff;margin:26px 0;padding:42px 34px;box-shadow:0 20px 60px rgba(15,23,42,.22)}
.emc-front-hero:after{content:"";position:absolute;right:-80px;top:-90px;width:260px;height:260px;border-radius:50%;background:rgba(255,255,255,.12)}
.emc-front-hero span{display:inline-flex;align-items:center;gap:8px;margin-bottom:10px;padding:6px 11px;border-radius:999px;background:rgba(255,255,255,.14);font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#dbeafe}.emc-front-hero h1{position:relative;margin:0 0 10px;color:#fff;font-size:clamp(30px,4vw,56px);line-height:1.05}.emc-front-hero p{position:relative;max-width:800px;margin:0;color:#dbeafe;font-size:17px;line-height:1.6}.emc-collection-hero{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:26px;align-items:center}.emc-collection-hero .emc-hero-image{grid-column:2;grid-row:1;position:relative;z-index:2;border-radius:22px;overflow:hidden;box-shadow:0 18px 45px rgba(0,0,0,.22)}.emc-collection-hero .emc-hero-image img{display:block;width:100%;height:180px;object-fit:cover}.emc-front-stats{display:flex;gap:14px;flex-wrap:wrap;margin-top:18px;color:#c7d2fe}.emc-front-stats b{display:inline-flex;align-items:center;justify-content:center;min-width:32px;height:32px;margin-right:4px;border-radius:999px;background:#fff;color:#1d4ed8}.emc-front-breadcrumb{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:18px 0;color:var(--emc-muted);font-size:14px}.emc-front-breadcrumb a{color:var(--emc-blue);font-weight:800}.emc-front-breadcrumb strong{color:var(--emc-ink)}
.emc-front-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0 22px}.emc-front-tabs a{display:inline-flex;padding:10px 16px;border-radius:999px;background:#f1f5f9;color:#334155;font-weight:800}.emc-front-tabs a.active,.emc-front-tabs a:hover{background:#1d4ed8;color:#fff}.emc-front-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:22px;margin:24px 0}.emc-front-card{display:flex;flex-direction:column;color:var(--emc-ink);background:var(--emc-card);border:1px solid var(--emc-line);border-radius:26px;overflow:hidden;box-shadow:0 14px 42px rgba(15,23,42,.09);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.emc-front-card:hover{transform:translateY(-4px);box-shadow:0 22px 60px rgba(15,23,42,.15);border-color:#bfdbfe}.emc-front-cover{position:relative;min-height:220px;background:#eff6ff;overflow:hidden}.emc-front-cover img{display:block;width:100%;height:240px;object-fit:cover;transition:transform .25s ease}.emc-front-card:hover .emc-front-cover img{transform:scale(1.035)}.emc-front-cover em{position:absolute;left:14px;top:14px;padding:7px 11px;border-radius:999px;background:rgba(15,23,42,.78);color:#fff;font-style:normal;font-weight:900;font-size:12px;text-transform:uppercase;letter-spacing:.04em}.emc-front-fallback{height:240px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;background:linear-gradient(135deg,#eff6ff,#dbeafe);color:#1d4ed8;font-weight:900}.emc-front-fallback b{display:grid;place-items:center;width:58px;height:58px;border-radius:20px;background:#fff;box-shadow:0 10px 22px rgba(37,99,235,.14);font-size:26px}.emc-front-card-body{display:flex;flex:1;flex-direction:column;padding:18px}.emc-front-card strong{display:block;margin:0 0 7px;font-size:21px;line-height:1.15;color:#0f172a}.emc-front-card p{margin:0 0 12px;color:var(--emc-muted);line-height:1.55}.emc-front-card small{display:block;margin-top:auto;color:#64748b;line-height:1.45}.emc-front-card small b{color:#0f172a}.emc-front-button{display:inline-flex;align-self:flex-start;margin-top:16px;padding:10px 15px;border-radius:14px;background:#2563eb;color:#fff;font-weight:900}.emc-media-front-card .emc-front-button{background:#0f172a}.emc-type-video .emc-front-button{background:#ef6c00}.emc-type-file .emc-front-button{background:#475569}.emc-front-media{grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}.emc-front-media .emc-front-cover img,.emc-front-media .emc-front-fallback{height:230px}.emc-front-empty{padding:28px;border:1px dashed #cbd5e1;border-radius:22px;background:#f8fafc;color:#64748b;text-align:center;font-weight:800}.emc-main-hero{background:linear-gradient(135deg,#111827,#334155)}.emc-album-hero{background:linear-gradient(135deg,#0f172a,#0369a1)}
@media(max-width:760px){.emc-front-grid{grid-template-columns:1fr}.emc-front-hero{padding:30px 20px;border-radius:22px}.emc-collection-hero{grid-template-columns:1fr}.emc-collection-hero .emc-hero-image{grid-column:auto;grid-row:auto}.emc-front-cover img,.emc-front-fallback{height:210px}.emc-front-tabs a{flex:1;justify-content:center}.emc-front-card strong{font-size:19px}}


/* v1.0.7: album covers show the full selected image instead of cropping important parts. */
.emc-album-front-card .emc-front-cover{
    aspect-ratio:16/9;
    min-height:0;
    height:auto;
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(135deg,#111827,#1f2937);
}
.emc-album-front-card .emc-front-cover img{
    width:100%;
    height:100%;
    object-fit:contain;
    object-position:center center;
    background:linear-gradient(135deg,#0f172a,#1e293b);
}
.emc-album-front-card:hover .emc-front-cover img{
    transform:none;
}
.emc-media-front-card .emc-front-cover{
    aspect-ratio:4/3;
    min-height:0;
    height:auto;
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(135deg,#111827,#1f2937);
}
.emc-media-front-card .emc-front-cover img{
    width:100%;
    height:100%;
    object-fit:contain;
    object-position:center center;
    background:linear-gradient(135deg,#0f172a,#1e293b);
}
.emc-media-front-card:hover .emc-front-cover img{
    transform:none;
}
@media(max-width:760px){
    .emc-album-front-card .emc-front-cover{aspect-ratio:4/3}
}

/* v1.0.8: configurable frontend templates, image ratios and cards per row. */
.emc-front-grid.emc-template-balanced,
.emc-front-grid.emc-template-full_image,
.emc-front-grid.emc-template-compact,
.emc-front-grid.emc-template-editorial{
    grid-template-columns:repeat(var(--emc-cols,3), minmax(0,1fr));
}
.emc-front-grid.emc-ratio-16-9 .emc-front-cover{aspect-ratio:16/9;height:auto;min-height:0;}
.emc-front-grid.emc-ratio-4-3 .emc-front-cover{aspect-ratio:4/3;height:auto;min-height:0;}
.emc-front-grid.emc-ratio-1-1 .emc-front-cover{aspect-ratio:1/1;height:auto;min-height:0;}
.emc-front-grid.emc-ratio-3-2 .emc-front-cover{aspect-ratio:3/2;height:auto;min-height:0;}
.emc-front-grid.emc-ratio-16-9 .emc-front-cover img,
.emc-front-grid.emc-ratio-4-3 .emc-front-cover img,
.emc-front-grid.emc-ratio-1-1 .emc-front-cover img,
.emc-front-grid.emc-ratio-3-2 .emc-front-cover img,
.emc-front-grid.emc-ratio-16-9 .emc-front-fallback,
.emc-front-grid.emc-ratio-4-3 .emc-front-fallback,
.emc-front-grid.emc-ratio-1-1 .emc-front-fallback,
.emc-front-grid.emc-ratio-3-2 .emc-front-fallback{width:100%;height:100%;}
.emc-front-grid.emc-fit-contain .emc-front-cover{background:linear-gradient(135deg,#111827,#1f2937);display:flex;align-items:center;justify-content:center;}
.emc-front-grid.emc-fit-contain .emc-front-cover img{object-fit:contain;object-position:center;background:linear-gradient(135deg,#0f172a,#1e293b);}
.emc-front-grid.emc-fit-cover .emc-front-cover img{object-fit:cover;object-position:center;}
.emc-template-full_image .emc-front-card{border-radius:30px;box-shadow:0 20px 65px rgba(15,23,42,.16)}
.emc-template-full_image .emc-front-card-body{padding:22px 22px 24px;}
.emc-template-full_image .emc-front-cover{min-height:280px;}
.emc-template-full_image .emc-front-card strong{font-size:24px;}
.emc-template-compact{gap:14px;}
.emc-template-compact .emc-front-card{border-radius:18px;box-shadow:0 8px 28px rgba(15,23,42,.08);}
.emc-template-compact .emc-front-card-body{padding:14px;}
.emc-template-compact .emc-front-card strong{font-size:17px;}
.emc-template-compact .emc-front-button{padding:8px 12px;border-radius:11px;font-size:13px;}
.emc-template-compact .emc-front-cover em{font-size:10px;padding:5px 8px;}
.emc-template-editorial{gap:28px;}
.emc-template-editorial .emc-front-card{border-radius:34px;background:#fff;box-shadow:0 26px 80px rgba(15,23,42,.18);}
.emc-template-editorial .emc-front-card-body{padding:24px;}
.emc-template-editorial .emc-front-card strong{font-size:26px;letter-spacing:-.02em;}
.emc-template-editorial .emc-front-button{border-radius:999px;padding:12px 18px;}
@media(max-width:1024px){
    .emc-front-grid.emc-template-balanced,
    .emc-front-grid.emc-template-full_image,
    .emc-front-grid.emc-template-compact,
    .emc-front-grid.emc-template-editorial{grid-template-columns:repeat(var(--emc-tablet-cols,2), minmax(0,1fr));}
}
@media(max-width:760px){
    .emc-front-grid.emc-template-balanced,
    .emc-front-grid.emc-template-full_image,
    .emc-front-grid.emc-template-compact,
    .emc-front-grid.emc-template-editorial{grid-template-columns:repeat(var(--emc-mobile-cols,1), minmax(0,1fr));}
}


/* v1.0.14: compact, more elegant main Media Center collection cards. */
.emc-center .emc-collections-grid{
    align-items:stretch;
}
.emc-center .emc-collection-front-card{
    display:grid;
    grid-template-columns:minmax(220px, 34%) minmax(0, 1fr);
    min-height:0;
    border-radius:28px;
    overflow:hidden;
}
.emc-center .emc-collection-front-card .emc-front-cover{
    min-height:0;
    height:100%;
    aspect-ratio:auto;
    background:linear-gradient(135deg,#0f172a,#1f2937);
}
.emc-center .emc-collection-front-card .emc-front-cover img{
    width:100%;
    height:100%;
    max-height:230px;
    object-fit:cover;
    object-position:center;
}
.emc-center .emc-collection-front-card .emc-front-fallback{
    height:100%;
    min-height:190px;
}
.emc-center .emc-collection-front-card .emc-front-card-body{
    padding:22px 24px;
    justify-content:center;
}
.emc-center .emc-collection-front-card .emc-front-card-body strong{
    font-size:clamp(22px,2vw,30px);
    letter-spacing:-.02em;
}
.emc-center .emc-collection-front-card .emc-front-card-body small{
    margin-top:8px;
}
.emc-center .emc-collection-front-card .emc-front-button{
    margin-top:18px;
    align-self:flex-start;
    border-radius:999px;
    padding:11px 18px;
}
.emc-center .emc-collection-front-card .emc-front-cover em{
    left:16px;
    top:16px;
}
.emc-center .emc-collection-front-card:hover .emc-front-cover img{
    transform:scale(1.025);
}
@media(max-width:900px){
    .emc-center .emc-collection-front-card{
        grid-template-columns:1fr;
    }
    .emc-center .emc-collection-front-card .emc-front-cover{
        aspect-ratio:16/9;
        height:auto;
    }
    .emc-center .emc-collection-front-card .emc-front-cover img{
        height:100%;
        max-height:260px;
    }
}


/* v1.0.15: compact album cards inside a collection, so many editions/albums remain easy to browse. */
.emc-collection-view .emc-albums-grid{
    align-items:stretch;
}
.emc-collection-view .emc-album-front-card{
    display:grid;
    grid-template-columns:minmax(190px, 38%) minmax(0, 1fr);
    min-height:0;
    border-radius:28px;
    overflow:hidden;
}
.emc-collection-view .emc-album-front-card .emc-front-cover{
    min-height:0;
    height:100%;
    aspect-ratio:auto;
    background:linear-gradient(135deg,#0f172a,#1f2937);
}
.emc-collection-view .emc-album-front-card .emc-front-cover img,
.emc-collection-view .emc-album-front-card .emc-front-fallback{
    width:100%;
    height:100%;
    min-height:180px;
    max-height:220px;
}
.emc-collection-view .emc-album-front-card .emc-front-cover img{
    object-fit:cover;
    object-position:center;
}
.emc-collection-view .emc-album-front-card .emc-front-card-body{
    padding:20px 22px;
    justify-content:center;
}
.emc-collection-view .emc-album-front-card .emc-front-card-body strong{
    font-size:clamp(21px, 1.8vw, 28px);
    letter-spacing:-.02em;
}
.emc-collection-view .emc-album-front-card .emc-front-card-body p{
    margin-top:4px;
    margin-bottom:10px;
}
.emc-collection-view .emc-album-front-card .emc-front-card-body small{
    margin-top:6px;
}
.emc-collection-view .emc-album-front-card .emc-front-button{
    margin-top:16px;
    align-self:flex-start;
    border-radius:999px;
    padding:10px 17px;
}
.emc-collection-view .emc-album-front-card:hover .emc-front-cover img{
    transform:scale(1.025);
}
.emc-collection-view .emc-front-tabs{
    position:sticky;
    top:0;
    z-index:3;
    padding:10px 0;
    background:rgba(17,24,39,.88);
    backdrop-filter:blur(10px);
}
.emc-collection-view .emc-front-tabs a{
    box-shadow:0 8px 18px rgba(15,23,42,.12);
}
@media(max-width:900px){
    .emc-collection-view .emc-album-front-card{
        grid-template-columns:1fr;
    }
    .emc-collection-view .emc-album-front-card .emc-front-cover{
        aspect-ratio:16/9;
        height:auto;
    }
    .emc-collection-view .emc-album-front-card .emc-front-cover img,
    .emc-collection-view .emc-album-front-card .emc-front-fallback{
        height:100%;
        min-height:0;
        max-height:260px;
    }
}

/* v1.0.17: compact album gallery + popup lightbox */
.emc-front-media.emc-gallery-compact,
.emc-front-media.emc-gallery-masonry{gap:10px!important}
.emc-front-media.emc-gallery-compact .emc-media-front-card,
.emc-front-media.emc-gallery-masonry .emc-media-front-card{border-radius:6px!important;overflow:hidden!important;background:#0b1220!important;border:0!important;box-shadow:none!important;position:relative}
.emc-front-media.emc-gallery-compact .emc-media-front-card .emc-front-cover,
.emc-front-media.emc-gallery-masonry .emc-media-front-card .emc-front-cover{height:auto!important;aspect-ratio:1/1!important;background:#101827!important;border-radius:0!important}
.emc-front-media.emc-gallery-masonry .emc-media-front-card .emc-front-cover{aspect-ratio:4/3!important}
.emc-front-media.emc-gallery-compact .emc-media-front-card .emc-front-cover img,
.emc-front-media.emc-gallery-masonry .emc-media-front-card .emc-front-cover img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}
.emc-front-media.emc-gallery-compact .emc-media-front-card .emc-front-card-body,
.emc-front-media.emc-gallery-masonry .emc-media-front-card .emc-front-card-body{position:absolute;left:0;right:0;bottom:0;padding:12px!important;background:linear-gradient(180deg,rgba(15,23,42,0),rgba(15,23,42,.82));color:#fff!important;transform:translateY(100%);transition:.18s ease}
.emc-front-media.emc-gallery-compact .emc-media-front-card:hover .emc-front-card-body,
.emc-front-media.emc-gallery-masonry .emc-media-front-card:hover .emc-front-card-body{transform:translateY(0)}
.emc-front-media.emc-gallery-compact .emc-media-front-card strong,
.emc-front-media.emc-gallery-masonry .emc-media-front-card strong{color:#fff!important;font-size:14px!important;line-height:1.2!important}
.emc-front-media.emc-gallery-compact .emc-front-button,
.emc-front-media.emc-gallery-masonry .emc-front-button{display:none!important}
.emc-front-media.emc-gallery-cards .emc-media-front-card .emc-front-cover{min-height:190px}
.emc-front-media .emc-media-front-card em{left:10px!important;top:10px!important;font-size:10px!important}
.emc-lightbox{position:fixed;inset:0;background:rgba(0,0,0,.94);z-index:999999;display:none;color:#fff}
.emc-lightbox.is-open{display:flex;align-items:center;justify-content:center;flex-direction:column}
.emc-lightbox-stage{position:relative;width:100%;height:100%;display:flex;align-items:center;justify-content:center;padding:56px 86px 108px;box-sizing:border-box}
.emc-lightbox-media{max-width:100%;max-height:100%;display:flex;align-items:center;justify-content:center}
.emc-lightbox-media img{max-width:100%;max-height:calc(100vh - 170px);width:auto;height:auto;display:block;box-shadow:0 20px 80px rgba(0,0,0,.35)}
.emc-lightbox-media iframe{width:min(1180px,82vw);height:min(664px,62vh);border:0;background:#000}
.emc-lightbox-top{position:absolute;top:16px;left:22px;right:22px;display:flex;align-items:center;justify-content:space-between;gap:16px;z-index:2}
.emc-lightbox-count{font-weight:800;background:rgba(0,0,0,.55);border-radius:999px;padding:7px 11px;font-size:13px}
.emc-lightbox-tools{display:flex;gap:10px;align-items:center}.emc-lightbox button{appearance:none;border:0;background:rgba(0,0,0,.72);color:#fff;border-radius:8px;padding:10px 12px;font-weight:900;cursor:pointer;font-size:16px}.emc-lightbox button:hover{background:#2563eb}.emc-lightbox-close{font-size:22px!important;line-height:1!important}.emc-lightbox-prev,.emc-lightbox-next{position:absolute;top:50%;transform:translateY(-50%);font-size:40px!important;width:58px;height:58px;display:grid;place-items:center;border-radius:4px!important}.emc-lightbox-prev{left:20px}.emc-lightbox-next{right:20px}.emc-lightbox-caption{position:absolute;left:0;right:0;bottom:0;background:linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,.78));padding:46px 28px 24px;text-align:center}.emc-lightbox-caption strong{display:block;font-size:18px;margin-bottom:5px}.emc-lightbox-caption span{display:block;opacity:.82}.emc-lightbox-thumbs{position:absolute;left:0;right:0;bottom:8px;display:flex;gap:6px;justify-content:center;align-items:center;overflow-x:auto;padding:0 18px;z-index:3;pointer-events:none}.emc-lightbox-thumbs img{width:54px;height:40px;object-fit:cover;opacity:.55;border:2px solid transparent;pointer-events:auto;cursor:pointer}.emc-lightbox-thumbs img.active{opacity:1;border-color:#fff}@media(max-width:760px){.emc-lightbox-stage{padding:52px 12px 104px}.emc-lightbox-prev,.emc-lightbox-next{width:44px;height:44px;font-size:30px!important}.emc-lightbox-prev{left:8px}.emc-lightbox-next{right:8px}.emc-lightbox-media img{max-height:calc(100vh - 185px)}.emc-lightbox-media iframe{width:94vw;height:53vw}.emc-lightbox-caption{padding-left:14px;padding-right:14px}.emc-lightbox-thumbs{justify-content:flex-start}}

/* v1.0.18: hard thumbnail gallery mode. Compact/masonry album media are real thumbnails, not large cards. */
.emc-album-view .emc-front-media.emc-gallery-compact,
.emc-album-view .emc-front-media.emc-gallery-masonry{
    display:grid!important;
    grid-template-columns:repeat(var(--emc-cols,5), minmax(0,1fr))!important;
    gap:8px!important;
    margin:22px 0!important;
}
.emc-album-view .emc-media-thumb{
    position:relative!important;
    display:block!important;
    overflow:hidden!important;
    border-radius:4px!important;
    background:#0b1220!important;
    border:1px solid rgba(255,255,255,.08)!important;
    box-shadow:none!important;
    aspect-ratio:1/1!important;
    min-height:0!important;
    cursor:pointer!important;
}
.emc-album-view .emc-gallery-masonry .emc-media-thumb{aspect-ratio:4/3!important;}
.emc-album-view .emc-media-thumb img,
.emc-album-view .emc-media-thumb .emc-front-fallback{
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    object-fit:cover!important;
    display:block!important;
    transition:transform .18s ease, filter .18s ease!important;
}
.emc-album-view .emc-media-thumb:hover img{transform:scale(1.04)!important;filter:brightness(.82)!important;}
.emc-album-view .emc-media-thumb em{
    position:absolute!important;
    left:8px!important;
    top:8px!important;
    z-index:2!important;
    padding:5px 8px!important;
    border-radius:999px!important;
    background:rgba(15,23,42,.82)!important;
    color:#fff!important;
    font-style:normal!important;
    font-size:10px!important;
    font-weight:900!important;
    letter-spacing:.04em!important;
    text-transform:uppercase!important;
}
.emc-album-view .emc-play-badge{
    position:absolute!important;
    left:50%!important;
    top:50%!important;
    transform:translate(-50%,-50%)!important;
    z-index:3!important;
    width:46px!important;
    height:46px!important;
    border-radius:999px!important;
    display:grid!important;
    place-items:center!important;
    background:rgba(255,255,255,.92)!important;
    color:#0f172a!important;
    font-weight:900!important;
}
@media(max-width:1024px){
    .emc-album-view .emc-front-media.emc-gallery-compact,
    .emc-album-view .emc-front-media.emc-gallery-masonry{grid-template-columns:repeat(var(--emc-tablet-cols,3), minmax(0,1fr))!important;}
}
@media(max-width:760px){
    .emc-album-view .emc-front-media.emc-gallery-compact,
    .emc-album-view .emc-front-media.emc-gallery-masonry{grid-template-columns:repeat(var(--emc-mobile-cols,2), minmax(0,1fr))!important;gap:6px!important;}
}

/* v1.0.19: optional media name display */
.emc-media-thumb .emc-media-name{
  position:absolute;
  left:10px;
  right:10px;
  bottom:10px;
  z-index:3;
  display:block;
  padding:7px 9px;
  border-radius:12px;
  background:rgba(5,12,25,.78);
  color:#fff;
  font-weight:800;
  font-size:13px;
  line-height:1.25;
  opacity:.96;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* v1.0.20 clean album view rewrite: real thumbnail gallery, not large cards */
.emc-album-view-v1020 .emc-album-gallery{
  display:grid!important;
  grid-template-columns:repeat(var(--emc-cols,5), minmax(0,1fr))!important;
  gap:10px!important;
  margin:24px 0!important;
  align-items:start!important;
}
.emc-album-view-v1020 .emc-album-gallery-item{
  position:relative!important;
  display:block!important;
  width:100%!important;
  aspect-ratio:1/1!important;
  overflow:hidden!important;
  border-radius:6px!important;
  background:#08111f!important;
  border:1px solid rgba(255,255,255,.12)!important;
  box-shadow:none!important;
  cursor:pointer!important;
}
.emc-album-view-v1020 .emc-album-gallery-masonry .emc-album-gallery-item{aspect-ratio:4/3!important;}
.emc-album-view-v1020 .emc-album-gallery-thumb,
.emc-album-view-v1020 .emc-album-gallery-thumb img,
.emc-album-view-v1020 .emc-album-gallery-thumb .emc-front-fallback{
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
}
.emc-album-view-v1020 .emc-album-gallery-thumb img{
  object-fit:cover!important;
  object-position:center!important;
  transition:transform .18s ease, filter .18s ease!important;
}
.emc-album-view-v1020 .emc-album-gallery-item:hover img{
  transform:scale(1.045)!important;
  filter:brightness(.82)!important;
}
.emc-album-view-v1020 .emc-album-gallery-item:before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,.36));
  opacity:0;
  transition:opacity .18s ease;
  pointer-events:none;
}
.emc-album-view-v1020 .emc-album-gallery-item:hover:before{opacity:1;}
.emc-album-view-v1020 .emc-play-badge{
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  transform:translate(-50%,-50%)!important;
  z-index:3!important;
  width:46px!important;
  height:46px!important;
  border-radius:999px!important;
  display:grid!important;
  place-items:center!important;
  background:rgba(255,255,255,.94)!important;
  color:#0f172a!important;
  font-weight:900!important;
  box-shadow:0 12px 30px rgba(0,0,0,.25)!important;
}
.emc-album-view-v1020 .emc-media-name{
  position:absolute!important;
  left:8px!important;
  right:8px!important;
  bottom:8px!important;
  z-index:4!important;
  display:block!important;
  padding:6px 8px!important;
  border-radius:10px!important;
  background:rgba(3,7,18,.78)!important;
  color:#fff!important;
  font-size:12px!important;
  font-weight:800!important;
  line-height:1.2!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.emc-album-view-v1020 .emc-front-hero.emc-album-hero{
  margin-bottom:18px!important;
}
@media(max-width:1024px){
  .emc-album-view-v1020 .emc-album-gallery{grid-template-columns:repeat(var(--emc-tablet-cols,3), minmax(0,1fr))!important;}
}
@media(max-width:760px){
  .emc-album-view-v1020 .emc-album-gallery{grid-template-columns:repeat(var(--emc-mobile-cols,2), minmax(0,1fr))!important;gap:7px!important;}
}

/* v1.0.21: lightbox image zoom + mouse pan */
.emc-lightbox .emc-lightbox-zoom{
  min-width:42px;
  font-size:20px!important;
  line-height:1!important;
}
.emc-lightbox.is-video .emc-lightbox-zoom{display:none!important;}
.emc-lightbox-media img{
  cursor:zoom-in;
  transition:transform .18s ease;
  transform-origin:50% 50%;
  will-change:transform;
}
.emc-lightbox.is-zoomed .emc-lightbox-media img{
  cursor:zoom-out;
  transform:scale(2.25);
  max-width:min(100%, 92vw);
  max-height:calc(100vh - 170px);
}
.emc-lightbox.is-zoomed .emc-lightbox-caption,
.emc-lightbox.is-zoomed .emc-lightbox-thumbs{
  opacity:.12;
  pointer-events:none;
  transition:opacity .18s ease;
}
.emc-lightbox.is-zoomed .emc-lightbox-stage:hover .emc-lightbox-caption,
.emc-lightbox.is-zoomed .emc-lightbox-stage:hover .emc-lightbox-thumbs{
  opacity:.38;
}
.emc-lightbox.is-zoomed .emc-lightbox-media:after{
  content:"Move mouse to pan • double click to reset";
  position:absolute;
  left:50%;
  bottom:72px;
  transform:translateX(-50%);
  z-index:4;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(0,0,0,.58);
  color:#fff;
  font-size:12px;
  font-weight:800;
  pointer-events:none;
}
@media(max-width:760px){
  .emc-lightbox.is-zoomed .emc-lightbox-media img{transform:scale(1.85);}
  .emc-lightbox.is-zoomed .emc-lightbox-media:after{bottom:88px;font-size:11px;}
}

/* v1.0.24: explicit list/card view modes for collection and album levels */
.emc-center .emc-collections-grid.emc-collections-view-list,
.emc-collection-view .emc-albums-grid.emc-albums-view-list{
  grid-template-columns:1fr!important;
}
.emc-center .emc-collections-grid.emc-collections-view-cards,
.emc-collection-view .emc-albums-grid.emc-albums-view-cards{
  grid-template-columns:repeat(var(--emc-cols,3), minmax(0,1fr))!important;
}
.emc-center .emc-collections-grid.emc-collections-view-cards .emc-collection-front-card,
.emc-collection-view .emc-albums-grid.emc-albums-view-cards .emc-album-front-card{
  display:flex!important;
  flex-direction:column!important;
  grid-template-columns:none!important;
}
.emc-center .emc-collections-grid.emc-collections-view-cards .emc-collection-front-card .emc-front-cover,
.emc-collection-view .emc-albums-grid.emc-albums-view-cards .emc-album-front-card .emc-front-cover{
  height:auto!important;
  min-height:0!important;
  aspect-ratio:var(--emc-card-ratio, 4/3)!important;
}
.emc-center .emc-collections-grid.emc-collections-view-cards .emc-collection-front-card .emc-front-cover img,
.emc-center .emc-collections-grid.emc-collections-view-cards .emc-collection-front-card .emc-front-fallback,
.emc-collection-view .emc-albums-grid.emc-albums-view-cards .emc-album-front-card .emc-front-cover img,
.emc-collection-view .emc-albums-grid.emc-albums-view-cards .emc-album-front-card .emc-front-fallback{
  height:100%!important;
  min-height:0!important;
  max-height:none!important;
}
.emc-center .emc-collections-grid.emc-collections-view-cards .emc-collection-front-card .emc-front-card-body,
.emc-collection-view .emc-albums-grid.emc-albums-view-cards .emc-album-front-card .emc-front-card-body{
  min-height:170px;
  justify-content:flex-start;
}
.emc-center .emc-collections-grid.emc-collections-view-list .emc-collection-front-card,
.emc-collection-view .emc-albums-grid.emc-albums-view-list .emc-album-front-card{
  max-width:none;
}
@media(max-width:1024px){
  .emc-center .emc-collections-grid.emc-collections-view-cards,
  .emc-collection-view .emc-albums-grid.emc-albums-view-cards{grid-template-columns:repeat(var(--emc-tablet-cols,2), minmax(0,1fr))!important;}
}
@media(max-width:760px){
  .emc-center .emc-collections-grid.emc-collections-view-cards,
  .emc-collection-view .emc-albums-grid.emc-albums-view-cards{grid-template-columns:repeat(var(--emc-mobile-cols,1), minmax(0,1fr))!important;}
}

/* v1.0.25: make settings map clearly to the exact frontend level.
   List view is always compact horizontal rows; card view is a visual grid. */
.emc-center .emc-collections-grid.emc-collections-view-list,
.emc-collection-view .emc-albums-grid.emc-albums-view-list{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:18px!important;
}
.emc-center .emc-collections-grid.emc-collections-view-list .emc-collection-front-card,
.emc-collection-view .emc-albums-grid.emc-albums-view-list .emc-album-front-card{
  display:grid!important;
  grid-template-columns:minmax(170px, 34%) minmax(0, 1fr)!important;
  flex-direction:unset!important;
  width:100%!important;
  min-height:0!important;
  border-radius:24px!important;
  overflow:hidden!important;
}
.emc-center .emc-collections-grid.emc-collections-view-list .emc-collection-front-card .emc-front-cover,
.emc-collection-view .emc-albums-grid.emc-albums-view-list .emc-album-front-card .emc-front-cover{
  height:100%!important;
  min-height:170px!important;
  max-height:230px!important;
  aspect-ratio:auto!important;
}
.emc-center .emc-collections-grid.emc-collections-view-list .emc-collection-front-card .emc-front-cover img,
.emc-center .emc-collections-grid.emc-collections-view-list .emc-collection-front-card .emc-front-fallback,
.emc-collection-view .emc-albums-grid.emc-albums-view-list .emc-album-front-card .emc-front-cover img,
.emc-collection-view .emc-albums-grid.emc-albums-view-list .emc-album-front-card .emc-front-fallback{
  width:100%!important;
  height:100%!important;
  max-height:230px!important;
  object-fit:cover!important;
}
.emc-center .emc-collections-grid.emc-collections-view-list .emc-collection-front-card .emc-front-card-body,
.emc-collection-view .emc-albums-grid.emc-albums-view-list .emc-album-front-card .emc-front-card-body{
  min-height:170px!important;
  padding:26px 28px!important;
  justify-content:center!important;
}
.emc-center .emc-collections-grid.emc-collections-view-cards,
.emc-collection-view .emc-albums-grid.emc-albums-view-cards{
  display:grid!important;
  grid-template-columns:repeat(var(--emc-cols,3), minmax(0, 1fr))!important;
  gap:22px!important;
}
.emc-center .emc-collections-grid.emc-collections-view-cards .emc-collection-front-card,
.emc-collection-view .emc-albums-grid.emc-albums-view-cards .emc-album-front-card{
  display:flex!important;
  flex-direction:column!important;
  grid-template-columns:none!important;
}
@media(max-width:760px){
  .emc-center .emc-collections-grid.emc-collections-view-list .emc-collection-front-card,
  .emc-collection-view .emc-albums-grid.emc-albums-view-list .emc-album-front-card{
    grid-template-columns:1fr!important;
  }
  .emc-center .emc-collections-grid.emc-collections-view-list .emc-collection-front-card .emc-front-cover,
  .emc-collection-view .emc-albums-grid.emc-albums-view-list .emc-album-front-card .emc-front-cover{
    aspect-ratio:16/9!important;
    height:auto!important;
    min-height:0!important;
    max-height:240px!important;
  }
}

/* v1.0.27: configurable frontend hero colors and visible elements. */
.emc-front .emc-front-hero{
    background:linear-gradient(135deg,var(--emc-hero-bg-start,#0b1220),var(--emc-hero-bg-end,#1d4ed8)) !important;
    color:var(--emc-hero-text,#fff) !important;
}
.emc-front .emc-front-hero h1{color:var(--emc-hero-text,#fff) !important;}
.emc-front .emc-front-hero p,
.emc-front .emc-front-stats{color:var(--emc-hero-muted,#dbeafe) !important;}
.emc-front .emc-front-hero span{color:var(--emc-hero-muted,#dbeafe) !important;}

/* v1.0.28 album media filters */
.emc-media-type-tabs,.emc-category-filters{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.emc-category-filter-wrap{margin:4px 0 18px}.emc-media-type-tabs button,.emc-category-filters button{border:0;border-radius:999px;padding:10px 18px;font-weight:800;background:#eef2f7;color:#0f172a;cursor:pointer}.emc-media-type-tabs button.active,.emc-category-filters button.active{background:#2563eb;color:#fff}.emc-category-filters{display:none}.emc-category-filters.is-visible{display:flex}.emc-filter-hidden{display:none!important}


/* v1.0.32: album Images/Videos selector lives inside the album hero. */
.emc-front-hero .emc-hero-media-tabs{position:relative;margin-top:22px;margin-bottom:0;z-index:2}
.emc-front-hero .emc-hero-media-tabs button{background:rgba(255,255,255,.92);color:#0f172a;box-shadow:0 8px 20px rgba(15,23,42,.14)}
.emc-front-hero .emc-hero-media-tabs button.active{background:#fff;color:#1d4ed8}
.emc-front-hero .emc-hero-media-tabs button:hover{background:#fff;color:#1d4ed8}

/* v1.0.42: breadcrumbs/permalinks inside the plugin hero. */
.emc-front-hero .emc-hero-breadcrumb{
    position:relative;
    z-index:3;
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:8px;
    margin:0 0 18px;
    color:rgba(255,255,255,.82);
    font-size:14px;
    line-height:1.3;
}
.emc-front-hero .emc-hero-breadcrumb a{
    color:#fff;
    font-weight:500;
    text-decoration:none;
}
.emc-front-hero .emc-hero-breadcrumb a:hover{
    color:#fff;
    text-decoration:underline;
}
.emc-front-hero .emc-hero-breadcrumb i{
    color:rgba(255,255,255,.58);
    font-style:normal;
}
.emc-front-hero .emc-hero-breadcrumb strong{
    color:#fff;
    font-weight:900;
}
.emc-collection-hero .emc-hero-breadcrumb{
    grid-column:1 / -1;
    grid-row:1;
}
.emc-collection-hero .emc-hero-content{
    grid-column:1;
    grid-row:2;
    position:relative;
    z-index:2;
}
.emc-collection-hero .emc-hero-image{
    grid-column:2;
    grid-row:2;
}
@media(max-width:860px){
    .emc-collection-hero .emc-hero-content,
    .emc-collection-hero .emc-hero-image{
        grid-column:1;
        grid-row:auto;
    }
}

/* v1.0.43: album category filters inside hero; Images/Videos selector on the right. */
.emc-album-hero-with-filters{
    padding:42px 34px 40px;
}
.emc-album-hero-with-filters .emc-album-hero-main{
    position:relative;
    z-index:3;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:26px;
    align-items:end;
}
.emc-album-hero-with-filters .emc-album-hero-copy{
    min-width:0;
}
.emc-album-hero-with-filters .emc-hero-category-filter-wrap{
    position:relative;
    z-index:4;
    margin:26px 0 0;
}
.emc-album-hero-with-filters .emc-hero-category-filter-wrap .emc-category-filters{
    margin:0;
    gap:10px;
}
.emc-album-hero-with-filters .emc-hero-category-filter-wrap .emc-category-filters button{
    background:rgba(255,255,255,.92);
    color:#0f172a;
    box-shadow:0 8px 20px rgba(15,23,42,.14);
}
.emc-album-hero-with-filters .emc-hero-category-filter-wrap .emc-category-filters button.active,
.emc-album-hero-with-filters .emc-hero-category-filter-wrap .emc-category-filters button:hover{
    background:#2563eb;
    color:#fff;
}
.emc-front-hero .emc-hero-media-tabs-vertical{
    position:relative;
    z-index:4;
    display:flex;
    flex-direction:column;
    align-items:stretch;
    justify-content:flex-end;
    gap:10px;
    margin:0;
    min-width:138px;
}
.emc-front-hero .emc-hero-media-tabs-vertical button{
    width:100%;
    justify-content:center;
    text-align:center;
    white-space:nowrap;
}
@media(max-width:760px){
    .emc-album-hero-with-filters .emc-album-hero-main{
        grid-template-columns:1fr;
        gap:18px;
        align-items:start;
    }
    .emc-front-hero .emc-hero-media-tabs-vertical{
        flex-direction:row;
        min-width:0;
        width:100%;
        justify-content:flex-start;
        flex-wrap:wrap;
    }
    .emc-front-hero .emc-hero-media-tabs-vertical button{
        width:auto;
        flex:0 0 auto;
    }
}


/* v1.0.44: compact album hero, no shifting filters/buttons. */
.emc-album-view-v1020 .emc-front-hero.emc-album-hero.emc-album-hero-with-filters{
    padding:30px 34px 28px;
    margin:18px 0 18px;
    min-height:0;
}
.emc-album-view-v1020 .emc-album-hero-with-filters .emc-hero-breadcrumb{
    margin-bottom:18px;
}
.emc-album-view-v1020 .emc-album-hero-with-filters .emc-album-hero-main{
    align-items:center;
    gap:28px;
}
.emc-album-view-v1020 .emc-album-hero-with-filters .emc-album-hero-copy h1{
    margin-bottom:0;
}
.emc-album-view-v1020 .emc-album-hero-with-filters .emc-album-hero-copy > span{
    display:none !important;
}
.emc-album-view-v1020 .emc-album-hero-with-filters .emc-hero-category-filter-wrap{
    margin:20px 0 0;
    min-height:46px;
    display:flex;
    align-items:flex-start;
}
.emc-album-view-v1020 .emc-album-hero-with-filters .emc-hero-category-filter-wrap:empty{
    min-height:0;
    margin-top:0;
}
.emc-album-view-v1020 .emc-album-hero-with-filters .emc-hero-category-filter-wrap .emc-category-filters{
    align-items:center;
    flex-wrap:wrap;
    gap:10px;
}
.emc-album-view-v1020 .emc-front-hero .emc-hero-media-tabs-vertical{
    align-self:center;
    margin:0;
    transform:none;
}
.emc-album-view-v1020 .emc-front-hero .emc-hero-media-tabs-vertical button{
    min-height:46px;
    padding:11px 22px;
}
@media(max-width:760px){
    .emc-album-view-v1020 .emc-front-hero.emc-album-hero.emc-album-hero-with-filters{
        padding:26px 22px 24px;
    }
    .emc-album-view-v1020 .emc-album-hero-with-filters .emc-hero-category-filter-wrap{
        min-height:0;
        margin-top:18px;
    }
}


/* v1.0.45: keep video thumbnails strictly inside their frame and avoid YouTube hq black-bar overflow look. */
.emc-album-view-v1020 .emc-album-gallery-item.emc-type-video{
  overflow:hidden!important;
  contain:paint!important;
}
.emc-album-view-v1020 .emc-album-gallery-item.emc-type-video .emc-album-gallery-thumb{
  position:absolute!important;
  inset:0!important;
  overflow:hidden!important;
  border-radius:inherit!important;
  background:#000!important;
}
.emc-album-view-v1020 .emc-album-gallery-item.emc-type-video .emc-album-gallery-thumb img{
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:cover!important;
  object-position:center!important;
  display:block!important;
}
.emc-album-view-v1020 .emc-album-gallery-item.emc-type-video:hover .emc-album-gallery-thumb img{
  transform:scale(1.035)!important;
}

/* v1.0.46: album title + Images/Videos in one row; category filters expand the hero only when present. */
.emc-album-view-v1020 .emc-front-hero.emc-album-hero.emc-album-hero-with-filters{
  padding:28px 34px 26px!important;
  margin:18px 0 18px!important;
}
.emc-album-view-v1020 .emc-album-hero-with-filters .emc-hero-breadcrumb{
  margin-bottom:16px!important;
}
.emc-album-view-v1020 .emc-album-hero-with-filters .emc-album-hero-main{
  display:block!important;
}
.emc-album-view-v1020 .emc-album-hero-with-filters .emc-album-hero-copy{
  position:relative;
  z-index:4;
  min-width:0;
}
.emc-album-view-v1020 .emc-album-title-row{
  position:relative;
  z-index:5;
  display:flex;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
  min-width:0;
}
.emc-album-view-v1020 .emc-album-title-row h1{
  margin:0!important;
  flex:0 1 auto;
}
.emc-album-view-v1020 .emc-front-hero .emc-hero-media-tabs-inline{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-start!important;
  flex-wrap:wrap!important;
  gap:10px!important;
  margin:0!important;
  min-width:0!important;
  width:auto!important;
  position:relative!important;
  z-index:6!important;
}
.emc-album-view-v1020 .emc-front-hero .emc-hero-media-tabs-inline button{
  width:auto!important;
  min-width:112px;
  min-height:44px;
  padding:10px 20px!important;
  text-align:center;
  justify-content:center;
}
.emc-album-view-v1020 .emc-album-hero-with-filters .emc-hero-category-filter-wrap{
  margin:18px 0 0!important;
  min-height:0!important;
  display:block!important;
}
.emc-album-view-v1020 .emc-album-hero-with-filters .emc-hero-category-filter-wrap .emc-category-filters{
  margin:0!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:10px!important;
}
.emc-album-view-v1020 .emc-album-hero-with-filters .emc-hero-category-filter-wrap .emc-category-filters:not(.is-visible){
  display:none!important;
}
@media(max-width:760px){
  .emc-album-view-v1020 .emc-front-hero.emc-album-hero.emc-album-hero-with-filters{
    padding:24px 20px 22px!important;
  }
  .emc-album-view-v1020 .emc-album-title-row{
    gap:12px;
  }
  .emc-album-view-v1020 .emc-front-hero .emc-hero-media-tabs-inline{
    width:100%!important;
  }
  .emc-album-view-v1020 .emc-front-hero .emc-hero-media-tabs-inline button{
    flex:1 1 120px;
    min-width:0;
  }
}


/* v1.0.47: smaller category filter buttons inside the hero so many categories fit cleanly. */
.emc-album-view-v1020 .emc-album-hero-with-filters .emc-hero-category-filter-wrap{
  margin-top:14px!important;
}
.emc-album-view-v1020 .emc-album-hero-with-filters .emc-hero-category-filter-wrap .emc-category-filters{
  gap:7px!important;
  row-gap:8px!important;
}
.emc-album-view-v1020 .emc-album-hero-with-filters .emc-hero-category-filter-wrap .emc-category-filters button{
  min-height:32px!important;
  padding:7px 13px!important;
  border-radius:999px!important;
  font-size:13px!important;
  line-height:1.1!important;
  letter-spacing:0!important;
  box-shadow:0 5px 14px rgba(15,23,42,.12)!important;
}
@media(max-width:760px){
  .emc-album-view-v1020 .emc-album-hero-with-filters .emc-hero-category-filter-wrap .emc-category-filters button{
    padding:7px 11px!important;
    font-size:12.5px!important;
  }
}


/* v1.0.48: premium compact hero layout - title first, type tabs beside it, category filters as small secondary pills. */
.emc-album-view-v1020 .emc-front-hero.emc-album-hero.emc-album-hero-with-filters{
  padding:24px 34px 24px!important;
  margin:18px 0 24px!important;
  min-height:0!important;
}
.emc-album-view-v1020 .emc-album-hero-with-filters .emc-hero-breadcrumb{
  margin:0 0 14px!important;
  position:relative!important;
  z-index:8!important;
}
.emc-album-view-v1020 .emc-album-title-row{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  flex-wrap:wrap!important;
  gap:14px!important;
  width:100%!important;
  max-width:760px!important;
}
.emc-album-view-v1020 .emc-album-title-row h1{
  margin:0!important;
  font-size:clamp(30px, 4vw, 42px)!important;
  line-height:1.02!important;
  letter-spacing:-.035em!important;
  white-space:nowrap!important;
}
.emc-album-view-v1020 .emc-front-hero .emc-hero-media-tabs-inline{
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  margin:0!important;
  flex:0 0 auto!important;
}
.emc-album-view-v1020 .emc-front-hero .emc-hero-media-tabs-inline button{
  min-width:104px!important;
  min-height:40px!important;
  padding:8px 18px!important;
  border-radius:999px!important;
  font-size:15px!important;
  line-height:1!important;
  box-shadow:0 10px 24px rgba(15,23,42,.14)!important;
}
.emc-album-view-v1020 .emc-album-hero-with-filters .emc-hero-category-filter-wrap{
  margin:13px 0 0!important;
  max-width:820px!important;
}
.emc-album-view-v1020 .emc-album-hero-with-filters .emc-hero-category-filter-wrap .emc-category-filters{
  display:none!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:6px!important;
  row-gap:7px!important;
  margin:0!important;
}
.emc-album-view-v1020 .emc-album-hero-with-filters .emc-hero-category-filter-wrap .emc-category-filters.is-visible{
  display:flex!important;
}
.emc-album-view-v1020 .emc-album-hero-with-filters .emc-hero-category-filter-wrap .emc-category-filters button{
  min-height:29px!important;
  padding:6px 11px!important;
  border-radius:999px!important;
  font-size:12px!important;
  line-height:1!important;
  font-weight:900!important;
  box-shadow:0 6px 15px rgba(15,23,42,.10)!important;
}
.emc-album-view-v1020 .emc-album-gallery,
.emc-album-view-v1020 .emc-front-grid.emc-front-media{
  margin-top:24px!important;
}
@media(max-width:760px){
  .emc-album-view-v1020 .emc-front-hero.emc-album-hero.emc-album-hero-with-filters{
    padding:22px 18px 20px!important;
    margin-bottom:18px!important;
  }
  .emc-album-view-v1020 .emc-album-title-row{
    gap:10px!important;
    max-width:100%!important;
  }
  .emc-album-view-v1020 .emc-album-title-row h1{
    white-space:normal!important;
    width:100%!important;
  }
  .emc-album-view-v1020 .emc-front-hero .emc-hero-media-tabs-inline{
    width:100%!important;
  }
  .emc-album-view-v1020 .emc-front-hero .emc-hero-media-tabs-inline button{
    flex:1 1 0!important;
    min-width:0!important;
    min-height:38px!important;
    padding:8px 12px!important;
    font-size:14px!important;
  }
  .emc-album-view-v1020 .emc-album-hero-with-filters .emc-hero-category-filter-wrap{
    margin-top:11px!important;
  }
}

/* v1.0.69: self-hosted video support inside lightbox */
.emc-lightbox-media video,
.emc-lightbox-media .emc-lightbox-video{
  width:min(1180px,82vw)!important;
  max-width:100%!important;
  max-height:calc(100vh - 170px)!important;
  height:auto!important;
  background:#000!important;
  box-shadow:0 20px 80px rgba(0,0,0,.35)!important;
  display:block!important;
}
@media(max-width:760px){
  .emc-lightbox-media video,
  .emc-lightbox-media .emc-lightbox-video{width:94vw!important;max-height:calc(100vh - 185px)!important;}
}


/* v1.0.72: smooth visual transition when changing media type/category filters */
.emc-album-gallery.emc-filter-changing,
.emc-front-media.emc-filter-changing{
  transition:opacity .18s ease, transform .18s ease;
}
.emc-album-gallery-item,
.emc-media-front-card{
  transition:opacity .18s ease, transform .18s ease, filter .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.emc-album-gallery-item.emc-filter-hiding,
.emc-media-front-card.emc-filter-hiding{
  opacity:0!important;
  transform:scale(.975)!important;
  filter:blur(1px)!important;
  pointer-events:none!important;
}
.emc-album-gallery-item.emc-filter-enter,
.emc-media-front-card.emc-filter-enter{
  animation:emcFilterEnter .22s ease both;
}
@keyframes emcFilterEnter{
  from{opacity:0;transform:translateY(8px) scale(.985);filter:blur(1px)}
  to{opacity:1;transform:translateY(0) scale(1);filter:blur(0)}
}
@media (prefers-reduced-motion: reduce){
  .emc-album-gallery-item,
  .emc-media-front-card,
  .emc-album-gallery-item.emc-filter-enter,
  .emc-media-front-card.emc-filter-enter{
    animation:none!important;
    transition:none!important;
  }
}
