/* Custom News Plugin Styles */
.custom-news-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

@media(max-width: 767px) {
    .custom-news-container {
        display: flex;
        flex-direction: column;
    }

    .news-column {
        width: 100%;
    }

    /* Local News Slider */
    .local-news-slider, .crime-news-slider {
        display: flex;
        overflow-x: auto;
        gap: 20px;
    }

    .news-item {
        flex: 0 0 auto;
        width: 90%;
        margin-right: 10px;
        border: 1px solid #c5c5c5;
        background-color: #F6F6F6;
    }

    .news-title {
        text-align: left;
        padding: 10px;
    }

    .news-title h3 {
        font-size: 18px;
        font-weight: 500;
        color: #333333;
        margin: 0;
    }

    .news-item:hover .news-title h3 {
        color: #125878 !important;
    }

    .news-image {
        width: 30%;
    }

    .news-image img {
        width: 100%;
        height: 100% !important;
        object-fit: cover;
    }
}

.news-column ul {
    padding: 0px !important;
}

.news-column h2 {
    font-family: "Poppins", Sans-serif;
    font-size: 55px;
    font-weight: 600;
    color: #125878;
    text-transform: uppercase;
    text-align: center;
}
@media(max-width:1024px){
    .news-column h2 { 
        font-size: 30px;
    }
}
.news-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    border: 1px solid #c5c5c5;
    background-color: #F6F6F6;
}

.news-title {
    flex: 1;
    padding: 20px;
    text-align: center;
}

.news-title h3 {
    font-size: 18px;
    font-weight: 500;
    color: #333333;
    margin: 0;
}

.news-item:hover .news-title h3 {
    color: #125878 !important;
}

.news-image {
    width: 30%;
}

.news-image img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
}
@media(max-width:767px){
    .news-item {
        flex-direction: column-reverse;
        position: relative;
    }
    .news-image {
        width: 100%;
    }
    .news-title{
        position: absolute;
        left: 0;
        z-index: 10;
    }
    .news-title h3{
        color: #fff;
    }
    .news-item::after{
        content: "";
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        position: absolute;
        left: 0;
        top: 0;
        z-index: 1;
    }
    .news-item{
        width: 100%!important;
    }
    .local-news-slider, .crime-news-slider{
        gap: 0px!important;
    }
}