/* VHP News Grid Layout Scoped Styles */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari:wght@400;500;700;800&display=swap');

.vhp-news-grid-wrapper {
    font-family: 'Noto Sans Devanagari', sans-serif;
    background: #f5f5f5;
    padding: 30px;
    width: 100%;
    box-sizing: border-box;
}

.vhp-news-grid-wrapper * {
    box-sizing: border-box;
}

.vhp-news-grid-container {
    max-width: 1400px;
    margin: auto;
    display: grid;
    grid-template-columns: 58% 42%;
    gap: 20px;
    align-items: stretch;
}

.vhp-news-grid-section {
    display: flex;
    flex-direction: column;
}

.vhp-news-grid-heading {
    font-size: 42px;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 18px;
    position: relative;
    color: #222;
}

.vhp-news-grid-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 4px;
    background: #b30000;
}

.vhp-news-grid-card, 
.vhp-news-grid-side {
    background: #fff;
    box-shadow: 0 6px 20px rgba(0,0,0,.15);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.vhp-news-grid-card img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

.vhp-news-grid-content {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.vhp-news-grid-content h3 {
    font-size: 32px;
    line-height: 1.4;
    color: #222;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 700;
}

.vhp-news-grid-content h3 a {
    color: #222;
    text-decoration: none;
}

.vhp-news-grid-content h3 a:hover {
    color: #b30000;
}

.vhp-news-grid-content p {
    font-size: 18px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.vhp-news-grid-btnbox {
    margin-top: auto;
    text-align: center;
    padding: 25px;
}

.vhp-news-grid-btn {
    background: #9b5d00;
    color: #fff !important;
    text-decoration: none;
    padding: 12px 35px;
    border-radius: 4px;
    display: inline-block;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.vhp-news-grid-btn:hover {
    background: #b30000;
    color: #fff !important;
}

.vhp-news-grid-side {
    padding: 14px;
}

.vhp-news-grid-item {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 15px;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid #e8e8e8;
    flex: 1;
}

.vhp-news-grid-item:last-of-type {
    border-bottom: none;
}

.vhp-news-grid-item img {
    width: 170px;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.vhp-news-grid-item h4 {
    font-size: 24px;
    color: #c40000;
    line-height: 1.45;
    margin: 0;
    font-weight: 700;
}

.vhp-news-grid-item h4 a {
    color: #c40000;
    text-decoration: none;
}

.vhp-news-grid-item h4 a:hover {
    color: #222;
}

@media(max-width:991px){
    .vhp-news-grid-container {
        grid-template-columns: 1fr;
    }
    .vhp-news-grid-card img {
        height: 280px;
    }
    .vhp-news-grid-item {
        grid-template-columns: 120px 1fr;
    }
    .vhp-news-grid-item img {
        width: 120px;
        height: 80px;
    }
    .vhp-news-grid-heading {
        font-size: 32px;
    }
    .vhp-news-grid-content h3 {
        font-size: 24px;
    }
    .vhp-news-grid-item h4 {
        font-size: 18px;
    }
}
