:root {
    --video-gap: 10px;
    --video-card-bg: #ffffff;
    --video-card-border: rgba(0, 0, 0, 0.08);
    --video-title-color: #1a202c;
    --video-badge-bg: rgba(230, 126, 34, 0.1);
}

body.dark .video-section {
    --video-card-bg: rgba(255, 255, 255, 0.05);
    --video-card-border: rgba(255, 255, 255, 0.1);
    --video-title-color: #f8fafc;
    --video-badge-bg: rgba(230, 126, 34, 0.2);
}

.video-section {
    background: transparent;
    color: inherit;
}

.video-section .container {
    width: 100%;
    padding: 0;
}

.video-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid;
}

.video-section .section-title {
    font-size: 32px;
    font-weight: 700;
    color: #e47200;
    position: relative;
    padding-left: 15px;
    margin: 0;
    text-decoration: none;
    display: inline-block;
    transition: opacity 0.3s ease;
}

.video-section .section-title:hover {
    opacity: 0.8;
}

/*.video-section .section-title::before {*/
/*    content: '';*/
/*    position: absolute;*/
/*    left: 0;*/
/*    top: 50%;*/
/*    transform: translateY(-50%);*/
/*    width: 5px;*/
/*    height: 28px;*/
/*    background: var(--brand-color, #E67E22);*/
/*}*/

/* Layout Wrapper */
.video-layout-wrapper {
    display: flex;
    gap: var(--video-gap);
}

.video-featured-area {
    flex: 1;
    min-width: 0;
}

.video-sidebar-area {
    flex: 0 0 350px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Card Styling */
.video-card {
    border: 1px solid var(--video-card-border);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.10);
}

.video-card:hover {
    border-color: var(--brand-color, #E67E22);
    transform: translateY(-3px);
}

/* Featured Card Specifics */
.video-card.featured .video-info {
    padding: 20px;
}

.video-card.featured .video-card-title {
    font-size: 30px;
    font-weight: 700;
}

/* Mini Card (Sidebar) Specifics */
.video-card.mini {
    display: flex;
    height: 100px;
}

.video-card.mini .video-wrapper {
    flex: 0 0 160px;
    padding-bottom: 0;
    height: 100%;
}

.video-card.mini .video-info {
    padding: 10px 8px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.video-card.mini .video-card-title {
    font-size: 18px;
    font-weight: 600;
    text-align: start;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.video-card.mini .video-badge {
    display: none;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-info {
    padding: 15px;
}

.video-badge {
    display: inline-block;
    padding: 2px 8px;
    background: var(--video-badge-bg);
    color: var(--brand-color, #E67E22);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
}

.video-card-title {
    margin: 0;
    color: var(--video-title-color);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    /*-webkit-box-orient: vertical;*/
    overflow: inherit;
    line-height: 1.3;
}

@media (max-width: 1200px) {
    .video-sidebar-area {
        flex: 0 0 300px;
    }
}

@media (max-width: 992px) {
    .video-layout-wrapper {
        flex-direction: column;
    }

    .video-sidebar-area {
        flex: none;
        width: 100%;
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    .video-card.mini {
        height: auto;
        flex-direction: column;
    }

    .video-card.mini .video-wrapper {
        flex: none;
        padding-bottom: 56.25%;
        width: 100%;
    }
}

@media (max-width: 600px) {
    .video-sidebar-area {
        grid-template-columns: 1fr;
    }

    .video-section .section-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}