/*
Theme Name: NewIndia News
Theme URI: https://newindia.news
Author: NewIndia Team
Author URI: https://newindia.news
Description: A modern, professional news portal theme for India with tricolor accent, featuring customizable homepage sections, multiple widget areas, ad spots, slider, and social media integration.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: newindia-news
Tags: news, magazine, blog, custom-logo, custom-menu, featured-images, theme-options, translation-ready, rtl-language-support

NewIndia News WordPress Theme, Copyright 2024 NewIndia Team
NewIndia News is distributed under the terms of the GNU GPL
*/

/* =========================================
   CSS Variables - Indian Tricolor + Black
   ========================================= */
:root {
    /* Primary Colors - Indian Tricolor */
    --saffron: #FF9933;
    --white: #FFFFFF;
    --green: #138808;
    --navy-blue: #000080;

    /* Theme Colors */
    --primary: #FF9933;
    --primary-dark: #E68A00;
    --secondary: #138808;
    --secondary-dark: #0D5F06;
    --accent: #000080;

    /* Neutral Colors */
    --black: #1a1a1a;
    --dark-gray: #2d2d2d;
    --gray: #666666;
    --light-gray: #f5f5f5;
    --border-color: #e0e0e0;

    /* Typography */
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-secondary: 'Noto Sans', sans-serif;

    /* Spacing */
    --spacing-xs: 5px;
    --spacing-sm: 10px;
    --spacing-md: 15px;
    --spacing-lg: 20px;
    --spacing-xl: 30px;
    --spacing-xxl: 50px;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);

    /* Container */
    --container-width: 1280px;
    --sidebar-width: 320px;
}

/* =========================================
   Reset & Base Styles
   ========================================= */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--light-gray);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 var(--spacing-md);
    font-weight: 600;
    line-height: 1.3;
    color: var(--black);
}

p {
    margin: 0 0 var(--spacing-md);
}

ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* =========================================
   Container & Layout
   ========================================= */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.site-content {
    display: flex;
    gap: var(--spacing-xl);
    padding: var(--spacing-xl) 0;
}

.content-area {
    flex: 1;
    min-width: 0;
}

.sidebar {
    width: var(--sidebar-width);
    flex-shrink: 0;
}

/* Full Width Layout */
.full-width .content-area {
    width: 100%;
}

.full-width .sidebar {
    display: none;
}

/* =========================================
   Top Bar - Tricolor Strip
   ========================================= */
.tricolor-strip {
    height: 4px;
    background: linear-gradient(to right, var(--saffron) 33.33%, var(--white) 33.33%, var(--white) 66.66%, var(--green) 66.66%);
}

.top-bar {
    background: var(--black);
    color: var(--white);
    padding: var(--spacing-xs) 0;
    font-size: 13px;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.current-date {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.current-date svg {
    width: 14px;
    height: 14px;
}

.trending-news {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.trending-label {
    background: var(--primary);
    padding: 2px 10px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
}

.trending-ticker {
    max-width: 400px;
    overflow: hidden;
}

.ticker-wrap {
    overflow: hidden;
}

.ticker-content {
    display: flex;
    animation: ticker 20s linear infinite;
}

.ticker-content a {
    color: var(--white);
    white-space: nowrap;
    padding-right: var(--spacing-xxl);
}

.ticker-content a:hover {
    color: var(--primary);
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.social-icons-top {
    display: flex;
    gap: var(--spacing-sm);
}

.social-icons-top a {
    color: var(--white);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons-top a:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.social-icons-top svg {
    width: 14px;
    height: 14px;
}

/* =========================================
   Header
   ========================================= */
.site-header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-main {
    padding: var(--spacing-md) 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding {
    display: flex;
    align-items: center;
}

.custom-logo-link {
    display: block;
}

.custom-logo {
    max-height: 60px;
    width: auto;
}

.site-title {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
}

.site-title a {
    color: var(--black);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.site-title .india-flag {
    width: 30px;
    height: 20px;
    background: linear-gradient(to bottom, var(--saffron) 33.33%, var(--white) 33.33%, var(--white) 66.66%, var(--green) 66.66%);
    border-radius: 2px;
}

.site-description {
    margin: 0;
    font-size: 13px;
    color: var(--gray);
}

/* Header Ad Space */
.header-ad {
    max-width: 728px;
}

.header-ad img {
    max-height: 90px;
}

/* Header Search */
.header-search {
    position: relative;
}

.search-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-sm);
    color: var(--black);
}

.search-toggle svg {
    width: 20px;
    height: 20px;
}

.search-form-wrapper {
    position: absolute;
    top: 100%;
    right: 0;
    width: 300px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    display: none;
}

.search-form-wrapper.active {
    display: block;
}

.search-form {
    display: flex;
}

.search-field {
    flex: 1;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    font-size: 14px;
    outline: none;
}

.search-field:focus {
    border-color: var(--primary);
}

.search-submit {
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-submit:hover {
    background: var(--primary-dark);
}

/* =========================================
   Main Navigation
   ========================================= */
.main-navigation {
    background: var(--black);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.primary-menu {
    display: flex;
    align-items: center;
}

.primary-menu > li {
    position: relative;
}

.primary-menu > li > a {
    display: block;
    padding: var(--spacing-md) var(--spacing-lg);
    color: var(--white);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.primary-menu > li > a:hover,
.primary-menu > li.current-menu-item > a {
    background: var(--primary);
    color: var(--white);
}

/* Dropdown Menu */
.primary-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-top: 3px solid var(--primary);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.primary-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.primary-menu .sub-menu li a {
    display: block;
    padding: var(--spacing-sm) var(--spacing-md);
    color: var(--black);
    font-size: 14px;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.primary-menu .sub-menu li:last-child a {
    border-bottom: none;
}

.primary-menu .sub-menu li a:hover {
    background: var(--light-gray);
    color: var(--primary);
    padding-left: var(--spacing-lg);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: var(--spacing-sm);
    cursor: pointer;
    color: var(--white);
}

.menu-toggle svg {
    width: 24px;
    height: 24px;
}

/* =========================================
   Featured Slider
   ========================================= */
.featured-slider-section {
    background: var(--white);
    padding: var(--spacing-xl) 0;
    margin-bottom: var(--spacing-lg);
}

.slider-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.featured-slider {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    position: relative;
}

.slide-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--spacing-xxl) var(--spacing-xl) var(--spacing-xl);
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 50%, transparent 100%);
}

.slide-category {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: var(--spacing-sm);
}

.slide-title {
    font-size: 32px;
    color: var(--white);
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

.slide-title a {
    color: var(--white);
}

.slide-title a:hover {
    color: var(--primary);
}

.slide-meta {
    display: flex;
    gap: var(--spacing-md);
    color: rgba(255,255,255,0.8);
    font-size: 13px;
}

.slide-meta span {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-nav:hover {
    background: var(--primary);
    color: var(--white);
}

.slider-nav svg {
    width: 24px;
    height: 24px;
}

.slider-prev {
    left: var(--spacing-lg);
}

.slider-next {
    right: var(--spacing-lg);
}

.slider-dots {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--spacing-sm);
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active,
.slider-dot:hover {
    background: var(--primary);
    transform: scale(1.2);
}

/* =========================================
   News Grid Sections
   ========================================= */
.news-section {
    margin-bottom: var(--spacing-xl);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-sm);
    border-bottom: 3px solid var(--primary);
}

.section-title {
    font-size: 22px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.section-title::before {
    content: '';
    width: 5px;
    height: 24px;
    background: linear-gradient(to bottom, var(--saffron), var(--green));
    border-radius: 2px;
}

.section-title.saffron::before {
    background: var(--saffron);
}

.section-title.green::before {
    background: var(--green);
}

.view-all {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.view-all:hover {
    color: var(--primary-dark);
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

.news-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.news-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

/* News Card */
.news-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-card-image {
    position: relative;
    overflow: hidden;
}

.news-card-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-card-image img {
    transform: scale(1.05);
}

.news-card-category {
    position: absolute;
    top: var(--spacing-sm);
    left: var(--spacing-sm);
    background: var(--primary);
    color: var(--white);
    padding: 2px var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.news-card-content {
    padding: var(--spacing-md);
}

.news-card-title {
    font-size: 16px;
    margin-bottom: var(--spacing-sm);
    line-height: 1.4;
}

.news-card-title a {
    color: var(--black);
}

.news-card-title a:hover {
    color: var(--primary);
}

.news-card-meta {
    display: flex;
    gap: var(--spacing-md);
    font-size: 12px;
    color: var(--gray);
}

.news-card-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.news-card-meta svg {
    width: 12px;
    height: 12px;
}

/* Featured + List Layout */
.featured-list-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.featured-post {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.featured-post img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
}

.featured-post .post-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--spacing-xl);
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}

.featured-post .post-category {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: var(--spacing-sm);
}

.featured-post .post-title {
    font-size: 24px;
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

.featured-post .post-title a {
    color: var(--white);
}

.featured-post .post-title a:hover {
    color: var(--primary);
}

.featured-post .post-meta {
    color: rgba(255,255,255,0.8);
    font-size: 13px;
}

/* Post List */
.post-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.post-list-item {
    display: flex;
    gap: var(--spacing-md);
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.post-list-item:hover {
    box-shadow: var(--shadow-md);
}

.post-list-image {
    width: 140px;
    flex-shrink: 0;
}

.post-list-image img {
    width: 100%;
    height: 100%;
    min-height: 100px;
    object-fit: cover;
}

.post-list-content {
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.post-list-category {
    font-size: 11px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: var(--spacing-xs);
}

.post-list-title {
    font-size: 15px;
    margin-bottom: var(--spacing-xs);
    line-height: 1.4;
}

.post-list-title a {
    color: var(--black);
}

.post-list-title a:hover {
    color: var(--primary);
}

.post-list-meta {
    font-size: 12px;
    color: var(--gray);
}

/* =========================================
   Sidebar & Widgets
   ========================================= */
.widget {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
}

.widget-title {
    font-size: 18px;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 3px solid var(--primary);
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary);
}

/* Social Widget */
.social-widget .social-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
}

.social-widget .social-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.social-widget .social-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.social-widget .social-link svg {
    width: 18px;
    height: 18px;
}

.social-widget .social-link.facebook { background: #3b5998; }
.social-widget .social-link.twitter { background: #1da1f2; }
.social-widget .social-link.youtube { background: #ff0000; }
.social-widget .social-link.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-widget .social-link.whatsapp { background: #25d366; }
.social-widget .social-link.telegram { background: #0088cc; }

/* Popular Posts Widget */
.popular-posts-widget .post-item {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--border-color);
}

.popular-posts-widget .post-item:last-child {
    border-bottom: none;
}

.popular-posts-widget .post-number {
    width: 30px;
    height: 30px;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.popular-posts-widget .post-info {
    flex: 1;
}

.popular-posts-widget .post-item-title {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: var(--spacing-xs);
}

.popular-posts-widget .post-item-title a {
    color: var(--black);
}

.popular-posts-widget .post-item-title a:hover {
    color: var(--primary);
}

.popular-posts-widget .post-item-date {
    font-size: 12px;
    color: var(--gray);
}

/* Newsletter Widget */
.newsletter-widget {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.newsletter-widget .widget-title {
    color: var(--white);
    border-bottom-color: rgba(255,255,255,0.3);
}

.newsletter-widget .widget-title::after {
    background: var(--white);
}

.newsletter-widget p {
    font-size: 14px;
    opacity: 0.9;
}

.newsletter-widget .newsletter-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.newsletter-widget input[type="email"] {
    padding: var(--spacing-md);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
}

.newsletter-widget button {
    padding: var(--spacing-md);
    background: var(--black);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-widget button:hover {
    background: var(--secondary);
}

/* Ad Widget */
.ad-widget {
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.ad-widget .ad-label {
    font-size: 10px;
    text-transform: uppercase;
    color: var(--gray);
    text-align: center;
    margin-bottom: var(--spacing-xs);
}

.ad-widget img {
    width: 100%;
    border-radius: var(--radius-md);
}

/* =========================================
   Single Post
   ========================================= */
.single-post-header {
    margin-bottom: var(--spacing-xl);
}

.single-post-category {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: var(--spacing-md);
}

.single-post-title {
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

.single-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
    color: var(--gray);
    font-size: 14px;
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
}

.single-post-meta span {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.single-post-meta svg {
    width: 16px;
    height: 16px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.single-post-thumbnail {
    margin-bottom: var(--spacing-xl);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.single-post-thumbnail img {
    width: 100%;
    height: auto;
}

/* Post Content */
.post-content {
    font-size: 17px;
    line-height: 1.8;
}

.post-content p {
    margin-bottom: var(--spacing-lg);
}

.post-content h2,
.post-content h3,
.post-content h4 {
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
}

.post-content img {
    border-radius: var(--radius-md);
    margin: var(--spacing-lg) 0;
}

.post-content blockquote {
    margin: var(--spacing-xl) 0;
    padding: var(--spacing-lg);
    background: var(--light-gray);
    border-left: 4px solid var(--primary);
    font-style: italic;
    font-size: 18px;
}

.post-content ul,
.post-content ol {
    margin: var(--spacing-lg) 0;
    padding-left: var(--spacing-xl);
}

.post-content li {
    margin-bottom: var(--spacing-sm);
    list-style: disc;
}

.post-content ol li {
    list-style: decimal;
}

/* In-Article Ad */
.in-article-ad {
    margin: var(--spacing-xl) 0;
    padding: var(--spacing-md);
    background: var(--light-gray);
    border-radius: var(--radius-md);
    text-align: center;
}

.in-article-ad .ad-label {
    font-size: 10px;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: var(--spacing-xs);
}

/* Social Share */
.social-share {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin: var(--spacing-xl) 0;
    padding: var(--spacing-lg) 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.social-share-label {
    font-weight: 600;
    color: var(--black);
}

.share-buttons {
    display: flex;
    gap: var(--spacing-sm);
}

.share-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s ease;
}

.share-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.share-button svg {
    width: 18px;
    height: 18px;
}

.share-button.facebook { background: #3b5998; }
.share-button.twitter { background: #1da1f2; }
.share-button.whatsapp { background: #25d366; }
.share-button.linkedin { background: #0077b5; }
.share-button.pinterest { background: #bd081c; }
.share-button.telegram { background: #0088cc; }

/* Post Tags */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
}

.post-tags a {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    background: var(--light-gray);
    color: var(--gray);
    border-radius: var(--radius-sm);
    font-size: 13px;
    transition: all 0.3s ease;
}

.post-tags a:hover {
    background: var(--primary);
    color: var(--white);
}

/* Author Box */
.author-box {
    display: flex;
    gap: var(--spacing-lg);
    padding: var(--spacing-xl);
    background: var(--light-gray);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-xl);
}

.author-box-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.author-box-info h4 {
    font-size: 18px;
    margin-bottom: var(--spacing-xs);
}

.author-box-info .author-role {
    font-size: 13px;
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
}

.author-box-info p {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: var(--spacing-sm);
}

.author-social {
    display: flex;
    gap: var(--spacing-sm);
}

.author-social a {
    color: var(--gray);
    transition: color 0.3s ease;
}

.author-social a:hover {
    color: var(--primary);
}

/* Related Posts */
.related-posts {
    margin-bottom: var(--spacing-xl);
}

.related-posts-title {
    font-size: 22px;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-sm);
    border-bottom: 3px solid var(--primary);
}

/* Comments */
.comments-area {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
}

.comments-title {
    font-size: 22px;
    margin-bottom: var(--spacing-lg);
}

.comment-list {
    margin-bottom: var(--spacing-xl);
}

.comment {
    padding: var(--spacing-lg) 0;
    border-bottom: 1px solid var(--border-color);
}

.comment:last-child {
    border-bottom: none;
}

.comment-body {
    display: flex;
    gap: var(--spacing-md);
}

.comment-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    flex-shrink: 0;
}

.comment-content {
    flex: 1;
}

.comment-author {
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.comment-date {
    font-size: 12px;
    color: var(--gray);
    margin-bottom: var(--spacing-sm);
}

.comment-text {
    font-size: 14px;
    line-height: 1.6;
}

.comment-reply-link {
    font-size: 13px;
    font-weight: 500;
    color: var(--primary);
}

/* Comment Form */
.comment-form-wrapper {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--border-color);
}

.comment-form label {
    display: block;
    font-weight: 500;
    margin-bottom: var(--spacing-xs);
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: var(--spacing-md);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 14px;
    margin-bottom: var(--spacing-md);
    transition: border-color 0.3s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.comment-form textarea {
    min-height: 150px;
    resize: vertical;
}

.comment-form button {
    padding: var(--spacing-md) var(--spacing-xl);
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.comment-form button:hover {
    background: var(--primary-dark);
}

/* =========================================
   Footer
   ========================================= */
.site-footer {
    background: var(--black);
    color: var(--white);
    margin-top: var(--spacing-xxl);
}

.footer-widgets {
    padding: var(--spacing-xxl) 0;
}

.footer-widgets-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
}

.footer-widget {
    color: rgba(255,255,255,0.8);
}

.footer-widget .widget-title {
    color: var(--white);
    font-size: 18px;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--primary);
}

.footer-widget .widget-title::after {
    display: none;
}

.footer-about .footer-logo {
    max-width: 200px;
    margin-bottom: var(--spacing-md);
}

.footer-about p {
    font-size: 14px;
    line-height: 1.7;
}

.footer-links ul li {
    margin-bottom: var(--spacing-sm);
}

.footer-links ul li a {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--primary);
    padding-left: var(--spacing-sm);
}

.footer-categories ul {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.footer-categories ul li a {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
    border-radius: var(--radius-sm);
    font-size: 13px;
    transition: all 0.3s ease;
}

.footer-categories ul li a:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-contact ul li {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    font-size: 14px;
}

.footer-contact ul li svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Footer Social */
.footer-social {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0,0,0,0.3);
    padding: var(--spacing-lg) 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

.footer-menu {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-menu a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: var(--primary);
}

/* Tricolor Bottom */
.tricolor-bottom {
    height: 4px;
    background: linear-gradient(to right, var(--saffron) 33.33%, var(--white) 33.33%, var(--white) 66.66%, var(--green) 66.66%);
}

/* =========================================
   Pagination
   ========================================= */
.pagination {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-xl);
}

.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 var(--spacing-md);
    background: var(--white);
    color: var(--black);
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: all 0.3s ease;
}

.page-numbers:hover,
.page-numbers.current {
    background: var(--primary);
    color: var(--white);
}

/* =========================================
   Breadcrumbs
   ========================================= */
.breadcrumbs {
    padding: var(--spacing-md) 0;
    background: var(--white);
    margin-bottom: var(--spacing-lg);
}

.breadcrumbs-inner {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 13px;
    color: var(--gray);
}

.breadcrumbs a {
    color: var(--gray);
}

.breadcrumbs a:hover {
    color: var(--primary);
}

.breadcrumbs .separator {
    color: var(--border-color);
}

.breadcrumbs .current {
    color: var(--primary);
}

/* =========================================
   Category/Archive Page
   ========================================= */
.archive-header {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-xl);
    text-align: center;
}

.archive-title {
    font-size: 32px;
    margin-bottom: var(--spacing-sm);
}

.archive-title span {
    color: var(--primary);
}

.archive-description {
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* =========================================
   Breaking News Bar
   ========================================= */
.breaking-news-bar {
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: var(--spacing-sm) 0;
}

.breaking-news-inner {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.breaking-label {
    background: var(--black);
    color: var(--white);
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.breaking-content {
    flex: 1;
    overflow: hidden;
}

.breaking-content a {
    color: var(--white);
    font-weight: 500;
}

.breaking-content a:hover {
    text-decoration: underline;
}

/* =========================================
   Back to Top
   ========================================= */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* =========================================
   Placeholder Images
   ========================================= */
.placeholder-image,
.placeholder-slider {
    display: block;
    width: 100%;
    height: auto;
    background: var(--light-gray);
    border-radius: var(--radius-md);
}

.news-card-image .placeholder-image {
    height: 180px;
    object-fit: cover;
}

.post-list-image .placeholder-image {
    height: 100%;
    min-height: 100px;
}

.slide .placeholder-slider {
    object-fit: cover;
}

.featured-post .placeholder-image {
    height: 100%;
    min-height: 400px;
}

/* =========================================
   Responsive Design
   ========================================= */
@media (max-width: 1200px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-widgets-inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .site-content {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-list-layout {
        grid-template-columns: 1fr;
    }

    .slide-title {
        font-size: 24px;
    }

    .single-post-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .top-bar-inner {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .trending-ticker {
        max-width: 100%;
    }

    .header-inner {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .header-ad {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .primary-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--black);
        flex-direction: column;
    }

    .primary-menu.active {
        display: flex;
    }

    .primary-menu > li > a {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .primary-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-top: none;
        background: rgba(255,255,255,0.05);
    }

    .primary-menu .sub-menu li a {
        color: rgba(255,255,255,0.8);
        border-bottom-color: rgba(255,255,255,0.05);
        padding-left: var(--spacing-xl);
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .slide-image {
        height: 300px;
    }

    .slide-title {
        font-size: 20px;
    }

    .footer-widgets-inner {
        grid-template-columns: 1fr;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }

    .author-box {
        flex-direction: column;
        text-align: center;
    }

    .author-box-avatar {
        margin: 0 auto;
    }

    .social-share {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    .single-post-title {
        font-size: 22px;
    }

    .section-title {
        font-size: 18px;
    }

    .social-widget .social-links {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   Print Styles
   ========================================= */
@media print {
    .top-bar,
    .main-navigation,
    .sidebar,
    .site-footer,
    .social-share,
    .related-posts,
    .comments-area,
    .back-to-top {
        display: none !important;
    }

    .site-content {
        display: block;
    }

    .content-area {
        width: 100%;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
        background: #fff;
    }

    a {
        color: #000;
        text-decoration: underline;
    }
}
