.content-index{
	max-width: 85%;
	margin: 0 auto;
}
.row.nav-row {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.box.cat_pos {
    display: flex;
    align-items: center;
}

.cat_pos_l {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    padding-left: 10px;
    position: relative;
}

.cat_pos_l::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    background: var(--primary-color);
    border-radius: 2px;
}

.text-list-html {
    margin-bottom: 25px;
}

.video-box {
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 15px;
    box-shadow: var(--shadow-sm);
}

.content-list {
    width: 100%;
}

.custom-grid-container {
    display: flex;
    gap: 15px;
    width: 100%;
    align-items: stretch;
}

.custom-grid-left {
    flex: 0 0 40%;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.custom-grid-right {
    flex: 0 0 60%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.custom-grid-item {
    position: relative;
    width: 100%;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-grid-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.custom-grid-left .custom-grid-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 280px;
}

.custom-grid-right .custom-grid-item {
    width: 100%;
    min-height: 0;
}

.custom-video-pic {
    position: relative;
    display: block;
    width: 100%;
    flex: 1;
    overflow: hidden;
}

.custom-grid-left .custom-video-pic {
    height: 100%;
}

.custom-grid-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 1;
    transition: transform 0.3s ease;
}

.custom-video-pic:hover .custom-grid-img {
    transform: scale(1.05);
}

.custom-grid-right .custom-grid-img {
    aspect-ratio: 16 / 9;
    height: auto;
}

.custom-player {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    opacity: 0.7;
    transition: opacity 0.3s, transform 0.3s;
}

.custom-player img {
    width: 48px;
    height: 48px;
}

.custom-video-pic:hover .custom-player {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.custom-note {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    background: rgba(0,0,0,0.7);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    color: #fff;
    font-weight: 500;
}

.custom-video-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.6), transparent);
    padding: 30px 12px 10px 12px;
    z-index: 2;
}

.custom-video-title h5 {
    margin: 0;
}

.custom-video-title .custom-text-overflow-2 {
    color: #fff;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 500;
}

.custom-video-title .custom-text-overflow-2 a {
    color: #fff;
    text-decoration: none;
    display: block;
}

.custom-video-title .custom-text-overflow-2 a:hover {
    color: #ffd700;
}

.custom-text-overflow-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.clear {
    clear: both;
}

.clear-class {
    clear: both;
    height: 25px;
}

.category-title{
	width: 93%;
}

@media (max-width: 1024px) {
    .content-index {
        max-width: 95%;
    }
    
    .custom-grid-container {
        flex-direction: column;
    }
    
    .custom-grid-left,
    .custom-grid-right {
        flex: 1;
        width: 100%;
    }
    
    .custom-grid-left .custom-grid-item {
        min-height: 200px;
    }
    
    .custom-grid-right {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .custom-grid-right .custom-grid-item {
        flex: 0 0 calc(50% - 5px);
    }
}

@media (max-width: 768px) {
    .content-index {
        max-width: 100%;
        padding: 0 10px;
    }
	
	.row.nav-row{
		margin-bottom:0;
	}
	.text-list-html{
		margin-bottom:0;
	}
	
	.category-title{
		width: 83%;
	}
    
    .video-box {
        padding: 10px;
    }
    
    .custom-grid-container {
        gap: 10px;
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .custom-grid-left {
        flex: 0 0 100%;
        width: 100%;
    }
    
    .custom-grid-left .custom-grid-item {
        min-height: 160px;
    }
    
    .custom-grid-right {
        gap: 6px;
        flex-direction: row;
        flex-wrap: wrap;
        flex: 0 0 100%;
        width: 100%;
    }
    
    .custom-grid-right .custom-grid-item {
        flex: 0 0 calc(33.333% - 4px);
        width: calc(33.333% - 4px);
    }
    
    .custom-video-title {
        padding: 20px 6px 6px 6px;
    }
    
    .custom-video-title .custom-text-overflow-2 {
        font-size: 11px;
    }
    
    .custom-note {
        font-size: 9px;
        top: 4px;
        right: 4px;
        padding: 2px 5px;
    }
    
    .custom-player img {
        width: 28px;
        height: 28px;
    }
    
    .cat_pos_l {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .custom-grid-left .custom-grid-item {
        min-height: 150px;
    }
    
    .custom-video-title {
        padding: 20px 6px 6px 6px;
    }
    
    .custom-video-title .custom-text-overflow-2 {
        font-size: 11px;
    }
    
    .custom-player img {
        width: 30px;
        height: 30px;
    }
}