﻿/* Main Content */
.main-content {
    padding: 20px 0;
}

.content-area {
    margin-top: 80px;
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 30px;
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.video-card {
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

    .video-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

.video-thumbnail {
    padding: 8px 8px 0 8px;
}

    .video-thumbnail img {
        width: 234px; /* căn theo video-card width */
        height: 180px;
        object-fit: cover;
        display: block;
    }

.video-info {
    padding: 0px 8px;
}

    .video-info h3 {
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 5px;
        color: #333;
        line-height: 1.3;
        font-family: var(--font-family);
        height: 48px;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        white-space: normal;
    }

    .video-info p {
        font-size: 14px;
        color: var(--light-text);
        line-height: 1.4;
        font-family: var(--font-family);
        padding-bottom: 4px;
        height: 60px;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        white-space: normal;
    }

/* Category Sidebar */
.side_bar {
    background-color: #f5f9ff;
    padding: 20px;
    border-radius: 8px;
    height: fit-content;
}

.ads {
    display: grid;
    gap: 20px;
    margin-top: 30px;
}

.topo-pattern {
    height: 150px;
    background-color: #0d1c33;
    background-image: url('https://media.istockphoto.com/id/1335402844/vector/abstract-topographic-map-elevation-map-seamless-pattern-in-blue-color.jpg?s=612x612&w=0&k=20&c=wUoGMzpDLChjJSBIzvs7NuTfcgAvD39pnlzVhiDqOxA=');
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    margin-top: 20px;
}

/* Method Section */
.method-section {
    background-color: #e6f1fa;
    padding: 50px 0;
    text-align: center;
}

    .method-section h2 {
        font-size: 35px;
        color: #333;
        margin-bottom: 30px;
        position: relative;
        display: inline-block;
        font-family: var(--font-family);
    }

.method-videos {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.method-video {
    padding-bottom: 10px;
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

    .method-video h3 {
        text-align: start;
        padding: 0 8px;
        margin-bottom: 0;
    }

    .method-video .minute {
        padding: 0 8px;
        display: flex;
        justify-content: space-between;
    }

        .method-video .minute p {
            color: #333;
            font-size: 13px;
        }

            .method-video .minute p.dolar {
                color: blue;
                font-weight: 600;
            }

    .method-video .video-thumbnail {
        border-radius: 5px;
    }

    .method-video p {
        font-size: 14px;
        font-weight: 500;
        color: #333;
        font-family: var(--font-family);
    }

.banner_qc {
    margin: 30px 0;
}
