/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Lightweight child theme for DNP India Hindi (Aaj Tak Refined)
 Author:       Antigravity
 Template:     generatepress
 Version:      1.2.0
*/

:root {
    --navy: #002456;
    --orange: #d63813;
    --orange-dark: #a7280e;
    --bg-light: #f5f7f9;
    --gray-dark: #1a1a1a;
    --white: #ffffff;
    --black: #000000;
    --border-light: #e2e8f0;
}

body {
    background-color: var(--bg-light);
    color: var(--black);
    font: 400 16px / 23px 'Noto Sans', sans-serif;
    line-height: 1.6;
}

h3 {
    line-height: 32px;
    font-size: 20px;
    color: var(--black);
    margin-bottom: 0;
    width: 100%;
    font-family: 'Noto Sans', sans-serif;
    font-weight: 700;
}

h1,
h2,
h4,
h5,
h6 {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 700;
    color: var(--black);
}

/* Global Container & Gutter Fixes */
.grid-container {
    max-width: 1270px;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}

.site-content .content-area {
    width: 100%;
}

.site-main {
    max-width: 1270px;
    margin-left: auto;
    margin-right: auto;
}

/* Header Styling (Aaj Tak Model) */
.header-navy-bar {
    background: var(--navy);
    min-height: 50px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: visible;
}

.header-logo-overlap {
    margin-right: 30px;
    position: relative;
    top: 5px;
    /* Slight overlap effect */
}

.header-logo-img {
    height: 70px;
    /* Adjusted for better visibility */
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.main-navigation {
    background: transparent !important;
}

.main-navigation .main-nav ul li a {
    color: var(--white) !important;
    font-size: 16px;
    font-weight: 600;
}

.main-navigation .main-nav ul li:hover>a,
.main-navigation .main-nav ul li.current-menu-item>a {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: var(--white) !important;
}

/* Breaking News Bar Styling (Refined) */
.breaking-news-bar {
    background: var(--gray-dark);
    color: var(--white);
    border-bottom: 2px solid var(--orange);
    padding: 8px 15px;
    display: flex;
    align-items: center;
    font-size: 14px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.breaking-label {
    background: var(--orange);
    color: var(--white);
    padding: 2px 10px;
    font-weight: 700;
    margin-right: 15px;
    text-transform: uppercase;
    font-size: 12px;
}

.breaking-title {
    color: var(--white);
    text-decoration: none;
}

.breaking-title:hover {
    color: var(--orange);
}

/* Homepage Category Sections */
.section-header {
    border-bottom: 2px solid var(--navy);
    display: inline-block;
    margin-bottom: 20px;
    margin-top: 30px;
}

.section-header span {
    background: var(--navy);
    color: var(--white);
    padding: 5px 15px;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 700;
}

.category-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category-item h3 a {
    color: var(--black);
    text-decoration: none;
}

.category-item img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 10px;
}

/* Custom Footer Styling */
.site-footer-custom {
    background: var(--black);
    color: var(--white);
    padding: 50px 0;
    margin-top: 60px;
    text-align: center;
}

.footer-logo-img {
    height: 60px;
    margin-bottom: 20px;
}

.footer-copyright {
    font-size: 14px;
    opacity: 0.8;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .header-logo-img {
        height: 50px;
    }

    .header-logo-overlap {
        top: 0;
    }

    .category-grid-4 {
        grid-template-columns: repeat(1, 1fr);
    }

    h3 {
        font-size: 18px;
        line-height: 28px;
    }
}