/* 🎯 Mayank AI - Complete Article & CBT Practice Exam Stylesheet */
.mayank-ai-article-wrapper {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans Devanagari", Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  color: #1e293b;
  line-height: 1.7;
  font-size: 15px;
}

/* 📑 विषय सूची (Table of Contents - Collapsible) */
.article-toc-box {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-left: 4px solid #4f46e5;
  border-radius: 10px;
  padding: 14px 18px;
  margin: 22px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.article-toc-box .toc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.article-toc-box .toc-title {
  font-size: 15px;
  font-weight: 800;
  color: #1e1b4b;
  display: flex;
  align-items: center;
  gap: 8px;
}
.article-toc-box .toc-toggle-btn {
  font-size: 12px;
  color: #475569;
  font-weight: 700;
  background: #e2e8f0;
  padding: 4px 10px;
  border-radius: 6px;
  transition: all 0.2s ease;
}
.article-toc-box .toc-header:hover .toc-toggle-btn {
  background: #cbd5e1;
  color: #1e1b4b;
}
.article-toc-box .article-toc-list {
  display: none;
  margin: 14px 0 0;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.85;
}
.article-toc-box .article-toc-list li {
  margin-bottom: 6px;
}
.article-toc-box .article-toc-list li a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s;
}
.article-toc-box .article-toc-list li a:hover {
  color: #1e1b4b;
  text-decoration: underline;
}

/* 📋 15-Section Strict 2-Column Tables (Responsive & Modern) */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 16px 0 24px;
  -webkit-overflow-scrolling: touch;
}
.table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  font-size: 13.5px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  margin: 0;
}
.table-bordered th,
.table-bordered td {
  border: 1px solid #e2e8f0;
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
}
.table thead th {
  background: #f1f5f9;
  color: #0f172a;
  font-weight: 800;
  border-bottom: 2px solid #cbd5e1;
  font-size: 13.5px;
}
.table tbody tr:nth-child(even) {
  background: #f8fafc;
}
.table tbody tr:hover {
  background: #f1f5f9;
}
.table td:first-child {
  font-weight: 700;
  color: #1e293b;
  width: 38%;
  background: #fcfcfd;
}

/* 📊 Headings, Paragraphs, Lists & Advisory Box */
.mayank-ai-article-wrapper h2, .post-body-content h2, h2.art-sec-h2 {
  font-size: 19px;
  font-weight: 800;
  color: #0f172a;
  margin: 28px 0 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid #e2e8f0;
  line-height: 1.4;
}
.mayank-ai-article-wrapper h3, .post-body-content h3 {
  font-size: 16px;
  font-weight: 700;
  color: #334155;
  margin: 18px 0 8px;
}
.mayank-ai-article-wrapper h4, .post-body-content h4 {
  font-size: 15px;
  font-weight: 700;
  color: #1e1b4b;
  margin: 14px 0 6px;
}
.mayank-ai-article-wrapper p, .post-body-content p {
  font-size: 14.5px;
  line-height: 1.75;
  color: #334155;
  margin: 0 0 14px;
}
.mayank-ai-article-wrapper ul, .post-body-content ul,
.mayank-ai-article-wrapper ol, .post-body-content ol {
  font-size: 14.5px;
  line-height: 1.75;
  color: #334155;
  margin: 0 0 16px;
  padding-left: 24px;
}
.mayank-ai-article-wrapper li, .post-body-content li {
  margin-bottom: 6px;
}
.mayank-ai-article-wrapper a, .post-body-content a {
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
}
.mayank-ai-article-wrapper a:hover, .post-body-content a:hover {
  text-decoration: underline;
}
.alert-box {
  background: #eff6ff;
  border-left: 4px solid #3b82f6;
  padding: 12px 16px;
  border-radius: 6px;
  margin: 16px 0;
  font-size: 13.5px;
  color: #1e40af;
}

/* 🎯 CGSSB Style Interactive CBT Practice Exam */
#practice-exam-paper-wrap {
  margin: 30px 0;
}
.cg-q-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: all .2s ease;
}
.cg-q-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 14px rgba(0,0,0,0.07);
}
.cg-sec-badge {
  display: inline-block;
  background: #f1f5f9;
  color: #475569;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 5px;
  margin-bottom: 10px;
  border-left: 3px solid #6366f1;
}
.cg-exam-tag {
  display: inline-block;
  background: #e0e7ff;
  color: #3730a3;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
}
.cg-q-title {
  font-size: 15.5px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.5;
  margin-bottom: 14px;
}
.cg-opt-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-bottom: 14px;
}
@media(min-width: 640px) {
  .cg-opt-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.cg-opt {
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13.5px;
  color: #334155;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: all .15s ease;
  outline: none;
  font-family: inherit;
}
.cg-opt:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}
.cg-opt.cg-correct {
  background: #ecfdf5 !important;
  border-color: #10b981 !important;
  color: #065f46 !important;
  font-weight: 700;
}
.cg-opt.cg-wrong {
  background: #fef2f2 !important;
  border-color: #ef4444 !important;
  color: #991b1b !important;
}
.cg-opt-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #475569;
  font-weight: 800;
  font-size: 12px;
  margin-right: 10px;
  flex-shrink: 0;
}
.cg-opt.cg-correct .cg-opt-letter {
  background: #10b981;
  color: #fff;
}
.cg-opt.cg-wrong .cg-opt-letter {
  background: #ef4444;
  color: #fff;
}
.cg-toggle-btn {
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  color: #334155;
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all .2s;
  outline: none;
}
.cg-toggle-btn:hover {
  background: #e2e8f0;
}
.cg-toggle-btn.is-active {
  background: #312e81;
  color: #fff;
  border-color: #312e81;
}
.cg-sol-box {
  display: none;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px;
  margin-top: 12px;
  animation: cgFadeIn .2s ease;
}
.cg-sol-box.is-open {
  display: block;
}
@keyframes cgFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.cg-trick-box {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1px solid #fde68a;
  border-radius: 6px;
  padding: 10px 14px;
  margin-top: 10px;
  font-size: 13px;
  color: #92400e;
}