/* ================================================= */
/* HOME NEWS SECTION – REFINED                       */
/* ================================================= */
.home-news-section {
    padding: 80px 0;
    background: #ffffff;
}

/* ===========================
   TOP STORY – BOTTOM CAPTION
=========================== */

.top-story-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

/* Image */
.top-story-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

/* Image zoom on hover */
.top-story-card:hover img {
    transform: scale(1.05);
}

/* Bottom black bar */
.top-story-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #000;
    color: #fff;
    padding: 16px 18px;
    transition: all 0.3s ease;
}

/* Title (always visible) */
.top-story-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    color: #fff;
}

/* Excerpt hidden by default */
.top-story-excerpt {
    margin-top: 8px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #ddd;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Show excerpt on hover */
.top-story-card:hover .top-story-excerpt {
    opacity: 1;
    max-height: 120px;
}

/* Remove underline on link */
.top-story-link {
    text-decoration: none;
    color: inherit;
}

.top-story-link:hover {
    text-decoration: none;
}



/* ---------- Section Header ---------- */
.news-header h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 36px;
    color: #8b0000;
    margin-bottom: 10px;
}

.news-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.news-divider span {
    width: 90px;
    height: 2px;
    background: #022163;
}

.news-divider i {
    color: #022163;
    font-size: 18px;
}

/* ================================================= */
/* TOP STORY                                         */
/* ================================================= */
.top-story-card {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}

.top-story-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.top-story-caption {
    background: #000;
    color: #fff;
    padding: 18px;
}

/* ===========================
   TOP STORY BADGE WITH ICON
=========================== */

/* ===========================
   TOP STORY LABEL (ABOVE CARD)
=========================== */

.top-story-wrapper {
    margin-bottom: 20px;
}

.top-story-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    color: #c40000;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px 4px 0 0;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

/* Icon */
.top-story-label i {
    font-size: 0.85rem;
}


.top-story-caption h3 {
    font-size: 22px;
    line-height: 1.3;
    margin: 0;
}

/* All News page thumbnail */
.news-thumb {
    width: 100%;
    height: 180px;
    /* adjust: 140–200px as you like */
    object-fit: cover;
    /* crop nicely instead of stretching */
}

.news-thumb {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.news-thumb {
    border-radius: 6px;
}



/* ================================================= */
/* NEWS TABS + FULL RED LINE                         */
/* ================================================= */
.news-tabs {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    margin-bottom: 20px;
}

/* Long red horizontal line */
.news-tabs::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: #8b0000;
}

/* Left tabs group */
.news-tabs-left {
    display: flex;
    gap: 25px;
    position: relative;
    z-index: 2;
}

.news-tabs-left span {
    font-weight: bold;
    cursor: pointer;
    color: #555;
    padding-bottom: 6px;
}

/* Active tab underline */
.news-tabs-left span.active {
    color: #8b0000;
    border-bottom: 3px solid #8b0000;
}

/* Right button */
.news-tabs .btn {
    position: relative;
    z-index: 2;
}

.news-list {
    max-height: 420px;
    overflow-y: auto;
    padding-right: 8px;
}

.news-item {
    display: flex;
    gap: 15px;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid #eee;
}

.news-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.news-item img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.news-info h5 {
    font-size: 18px;
    line-height: 1.3;
    margin-bottom: 6px;
}

.news-info p {
    font-size: 14px;
    color: #555;
    margin-bottom: 6px;
}

.news-meta {
    font-size: 13px;
    color: #777;
}

/* ================================================= */
/* TABLET VIEW                                      */
/* ================================================= */
@media (max-width: 991px) {

    .home-news-section {
        padding: 60px 0;
    }

    .news-header h2 {
        font-size: 32px;
    }

    .news-list {
        max-height: none;
        overflow: visible;
    }

}

/* ================================================= */
/* MOBILE VIEW                                      */
/* ================================================= */
@media (max-width: 575px) {

    .home-news-section {
        padding: 50px 0;
    }

    /* Stack Top Story & News */
    .top-story-card {
        margin-bottom: 30px;
    }

    /* Tabs spacing */
    .news-tabs {
        gap: 15px;
        flex-wrap: wrap;
    }

    .news-tabs .btn {
        margin-left: 0;
        margin-top: 10px;
    }

    /* News item stacks */
    .news-item {
        flex-direction: column;
    }

    .news-item img {
        width: 100%;
        height: 180px;
    }

    .news-info h5 {
        font-size: 17px;
    }

    .news-title-link {
        color: inherit;
        text-decoration: none;
    }

    .news-title-link:hover {
        text-decoration: none;
    }

    .news-image-link img {
        transition: transform 0.3s ease;
    }

    .news-image-link:hover img {
        transform: scale(1.03);
    }
}

