.video-index {
    --video-green-950: #043123;
    --video-green-900: #07543a;
    --video-green-800: #08704b;
    --video-green-700: #0f8657;
    --video-gold: #e6bb57;
    --video-ink: #17271f;
    --video-muted: #65786e;
    --video-line: #dbe7df;
    --video-canvas: #f5f8f6;
    --video-surface: #ffffff;
    color: var(--video-ink);
    background: var(--video-canvas);
    font-family: "Poppins", Arial, sans-serif;
}

.video-index *,
.video-index *::before,
.video-index *::after {
    box-sizing: border-box;
}

.video-index-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 336px;
    padding: 48px 0 56px;
    color: #ffffff;
    background:
        radial-gradient(circle at 88% 72%, rgba(46, 178, 119, 0.45), transparent 26rem),
        linear-gradient(115deg, var(--video-green-950), var(--video-green-900));
}

.video-index-hero::before,
.video-index-hero::after {
    position: absolute;
    z-index: -1;
    width: 20rem;
    height: 20rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    content: "";
}

.video-index-hero::before {
    top: -9rem;
    right: 8%;
}

.video-index-hero::after {
    right: -8rem;
    bottom: -12rem;
}

.video-index-hero-grid {
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: 0.2;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.11) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.11) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: linear-gradient(90deg, #000, transparent 88%);
}

.video-index-hero-content {
    position: relative;
}

.video-index-breadcrumb {
    margin-bottom: 28px;
}

.video-index-breadcrumb ol {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
}

.video-index-breadcrumb li:last-child {
    overflow: hidden;
    color: #ffffff;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.video-index-breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.video-index-breadcrumb a:hover,
.video-index-breadcrumb a:focus-visible {
    color: #ffffff;
}

.video-index-breadcrumb i {
    font-size: 0.58rem;
}

.video-index-eyebrow,
.video-index-section-eyebrow,
.video-index-card-type {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--video-gold);
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.4;
    text-transform: uppercase;
}

.video-index-eyebrow i {
    font-size: 0.9rem;
}

.video-index-hero h1 {
    max-width: 720px;
    margin: 10px 0 0;
    color: #ffffff;
    font-size: clamp(2.45rem, 5vw, 4.4rem);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1.05;
}

.video-index-hero-description {
    max-width: 620px;
    margin: 17px 0 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1rem;
    line-height: 1.75;
}

.video-index-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 26px;
    margin-top: 28px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.83rem;
    font-weight: 500;
}

.video-index-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.video-index-hero-meta i {
    color: var(--video-gold);
}

.video-index-main {
    padding: 72px 0 88px;
}

.video-index-collection {
    max-width: 1120px;
    margin: 0 auto;
}

.video-index-collection-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
    padding-bottom: 23px;
    border-bottom: 1px solid var(--video-line);
}

.video-index-collection-header h2 {
    max-width: 690px;
    margin: 7px 0 0;
    color: var(--video-ink);
    font-size: clamp(1.76rem, 3.1vw, 2.45rem);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1.15;
}

.video-index-count {
    display: grid;
    width: 46px;
    min-width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid #bfe0cd;
    border-radius: 50%;
    color: var(--video-green-800);
    background: #f0faf4;
    font-size: 0.88rem;
    font-weight: 700;
}

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

.video-index-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--video-line);
    border-radius: 18px;
    background: var(--video-surface);
    box-shadow: 0 10px 28px rgba(13, 53, 36, 0.045);
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.video-index-card-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    color: #ffffff;
    background:
        radial-gradient(circle at 25% 22%, rgba(33, 161, 104, 0.75), transparent 42%),
        linear-gradient(135deg, var(--video-green-950), var(--video-green-800));
}

.video-index-card-media::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, transparent 36%, rgba(2, 26, 17, 0.68) 100%);
}

.video-index-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 360ms cubic-bezier(0.2, 0.7, 0.25, 1);
}

.video-index-card-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: rgba(255, 255, 255, 0.74);
    font-size: 3.6rem;
}

.video-index-card-play {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 50%;
    color: var(--video-green-900);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    font-size: 0.9rem;
    transform: translate(-50%, -50%);
    transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.video-index-card-play i {
    margin-left: 2px;
}

.video-index-card-duration {
    position: absolute;
    z-index: 1;
    right: 14px;
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 600;
}

.video-index-card-body {
    display: flex;
    min-height: 216px;
    flex: 1;
    flex-direction: column;
    padding: 22px 22px 20px;
}

.video-index-card-type {
    font-size: 0.66rem;
}

.video-index-card-body h3 {
    margin: 8px 0 0;
    font-size: 1.06rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.4;
}

.video-index-card-body h3 a {
    color: var(--video-ink);
    text-decoration: none;
}

.video-index-card-body > p:not(.video-index-card-type) {
    display: -webkit-box;
    margin: 10px 0 0;
    overflow: hidden;
    color: var(--video-muted);
    font-size: 0.81rem;
    line-height: 1.68;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.video-index-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    margin-top: auto;
    padding-top: 18px;
    color: var(--video-green-800);
    font-size: 0.76rem;
    font-weight: 700;
    text-decoration: none;
}

.video-index-card-link i {
    transition: transform 180ms ease;
}

.video-index-empty {
    display: grid;
    min-height: 300px;
    place-items: center;
    align-content: center;
    padding: 42px 24px;
    border: 1px dashed #bcdcca;
    border-radius: 18px;
    color: var(--video-muted);
    text-align: center;
    background: rgba(255, 255, 255, 0.65);
}

.video-index-empty-icon {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border-radius: 50%;
    color: var(--video-green-800);
    background: #e9f6ee;
    font-size: 1.25rem;
}

.video-index-empty h3 {
    margin: 17px 0 0;
    color: var(--video-ink);
    font-size: 1.18rem;
    font-weight: 700;
}

.video-index-empty p {
    max-width: 500px;
    margin: 8px 0 0;
    font-size: 0.86rem;
    line-height: 1.65;
}

.video-index-pagination {
    display: flex;
    justify-content: center;
    margin-top: 42px;
}

.video-index-pagination .pagination {
    gap: 6px;
    margin: 0;
}

.video-index-pagination .page-link {
    min-width: 38px;
    border: 1px solid var(--video-line);
    border-radius: 9px;
    color: var(--video-green-800);
    background: #ffffff;
    box-shadow: none;
    font-size: 0.78rem;
    text-align: center;
}

.video-index-pagination .page-item.active .page-link {
    border-color: var(--video-green-800);
    color: #ffffff;
    background: var(--video-green-800);
}

.video-index a:focus-visible {
    outline: 3px solid rgba(230, 187, 87, 0.75);
    outline-offset: 3px;
}

@media (hover: hover) {
    .video-index-card:hover {
        border-color: #acd8bf;
        box-shadow: 0 17px 36px rgba(7, 73, 47, 0.12);
        transform: translateY(-5px);
    }

    .video-index-card:hover .video-index-card-media img {
        transform: scale(1.055);
    }

    .video-index-card:hover .video-index-card-play {
        color: #ffffff;
        background: var(--video-green-800);
        transform: translate(-50%, -50%) scale(1.08);
    }

    .video-index-card:hover .video-index-card-link i {
        transform: translateX(4px);
    }

    .video-index-pagination .page-link:hover {
        border-color: var(--video-green-800);
        color: #ffffff;
        background: var(--video-green-800);
    }
}

@media (max-width: 991.98px) {
    .video-index-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .video-index-hero {
        min-height: 292px;
        padding: 36px 0 42px;
    }

    .video-index-hero::before {
        right: -6rem;
    }

    .video-index-breadcrumb {
        margin-bottom: 23px;
    }

    .video-index-main {
        padding: 48px 0 62px;
    }

    .video-index-collection-header {
        align-items: start;
        margin-bottom: 24px;
        padding-bottom: 19px;
    }

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

    .video-index-card-body {
        min-height: 0;
    }
}

@media (max-width: 479.98px) {
    .video-index-hero-meta {
        display: grid;
        gap: 10px;
    }

    .video-index-card-body {
        padding: 19px 18px 18px;
    }

    .video-index-card-play {
        width: 48px;
        height: 48px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .video-index *,
    .video-index *::before,
    .video-index *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
