:root {
    --primary-red: #d32f2f;
    --text-blue: #031739;
    --bg-card: #ffffff;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Container chính */
.YoutubeVideoList_videobaucu {
    padding: 20px 0;
    font-family: 'Segoe UI', Arial, sans-serif;
}

/* Tiêu đề mục "VIDEO HOẠT ĐỘNG" */
.YoutubeVideoList_videobaucu .VideoHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #eee;
    margin-bottom: 25px;
    padding-bottom: 10px;
}

.YoutubeVideoList_videobaucu .VideoHeader .Text {
    text-transform: uppercase;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--primary-red);
    position: relative;
}

.YoutubeVideoList_videobaucu .VideoHeader .Text::after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--primary-red);
}

/* Lưới Video */
.YoutubeVideoList_videobaucu .VideoList {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 0;
    list-style: none;
}

/* Thẻ Video Item */
.YoutubeVideoList_videobaucu .VideoItem {
    background: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: var(--transition);
    border: 1px solid #f0f0f0;
}

.YoutubeVideoList_videobaucu .VideoItem:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* Container Ảnh và Nút Play */
.YoutubeVideoList_videobaucu .VideoItem .image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #000;
}

.YoutubeVideoList_videobaucu .VideoItem .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.YoutubeVideoList_videobaucu .VideoItem:hover .image img {
    transform: scale(1.1);
    opacity: 0.8;
}

/* Tạo nút Play trung tâm hiện đại */
.YoutubeVideoList_videobaucu .VideoItem .image::after {
    content: "▶"; /* Có thể thay bằng icon FontAwesome hoặc SVG */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    color: #004ee3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
    z-index: 2;
    transition: var(--transition);
}

.YoutubeVideoList_videobaucu .VideoItem:hover .image::after {
    background: var(--primary-red);
    color: #fff;
    transform: translate(-50%, -50%) scale(1.2);
}

/* Tiêu đề Video */
.YoutubeVideoList_videobaucu .VideoItem .title {
    padding: 15px 15px 5px 15px;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--primary-red) !important;
    line-height: 1.4;
    min-height: 50px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: left;
}

/* Meta Data (Ngày tháng & Lượt xem) */
.YoutubeVideoList_videobaucu .VideoItem .MetaInfo {
    padding: 0 15px 15px 15px;
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: #888;
}

.YoutubeVideoList_videobaucu .VideoItem .MetaInfo span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Giả lập icon Calendar và Eye bằng CSS nếu không có icon */
.YoutubeVideoList_videobaucu .VideoItem .MetaInfo .date::before { content: "📅"; }
.YoutubeVideoList_videobaucu .VideoItem .MetaInfo .views::before { content: "👁"; }

/* Responsive cho Mobile */
@media (max-width: 768px) {
    .YoutubeVideoList_videobaucu .VideoList {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }
    
    .YoutubeVideoList_videobaucu .VideoHeader {
        padding: 0 15px 10px 15px;
    }
}