/* ==========================================================================
   PIXELHUE Videos Page Styles (support4.css)
   ========================================================================== */

.videos-page-section {
    background-color: #f6f6f6;
    padding: 0px 0 60px;
    /* min-height: calc(100vh - 120px); */
    width: 100%;
    /* font-family: var(--font-family, 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif); */
}

.videos-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.videos-layout-grid {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

/* ==========================================================================
   Left Sidebar: Search & Menu
   ========================================================================== */
.videos-sidebar {
    width: 220px;
    flex-shrink: 0;
    margin-top: 25px;
}

.videos-search-form {
    width: 100%;
    margin-bottom: 25px;
}

.videos-search-input-wrap {
    width: 100%;
    background-color: #0070e0;
    border-radius: 2px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.videos-search-input-wrap:focus-within {
    background-color: #005bc4;
    box-shadow: 0 4px 12px rgba(0, 112, 224, 0.25);
}

.videos-search-icon {
    width: 18px;
    height: 18px;
    stroke: #ffffff;
    flex-shrink: 0;
}

.videos-search-input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
}

.videos-search-input::placeholder {
    color: #ffffff;
    opacity: 0.95;
}

.videos-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.videos-nav-item a {
    font-size: 14.5px;
    color: #555555;
    text-decoration: none;
    transition: color 0.2s ease;
    display: block;
}

.videos-nav-item a:hover {
    color: #0070e0;
}

.videos-nav-item.active a {
    color: #222222;
    font-weight: 700;
}

/* ==========================================================================
   Right Content Area: Video Grid & Pagination
   ========================================================================== */
.videos-main-content {
    flex: 1;
    min-width: 0;
    padding: 50px;
    background: #FFF;
}

.videos-main-title {
    font-size: 30px;
    font-weight: 700;
    color: #111111;
    margin: 0 0 20px 0;
    line-height: 1.25;
    letter-spacing: -0.3px;
}

.videos-main-desc {
    font-size: 15px;
    color: #444444;
    line-height: 1.65;
    margin: 0 0 35px 0;
}

.videos-main-desc a {
    color: #0070e0;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.videos-main-desc a:hover {
    color: #0056b3;
}

/* Videos 2-Column Grid */
.videos-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    /* margin-bottom: 50px; */
}

.video-card-item {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    border-radius: 4px;
    overflow: hidden;
    background-color: #f7f9fa;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.video-card-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.video-thumbnail-wrap {
    position: relative;
    width: 100%;
    height: 220px;
    background-color: #0d131f;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.video-card-item:hover .video-thumbnail-img {
    transform: scale(1.04);
}

/* Play Button Overlay */
.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: #0070e0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 112, 224, 0.45);
    transition: all 0.25s ease;
    z-index: 2;
}

.video-play-icon {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 9px 0 9px 15px;
    border-color: transparent transparent transparent #ffffff;
    margin-left: 3px;
}

.video-card-item:hover .video-play-btn {
    transform: translate(-50%, -50%) scale(1.12);
    background-color: #0056b3;
    box-shadow: 0 6px 20px rgba(0, 86, 179, 0.6);
}

/* Bottom Bar */
.video-card-bottom {
    background-color: #636363;
    color: #ffffff;
    padding: 10px 16px;
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.2px;
}

/* ==========================================================================
   Pagination
   ========================================================================== */
.videos-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}

.pagination-item {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 13.5px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
    color: #94a3b8;
    user-select: none;
}

.pagination-item.active {
    background-color: #0070e0;
    border-color: #0070e0;
    color: #ffffff;
    font-weight: 600;
}

.pagination-item:hover:not(.active) {
    background-color: #edf2f7;
    color: #4a5568;
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */
@media (max-width: 991px) {
    .videos-layout-grid {
        flex-direction: column;
        gap: 35px;
    }

    .videos-sidebar {
        width: 100%;
    }

    .videos-nav-menu {
        flex-direction: column;
        gap: 20px;
    }

    .videos-card-grid {
        gap: 20px;
    }

    .video-thumbnail-wrap {
        height: 190px;
    }
}

@media (max-width: 600px) {
    .videos-card-grid {
        grid-template-columns: 1fr;
    }

    .videos-main-title {
        font-size: 26px;
    }

    .video-thumbnail-wrap {
        height: 200px;
    }

    .videos-main-content {
        padding: 20px;
    }
}
