
/* FEATURE NEWS SECTION */

.feature-news-section {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.feature-news-heading {
    background: #b00020;
    color: #fff;
    padding: 10px 14px;
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 12px;
    box-sizing: border-box;
}

/* FEATURE GRID */

.feature-news-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    min-width: 0;
}

.feature-news-card {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.feature-news-link {
    display: block;
    width: 100%;
    text-decoration: none;
}

/* RESPONSIVE IMAGE */

.feature-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 5 / 4;
    height: auto;
    overflow: hidden;
}

.feature-image-wrapper img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* CATEGORY ON IMAGE */

.feature-category {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000;
    background: transparent;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    white-space: normal;
    max-width: 95%;
    overflow-wrap: anywhere;
    z-index: 2;
    text-shadow: none;
}

/* TABLET */

@media (max-width: 992px) {
    .feature-news-grid {
        gap: 10px;
    }

    .feature-category {
        font-size: 13px;
    }
}

/* MOBILE */

@media (max-width: 650px) {
    .feature-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .feature-news-heading {
        font-size: 17px;
    }

    .feature-category {
        font-size: 12px;
    }
}
