/*
Theme Name: Right News Online
Theme URI: https://rightnewsonline.com
Author: Right News Online Private Limited
Author URI: https://rightnewsonline.com
Description: एक पेशेवर मराठी न्यूज़ एजेंसी थीम महाराष्ट्र के 36 जिलों के लिए। न्यूज़ बेचने की सुविधा, रिपोर्टर पैनल, और पूर्ण e-commerce 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: right-news-online
Tags: news, marathi, e-commerce, custom, reporter-panel
*/

/* ==========================================================================
   Global Styles
   ========================================================================== */

:root {
    --primary-color: #e74c3c;
    --secondary-color: #2c3e50;
    --accent-color: #3498db;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --border-color: #dee2e6;
    --success-color: #27ae60;
    --warning-color: #f39c12;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans Devanagari', 'Mukta', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ==========================================================================
   Header Styles
   ========================================================================== */

.site-header {
    background: var(--secondary-color);
    color: white;
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.top-bar {
    background: var(--primary-color);
    padding: 8px 0;
    font-size: 14px;
}

.logo-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.site-logo h1 {
    color: white;
    font-size: 28px;
    font-weight: bold;
}

.site-logo p {
    font-size: 12px;
    opacity: 0.9;
}

/* Navigation */
.main-navigation {
    background: var(--accent-color);
}

.nav-menu {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    transition: background 0.3s;
}

.nav-menu a:hover {
    background: rgba(255,255,255,0.1);
}

/* Dropdown */
.nav-menu .sub-menu {
    display: none;
    position: absolute;
    background: var(--secondary-color);
    min-width: 200px;
    z-index: 1000;
}

.nav-menu li:hover .sub-menu {
    display: block;
}

/* ==========================================================================
   News Grid (Amazon/Flipkart Style)
   ========================================================================== */

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 30px 0;
}

.news-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.news-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 15px;
}

.news-category {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 12px;
    margin-bottom: 10px;
}

.news-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-title a {
    color: var(--text-color);
    text-decoration: none;
}

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

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
}

.news-excerpt {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.5;
}

.news-price {
    font-size: 24px;
    color: var(--success-color);
    font-weight: bold;
    margin-bottom: 10px;
}

.news-actions {
    display: flex;
    gap: 10px;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
}

.btn-primary:hover {
    background: #2980b9;
}

.btn-success {
    background: var(--success-color);
    color: white;
}

.btn-success:hover {
    background: #229954;
}

/* ==========================================================================
   District Selector
   ========================================================================== */

.district-selector {
    background: var(--light-bg);
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
}

.district-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.district-button {
    padding: 10px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s;
}

.district-button:hover,
.district-button.active {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

/* ==========================================================================
   Reporter Dashboard
   ========================================================================== */

.reporter-dashboard {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 8px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 36px;
    font-weight: bold;
    color: var(--accent-color);
}

.stat-label {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

/* News Form */
.news-form {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 14px;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

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

/* ==========================================================================
   Approval System
   ========================================================================== */

.approval-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.badge-pending {
    background: var(--warning-color);
    color: white;
}

.badge-approved {
    background: var(--success-color);
    color: white;
}

.badge-rejected {
    background: var(--primary-color);
    color: white;
}

/* ==========================================================================
   Sidebar
   ========================================================================== */

.sidebar {
    background: var(--light-bg);
    padding: 20px;
    border-radius: 8px;
}

.sidebar-widget {
    margin-bottom: 30px;
}

.widget-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: var(--secondary-color);
    color: white;
    padding: 40px 0 20px;
    margin-top: 50px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .nav-menu {
        flex-direction: column;
    }
    
    .logo-area {
        flex-direction: column;
        text-align: center;
    }
    
    .district-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.p-20 { padding: 20px; }
