﻿/* --- LAYOUT TỔNG --- */
.new-trending {
    padding: 48px 0;
    background: #8080800f;
}

.grid.wide {
    max-width: 1264px;
    margin: 0 auto;
    padding: 0 15px;
}

.trending-full {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

@media (min-width: 1024px) {
    .trending-full {
        flex-direction: row;
        align-items: flex-start;
    }
}

/* --- BÀI VIẾT LỚN (TRÁI) --- */
.trending-left {
    flex: 1;
    width: 100%;
}

.trendingOne {
    position: relative;
    border-radius: 33px;
    overflow: hidden;
    height: 580px;
    cursor: pointer;
    display: block;
}

.behindTrending {
    height: 100%;
    width: 100%;
    position: relative;
}

    .behindTrending img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s ease;
    }

.trendingOne:hover img {
    transform: scale(1.05);
}

.fontTrending {
    position: absolute;
    inset: 0;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 20px;
    color: #fff;
    z-index: 2;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
}

.trendingOne-tag {
    display: flex;
    gap: 10px;
}

.tag-trendingOne {
    padding: 6px 15px;
    background: linear-gradient(to right, #eab308, #f97316);
    border-radius: 30px;
    font-size: 14px;
}

    .tag-trendingOne.czs {
        background: #ef4444;
        display: flex;
        align-items: center;
        gap: 8px;
    }

.trendingOne-title {
    font-size: 2.5rem;
    font-weight: bold;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.2;
    transition: color 0.3s;
    margin-bottom: 15px;
}

.trendingOne:hover .trendingOne-title {
    color: #facc15;
}

.tredingOne-descript {
    font-size: 1.1rem;
    opacity: 0.9;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.trending-bottom {
    display: flex;
    gap: 25px;
    align-items: center;
    opacity: 0.8;
    font-size: 14px;
}

.daily-b, .view-b {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* --- TIN XU HƯỚNG (PHẢI) --- */
.trending-right {
    width: 100%;
}

@media (min-width: 1024px) {
    .trending-right {
        width: 27%;
    }
}

.trending-tops {
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    color: #111827;
}

    .trending-tops svg {
        color: #f97316;
    }

.trendngasz {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.trendingAll-container {
    display: flex;
    gap: 15px;
    padding: 15px;
    border: 2px solid #bebebe8c;
    border-radius: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

    .trendingAll-container:hover {
        border-color: oklch(.837 .128 66.29);
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        transform: translateX(5px);
        text-decoration: unset;
    }

.trendingAll-left {
    width: 120px;
    height: 90px;
    flex-shrink: 0;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

    .trendingAll-left img {
        width: 100%;
        height: 100% !important;
        object-fit: cover;
        transition: 0.3s;
        border-radius: 12px;
    }

.trendingAll-container:hover .trendingAll-left img {
    transform: scale(1.1);
}

.sazbv {
    position: absolute;
    top: 5px;
    left: 5px;
    background: rgba(255,255,255,0.9);
    padding: 2px 8px;
    font-size: 10px;
    border-radius: 20px;
    color: #333;
}

.tr-top {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.trendingAll-container:hover .tr-top {
    color: #ea580c;
}

.tr-bottom {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: #6b7280;
}

.daily-tr, .view-tr {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* --- NÚT XEM THÊM --- */
.bttn-trending {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    background: linear-gradient(to right, #eab308, #f97316);
    color: #fff;
    border-radius: 15px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

    .bttn-trending:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(249, 115, 22, 0.3);
    }

@media(max-width:739px) {
    .tag-trendingOne.czs{
        display:none
    }
    .trendingOne {
        height: 100%;
    }

    .trendingOne-title {
        font-size: 1.5rem;
    }

    .tredingOne-descript {
        font-size: .9rem
    }

    .fontTrending {
        padding: 16px;
    }
}
