
/* =================================
   LOKMAYA STATE NEWS SECTION
================================= */

.state-news-section {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 25px auto !important;
    padding: 20px;
    background: #b90026;
    color: #fff;
    box-sizing: border-box;
    min-width: 0;
}

/* HEADER */

.state-news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(255,255,255,0.8);
}

.state-news-header h2 {
    margin: 0;
    color: #fff;
    font-size: 25px;
    font-weight: 800;
}

/* STATE TABS */

.state-news-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
}

.state-tab {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.8);
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
}

.state-tab:hover {
    background: rgba(255,255,255,0.15);
}

.state-tab.active {
    background: #fff;
    color: #b90026;
    border-color: #fff;
}

/* NEWS GRID */

.state-news-panel {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: repeat(4, auto);
    gap: 15px;
}

.state-news-panel[hidden] {
    display: none !important;
}

/* NEWS CARD */

.state-news-card {
    min-width: 0;
    overflow: hidden;
}

.state-news-card a {
    display: block;
    color: #fff;
    text-decoration: none;
}

.state-news-card.main-news img {
    display: block;
    width: 450px;
    max-width: 100%;
    height: 350px;
    object-fit: contain;
    object-position: center;
    background: transparent;
}

.state-news-card a:hover img {
    transform: scale(1.03);
}

.state-news-card h3 {
    color: #fff;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 700;
    margin: 8px 0 0;
}

/* MAIN BIG THUMBNAIL */

.state-news-card.main-news {
    grid-column: 1;
    grid-row: 1 / span 4;
}

.state-news-card.main-news img {
    height: 330px;
}

.state-news-card.main-news h3 {
    font-size: 23px;
    line-height: 1.5;
    margin-top: 12px;
}

/* SMALL THUMBNAILS */

.state-news-card.small-news img {
    display: block;
    width: 250px;
    max-width: 100%;
    height: 200px;
    object-fit: contain;
    object-position: center;
    background: transparent;
}

/* NO NEWS */

.state-no-news {
    grid-column: 1 / -1;
    color: #fff;
    padding: 30px 10px;
    text-align: center;
    font-size: 16px;
}

/* TABLET */

@media (max-width: 900px) {

    .state-news-panel {
        grid-template-columns: 2fr 1fr;
        grid-template-rows: auto;
    }

    .state-news-card.main-news {
        grid-row: 1 / span 4;
    }

    .state-news-card.main-news img {
        height: 280px;
    }

    .state-news-card.small-news img {
        height: 110px;
    }

}

/* MOBILE */

@media (max-width: 600px) {

    .state-news-section {
        padding: 12px;
        margin: 18px 0;
    }

    .state-news-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .state-news-header h2 {
        font-size: 21px;
    }

    .state-news-tabs {
        width: 100%;
    }

    .state-tab {
        flex: 1;
        padding: 10px 8px;
        font-size: 14px;
    }

    .state-news-panel {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .state-news-card.main-news {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .state-news-card.main-news img {
        height: 220px;
    }

    .state-news-card.main-news h3 {
        font-size: 19px;
    }

    .state-news-card.small-news img {
        height: 105px;
    }

    .state-news-card h3 {
        font-size: 13px;
        line-height: 1.4;
    }

}
/* STATE NEWS FULL WIDTH ALIGNMENT */

.state-news-section {
    margin-left: auto;
    margin-right: auto;
    width: 94%;
    max-width: 1400px;
}
