﻿.video-gallery-section {
    padding: 90px 0;
    background: #ffffff;
}

.featured-video-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.video-thumbnail {
    position: relative;
}

    .video-thumbnail img {
        width: 100%;
        height: 500px;
        object-fit: cover;
    }

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    background: rgba(255,153,51,.95);
    color: #ffffff;
    border-radius: 50%;
    text-decoration: none;
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-content {
    padding: 30px;
}

.video-tag {
    background: #ff9933;
    color: #ffffff;
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
}

.video-content h3 {
    margin-top: 20px;
    color: #0f172a;
    font-weight: 700;
}

.video-content p {
    color: #64748b;
    line-height: 1.8;
}

.video-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,.08);
    transition: .3s;
}

    .video-card:hover {
        transform: translateY(-6px);
    }

.video-card-image {
    position: relative;
}

    .video-card-image img {
        width: 100%;
        height: 220px;
        object-fit: cover;
    }

.video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 60px;
    height: 60px;
    background: rgba(255,153,51,.95);
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-card-content {
    padding: 20px;
}

    .video-card-content h5 {
        color: #0f172a;
        font-weight: 600;
        margin: 0;
    }

.video-social-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #eef2f7;
}

.video-social-actions button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    border: 1px solid #dbe4f0;
    border-radius: 999px;
    padding: 0 13px;
    color: #22304a;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .06);
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.video-social-actions button:hover,
.video-social-actions button.is-liked {
    color: #fff;
    border-color: #ff9933;
    background: linear-gradient(135deg, #ff9933 0%, #ff7a1a 100%);
    transform: translateY(-1px);
}

.video-social-actions small {
    font-size: 11px;
    font-weight: 800;
}

.video-social-actions-sm {
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 10px;
}

.video-social-actions-sm button {
    min-width: 38px;
    justify-content: center;
    padding: 0 10px;
}

.btn-view-videos {
    background: #0f172a;
    color: #ffffff;
    text-decoration: none;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 600;
}

@media (max-width: 767px) {

    .video-gallery-section {
        padding: 60px 0;
    }

    .video-thumbnail img {
        height: 250px;
    }

    .play-button {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }

    .video-content {
        padding: 20px;
    }

    .video-card-image img {
        height: 200px;
    }
}

/* ==========================================================
   PUBLIC VIDEO INDEX — BLACK / ORANGE THEME
========================================================== */

.video-index {
    min-height: 100vh;
    padding: 38px 0 58px;
    color: #fff;
    background:
        radial-gradient(circle at 50% 0, rgba(255,122,26,.1), transparent 32%),
        #050706;
}

.video-index-head {
    max-width: 820px;
    margin: 0 auto 28px;
    text-align: center;
}

.video-index-head > span,
.video-chip {
    display: inline-flex;
    border: 1px solid rgba(255,122,26,.48);
    border-radius: 999px;
    padding: 6px 12px;
    color: #ff7a1a;
    background: rgba(255,122,26,.08);
    font-size: .78rem;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.video-index-head h1 {
    margin: 12px 0 9px;
    color: #ff7a1a;
    font-size: clamp(1.25rem, 2.1vw, 1.8rem);
    font-weight: 850;
    line-height: 1.15;
}

.video-index-head p {
    margin: 0;
    color: #fff;
    font-size: .95rem;
}

.video-feature-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
    overflow: hidden;
    margin-bottom: 22px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 8px;
    background: #0d1110;
    box-shadow: 0 18px 42px rgba(0,0,0,.38);
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.video-feature-panel:hover {
    border-color: rgba(255,122,26,.52);
    box-shadow: 0 24px 56px rgba(0,0,0,.48);
    transform: translateY(-4px);
}

.video-feature-media,
.video-tile-media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #030504;
}

.video-feature-media img,
.video-tile-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease, filter .4s ease;
}

.video-feature-panel:hover img,
.video-tile:hover img {
    filter: brightness(.82);
    transform: scale(1.045);
}

.video-feature-media span,
.video-tile-media span {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin: auto;
    border-radius: 50%;
    color: #fff;
    background: #ff7a1a;
    box-shadow: 0 14px 30px rgba(255,122,26,.38);
    font-size: 1.6rem;
    transition: transform .25s ease, box-shadow .25s ease;
}

.video-feature-panel:hover .video-feature-media span,
.video-tile:hover .video-tile-media span {
    box-shadow: 0 18px 38px rgba(255,122,26,.52);
    transform: scale(1.09);
}

.video-feature-body {
    align-self: center;
    padding: 24px;
}

.video-feature-body h2 {
    margin: 12px 0 8px;
    color: #fff;
    font-size: clamp(1.3rem, 2vw, 2rem);
    font-weight: 850;
    line-height: 1.18;
}

.video-feature-body p {
    margin-bottom: 18px;
    color: #fff;
}

.video-primary-link,
.video-tile-body a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ff7a1a;
    border-radius: 6px;
    padding: 9px 15px;
    color: #fff;
    background: #ff7a1a;
    font-size: .82rem;
    font-weight: 850;
    letter-spacing: .05em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color .22s ease, background .22s ease, transform .22s ease;
}

.video-primary-link:hover,
.video-tile-body a:hover {
    color: #ff7a1a;
    background: transparent;
    transform: translateY(-2px);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.video-tile {
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 8px;
    background: #0d1110;
    box-shadow: 0 12px 30px rgba(0,0,0,.32);
    transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.video-tile:hover {
    border-color: rgba(255,122,26,.52);
    box-shadow: 0 20px 42px rgba(0,0,0,.46);
    transform: translateY(-6px);
}

.video-tile-media span {
    width: 44px;
    height: 44px;
    font-size: 1.15rem;
}

.video-tile-body {
    padding: 13px;
}

.video-tile-body small {
    color: #fff;
    font-weight: 800;
}

.video-tile-body h3 {
    display: -webkit-box;
    min-height: 44px;
    overflow: hidden;
    margin: 5px 0 12px;
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.video-empty {
    grid-column: 1 / -1;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 8px;
    padding: 32px;
    color: #fff;
    background: #0d1110;
    text-align: center;
}

@media (max-width: 991px) {
    .video-feature-panel,
    .video-grid { grid-template-columns: 1fr 1fr; }
    .video-feature-panel { display: block; }
}

@media (max-width: 575px) {
    .video-index { padding: 28px 0 44px; }
    .video-grid { grid-template-columns: 1fr; }
}

/* ==========================================================
   PROFESSIONAL PUBLIC VIDEO LIBRARY
========================================================== */

.video-gallery-index {
    --video-orange: #ff7a1a;
    --video-black: #050706;
    --video-panel: #0d1110;
    --video-line: rgba(255,255,255,.13);
    min-height: 100vh;
    padding: 34px 0 70px;
    color: #fff;
    background:
        radial-gradient(circle at 8% 4%, rgba(255,122,26,.11), transparent 22%),
        radial-gradient(circle at 92% 28%, rgba(255,122,26,.07), transparent 19%),
        var(--video-black);
}

.video-gallery-index button,
.video-gallery-index input,
.video-gallery-index select {
    font: inherit;
}

.video-gallery-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 38px;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--video-line);
    padding-bottom: 20px;
}

.video-gallery-heading span,
.video-gallery-library-head span,
.video-gallery-side-head span {
    color: var(--video-orange);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.video-gallery-heading h1 {
    margin: 5px 0 0;
    color: var(--video-orange);
    font-size: clamp(1.2rem, 2vw, 1.7rem);
    font-weight: 850;
    line-height: 1.15;
}

.video-gallery-heading > p {
    max-width: 520px;
    margin: 0;
    color: #fff;
    font-size: 13px;
    line-height: 1.6;
    text-align: right;
}

.video-gallery-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(300px, .75fr);
    gap: 18px;
    margin-bottom: 48px;
}

.video-gallery-featured {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(250px, .75fr);
    overflow: hidden;
    border: 1px solid var(--video-line);
    border-radius: 12px;
    background: var(--video-panel);
    box-shadow: 0 22px 60px rgba(0,0,0,.38);
}

.video-gallery-feature-media,
.video-gallery-card-media {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    border: 0;
    padding: 0;
    background: #000;
    cursor: pointer;
}

.video-gallery-feature-media {
    min-height: 360px;
}

.video-gallery-feature-media img,
.video-gallery-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter .45s ease, transform .55s cubic-bezier(.2,.7,.2,1);
}

.video-gallery-feature-media::after,
.video-gallery-card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.02) 40%, rgba(0,0,0,.64));
    transition: background .3s ease;
}

.video-gallery-feature-media:hover img,
.video-gallery-feature-media:focus-visible img,
.video-gallery-card:hover .video-gallery-card-media img {
    filter: brightness(.72);
    transform: scale(1.055);
}

.video-gallery-feature-media > small,
.video-gallery-card-media > small {
    position: absolute;
    z-index: 2;
    left: 16px;
    bottom: 14px;
    border-radius: 999px;
    padding: 5px 9px;
    color: #fff;
    background: var(--video-orange);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .08em;
}

.video-gallery-play {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin: auto;
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 50%;
    color: #fff;
    background: var(--video-orange);
    box-shadow: 0 16px 34px rgba(255,122,26,.34);
    font-size: 24px;
    transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease;
}

.video-gallery-play i {
    margin-left: 3px;
}

.video-gallery-feature-media:hover .video-gallery-play,
.video-gallery-card:hover .video-gallery-play {
    box-shadow: 0 20px 44px rgba(255,122,26,.52);
    transform: scale(1.12);
}

.video-gallery-feature-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 28px;
}

.video-gallery-feature-copy > p,
.video-gallery-card-copy > p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #fff;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.video-gallery-feature-copy > p span,
.video-gallery-card-copy > p span {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--video-orange);
}

.video-gallery-feature-copy h2 {
    margin: 12px 0 10px;
    color: #fff;
    font-size: clamp(1.4rem, 2.1vw, 2.15rem);
    font-weight: 850;
    line-height: 1.12;
}

.video-gallery-feature-copy > div {
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: 22px;
    color: rgba(255,255,255,.72);
    font-size: 13px;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.video-gallery-watch,
.video-gallery-card-copy > button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid var(--video-orange);
    border-radius: 7px;
    padding: 10px 16px;
    color: #fff;
    background: var(--video-orange);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    cursor: pointer;
    transition: color .23s ease, background .23s ease, transform .23s ease, box-shadow .23s ease;
}

.video-gallery-watch:hover,
.video-gallery-card-copy > button:hover {
    color: var(--video-orange);
    background: transparent;
    box-shadow: 0 10px 28px rgba(255,122,26,.18);
    transform: translateY(-2px);
}

.video-gallery-side {
    overflow: hidden;
    border: 1px solid var(--video-line);
    border-radius: 12px;
    background: var(--video-panel);
}

.video-gallery-side-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 46px;
    border-bottom: 1px solid var(--video-line);
    padding: 0 14px;
}

.video-gallery-side-head small {
    color: rgba(255,255,255,.55);
    font-size: 9px;
    font-weight: 800;
}

.video-gallery-side-item {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 11px;
    width: 100%;
    min-height: 88px;
    border: 0;
    border-bottom: 1px solid var(--video-line);
    padding: 10px;
    color: #fff;
    background: transparent;
    text-align: left;
    cursor: pointer;
    transition: background .22s ease, transform .22s ease;
}

.video-gallery-side-item:last-child {
    border-bottom: 0;
}

.video-gallery-side-item:hover,
.video-gallery-side-item:focus-visible {
    outline: 0;
    background: rgba(255,122,26,.1);
    transform: translateX(3px);
}

.video-gallery-side-item > span:first-child {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 6px;
    background: #000;
}

.video-gallery-side-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-gallery-side-item > span:first-child i {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    margin: auto;
    border-radius: 50%;
    color: #fff;
    background: var(--video-orange);
}

.video-gallery-side-item > span:last-child {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
}

.video-gallery-side-item small {
    color: var(--video-orange);
    font-size: 9px;
    font-weight: 850;
    text-transform: uppercase;
}

.video-gallery-side-item strong {
    display: -webkit-box;
    overflow: hidden;
    margin: 3px 0;
    color: #fff;
    font-size: 11px;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.video-gallery-side-item em {
    color: rgba(255,255,255,.48);
    font-size: 9px;
    font-style: normal;
}

.video-gallery-library {
    scroll-margin-top: 110px;
}

.video-gallery-library-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    border-bottom: 1px solid var(--video-line);
    padding-bottom: 16px;
}

.video-gallery-library-head h2 {
    margin: 4px 0 0;
    color: #fff;
    font-size: clamp(1.5rem, 2.4vw, 2.2rem);
    font-weight: 850;
}

.video-gallery-library-head > small {
    color: rgba(255,255,255,.62);
    font-size: 10px;
    letter-spacing: .08em;
}

.video-gallery-library-head > small strong {
    color: var(--video-orange);
    font-size: 16px;
}

.video-gallery-tools {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) 210px 190px;
    gap: 10px;
    margin: 20px 0 24px;
}

.video-gallery-tools > label:not(.video-gallery-search) {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 9px;
    min-height: 46px;
    border: 1px solid var(--video-line);
    border-radius: 8px;
    padding: 0 10px;
    background: var(--video-panel);
}

.video-gallery-tools > label > span {
    color: rgba(255,255,255,.5);
    font-size: 9px;
    font-weight: 850;
    text-transform: uppercase;
}

.video-gallery-tools select {
    width: 100%;
    border: 0;
    outline: 0;
    color: #fff;
    background: var(--video-panel);
    font-size: 12px;
    font-weight: 750;
}

.video-gallery-tools option {
    color: #fff;
    background: #111;
}

.video-gallery-search {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    border: 1px solid var(--video-line);
    border-radius: 8px;
    padding: 0 13px;
    background: var(--video-panel);
    transition: border-color .22s ease, box-shadow .22s ease;
}

.video-gallery-search:focus-within {
    border-color: var(--video-orange);
    box-shadow: 0 0 0 3px rgba(255,122,26,.12);
}

.video-gallery-search > i {
    color: var(--video-orange);
}

.video-gallery-search input {
    width: 100%;
    border: 0;
    outline: 0;
    color: #fff;
    background: transparent;
    font-size: 13px;
}

.video-gallery-search input::placeholder {
    color: rgba(255,255,255,.42);
}

.video-gallery-search button {
    border: 0;
    color: rgba(255,255,255,.5);
    background: transparent;
}

.video-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.video-gallery-card {
    overflow: hidden;
    border: 1px solid var(--video-line);
    border-radius: 10px;
    opacity: 0;
    background: var(--video-panel);
    box-shadow: 0 14px 34px rgba(0,0,0,.25);
    transform: translateY(16px);
    transition: opacity .4s ease, transform .4s cubic-bezier(.2,.7,.2,1), border-color .3s ease, box-shadow .3s ease;
}

.video-gallery-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.video-gallery-card.is-visible:hover {
    border-color: rgba(255,122,26,.58);
    box-shadow: 0 24px 48px rgba(0,0,0,.42);
    transform: translateY(-7px);
}

.video-gallery-card-media {
    aspect-ratio: 16 / 9;
}

.video-gallery-card .video-gallery-play {
    width: 48px;
    height: 48px;
    font-size: 19px;
}

.video-gallery-card-copy {
    padding: 15px;
}

.video-gallery-card-copy h3 {
    display: -webkit-box;
    min-height: 43px;
    overflow: hidden;
    margin: 7px 0 14px;
    color: #fff;
    font-size: 15px;
    font-weight: 820;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.video-gallery-card-copy > button {
    padding: 8px 12px;
    font-size: 9px;
}

.video-gallery-empty {
    border: 1px dashed rgba(255,255,255,.24);
    border-radius: 12px;
    padding: 60px 20px;
    color: #fff;
    text-align: center;
}

.video-gallery-empty i {
    color: var(--video-orange);
    font-size: 36px;
}

.video-gallery-empty h3 {
    margin: 12px 0 6px;
}

.video-gallery-empty p {
    margin: 0;
    color: rgba(255,255,255,.62);
}

.video-gallery-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 34px;
}

.video-gallery-pagination > button:not(.video-gallery-load-more),
.video-gallery-pagination > div button {
    display: inline-grid;
    place-items: center;
    min-width: 36px;
    height: 36px;
    border: 1px solid var(--video-line);
    border-radius: 7px;
    color: #fff;
    background: var(--video-panel);
    font-size: 11px;
    font-weight: 850;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.video-gallery-pagination > div {
    display: flex;
    gap: 7px;
}

.video-gallery-pagination button:hover:not(:disabled),
.video-gallery-pagination > div button.is-active {
    border-color: var(--video-orange);
    background: var(--video-orange);
    transform: translateY(-2px);
}

.video-gallery-pagination button:disabled {
    opacity: .35;
}

.video-gallery-load-more {
    min-height: 36px;
    margin-left: 10px;
    border: 1px solid var(--video-orange);
    border-radius: 7px;
    padding: 0 14px;
    color: #fff;
    background: var(--video-orange);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
}

.video-gallery-player {
    position: fixed;
    inset: 0;
    z-index: 6000;
    display: grid;
    visibility: hidden;
    place-items: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .28s ease, visibility 0s linear .28s;
}

.video-gallery-player.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transition: opacity .28s ease;
}

.video-gallery-player-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    border: 0;
    background: rgba(0,0,0,.9);
    backdrop-filter: blur(10px);
}

.video-gallery-player-dialog {
    position: relative;
    z-index: 1;
    width: min(920px, calc(100vw - 48px));
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 12px;
    background: #090b0a;
    box-shadow: 0 30px 100px rgba(0,0,0,.7);
    transform: translateY(20px) scale(.97);
    transition: transform .3s cubic-bezier(.2,.7,.2,1);
}

.video-gallery-player.is-open .video-gallery-player-dialog {
    transform: translateY(0) scale(1);
}

.video-gallery-player-frame {
    display: grid;
    width: 100%;
    max-height: calc(100vh - 150px);
    place-items: center;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #000;
}

.video-gallery-player-frame iframe,
.video-gallery-player-frame video {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: #000;
    object-fit: contain;
}

.video-gallery-player-missing {
    color: #fff;
}

.video-gallery-player-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 58px;
    padding: 10px 14px;
}

.video-gallery-player-footer h2 {
    overflow: hidden;
    margin: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.video-gallery-player-footer button {
    flex: 0 0 auto;
    border: 1px solid var(--video-orange);
    border-radius: 6px;
    padding: 7px 10px;
    color: #fff;
    background: var(--video-orange);
    font-size: 9px;
    font-weight: 900;
}

.video-gallery-player-open {
    overflow: hidden;
}

@media (max-width: 1199px) {
    .video-gallery-showcase { grid-template-columns: 1fr; }
    .video-gallery-side { display: grid; grid-template-columns: repeat(2, 1fr); }
    .video-gallery-side-head { grid-column: 1 / -1; }
    .video-gallery-side-item { border-right: 1px solid var(--video-line); }
}

@media (max-width: 991px) {
    .video-gallery-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
    .video-gallery-heading > p { text-align: left; }
    .video-gallery-featured { grid-template-columns: 1fr; }
    .video-gallery-feature-media { min-height: 340px; }
    .video-gallery-tools { grid-template-columns: 1fr 1fr; }
    .video-gallery-search { grid-column: 1 / -1; }
    .video-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 575px) {
    .video-gallery-index { padding: 24px 0 48px; }
    .video-gallery-showcase { margin-bottom: 38px; }
    .video-gallery-feature-media { min-height: 220px; }
    .video-gallery-feature-copy { padding: 20px; }
    .video-gallery-side { display: block; }
    .video-gallery-side-item { border-right: 0; }
    .video-gallery-tools { grid-template-columns: 1fr; }
    .video-gallery-search { grid-column: auto; }
    .video-gallery-grid { grid-template-columns: 1fr; }
    .video-gallery-library-head { align-items: flex-start; flex-direction: column; }
    .video-gallery-pagination { flex-wrap: wrap; }
    .video-gallery-load-more { width: 100%; margin: 8px 0 0; }
    .video-gallery-player { padding: 10px; }
    .video-gallery-player-dialog { width: calc(100vw - 20px); }
    .video-gallery-player-frame { max-height: calc(100vh - 110px); }
}

@media (prefers-reduced-motion: reduce) {
    .video-gallery-card,
    .video-gallery-player-dialog,
    .video-gallery-feature-media img,
    .video-gallery-card-media img { transition: none; }
}

/* ==========================================================
   ADMIN-CONTROLLED HOMEPAGE VIDEO STYLES
========================================================== */

.campaign-video-showcase {
    position: relative;
    color: var(--video-section-text, inherit);
}

.campaign-video-showcase .campaign-video-track {
    gap: var(--video-card-gap, 18px) !important;
}

.campaign-video-showcase .campaign-video-tile {
    overflow: hidden;
    border-radius: 12px;
    background: var(--video-card-background, #fff);
    transition: transform .35s ease, opacity .35s ease, filter .35s ease, border-radius .35s ease;
}

.campaign-video-showcase .campaign-explore {
    border-color: var(--video-button, #0f4c81) !important;
    color: var(--video-button-text, #fff) !important;
    background: var(--video-button, #0f4c81) !important;
}

.campaign-video-nav {
    position: sticky;
    z-index: 6;
    top: 50%;
    display: grid;
    flex: 0 0 40px;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid color-mix(in srgb, var(--video-button, #0f4c81) 55%, transparent);
    border-radius: 50%;
    color: var(--video-button-text, #fff);
    background: var(--video-button, #0f4c81);
    box-shadow: 0 10px 24px rgba(0,0,0,.2);
    transform: translateY(-50%);
}

.campaign-video-prev { left: 8px; }
.campaign-video-next { right: 8px; margin-left: auto; }

.video-shape-square .campaign-video-tile { aspect-ratio: 1 / 1 !important; }
.video-shape-rectangle .campaign-video-tile,
.video-shape-landscape .campaign-video-tile { aspect-ratio: 16 / 10 !important; }
.video-shape-portrait .campaign-video-tile { aspect-ratio: 9 / 16 !important; }
.video-shape-oval .campaign-video-tile { border-radius: 50% !important; aspect-ratio: 4 / 3 !important; }
.video-shape-softcurved .campaign-video-tile { border-radius: 30px !important; }

.video-style-curvedcards .campaign-video-track { perspective: 1200px; align-items: center; padding-block: 34px !important; }
.video-style-curvedcards .campaign-video-tile:nth-child(5n+1) { transform: translateY(24px) rotateY(12deg); }
.video-style-curvedcards .campaign-video-tile:nth-child(5n+2) { transform: translateY(8px) rotateY(5deg); }
.video-style-curvedcards .campaign-video-tile:nth-child(5n+4) { transform: translateY(8px) rotateY(-5deg); }
.video-style-curvedcards .campaign-video-tile:nth-child(5n+5) { transform: translateY(24px) rotateY(-12deg); }
.video-style-curvedcards .campaign-video-tile:hover { z-index: 4; transform: translateY(-7px) rotateY(0) scale(1.04); }

.video-style-reels .campaign-video-tile,
.video-style-verticalcards .campaign-video-tile { flex-basis: min(260px, calc(100% / var(--video-visible))) !important; aspect-ratio: 9 / 16 !important; border-radius: 22px; }
.video-style-reels .campaign-video-caption { min-height: 76px; background: linear-gradient(transparent,rgba(0,0,0,.88)); }

.video-style-carousel .campaign-video-curve,
.video-style-coverflow .campaign-video-curve { scroll-snap-type: x mandatory; }
.video-style-carousel .campaign-video-tile,
.video-style-coverflow .campaign-video-tile { scroll-snap-align: center; }
.video-style-coverflow .campaign-video-track { perspective: 1000px; padding-block: 30px !important; }
.video-style-coverflow .campaign-video-tile { opacity: .78; transform: rotateY(9deg) scale(.92); }
.video-style-coverflow .campaign-video-tile:hover,
.video-style-coverflow .campaign-video-tile:focus-visible { opacity: 1; transform: rotateY(0) scale(1.04); }

.video-style-cinema .campaign-video-tile { flex-basis: min(760px, calc(100% - 80px)) !important; aspect-ratio: 21 / 9 !important; }
.video-style-cinema .campaign-video-track { justify-content: center !important; }

.video-style-verticalplaylist .campaign-video-curve { max-height: 520px; overflow-y: auto; overflow-x: hidden; }
.video-style-verticalplaylist .campaign-video-track { display: grid !important; grid-template-columns: 1fr !important; padding: 12px 24px !important; }
.video-style-verticalplaylist .campaign-video-tile { width: 100% !important; aspect-ratio: 16 / 5 !important; }

.video-style-filmstrip .campaign-video-tile { flex-basis: min(300px, calc(100% / var(--video-visible))) !important; aspect-ratio: 2 / 1 !important; border: 5px solid #111; border-radius: 2px; }
.video-style-filmstrip .campaign-video-track { padding-block: 16px !important; background: repeating-linear-gradient(90deg,#111 0 12px,transparent 12px 24px); }

.video-style-spotlight .campaign-video-tile { opacity: .62; transform: scale(.88); }
.video-style-spotlight .campaign-video-tile:nth-child(3n+2),
.video-style-spotlight .campaign-video-tile:hover { z-index: 3; opacity: 1; transform: scale(1.05); }

.video-style-threedcards .campaign-video-track { perspective: 1000px; }
.video-style-threedcards .campaign-video-tile { transform: rotateX(2deg) rotateY(-4deg); transform-style: preserve-3d; }
.video-style-threedcards .campaign-video-tile:hover { transform: translateY(-8px) rotateX(0) rotateY(0); }

.video-transition-fade .campaign-video-tile { animation: videoCmsFade .65s ease both; }
.video-transition-zoom .campaign-video-tile { animation: videoCmsZoom .65s ease both; }
.video-transition-flip .campaign-video-tile { animation: videoCmsFlip .7s ease both; backface-visibility: hidden; }
.video-transition-coverflow .campaign-video-tile { animation: videoCmsCoverflow .7s ease both; }
.video-transition-none .campaign-video-tile { animation: none !important; transition: none !important; }

@keyframes videoCmsFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes videoCmsZoom { from { opacity: 0; transform: scale(.86); } to { opacity: 1; transform: scale(1); } }
@keyframes videoCmsFlip { from { opacity: 0; transform: rotateY(70deg); } to { opacity: 1; transform: rotateY(0); } }
@keyframes videoCmsCoverflow { from { opacity: 0; transform: translateX(40px) rotateY(-18deg); } to { opacity: 1; transform: translateX(0) rotateY(0); } }

@media (max-width: 575px) {
    .campaign-video-nav { display: none; }
    .video-style-curvedcards .campaign-video-tile:nth-child(n) { transform: none; }
    .video-style-cinema .campaign-video-tile { flex-basis: calc(100% - 36px) !important; aspect-ratio: 16 / 9 !important; }
}

/* Reference-inspired cinematic video index */
.video-gallery-index {
    --video-orange: #c7a052;
    --video-black: #080d10;
    --video-panel: #11181c;
    --video-line: rgba(255,255,255,.11);
    padding: 46px 0 64px;
    background: radial-gradient(circle at 50% 10%, #11191d 0, #080d10 52%, #060a0c 100%);
}

.video-gallery-index > .container { max-width: 1440px; }

.video-gallery-heading {
    display: flex;
    max-width: 760px;
    align-items: center;
    flex-direction: column;
    gap: 14px;
    margin: 0 auto 42px;
    border: 0;
    padding: 0;
    text-align: center;
}

.video-gallery-heading h1 {
    margin: 0;
    color: #ff7a1a !important;
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 750;
    letter-spacing: -.035em;
}

.video-gallery-heading > p {
    max-width: none;
    color: #fff !important;
    font-size: 15px !important;
    text-align: center;
}

.video-gallery-heading-mark {
    display: flex;
    width: 150px;
    align-items: center;
    gap: 11px;
    color: var(--video-orange);
}

.video-gallery-heading-mark::before,
.video-gallery-heading-mark::after { height: 1px; flex: 1; background: var(--video-orange); content: ""; }
.video-gallery-heading-mark i { display: grid; width: 22px; height: 22px; place-items: center; border: 2px solid var(--video-orange); border-radius: 50%; font-size: 11px; }

.video-gallery-showcase { grid-template-columns: minmax(0, 1.55fr) minmax(420px, 1fr); gap: 24px; margin-bottom: 38px; }

.video-gallery-featured { position: relative; display: block; min-height: 548px; border-radius: 10px; }
.video-gallery-feature-media { position: absolute; inset: 0; min-height: 100%; }
.video-gallery-feature-media::after { background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.9) 100%); }
.video-gallery-feature-media > small { left: 30px; bottom: 154px; border: 1px solid rgba(255,255,255,.55); border-radius: 5px; color: #fff; background: rgba(151,112,38,.62); }
.video-gallery-feature-copy { position: absolute; z-index: 4; right: 0; bottom: 0; left: 0; display: block; padding: 30px; pointer-events: none; }
.video-gallery-feature-copy > p { color: var(--video-orange); }
.video-gallery-feature-copy h2 { margin: 9px 0 7px; font-size: clamp(24px, 2.5vw, 34px); }
.video-gallery-feature-copy > div:not(.video-gallery-feature-meta) { max-width: 720px; margin: 0 0 12px; -webkit-line-clamp: 1; }
.video-gallery-feature-meta { display: flex !important; gap: 22px; margin: 0 !important; color: rgba(255,255,255,.72) !important; font-size: 12px !important; }

.video-gallery-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; overflow: visible; border: 0; background: transparent; }
.video-gallery-side-item { position: relative; display: block; min-height: 0; overflow: hidden; border: 1px solid var(--video-line) !important; border-radius: 9px; padding: 0; background: var(--video-panel); }
.video-gallery-side-item > span:first-child { display: block; height: 100%; aspect-ratio: auto; border-radius: 0; }
.video-gallery-side-item > span:first-child::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,.85)); content: ""; }
.video-gallery-side-item > span:first-child i { z-index: 2; width: 52px; height: 52px; border: 1px solid rgba(255,255,255,.8); background: rgba(0,0,0,.28); font-size: 20px; }
.video-gallery-side-item > span:last-child { position: absolute; z-index: 3; right: 0; bottom: 0; left: 0; padding: 16px; }
.video-gallery-side-item strong { font-size: 15px; }
.video-gallery-side-item em { color: rgba(255,255,255,.72); font-size: 11px; }
.video-gallery-side-item:hover { transform: translateY(-4px); }

.video-gallery-library { border-top: 1px solid var(--video-line); padding-top: 28px; }
.video-gallery-tools { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 0 0 34px; }
.video-gallery-category-buttons { display: flex; flex: 1; flex-wrap: wrap; gap: 12px; }
.video-gallery-category-buttons button { min-height: 46px; border: 1px solid var(--video-line); border-radius: 7px; padding: 0 21px; color: rgba(255,255,255,.78); background: #11181c; font-size: 13px; cursor: pointer; }
.video-gallery-category-buttons button:hover,
.video-gallery-category-buttons button.is-active { border-color: var(--video-orange); color: #fff; background: var(--video-orange); }
.video-gallery-tools > label:not(.video-gallery-search) { display: none; }
.video-gallery-search { width: min(330px, 100%); flex: 0 0 330px; background: transparent; }

.video-gallery-grid { gap: 24px; }
.video-gallery-card { border-radius: 9px; background: #11181c; }
.video-gallery-card-media { aspect-ratio: 1.72 / 1; }
.video-gallery-card-media > small { inset: 0; display: grid; width: 54px; height: 54px; place-items: center; margin: auto; border: 1px solid rgba(255,255,255,.85); border-radius: 50%; padding: 0; color: #fff; background: rgba(0,0,0,.3); font-size: 21px; }
.video-gallery-card .video-gallery-play { display: none; }
.video-gallery-card-copy { padding: 15px 18px 17px; }
.video-gallery-card-copy { min-width: 0; overflow: hidden; }
.video-gallery-card-copy h3 {
    display: block;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    margin: 0 0 9px;
    color: #e53935 !important;
    font-size: 13px !important;
    font-weight: 750;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.video-gallery-card-meta {
    display: flex !important;
    width: 100%;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    line-height: 1.25;
    text-transform: none !important;
    white-space: nowrap;
}
.video-gallery-card-meta > span {
    display: inline-flex;
    width: auto !important;
    height: auto !important;
    min-width: 0;
    align-items: center;
    gap: 5px;
    border-radius: 0 !important;
    color: #fff !important;
    background: transparent !important;
    white-space: nowrap;
}
.video-gallery-card-meta > span:last-child {
    flex: 0 0 auto;
    overflow: visible;
}
.video-gallery-load-more { min-width: 245px; height: 48px; border-radius: 7px; color: #fff; background: var(--video-orange); }
.video-gallery-pagination > button:not(.video-gallery-load-more), .video-gallery-pagination > div { display: none; }

.video-gallery-index .video-gallery-feature-copy > div,
.video-gallery-index .video-gallery-feature-meta,
.video-gallery-index .video-gallery-side-item em,
.video-gallery-index .video-gallery-card-meta,
.video-gallery-index .video-gallery-empty p,
.video-gallery-index .video-gallery-search input,
.video-gallery-index .video-gallery-category-buttons button { color: #fff !important; }

/* Admin-selected entrance motion for featured, side and grid thumbnails. */
.video-entrance {
    --entrance-x: 0px;
    --entrance-y: 0px;
    opacity: 0;
    will-change: opacity, transform, filter, clip-path;
}

.video-entrance.direction-lefttoright { --entrance-x: -90px; --entrance-y: 0px; }
.video-entrance.direction-righttoleft { --entrance-x: 90px; --entrance-y: 0px; }
.video-entrance.direction-toptobottom { --entrance-x: 0px; --entrance-y: -70px; }
.video-entrance.direction-bottomtotop { --entrance-x: 0px; --entrance-y: 70px; }
.video-entrance.effect-none { opacity: 1; }
.video-entrance.effect-none.is-visible { animation: none; }
.video-entrance.effect-fade.is-visible { animation: videoEntranceFade .75s ease both; }
.video-entrance.effect-dissolve.is-visible { animation: videoEntranceDissolve .95s ease both; }
.video-entrance.effect-blur.is-visible { animation: videoEntranceBlur .85s ease both; }
.video-entrance.effect-jump.is-visible { animation: videoEntranceJump .85s cubic-bezier(.18,.89,.32,1.28) both; }
.video-entrance.effect-slide.is-visible { animation: videoEntranceSlide .78s cubic-bezier(.2,.75,.25,1) both; }
.video-entrance.effect-zoom.is-visible { animation: videoEntranceZoom .8s cubic-bezier(.2,.75,.25,1) both; }
.video-entrance.effect-circulate.is-visible { animation: videoEntranceCirculate .95s cubic-bezier(.2,.75,.25,1) both; }
.video-entrance.effect-pixelate.is-visible { animation: videoEntrancePixelate .9s steps(8, end) both; }

@keyframes videoEntranceFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes videoEntranceDissolve { 0% { opacity: 0; filter: contrast(2.2) brightness(1.8); } 55% { opacity: .62; } 100% { opacity: 1; filter: none; } }
@keyframes videoEntranceBlur { from { opacity: 0; filter: blur(18px); transform: translate(var(--entrance-x),var(--entrance-y)); } to { opacity: 1; filter: blur(0); transform: none; } }
@keyframes videoEntranceJump { 0% { opacity: 0; transform: translate(var(--entrance-x),var(--entrance-y)) scale(.84); } 65% { opacity: 1; transform: translate(0,-14px) scale(1.03); } 100% { opacity: 1; transform: none; } }
@keyframes videoEntranceSlide { from { opacity: 0; transform: translate(var(--entrance-x),var(--entrance-y)); } to { opacity: 1; transform: none; } }
@keyframes videoEntranceZoom { from { opacity: 0; transform: translate(var(--entrance-x),var(--entrance-y)) scale(.62); } to { opacity: 1; transform: none; } }
@keyframes videoEntranceCirculate { from { opacity: 0; transform: translate(var(--entrance-x),var(--entrance-y)) rotate(-16deg) scale(.72); } to { opacity: 1; transform: none; } }
@keyframes videoEntrancePixelate { 0% { opacity: 0; filter: blur(12px) contrast(3); transform: translate(var(--entrance-x),var(--entrance-y)) scale(.9); } 100% { opacity: 1; filter: none; transform: none; } }

@media (prefers-reduced-motion: reduce) {
    .video-entrance,
    .video-entrance.is-visible { opacity: 1 !important; animation: none !important; transform: none !important; filter: none !important; }
}

@media (max-width: 1199px) {
    .video-gallery-showcase { grid-template-columns: 1fr; }
    .video-gallery-side { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .video-gallery-side-item { aspect-ratio: 1 / 1; }
}

@media (max-width: 767px) {
    .video-gallery-index { padding-top: 32px; }
    .video-gallery-featured { min-height: 430px; }
    .video-gallery-side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .video-gallery-tools { align-items: stretch; flex-direction: column; }
    .video-gallery-search { width: 100%; flex-basis: auto; }
}

@media (max-width: 575px) {
    .video-gallery-heading h1 { font-size: 38px; }
    .video-gallery-featured { min-height: 390px; }
    .video-gallery-feature-copy { padding: 22px; }
    .video-gallery-feature-media > small { left: 22px; bottom: 154px; }
    .video-gallery-side { gap: 12px; }
    .video-gallery-category-buttons { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
    .video-gallery-category-buttons button { flex: 0 0 auto; }
}
