/*
Theme Name: E-Jagriti Legal Awareness
Theme URI: https://e-jagriti.com
Author: E-Jagriti Team
Author URI: https://e-jagriti.com
Description: E-Jagriti Legal Awareness WordPress Theme - Aam Aadmi ke liye Kanoon ki Jankari
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: e-jagriti
Tags: legal, awareness, blog, news, hindi
*/

/* =====================================================
   CSS VARIABLES - E-JAGRITI COLOR SYSTEM
   ===================================================== */
:root {
    --primary:       #1a3a6e;   /* Deep Navy Blue - Trust & Law */
    --primary-dark:  #0f2347;
    --primary-light: #2a5298;
    --accent:        #e8a020;   /* Saffron Gold - India */
    --accent-dark:   #c7851a;
    --red:           #cc2020;   /* Alert Red */
    --green:         #1a7a3a;   /* Success Green */
    --text-dark:     #1a1a1a;
    --text-body:     #333333;
    --text-light:    #666666;
    --text-muted:    #888888;
    --bg-white:      #ffffff;
    --bg-light:      #f4f6fa;
    --bg-gray:       #eef0f5;
    --border:        #dde2ed;
    --border-light:  #eef0f5;
    --shadow-sm:     0 1px 4px rgba(0,0,0,0.08);
    --shadow-md:     0 3px 12px rgba(0,0,0,0.10);
    --shadow-lg:     0 8px 30px rgba(0,0,0,0.12);
    --radius:        6px;
    --radius-sm:     4px;
    --radius-lg:     10px;
    --font-hindi:    'Noto Sans Devanagari', 'Mangal', 'Arial Unicode MS', sans-serif;
    --font-body:     'Noto Sans', 'Segoe UI', Arial, sans-serif;
    --font-heading:  'Noto Sans', 'Segoe UI', Arial, sans-serif;
    --transition:    0.2s ease;
    --header-h:      56px;
}

/* =====================================================
   RESET & BASE
   ===================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 15px; }
body {
    font-family: var(--font-body);
    color: var(--text-body);
    background: var(--bg-light);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-dark); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; }

/* =====================================================
   TYPOGRAPHY
   ===================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    line-height: 1.35;
    font-weight: 700;
}
.hindi { font-family: var(--font-hindi); }

/* =====================================================
   LAYOUT WRAPPER
   ===================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}
.container-fluid { width: 100%; padding: 0 16px; }

/* =====================================================
   TOP BAR
   ===================================================== */
#topbar {
    background: var(--primary-dark);
    color: #cdd8f0;
    font-size: 12px;
    padding: 5px 0;
    border-bottom: 2px solid var(--accent);
}
#topbar .topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
#topbar .topbar-date { font-size: 11.5px; opacity: 0.85; }
#topbar .topbar-social a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #cdd8f0;
    font-size: 11.5px;
    margin-left: 10px;
    padding: 2px 8px;
    border-radius: 3px;
    background: rgba(255,255,255,0.08);
    transition: background var(--transition);
}
#topbar .topbar-social a:hover { background: var(--accent); color: #fff; }

/* =====================================================
   SITE HEADER
   ===================================================== */
#site-header {
    background: var(--primary);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
#site-header .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.logo-icon {
    width: 42px;
    height: 42px;
    background: var(--accent);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; }
.logo-name {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.5px;
}
.logo-name span { color: var(--accent); }
.logo-tagline {
    font-size: 10.5px;
    color: rgba(255,255,255,0.75);
    font-family: var(--font-hindi);
    letter-spacing: 0.3px;
}

/* Header Stats */
.header-stats {
    display: flex;
    gap: 14px;
    align-items: center;
}
.header-stat {
    text-align: center;
    background: rgba(255,255,255,0.1);
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255,255,255,0.15);
}
.header-stat .stat-num {
    font-size: 15px;
    font-weight: 800;
    color: var(--accent);
    display: block;
}
.header-stat .stat-label {
    font-size: 10px;
    color: rgba(255,255,255,0.75);
    display: block;
}
.header-search {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 4px;
    overflow: hidden;
}
.header-search input {
    background: none;
    border: none;
    padding: 7px 12px;
    color: #fff;
    font-size: 13px;
    width: 180px;
    outline: none;
}
.header-search input::placeholder { color: rgba(255,255,255,0.55); }
.header-search button {
    background: var(--accent);
    padding: 7px 12px;
    color: #fff;
    font-size: 14px;
    transition: background var(--transition);
}
.header-search button:hover { background: var(--accent-dark); }

/* =====================================================
   NAVIGATION
   ===================================================== */
#main-nav {
    background: var(--primary-dark);
    border-bottom: 2px solid var(--accent);
}
.nav-inner { display: flex; align-items: center; }
#main-nav ul { display: flex; flex-wrap: wrap; }
#main-nav ul li { position: relative; }
#main-nav ul li a {
    display: block;
    padding: 10px 13px;
    color: rgba(255,255,255,0.88);
    font-size: 13px;
    font-weight: 600;
    transition: all var(--transition);
    white-space: nowrap;
}
#main-nav ul li a:hover,
#main-nav ul li.current-menu-item > a {
    background: var(--accent);
    color: #fff;
}
/* Dropdown */
#main-nav ul li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--primary-dark);
    min-width: 200px;
    z-index: 999;
    border-top: 2px solid var(--accent);
    box-shadow: var(--shadow-md);
    flex-direction: column;
}
#main-nav ul li:hover > ul { display: flex; }
#main-nav ul li ul li a {
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 9px 14px;
    font-size: 12.5px;
}
.hamburger {
    display: none;
    color: #fff;
    font-size: 22px;
    padding: 8px 12px;
    margin-left: auto;
}

/* =====================================================
   BREAKING NEWS TICKER
   ===================================================== */
#breaking-news {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    padding: 7px 0;
    overflow: hidden;
}
.ticker-wrap { display: flex; align-items: center; overflow: hidden; }
.ticker-label {
    background: var(--red);
    color: #fff;
    padding: 3px 12px;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    border-radius: 3px;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    margin-right: 14px;
}
.ticker-content {
    overflow: hidden;
    flex: 1;
}
.ticker-inner {
    display: flex;
    gap: 0;
    animation: tickerScroll 35s linear infinite;
    white-space: nowrap;
}
.ticker-inner:hover { animation-play-state: paused; }
.ticker-item {
    display: inline-block;
    padding: 0 30px 0 0;
    font-size: 13px;
    color: var(--text-dark);
}
.ticker-item::before { content: "🔴 "; }
.ticker-item a { color: var(--text-dark); font-weight: 500; }
.ticker-item a:hover { color: var(--primary); }
@keyframes tickerScroll {
    0%   { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* =====================================================
   MAIN LAYOUT
   ===================================================== */
#content-area {
    padding: 20px 0 30px;
}
.layout-row {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.main-content { flex: 1; min-width: 0; }
.sidebar { width: 300px; flex-shrink: 0; }

/* =====================================================
   SECTION HEADINGS
   ===================================================== */
.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 3px solid var(--primary);
}
.section-head h2, .section-head h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 6px;
}
.section-head .see-all {
    font-size: 12px;
    color: var(--accent-dark);
    font-weight: 600;
    padding: 3px 10px;
    border: 1px solid var(--accent);
    border-radius: 3px;
    transition: all var(--transition);
}
.section-head .see-all:hover { background: var(--accent); color: #fff; }

/* Box / Card wrapper */
.section-box {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 18px;
    box-shadow: var(--shadow-sm);
}
.section-box .section-head { margin: -16px -16px 14px; padding: 10px 16px; background: var(--bg-light); border-bottom: 3px solid var(--primary); border-radius: var(--radius) var(--radius) 0 0; }

/* =====================================================
   FEATURED / HERO POSTS
   ===================================================== */
.featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 12px;
    margin-bottom: 18px;
}
.featured-main {
    grid-column: 1;
    grid-row: 1 / 3;
}
.featured-small { }

.post-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    background: #000;
    box-shadow: var(--shadow-sm);
}
.post-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.78;
    transition: opacity 0.3s, transform 0.3s;
    display: block;
}
.post-card:hover img { opacity: 0.65; transform: scale(1.03); }
.featured-main { height: 300px; }
.featured-small { height: 144px; }

.post-card-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.82));
    padding: 30px 12px 12px;
}
.post-cat-badge {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 2px;
    text-transform: uppercase;
    margin-bottom: 5px;
    letter-spacing: 0.4px;
}
.post-card-overlay h3 {
    color: #fff;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 700;
}
.featured-main .post-card-overlay h3 { font-size: 17px; }
.post-card-overlay .post-meta-mini {
    font-size: 11px;
    color: rgba(255,255,255,0.75);
    margin-top: 5px;
}

/* =====================================================
   POST LIST STYLE (Like vacancyexam.in table style)
   ===================================================== */
.post-list { }
.post-list-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid var(--border-light);
    transition: background var(--transition);
}
.post-list-item:last-child { border-bottom: none; padding-bottom: 0; }
.post-list-item:hover { background: var(--bg-light); margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
.post-list-thumb {
    width: 80px;
    height: 58px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    background: var(--bg-gray);
}
.post-list-info { flex: 1; min-width: 0; }
.post-list-info h4 {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.post-list-info h4 a { color: inherit; }
.post-list-info h4 a:hover { color: var(--primary); }
.post-list-meta {
    display: flex;
    gap: 10px;
    font-size: 11px;
    color: var(--text-muted);
    flex-wrap: wrap;
}
.post-list-meta span { display: flex; align-items: center; gap: 3px; }
.badge-new {
    display: inline-block;
    background: var(--red);
    color: #fff;
    font-size: 9.5px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 2px;
    text-transform: uppercase;
    margin-left: 5px;
    vertical-align: middle;
    animation: blink 1.2s step-start infinite;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* =====================================================
   CATEGORY GRID (Like icons in vacancyexam)
   ===================================================== */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}
.cat-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 8px;
    text-align: center;
    transition: all var(--transition);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}
.cat-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    background: var(--primary);
}
.cat-card:hover .cat-icon { background: rgba(255,255,255,0.2); }
.cat-card:hover .cat-name, .cat-card:hover .cat-count { color: #fff; }
.cat-icon {
    font-size: 22px;
    width: 44px;
    height: 44px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 6px;
    transition: background var(--transition);
}
.cat-name {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-dark);
    display: block;
    margin-bottom: 2px;
    transition: color var(--transition);
    font-family: var(--font-hindi);
}
.cat-count {
    font-size: 10.5px;
    color: var(--text-muted);
    transition: color var(--transition);
}

/* =====================================================
   TABLE STYLE POSTS (Sarkari sites style)
   ===================================================== */
.post-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.post-table thead tr {
    background: var(--primary);
    color: #fff;
}
.post-table thead th {
    padding: 9px 12px;
    text-align: left;
    font-size: 12.5px;
    font-weight: 600;
}
.post-table tbody tr {
    border-bottom: 1px solid var(--border-light);
    transition: background var(--transition);
}
.post-table tbody tr:hover { background: var(--bg-light); }
.post-table tbody td { padding: 8px 12px; vertical-align: middle; }
.post-table tbody td a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 13px;
    line-height: 1.4;
}
.post-table tbody td a:hover { color: var(--primary); text-decoration: underline; }
.post-table .td-date { color: var(--text-muted); font-size: 11.5px; white-space: nowrap; }
.post-table .td-cat {
    white-space: nowrap;
    font-size: 11px;
    color: var(--primary);
    font-weight: 600;
}

/* =====================================================
   TWO-COLUMN POST SECTION
   ===================================================== */
.two-col-posts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

/* =====================================================
   BLOG POST CARDS (Grid View)
   ===================================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 18px;
}
.blog-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}
.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}
.blog-card-thumb {
    height: 150px;
    overflow: hidden;
    background: var(--bg-gray);
}
.blog-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.blog-card:hover .blog-card-thumb img { transform: scale(1.05); }
.blog-card-body { padding: 11px 13px 13px; }
.blog-card-body .post-cat-badge { margin-bottom: 6px; }
.blog-card-body h3 {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 7px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-card-body h3 a { color: inherit; }
.blog-card-body h3 a:hover { color: var(--primary); }
.blog-card-body p {
    font-size: 12.5px;
    color: var(--text-light);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 9px;
}
.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11.5px;
    color: var(--text-muted);
    padding-top: 9px;
    border-top: 1px solid var(--border-light);
}
.read-more-btn {
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
    padding: 3px 10px;
    border: 1px solid var(--primary);
    border-radius: 3px;
    transition: all var(--transition);
}
.read-more-btn:hover { background: var(--primary); color: #fff; }

/* =====================================================
   SINGLE POST PAGE
   ===================================================== */
.single-post-wrap { background: var(--bg-white); border-radius: var(--radius); padding: 20px; border: 1px solid var(--border); box-shadow: var(--shadow-sm); margin-bottom: 18px; }
.post-hero-img { width: 100%; max-height: 380px; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 18px; }
.post-title { font-size: 22px; font-weight: 800; color: var(--text-dark); margin-bottom: 10px; line-height: 1.3; }
.post-meta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 12.5px;
    color: var(--text-muted);
    padding: 10px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 18px;
    align-items: center;
}
.post-meta-bar span { display: flex; align-items: center; gap: 4px; }
.post-meta-bar .post-author-link { color: var(--primary); font-weight: 600; }
.post-body { font-size: 14.5px; line-height: 1.8; color: var(--text-body); }
.post-body p { margin-bottom: 14px; }
.post-body h2 { font-size: 18px; color: var(--primary); margin: 20px 0 10px; border-left: 4px solid var(--accent); padding-left: 12px; }
.post-body h3 { font-size: 16px; color: var(--primary-dark); margin: 16px 0 8px; }
.post-body ul, .post-body ol { padding-left: 22px; margin-bottom: 14px; }
.post-body ul { list-style: disc; }
.post-body ol { list-style: decimal; }
.post-body li { margin-bottom: 6px; }
.post-body blockquote {
    border-left: 4px solid var(--accent);
    background: var(--bg-light);
    padding: 12px 16px;
    margin: 16px 0;
    font-style: italic;
    color: var(--text-light);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.post-body table { width: 100%; border-collapse: collapse; margin-bottom: 14px; font-size: 13.5px; }
.post-body table th { background: var(--primary); color: #fff; padding: 8px 12px; text-align: left; }
.post-body table td { padding: 8px 12px; border: 1px solid var(--border); }
.post-body table tr:nth-child(even) td { background: var(--bg-light); }
.post-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border-light); }
.post-tags a { font-size: 11.5px; padding: 3px 10px; background: var(--bg-light); border: 1px solid var(--border); border-radius: 3px; color: var(--text-light); transition: all var(--transition); }
.post-tags a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.post-share { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; align-items: center; }
.post-share span { font-size: 13px; font-weight: 600; color: var(--text-light); }
.share-btn { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; padding: 5px 12px; border-radius: 4px; color: #fff; font-weight: 600; transition: opacity var(--transition); }
.share-btn:hover { opacity: 0.88; color: #fff; }
.share-fb  { background: #1877f2; }
.share-tw  { background: #1da1f2; }
.share-wa  { background: #25d366; }
.share-tg  { background: #0088cc; }

/* Author Box */
.author-box {
    display: flex;
    gap: 14px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px;
    margin-bottom: 18px;
    align-items: center;
}
.author-avatar { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-info h4 { font-size: 14px; color: var(--text-dark); margin-bottom: 4px; }
.author-info p { font-size: 12.5px; color: var(--text-light); line-height: 1.55; }

/* Post Navigation */
.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 18px;
}
.nav-post-item {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px;
    transition: all var(--transition);
}
.nav-post-item:hover { border-color: var(--primary); background: var(--bg-light); }
.nav-label { font-size: 11px; color: var(--text-muted); display: block; margin-bottom: 4px; }
.nav-post-item h4 { font-size: 13px; color: var(--text-dark); font-weight: 600; }
.nav-post-item.next-post { text-align: right; }

/* Comments */
.comments-section { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; margin-bottom: 18px; box-shadow: var(--shadow-sm); }
.comments-section h3 { font-size: 16px; color: var(--primary); margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid var(--border-light); }
.comment-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border-light); }
.comment-item:last-child { border-bottom: none; }
.comment-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex-shrink: 0; }
.comment-body .comment-author { font-size: 13px; font-weight: 700; color: var(--text-dark); }
.comment-body .comment-date { font-size: 11px; color: var(--text-muted); margin-bottom: 5px; }
.comment-body p { font-size: 13.5px; color: var(--text-body); line-height: 1.6; }
.comment-form { margin-top: 18px; }
.comment-form h4 { font-size: 15px; color: var(--primary); margin-bottom: 12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.form-group { margin-bottom: 12px; }
.form-group label { display: block; font-size: 12.5px; font-weight: 600; color: var(--text-dark); margin-bottom: 5px; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    color: var(--text-body);
    background: var(--bg-white);
    outline: none;
    transition: border-color var(--transition);
    font-family: var(--font-body);
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--primary); }
.form-group textarea { resize: vertical; min-height: 100px; }
.submit-btn {
    background: var(--primary);
    color: #fff;
    padding: 9px 22px;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    font-weight: 600;
    transition: background var(--transition);
}
.submit-btn:hover { background: var(--primary-dark); }

/* =====================================================
   SIDEBAR
   ===================================================== */
.sidebar-widget {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.widget-title {
    background: var(--primary);
    color: #fff;
    padding: 9px 14px;
    font-size: 13.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 7px;
}
.widget-body { padding: 12px 14px; }

/* Sidebar post list */
.sidebar-post-list { }
.sidebar-post-item {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
}
.sidebar-post-item:last-child { border-bottom: none; padding-bottom: 0; }
.sp-thumb {
    width: 65px;
    height: 50px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    background: var(--bg-gray);
}
.sp-info h5 {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 3px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sp-info h5 a { color: inherit; }
.sp-info h5 a:hover { color: var(--primary); }
.sp-info .sp-date { font-size: 11px; color: var(--text-muted); }

/* Sidebar categories */
.sidebar-cats a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 10px;
    margin-bottom: 4px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--text-dark);
    font-weight: 500;
    transition: all var(--transition);
    border-left: 3px solid var(--border);
}
.sidebar-cats a:hover {
    background: var(--primary);
    color: #fff;
    border-left-color: var(--accent);
}
.sidebar-cats a span {
    background: var(--border);
    font-size: 11px;
    padding: 1px 7px;
    border-radius: 10px;
    font-weight: 600;
    transition: all var(--transition);
}
.sidebar-cats a:hover span { background: rgba(255,255,255,0.25); color: #fff; }

/* Sidebar search */
.sidebar-search {
    display: flex;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.sidebar-search input {
    flex: 1;
    border: none;
    padding: 9px 12px;
    font-size: 13px;
    outline: none;
    color: var(--text-body);
}
.sidebar-search button {
    background: var(--primary);
    color: #fff;
    padding: 9px 14px;
    font-size: 14px;
    transition: background var(--transition);
}
.sidebar-search button:hover { background: var(--primary-dark); }

/* Sidebar tags */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-cloud a {
    font-size: 12px;
    padding: 3px 10px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 3px;
    color: var(--text-light);
    transition: all var(--transition);
}
.tag-cloud a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Newsletter Widget */
.newsletter-widget {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    border-radius: var(--radius);
    padding: 16px 14px;
    text-align: center;
    color: #fff;
    margin-bottom: 16px;
}
.newsletter-widget h4 { color: #fff; font-size: 15px; margin-bottom: 6px; }
.newsletter-widget p { font-size: 12px; opacity: 0.8; margin-bottom: 12px; font-family: var(--font-hindi); }
.newsletter-widget input {
    width: 100%;
    padding: 8px 12px;
    border: none;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    font-size: 13px;
    outline: none;
    background: rgba(255,255,255,0.95);
}
.newsletter-widget button {
    width: 100%;
    padding: 9px;
    background: var(--accent);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    transition: background var(--transition);
}
.newsletter-widget button:hover { background: var(--accent-dark); }

/* =====================================================
   PAGINATION
   ===================================================== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    flex-wrap: wrap;
    padding: 10px 0 20px;
}
.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-dark);
    background: var(--bg-white);
    border: 1px solid var(--border);
    transition: all var(--transition);
}
.pagination a:hover, .pagination .current {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* =====================================================
   ARCHIVE / CATEGORY PAGE
   ===================================================== */
.archive-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
    padding: 20px;
    border-radius: var(--radius);
    margin-bottom: 18px;
}
.archive-header h1 { color: #fff; font-size: 20px; margin-bottom: 5px; }
.archive-header p { font-size: 13px; opacity: 0.8; }

/* =====================================================
   FOOTER
   ===================================================== */
#site-footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.8);
    padding: 30px 0 0;
    margin-top: 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}
.footer-about .site-logo { margin-bottom: 10px; }
.footer-about p {
    font-size: 13px;
    line-height: 1.65;
    opacity: 0.8;
    font-family: var(--font-hindi);
}
.footer-social { display: flex; gap: 8px; margin-top: 12px; }
.footer-social a {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    transition: background var(--transition);
}
.footer-social a:hover { background: var(--accent); }
.footer-col h5 {
    color: #fff;
    font-size: 14px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--accent);
}
.footer-links { }
.footer-links li { margin-bottom: 6px; }
.footer-links a {
    font-size: 13px;
    color: rgba(255,255,255,0.75);
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--accent); }
.footer-links a::before { content: "→ "; opacity: 0.5; }
.footer-bottom {
    background: rgba(0,0,0,0.25);
    padding: 12px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-bottom p { font-size: 12.5px; color: rgba(255,255,255,0.6); }
.footer-bottom a { color: var(--accent); }

/* =====================================================
   BREADCRUMBS
   ===================================================== */
.breadcrumbs {
    padding: 7px 0;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}
.breadcrumbs a { color: var(--primary); }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span { opacity: 0.5; }

/* =====================================================
   NOTICE BOX
   ===================================================== */
.notice-box {
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    margin-bottom: 14px;
    display: flex;
    align-items: flex-start;
    gap: 9px;
}
.notice-box.info    { background: #e8f4fd; border-left: 4px solid #1976d2; color: #1565c0; }
.notice-box.success { background: #e8f5e9; border-left: 4px solid #388e3c; color: #2e7d32; }
.notice-box.warning { background: #fff8e1; border-left: 4px solid #f9a825; color: #e65100; }
.notice-box.danger  { background: #fce4ec; border-left: 4px solid #c62828; color: #b71c1c; }
.notice-box .notice-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }

/* =====================================================
   RESPONSIVE — MOBILE FIRST
   ===================================================== */
@media (max-width: 1024px) {
    .sidebar { width: 270px; }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .header-stats { display: none; }
}

@media (max-width: 768px) {
    .layout-row { flex-direction: column; }
    .sidebar { width: 100%; }
    .two-col-posts { grid-template-columns: 1fr; }
    .featured-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
    .featured-main { grid-column: 1; grid-row: 1; height: 220px; }
    .featured-small { height: 130px; }
    .cat-grid { grid-template-columns: repeat(4, 1fr); }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    #main-nav ul { display: none; }
    .hamburger { display: block; }
    #main-nav.open ul { display: flex; flex-direction: column; background: var(--primary-dark); }
    #main-nav.open ul li a { padding: 10px 16px; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .header-search { display: none; }
    .footer-grid { grid-template-columns: 1fr; gap: 16px; }
    .form-row { grid-template-columns: 1fr; }
    .post-navigation { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .cat-grid { grid-template-columns: repeat(3, 1fr); }
    .blog-grid { grid-template-columns: 1fr; }
    .post-title { font-size: 18px; }
    .featured-main { height: 200px; }
}

/* =====================================================
   UTILITIES
   ===================================================== */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.mt-10 { margin-top: 10px; }
.mt-16 { margin-top: 16px; }
.mb-0  { margin-bottom: 0 !important; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.gap-8 { gap: 8px; }
.w-100 { width: 100%; }
.sticky-top { position: sticky; top: 80px; }
.screen-reader-text { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* WordPress Specific Alignment */
.alignleft  { float: left; margin: 0 16px 10px 0; }
.alignright { float: right; margin: 0 0 10px 16px; }
.aligncenter { display: block; margin: 0 auto 10px; }
.wp-caption { border: 1px solid var(--border); padding: 4px; background: var(--bg-light); border-radius: var(--radius-sm); }
.wp-caption-text { font-size: 12px; text-align: center; color: var(--text-muted); padding: 4px; }
