/*
Theme Name: Hindi Sangrah Modern
Theme URI: https://hindisangrah.com
Author: Hindi Sangrah
Author URI: https://hindisangrah.com
Description: A modern, elegant WordPress theme for Hindi literature - हिंदी साहित्य के लिए आधुनिक थीम। Features a warm saffron-maroon color palette inspired by Indian tradition, with clean typography and responsive design.
Version: 2.1.0
Requires at least: 5.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hindi-sangrah
Tags: blog, literature, hindi, indian, custom-colors, custom-menu, featured-images, post-formats, sticky-post, threaded-comments, translation-ready
*/

/* =========================================
   CSS CUSTOM PROPERTIES
   ========================================= */
:root {
  --color-saffron: #E8650A;
  --color-saffron-light: #F5874A;
  --color-saffron-dark: #B84E07;
  --color-maroon: #7B1A2E;
  --color-maroon-light: #A82540;
  --color-maroon-dark: #4E1020;
  --color-gold: #C8941A;
  --color-gold-light: #E5B840;
  --color-cream: #FDF8F2;
  --color-warm-white: #FEFCF9;
  --color-ink: #1C1208;
  --color-ink-light: #3D2B18;
  --color-text: #2D1F0E;
  --color-text-muted: #7A6555;
  --color-text-light: #A8907A;
  --color-border: #E8DDD0;
  --color-border-light: #F0E8DE;
  --color-bg-alt: #FAF5EE;
  --color-bg-dark: #1C1208;

  --font-heading: 'Tiro Devanagari Hindi', 'Noto Serif Devanagari', Georgia, serif;
  --font-body: 'Hind', 'Noto Sans Devanagari', sans-serif;
  --font-accent: 'Cinzel', Georgia, serif;
  --font-latin: 'Cormorant Garamond', Georgia, serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 2px 8px rgba(28,18,8,0.08);
  --shadow-md: 0 4px 20px rgba(28,18,8,0.12);
  --shadow-lg: 0 8px 40px rgba(28,18,8,0.16);

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
  --content-width: 780px;
}

/* =========================================
   RESET & BASE
   ========================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--color-text);
  background-color: var(--color-warm-white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-saffron); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-maroon); }

/* =========================================
   TYPOGRAPHY
   ========================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-ink);
}

h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1.25rem; }
p:last-child { margin-bottom: 0; }

blockquote {
  border-left: 4px solid var(--color-saffron);
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  background: var(--color-bg-alt);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--color-ink-light);
}

/* =========================================
   UTILITY CLASSES
   ========================================= */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.screen-reader-text {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* =========================================
   SKIP LINK
   ========================================= */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--color-saffron);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  font-weight: 600;
  z-index: 9999;
  transition: top var(--transition);
}
.skip-link:focus { top: 0; color: #fff; }

/* =========================================
   TOP BAR
   ========================================= */
.site-topbar {
  background: var(--color-maroon-dark);
  color: rgba(255,255,255,0.75);
  font-size: 0.8125rem;
  padding: 0.35rem 0;
  letter-spacing: 0.03em;
}

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

.topbar-tagline { font-family: var(--font-heading); font-size: 0.8rem; }

.topbar-social { display: flex; gap: 1rem; }
.topbar-social a {
  color: rgba(255,255,255,0.65);
  font-size: 0.8rem;
  transition: color var(--transition);
}
.topbar-social a:hover { color: var(--color-gold-light); }

/* =========================================
   SITE HEADER
   ========================================= */
.site-header {
  background: var(--color-warm-white);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.85rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Site Branding */
.site-branding { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }

.site-logo-mark {
  width: 48px; height: 48px;
  background: var(--color-maroon);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-gold-light);
  font-weight: 700;
  flex-shrink: 0;
}

.site-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-maroon);
  line-height: 1;
}
.site-title a { color: inherit; }
.site-title a:hover { color: var(--color-saffron); }

.site-description {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  margin-top: 0.2rem;
}

/* Search in header */
.header-search { position: relative; }
.header-search input[type="search"] {
  width: 240px;
  padding: 0.5rem 2.5rem 0.5rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: 2rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  background: var(--color-cream);
  color: var(--color-text);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.header-search input[type="search"]:focus {
  border-color: var(--color-saffron);
  box-shadow: 0 0 0 3px rgba(232,101,10,0.15);
}
.header-search-btn {
  position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer;
  color: var(--color-text-muted); font-size: 1rem;
  transition: color var(--transition);
}
.header-search-btn:hover { color: var(--color-saffron); }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  cursor: pointer;
  color: var(--color-ink);
  transition: all var(--transition);
}
.menu-toggle:hover { background: var(--color-bg-alt); border-color: var(--color-saffron); }

/* =========================================
   PRIMARY NAVIGATION — FIXED
   Works with WordPress wp_nav_menu() wrapper div
   ========================================= */
.main-navigation {
  background: var(--color-maroon);
}

/* WordPress wraps ul in a div — target all descendants */
.main-navigation .container,
.main-navigation .container > div {
  display: flex;
  align-items: center;
}

/* The nav-menu ul itself */
.main-navigation .nav-menu,
.main-navigation ul#primary-menu {
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  width: 100%;
}

/* Top-level links */
.main-navigation .nav-menu > li > a,
.main-navigation ul#primary-menu > li > a {
  display: block;
  padding: 0.875rem 1.25rem;
  color: rgba(255,255,255,0.88);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  position: relative;
  text-decoration: none;
  white-space: nowrap;
}

/* Underline accent */
.main-navigation .nav-menu > li > a::after,
.main-navigation ul#primary-menu > li > a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 1.25rem; right: 1.25rem;
  height: 3px;
  background: var(--color-gold-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
  border-radius: 2px 2px 0 0;
}

/* Hover & active states */
.main-navigation .nav-menu > li:hover > a,
.main-navigation .nav-menu > li.current-menu-item > a,
.main-navigation .nav-menu > li.current_page_item > a,
.main-navigation .nav-menu > li.current-menu-ancestor > a,
.main-navigation ul#primary-menu > li:hover > a,
.main-navigation ul#primary-menu > li.current-menu-item > a,
.main-navigation ul#primary-menu > li.current_page_item > a {
  color: #fff;
  background: rgba(255,255,255,0.10);
}

.main-navigation .nav-menu > li:hover > a::after,
.main-navigation .nav-menu > li.current-menu-item > a::after,
.main-navigation ul#primary-menu > li:hover > a::after,
.main-navigation ul#primary-menu > li.current-menu-item > a::after {
  transform: scaleX(1);
}

/* All li positioning for dropdowns */
.main-navigation li { position: relative; }

/* Dropdown sub-menus */
.main-navigation ul ul {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-saffron);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  min-width: 210px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
  flex-direction: column;
  z-index: 999;
  display: flex;
}

.main-navigation li:hover > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-navigation ul ul li a {
  display: block;
  padding: 0.65rem 1.25rem;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--color-border-light);
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.main-navigation ul ul li:last-child a { border-bottom: none; }
.main-navigation ul ul li a:hover {
  color: var(--color-saffron);
  background: var(--color-cream);
  padding-left: 1.5rem;
}

/* =========================================
   HERO / FEATURED SECTION
   ========================================= */
.hero-section {
  background: linear-gradient(135deg, var(--color-maroon-dark) 0%, var(--color-maroon) 50%, var(--color-saffron-dark) 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '॥';
  position: absolute;
  right: -2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20rem;
  color: rgba(255,255,255,0.04);
  font-family: var(--font-heading);
  line-height: 1;
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content { color: white; }

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: 0.8125rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: 1rem;
  border: 1px solid rgba(200,148,26,0.4);
  padding: 0.3rem 0.75rem;
  border-radius: 2rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: white;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.hero-description {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex; gap: 1rem; flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--color-saffron);
  color: white;
  border-color: var(--color-saffron);
}
.btn-primary:hover {
  background: var(--color-saffron-dark);
  border-color: var(--color-saffron-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(232,101,10,0.4);
}

.btn-outline {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: white;
  color: white;
}

.hero-featured-post {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.hero-featured-post .post-thumb {
  height: 200px;
  background: rgba(255,255,255,0.1);
  overflow: hidden;
}
.hero-featured-post .post-thumb img { width: 100%; height: 100%; object-fit: cover; }

.hero-featured-post .post-meta-inner {
  padding: 1.5rem;
}

.post-category-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--color-saffron);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 2rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.hero-featured-post .post-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: white;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.hero-featured-post .post-excerpt {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* =========================================
   CATEGORY STRIP
   ========================================= */
.category-strip {
  background: var(--color-cream);
  border-bottom: 1px solid var(--color-border);
  padding: 0.75rem 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.category-strip::-webkit-scrollbar { display: none; }

.category-strip-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.category-strip-label {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  font-weight: 600;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.category-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 1rem;
  border-radius: 2rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--color-maroon);
  background: white;
  border: 1.5px solid var(--color-border);
  white-space: nowrap;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
}
.category-chip:hover,
.category-chip.active {
  background: var(--color-maroon);
  color: white;
  border-color: var(--color-maroon);
  transform: translateY(-1px);
}

/* =========================================
   MAIN CONTENT AREA
   ========================================= */
.site-main {
  padding: 3rem 0;
}

.content-area {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
}

/* =========================================
   POST GRID
   ========================================= */
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  padding-bottom: 0.875rem;
  border-bottom: 2px solid var(--color-border);
  position: relative;
}

.section-header::before {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 60px; height: 2px;
  background: var(--color-saffron);
  border-radius: 1px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--color-ink);
}

.section-link {
  font-size: 0.875rem;
  color: var(--color-saffron);
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 0.25rem;
}
.section-link:hover { color: var(--color-maroon); }

/* Post Cards */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.posts-grid.list-view { grid-template-columns: 1fr; }

.post-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-border-light);
}

.post-card-thumb {
  height: 180px;
  overflow: hidden;
  background: var(--color-bg-alt);
  position: relative;
}

.post-card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.post-card:hover .post-card-thumb img { transform: scale(1.05); }

.post-card-thumb-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--color-border);
  background: var(--color-cream);
}

.post-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.625rem;
}

.post-card-cat {
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-saffron);
}

.post-card-date {
  font-size: 0.75rem;
  color: var(--color-text-light);
}

.post-card-title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  color: var(--color-ink);
  line-height: 1.4;
  margin-bottom: 0.625rem;
  flex: 1;
}
.post-card-title a { color: inherit; }
.post-card-title a:hover { color: var(--color-saffron); }

.post-card-excerpt {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card-footer {
  padding: 0.875rem 1.25rem;
  border-top: 1px solid var(--color-border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.read-more {
  font-size: 0.8125rem;
  color: var(--color-saffron);
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 0.25rem;
  transition: gap var(--transition);
}
.read-more:hover { gap: 0.5rem; color: var(--color-maroon); }

/* Featured Post (Large) */
.post-card.featured {
  grid-column: span 2;
  flex-direction: row;
}

.post-card.featured .post-card-thumb {
  width: 280px;
  height: auto;
  flex-shrink: 0;
}

/* =========================================
   SIDEBAR
   ========================================= */
.sidebar {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.widget-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.widget-header {
  padding: 0.875rem 1.25rem;
  background: var(--color-maroon);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.widget-header-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: white;
  font-weight: 600;
}

.widget-body { padding: 1.25rem; }

/* Archive Widget */
.archive-list { list-style: none; }
.archive-list li {
  border-bottom: 1px solid var(--color-border-light);
}
.archive-list li:last-child { border-bottom: none; }
.archive-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
  color: var(--color-text);
  font-size: 0.9375rem;
  transition: all var(--transition);
}
.archive-list a:hover {
  color: var(--color-saffron);
  padding-left: 0.5rem;
}
.archive-list .count {
  background: var(--color-bg-alt);
  color: var(--color-text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 2rem;
}

/* Recent Posts Widget */
.recent-post-item {
  display: flex;
  gap: 0.875rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border-light);
  align-items: flex-start;
}
.recent-post-item:last-child { border-bottom: none; padding-bottom: 0; }

.recent-post-thumb {
  width: 64px; height: 64px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--color-cream);
}
.recent-post-thumb img { width: 100%; height: 100%; object-fit: cover; }

.recent-post-content {}
.recent-post-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--color-ink);
  line-height: 1.4;
  margin-bottom: 0.25rem;
}
.recent-post-title a { color: inherit; }
.recent-post-title a:hover { color: var(--color-saffron); }
.recent-post-date { font-size: 0.75rem; color: var(--color-text-light); }

/* Category Cloud Widget */
.cat-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.cat-cloud a {
  display: inline-block;
  padding: 0.3rem 0.875rem;
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: 2rem;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  color: var(--color-maroon);
  transition: all var(--transition);
}
.cat-cloud a:hover {
  background: var(--color-maroon);
  color: white;
  border-color: var(--color-maroon);
}

/* Quote Widget */
.quote-widget {
  text-align: center;
  padding: 1.5rem;
}
.quote-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-ink);
  line-height: 1.7;
  margin-bottom: 0.75rem;
  font-style: italic;
}
.quote-attr {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

/* =========================================
   SINGLE POST
   ========================================= */
.post-hero {
  background: var(--color-maroon);
  padding: 3.5rem 0 2rem;
  color: white;
}

.post-hero-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.post-breadcrumb {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.post-breadcrumb a { color: rgba(255,255,255,0.7); }
.post-breadcrumb a:hover { color: var(--color-gold-light); }

.post-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: white;
  line-height: 1.3;
  margin-bottom: 1.25rem;
}

.post-meta {
  display: flex; align-items: center;
  gap: 1.25rem; flex-wrap: wrap;
  font-size: 0.875rem; color: rgba(255,255,255,0.7);
}

.post-meta-separator { opacity: 0.4; }

.post-featured-image {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  margin-top: -3rem;
}
.post-featured-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.post-content {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.post-content h2 {
  margin: 2rem 0 1rem;
  padding-top: 0.5rem;
  border-top: 2px solid var(--color-border);
}
.post-content h3 { margin: 1.5rem 0 0.75rem; }
.post-content p { line-height: 1.9; }
.post-content ul, .post-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}
.post-content li { margin-bottom: 0.5rem; line-height: 1.8; }

/* Post Tags */
.post-tags {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center;
}
.post-tags-label { font-size: 0.875rem; color: var(--color-text-muted); font-weight: 600; }
.post-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: 2rem;
  font-size: 0.8125rem;
  color: var(--color-maroon);
  transition: all var(--transition);
}
.post-tag:hover { background: var(--color-maroon); color: white; border-color: var(--color-maroon); }

/* Author Box */
.author-box {
  max-width: var(--content-width);
  margin: 0 auto 3rem;
  padding: 0 1.5rem;
}
.author-box-inner {
  background: var(--color-cream);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  border: 1px solid var(--color-border);
}
.author-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid white;
  box-shadow: var(--shadow-sm);
}
.author-info {}
.author-name { font-family: var(--font-heading); font-size: 1.1rem; color: var(--color-ink); margin-bottom: 0.25rem; }
.author-bio { font-size: 0.9rem; color: var(--color-text-muted); line-height: 1.7; }

/* Related Posts */
.related-posts {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

/* Comments */
.comments-area {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.comment-list { list-style: none; }
.comment-body {
  display: flex; gap: 1rem; padding: 1.25rem 0;
  border-bottom: 1px solid var(--color-border-light);
}
.comment-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  overflow: hidden; flex-shrink: 0;
  background: var(--color-cream);
}
.comment-content {}
.comment-author { font-weight: 600; font-size: 0.9375rem; color: var(--color-ink); }
.comment-date { font-size: 0.75rem; color: var(--color-text-light); margin-bottom: 0.5rem; }
.comment-text { font-size: 0.9375rem; line-height: 1.7; }

.comment-form-area {
  margin-top: 2rem;
  padding: 1.75rem;
  background: var(--color-cream);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}
.comment-form h3 { margin-bottom: 1.25rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: 0.375rem; color: var(--color-text); }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--color-text);
  background: white;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-saffron);
  box-shadow: 0 0 0 3px rgba(232,101,10,0.12);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group textarea { min-height: 140px; resize: vertical; }

/* =========================================
   PAGINATION
   ========================================= */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
  background: white;
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}
.page-numbers:hover { background: var(--color-saffron); color: white; border-color: var(--color-saffron); }
.page-numbers.current { background: var(--color-maroon); color: white; border-color: var(--color-maroon); }
.page-numbers.prev, .page-numbers.next { width: auto; padding: 0 1rem; }

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  background: var(--color-bg-dark);
  color: rgba(255,255,255,0.75);
}

.footer-top {
  padding: 4rem 0 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand {}
.footer-brand .site-title { color: var(--color-gold-light); font-size: 1.75rem; margin-bottom: 0.5rem; }
.footer-brand .site-description { color: rgba(255,255,255,0.5); font-size: 0.875rem; margin-bottom: 1.25rem; }
.footer-brand p { font-size: 0.9rem; color: rgba(255,255,255,0.6); line-height: 1.7; }

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: white;
  margin-bottom: 1.25rem;
  padding-bottom: 0.625rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: all var(--transition);
  display: inline-flex; align-items: center; gap: 0.375rem;
}
.footer-links a:hover { color: var(--color-gold-light); padding-left: 0.25rem; }

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom-links {
  display: flex; gap: 1.5rem; flex-wrap: wrap;
}
.footer-bottom-links a {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* Footer Social Icons */
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: all var(--transition);
}
.footer-social a:hover {
  background: var(--color-saffron);
  border-color: var(--color-saffron);
  color: white;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-featured-post { display: none; }
}

@media (max-width: 768px) {
  .content-area { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .posts-grid { grid-template-columns: 1fr; }
  .post-card.featured { flex-direction: column; }
  .post-card.featured .post-card-thumb { width: 100%; height: 200px; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }

  .header-inner { flex-wrap: wrap; gap: 0.75rem; }
  .header-search { width: 100%; order: 3; }
  .header-search input[type="search"] { width: 100%; }

  .menu-toggle { display: flex; }
  .main-navigation .container,
  .main-navigation .container > div { flex-direction: column; align-items: stretch; width: 100%; }
  .main-navigation .nav-menu,
  .main-navigation ul#primary-menu {
    flex-direction: column;
    align-items: stretch;
    display: none;
    padding: 0.5rem 0;
    width: 100%;
  }
  .main-navigation.nav-open .nav-menu,
  .main-navigation.nav-open ul#primary-menu { display: flex; }
  .main-navigation .nav-menu > li > a,
  .main-navigation ul#primary-menu > li > a { padding: 0.75rem 1.5rem; }
  .main-navigation .nav-menu > li > a::after,
  .main-navigation ul#primary-menu > li > a::after { display: none; }
  .main-navigation ul ul { position: static; visibility: visible; opacity: 1; transform: none; box-shadow: none; background: rgba(0,0,0,0.12); display: flex; }

  .form-grid { grid-template-columns: 1fr; }
  .hero-section { padding: 3rem 0; }
  .footer-top { padding: 2.5rem 0 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  :root { --max-width: 100%; }
  .container { padding: 0 1rem; }
  .post-content { padding: 2rem 1rem; }
}

/* =========================================
   PRINT STYLES
   ========================================= */
@media print {
  .site-header, .site-topbar, .main-navigation, .sidebar, .site-footer,
  .comment-form-area, .hero-section, .category-strip, .hero-cta { display: none !important; }
  .content-area { grid-template-columns: 1fr; }
  .post-content { max-width: 100%; padding: 0; }
}

/* =========================================
   HOMEPAGE v2 — CATEGORY SECTIONS
   ========================================= */

/* HERO */
.hs-hero {
  background: var(--color-maroon);
  padding: 52px 0 48px;
  position: relative;
  overflow: hidden;
}
.hs-hero::before {
  content: '॥';
  position: absolute;
  right: -20px; top: 50%;
  transform: translateY(-50%);
  font-size: 220px;
  color: rgba(255,255,255,0.04);
  font-family: var(--font-heading);
  pointer-events: none;
  line-height: 1;
}
.hs-hero-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: center;
}
.hs-hero-content { color: #fff; }
.hs-eyebrow {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  border: 1px solid rgba(200,148,26,0.4);
  padding: 5px 14px;
  border-radius: 30px;
  margin-bottom: 16px;
}
.hs-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem,4vw,2.8rem);
  color: #fff;
  line-height: 1.25;
  margin-bottom: 14px;
}
.hs-hero-desc {
  color: rgba(255,255,255,0.78);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 24px;
}
.hs-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hs-btn-fill {
  padding: 11px 26px;
  background: var(--color-saffron);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  border: 2px solid var(--color-saffron);
  transition: var(--transition);
  display: inline-block;
}
.hs-btn-fill:hover { background: var(--color-saffron-dark); border-color: var(--color-saffron-dark); color: #fff; transform: translateY(-2px); }
.hs-btn-outline {
  padding: 11px 26px;
  background: transparent;
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  border: 2px solid rgba(255,255,255,0.4);
  transition: var(--transition);
  display: inline-block;
}
.hs-btn-outline:hover { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.7); }

/* Hero Card */
.hs-hero-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  overflow: hidden;
}
.hs-hero-card-img {
  height: 195px;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hs-hero-card-img img { width: 100%; height: 100%; object-fit: cover; }
.hs-ph-text { font-family: var(--font-heading); font-size: 5rem; color: rgba(255,255,255,0.15); }
.hs-hero-card-body { padding: 18px 20px; }
.hs-hc-badge {
  display: inline-block;
  background: var(--color-saffron);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  letter-spacing: .04em;
}
.hs-hero-card-body h3 { font-family: var(--font-heading); font-size: 1.1rem; color: #fff; line-height: 1.4; margin-bottom: 8px; }
.hs-hero-card-body h3 a { color: #fff; }
.hs-hero-card-body h3 a:hover { color: var(--color-gold-light); }
.hs-hero-card-body p { color: rgba(255,255,255,0.65); font-size: 13px; line-height: 1.7; }

/* CATEGORY STRIP */
.hs-cat-strip {
  background: var(--color-cream);
  border-bottom: 1px solid var(--color-border);
  padding: 12px 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.hs-cat-strip::-webkit-scrollbar { display: none; }
.hs-cat-strip-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
}
.hs-cat-label {
  font-size: 11px;
  color: var(--color-text-muted);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  margin-right: 4px;
  flex-shrink: 0;
}
.hs-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 15px;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-size: .9rem;
  border: 1.5px solid var(--color-border);
  background: #fff;
  color: var(--color-maroon);
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.hs-chip:hover, .hs-chip-on {
  background: var(--color-maroon);
  color: #fff;
  border-color: var(--color-maroon);
}
.hs-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }

/* MAIN LAYOUT */
.hs-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px 20px;
}
.hs-layout {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 32px;
  align-items: start;
}
.hs-content { min-width: 0; }

/* SECTION HEADERS */
.hs-section { margin-bottom: 40px; }
.hs-sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-border);
  position: relative;
}
.hs-sec-head::before {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 52px; height: 2px;
  background: var(--color-saffron);
  border-radius: 1px;
}
.hs-sec-title { font-family: var(--font-heading); font-size: 1.3rem; color: var(--color-ink); }
.hs-sec-link { font-size: 13px; color: var(--color-saffron); font-weight: 600; text-decoration: none; }
.hs-sec-link:hover { color: var(--color-maroon); }

/* Category section header */
.hs-cat-sec-hd {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  margin-bottom: 14px;
}
.hs-sec-icon { font-family: var(--font-heading); font-size: 1.3rem; flex-shrink: 0; }
.hs-cat-sec-hd h2 { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; margin: 0; }
.hs-cat-all { margin-left: auto; font-size: 12px; font-weight: 700; text-decoration: none; white-space: nowrap; flex-shrink: 0; }
.hs-cat-all:hover { opacity: .75; }

/* CATEGORY INDEX GRID */
.hs-cat-index {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 0;
}
.hs-cat-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid;
  text-decoration: none;
  transition: var(--transition);
}
.hs-cat-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(28,18,8,0.10); }
.hs-cat-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  flex-shrink: 0;
}
.hs-cat-info h3 { font-family: var(--font-heading); font-size: .95rem; margin-bottom: 2px; line-height: 1.3; }
.hs-cat-info span { font-size: 11px; color: var(--color-text-muted); }

/* POST GRID */
.hs-post-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.hs-grid-3 { grid-template-columns: repeat(2, 1fr); }

/* POST CARD */
.hs-pcard {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.hs-pcard:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(28,18,8,0.10); }

/* Big card (featured in 3-col section) */
.hs-pcard-big {
  grid-column: span 2;
  flex-direction: row;
}
.hs-pcard-big .hs-pcard-thumb { width: 260px; height: auto; flex-shrink: 0; }
.hs-pcard-big .hs-pcard-title { font-size: 1.15rem; }
.hs-pcard-big .hs-pcard-exc { -webkit-line-clamp: 4; }

/* Thumb */
.hs-pcard-thumb {
  height: 160px;
  overflow: hidden;
  background: var(--color-cream);
  flex-shrink: 0;
}
.hs-pcard-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.hs-pcard:hover .hs-pcard-thumb img { transform: scale(1.05); }
.hs-pcard-thumb a { display: block; height: 100%; }

/* Placeholder thumb */
.hs-ph {
  display: flex; align-items: center; justify-content: center;
}
.hs-ph span { font-family: var(--font-heading); font-size: 3.5rem; }
.hs-pcard-big .hs-ph span { font-size: 5rem; }

/* Card body */
.hs-pcard-body {
  padding: 13px 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hs-pcard-meta { display: flex; align-items: center; gap: 8px; }
.hs-pcard-cat { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.hs-pcard-date { font-size: 11px; color: var(--color-text-light); }
.hs-pcard-title {
  font-family: var(--font-heading);
  font-size: .975rem;
  color: var(--color-ink);
  line-height: 1.42;
  flex: 1;
  margin: 0;
}
.hs-pcard-title a { color: inherit; text-decoration: none; }
.hs-pcard-title a:hover { color: var(--color-saffron); }
.hs-pcard-exc {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}
.hs-pcard-foot {
  padding: 9px 15px;
  border-top: 1px solid var(--color-border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hs-read-more { font-size: 12px; font-weight: 700; text-decoration: none; }
.hs-read-more:hover { opacity: .75; }
.hs-pcard-time { font-size: 11px; color: var(--color-text-light); }

/* SIDEBAR */
.hs-sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 80px; }
.hs-widget { background: #fff; border: 1px solid var(--color-border); border-radius: 12px; overflow: hidden; }
.hs-whead { padding: 11px 16px; background: var(--color-maroon); }
.hs-whead-title { font-family: var(--font-heading); font-size: .95rem; color: #fff; margin: 0; font-weight: 600; }
.hs-wbody { padding: 14px 16px; }

/* Quote */
.hs-quote-box {
  background: #FDF0E8;
  border-left: 4px solid var(--color-saffron);
  border-radius: 0 8px 8px 0;
  padding: 13px 15px;
}
.hs-quote-text { font-family: var(--font-heading); font-size: 1rem; color: var(--color-ink); line-height: 1.7; font-style: italic; margin-bottom: 7px; }
.hs-quote-attr { font-size: 12px; color: var(--color-text-muted); font-weight: 600; }

/* Recent posts */
.hs-rp-item {
  display: flex; gap: 11px; padding: 9px 0;
  border-bottom: 1px solid var(--color-border-light);
  align-items: flex-start;
}
.hs-rp-item:last-child { border: none; padding-bottom: 0; }
.hs-rp-thumb {
  width: 58px; height: 58px;
  border-radius: 8px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  overflow: hidden;
}
.hs-rp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hs-rp-thumb span { font-family: var(--font-heading); font-size: 1.4rem; }
.hs-rp-title { font-family: var(--font-heading); font-size: .875rem; color: var(--color-ink); line-height: 1.4; margin-bottom: 3px; }
.hs-rp-title a { color: inherit; text-decoration: none; }
.hs-rp-title a:hover { color: var(--color-saffron); }
.hs-rp-date { font-size: 11px; color: var(--color-text-light); }

/* Tag cloud */
.hs-tag-cloud { display: flex; flex-wrap: wrap; gap: 7px; }
.hs-tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 20px;
  font-family: var(--font-heading);
  font-size: .83rem;
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  color: var(--color-maroon);
  transition: var(--transition);
  text-decoration: none;
}
.hs-tag:hover { background: var(--color-maroon); color: #fff; border-color: var(--color-maroon); }

/* Archive list */
.hs-arch-list { list-style: none; }
.hs-arch-list li { border-bottom: 1px solid var(--color-border-light); }
.hs-arch-list li:last-child { border: none; }
.hs-arch-list a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0;
  color: var(--color-text);
  font-size: 14px;
  text-decoration: none;
  transition: var(--transition);
}
.hs-arch-list a:hover { color: var(--color-saffron); padding-left: 5px; }

/* Prerna Vichar widget */
.hs-vichar-item {
  padding: 11px 13px;
  background: var(--color-cream);
  border-left: 3px solid var(--color-saffron);
  border-radius: 0 7px 7px 0;
  margin-bottom: 10px;
}
.hs-vichar-item:last-child { margin-bottom: 0; }
.hs-vichar-text { font-family: var(--font-heading); font-size: .9rem; color: var(--color-ink); line-height: 1.65; margin-bottom: 5px; }
.hs-vichar-src { font-size: 11px; color: var(--color-text-muted); font-weight: 600; }
.hs-vichar-src a { color: inherit; text-decoration: none; }

/* =========================================
   HOMEPAGE RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .hs-hero-wrap { grid-template-columns: 1fr; }
  .hs-hero-card { display: none; }
  .hs-layout { grid-template-columns: 1fr; }
  .hs-sidebar { position: static; }
}
@media (max-width: 768px) {
  .hs-post-grid { grid-template-columns: 1fr; }
  .hs-grid-3 { grid-template-columns: 1fr; }
  .hs-pcard-big { flex-direction: column; }
  .hs-pcard-big .hs-pcard-thumb { width: 100%; height: 180px; }
  .hs-cat-index { grid-template-columns: 1fr; }
  .hs-cat-strip-inner { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .hs-hero { padding: 36px 0; }
  .hs-main { padding: 24px 16px; }
}
@media (max-width: 480px) {
  .hs-hero-title { font-size: 1.8rem; }
  .hs-post-grid { gap: 10px; }
}

/* =========================================
   CATEGORY ARCHIVE PAGE
   ========================================= */

/* HERO BANNER */
.cat-hero {
  padding: 36px 0 32px;
  position: relative;
  overflow: hidden;
}
.cat-hero::after {
  content: '॥';
  position: absolute;
  right: -10px; top: 50%;
  transform: translateY(-50%);
  font-size: 180px;
  color: rgba(255,255,255,0.07);
  font-family: var(--font-heading);
  pointer-events: none;
  line-height: 1;
}
.cat-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.cat-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 18px;
}
.cat-breadcrumb a { color: rgba(255,255,255,0.75); text-decoration: none; }
.cat-breadcrumb a:hover { color: #fff; }
.cat-bc-current { color: rgba(255,255,255,0.5); }
.cat-hero-content {
  display: flex;
  align-items: center;
  gap: 20px;
}
.cat-hero-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-size: 2rem;
  color: #fff;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.25);
}
.cat-hero-text { flex: 1; }
.cat-hero-text h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: #fff;
  line-height: 1.2;
  margin-bottom: 8px;
}
.cat-hero-desc { color: rgba(255,255,255,0.78); font-size: .95rem; line-height: 1.7; }
.cat-hero-desc strong { color: #fff; }
.cat-hero-count {
  text-align: center;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  padding: 14px 22px;
  flex-shrink: 0;
}
.cat-count-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: #fff;
  line-height: 1;
  font-weight: 700;
}
.cat-count-label { font-size: 12px; color: rgba(255,255,255,0.7); letter-spacing: .04em; }

/* SUB-CATEGORY STRIP */
.cat-sub-strip { padding: 10px 0; }
.cat-sub-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.cat-sub-label { font-size: 11px; color: var(--color-text-muted); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.cat-sub-chip {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 20px;
  font-family: var(--font-heading);
  font-size: .875rem;
  border: 1.5px solid;
  background: transparent;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}
.cat-sub-chip:hover { opacity: .85; transform: translateY(-1px); }

/* PAGE WRAPPER */
.cat-page-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 20px;
}
.cat-page-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
  align-items: start;
}

/* SORT BAR */
.cat-sort-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}
.cat-post-count { font-size: 13px; color: var(--color-text-muted); }
.cat-sort-links { display: flex; gap: 6px; }
.cat-sort-btn {
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-muted);
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  text-decoration: none;
  transition: var(--transition);
}
.cat-sort-btn:hover, .cat-sort-btn.active {
  background: var(--color-maroon);
  color: #fff;
  border-color: var(--color-maroon);
}

/* POSTS GRID */
.cat-posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

/* POST CARD */
.cat-pcard {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.cat-pcard:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(28,18,8,0.11); }

.cat-pcard-thumb {
  height: 170px;
  overflow: hidden;
  flex-shrink: 0;
}
.cat-pcard-thumb a { display: block; height: 100%; }
.cat-pcard-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.cat-pcard:hover .cat-pcard-thumb img { transform: scale(1.05); }

.cat-ph {
  display: flex; align-items: center; justify-content: center;
}
.cat-ph-icon { font-family: var(--font-heading); font-size: 4rem; }

.cat-pcard-body {
  padding: 14px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cat-pcard-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cat-pcard-cat-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 20px;
}
.cat-pcard-date { font-size: 11px; color: var(--color-text-light); }
.cat-pcard-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--color-ink);
  line-height: 1.42;
  flex: 1;
  margin: 0;
}
.cat-pcard-title a { color: inherit; text-decoration: none; }
.cat-pcard-title a:hover { color: var(--color-saffron); }
.cat-pcard-exc {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}
.cat-pcard-foot {
  padding: 10px 16px;
  border-top: 1px solid;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cat-read-more { font-size: 12px; font-weight: 700; text-decoration: none; }
.cat-read-more:hover { opacity: .75; }
.cat-pcard-time { font-size: 11px; color: var(--color-text-light); }

/* PAGINATION */
.cat-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.cat-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px; height: 40px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--color-text);
  background: #fff;
  border: 1px solid var(--color-border);
  text-decoration: none;
  transition: var(--transition);
}
.cat-pagination .page-numbers:hover { background: var(--color-saffron); color: #fff; border-color: var(--color-saffron); }
.cat-pagination .page-numbers.current { background: var(--color-maroon); color: #fff; border-color: var(--color-maroon); }
.cat-pagination .prev, .cat-pagination .next { padding: 0 16px; }

/* NO POSTS */
.cat-no-posts {
  text-align: center;
  padding: 5rem 2rem;
}
.cat-no-posts-icon { font-family: var(--font-heading); font-size: 5rem; color: var(--color-border); margin-bottom: 1rem; }
.cat-no-posts h2 { font-family: var(--font-heading); font-size: 1.5rem; color: var(--color-ink); margin-bottom: .75rem; }
.cat-no-posts p { color: var(--color-text-muted); margin-bottom: 1.5rem; }

/* SIDEBAR */
.cat-sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 80px; }

/* About box */
.cat-about-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 0 8px 8px 0;
}
.cat-about-icon { font-family: var(--font-heading); font-size: 2rem; flex-shrink: 0; line-height: 1; }

/* Other categories list */
.cat-other-cats { display: flex; flex-direction: column; gap: 4px; }
.cat-other-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 4px;
  border-bottom: 1px solid var(--color-border-light);
  text-decoration: none;
  color: var(--color-text);
  transition: var(--transition);
  border-radius: 6px;
}
.cat-other-item:last-child { border: none; }
.cat-other-item:hover { background: var(--color-cream); padding-left: 10px; color: var(--color-saffron); }
.cat-other-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-size: .95rem;
  flex-shrink: 0;
}
.cat-other-name { flex: 1; font-family: var(--font-heading); font-size: .9rem; }
.cat-other-count {
  font-size: 11px;
  color: var(--color-text-light);
  background: var(--color-cream);
  padding: 2px 7px;
  border-radius: 20px;
  font-weight: 600;
}

/* =========================================
   CATEGORY PAGE RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .cat-page-layout { grid-template-columns: 1fr; }
  .cat-sidebar { position: static; }
}
@media (max-width: 768px) {
  .cat-posts-grid { grid-template-columns: 1fr; }
  .cat-hero-content { flex-wrap: wrap; }
  .cat-hero-count { display: none; }
  .cat-page-wrap { padding: 20px 16px; }
}

/* =========================================
   SINGLE POST PAGE — sp-* classes
   ========================================= */

/* HERO */
.sp-hero {
  padding: 32px 0 30px;
  position: relative;
  overflow: hidden;
}
.sp-hero::after {
  content: '॥';
  position: absolute;
  right: -10px; top: 50%;
  transform: translateY(-50%);
  font-size: 180px;
  color: rgba(255,255,255,0.05);
  font-family: var(--font-heading);
  pointer-events: none;
  line-height: 1;
}
.sp-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.sp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.sp-breadcrumb a { color: rgba(255,255,255,0.75); text-decoration: none; transition: var(--transition); }
.sp-breadcrumb a:hover { color: #fff; }
.sp-bc-sep { opacity: .5; }
.sp-bc-current { color: rgba(255,255,255,0.45); }

.sp-hero-content {
  display: flex;
  align-items: flex-start;
  gap: 28px;
}
.sp-hero-main { flex: 1; }
.sp-hero-thumb {
  width: 220px;
  height: 155px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.2);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.sp-hero-thumb img { width: 100%; height: 100%; object-fit: cover; }

.sp-cat-badge {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.25);
  transition: var(--transition);
}
.sp-cat-badge:hover { background: rgba(255,255,255,0.28); color: #fff; }

.sp-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: #fff;
  line-height: 1.3;
  margin-bottom: 16px;
}
.sp-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255,255,255,0.72);
}
.sp-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.sp-meta-item svg { flex-shrink: 0; }
.sp-meta-dot { opacity: .4; }

/* PAGE WRAP */
.sp-page-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 20px;
}
.sp-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: start;
}

/* ARTICLE */
.sp-article { background: #fff; border-radius: 16px; border: 1px solid var(--color-border); overflow: hidden; }

.sp-featured-img { height: 340px; overflow: hidden; }
.sp-featured-img img { width: 100%; height: 100%; object-fit: cover; }

/* POST CONTENT TYPOGRAPHY */
.sp-content {
  padding: 32px 36px;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 2;
  color: var(--color-text);
}
.sp-content p { margin-bottom: 1.4rem; }
.sp-content p:last-child { margin-bottom: 0; }
.sp-content h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-ink);
  margin: 2rem 0 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--color-border);
  position: relative;
}
.sp-content h2::before {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 40px; height: 2px;
  background: var(--post-accent, var(--color-saffron));
}
.sp-content h3 { font-family: var(--font-heading); font-size: 1.25rem; color: var(--color-ink); margin: 1.5rem 0 .75rem; }
.sp-content h4 { font-family: var(--font-heading); font-size: 1.1rem; color: var(--color-ink); margin: 1.25rem 0 .6rem; }
.sp-content blockquote {
  margin: 1.75rem 0;
  padding: 1rem 1.5rem;
  background: var(--post-accent-bg, #FDF0E8);
  border-left: 4px solid var(--post-accent, var(--color-saffron));
  border-radius: 0 8px 8px 0;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-ink);
  font-style: italic;
  line-height: 1.8;
}
.sp-content ul, .sp-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.sp-content li { margin-bottom: .5rem; line-height: 1.85; }
.sp-content a { color: var(--post-accent, var(--color-saffron)); text-decoration: underline; text-underline-offset: 2px; }
.sp-content a:hover { color: var(--color-maroon); }
.sp-content img { border-radius: 8px; margin: 1rem 0; max-width: 100%; }
.sp-content hr { border: none; border-top: 2px solid var(--color-border); margin: 2rem 0; }

/* Hindi poetry / verse styling */
.sp-content p > br + br { display: block; margin: .5rem 0; }

/* TAGS */
.sp-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  padding: 18px 36px;
  border-top: 1px solid var(--color-border-light);
}
.sp-tags-label { font-size: 12px; color: var(--color-text-muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.sp-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  background: transparent;
  border: 1.5px solid;
  text-decoration: none;
  transition: var(--transition);
}
.sp-tag:hover { background: var(--color-cream); }

/* SHARE BAR */
.sp-share-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  border-top: 1px solid var(--color-border-light);
  background: var(--color-cream);
  flex-wrap: wrap;
}
.sp-share-label { font-size: 12px; color: var(--color-text-muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.sp-share-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.sp-share-btn {
  padding: 6px 16px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  letter-spacing: .02em;
}
.sp-share-fb { background: #1877F2; color: #fff; }
.sp-share-fb:hover { background: #1565c0; color: #fff; }
.sp-share-wa { background: #25D366; color: #fff; }
.sp-share-wa:hover { background: #1db954; color: #fff; }
.sp-share-tw { background: #1DA1F2; color: #fff; }
.sp-share-tw:hover { background: #0d8ecf; color: #fff; }

/* PREV / NEXT NAV */
.sp-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}
.sp-nav-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  text-decoration: none;
  transition: var(--transition);
}
.sp-nav-card:hover { border-color: var(--color-saffron); box-shadow: 0 4px 12px rgba(232,101,10,0.12); transform: translateY(-2px); }
.sp-nav-prev { text-align: left; }
.sp-nav-next { text-align: right; }
.sp-nav-dir { font-size: 11px; color: var(--color-text-muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.sp-nav-title { font-family: var(--font-heading); font-size: .95rem; color: var(--color-ink); line-height: 1.4; }

/* RELATED POSTS */
.sp-related, .sp-comments { margin-top: 24px; }
.sp-related-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid;
}
.sp-related-head h3 { font-family: var(--font-heading); font-size: 1.2rem; margin: 0; }
.sp-related-head a { font-size: 13px; font-weight: 600; text-decoration: none; }
.sp-related-head a:hover { opacity: .75; }

.sp-related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.sp-rel-card {
  display: flex;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  transition: var(--transition);
}
.sp-rel-card:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(28,18,8,0.09); }
.sp-rel-thumb {
  width: 80px; flex-shrink: 0;
  overflow: hidden;
}
.sp-rel-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sp-rel-ph {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 1.8rem;
}
.sp-rel-body { padding: 10px 12px 10px 0; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.sp-rel-cat { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.sp-rel-title { font-family: var(--font-heading); font-size: .875rem; color: var(--color-ink); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sp-rel-date { font-size: 11px; color: var(--color-text-light); }

/* Sidebar helpers */
.sp-cat-info-box {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px;
  border-radius: 0 8px 8px 0;
}
.sp-cat-info-icon { font-family: var(--font-heading); font-size: 2rem; flex-shrink: 0; line-height: 1; }
.sp-sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 80px; }

/* SINGLE PAGE RESPONSIVE */
@media (max-width: 1024px) {
  .sp-layout { grid-template-columns: 1fr; }
  .sp-sidebar { position: static; }
}
@media (max-width: 768px) {
  .sp-hero-content { flex-direction: column; }
  .sp-hero-thumb { width: 100%; height: 200px; }
  .sp-content { padding: 20px 18px; font-size: 1rem; }
  .sp-tags, .sp-share-bar { padding: 14px 18px; }
  .sp-post-nav { grid-template-columns: 1fr; }
  .sp-related-grid { grid-template-columns: 1fr; }
  .sp-rel-card { flex-direction: row; }
}
@media (max-width: 480px) {
  .sp-page-wrap { padding: 16px 14px; }
  .sp-title { font-size: 1.5rem; }
}
