:root {
    --primary-color: #D32F2F;
    /* News Red */
    --secondary-color: #1976D2;
    /* News Blue */
    --text-color: #333;
    --bg-color: #f9f9f9;
    --white: #fff;
    --gray-light: #f4f4f4;
    --gray-dark: #666;
    --border-color: #ddd;
    --font-heading: 'Ek Mukta', sans-serif;
    --font-body: 'Noto Sans Devanagari', sans-serif;
    --container-width: 1200px;
    --spacing: 1rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: #000;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

a:hover {
    color: var(--primary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing);
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Header */
.main-header {
    background: var(--white);
    box-shadow: none;
    border-bottom: none;
    position: static;
}

.top-info-bar {
    background: var(--primary-color);
    /* Red Top Bar */
    color: white;
    font-size: 0.9rem;
    padding: 8px 0;
    font-weight: 500;
}

.branding-area {
    padding: 15px 0;
    background: white;
}

.logo-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

/* Nav */
.main-nav {
    background: var(--secondary-color);
    /* Blue Nav */
    border: none;
    padding: 0;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    justify-content: flex-start;
    padding: 0;
}

.nav-links li {
    flex: 0 0 auto;
}

.nav-links a {
    color: white;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 12px 20px;
    display: block;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
}

.nav-links a:hover,
.nav-links a.active {
    background: rgba(0, 0, 0, 0.1);
}

/* Ad Spots */
.horizontal-ad {
    margin: 20px 0;
    text-align: center;
}

.ad-wrapper {
    background: #eee;
    display: inline-block;
    padding: 10px;
    border: 1px dashed #ccc;
}

.ad-728 {
    min-width: 728px;
    min-height: 90px;
}

.ad-970 {
    min-width: 970px;
    min-height: 90px;
}

/* Grid Layouts */
.hero-section {
    margin-bottom: 30px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.hero-main-featured h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    line-height: 1.3;
}

.sidebar-header {
    border-bottom: 3px solid var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 5px;
}

.sidebar-header h2 {
    font-size: 1.2rem;
    margin: 0;
    display: inline-block;
}

/* Small News List */
.small-news-item {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.small-news-item img {
    width: 80px;
    height: 60px;
    object-fit: cover;
}

.small-news-item p {
    font-size: 0.95rem;
    font-weight: 600;
}

/* Section Labels */
.section-label-red {
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    display: inline-block;
    font-weight: bold;
    margin-bottom: 15px;
}

.section-label-blue {
    background: var(--secondary-color);
    color: white;
    padding: 5px 15px;
    display: inline-block;
    font-weight: bold;
    margin-bottom: 15px;
}

/* News Grids */
.news-grid-horizontal {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.news-card-v2 {
    background: var(--white);
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.news-card-v2 img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 10px;
}

.news-card-v2 h3 {
    font-size: 1.2rem;
    line-height: 1.4;
}

/* Footer - OnlineKhabar Style */
.ok-footer-info {
    background: #f4f4f4;
    padding: 40px 0;
    font-family: var(--font-heading);
    border-top: 4px solid var(--primary-color);
    margin-top: 50px;
}

.ok-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing);
}

.flx {
    display: flex;
}

.flx-wrp {
    flex-wrap: wrap;
}

.ok-footer-info .flx {
    justify-content: space-between;
    align-items: flex-start;
}

.ok-logo-wrap img {
    max-height: 80px;
    width: auto;
    margin-bottom: 20px;
}

.ok-footer-editor-info {
    flex: 1;
    min-width: 200px;
    margin-bottom: 20px;
    padding: 0 15px;
}

.ok-footer-editor-info h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.ok-footer-editor-info h5 span {
    display: block;
    font-size: 0.9rem;
    font-weight: 400;
    color: #666;
    margin-bottom: 3px;
}

.ok-contact-info {
    text-align: right;
}

.ok-social-brands {
    margin-bottom: 15px;
}

.ok-social-brands a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    background: #ddd;
    border-radius: 50%;
    margin-left: 10px;
    color: #555;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.ok-social-brands a:hover {
    background: var(--primary-color);
    color: #fff;
}

.ok-copyright-text {
    display: block;
    font-size: 0.85rem;
    color: #888;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .ok-footer-info .flx {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .ok-contact-info {
        text-align: center;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    padding-bottom: 30px;
}

.footer-col h3,
.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

/* List Vertical */
.news-list-vertical {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.list-item {
    display: flex;
    gap: 20px;
    background: var(--card-bg);
    padding: 20px;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.list-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.list-item img {
    width: 180px;
    height: 120px;
    object-fit: cover;
}

.list-item h4 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.list-item .meta {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Video Section */
.video-section {
    background: #000;
    color: white;
    padding: 40px;
    border-radius: var(--card-radius);
    margin: 60px 0;
}

.video-section .section-label-red {
    border-color: red;
    color: white;
}

.video-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.video-placeholder {
    position: relative;
    cursor: pointer;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 0, 0, 0.8);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    transition: var(--transition);
}

.video-placeholder:hover .play-button {
    background: red;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-side-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.video-small {
    display: flex;
    gap: 10px;
    cursor: pointer;
}

.video-small img {
    width: 120px;
    height: 80px;
    object-fit: cover;
}

.video-small p {
    font-size: 1rem;
    color: #ddd;
}

/* Dual Grid (Opinion + Sports) */
.dual-section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.opinion-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    border: 1px solid var(--border-color);
}

.author-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.author-meta img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.sports-grid {
    display: grid;
    gap: 20px;
}

.sports-card-small {
    display: flex;
    gap: 15px;
    align-items: center;
    background: var(--card-bg);
    padding: 15px;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-sm);
}

.sports-card-small img {
    width: 120px;
    height: 80px;
    object-fit: cover;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .ad-728,
    .ad-970 {
        min-width: 100%;
    }
}