/* ==========================================================================
   GKChat - Premium Hindi GK Blog Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Mukta:wght@400;500;600;700;800&family=Poppins:wght@400;500;600;700&display=swap');

:root {
  /* Colors - Light Theme */
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-subtle: #f1f5f9;
  --bg-header: rgba(255, 255, 255, 0.96);
  --border-color: #e2e8f0;
  --border-subtle: #f1f5f9;
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  
  --brand-primary: #2563eb;
  --brand-primary-hover: #1d4ed8;
  --brand-secondary: #0ea5e9;
  --brand-accent: #f59e0b;
  --brand-gradient: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #06b6d4 100%);
  
  --success-bg: #ecfdf5;
  --success-border: #10b981;
  --success-text: #065f46;
  
  --error-bg: #fef2f2;
  --error-border: #ef4444;
  --error-text: #991b1b;
  
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.05);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.08);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 22px;
}

[data-theme="dark"] {
  --bg-body: #0b1120;
  --bg-card: #151e32;
  --bg-card-subtle: #1c2744;
  --bg-header: rgba(21, 30, 50, 0.96);
  --border-color: #243252;
  --border-subtle: #1b2640;
  
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  
  --brand-primary: #3b82f6;
  --brand-primary-hover: #60a5fa;
  --brand-secondary: #38bdf8;
  --brand-gradient: linear-gradient(135deg, #2563eb 0%, #6366f1 50%, #38bdf8 100%);
  
  --success-bg: rgba(16, 185, 129, 0.15);
  --success-border: #10b981;
  --success-text: #34d399;
  
  --error-bg: rgba(239, 68, 68, 0.15);
  --error-border: #ef4444;
  --error-text: #f87171;
  
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.4);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.4), 0 2px 4px -2px rgb(0 0 0 / 0.3);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.5), 0 4px 6px -4px rgb(0 0 0 / 0.4);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.6);
}

/* Global Resets */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Mukta', 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.65;
  font-size: 16px;
  min-height: 100vh;
  transition: background-color 0.25s ease, color 0.25s ease;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ==========================================================================
   Header & Navigation Menu (हेडर मेनू)
   ========================================================================== */
.site-header {
  position: relative;
  z-index: 50;
  background-color: var(--bg-header);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1.25rem;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--brand-gradient);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.35rem;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  position: relative;
  overflow: hidden;
}

.logo-icon::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  100% { left: 200%; }
}

.logo-text-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logo-text-box h1,
.logo-title {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--brand-primary);
  margin: 0;
  padding: 0;
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}

.logo-text-box h1 .logo-gk,
.logo-title .logo-gk {
  color: #2563eb;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
}

.logo-text-box h1 .logo-hindi,
.logo-title .logo-hindi {
  color: #ea580c;
  font-family: 'Mukta', sans-serif;
  font-weight: 800;
  padding: 0 1px;
}

.logo-text-box h1 .logo-hub,
.logo-title .logo-hub,
.logo-text-box h1 .logo-me,
.logo-title .logo-me {
  color: var(--text-primary);
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
}

[data-theme="dark"] .logo-text-box h1 .logo-gk,
[data-theme="dark"] .logo-title .logo-gk {
  color: #3b82f6;
}

[data-theme="dark"] .logo-text-box h1 .logo-hindi,
[data-theme="dark"] .logo-title .logo-hindi {
  color: #fb923c;
}

[data-theme="dark"] .logo-text-box h1 .logo-hub,
[data-theme="dark"] .logo-title .logo-hub,
[data-theme="dark"] .logo-text-box h1 .logo-me,
[data-theme="dark"] .logo-title .logo-me {
  color: #f8fafc;
}

.logo-tagline {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
  display: block;
  white-space: nowrap;
}

/* Header Search */
.header-search {
  flex: 1;
  max-width: 440px;
  position: relative;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 0.95rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 0.65rem 2.5rem 0.65rem 2.6rem;
  background-color: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  font-size: 0.92rem;
  color: var(--text-primary);
  font-family: inherit;
  outline: none;
  transition: all 0.2s ease;
}

.search-input:focus {
  border-color: var(--brand-primary);
  background-color: var(--bg-card);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.search-clear-btn {
  position: absolute;
  right: 0.75rem;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: none;
  font-size: 0.85rem;
  padding: 0.2rem;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.btn-icon-action {
  background-color: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  font-size: 1.1rem;
}

.btn-icon-action:hover {
  background-color: var(--border-color);
  color: var(--brand-primary);
}

.badge-counter {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: #ef4444;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Header Navigation Bar (Home, RRB, SSC, Banking, UPSC, Police, Defence) */
.site-nav-bar {
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.site-nav-bar::-webkit-scrollbar {
  display: none;
}

.header-nav-list {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0;
  list-style: none;
  white-space: nowrap;
}

.header-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1.05rem;
  border-radius: var(--radius-xl);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  text-decoration: none;
}

.header-nav-btn:hover {
  background-color: var(--bg-card-subtle);
  color: var(--brand-primary);
}

.header-nav-btn.active {
  background: var(--brand-gradient);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

/* ==========================================================================
   Sub-Navigation Search Section (नेविगेशन के नीचे सर्च बार)
   ========================================================================== */
.sub-nav-search-section {
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-color);
  padding: 0.65rem 0;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.sub-nav-search-section .search-input-wrapper {
  max-width: 650px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
}

.sub-nav-search-section .search-icon {
  position: absolute;
  left: 1.15rem;
  color: var(--brand-primary);
  font-size: 1rem;
  pointer-events: none;
}

.sub-nav-search-section .search-input {
  width: 100%;
  padding: 0.68rem 2.8rem 0.68rem 2.9rem;
  background-color: var(--bg-card-subtle);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-xl);
  font-size: 0.95rem;
  color: var(--text-primary);
  font-family: inherit;
  outline: none;
  transition: all 0.2s ease;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03);
}

.sub-nav-search-section .search-input:focus {
  border-color: var(--brand-primary);
  background-color: var(--bg-card);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15), var(--shadow-sm);
}

.sub-nav-search-section .search-clear-btn {
  position: absolute;
  right: 0.85rem;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: none;
  font-size: 0.95rem;
  padding: 0.25rem;
  border-radius: 50%;
  transition: color 0.2s;
}

.sub-nav-search-section .search-clear-btn:hover {
  color: #ef4444;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 2rem 0 1.25rem;
  position: relative;
}

.hero-card {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(56, 189, 248, 0.06) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background-color: rgba(37, 99, 235, 0.12);
  color: var(--brand-primary);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-xl);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.hero-title {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.hero-title span.highlight {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.hero-stats {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.stat-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-sm);
}

.stat-info .stat-num {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text-primary);
  line-height: 1.1;
}

.stat-info .stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Daily GK Box */
.daily-gk-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  box-shadow: var(--shadow-md);
  position: relative;
}

.daily-gk-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.6rem;
}

.daily-gk-tag {
  font-size: 0.82rem;
  font-weight: 700;
  color: #ea580c;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.daily-gk-q {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.9rem;
  line-height: 1.5;
}

.daily-gk-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.daily-opt-btn {
  padding: 0.5rem 0.75rem;
  background-color: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.85rem;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.daily-opt-btn:hover {
  border-color: var(--brand-primary);
  background-color: var(--bg-body);
}

.daily-opt-btn.correct {
  background-color: var(--success-bg) !important;
  border-color: var(--success-border) !important;
  color: var(--success-text) !important;
  font-weight: 700;
}

.daily-opt-btn.wrong {
  background-color: var(--error-bg) !important;
  border-color: var(--error-border) !important;
  color: var(--error-text) !important;
}

.daily-reveal-btn {
  width: 100%;
  padding: 0.5rem;
  background-color: var(--bg-card-subtle);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--brand-primary);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.daily-reveal-btn:hover {
  background-color: var(--border-color);
}

.daily-ans-explanation {
  margin-top: 0.75rem;
  padding: 0.75rem;
  background-color: var(--bg-card-subtle);
  border-left: 3px solid var(--brand-primary);
  border-radius: 4px;
  font-size: 0.84rem;
  color: var(--text-secondary);
  display: none;
}

/* ==========================================================================
   Section Title & Filters
   ========================================================================== */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1.5rem 0 1.25rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.section-title-wrap h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.filter-badge-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.filter-pill {
  padding: 0.35rem 0.85rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.filter-pill:hover,
.filter-pill.active {
  background-color: var(--brand-primary);
  color: #ffffff;
  border-color: var(--brand-primary);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 1.85rem;
  margin-bottom: 3.5rem;
}

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

.posts-grid.list-view .blog-post-card {
  flex-direction: row;
}

.posts-grid.list-view .post-thumb-banner {
  width: 300px;
  height: auto;
  min-height: 190px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .posts-grid.list-view .blog-post-card {
    flex-direction: column;
  }
  .posts-grid.list-view .post-thumb-banner {
    width: 100%;
    height: 185px;
  }
}

.blog-post-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: relative;
}

.blog-post-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  border-color: rgba(37, 99, 235, 0.4);
}

/* Post Thumbnail Banner (16:9 Style) */
.post-thumb-banner {
  height: 185px;
  width: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-thumb-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.65) 100%);
  pointer-events: none;
}

.thumb-icon-bg {
  font-size: 6.5rem;
  color: rgba(255, 255, 255, 0.18);
  position: absolute;
  right: 1.25rem;
  bottom: -0.85rem;
  transform: rotate(-10deg);
  pointer-events: none;
  transition: transform 0.4s ease;
}

.blog-post-card:hover .thumb-icon-bg {
  transform: rotate(0deg) scale(1.18);
}

.thumb-topic-watermark {
  position: absolute;
  left: 1.25rem;
  bottom: 0.95rem;
  z-index: 2;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.15rem;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.thumb-badge-cat {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  background: rgba(255, 255, 255, 0.95);
  color: #0f172a;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-xl);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

[data-theme="dark"] .thumb-badge-cat {
  background: rgba(15, 23, 42, 0.92);
  color: #f8fafc;
}

.thumb-badge-q {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-xl);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Post Card Body */
.post-card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
  flex-wrap: wrap;
}

.post-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.post-card-title {
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.45;
  color: var(--text-primary);
  margin-bottom: 0.65rem;
  transition: color 0.2s;
}

.blog-post-card:hover .post-card-title {
  color: var(--brand-primary);
}

.post-card-excerpt {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.15rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

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

.read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--brand-primary);
  transition: gap 0.2s ease, color 0.2s ease;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.blog-post-card:hover .read-more-btn {
  gap: 0.65rem;
  color: var(--brand-primary-hover);
}

.card-bookmark-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.15rem;
  transition: all 0.2s;
  padding: 0.2rem;
}

.card-bookmark-btn:hover {
  color: #ef4444;
  transform: scale(1.15);
}

.card-bookmark-btn.saved {
  color: #ef4444;
}

/* Empty search state */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  background-color: var(--bg-card);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-xl);
}

.empty-state-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.empty-state h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.empty-state p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

/* ==========================================================================
   Post Detail View
   ========================================================================== */
.post-detail-wrapper {
  display: none;
  padding: 1.5rem 0 4rem;
}

.post-detail-wrapper.active {
  display: block;
}

.post-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.breadcrumb-link {
  color: var(--brand-primary);
  cursor: pointer;
  text-decoration: none;
}

.breadcrumb-link:hover {
  text-decoration: underline;
}

.breadcrumb-separator {
  color: var(--text-muted);
}

/* Post Container Header */
.post-header-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.75rem;
}

.post-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.card-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-xl);
  color: #ffffff;
  background: var(--brand-gradient);
}

.post-full-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 1rem;
}

.post-meta-bar {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  flex-wrap: wrap;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.5rem;
}

.post-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.post-share-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-share {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-xl);
  font-size: 0.84rem;
  font-weight: 600;
  border: 1px solid var(--border-color);
  background-color: var(--bg-card-subtle);
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.btn-share.whatsapp {
  background-color: #25d366;
  color: #ffffff;
  border-color: #25d366;
}

.btn-share:hover {
  background-color: var(--border-color);
}

.btn-share.whatsapp:hover {
  background-color: #1eb956;
}

/* Post Controls Bar (Mode toggle & Font Size) */
.post-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--bg-card-subtle);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.mode-toggle-group {
  display: inline-flex;
  background-color: var(--bg-card);
  padding: 0.25rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
}

.btn-mode {
  padding: 0.4rem 1rem;
  border-radius: var(--radius-xl);
  font-size: 0.84rem;
  font-weight: 600;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.btn-mode.active {
  background: var(--brand-gradient);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.font-size-controls {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.btn-font-size {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 700;
}

.btn-font-size.active {
  background-color: var(--brand-primary);
  color: #ffffff;
  border-color: var(--brand-primary);
}

/* Introductory Paragraph Section (विशेष प्रस्तावना) */
.post-intro-box {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(99, 102, 241, 0.05) 100%);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-left: 5px solid var(--brand-primary);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  margin-bottom: 2rem;
  position: relative;
}

.intro-box-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.intro-badge {
  background-color: var(--brand-primary);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.intro-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.intro-paragraph-text {
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-weight: 500;
}

.intro-key-points {
  margin-top: 1rem;
  background-color: var(--bg-card);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
}

.intro-key-points h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.intro-key-points ul {
  list-style: none;
  padding-left: 0;
}

.intro-key-points li {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
  position: relative;
  padding-left: 1.4rem;
}

.intro-key-points li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: bold;
}

/* ==========================================================================
   GK Questions & Answers Section
   ========================================================================== */
.questions-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.question-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  position: relative;
}

.question-card:hover {
  border-color: rgba(37, 99, 235, 0.4);
}

.question-top-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.q-badge-num {
  background-color: var(--bg-card-subtle);
  color: var(--brand-primary);
  border: 1px solid var(--border-color);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-xl);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.q-actions-mini {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-q-action {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.35rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  font-size: 0.95rem;
}

.btn-q-action:hover {
  background-color: var(--bg-card-subtle);
  color: var(--brand-primary);
}

.question-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

/* Options Grid */
.options-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.option-item {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  background-color: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  position: relative;
}

.option-item:hover:not(.disabled) {
  border-color: var(--brand-primary);
  background-color: var(--bg-body);
}

.option-letter {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.82rem;
  margin-right: 0.85rem;
  flex-shrink: 0;
  color: var(--text-secondary);
}

.option-text {
  font-size: 0.96rem;
  color: var(--text-primary);
  flex: 1;
}

/* Correct / Wrong States */
.option-item.correct {
  background-color: var(--success-bg) !important;
  border-color: var(--success-border) !important;
}

.option-item.correct .option-letter {
  background-color: var(--success-border);
  color: #ffffff;
  border-color: var(--success-border);
}

.option-item.correct .option-text {
  color: var(--success-text);
  font-weight: 700;
}

.option-item.wrong {
  background-color: var(--error-bg) !important;
  border-color: var(--error-border) !important;
}

.option-item.wrong .option-letter {
  background-color: var(--error-border);
  color: #ffffff;
  border-color: var(--error-border);
}

.option-item.wrong .option-text {
  color: var(--error-text);
}

/* Direct Answer Box (Reading Mode) */
.direct-answer-box {
  display: none;
  background-color: var(--success-bg);
  border: 1px solid var(--success-border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  margin-bottom: 0.75rem;
}

.direct-answer-box.visible {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.direct-answer-tag {
  background-color: #10b981;
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

.direct-answer-text {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--success-text);
}

/* Toggle Explanation */
.btn-toggle-explanation {
  background: none;
  border: none;
  color: var(--brand-primary);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0;
  font-family: inherit;
}

.btn-toggle-explanation:hover {
  text-decoration: underline;
}

.explanation-drawer {
  display: none;
  margin-top: 0.85rem;
  padding: 1.15rem 1.35rem;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(6, 182, 212, 0.05) 100%);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-left: 4px solid #10b981;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--text-primary);
  line-height: 1.75;
}

.explanation-drawer.open {
  display: block;
}

.explanation-drawer strong {
  color: #065f46;
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

/* Quiz Score Card Widget */
.quiz-score-card {
  display: none;
  background: var(--brand-gradient);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-xl);
}

.quiz-score-card.visible {
  display: block;
}

.score-number {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin: 0.5rem 0;
}

/* ==========================================================================
   Discussion / Comments Section
   ========================================================================== */
.comments-section {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2rem;
  margin-bottom: 3rem;
}

.comments-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.comment-input-box {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.comment-textarea {
  width: 100%;
  min-height: 90px;
  padding: 0.85rem 1rem;
  background-color: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.94rem;
  color: var(--text-primary);
  font-family: inherit;
  resize: vertical;
  outline: none;
}

.comment-textarea:focus {
  border-color: var(--brand-primary);
  background-color: var(--bg-card);
}

.comment-form-row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.comment-name-input {
  flex: 1;
  padding: 0.65rem 0.9rem;
  background-color: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--text-primary);
  font-family: inherit;
  outline: none;
}

.btn-post-comment {
  background: var(--brand-gradient);
  color: #ffffff;
  border: none;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.comment-card {
  padding: 0.85rem 1.1rem;
  background-color: var(--bg-card-subtle);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.comment-author-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.comment-author-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-primary);
}

.comment-date {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.comment-content {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Modals (Bookmarks Drawer)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.open {
  display: flex;
}

.modal-container {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  animation: modalIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-close-modal {
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
}

.modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1;
}

.modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

/* Toast Notification */
.toast-notice {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #0f172a;
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow-xl);
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

/* Footer */
.site-footer {
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-color);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-col h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.footer-col p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
  cursor: pointer;
}

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

.footer-bottom {
  text-align: center;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .header-top {
    flex-wrap: nowrap;
    justify-content: space-between;
    padding: 0.6rem 0;
  }
  .header-search {
    display: none;
  }
  .sub-nav-search-section {
    padding: 0.5rem 0;
  }
  .sub-nav-search-section .search-input {
    font-size: 0.88rem;
    padding: 0.55rem 2.4rem 0.55rem 2.5rem;
  }
  .sub-nav-search-section .search-icon {
    left: 0.95rem;
    font-size: 0.92rem;
  }
  .logo-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    font-size: 1.15rem;
    border-radius: 10px;
  }
  .logo-text-box h1,
  .logo-title {
    font-size: 1.35rem;
  }
  .logo-tagline {
    font-size: 0.65rem;
  }

  /* 2 Columns Mobile Post Grid */
  .posts-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem;
    margin-bottom: 2rem;
  }
  .posts-grid.list-view {
    grid-template-columns: 1fr !important;
  }
  .blog-post-card {
    border-radius: var(--radius-md);
  }
  .post-thumb-banner {
    height: 115px;
  }
  .thumb-icon-bg {
    font-size: 3rem;
    right: 0.4rem;
    bottom: -0.4rem;
    opacity: 0.15;
  }
  .thumb-badge-cat {
    top: 0.4rem;
    left: 0.4rem;
    font-size: 0.62rem;
    padding: 0.18rem 0.45rem;
    gap: 0.2rem;
  }
  .thumb-badge-q {
    display: none;
  }
  .thumb-topic-watermark {
    display: none;
  }
  .post-card-body {
    padding: 0.65rem 0.55rem;
  }
  .post-card-meta {
    gap: 0.3rem;
    font-size: 0.68rem;
    margin-bottom: 0.35rem;
  }
  .post-card-meta span:nth-child(n+4) {
    display: none;
  }
  .post-card-title {
    font-size: 0.92rem;
    line-height: 1.35;
    margin-bottom: 0.35rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .post-card-excerpt {
    display: none;
  }
  .post-card-footer {
    padding-top: 0.45rem;
    font-size: 0.72rem;
  }
  .btn-read-post {
    font-size: 0.72rem;
  }
  .post-tag-pill {
    display: none;
  }

  .hero-title {
    font-size: 1.7rem;
  }
  .post-full-title {
    font-size: 1.45rem;
  }
  .daily-gk-options {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

@media (max-width: 420px) {
  .posts-grid {
    gap: 0.5rem;
  }
  .post-thumb-banner {
    height: 100px;
  }
  .post-card-body {
    padding: 0.55rem 0.45rem;
  }
  .post-card-title {
    font-size: 0.85rem;
    line-height: 1.3;
  }
  .thumb-badge-cat {
    font-size: 0.58rem;
    padding: 0.15rem 0.4rem;
  }
  .btn-read-post {
    font-size: 0.68rem;
  }
}

/* ==========================================================================
   Google AdSense & Advertisement Placeholders
   Compliant with AdSense Policy (Proper Labels & Dimensions)
   ========================================================================== */
.ad-slot-wrapper {
  margin: 2rem 0;
  text-align: center;
  position: relative;
  clear: both;
}

.ad-slot-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
  background-color: var(--bg-card-subtle);
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-sm);
}

.ad-slot-box {
  background: repeating-linear-gradient(
    -45deg,
    var(--bg-card-subtle),
    var(--bg-card-subtle) 10px,
    var(--bg-card) 10px,
    var(--bg-card) 20px
  );
  border: 1.5px dashed var(--border-color);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  color: var(--text-muted);
  transition: all 0.2s ease;
  min-height: 100px;
}

.ad-slot-box:hover {
  border-color: var(--brand-primary);
}

.ad-slot-box .ad-icon {
  font-size: 1.5rem;
  color: var(--brand-primary);
  margin-bottom: 0.35rem;
}

.ad-slot-box .ad-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
}

.ad-slot-box .ad-size-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Leaderboard 728x90 (Responsive) */
.ad-leaderboard {
  min-height: 100px;
  max-width: 728px;
  margin: 0 auto;
}

/* Sidebar Rectangle 300x250 */
.ad-sidebar-rectangle {
  min-height: 250px;
  width: 100%;
}

/* In-Article Responsive Ad */
.ad-in-article {
  min-height: 120px;
  width: 100%;
}

/* ==========================================================================
   2-Column Blog Post Layout & Sidebar (Demo Post)
   ========================================================================== */
.post-layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 2.25rem;
  align-items: start;
}

.post-main-column {
  min-width: 0;
}

.post-sidebar-column {
  position: sticky;
  top: 24px;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.sidebar-widget-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
}

.sidebar-widget-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid var(--border-subtle);
}

.sidebar-post-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.sidebar-post-item {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  text-decoration: none;
  color: var(--text-primary);
  transition: transform 0.2s ease;
}

.sidebar-post-item:hover {
  transform: translateX(4px);
}

.sidebar-post-thumb {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.sidebar-post-title {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sidebar-post-meta {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* Table of Contents (सामग्री सूची) */
.post-toc-card {
  background-color: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--brand-primary);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0 2rem;
}

.post-toc-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.post-toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.post-toc-list li a {
  color: var(--brand-primary);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s;
}

.post-toc-list li a:hover {
  color: var(--brand-primary-hover);
  text-decoration: underline;
}

/* Post Body Tables & Rich Typography */
.post-article-body {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 1.85rem 2.25rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
  font-size: 1.05rem;
  line-height: 1.85;
}

.post-article-body h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0.5rem 0 1.25rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.post-article-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 1.5rem 0 0.75rem;
}

.post-article-body p {
  margin-bottom: 1.25rem;
  line-height: 1.9;
  color: var(--text-primary);
  font-size: 1.05rem;
  background-color: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: all 0.2s ease;
}

.post-article-body p:hover {
  background-color: var(--bg-card);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.post-article-body p:last-child {
  margin-bottom: 0.5rem;
}

.gk-data-table-wrapper {
  overflow-x: auto;
  margin: 1.5rem 0 2rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.gk-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  text-align: left;
}

.gk-data-table th {
  background-color: var(--bg-card-subtle);
  color: var(--text-primary);
  font-weight: 800;
  padding: 0.85rem 1rem;
  border-bottom: 2px solid var(--border-color);
  white-space: nowrap;
}

.gk-data-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.gk-data-table tr:hover td {
  background-color: rgba(37, 99, 235, 0.04);
}

/* Author Box */
.post-author-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  gap: 1.25rem;
  align-items: center;
  margin: 2.5rem 0;
  box-shadow: var(--shadow-sm);
}

.author-avatar-img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--brand-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 2rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.author-info-box h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.author-designation {
  font-size: 0.82rem;
  color: var(--brand-primary);
  font-weight: 700;
  display: block;
  margin-bottom: 0.45rem;
}

.author-bio-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Social Share Bar */
.post-share-bar-full {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--bg-card-subtle);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-lg);
  margin: 2rem 0;
  flex-wrap: wrap;
  gap: 1rem;
}

.share-bar-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.share-buttons-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.btn-share-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-xl);
  font-size: 0.84rem;
  font-weight: 700;
  color: #ffffff;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s;
  text-decoration: none;
  font-family: inherit;
}

.btn-share-pill:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.btn-share-pill.whatsapp { background-color: #25d366; }
.btn-share-pill.telegram { background-color: #0088cc; }
.btn-share-pill.twitter  { background-color: #1da1f2; }
.btn-share-pill.facebook { background-color: #1877f2; }
.btn-share-pill.copy     { background-color: #475569; }

/* ==========================================================================
   AdSense Mandatory Pages (About, Contact, Privacy, Terms, Disclaimer)
   ========================================================================== */
.legal-page-header {
  text-align: center;
  padding: 2.5rem 1rem 1.75rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.06) 0%, rgba(56, 189, 248, 0.05) 100%);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 2.5rem;
}

.legal-page-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.legal-page-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto;
}

.legal-content-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 3.5rem;
  line-height: 1.8;
  font-size: 1rem;
  color: var(--text-secondary);
}

.legal-section {
  margin-bottom: 2.25rem;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.legal-section h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 1.25rem 0 0.5rem;
}

.legal-section p {
  margin-bottom: 1rem;
}

.legal-section ul {
  padding-left: 1.4rem;
  margin-bottom: 1.25rem;
}

.legal-section li {
  margin-bottom: 0.5rem;
}

.legal-highlight-box {
  background-color: var(--bg-card-subtle);
  border-left: 4px solid var(--brand-primary);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  margin: 1.25rem 0;
}

.trust-badges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.trust-badge-item {
  background-color: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  text-align: center;
}

.trust-badge-item .badge-icon {
  font-size: 2.2rem;
  color: var(--brand-primary);
  margin-bottom: 0.65rem;
}

.trust-badge-item h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.trust-badge-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

/* Contact Form Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
}

.contact-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(37, 99, 235, 0.1);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.contact-details h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.contact-details p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

.contact-form-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--text-primary);
  font-family: inherit;
  outline: none;
  transition: all 0.2s;
}

.form-control:focus {
  border-color: var(--brand-primary);
  background-color: var(--bg-card);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

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

.btn-submit-contact {
  background: var(--brand-gradient);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-xl);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-submit-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
}

@media (max-width: 992px) {
  .post-layout-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .post-sidebar-column {
    position: static;
  }
}

/* ==========================================================================
   Blog Magazine Style Lead & Intro Paragraph
   ========================================================================== */
.blog-intro-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2rem 2.25rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.blog-intro-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.blog-intro-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(37, 99, 235, 0.1);
  color: var(--brand-primary);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-xl);
  letter-spacing: 0.02em;
}

.blog-reading-tip {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.blog-intro-card > p,
.blog-intro-content p,
.blog-lead-paragraph {
  font-size: 1.08rem;
  line-height: 1.9;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.blog-intro-content p:last-child {
  margin-bottom: 1.5rem;
}

.blog-intro-content p strong {
  color: var(--text-heading);
  font-weight: 700;
}

.drop-cap {
  float: left;
  font-size: 2.8rem;
  line-height: 0.9;
  font-weight: 800;
  color: var(--brand-primary);
  margin-right: 0.65rem;
  padding: 0.2rem 0.45rem;
  background: rgba(37, 99, 235, 0.1);
  border-radius: var(--radius-sm);
  font-family: 'Mukta', sans-serif;
}

.blog-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 1rem;
}

.blog-summary-item {
  background-color: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.blog-summary-icon {
  font-size: 1.35rem;
  color: var(--brand-primary);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.blog-summary-content h5 {
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.blog-summary-content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 0;
}

.blog-editorial-quote {
  background: linear-gradient(135deg, rgba(234, 88, 12, 0.07) 0%, rgba(245, 158, 11, 0.04) 100%);
  border: 1px dashed rgba(234, 88, 12, 0.35);
  border-left: 4px solid #ea580c;
  border-radius: var(--radius-md);
  padding: 1.15rem 1.35rem;
  margin-top: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.96rem;
  color: var(--text-primary);
  line-height: 1.65;
}

.blog-editorial-quote i.quote-icon {
  font-size: 1.4rem;
  color: var(--brand-primary);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* Category Hero Banner */
.category-hero-banner {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2rem 2.25rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.category-hero-info {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.category-hero-icon {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
}

.category-hero-text h1 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.category-hero-text p {
  font-size: 0.98rem;
  color: var(--text-secondary);
  margin: 0;
  max-width: 620px;
  line-height: 1.5;
}

.category-hero-stats {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.category-stat-pill {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 0.5rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.category-stat-pill i {
  color: var(--brand-primary);
}

/* Feed Section Header (Category & Posts Grids) */
.feed-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 1.75rem;
  padding: 1rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.feed-header-left {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.feed-main-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  line-height: 1.3;
}

.feed-main-title .cat-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.feed-sub-title {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.4;
}

.feed-header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.posts-count-badge {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  color: var(--brand-primary);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-xl);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .feed-section-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.25rem;
    gap: 0.75rem;
    margin-top: 1.5rem;
    margin-bottom: 1.25rem;
  }
  .feed-main-title {
    font-size: 1.15rem;
  }
  .feed-sub-title {
    font-size: 0.85rem;
  }
}

/* Real Image in Grid Thumbnail (1280x720) */
.post-thumb-banner img.thumb-real-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-post-card:hover .post-thumb-banner img.thumb-real-img {
  transform: scale(1.08);
}

/* Post Featured Hero Image (1280x720 px) */
.post-featured-image-box {
  margin-bottom: 2rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  background-color: var(--bg-card);
}

.post-featured-image {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

.featured-image-caption {
  padding: 0.65rem 1.15rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  background-color: var(--bg-card-subtle);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

/* Post In-Content Conceptual Diagram (1200x520 px) */
.post-diagram-image-box {
  margin: 1.75rem 0 2rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  background-color: var(--bg-card);
}

.post-diagram-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 520;
  max-height: 520px;
  object-fit: cover;
  display: block;
}

.diagram-image-caption {
  padding: 0.65rem 1.15rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  background-color: var(--bg-card-subtle);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

@media (max-width: 480px) {
  .logo-icon {
    width: 35px;
    height: 35px;
    min-width: 35px;
    font-size: 1.05rem;
  }
  .logo-text-box h1,
  .logo-title {
    font-size: 1.22rem;
  }
  .logo-tagline {
    display: none;
  }
}

/* Post Paragraph Background Responsive Padding */
@media (max-width: 768px) {
  .post-article-body {
    padding: 1.25rem 1.15rem;
    border-radius: var(--radius-lg);
  }
  .post-article-body p {
    padding: 0.95rem 1.05rem;
    font-size: 0.98rem;
    line-height: 1.8;
  }
  .blog-lead-paragraph {
    padding: 1rem 1.15rem;
    font-size: 1.02rem;
  }
}

/* Dark Theme Overrides for Post Paragraphs */
[data-theme="dark"] .blog-lead-paragraph {
  background-color: var(--bg-card-subtle);
  border-color: var(--border-color);
}

[data-theme="dark"] .post-article-body p {
  background-color: var(--bg-card-subtle);
  border-color: var(--border-color);
  color: var(--text-primary);
}

[data-theme="dark"] .post-article-body p:hover {
  background-color: #1a2540;
  border-color: rgba(59, 130, 246, 0.4);
}

[data-theme="dark"] .explanation-drawer {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(5, 150, 105, 0.06) 100%);
  border-color: rgba(16, 185, 129, 0.3);
}

[data-theme="dark"] .explanation-drawer strong {
  color: #34d399;
}

[data-theme="dark"] .blog-editorial-quote {
  background-color: var(--bg-card-subtle);
  border-color: var(--border-color);
}


