
/* =========================================
   SABKI AWAAZ DELHI NEWS
   SAME LAYOUT AS DESH VIDESH
========================================= */

.delhi-news-section {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 20px 0 !important;
    padding: 15px !important;
    background: #172D50 !important;
    color: #ffffff !important;
    box-sizing: border-box !important;
    overflow: hidden;
}

/* HEADER */

.delhi-news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.4);
}

.delhi-news-header h2 {
    margin: 0;
    color: #ffffff !important;
    font-size: 23px;
    font-weight: 800;
}

/* NEWS GRID */

.delhi-news-panel {
    display: grid !important;
    grid-template-columns: 450px repeat(2, minmax(0, 1fr)) !important;
    grid-auto-flow: row;
    grid-auto-rows: auto;
    gap: 12px;
    width: 100%;
    min-width: 0;
    align-items: start;
    box-sizing: border-box;
}

/* NEWS CARD */

.delhi-news-card {
    width: 100%;
    min-width: 0;
    height: auto;
    overflow: hidden;
}

.delhi-news-card a {
    display: block;
    color: #ffffff;
    text-decoration: none;
}

/* MAIN NEWS */

.delhi-news-card.main-news {
    grid-column: 1;
    grid-row: span 3;
}

.delhi-news-card.main-news img {
    display: block;
    width: 450px !important;
    max-width: 100% !important;
    height: 350px !important;
    min-height: 350px;
    max-height: 350px;
    object-fit: cover !important;
    object-position: center;
    border-radius: 3px;
}

.delhi-news-card.main-news h3 {
    color: #ffffff;
    font-size: 19px;
    line-height: 1.4;
    font-weight: 700;
    margin: 10px 0 0;
}

/* SMALL NEWS */

.delhi-news-card.small-news img {
    display: block;
    width: 150px !important;
    max-width: 100% !important;
    height: 120px !important;
    min-height: 120px;
    max-height: 120px;
    object-fit: cover !important;
    object-position: center;
    border-radius: 3px;
}

.delhi-news-card.small-news h3 {
    color: #ffffff;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 700;
    margin: 6px 0 0;
}

/* HOVER */

.delhi-news-card a:hover h3 {
    color: #ffd700;
}

.delhi-news-card img {
    transition: transform 0.3s ease;
}

.delhi-news-card a:hover img {
    transform: scale(1.03);
}

/* NO NEWS */

.delhi-news-no-news {
    grid-column: 1 / -1;
    color: #ffffff;
    text-align: center;
    padding: 20px;
}

/* TABLET */

@media (max-width: 1100px) {
    .delhi-news-panel {
        grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) !important;
    }

    .delhi-news-card.main-news img {
        width: 100% !important;
        height: 280px !important;
        min-height: 280px;
        max-height: 280px;
    }
}

/* MOBILE */

@media (max-width: 600px) {
    .delhi-news-section {
        padding: 12px !important;
    }

    .delhi-news-header h2 {
        font-size: 19px;
    }

    .delhi-news-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px 9px;
    }

    .delhi-news-card.main-news {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .delhi-news-card.main-news img {
        width: 100% !important;
        height: 220px !important;
        min-height: 220px;
        max-height: 220px;
    }

    .delhi-news-card.small-news img {
        width: 100% !important;
        height: 120px !important;
        min-height: 120px;
        max-height: 120px;
    }

    .delhi-news-card.main-news h3 {
        font-size: 18px;
    }

    .delhi-news-card.small-news h3 {
        font-size: 12px;
    }
}

/* TOUCH DEVICES */

@media (hover: none) {
    .delhi-news-card a:hover img {
        transform: none;
    }
}
/* FINAL TEST - DELHI CSS */

html body .delhi-news-section {
    background: #172D50 !important;
    border: 5px solid lime !important;
    width: 100% !important;
    display: block !important;
    padding: 20px !important;
}

html body .delhi-news-section .delhi-news-header h2 {
    color: white !important;
    font-size: 30px !important;
}

html body .delhi-news-section .delhi-news-panel {
    display: grid !important;
    grid-template-columns: 450px repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
}