.hdm-video-filter-wrap {
    margin: 20px 0;
}

.hdm-video-heading-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    background: #E5F0F8;
    border-top: 4px solid #006EB7;
    padding: 22px 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.hdm-video-heading-title {
    font-size: 28px;
    font-weight: 700;
    color: #0A2A5E;
    margin: 0;
}

.hdm-video-filter-form {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hdm-video-filter-form select {
    padding: 12px 18px;
    border-radius: 6px;
    border: none;
    background: #fff;
    color: #555;
    font-weight: 500;
    min-width: 220px;
}

.hdm-video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.hdm-video-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hdm-video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.hdm-video-thumb-link {
    display: block;
    line-height: 0;
}

.hdm-video-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #f0f0f0;
}

.hdm-video-info {
    padding: 15px;
}

.hdm-video-title-link {
    text-decoration: none;
}

.hdm-video-title {
    font-size: 16px;
    font-weight: 600;
    color: #006EB7;
    margin: 0 0 8px;
    line-height: 1.35em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hdm-video-date {
    font-size: 13px;
    color: #888;
}

@media (max-width: 991px) {
    .hdm-video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .hdm-video-grid {
        grid-template-columns: 1fr;
    }

    .hdm-video-heading-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .hdm-video-filter-form {
        justify-content: stretch;
    }

    .hdm-video-filter-form select {
        width: 100%;
    }
}
