/* ExamNotesPDF — shared note design. Loaded once on single free_notes pages.
   Scoped to #enp-article-content so it only styles note content, never page chrome. */

#enp-article-content .header { background: linear-gradient(135deg, #2d5016, #4a7c2f, #6b4226); color: white; padding: 32px 20px; text-align: center; border-radius: 12px; }
#enp-article-content .header h1 { font-size: 2.1em; margin-bottom: 8px; }
#enp-article-content .header .subtitle { font-size: 1em; color: #c8e6a0; }
#enp-article-content .badge { display: inline-block; background: #c0392b; color: white; padding: 4px 12px; border-radius: 20px; font-size: 0.82em; margin: 4px; }
#enp-article-content .badge-green { background: #27ae60; }
#enp-article-content .badge-orange { background: #e67e22; }

#enp-article-content .toc { background: white; border-left: 5px solid #2d5016; border-radius: 10px; padding: 20px; margin: 20px 0; box-shadow: 0 4px 15px rgba(0,0,0,0.08); }
#enp-article-content .toc h2 { color: #2d5016; margin-bottom: 12px; }
#enp-article-content .toc ol { padding-left: 20px; column-count: 2; }
#enp-article-content .toc li { padding: 3px 0; }
#enp-article-content .toc a { color: #2d5016; text-decoration: none; font-weight: 500; font-size: 0.95em; }
#enp-article-content .toc a:hover { color: #c0392b; }

#enp-article-content .section { background: white; border-radius: 12px; padding: 25px; margin: 20px 0; box-shadow: 0 4px 15px rgba(0,0,0,0.08); }
#enp-article-content .section-header { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 3px solid #f0f4f8; }
#enp-article-content .section-icon { font-size: 1.9em; }
#enp-article-content .section-header h2 { color: #2d5016; font-size: 1.4em; }

#enp-article-content .subsection { margin: 18px 0; }
#enp-article-content .subsection h3 { color: #c0392b; font-size: 1.05em; margin-bottom: 10px; padding: 7px 14px; background: #fdf2f2; border-left: 4px solid #c0392b; border-radius: 0 6px 6px 0; }
#enp-article-content .subsection h4 { color: #2d5016; margin: 10px 0 6px; font-size: 0.98em; font-weight: 700; }

#enp-article-content ul { padding-left: 20px; }
#enp-article-content ul li { padding: 3px 0; color: #333; font-size: 0.95em; }
#enp-article-content ul li::marker { color: #c0392b; }

#enp-article-content .highlight-box { background: linear-gradient(135deg, #e8f5e9, #c8e6c9); border: 1px solid #81c784; border-radius: 8px; padding: 15px; margin: 12px 0; }
#enp-article-content .highlight-box strong { color: #1b5e20; }
#enp-article-content .warning-box { background: #fff9e6; border: 1px solid #f39c12; border-radius: 8px; padding: 14px; margin: 12px 0; }
#enp-article-content .warning-box strong { color: #7d4e00; }
#enp-article-content .success-box { background: #eafaf1; border: 1px solid #27ae60; border-radius: 8px; padding: 14px; margin: 12px 0; }
#enp-article-content .danger-box { background: #fdf2f2; border: 1px solid #e74c3c; border-radius: 8px; padding: 14px; margin: 12px 0; }
#enp-article-content .blue-box { background: #e8f4fd; border: 1px solid #3498db; border-radius: 8px; padding: 14px; margin: 12px 0; }
#enp-article-content .blue-box strong { color: #1a5276; }
#enp-article-content .purple-box { background: #f5eef8; border: 1px solid #9b59b6; border-radius: 8px; padding: 14px; margin: 12px 0; }

#enp-article-content table { display: table; width: 100%; border-collapse: collapse; margin: 15px 0; font-size: 0.9em; }
#enp-article-content th { background: #2d5016; color: white; padding: 10px 12px; text-align: left; }
#enp-article-content td { padding: 9px 12px; border-bottom: 1px solid #e8e8e8; vertical-align: top; }
#enp-article-content tr:nth-child(even) { background: #f9fef5; }
#enp-article-content tr:hover { background: #e8f5e9; }

#enp-article-content .pyq-card { background: linear-gradient(135deg, #1a2a0e, #2d5016); color: white; border-radius: 10px; padding: 15px; margin: 10px 0; border-left: 4px solid #c0392b; }
#enp-article-content .pyq-card .year { background: #c0392b; color: white; padding: 2px 10px; border-radius: 15px; font-size: 0.82em; display: inline-block; margin-bottom: 8px; }
#enp-article-content .pyq-card .question { color: #ddf0c8; font-size: 0.93em; }
#enp-article-content .pyq-card .type { color: #a8c78a; font-size: 0.80em; margin-top: 6px; font-style: italic; }

#enp-article-content .trend-box { background: linear-gradient(135deg, #6b4226, #a0522d); color: white; border-radius: 12px; padding: 20px; margin: 15px 0; }
#enp-article-content .trend-box h3 { margin-bottom: 10px; color: #fde3c4; }

#enp-article-content .bihar-card { border-radius: 12px; margin: 15px 0; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.12); }
#enp-article-content .bihar-card-header { padding: 14px 18px; font-weight: 700; font-size: 1.05em; color: white; }
#enp-article-content .bihar-card-body { padding: 16px 18px; }

#enp-article-content .soil-alluvial .bihar-card-header { background: linear-gradient(135deg, #1565c0, #1976d2); }
#enp-article-content .soil-alluvial .bihar-card-body { background: #e3f2fd; }
#enp-article-content .soil-red .bihar-card-header { background: linear-gradient(135deg, #b71c1c, #c62828); }
#enp-article-content .soil-red .bihar-card-body { background: #ffebee; }
#enp-article-content .soil-laterite .bihar-card-header { background: linear-gradient(135deg, #e65100, #f57c00); }
#enp-article-content .soil-laterite .bihar-card-body { background: #fff3e0; }
#enp-article-content .soil-forest .bihar-card-header { background: linear-gradient(135deg, #1b5e20, #2e7d32); }
#enp-article-content .soil-forest .bihar-card-body { background: #e8f5e9; }
#enp-article-content .soil-diara .bihar-card-header { background: linear-gradient(135deg, #004d40, #00695c); }
#enp-article-content .soil-diara .bihar-card-body { background: #e0f2f1; }
#enp-article-content .soil-chaur .bihar-card-header { background: linear-gradient(135deg, #4a148c, #6a1b9a); }
#enp-article-content .soil-chaur .bihar-card-body { background: #f3e5f5; }

#enp-article-content .news-card { border-left: 4px solid #27ae60; background: #f0fff4; padding: 12px 16px; margin: 10px 0; border-radius: 0 8px 8px 0; }
#enp-article-content .news-card .source { color: #27ae60; font-size: 0.80em; font-weight: bold; margin-bottom: 4px; }
#enp-article-content .news-card .headline { font-weight: 700; color: #1a1a2e; margin: 4px 0; font-size: 0.97em; }
#enp-article-content .news-card p { font-size: 0.92em; color: #333; margin-top: 5px; }

#enp-article-content .flashcard-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 15px; margin: 15px 0; }
#enp-article-content .flashcard { background: linear-gradient(135deg, #1a2a0e, #2d5016); color: white; border-radius: 10px; padding: 18px; border-top: 4px solid #c0392b; }
#enp-article-content .flashcard .num { background: #c0392b; color: white; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; margin-bottom: 10px; font-size: 0.88em; }
#enp-article-content .flashcard p { color: #d5f0b8; font-size: 0.91em; line-height: 1.65; }
#enp-article-content .flashcard strong { color: #ffffff; }

#enp-article-content .imp { background: #c0392b; color: white; padding: 1px 7px; border-radius: 10px; font-size: 0.76em; margin-left: 5px; vertical-align: middle; }
#enp-article-content .mod { background: #e67e22; color: white; padding: 1px 7px; border-radius: 10px; font-size: 0.76em; margin-left: 5px; vertical-align: middle; }
#enp-article-content .bihar-tag { background: #27ae60; color: white; padding: 1px 7px; border-radius: 10px; font-size: 0.76em; margin-left: 5px; vertical-align: middle; }

#enp-article-content .map-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 15px 0; }
#enp-article-content .map-card { border-radius: 8px; padding: 14px; text-align: center; }
#enp-article-content .map-card h4 { font-size: 0.95em; margin-bottom: 6px; }
#enp-article-content .map-card p { font-size: 0.85em; }

#enp-article-content .region-table tr td:first-child { font-weight: 600; color: #1b5e20; }
#enp-article-content .npk-table th { background: #4a7c2f; }
#enp-article-content .npk-table td { text-align: center; }

@media (max-width: 650px) {
  #enp-article-content .header h1 { font-size: 1.45em; }
  #enp-article-content .flashcard-grid { grid-template-columns: 1fr; }
  #enp-article-content .toc ol { column-count: 1; }
  #enp-article-content table { font-size: 0.80em; }
}
