
/* =========================================
   WHAT'S HOT SECTION
========================================= */

.whats-hot-section {
    width: 100%;
    background: #ed0000;
    padding: 28px 0 48px;
}

.whats-hot-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}


/* =========================================
   TITLE
========================================= */

.whats-hot-title {
    margin: 0 0 20px;
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
}


/* =========================================
   GRID
========================================= */

.hot-news-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}


/* =========================================
   CARD
========================================= */

.hot-news-card {
    background: #fff;
    border-radius: 11px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 0;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.hot-news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}


/* =========================================
   IMAGE
========================================= */

.hot-image {
    width: 100%;
    height: 195px;
    position: relative;
    overflow: hidden;
    background: #ddd;
}

.hot-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.hot-news-card:hover .hot-image img {
    transform: scale(1.05);
}


/* =========================================
   CATEGORY
========================================= */

.hot-category {
    position: absolute;
    top: 13px;
    left: 13px;
    display: inline-block;
    padding: 5px 11px;
    background: #f40000;
    color: #fff;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    z-index: 2;
}


/* =========================================
   CONTENT
========================================= */

.hot-content {
    padding: 18px 18px 20px;
    flex: 1;
}

.hot-content h3 {
    margin: 0;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 500;
}

.hot-content h3 a {
    color: #111;
    text-decoration: none;
}

.hot-content h3 a:hover {
    color: #d90000;
}


/* =========================================
   LARGE TABLET
========================================= */

@media (max-width: 1200px) {

    .hot-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hot-image {
        height: 220px;
    }

    .hot-content h3 {
        font-size: 16px;
    }
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 768px) {

    .whats-hot-section {
        padding: 24px 0 35px;
    }

    .whats-hot-container {
        padding: 0 15px;
    }

    .whats-hot-title {
        font-size: 28px;
        margin-bottom: 16px;
    }

    .hot-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .hot-image {
        height: 180px;
    }

    .hot-content {
        padding: 14px;
    }

    .hot-content h3 {
        font-size: 16px;
        line-height: 1.35;
    }

    .hot-category {
        top: 10px;
        left: 10px;
        font-size: 11px;
        padding: 5px 8px;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 576px) {

    .whats-hot-section {
        padding: 20px 0 30px;
    }

    .whats-hot-container {
        padding: 0 12px;
    }

    .whats-hot-title {
        font-size: 25px;
        margin-bottom: 14px;
    }

    .hot-news-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .hot-image {
        height: 210px;
    }

    .hot-content {
        padding: 14px 15px 17px;
    }

    .hot-content h3 {
        font-size: 16px;
        line-height: 1.35;
    }

    .hot-category {
        font-size: 11px;
        padding: 5px 9px;
    }
}


/* =========================================
   VERY SMALL MOBILE
========================================= */

@media (max-width: 380px) {

    .hot-image {
        height: 190px;
    }

    .hot-content h3 {
        font-size: 16px;
    }
}

/* spotlight */

/* =========================================
    CATEGORY HEADER
========================================= */

.category-title {
    background: #ed0000;
    color: #fff;
    font-size: 25px;
    font-weight: bold;
    padding: 7px 15px;
    margin-bottom: 17px;
    text-transform: uppercase;
}

/* =========================================
    MAIN GRID
========================================= */

.news-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr) minmax(250px, .95fr);
    gap: 26px;
    align-items: start;
}

/* =========================================
    FEATURED NEWS
========================================= */

.featured-news {
    width: 100%;
}

.featured-image {
    width: 100%;
    height: 330px;
    object-fit: cover;
}

.featured-image-wrap {
    position: relative;
}

.category-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ed0000;
    color: #fff;
    padding: 4px 9px;
    font-size: 11px;
    font-weight: bold;
    border-radius: 3px;
    text-transform: uppercase;
}

.featured-title {
    font-size: 23px;
    line-height: 1.15;
    margin-top: 11px;
    font-weight: bold;
}

.featured-description {
    color: #555;
    font-size: 14px;
    line-height: 1.45;
    margin-top: 12px;
}

.news-meta {
    color: #777;
    font-size: 12px;
    margin-top: 13px;
}

/* =========================================
    MIDDLE NEWS
========================================= */

.middle-news {
    width: 100%;
}

.small-news {
    display: flex;
    gap: 12px;
    padding: 0 0 13px 0;
    margin-bottom: 13px;
    border-bottom: 1px solid #ddd;
}

.small-news:last-child {
    border-bottom: none;
}

.small-news-image {
    width: 105px;
    height: 70px;
    object-fit: cover;
    flex-shrink: 0;
}

.small-news-content {
    flex: 1;
}

.small-news-meta {
    font-size: 11px;
    color: #777;
    margin-bottom: 5px;
}

.small-category {
    display: inline-block;
    background: #ed0000;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    padding: 3px 6px;
    border-radius: 3px;
    margin-left: 4px;
    text-transform: uppercase;
}

.small-news-title {
    font-size: 15px;
    line-height: 1.4;
    font-weight: normal;
    margin:0 auto;
}

/* =========================================
    RIGHT SIDEBAR
========================================= */

.sidebar {
    width: 100%;
}

/* Advertisement */

.ad-box {
    width: 300px;
    height: 250px;
    border: 1px solid #eee;
    margin-bottom: 15px;
    overflow: hidden;
    background: #fafafa;
}

.ad-box iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.ad-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 13px;
}

/* Latest News */

.sidebar-heading {
    background: #ed0000;
    color: #fff;
    padding: 11px 14px;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 0;
}

.latest-news {
    border: 1px solid #ddd;
    border-top: none;
}

.latest-item {
    padding: 14px;
    border-bottom: 1px solid #ddd;
}

.latest-item:last-child {
    border-bottom: none;
}

.latest-item a {
    font-size: 14px;
    line-height: 1.4;
    display: block;
}

.latest-item a:hover {
    color: #ed0000;
}

/* =========================================
    TABLET
========================================= */

@media (max-width: 1100px) {

    .news-layout {
        grid-template-columns: 1.4fr 1fr;
    }

    .sidebar {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }

    .ad-box {
        margin-bottom: 0;
    }
}

/* =========================================
    MOBILE
========================================= */

@media (max-width: 768px) {

    .container {
        padding: 12px;
    }

    .category-title {
        font-size: 20px;
        padding: 7px 12px;
        margin-bottom: 12px;
    }

    .news-layout {
        display: flex;
        flex-direction: column;
        gap: 25px;
    }

    .featured-image {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .featured-title {
        font-size: 21px;
    }

    .featured-description {
        font-size: 14px;
    }

    .middle-news {
        width: 100%;
    }

    .small-news {
        gap: 10px;
    }

    .small-news-image {
        width: 100px;
        height: 70px;
    }

    .small-news-title {
        font-size: 15px;
    }

    .sidebar {
        display: block;
    }

    .ad-box {
        height: 180px;
        margin-bottom: 25px;
    }

    .sidebar-heading {
        font-size: 16px;
    }
}

/* =========================================
    SMALL MOBILE
========================================= */

@media (max-width: 480px) {

    .category-title {
        font-size: 18px;
    }

    .featured-title {
        font-size: 20px;
    }

    .small-news-image {
        width: 90px;
        height: 65px;
    }

    .small-news-title {
        font-size: 14px;
    }

    .latest-item a {
        font-size: 14px;
    }
}