.sec-cgcn {
    padding: 80px 0;
    background: #f8f9fa;
}

.sec-cgcn__title {
    text-transform: uppercase;
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #222;
    margin-bottom: 40px;
}

/* --- Gallery Grid 60/40 --- */
.sec-cgcn__gallery {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.sec-cgcn__gallery-large {
    flex: 0 0 calc(60% - 7.5px);
    border-radius: 15px;
    overflow: hidden;
}

.sec-cgcn__gallery-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.sec-cgcn__gallery-side {
    flex: 0 0 calc(40% - 7.5px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 15px;
}

.sec-cgcn__gallery-small {
    border-radius: 12px;
    overflow: hidden;
}

.sec-cgcn__gallery-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 1/1;
    transition: transform 0.6s ease;
}

/* Hover effects */
.sec-cgcn__gallery-large:hover img,
.sec-cgcn__gallery-small:hover img {
    transform: scale(1.08);
}

@media (max-width: 991px) {
    .sec-cgcn__gallery {
        flex-direction: column;
    }
    .sec-cgcn__gallery-large,
    .sec-cgcn__gallery-side {
        flex: 0 0 100%;
    }
}

.sec-cgcn__slider {
    position: relative;
    padding: 0; /* Removed padding since arrows are gone */
}

.sec-cgcn__swiper {
    overflow: hidden;
}

.sec-cgcn__swiper .swiper-wrapper {
    transition-timing-function: linear !important;
}

.sec-cgcn__card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.sec-cgcn__card-img {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
}

.sec-cgcn__card-img img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.sec-cgcn__card:hover .sec-cgcn__card-img img {
    transform: scale(1.05);
}

.sec-cgcn__card-body {
    padding: 0 4px;
}

.sec-cgcn__card-date {
    font-size: 13px;
    color: #000;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.sec-cgcn__card-title {
    font-size: 15px;
    font-weight: 700;
    color: #222;
    margin: 0 0 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.sec-cgcn__card:hover .sec-cgcn__card-title {
    color: #e8d44d;
}

/* Removed .sec-cgcn__card-link styles */

/* Navigation arrows */
.sec-cgcn__prev,
.sec-cgcn__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #e8d44d;
    color: #222;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s ease, transform 0.2s ease;
}

.sec-cgcn__prev:hover,
.sec-cgcn__next:hover {
    background: #d4c035;
    transform: translateY(-50%) scale(1.1);
}

.sec-cgcn__prev {
    left: 0;
}

.sec-cgcn__next {
    right: 0;
}

@media (max-width: 768px) {
    .sec-cgcn {
        padding: 50px 0;
    }

    .sec-cgcn__title {
        font-size: 24px;
        margin-bottom: 30px;
        text-align: left;
    }

    .sec-cgcn__slider {
        padding: 0;
    }

    .sec-cgcn__prev,
    .sec-cgcn__next {
        position: absolute;
        top: -44px;
        transform: none;
        width: 32px;
        height: 32px;
    }

    .sec-cgcn__prev:hover,
    .sec-cgcn__next:hover {
        transform: scale(1.1);
    }

    .sec-cgcn__prev {
        left: auto;
        right: 44px;
    }

    .sec-cgcn__next {
        right: 0;
    }

    .sec-cgcn__card-title {
        font-size: 13px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2; /* Thêm để fix lint */
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .sec-cgcn__card-date,
    .sec-cgcn__card-link {
        font-size: 11px; /* Giảm size ngày và link */
    }
}
