.wisepark-lead { max-width: 760px; }
.wisepark-gallery-image { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.wisepark-gallery-placeholder { display: grid; min-height: 220px; place-items: center; color: var(--primary); background: var(--bg-accent); font-size: 3rem; }
.wisepark-dashboard-content { min-width: 0; }
.vs-label { display: inline-block; padding: .35rem .9rem; border-radius: 50px; color: #fff; background: linear-gradient(135deg, #0f766e, #0d9488); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.vs-title { font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 700; font-family: var(--font-display); }
.vs-card { height: 100%; overflow: hidden; border: 1px solid var(--border); border-radius: 16px; background: var(--card); box-shadow: var(--shadow); cursor: pointer; transition: transform .25s ease, box-shadow .25s ease; }
.vs-card:hover { transform: translateY(-5px); box-shadow: 0 14px 36px rgba(15, 118, 110, .18); }
.vs-thumb { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #dce8e6; }
.vs-thumb img { width: 100%; height: 100%; object-fit: cover; }
.vs-play-icon { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(0,0,0,.24); font-size: 3rem; transition: background .2s ease; }
.vs-card:hover .vs-play-icon { background: rgba(0,0,0,.12); }
.vs-body { padding: 1rem 1.1rem 1.2rem; }
.vs-body h3 { margin: 0 0 .45rem; color: var(--text); font-size: 1rem; font-weight: 700; }
.vs-body p { min-height: 2.6em; margin-bottom: .9rem; font-size: .9rem; }
.vs-skeleton { min-height: 250px; border-radius: 16px; background: linear-gradient(90deg, rgba(20,33,43,.05) 25%, rgba(20,33,43,.1) 37%, rgba(20,33,43,.05) 63%); background-size: 400% 100%; animation: wisepark-shimmer 1.4s ease infinite; }
.vs-pagination[hidden] { display: none !important; }
.vs-nav-btn { padding: .55rem .9rem; border: 1px solid var(--border); border-radius: 10px; color: var(--text); background: var(--card); font-weight: 600; }
.vs-nav-btn:disabled { opacity: .4; cursor: not-allowed; }
.vs-page-info { color: var(--muted); font-weight: 600; }
.vs-modal-overlay { position: fixed; z-index: 1090; inset: 0; display: none; align-items: center; justify-content: center; padding: 1.25rem; background: rgba(7,13,20,.82); }
.vs-modal-overlay.active { display: flex; }
.vs-modal-box { position: relative; width: min(900px, 100%); overflow: hidden; border: 1px solid var(--border); border-radius: 18px; background: var(--card); box-shadow: 0 24px 70px rgba(0,0,0,.3); }
.vs-modal-close { position: absolute; z-index: 1; top: .7rem; right: .7rem; display: grid; width: 40px; height: 40px; place-items: center; border: 0; border-radius: 50%; color: #fff; background: rgba(0,0,0,.65); }
.vs-modal-player { position: relative; aspect-ratio: 16 / 9; background: #000; }
.vs-modal-player iframe, .vs-modal-player video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vs-modal-meta { padding: 1rem 1.25rem 1.25rem; }
.vs-modal-meta h4 { margin: 0 0 .35rem; font-size: 1.15rem; }
@keyframes wisepark-shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }
@media (max-width: 767.98px) {
    .vs-skeleton { min-height: 220px; }
    .dashboard-grid { grid-template-columns: 1fr; }
    .sidebar { position: static; }
}
@media (prefers-reduced-motion: reduce) {
    .vs-skeleton { animation: none; }
    .vs-card { transition: none; }
}

.ep-gallery {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 100vh;
    color: #f7f8ff;
    background: linear-gradient(180deg, #090a10, #171729 52%, #0c0d15);
}
.ep-gallery::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: "";
    pointer-events: none;
    background:
        radial-gradient(circle at 15% 35%, rgba(0, 255, 220, .1), transparent 34rem),
        radial-gradient(circle at 90% 15%, rgba(203, 54, 255, .12), transparent 36rem);
    animation: ep-gallery-glow 12s ease-in-out infinite alternate;
}
.ep-gallery-hero {
    padding: clamp(5rem, 11vw, 8rem) 1rem 4rem;
    text-align: center;
}
.ep-gallery-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    color: #61ffe0;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.ep-gallery-hero h1 {
    max-width: 1050px;
    margin: .9rem auto 1.25rem;
    color: transparent;
    background: linear-gradient(110deg, #36f5e1, #9fb6ff 55%, #ed5ae9);
    background-clip: text;
    -webkit-background-clip: text;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.08;
    text-shadow: 0 0 42px rgba(0, 255, 220, .18);
    animation: ep-gallery-title-glow 3s ease-in-out infinite;
}
.ep-gallery-hero p {
    max-width: 720px;
    margin: 0 auto 2rem;
    color: #a7a9bb;
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.7;
}
.ep-gallery-divider {
    display: block;
    width: 7rem;
    height: 3px;
    margin: 0 auto;
    border-radius: 99px;
    background: linear-gradient(90deg, #21f4d0, #d740ed);
    box-shadow: 0 0 22px rgba(33, 244, 208, .55);
}
.ep-gallery-content {
    position: relative;
    z-index: 1;
    padding: 0 0 5rem;
}
.ep-gallery-section {
    margin: 0 auto 5.5rem;
}
.ep-gallery-section-heading {
    display: flex;
    width: min(1200px, calc(100% - 3rem));
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 0 auto 1.8rem;
}
.ep-gallery-section-heading h2 {
    display: flex;
    align-items: center;
    gap: .85rem;
    margin: 0;
    color: #f7f8ff;
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    font-weight: 750;
    text-shadow: 0 0 22px rgba(26, 255, 220, .22);
}
.ep-gallery-section-icon {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    place-items: center;
    border-radius: 14px;
    color: #071015;
    background: linear-gradient(135deg, #30f1d8, #df48e5);
    box-shadow: 0 0 25px rgba(48, 241, 216, .24);
}
.ep-gallery-count {
    flex: 0 0 auto;
    padding: .45rem .9rem;
    border: 1px solid rgba(48, 241, 216, .3);
    border-radius: 99px;
    color: #55f8dc;
    background: rgba(48, 241, 216, .08);
    font-size: .85rem;
    font-weight: 700;
}
.ep-video-carousel {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding: 1rem max(14px, calc((100vw - 900px) / 2)) 2rem;
    scroll-padding-inline: max(14px, calc((100vw - 900px) / 2));
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: rgba(48, 241, 216, .4) transparent;
}
.ep-video-card {
    width: min(900px, calc(100vw - 28px));
    flex: 0 0 min(900px, calc(100vw - 28px));
    overflow: hidden;
    border: 1px solid rgba(48, 241, 216, .56);
    border-radius: clamp(24px, 5vw, 44px);
    background: linear-gradient(145deg, rgba(20, 21, 33, .92), rgba(4, 5, 9, .98));
    box-shadow: 0 18px 60px rgba(0, 0, 0, .45), 0 0 24px rgba(48, 241, 216, .08);
    scroll-snap-align: center;
    transition: transform .45s ease, box-shadow .45s ease, border-color .45s ease;
}
.ep-video-card:hover {
    transform: translateY(-5px);
    border-color: rgba(48, 241, 216, .9);
    box-shadow: 0 26px 70px rgba(0, 0, 0, .56), 0 0 35px rgba(48, 241, 216, .16);
}
.ep-video-preview {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 2.42 / 1;
    overflow: hidden;
    padding: 0;
    border: 0;
    color: #fff;
    background: #07090e;
    text-align: left;
    cursor: pointer;
}
.ep-video-preview > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s ease, filter .7s ease;
}
.ep-video-card:hover .ep-video-preview > img {
    transform: scale(1.055);
    filter: brightness(.86);
}
.ep-video-placeholder,
.ep-image-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: #4af8df;
    background: radial-gradient(circle, #183d46, #080a10 68%);
    font-size: clamp(3rem, 8vw, 6rem);
}
.ep-video-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .5), transparent 32%, transparent 53%, rgba(0, 0, 0, .78));
}
.ep-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: clamp(90px, 15vw, 150px);
    aspect-ratio: 1;
    place-items: center;
    border: 3px solid rgba(53, 246, 220, .75);
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(36, 235, 213, .95), rgba(210, 54, 235, .96));
    box-shadow: 0 0 28px rgba(49, 243, 219, .45), 0 0 70px rgba(195, 59, 238, .28);
    transform: translate(-50%, -50%);
    transition: box-shadow .3s ease, filter .3s ease;
    animation: ep-gallery-play-pulse 2.2s ease-in-out infinite;
}
.ep-video-play::before {
    width: 0;
    height: 0;
    margin-left: 8px;
    border-top: clamp(15px, 2.7vw, 25px) solid transparent;
    border-bottom: clamp(15px, 2.7vw, 25px) solid transparent;
    border-left: clamp(24px, 4vw, 38px) solid #101122;
    content: "";
}
.ep-video-play::after {
    position: absolute;
    inset: -12px;
    border: 3px solid rgba(45, 237, 215, .6);
    border-radius: inherit;
    content: "";
    animation: ep-gallery-ring-pulse 2.2s ease-in-out infinite;
}
.ep-video-preview:hover .ep-video-play,
.ep-video-preview:focus-visible .ep-video-play {
    filter: brightness(1.12);
    box-shadow: 0 0 42px rgba(49, 243, 219, .7), 0 0 90px rgba(195, 59, 238, .42);
}
.ep-video-preview:focus-visible {
    outline: 3px solid #fff;
    outline-offset: -6px;
}
.ep-video-info {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    gap: .35rem;
    padding: 1rem clamp(1.2rem, 5vw, 2.8rem) 1.2rem;
    background: linear-gradient(0deg, rgba(4, 4, 8, .97), rgba(4, 4, 8, .78) 65%, transparent);
}
.ep-video-title {
    overflow: hidden;
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 3vw, 2.45rem);
    font-weight: 800;
    line-height: 1.15;
    text-overflow: ellipsis;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .8);
}
.ep-video-description {
    display: -webkit-box;
    overflow: hidden;
    color: #b7b7c8;
    font-size: clamp(.85rem, 1.8vw, 1.15rem);
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.ep-gallery-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    margin-top: .5rem;
}
.ep-gallery-control {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(48, 241, 216, .38);
    border-radius: 50%;
    color: #50f6dc;
    background: rgba(48, 241, 216, .08);
    transition: background .2s ease, transform .2s ease;
}
.ep-gallery-control:hover {
    transform: translateY(-2px);
    background: rgba(48, 241, 216, .18);
}
.ep-gallery-hint { color: #8c91a5; font-size: .9rem; }
.ep-gallery-empty {
    width: min(1200px, calc(100% - 3rem));
    margin: 0 auto;
    padding: 2.5rem 1rem;
    border: 1px solid rgba(48, 241, 216, .18);
    border-radius: 20px;
    color: #a7a9bb;
    background: rgba(255, 255, 255, .025);
    text-align: center;
}
.ep-image-section { width: min(1200px, calc(100% - 3rem)); }
.ep-image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr));
    gap: 1.5rem;
}
.ep-image-card {
    position: relative;
    min-height: 330px;
    overflow: hidden;
    border: 1px solid rgba(215, 72, 229, .28);
    border-radius: 25px;
    background: #090a10;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .32);
    transition: transform .4s ease, border-color .4s ease, box-shadow .4s ease;
}
.ep-image-card:hover {
    transform: translateY(-7px);
    border-color: rgba(215, 72, 229, .75);
    box-shadow: 0 22px 50px rgba(0, 0, 0, .48), 0 0 24px rgba(215, 72, 229, .15);
}
.ep-image-card > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .65s ease;
}
.ep-image-card:hover > img { transform: scale(1.07); }
.ep-image-card > .ep-image-placeholder { position: absolute; inset: 0; }
.ep-image-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(4, 4, 8, .32) 50%, rgba(4, 4, 8, .96));
}
.ep-image-info {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 1.4rem;
}
.ep-image-info h3 {
    margin: 0 0 .4rem;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 750;
}
.ep-image-info p { margin: 0; color: #b7b7c8; }
.ep-gallery-cta {
    position: relative;
    width: min(900px, calc(100% - 3rem));
    margin: 5rem auto 0;
    padding: clamp(2rem, 6vw, 4rem);
    overflow: hidden;
    border: 1px solid rgba(48, 241, 216, .28);
    border-radius: 32px;
    background: linear-gradient(140deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025));
    text-align: center;
}
.ep-gallery-cta h2 {
    margin: 1rem auto;
    color: #fff;
    font-size: clamp(1.7rem, 4vw, 2.65rem);
    font-weight: 800;
}
.ep-gallery-cta p {
    max-width: 650px;
    margin: 0 auto 1.6rem;
    color: #a7a9bb;
}
.ep-video-modal {
    position: fixed;
    z-index: 2000;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(2, 3, 8, .88);
    backdrop-filter: blur(8px);
}
.ep-video-modal.is-open { display: flex; }
.ep-video-dialog {
    position: relative;
    width: min(960px, 100%);
    overflow: hidden;
    border: 1px solid rgba(48, 241, 216, .48);
    border-radius: 22px;
    background: #10111a;
    box-shadow: 0 25px 90px rgba(0, 0, 0, .65);
}
.ep-video-modal-close {
    position: absolute;
    z-index: 1;
    top: .7rem;
    right: .7rem;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: rgba(0, 0, 0, .72);
    font-size: 1.1rem;
}
.ep-video-player {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
}
.ep-video-player iframe,
.ep-video-player video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.ep-video-modal-copy { padding: 1rem 1.3rem 1.25rem; }
.ep-video-modal-copy h2 { margin: 0 0 .4rem; color: #fff; font-size: 1.3rem; }
.ep-video-modal-copy p { margin: 0; color: #a7a9bb; }
.ep-video-modal-open { overflow: hidden; }
@keyframes ep-gallery-glow { to { opacity: .58; } }
@keyframes ep-gallery-title-glow { 50% { filter: brightness(1.2); } }
@keyframes ep-gallery-play-pulse { 50% { transform: translate(-50%, -50%) scale(1.07); } }
@keyframes ep-gallery-ring-pulse { 50% { transform: scale(1.2); opacity: .35; } }
@media (max-width: 767.98px) {
    .ep-gallery-section-heading { width: calc(100% - 2rem); }
    .ep-video-carousel { gap: 1rem; }
    .ep-video-preview { aspect-ratio: 1.35 / 1; }
    .ep-video-info { padding: 1rem 1.1rem; }
    .ep-image-section { width: calc(100% - 2rem); }
    .ep-image-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .ep-gallery::before,
    .ep-gallery-hero h1,
    .ep-video-play,
    .ep-video-play::after { animation: none; }
    .ep-video-card,
    .ep-video-preview > img,
    .ep-image-card,
    .ep-image-card > img { transition: none; }
}
