﻿@charset "utf-8";
/*
 * ╔══════════════════════════════════════════════════════════════╗
 *  evidyarthi.in — WordPress Design System  |  v3.0
 *  Scope   : .evid-wp  (zero global selectors — 100% WP safe)
 *  Prefix  : ev-  (all component classes use this prefix)
 *
 *  HOW TO USE
 *  ──────────
 *  1. Upload this file to your theme or media library
 *  2. Enqueue / link it once (header or page builder)
 *  3. Wrap every post content in:
 *       <div class="evid-wp">
 *         <div class="ev-wrap"> … your HTML … </div>
 *       </div>
 *  4. Add evid-custom.js before </body>
 *
 *  QUICK FIND  (Ctrl+F the section number)
 *  ────────────────────────────────────────
 *  §1   Fonts
 *  §2   Design Tokens (all CSS variables)
 *  §3   Scoped Reset
 *  §4   Layout  ──  ev-wrap · ev-col2 · ev-col3 · ev-col2-equal
 *  §5   Page Header  ──  ev-header (centered style)
 *  §6   Top Band  ──  ev-top-band  (site-info strip)
 *  §7   Hero  ──  ev-hero (dark gradient, stats, pill)
 *  §8   Tricolor & Stripe  ──  ev-tricolor · ev-stripe
 *  §9   TOC  ──  ev-toc-card · ev-toc-bar (sticky) · ev-toc-box (gold)
 *  §10  Section Heading  ──  ev-section-head
 *  §11  Accordion Panel  ──  ev-accordion
 *  §12  Note / Callout  ──  ev-note (+5 colour variants)
 *  §13  Card Grids  ──  ev-grid · ev-card · ev-fact-card · ev-reason-card
 *  §14  King / Ruler Card  ──  ev-ruler
 *  §15  Dynasty Block  ──  ev-dynasty
 *  §16  Person Profile  ──  ev-profile
 *  §17  Timeline  ──  ev-timeline · ev-tl-item
 *  §18  Data Table  ──  ev-table
 *  §19  Quick-Revision Table  ──  ev-qr-table
 *  §20  Quiz (MCQ)  ──  ev-quiz
 *  §21  Q&A Accordion  ──  ev-qa
 *  §22  List  ──  ev-list (+compact +numbered)
 *  §23  Tags & Badges  ──  ev-tag · ev-badge
 *  §24  Progress Bar  ──  ev-progress-list
 *  §25  Summary Box  ──  ev-summary
 *  §26  BPSC Dark Box  ──  ev-bpsc-box
 *  §27  PYQ Block  ──  ev-pyq
 *  §28  Mnemonic  ──  ev-mnemonic
 *  §29  Pull Quote  ──  ev-pull-quote
 *  §30  Challenge Box  ──  ev-challenge
 *  §31  Special Box  ──  ev-special
 *  §32  Conclusion Box  ──  ev-conclusion
 *  §33  Vision / Dark Grid  ──  ev-vision
 *  §34  Sidebar  ──  ev-sidebar · ev-sidebar-card · ev-kv-row
 *  §35  Geo Features Grid  ──  ev-geo-grid
 *  §36  Tags Strip & Footer  ──  ev-tags-strip · ev-foot-strip
 *  §37  Decorative  ──  ev-divider · ev-ornament
 *  §38  Typography helpers  ──  ev-h1 … ev-h3 · ev-p · ev-lead
 *  §39  Responsive Breakpoints
 * ╚══════════════════════════════════════════════════════════════╝
 */


/* ═══════════════════════════════════════════════════════════════
   §1  FONTS
   ─────────────────────────────────────────────────────────────
   All three weights used across your pages are covered here.
   No extra import needed in individual HTML files.
   ═══════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Tiro+Devanagari+Hindi:ital@0;1&family=Noto+Sans+Devanagari:wght@300;400;500;600;700;900&family=Noto+Serif+Devanagari:wght@400;600;700&display=swap');


/* ═══════════════════════════════════════════════════════════════
   §2  DESIGN TOKENS
   ─────────────────────────────────────────────────────────────
   All colours, shadows, radii and font stacks in one place.
   Override any token at page level:
     .evid-wp { --c-navy: #123456; }
   ═══════════════════════════════════════════════════════════════ */
.evid-wp {
  /* ── Brand colours ────────────────────── */
  --c-navy:       #1B3A6B;   /* primary deep blue — headings, panels     */
  --c-navy-lt:    #2E4F90;   /* lighter navy — gradients, hover states   */
  --c-gold:       #C8870A;   /* main accent — bullets, borders, pills    */
  --c-gold-lt:    #E8A532;   /* lighter gold — highlights, gradient ends */
  --c-orange:     #D4601A;   /* strong accent — CTA pills, warnings      */
  --c-green:      #1A5C35;   /* success / nature — correct answers       */
  --c-red:        #8B1A1A;   /* danger / challenge boxes                 */
  --c-blue:       #1A5490;   /* information callouts                     */
  --c-teal:       #0D6B6B;   /* alternate accent                         */
  --c-maroon:     #6B1A24;   /* deep maroon header variant               */

  /* ── Neutrals ─────────────────────────── */
  --c-ink:        #1C1208;   /* darkest text                             */
  --c-ink-soft:   #3A2C14;   /* body text                                */
  --c-muted:      #6B5A3E;   /* captions, labels, secondary text         */
  --c-bg:         #F9F5EE;   /* page / card background (warm off-white)  */
  --c-surface:    #FFFFFF;   /* card surface                             */
  --c-border:     #DDD0B8;   /* standard border                          */
  --c-border-lt:  #EDE4D0;   /* subtle / dashed border                   */

  /* ── Tints (background fills) ─────────── */
  --c-gold-tint:  #FFF7E0;
  --c-navy-tint:  #EEF3FF;
  --c-green-tint: #EEF8F2;
  --c-red-tint:   #FFF0F0;
  --c-blue-tint:  #EAF3FF;

  /* ── Shadows ──────────────────────────── */
  --sh-sm:  0 2px 8px  rgba(27,58,107,.07);
  --sh-md:  0 4px 20px rgba(27,58,107,.11);
  --sh-lg:  0 8px 40px rgba(27,58,107,.15);

  /* ── Radii ────────────────────────────── */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 18px;

  /* ── Font stacks ──────────────────────── */
  --f-sans:  'Noto Sans Devanagari', 'Noto Sans', sans-serif;
  --f-serif: 'Tiro Devanagari Hindi', 'Noto Serif Devanagari', Georgia, serif;
}


/* ═══════════════════════════════════════════════════════════════
   §3  SCOPED RESET
   ─────────────────────────────────────────────────────────────
   Resets ONLY inside .evid-wp — never touches WP theme styles.
   ═══════════════════════════════════════════════════════════════ */
.evid-wp,
.evid-wp *,
.evid-wp *::before,
.evid-wp *::after { box-sizing: border-box; }

.evid-wp {
  font-family: 'Noto Sans Devanagari', sans-serif;
  font-size: 15.5px;
  line-height: 1.85;
  color: #1C1208;
  background: transparent;
  width: 100%;
  -webkit-font-smoothing: antialiased;
}

.evid-wp img  { max-width: 100%; height: auto; display: block; }
.evid-wp a    { color: #1B3A6B; text-decoration: none; }
.evid-wp a:hover { color: #C8870A; }
.evid-wp ul, .evid-wp ol { margin: 0; padding: 0; list-style: none; }


/* ═══════════════════════════════════════════════════════════════
   §4  LAYOUT
   ─────────────────────────────────────────────────────────────
   USAGE:
   ┌─────────────────────────────────────────────────────────┐
   │  <div class="evid-wp">                                  │
   │    <div class="ev-wrap">                                │
   │      <!-- all content goes here -->                     │
   │    </div>                                               │
   │  </div>                                                 │
   └─────────────────────────────────────────────────────────┘

   Two-column (content + sidebar):
     <div class="ev-col2">
       <main> … </main>
       <aside class="ev-sidebar"> … </aside>
     </div>

   Three equal columns:
     <div class="ev-col3"> <div>…</div> × 3 </div>

   Two equal columns:
     <div class="ev-col2-equal"> <div>…</div> × 2 </div>
   ═══════════════════════════════════════════════════════════════ */

.evid-wp .ev-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 22px 64px;
}

.evid-wp .ev-col2 {
  display: grid;
  grid-template-columns: 1fr 290px;
  gap: 32px;
  align-items: start;
}

.evid-wp .ev-col3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.evid-wp .ev-col2-equal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}


/* ═══════════════════════════════════════════════════════════════
   §5  PAGE HEADER  (centered, with badge and tags)
   ─────────────────────────────────────────────────────────────
   USAGE:
     <div class="ev-header">
       <span class="ev-header-badge">BPSC Special Notes</span>
       <h1 class="ev-h1">Page Title <span class="ev-accent">Accent</span></h1>
       <p class="ev-header-sub">Subtitle text here</p>
       <div class="ev-header-tags">
         <span class="ev-header-tag">📚 Tag One</span>
         <span class="ev-header-tag">🏛️ Tag Two</span>
       </div>
     </div>
   ═══════════════════════════════════════════════════════════════ */

.evid-wp .ev-header {
  background: linear-gradient(135deg, #1B3A6B 0%, #2E4F90 50%, #1E3A7A 100%);
  color: #fff;
  padding: 48px 24px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: 14px 14px 0 0;
}
/* Subtle crosshatch overlay */
.evid-wp .ev-header::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.evid-wp .ev-header-badge {
  display: inline-block;
  background: #D4601A;
  color: #fff;
  font-size: 13px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 5px 16px; border-radius: 20px;
  margin-bottom: 16px;
  position: relative; z-index: 1;
}

.evid-wp .ev-header-sub {
  font-size: 14.5px;
  color: rgba(255,255,255,.68);
  max-width: 600px; margin: 0 auto 22px;
  position: relative; z-index: 1;
}

.evid-wp .ev-header-tags {
  display: flex; flex-wrap: wrap;
  gap: 8px; justify-content: center;
  position: relative; z-index: 1;
}
.evid-wp .ev-header-tag {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  color: rgba(255,255,255,.85);
  font-size: 14px; padding: 4px 13px; border-radius: 12px;
}


/* ═══════════════════════════════════════════════════════════════
   §6  TOP BAND  (thin site-info strip above hero)
   ─────────────────────────────────────────────────────────────
   USAGE:
     <div class="ev-top-band">
       <span>BPSC Special | General Studies</span>
       <span class="ev-tb-site">eVidyarthi</span>
       <span>Updated: <strong>2025–26</strong></span>
     </div>
   ═══════════════════════════════════════════════════════════════ */

.evid-wp .ev-top-band {
  background: #1B3A6B;
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 32px;
  font-size: 13px; letter-spacing: 0.7px; text-transform: uppercase;
  color: rgba(255,255,255,.6);
}
.evid-wp .ev-top-band strong { color: #E8A532; }
.evid-wp .ev-tb-site {
  font-size: 15px; letter-spacing: 3px;
  color: #fff; font-weight: 700; font-family: 'Tiro Devanagari Hindi', Georgia, serif;
}


/* ═══════════════════════════════════════════════════════════════
   §7  HERO  (dark gradient + chakra + stats)
   ─────────────────────────────────────────────────────────────
   USAGE:
     <div class="ev-hero">
       <!-- Optional decorative chakra SVG: add class ev-chakra -->
       <div class="ev-hero-inner">
         <span class="ev-hero-pill">BPSC विशेष</span>
         <!-- Or: <span class="ev-hero-pill pill-gold"> for gold pill -->
         <h1 class="ev-h1">Title <span class="ev-accent">Accent</span></h1>
         <p class="ev-hero-sub">Subtitle</p>

         <!-- Optional stat bar: -->
         <div class="ev-hero-stats">
           <div class="ev-hero-stat">
             <span class="ev-sv">322 BCE</span>
             <span class="ev-sl">स्थापना वर्ष</span>
           </div>
           <!-- repeat ev-hero-stat for each stat -->
         </div>
       </div>
     </div>
   ═══════════════════════════════════════════════════════════════ */

.evid-wp .ev-hero {
  background: linear-gradient(150deg, #0D1F40 0%, #1B3A6B 55%, #0F3828 100%);
  position: relative; overflow: hidden;
}
/* Dot texture */
.evid-wp .ev-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
/* Colour glows */
.evid-wp .ev-hero::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 15% 65%, rgba(212,96,26,.18) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(26,92,53,.2) 0%, transparent 45%);
  pointer-events: none;
}

/* Decorative Ashoka Chakra — paste any SVG with class ev-chakra */
.evid-wp .ev-chakra {
  position: absolute; right: -80px; top: 50%;
  transform: translateY(-50%);
  width: 380px; height: 380px;
  opacity: 0.06; pointer-events: none; z-index: 1;
}

.evid-wp .ev-hero-inner {
  position: relative; z-index: 2;
  padding: 56px 44px 48px;
}

/* Pill label above title */
.evid-wp .ev-hero-pill {
  display: inline-block;
  background: #D4601A;
  color: #fff; font-size: 13px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 5px 16px; border-radius: 20px; margin-bottom: 18px;
}
.evid-wp .ev-hero-pill.pill-gold  { background: #C8870A; }
.evid-wp .ev-hero-pill.pill-green { background: #1A5C35; }

/* Subtitle under h1 */
.evid-wp .ev-hero-sub {
  color: rgba(255,255,255,.62);
  font-size: 14.5px; max-width: 540px; line-height: 1.75; margin-top: 10px;
}

/* Stat strip below subtitle */
.evid-wp .ev-hero-stats {
  display: flex; flex-wrap: wrap; gap: 0; margin-top: 30px;
}
.evid-wp .ev-hero-stat {
  padding: 12px 22px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12); border-right: none;
  display: flex; flex-direction: column;
}
.evid-wp .ev-hero-stat:first-child { border-radius: 6px 0 0 6px; }
.evid-wp .ev-hero-stat:last-child  {
  border-right: 1px solid rgba(255,255,255,.12);
  border-radius: 0 6px 6px 0;
}
.evid-wp .ev-hero-stat .ev-sv {
  font-size: 18px; font-weight: 700; color: #fff; line-height: 1;
  font-family: 'Tiro Devanagari Hindi', Georgia, serif;
}
.evid-wp .ev-hero-stat .ev-sl {
  font-size: 13px; color: rgba(255,255,255,.5);
  text-transform: uppercase; letter-spacing: 1px; margin-top: 3px;
}

/* Hero with background image — add class ev-hero-img */
.evid-wp .ev-hero .ev-bg-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.2; mix-blend-mode: luminosity; z-index: 0;
}

/* Right-side stat badge (shows key number in hero corner) */
.evid-wp .ev-hero-badge-box {
  background: rgba(200,135,10,.15);
  border: 1px solid rgba(200,135,10,.5);
  border-radius: 10px; padding: 20px 26px;
  text-align: center; min-width: 170px; flex-shrink: 0;
}
.evid-wp .ev-hb-label {
  font-size: 13px; text-transform: uppercase;
  letter-spacing: 2px; color: #C8870A; margin-bottom: 6px; display: block;
}
.evid-wp .ev-hb-val {
  font-size: 28px; font-weight: 900; color: #fff; line-height: 1; display: block;
}
.evid-wp .ev-hb-sub {
  font-size: 13px; color: rgba(255,255,255,.45); margin-top: 4px; display: block;
}


/* ═══════════════════════════════════════════════════════════════
   §8  TRICOLOR & STRIPE  (decorative lines)
   ─────────────────────────────────────────────────────────────
   USAGE:
     <div class="ev-tricolor"></div>   <!-- Indian flag stripe -->
     <div class="ev-stripe"></div>     <!-- Gold gradient top stripe -->
   ═══════════════════════════════════════════════════════════════ */

.evid-wp .ev-tricolor {
  height: 5px;
  background: linear-gradient(to right, #FF9933 33.33%, #fff 33.33%, #fff 66.66%, #138808 66.66%);
}

.evid-wp .ev-stripe {
  height: 4px;
  background: linear-gradient(90deg, #D4601A, #C8870A, #F5C842, #C8870A, #D4601A);
  border-radius: 3px 3px 0 0;
}


/* ═══════════════════════════════════════════════════════════════
   §9  TABLE OF CONTENTS
   ─────────────────────────────────────────────────────────────
   Three TOC styles — pick one per page:

   A) ev-toc-card   Dark navy card (full-page articles)
      <div class="ev-toc-card">
        <div class="ev-toc-card-head">📋 विषय-सूची</div>
        <div class="ev-toc-card-body">
          <a href="#s1" class="ev-toc-item">
            <span class="ev-toc-num">1</span> Section name
          </a>
          <!-- repeat -->
        </div>
      </div>

   B) ev-toc-box   Gold-bordered box (study notes style)
      <div class="ev-toc-box">
        <div class="ev-toc-box-head">📋 विषय-सूची</div>
        <ul class="ev-toc-list">
          <li><a href="#s1"><span class="ev-toc-num">1</span> Section</a></li>
        </ul>
      </div>

   C) ev-toc-bar   Sticky horizontal nav bar (magadh style)
      <nav class="ev-toc-bar">
        <div class="ev-toc-bar-inner">
          <a href="#s1" class="ev-toc-link">Section 1</a>
          <!-- repeat -->
        </div>
      </nav>
   ═══════════════════════════════════════════════════════════════ */

/* A) Dark card TOC */
.evid-wp .ev-toc-card {
  background: #1B3A6B; border-radius: 10px;
  overflow: hidden; margin-bottom: 44px;
}
.evid-wp .ev-toc-card-head {
  background: #2E4F90; padding: 13px 22px;
  font-size: 15px; font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase;
  color: rgba(255,255,255,.85);
  display: flex; align-items: center; gap: 8px;
}
.evid-wp .ev-toc-card-body {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2px; padding: 14px 16px 18px;
}
.evid-wp .ev-toc-item {
  display: flex; align-items: center; gap: 9px;
  padding: 7px 10px; border-radius: 6px;
  color: rgba(255,255,255,.72); font-size: 16px; font-weight: 500;
  text-decoration: none; transition: background .18s, color .18s;
}
.evid-wp .ev-toc-item:hover,
.evid-wp .ev-toc-item.active {
  background: rgba(255,255,255,.09); color: #E8A532;
}

/* Shared number badge for all TOC styles */
.evid-wp .ev-toc-num {
  width: 20px; height: 20px; background: #C8870A;
  color: #fff; font-size: 13px; font-weight: 800;
  border-radius: 4px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* B) Gold box TOC */
.evid-wp .ev-toc-box {
  background: #FFF7E0;
  border: 1px solid rgba(200,135,10,.35);
  border-left: 4px solid #C8870A;
  border-radius: 10px; padding: 20px 26px; margin-bottom: 40px;
}
.evid-wp .ev-toc-box-head {
  font-size: 14px; font-weight: 700; color: #1B3A6B;
  margin-bottom: 14px; display: flex; align-items: center; gap: 8px;
}
.evid-wp .ev-toc-list {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5px 22px; list-style: none; margin: 0; padding: 0;
}
.evid-wp .ev-toc-list li a {
  display: flex; align-items: center; gap: 7px;
  color: #1B3A6B; font-size: 13.5px; text-decoration: none;
  transition: color .18s;
}
.evid-wp .ev-toc-list li a:hover { color: #D4601A; }

/* C) Sticky horizontal nav bar TOC */
.evid-wp .ev-toc-bar {
  background: #6B1A24;
  border-bottom: 2px solid #C8870A;
  position: sticky; top: 0; z-index: 100; overflow-x: auto;
}
.evid-wp .ev-toc-bar-inner {
  display: flex; gap: 0; padding: 0 16px;
  min-width: max-content;
}
.evid-wp .ev-toc-link {
  color: #E8A532; text-decoration: none;
  font-size: 14px; padding: 10px 14px; white-space: nowrap;
  font-weight: 500; letter-spacing: 0.3px;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s, background .2s;
}
.evid-wp .ev-toc-link:hover,
.evid-wp .ev-toc-link.active {
  color: #C8870A;
  border-bottom-color: #C8870A;
  background: rgba(200,135,10,.08);
}


/* ═══════════════════════════════════════════════════════════════
   §10  SECTION HEADING
   ─────────────────────────────────────────────────────────────
   USAGE:
     <div class="ev-section" id="section-id">
       <div class="ev-section-head">
         <div class="ev-sec-icon bg-gold">🏺</div>
         <div>
           <h2 class="ev-h2">Section Title</h2>
           <div class="ev-sec-en">English subtitle</div>
         </div>
         <span class="ev-sec-num">01</span>
       </div>
       <!-- section content -->
     </div>

   Icon bg classes: bg-gold · bg-navy · bg-green · bg-red · bg-blue · bg-teal
   ═══════════════════════════════════════════════════════════════ */

.evid-wp .ev-section {
  margin-bottom: 56px;
  scroll-margin-top: 76px;
}
.evid-wp .ev-section-head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 26px; padding-bottom: 14px;
  border-bottom: 2px solid #DDD0B8;
  position: relative;
}
/* Gold accent underline */
.evid-wp .ev-section-head::after {
  content: '';
  position: absolute; bottom: -2px; left: 0;
  width: 52px; height: 2px; background: #C8870A;
}
.evid-wp .ev-sec-icon {
  width: 44px; height: 44px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
  border: 1px solid #EDE4D0;
}
.evid-wp .ev-sec-icon.bg-gold  { background: #FFF7E0; }
.evid-wp .ev-sec-icon.bg-navy  { background: #EEF3FF; }
.evid-wp .ev-sec-icon.bg-green { background: #EEF8F2; }
.evid-wp .ev-sec-icon.bg-red   { background: #FFF0F0; }
.evid-wp .ev-sec-icon.bg-blue  { background: #EAF3FF; }
.evid-wp .ev-sec-icon.bg-teal  { background: #E6F7F7; }

.evid-wp .ev-sec-en {
  font-size: 13px; color: #6B5A3E; margin-top: 2px; letter-spacing: 0.5px;
}
.evid-wp .ev-sec-num {
  margin-left: auto; flex-shrink: 0;
  font-size: 13px; font-weight: 700; color: #6B5A3E;
  background: #F9F5EE; border: 1px solid #DDD0B8;
  padding: 3px 10px; border-radius: 20px; letter-spacing: 0.4px;
}


/* ═══════════════════════════════════════════════════════════════
   §11  ACCORDION PANEL  (collapsible section body)
   ─────────────────────────────────────────────────────────────
   USAGE:
     <div class="ev-accordion">
       <button class="ev-acc-trigger acc-navy">🏛️ Panel Title</button>
       <div class="ev-acc-body">
         <!-- content — ev-p, ev-list, ev-table, etc. -->
       </div>
     </div>

   Trigger colours: acc-navy (default) · acc-gold · acc-green · acc-red · acc-orange · acc-maroon · acc-teal
   Note: JS auto-inserts the ▼ arrow & handles open/close.
   ═══════════════════════════════════════════════════════════════ */

.evid-wp .ev-accordion {
  border: 1px solid #DDD0B8; border-radius: 10px;
  overflow: hidden;   /* needed to clip rounded corners on trigger */
  margin-bottom: 14px; box-shadow: 0 2px 8px rgba(27,58,107,.07);
}
/* Release overflow when open so child card box-shadows aren't clipped */
.evid-wp .ev-accordion.open {
  overflow: visible;
}
/* Re-clip just the trigger so its gradient stays within rounded corners */
.evid-wp .ev-accordion.open .ev-acc-trigger {
  border-radius: 10px 10px 0 0;
}
.evid-wp .ev-acc-trigger {
  width: 100%; display: flex; align-items: center; gap: 12px;
  padding: 15px 20px; font-size: 15px; font-weight: 700; color: #fff;
  cursor: pointer; user-select: none; border: none; outline: none;
  text-align: left; font-family: 'Noto Sans Devanagari', sans-serif;
  background: linear-gradient(90deg, #1B3A6B, #2E4F90);
  transition: filter .2s;
}
.evid-wp .ev-acc-trigger:hover { filter: brightness(1.1); }

/* Colour variants */
.evid-wp .ev-acc-trigger.acc-navy  { background: linear-gradient(90deg, #1B3A6B, #2E4F90); }
.evid-wp .ev-acc-trigger.acc-gold    { background: linear-gradient(90deg, #8B5C08, #C8870A); }
.evid-wp .ev-acc-trigger.acc-green   { background: linear-gradient(90deg, #0D3D22, #1A5C35); }
.evid-wp .ev-acc-trigger.acc-red     { background: linear-gradient(90deg, #5A1010, #8B1A1A); }
.evid-wp .ev-acc-trigger.acc-orange  { background: linear-gradient(90deg, #8B3408, #D4601A); }
.evid-wp .ev-acc-trigger.acc-maroon  { background: linear-gradient(90deg, #6B1A24, #8B1A2F); }
.evid-wp .ev-acc-trigger.acc-teal    { background: linear-gradient(90deg, #073A3A, #0D6B6B); }

/* Chevron (injected by JS) */
.evid-wp .ev-acc-arrow {
  margin-left: auto; font-size: 13px; flex-shrink: 0;
  transition: transform .25s ease;
}
.evid-wp .ev-accordion.open .ev-acc-arrow { transform: rotate(180deg); }

/* Collapsible body — collapsed by default */
.evid-wp .ev-acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .32s ease, padding .22s;
  padding: 0 22px;
  background: #ffffff;
}
/* Open state — none means content is never clipped regardless of length */
.evid-wp .ev-accordion.open .ev-acc-body {
  max-height: none;
  overflow: visible;
  padding: 20px 22px 22px;
}


/* ═══════════════════════════════════════════════════════════════
   §12  NOTE / CALLOUT  (info boxes with left border)
   ─────────────────────────────────────────────────────────────
   USAGE:
     <div class="ev-note">                    <!-- gold (default) -->
     <div class="ev-note note-blue">          <!-- blue info -->
     <div class="ev-note note-green">         <!-- green success -->
     <div class="ev-note note-red">           <!-- red warning -->
     <div class="ev-note note-navy">          <!-- navy neutral -->
     <div class="ev-note note-mains">         <!-- dashed green — mains answer -->

       <span class="ev-note-icon">⭐</span>
       <div class="ev-note-body">
         <span class="ev-note-title">BPSC Exam Tip</span>
         Content text here with <strong>bold</strong> terms.
       </div>
     </div>

   Without icon (simpler):
     <div class="ev-note note-blue">
       <strong>Key fact:</strong> text here
     </div>
   ═══════════════════════════════════════════════════════════════ */

.evid-wp .ev-note {
  border-radius: 10px; padding: 15px 18px; margin: 18px 0;
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 14.5px; line-height: 1.8; color: #3A2C14;
  /* Default: gold */
  background: #FFF7E0;
  border: 1px solid rgba(200,135,10,.3); border-left: 4px solid #C8870A;
}
.evid-wp .ev-note-icon { font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.evid-wp .ev-note-body { flex: 1; }
.evid-wp .ev-note-title {
  font-size: 17px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 1.2px; color: #C8870A; margin-bottom: 5px; display: block;
}

.evid-wp .ev-note.note-blue  { background: #EAF3FF;  border-color: rgba(26,84,144,.25);  border-left-color: #1A5490; }
.evid-wp .ev-note.note-blue  .ev-note-title { color: #1A5490; }
.evid-wp .ev-note.note-green { background: #EEF8F2; border-color: rgba(26,92,53,.25);  border-left-color: #1A5C35; }
.evid-wp .ev-note.note-green .ev-note-title { color: #1A5C35; }
.evid-wp .ev-note.note-red   { background: #FFF0F0;   border-color: rgba(139,26,26,.25); border-left-color: #8B1A1A; }
.evid-wp .ev-note.note-red   .ev-note-title { color: #8B1A1A; }
.evid-wp .ev-note.note-navy  { background: #EEF3FF;  border-color: rgba(27,58,107,.2);  border-left-color: #1B3A6B; }
.evid-wp .ev-note.note-navy  .ev-note-title { color: #1B3A6B; }
/* Mains answer — dashed green border */
.evid-wp .ev-note.note-mains {
  background: #F8FFF8; border: 1.5px dashed #1A5C35; border-left: 4px solid #1A5C35;
}
.evid-wp .ev-note.note-mains .ev-note-title { color: #1A5C35; }


/* ═══════════════════════════════════════════════════════════════
   §13  CARD GRIDS
   ─────────────────────────────────────────────────────────────
   A) Generic ev-card in ev-grid:
      <div class="ev-grid">            <!-- auto-fill 240px columns -->
      <div class="ev-grid cols-2">     <!-- force 2 columns -->
      <div class="ev-grid cols-3">     <!-- force 3 columns -->

        <div class="ev-card card-gold">   <!-- top border: gold/navy/green/red/orange -->
          <div class="ev-card-head">
            <span class="ev-card-icon">🏺</span>
            <span class="ev-card-title">Card Title</span>
          </div>
          <div class="ev-card-body">Card description text</div>
        </div>

   B) Stat / fact card (large number + label):
        <div class="ev-fact-card">
          <div class="ev-fact-num">26px</div>
          <div class="ev-fact-label">Label text</div>
        </div>

   C) Reason card (numbered, used in "Causes of..." sections):
        <div class="ev-reason-card">
          <div class="ev-reason-num">01</div>
          <div class="ev-reason-title">🌏 Reason Title</div>
          <p class="ev-reason-text">Description</p>
        </div>

   D) Vision dark card (inside ev-vision block):
      See §33.
   ═══════════════════════════════════════════════════════════════ */

.evid-wp .ev-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px; margin: 18px 0;
}
.evid-wp .ev-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.evid-wp .ev-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.evid-wp .ev-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* Generic card */
.evid-wp .ev-card {
  background: #ffffff; border: 1px solid #DDD0B8;
  border-radius: 10px; overflow: hidden; box-shadow: 0 2px 8px rgba(27,58,107,.07);
  transition: transform .2s, box-shadow .2s;
}
.evid-wp .ev-card:hover { transform: translateY(-3px); box-shadow: 0 4px 20px rgba(27,58,107,.11); }
.evid-wp .ev-card.card-gold   { border-top: 3px solid #C8870A; }
.evid-wp .ev-card.card-navy   { border-top: 3px solid #1B3A6B; }
.evid-wp .ev-card.card-green  { border-top: 3px solid #1A5C35; }
.evid-wp .ev-card.card-red    { border-top: 3px solid #8B1A1A; }
.evid-wp .ev-card.card-orange { border-top: 3px solid #D4601A; }

.evid-wp .ev-card-head {
  padding: 14px 16px 0; display: flex; align-items: center; gap: 9px;
}
.evid-wp .ev-card-icon  { font-size: 22px; }
.evid-wp .ev-card-title { font-size: 17px; font-weight: 700; color: #1B3A6B; }
.evid-wp .ev-card-body  { padding: 9px 16px 15px; font-size: 16.5px; color: #6B5A3E; line-height: 1.7; }

/* Dot colour indicator inside card titles */
.evid-wp .ev-dot {
  width: 10px; height: 10px; border-radius: 50%;
  display: inline-block; flex-shrink: 0;
}
.evid-wp .ev-dot.d-gold   { background: #C8870A; }
.evid-wp .ev-dot.d-navy   { background: #1B3A6B; }
.evid-wp .ev-dot.d-green  { background: #1A5C35; }
.evid-wp .ev-dot.d-red    { background: #8B1A1A; }
.evid-wp .ev-dot.d-orange { background: #D4601A; }

/* Stat / fact card (large centred number) */
.evid-wp .ev-fact-card {
  background: linear-gradient(135deg, #F9F5EE, #EDE4D0);
  border-radius: 10px; padding: 16px;
  border: 1px solid #DDD0B8; text-align: center;
}
.evid-wp .ev-fact-card .ev-fact-num {
  font-size: 26px; font-weight: 700; color: #C8870A;
  font-family: 'Tiro Devanagari Hindi', Georgia, serif; line-height: 1.1; display: block;
}
.evid-wp .ev-fact-card .ev-fact-label {
  font-size: 14px; color: #6B5A3E; margin-top: 5px; display: block;
}

/* Reason card (numbered, gold top accent) */
.evid-wp .ev-reason-card {
  background: #F9F5EE; border-radius: 10px;
  padding: 14px 16px; border: 1px solid #DDD0B8;
  border-top: 3px solid #C8870A;
  transition: transform .2s;
}
.evid-wp .ev-reason-card:hover { transform: translateY(-2px); }
.evid-wp .ev-reason-num {
  font-size: 1.3rem; font-weight: 700; color: #C8870A;
  opacity: 0.5; line-height: 1; margin-bottom: 4px;
  font-family: 'Tiro Devanagari Hindi', Georgia, serif;
}
.evid-wp .ev-reason-title {
  font-weight: 700; font-size: 19.5px; color: #8B1A1A;
  margin-bottom: 6px; font-family: 'Tiro Devanagari Hindi', Georgia, serif;
}
.evid-wp .ev-reason-text { font-size: 16px; color: #3A2C14; line-height: 1.6; }


/* ═══════════════════════════════════════════════════════════════
   §14  KING / RULER CARD  (for historical rulers)
   ─────────────────────────────────────────────────────────────
   USAGE:
     <div class="ev-grid">
       <div class="ev-ruler">
         <div class="ev-ruler-head rh-navy">   <!-- rh-navy / rh-maroon / rh-teal / rh-gold -->
           <h3>बिम्बिसार</h3>
           <span class="ev-reign">544–492 ईपू</span>
         </div>
         <div class="ev-ruler-body">
           Description text.
           <span class="ev-ruler-chip">✨ उपलब्धि</span>
         </div>
       </div>
     </div>
   ═══════════════════════════════════════════════════════════════ */

.evid-wp .ev-ruler {
  border-radius: 10px; overflow: hidden;
  border: 1px solid #DDD0B8;
  transition: transform .2s, box-shadow .2s;
}
.evid-wp .ev-ruler:hover { transform: translateY(-3px); box-shadow: 0 4px 20px rgba(27,58,107,.11); }
.evid-wp .ev-ruler-head {
  padding: 14px 16px;
  background: linear-gradient(135deg, #1B3A6B, #2E4F90);
  color: #fff;
}
.evid-wp .ev-ruler-head h3 {
  font-family: 'Tiro Devanagari Hindi', Georgia, serif; font-size: 17px; font-weight: 600;
  margin: 0 0 2px; color: #fff;
}
.evid-wp .ev-ruler-head .ev-reign { font-size: 13px; color: rgba(255,255,255,.65); }

/* Header colour variants */
.evid-wp .ev-ruler-head.rh-navy   { background: linear-gradient(135deg, #1B3A6B,   #2E4F90); }
.evid-wp .ev-ruler-head.rh-maroon { background: linear-gradient(135deg, #5A0A0A,         #8B1A1A); }
.evid-wp .ev-ruler-head.rh-teal   { background: linear-gradient(135deg, #073A3A,         #0D6B6B); }
.evid-wp .ev-ruler-head.rh-gold   { background: linear-gradient(135deg, #6B4A08,         #C8870A); }

.evid-wp .ev-ruler-body {
  padding: 13px 16px; background: #F9F5EE;
  font-size: 16px; line-height: 1.72; color: #3A2C14;
}
.evid-wp .ev-ruler-chip {
  display: inline-block; background: #ffffff;
  border: 1px solid #DDD0B8; border-radius: 4px;
  padding: 3px 9px; font-size: 14px; font-weight: 600;
  color: #1B3A6B; margin-top: 7px;
}


/* ═══════════════════════════════════════════════════════════════
   §15  DYNASTY BLOCK  (ruler succession table)
   ─────────────────────────────────────────────────────────────
   USAGE:
     <div class="ev-dynasty">
       <div class="ev-dynasty-head" style="background: linear-gradient(90deg,#3d0c11,#6b1a24);">
         <span class="ev-dynasty-name">🏰 हर्यंक वंश</span>
         <span class="ev-dynasty-period">ईपू 544–412</span>
       </div>
       <div class="ev-dynasty-body">
         <div class="ev-dynasty-row">
           <span class="ev-d-badge">बिम्बिसार</span>
           <span class="ev-d-info"><b>ईपू 544–492</b> — description</span>
         </div>
         <!-- repeat ev-dynasty-row -->
       </div>
     </div>
   ═══════════════════════════════════════════════════════════════ */

.evid-wp .ev-dynasty {
  border-radius: 10px; overflow: hidden;
  margin-bottom: 18px; border: 1px solid #DDD0B8;
}
.evid-wp .ev-dynasty-head {
  padding: 13px 20px; display: flex;
  justify-content: space-between; align-items: center;
}
.evid-wp .ev-dynasty-name {
  font-family: 'Tiro Devanagari Hindi', Georgia, serif; font-weight: 700; color: #fff; font-size: 1rem;
}
.evid-wp .ev-dynasty-period {
  font-size: 0.74rem; color: rgba(255,255,255,.8);
  background: rgba(0,0,0,.2); padding: 3px 10px; border-radius: 12px;
}
.evid-wp .ev-dynasty-body { padding: 14px 20px; background: #ffffff; }
.evid-wp .ev-dynasty-row {
  display: flex; align-items: flex-start;
  gap: 10px; padding: 8px 0;
  border-bottom: 1px dashed #DDD0B8;
}
.evid-wp .ev-dynasty-row:last-child { border-bottom: none; }
.evid-wp .ev-d-badge {
  background: #F9F5EE; border: 1px solid #DDD0B8;
  border-radius: 6px; padding: 4px 10px;
  font-size: 0.76rem; font-weight: 600; color: #8B1A1A;
  flex-shrink: 0; white-space: nowrap;
}
.evid-wp .ev-d-info { font-size: 0.83rem; color: #3A2C14; }


/* ═══════════════════════════════════════════════════════════════
   §16  PERSON PROFILE  (detailed single-person block)
   ─────────────────────────────────────────────────────────────
   USAGE:
     <div class="ev-profile">
       <div class="ev-profile-head">
         <span class="ev-profile-name">अशोक महान</span>
         <span class="ev-profile-years">268–232 ईपू</span>
       </div>
       <div class="ev-profile-body">
         <p class="ev-p">Description text</p>
         <div class="ev-fact-grid">
           <div class="ev-fact-chip">
             <span class="ev-fc-label">राजधानी</span>
             <span class="ev-fc-value">पाटलिपुत्र</span>
           </div>
           <!-- repeat ev-fact-chip -->
         </div>
       </div>
     </div>
   ═══════════════════════════════════════════════════════════════ */

.evid-wp .ev-profile {
  background: #ffffff; border: 1px solid #DDD0B8;
  border-radius: 18px; overflow: hidden;
  margin-bottom: 28px; box-shadow: 0 4px 20px rgba(27,58,107,.11);
}
.evid-wp .ev-profile-head {
  background: #1B3A6B; padding: 20px 28px;
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px;
}
.evid-wp .ev-profile-name {
  font-family: 'Tiro Devanagari Hindi', Georgia, serif; font-size: 26px; font-weight: 400; color: #fff;
}
.evid-wp .ev-profile-years {
  background: rgba(200,135,10,.25); border: 1px solid rgba(200,135,10,.55);
  border-radius: 6px; padding: 5px 14px; font-size: 13px; color: #FFD580;
}
.evid-wp .ev-profile-body { padding: 24px 28px; }

/* Quick fact chip grid inside profile */
.evid-wp .ev-fact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px; margin-top: 16px;
}
.evid-wp .ev-fact-chip {
  background: #FFF7E0; border: 1px solid #DDD0B8;
  border-radius: 6px; padding: 9px 13px;
}
.evid-wp .ev-fact-chip .ev-fc-label {
  font-size: 13px; text-transform: uppercase; letter-spacing: 1px;
  color: #6B5A3E; display: block; margin-bottom: 2px;
}
.evid-wp .ev-fact-chip .ev-fc-value {
  font-size: 16.5px; font-weight: 600; color: #1C1208;
}


/* ═══════════════════════════════════════════════════════════════
   §17  TIMELINE
   ─────────────────────────────────────────────────────────────
   USAGE:
     <div class="ev-timeline">
       <div class="ev-tl-item">           <!-- default: gold dot -->
       <div class="ev-tl-item tl-navy">   <!-- navy dot -->
       <div class="ev-tl-item tl-green">  <!-- green dot -->
         <div class="ev-tl-year">322 ईपू</div>
         <div class="ev-tl-text">Event description here.</div>
       </div>
       <!-- repeat -->
     </div>
   ═══════════════════════════════════════════════════════════════ */

.evid-wp .ev-timeline {
  position: relative; padding-left: 36px; margin: 20px 0;
}
.evid-wp .ev-timeline::before {
  content: '';
  position: absolute; left: 11px; top: 4px; bottom: 4px;
  width: 2px;
  background: linear-gradient(to bottom, #C8870A, #1B3A6B);
  border-radius: 2px;
}
.evid-wp .ev-tl-item {
  position: relative; margin-bottom: 14px;
  background: #ffffff; border: 1px solid #DDD0B8;
  border-radius: 10px; padding: 13px 17px;
}
.evid-wp .ev-tl-item::before {
  content: '';
  position: absolute; left: -28px; top: 50%;
  transform: translateY(-50%);
  width: 14px; height: 14px; border-radius: 50%;
  background: #C8870A; border: 3px solid #F9F5EE;
  box-shadow: 0 0 0 2px #C8870A; z-index: 1;
}
.evid-wp .ev-tl-item.tl-navy::before  { background: #1B3A6B;  box-shadow: 0 0 0 2px #1B3A6B; }
.evid-wp .ev-tl-item.tl-green::before { background: #1A5C35; box-shadow: 0 0 0 2px #1A5C35; }

.evid-wp .ev-tl-year {
  font-size: 13px; font-weight: 700; color: #C8870A;
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 3px;
}
.evid-wp .ev-tl-item.tl-navy  .ev-tl-year { color: #1B3A6B; }
.evid-wp .ev-tl-item.tl-green .ev-tl-year { color: #1A5C35; }
.evid-wp .ev-tl-text { font-size: 14px; color: #3A2C14; line-height: 1.75; }


/* ═══════════════════════════════════════════════════════════════
   §18  DATA TABLE
   ─────────────────────────────────────────────────────────────
   USAGE:
     <div class="ev-table-wrap">
       <table class="ev-table">
         <thead><tr><th>Col 1</th><th>Col 2</th></tr></thead>
         <tbody>
           <tr>
             <td><span class="ev-rn">1</span> Cell value</td>
             <td>Another <span class="ev-imp">important</span> fact</td>
           </tr>
         </tbody>
       </table>
     </div>
   ═══════════════════════════════════════════════════════════════ */

.evid-wp .ev-table-wrap {
  overflow-x: auto; border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06); margin: 18px 0;
}
.evid-wp .ev-table {
  width: 100%; border-collapse: collapse;
  font-size: 14px; min-width: 320px;
}
.evid-wp .ev-table thead tr { background: #1B3A6B; }
.evid-wp .ev-table th {
  padding: 12px 14px; text-align: left;
  color: rgba(255,255,255,.9); font-size: 14px; font-weight: 600;
  letter-spacing: .3px; border: none; white-space: nowrap;
}
.evid-wp .ev-table th:first-child { border-radius: 10px 0 0 0; }
.evid-wp .ev-table th:last-child  { border-radius: 0 10px 0 0; }
.evid-wp .ev-table td {
  padding: 10px 14px; border-bottom: 1px solid #EDE4D0;
  vertical-align: top; color: #3A2C14; font-size: 14px;
  background: #ffffff;
}
.evid-wp .ev-table tbody tr:nth-child(even) td { background: #F9F5EE; }
.evid-wp .ev-table tbody tr:hover td { background: #FFF7E0; }
.evid-wp .ev-table td strong { color: #1C1208; }
/* Row number circle */
.evid-wp .ev-rn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%;
  background: #C8870A; color: #fff; font-size: 13px; font-weight: 700;
}
/* Important text in table cell */
.evid-wp .ev-imp { color: #D4601A; font-weight: 700; }


/* ═══════════════════════════════════════════════════════════════
   §19  QUICK-REVISION TABLE  (2-column key → value layout)
   ─────────────────────────────────────────────────────────────
   USAGE:
     <div class="ev-qr-table">
       <!-- Header row (dark) -->
       <div class="ev-qr-row ev-qr-head">
         <div class="ev-qr-key">विषय</div>
         <div class="ev-qr-val">तथ्य</div>
       </div>
       <!-- Data rows -->
       <div class="ev-qr-row">
         <div class="ev-qr-key">GSDP वृद्धि</div>
         <div class="ev-qr-val">3.5× in 2005–2025</div>
       </div>
       <!-- repeat -->
     </div>
   ═══════════════════════════════════════════════════════════════ */

.evid-wp .ev-qr-table { margin: 24px 0; border-radius: 10px; overflow: hidden; }
.evid-wp .ev-qr-row {
  display: flex; border-bottom: 1px solid #EDE4D0;
}
.evid-wp .ev-qr-row:last-child { border-bottom: none; }
.evid-wp .ev-qr-row:nth-child(even):not(.ev-qr-head) { background: #FAFAF6; }
.evid-wp .ev-qr-row:hover:not(.ev-qr-head) { background: #FFF7E0; }
.evid-wp .ev-qr-key {
  width: 38%; padding: 11px 15px; font-size: 15px; font-weight: 600;
  color: #1C1208; border-right: 1px solid #EDE4D0;
}
.evid-wp .ev-qr-val {
  width: 62%; padding: 11px 15px; font-size: 15px; color: #3A2C14;
}
/* Dark header row */
.evid-wp .ev-qr-row.ev-qr-head {
  background: #1B3A6B; border-radius: 10px 10px 0 0;
}
.evid-wp .ev-qr-row.ev-qr-head .ev-qr-key,
.evid-wp .ev-qr-row.ev-qr-head .ev-qr-val {
  color: rgba(255,255,255,.85); font-weight: 700;
  font-size: 13px; letter-spacing: .5px; text-transform: uppercase;
  border-right-color: rgba(255,255,255,.12);
}


/* ═══════════════════════════════════════════════════════════════
   §20  QUIZ  (interactive MCQ)
   ─────────────────────────────────────────────────────────────
   USAGE:
     <div class="ev-quiz">
       <div class="ev-quiz-q">
         <span class="ev-qn">1</span>
         प्रश्न का पाठ यहाँ लिखें?
       </div>
       <div class="ev-quiz-opts">
         <div class="ev-quiz-opt" onclick="checkAns(this, false)">A. गलत उत्तर</div>
         <div class="ev-quiz-opt" onclick="checkAns(this, true)">B. सही उत्तर ✓</div>
         <div class="ev-quiz-opt" onclick="checkAns(this, false)">C. गलत उत्तर</div>
         <div class="ev-quiz-opt" onclick="checkAns(this, false)">D. गलत उत्तर</div>
       </div>
       <div class="ev-quiz-reveal">✅ उत्तर: B — explanation text here.</div>
     </div>

   Note: JS auto-tags correct options and removes inline onclick.
   ═══════════════════════════════════════════════════════════════ */

.evid-wp .ev-quiz {
  background: #F9F5EE; border: 1px solid #DDD0B8;
  border-radius: 10px; padding: 18px 20px; margin-bottom: 14px;
}
.evid-wp .ev-quiz-q {
  font-size: 17px; font-weight: 600; color: #1C1208;
  margin-bottom: 13px; display: flex; align-items: flex-start;
  gap: 10px; line-height: 1.55;
}
.evid-wp .ev-quiz-q .ev-qn {
  background: #1B3A6B; color: #fff; width: 24px; height: 24px;
  border-radius: 50%; font-size: 13px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
.evid-wp .ev-quiz-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.evid-wp .ev-quiz-opt {
  padding: 9px 13px; border-radius: 6px;
  border: 1.5px solid #DDD0B8; background: #ffffff;
  font-size: 16px; color: #3A2C14; cursor: pointer;
  user-select: none; transition: border-color .18s, background .18s;
  line-height: 1.5; font-family: 'Noto Sans Devanagari', sans-serif;
}
.evid-wp .ev-quiz-opt:hover { border-color: #C8870A; background: #FFF7E0; }
.evid-wp .ev-quiz-opt.correct {
  border-color: #1A5C35; background: #EEF8F2;
  color: #1A5C35; font-weight: 700; cursor: default; pointer-events: none;
}
.evid-wp .ev-quiz-opt.wrong {
  border-color: #8B1A1A; background: #FFF0F0;
  color: #8B1A1A; cursor: default; pointer-events: none;
}
.evid-wp .ev-quiz-reveal {
  display: none;
  margin-top: 11px;
  padding: 12px 16px;
  background: #EEF8F2;
  border-left: 4px solid #1A5C35;
  border-radius: 0 8px 8px 0;
  font-size: 16px;
  color: #1C1208;
  line-height: 1.75;
  /* Shown state — JS sets display:block; this animates the reveal */
  animation: ev-reveal-fade 0.3s ease;
}
@keyframes ev-reveal-fade {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ═══════════════════════════════════════════════════════════════
   §21  Q&A ACCORDION  (BPSC question–answer panels)
   ─────────────────────────────────────────────────────────────
   USAGE:
     <div class="ev-qa">
       <div class="ev-qa-question">
         <span>प्रश्न: बिम्बिसार के बारे में बताइए?</span>
         <span class="ev-qa-toggle">+</span>
       </div>
       <div class="ev-qa-answer">
         Answer text here.
       </div>
     </div>
   Note: JS handles open/close — adds class .open to ev-qa.
   ═══════════════════════════════════════════════════════════════ */

.evid-wp .ev-qa {
  border: 1px solid #DDD0B8; border-radius: 6px;
  margin-bottom: 12px; overflow: hidden;
}
.evid-wp .ev-qa-question {
  padding: 12px 16px; background: #F9F5EE;
  font-size: 14px; font-weight: 600; color: #1C1208;
  cursor: pointer; display: flex; justify-content: space-between;
  align-items: flex-start; gap: 10px;
}
.evid-wp .ev-qa-toggle {
  width: 22px; height: 22px; background: #1B3A6B; border-radius: 50%;
  color: #fff; font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: transform .2s, background .2s;
}
.evid-wp .ev-qa.open .ev-qa-toggle { transform: rotate(45deg); background: #C8870A; }
.evid-wp .ev-qa-answer {
  padding: 12px 16px; background: #ffffff;
  font-size: 16px; color: #3A2C14;
  border-top: 1px solid #DDD0B8; display: none;
  line-height: 1.75;
}
.evid-wp .ev-qa.open .ev-qa-answer { display: block; }


/* ═══════════════════════════════════════════════════════════════
   §22  LIST  (styled bullet lists)
   ─────────────────────────────────────────────────────────────
   USAGE:
     <ul class="ev-list">              <!-- diamond bullets, dashed separators -->
     <ul class="ev-list list-compact"> <!-- smaller spacing -->
     <ul class="ev-list list-numbered"><!-- auto-numbered circles -->
       <li>Item with <strong>bold</strong> keyword</li>
     </ul>
   ═══════════════════════════════════════════════════════════════ */

.evid-wp .ev-list { list-style: none; margin: 12px 0; padding: 0; }
.evid-wp .ev-list li {
  display: flex; gap: 10px; padding: 7px 0;
  font-size: 14.5px; color: #3A2C14;
  border-bottom: 1px dashed #EDE4D0; line-height: 1.75;
}
.evid-wp .ev-list li:last-child { border-bottom: none; }
.evid-wp .ev-list li::before {
  content: '◆'; color: #C8870A; font-size: 10px;
  flex-shrink: 0; margin-top: 6px;
}
.evid-wp .ev-list li strong { color: #1B3A6B; }

.evid-wp .ev-list.list-compact li { padding: 5px 0; font-size: 14px; }

.evid-wp .ev-list.list-numbered { counter-reset: ev-li; }
.evid-wp .ev-list.list-numbered li::before {
  content: counter(ev-li); counter-increment: ev-li;
  background: #1B3A6B; color: #fff;
  width: 20px; height: 20px; border-radius: 50%;
  font-size: 13px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}


/* ═══════════════════════════════════════════════════════════════
   §23  TAGS & BADGES
   ─────────────────────────────────────────────────────────────
   BADGE (non-clickable inline label):
     <span class="ev-badge bg-gold">⭐ Important</span>
     <span class="ev-badge bg-navy">Prelims</span>
     <span class="ev-badge bg-green">Mains</span>
     <span class="ev-badge bg-red">Warning</span>
     <span class="ev-badge bg-dark">Dark</span>

   TAG (clickable pill):
     <span class="ev-tag">General</span>
     <span class="ev-tag tag-imp">⚡ Important</span>
     <span class="ev-tag tag-date">📅 261 ईपू</span>
   ═══════════════════════════════════════════════════════════════ */

.evid-wp .ev-badge {
  display: inline-flex; align-items: center;
  padding: 3px 10px; border-radius: 20px;
  font-size: 14px; font-weight: 700; white-space: nowrap; gap: 4px;
}
.evid-wp .ev-badge.bg-gold   { background: #FFF7E0;  color: #C8870A; }
.evid-wp .ev-badge.bg-navy   { background: #EEF3FF;  color: #1B3A6B; }
.evid-wp .ev-badge.bg-green  { background: #EEF8F2; color: #1A5C35; }
.evid-wp .ev-badge.bg-red    { background: #FFF0F0;   color: #8B1A1A; }
.evid-wp .ev-badge.bg-dark   { background: #1B3A6B;       color: #fff; }

.evid-wp .ev-tag {
  display: inline-block; padding: 4px 12px;
  border: 1px solid #DDD0B8; border-radius: 20px;
  font-size: 14px; color: #3A2C14; cursor: pointer; margin: 3px;
  transition: background .15s, color .15s, border-color .15s;
}
.evid-wp .ev-tag:hover { background: #1B3A6B; color: #fff; border-color: #1B3A6B; }
.evid-wp .ev-tag.tag-imp  { background: #FFF7E0;  color: #C8870A;  border-color: rgba(200,135,10,.3); }
.evid-wp .ev-tag.tag-date { background: #EEF3FF;  color: #1B3A6B;  border-color: rgba(27,58,107,.25); }


/* ═══════════════════════════════════════════════════════════════
   §24  PROGRESS BAR
   ─────────────────────────────────────────────────────────────
   USAGE:
     <div class="ev-progress-list">
       <div class="ev-progress-item">
         <div class="ev-progress-row">
           <span class="ev-pr-label">साक्षरता दर</span>
           <span class="ev-pr-val">61.8%</span>
         </div>
         <div class="ev-progress-track">
           <!-- JS animates from 0 → data-width value on scroll -->
           <div class="ev-progress-fill pf-gold" data-width="62"></div>
         </div>
       </div>
     </div>

   Fill colours: (default navy) · pf-gold · pf-green · pf-red
   ═══════════════════════════════════════════════════════════════ */

.evid-wp .ev-progress-list { margin: 18px 0; }
.evid-wp .ev-progress-item { margin-bottom: 14px; }
.evid-wp .ev-progress-row {
  display: flex; justify-content: space-between;
  margin-bottom: 5px; font-size: 13px;
}
.evid-wp .ev-pr-label { color: #3A2C14; font-weight: 500; }
.evid-wp .ev-pr-val   { color: #1B3A6B; font-weight: 700; }
.evid-wp .ev-progress-track {
  height: 8px; background: #DDD0B8; border-radius: 8px; overflow: hidden;
}
.evid-wp .ev-progress-fill {
  height: 100%; border-radius: 8px; width: 0; transition: width .6s ease;
  background: linear-gradient(to right, #1B3A6B, #2E4F90);
}
.evid-wp .ev-progress-fill.pf-gold  { background: linear-gradient(to right, #C8870A,  #E8A532); }
.evid-wp .ev-progress-fill.pf-green { background: linear-gradient(to right, #1A5C35, #1A8C55); }
.evid-wp .ev-progress-fill.pf-red   { background: linear-gradient(to right, #8B1A1A,   #E74C3C); }


/* ═══════════════════════════════════════════════════════════════
   §25  SUMMARY BOX  (dark navy, grid of items)
   ─────────────────────────────────────────────────────────────
   USAGE:
     <div class="ev-summary">
       <div class="ev-summary-title">📋 सारांश — परीक्षा के लिए महत्वपूर्ण</div>
       <div class="ev-summary-grid">
         <div class="ev-summary-item">
           <div class="ev-si-icon">🏺</div>
           <div class="ev-si-title">पुरातात्विक स्रोत</div>
           <div class="ev-si-text">Brief description text</div>
         </div>
         <!-- repeat -->
       </div>
     </div>
   ═══════════════════════════════════════════════════════════════ */

.evid-wp .ev-summary {
  background: linear-gradient(140deg, #1B3A6B 0%, #0D2137 100%);
  border-radius: 18px; padding: 34px 38px; margin-top: 48px; color: #fff;
}
.evid-wp .ev-summary-title {
  font-family: 'Tiro Devanagari Hindi', Georgia, serif; font-size: 20px; font-weight: 400;
  color: #E8A532; margin-bottom: 22px; padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.evid-wp .ev-summary-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 13px;
}
.evid-wp .ev-summary-item {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px; padding: 14px 16px;
}
.evid-wp .ev-summary-item .ev-si-icon  { font-size: 20px; margin-bottom: 6px; }
.evid-wp .ev-summary-item .ev-si-title { font-size: 14px; font-weight: 700; color: #E8A532; margin-bottom: 4px; }
.evid-wp .ev-summary-item .ev-si-text  { font-size: 14px; color: rgba(255,255,255,.68); line-height: 1.6; }


/* ═══════════════════════════════════════════════════════════════
   §26  BPSC DARK BOX  (dark, two-column grid of exam points)
   ─────────────────────────────────────────────────────────────
   USAGE:
     <div class="ev-bpsc-box">
       <h2>⭐ BPSC परीक्षा के लिए महत्वपूर्ण तथ्य</h2>
       <div class="ev-bpsc-grid">
         <div class="ev-bpsc-item">
           <span class="ev-bq">प्र: अशोक का धम्म क्या था?</span>
           Explanation text here.
         </div>
         <!-- repeat -->
       </div>
     </div>
   ═══════════════════════════════════════════════════════════════ */

.evid-wp .ev-bpsc-box {
  background: linear-gradient(135deg, #1B3A6B, #0D2137);
  border-radius: 18px; padding: 28px; margin-bottom: 28px; color: #fff;
}
.evid-wp .ev-bpsc-box h2 {
  font-family: 'Tiro Devanagari Hindi', Georgia, serif; font-size: 22px; margin-bottom: 18px;
  color: #E8A532; border-bottom: 1px solid rgba(255,255,255,.15);
  padding-bottom: 12px;
}
.evid-wp .ev-bpsc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.evid-wp .ev-bpsc-item {
  background: rgba(255,255,255,.07); border-radius: 10px;
  padding: 12px 15px; font-size: 16.5px;
  border-left: 3px solid #E8A532; line-height: 1.6; color: rgba(255,255,255,.88);
}
.evid-wp .ev-bpsc-item .ev-bq {
  font-weight: 600; color: #E8A532;
  font-size: 15px; letter-spacing: .3px; margin-bottom: 4px; display: block;
}


/* ═══════════════════════════════════════════════════════════════
   §27  PYQ BLOCK  (Previous Year Questions)
   ─────────────────────────────────────────────────────────────
   USAGE:
     <div class="ev-pyq">
       <div class="ev-pyq-head">
         <div style="font-size:26px;">📋</div>
         <span class="ev-pyq-title">BPSC पिछले वर्षों के प्रश्न</span>
       </div>
       <div class="ev-pyq-item">
         <span class="ev-pyq-type pt-mcq">MCQ</span>
         <strong>प्र. 1:</strong> Question text here?
         <div class="ev-pyq-ans">✅ उत्तर: Answer here.</div>
       </div>
     </div>

   Type classes: pt-mcq · pt-short · pt-long
   ═══════════════════════════════════════════════════════════════ */

.evid-wp .ev-pyq {
  background: #1B3A6B; border-radius: 18px;
  padding: 28px 30px; margin-top: 48px;
}
.evid-wp .ev-pyq-head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px; padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.evid-wp .ev-pyq-title {
  font-size: 15px; font-weight: 700; color: #C8870A;
  text-transform: uppercase; letter-spacing: 1px;
}
.evid-wp .ev-pyq-item {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.11);
  border-radius: 6px; padding: 14px 17px; margin-bottom: 10px;
  font-size: 14px; line-height: 1.75; color: rgba(255,255,255,.88);
}
.evid-wp .ev-pyq-item:last-child { margin-bottom: 0; }
.evid-wp .ev-pyq-ans { margin-top: 7px; color: #FFD580; font-size: 16px; font-weight: 600; }
.evid-wp .ev-pyq-type {
  display: inline-block; font-size: 10px; text-transform: uppercase;
  letter-spacing: 1px; padding: 2px 9px; border-radius: 20px; margin-bottom: 6px;
}
.evid-wp .ev-pyq-type.pt-mcq   { background: rgba(200,135,10,.3);   color: #FFD580; }
.evid-wp .ev-pyq-type.pt-short { background: rgba(100,220,120,.15); color: #90EE90; }
.evid-wp .ev-pyq-type.pt-long  { background: rgba(150,150,255,.2);  color: #B0B0FF; }


/* ═══════════════════════════════════════════════════════════════
   §28  MNEMONIC  (memory trick / याद करने की तकनीक)
   ─────────────────────────────────────────────────────────────
   USAGE:
     <div class="ev-mnemonic">
       <span class="ev-mn-label">💡 याद करने का सूत्र</span>
       <span class="ev-mn-key">च – बि – अ – उ</span>
       <div class="ev-mn-expand">
         <span class="ev-mn-hl">च = चंद्रगुप्त</span>
         <span class="ev-mn-hl">बि = बिंदुसार</span>
       </div>
     </div>
   ═══════════════════════════════════════════════════════════════ */

.evid-wp .ev-mnemonic {
  background: #FFF7E0; border: 2px dashed #C8870A;
  border-radius: 10px; padding: 22px 26px; margin: 18px 0; text-align: center;
}
.evid-wp .ev-mnemonic .ev-mn-label {
  font-size: 14px; text-transform: uppercase; letter-spacing: 2px;
  color: #6B5A3E; margin-bottom: 10px; display: block;
}
.evid-wp .ev-mnemonic .ev-mn-key {
  font-size: 24px; font-weight: 900; color: #1B3A6B;
  letter-spacing: 5px; display: block; margin-bottom: 10px;
}
.evid-wp .ev-mnemonic .ev-mn-expand {
  font-size: 14px; color: #3A2C14; line-height: 1.7;
}
.evid-wp .ev-mnemonic .ev-mn-hl {
  display: inline-block; background: #ffffff;
  border: 1px solid #DDD0B8; border-radius: 5px;
  padding: 3px 10px; font-weight: 700; color: #1B3A6B;
  font-size: 15px; margin: 4px;
}


/* ═══════════════════════════════════════════════════════════════
   §29  PULL QUOTE  (editorial highlight quote)
   ─────────────────────────────────────────────────────────────
   USAGE:
     <div class="ev-pull-quote">
       <div class="ev-pq-text">
         बिहार एक ऐसे दोराहे पर खड़ा है जहाँ इतिहास की विरासत
         और भविष्य की संभावनाएं मिलती हैं।
       </div>
       <div class="ev-pq-src">— BPSC Mains Reference</div>
     </div>
   ═══════════════════════════════════════════════════════════════ */

.evid-wp .ev-pull-quote {
  padding: 30px 40px; margin: 34px 0;
  background: #1B3A6B; border-radius: 10px;
  position: relative; overflow: hidden; text-align: center;
}
.evid-wp .ev-pull-quote::before {
  content: '❝'; position: absolute; top: -16px; left: 28px;
  font-size: 100px; color: rgba(255,255,255,.04);
  line-height: 1; font-family: serif; pointer-events: none;
}
.evid-wp .ev-pq-text {
  font-family: 'Tiro Devanagari Hindi', Georgia, serif; font-size: 1.1rem; color: rgba(255,255,255,.92);
  line-height: 1.85; position: relative; z-index: 1; margin-bottom: 13px;
}
.evid-wp .ev-pq-src {
  font-size: 13px; color: #E8A532; letter-spacing: .8px;
  text-transform: uppercase; font-weight: 600;
}


/* ═══════════════════════════════════════════════════════════════
   §30  CHALLENGE BOX  (warnings, obstacles, criticisms)
   ─────────────────────────────────────────────────────────────
   USAGE:
     <div class="ev-challenge">
       <div class="ev-challenge-title">⚠️ प्रमुख चुनौतियाँ</div>
       <ul>
         <li><strong>गरीबी:</strong> 26.59% बहुआयामी गरीबी अभी भी उच्च</li>
         <li>श्रमिक पलायन की समस्या</li>
       </ul>
     </div>
   ═══════════════════════════════════════════════════════════════ */

.evid-wp .ev-challenge {
  background: #FFF0F0; border: 1px solid rgba(139,26,26,.25);
  border-radius: 10px; padding: 20px 24px; margin: 20px 0;
}
.evid-wp .ev-challenge-title {
  color: #8B1A1A; font-weight: 800; font-size: 14px;
  letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 13px; display: flex; align-items: center; gap: 8px;
}
.evid-wp .ev-challenge ul { list-style: none; padding: 0; }
.evid-wp .ev-challenge ul li {
  padding: 7px 0 7px 24px; position: relative;
  font-size: 13.5px; color: #3A2C14;
  border-bottom: 1px dashed rgba(139,26,26,.2); line-height: 1.7;
}
.evid-wp .ev-challenge ul li:last-child { border-bottom: none; }
.evid-wp .ev-challenge ul li::before {
  content: '⚠'; position: absolute; left: 0;
  color: #8B1A1A; font-size: 13px; top: 8px;
}
.evid-wp .ev-challenge ul li strong { color: #8B1A1A; }


/* ═══════════════════════════════════════════════════════════════
   §31  SPECIAL BOX  (gold-bordered highlight, star bullets)
   ─────────────────────────────────────────────────────────────
   USAGE:
     <div class="ev-special">
       <div class="ev-special-title">★ विशेष विवरण</div>
       <p class="ev-p">Intro text here.</p>
       <ul>
         <li><strong>Point 1:</strong> detail</li>
       </ul>
     </div>
   ═══════════════════════════════════════════════════════════════ */

.evid-wp .ev-special {
  background: linear-gradient(135deg, #FFFBF0, #FFF8E0);
  border: 1.5px solid #C8870A; border-radius: 10px;
  padding: 20px 24px; margin: 20px 0;
}
.evid-wp .ev-special-title {
  color: #C8870A; font-weight: 800; font-size: 14px;
  letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 12px; display: flex; align-items: center; gap: 8px;
}
.evid-wp .ev-special ul { list-style: none; padding: 0; }
.evid-wp .ev-special ul li {
  padding: 7px 0 7px 22px; position: relative;
  font-size: 13px; color: #3A2C14;
  border-bottom: 1px dashed rgba(200,135,10,.25); line-height: 1.7;
}
.evid-wp .ev-special ul li:last-child { border-bottom: none; }
.evid-wp .ev-special ul li::before {
  content: '★'; position: absolute; left: 0;
  color: #C8870A; font-size: 11px; top: 10px;
}


/* ═══════════════════════════════════════════════════════════════
   §32  CONCLUSION BOX  (warm gradient closing section)
   ─────────────────────────────────────────────────────────────
   USAGE:
     <div class="ev-conclusion">
       <h3>📌 निष्कर्ष</h3>
       <p class="ev-p">Conclusion text here.</p>
     </div>
   ═══════════════════════════════════════════════════════════════ */

.evid-wp .ev-conclusion {
  background: linear-gradient(135deg, #FFF7E0, #EEF8F2);
  border-radius: 10px; padding: 26px 30px;
  margin: 38px 0 0; border: 1px solid #DDD0B8;
}
.evid-wp .ev-conclusion h3 {
  font-family: 'Tiro Devanagari Hindi', Georgia, serif; font-size: 1.15rem;
  color: #1B3A6B; margin-bottom: 12px;
}


/* ═══════════════════════════════════════════════════════════════
   §33  VISION / DARK GRID  (Bihar 2047 / aspirational sections)
   ─────────────────────────────────────────────────────────────
   USAGE:
     <div class="ev-vision">
       <div class="ev-vision-title">विकसित बिहार @2047</div>
       <div class="ev-vision-sub">DEVELOPMENT ROADMAP</div>
       <div class="ev-vision-grid">
         <div class="ev-v-item">
           <div class="ev-v-icon">🏭</div>
           <h5>औद्योगिक विकास</h5>
           <p class="ev-p">Description text here.</p>
         </div>
         <!-- repeat -->
       </div>
     </div>
   ═══════════════════════════════════════════════════════════════ */

.evid-wp .ev-vision {
  background: linear-gradient(160deg, #0A1628 0%, #0D2D1A 100%);
  border-radius: 14px; padding: 36px 40px; margin: 28px 0;
}
.evid-wp .ev-vision-title {
  font-family: 'Tiro Devanagari Hindi', Georgia, serif; font-size: 1.3rem;
  color: #E8A532; margin-bottom: 6px; text-align: center;
}
.evid-wp .ev-vision-sub {
  font-size: 13px; color: rgba(255,255,255,.4); text-align: center;
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 28px;
}
.evid-wp .ev-vision-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
.evid-wp .ev-v-item {
  background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px; padding: 16px 18px;
  transition: background .2s;
}
.evid-wp .ev-v-item:hover { background: rgba(255,255,255,.09); }
.evid-wp .ev-v-icon { font-size: 22px; margin-bottom: 8px; }
.evid-wp .ev-v-item h5 {
  font-size: 15px; font-weight: 700; color: #E8A532; margin-bottom: 6px;
}
.evid-wp .ev-v-item .ev-p { font-size: 14px; color: rgba(255,255,255,.65); line-height: 1.6; }


/* ═══════════════════════════════════════════════════════════════
   §34  SIDEBAR  (right-side card stack)
   ─────────────────────────────────────────────────────────────
   USAGE (inside ev-col2):
     <aside class="ev-sidebar">
       <div class="ev-sidebar-card">
         <div class="ev-sidebar-card-head sh-gold">📌 Key Facts</div>
         <div class="ev-sidebar-card-body">
           <div class="ev-kv-row">
             <span class="ev-kv-key">राजधानी</span>
             <span class="ev-kv-val">पाटलिपुत्र</span>
           </div>
           <!-- repeat ev-kv-row -->
         </div>
       </div>
     </aside>

   Header colours: sh-navy (default) · sh-gold · sh-green · sh-red · sh-orange · sh-maroon
   ═══════════════════════════════════════════════════════════════ */

.evid-wp .ev-sidebar { display: flex; flex-direction: column; gap: 20px; }

.evid-wp .ev-sidebar-card {
  background: #ffffff; border: 1px solid #DDD0B8;
  border-radius: 10px; overflow: hidden; box-shadow: 0 4px 20px rgba(27,58,107,.11);
}
.evid-wp .ev-sidebar-card-head {
  padding: 13px 17px; font-weight: 700; font-size: 15px;
  color: #fff; background: #1B3A6B;
  display: flex; align-items: center; gap: 8px;
}
.evid-wp .ev-sidebar-card-head.sh-gold   { background: linear-gradient(90deg, #7A5C0A, #C8870A); }
.evid-wp .ev-sidebar-card-head.sh-green  { background: linear-gradient(90deg, #0D3D22, #1A5C35); }
.evid-wp .ev-sidebar-card-head.sh-red    { background: linear-gradient(90deg, #5A0A0A, #8B1A1A); }
.evid-wp .ev-sidebar-card-head.sh-orange { background: linear-gradient(90deg, #8B3408, #D4601A); }
.evid-wp .ev-sidebar-card-head.sh-maroon { background: linear-gradient(90deg, #6B1A24, #8B1A2F); }

.evid-wp .ev-sidebar-card-body { padding: 15px 17px; }

/* Key–value row inside sidebar */
.evid-wp .ev-kv-row {
  display: flex; gap: 10px; padding: 8px 0;
  border-bottom: 1px dashed #EDE4D0; font-size: 16px;
}
.evid-wp .ev-kv-row:last-child { border-bottom: none; }
.evid-wp .ev-kv-key { color: #6B5A3E; font-weight: 600; flex-shrink: 0; min-width: 80px; font-size: 15px; }
.evid-wp .ev-kv-val { color: #3A2C14; }


/* ═══════════════════════════════════════════════════════════════
   §35  GEO FEATURES GRID  (geographical / resources grid)
   ─────────────────────────────────────────────────────────────
   USAGE (auto 2-column grid of feature boxes):
     <div class="ev-geo-grid">
       <div class="ev-geo-item">
         <div class="ev-geo-icon">🌊</div>
         <div class="ev-geo-title">जल-संसाधन</div>
         <div class="ev-geo-text">गंगा, सोन, चंपा नदियाँ</div>
       </div>
       <!-- repeat -->
     </div>
   ═══════════════════════════════════════════════════════════════ */

.evid-wp .ev-geo-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px; margin: 14px 0;
}
.evid-wp .ev-geo-item {
  background: #F9F5EE; border-radius: 10px;
  padding: 13px 14px; border: 1px solid #DDD0B8; text-align: center;
}
.evid-wp .ev-geo-icon  { font-size: 1.5rem; margin-bottom: 5px; }
.evid-wp .ev-geo-title { font-size: 13px; font-weight: 700; color: #8B1A1A; margin-bottom: 3px; }
.evid-wp .ev-geo-text  { font-size: 0.76rem; color: #3A2C14; line-height: 1.5; }


/* ═══════════════════════════════════════════════════════════════
   §36  TAGS STRIP & FOOTER STRIP  (page bottom area)
   ─────────────────────────────────────────────────────────────
   USAGE:
     <div class="ev-tags-strip">
       <span class="ev-ts-label">Tags:</span>
       <span class="ev-tag">BPSC 2025</span>
       <span class="ev-tag">Bihar GK</span>
     </div>
     <div class="ev-foot-strip">
       <span>📚 <strong>eVidyarthi.in</strong> — BPSC परीक्षार्थियों का विश्वसनीय साथी</span>
       <span>© 2025 | Bihar Series</span>
     </div>
   ═══════════════════════════════════════════════════════════════ */

.evid-wp .ev-tags-strip {
  padding: 18px 28px; background: #F5F0E8;
  border-top: 1px solid #DDD0B8;
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
}
.evid-wp .ev-ts-label {
  font-size: 13px; font-weight: 800; color: #1B3A6B;
  text-transform: uppercase; letter-spacing: 1px; flex-shrink: 0;
}

.evid-wp .ev-foot-strip {
  background: #1B3A6B; padding: 16px 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: rgba(255,255,255,.5);
  border-radius: 0 0 14px 14px;
}
.evid-wp .ev-foot-strip strong { color: #E8A532; }


/* ═══════════════════════════════════════════════════════════════
   §37  DECORATIVE
   ─────────────────────────────────────────────────────────────
   USAGE:
     <div class="ev-divider"></div>           <!-- fading rule between sections -->
     <div class="ev-ornament">❖</div>         <!-- centred symbol ornament -->
     <div class="ev-ornament-line"><span>❖</span></div>  <!-- ornament with side lines -->
   ═══════════════════════════════════════════════════════════════ */

.evid-wp .ev-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #DDD0B8, transparent);
  margin: 10px 0 36px;
}

.evid-wp .ev-ornament { text-align: center; color: #6B5A3E; font-size: 20px; opacity: 0.4; margin: 8px 0; }

.evid-wp .ev-ornament-line {
  display: flex; align-items: center; gap: 12px;
  max-width: 300px; margin: 18px auto;
}
.evid-wp .ev-ornament-line::before,
.evid-wp .ev-ornament-line::after {
  content: ''; flex: 1; height: 1px; background: #C8870A; opacity: .5;
}
.evid-wp .ev-ornament-line span { color: #C8870A; font-size: 1.2rem; }


/* ═══════════════════════════════════════════════════════════════
   §38  TYPOGRAPHY HELPERS
   ─────────────────────────────────────────────────────────────
   USAGE:
     <h1 class="ev-h1">Title <span class="ev-accent">Accent</span></h1>
     <h2 class="ev-h2">Section Heading</h2>
     <h3 class="ev-h3">Sub-heading</h3>
     <p  class="ev-p">Body paragraph</p>
     <p  class="ev-lead">Lead / intro paragraph (larger, serif)</p>
   ═══════════════════════════════════════════════════════════════ */

/* Page title — inside ev-header or ev-hero */
.evid-wp .ev-h1 {
  font-family: 'Tiro Devanagari Hindi', Georgia, serif;
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 400; color: #fff; line-height: 1.15; margin: 0 0 10px;
}
/* Gradient-coloured accent span inside title */
.evid-wp .ev-h1 .ev-accent { color: #E8A532; }

/* Section heading — inside ev-section-head */
.evid-wp .ev-h2 {
  font-family: 'Tiro Devanagari Hindi', Georgia, serif;
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 400; color: #1B3A6B; margin: 0; line-height: 1.25;
}

/* Sub-heading inside section body */
.evid-wp .ev-h3 {
  font-size: 16px; font-weight: 700; color: #1B3A6B;
  margin: 20px 0 10px; padding-left: 12px;
  border-left: 3px solid #C8870A; line-height: 1.4;
}

/* Standard paragraph */
.evid-wp .ev-p {
  font-size: 15px; color: #3A2C14; line-height: 1.9; margin: 0 0 13px;
}
.evid-wp .ev-p:last-child { margin-bottom: 0; }

/* Lead paragraph — larger serif, left-accent */
.evid-wp .ev-lead {
  font-family: 'Tiro Devanagari Hindi', Georgia, serif; font-size: 1.06rem; color: #1C1208;
  line-height: 2.0; margin: 0 0 18px;
  padding-left: 16px; border-left: 4px solid #C8870A;
}



/* ═══════════════════════════════════════════════════════════════
   §40  SEC-HEAD  (coloured gradient section header band)
   ─────────────────────────────────────────────────────────────
   USAGE — named colour class (recommended):
     <div class="sec-head sh-navy">
     <div class="sec-head sh-gold">
     <div class="sec-head sh-teal">

   OR inline gradient (still supported):
     <div class="sec-head" style="background:linear-gradient(90deg,#1A4A7A,#2E6BAA);">

   Always include a <div class="bhag">खण्ड N</div> and <h2>Title</h2>
   ═══════════════════════════════════════════════════════════════ */

.evid-wp .sec-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px;
  border-radius: 10px 10px 0 0;
  color: #fff;
  margin-bottom: 0;
}

/* ── Named colour classes — use instead of inline style ──────── */
.evid-wp .sec-head.sh-navy   { background: linear-gradient(90deg,#1A4A7A,#2E6BAA); }
.evid-wp .sec-head.sh-gold   { background: linear-gradient(90deg,#7A4A08,#C8870A); }
.evid-wp .sec-head.sh-teal   { background: linear-gradient(90deg,#0D4E6E,#1A7AAA); }
.evid-wp .sec-head.sh-green  { background: linear-gradient(90deg,#1A5C35,#2A8C50); }
.evid-wp .sec-head.sh-maroon { background: linear-gradient(90deg,#5A1010,#8B1A1A); }
.evid-wp .sec-head.sh-purple { background: linear-gradient(90deg,#3A0A5A,#6B2A9A); }
.evid-wp .sec-head.sh-navy2  { background: linear-gradient(90deg,#1B3A6B,#2E4F90); }

/* Section number chip (खण्ड 1, खण्ड 2 …) */
.evid-wp .bhag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,.7);
  background: rgba(0,0,0,.2);
  padding: 3px 10px;
  border-radius: 20px;
  flex-shrink: 0;
  white-space: nowrap;
}

/* h2 inside sec-head — no own background, inherits white */
.evid-wp .sec-head h2 {
  font-family: 'Tiro Devanagari Hindi', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  padding: 0;
  line-height: 1.3;
  background: none;
  box-shadow: none;
  text-shadow: none;
  text-transform: none;
  border-radius: 0;
}

/* ═══════════════════════════════════════════════════════════════
   §39  RESPONSIVE BREAKPOINTS
   ─────────────────────────────────────────────────────────────
   800px  — sidebar stacks below, 3-col becomes 2-col
   580px  — single column everything, hero adjusts
   380px  — smallest phone tweaks
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 800px) {
  /* Layout */
  .evid-wp .ev-col2           { grid-template-columns: 1fr; }
  .evid-wp .ev-col3           { grid-template-columns: 1fr 1fr; }
  .evid-wp .ev-col2-equal     { grid-template-columns: 1fr 1fr; }
  .evid-wp .ev-wrap           { padding: 24px 14px 40px; }

  /* Hero */
  .evid-wp .ev-hero-inner     { padding: 32px 18px 28px; }
  .evid-wp .ev-hero-sub       { font-size: 14px; }

  /* Grids */
  .evid-wp .ev-grid.cols-3,
  .evid-wp .ev-grid.cols-4    { grid-template-columns: 1fr 1fr; }

  /* Dark boxes */
  .evid-wp .ev-bpsc-grid      { grid-template-columns: 1fr; }
  .evid-wp .ev-vision-grid    { grid-template-columns: 1fr; }
  .evid-wp .ev-summary-grid   { grid-template-columns: 1fr 1fr; }

  /* Top band */
  .evid-wp .ev-top-band       { padding: 8px 18px; flex-wrap: wrap; gap: 4px; }

  /* Table — reduce padding on medium screens */
  .evid-wp .ev-table th,
  .evid-wp .ev-table td       { padding: 10px 10px; }

  /* Profile */
  .evid-wp .ev-profile-head   { padding: 16px 18px; }
  .evid-wp .ev-profile-body   { padding: 18px; }
  .evid-wp .ev-profile-name   { font-size: 22px; }

  /* Section head */
  .evid-wp .sec-head          { padding: 12px 16px; gap: 10px; }
  .evid-wp .sec-head h2       { font-size: 16px !important; }

  /* Accordion */
  .evid-wp .ev-acc-trigger    { padding: 13px 16px !important; font-size: 14.5px !important; }
}

@media (max-width: 580px) {
  /* Typography scale-down */
  .evid-wp .ev-h1             { font-size: clamp(22px, 7vw, 30px); }
  .evid-wp .ev-h2             { font-size: 17px !important; }
  .evid-wp .ev-h3             { font-size: 15.5px !important; }
  .evid-wp .ev-p              { font-size: 15px !important; }
  .evid-wp .ev-lead           { font-size: 15.5px !important; }

  /* Layout — all single column */
  .evid-wp .ev-col2-equal     { grid-template-columns: 1fr; }
  .evid-wp .ev-col3           { grid-template-columns: 1fr; }
  .evid-wp .ev-grid,
  .evid-wp .ev-grid.cols-2,
  .evid-wp .ev-grid.cols-3,
  .evid-wp .ev-grid.cols-4    { grid-template-columns: 1fr; }

  /* TOC */
  .evid-wp .ev-toc-card-body  { grid-template-columns: 1fr; }
  .evid-wp .ev-toc-list       { grid-template-columns: 1fr; }
  .evid-wp .ev-toc-item       { font-size: 13px; padding: 6px 8px; }

  /* Hero stats — stack vertically */
  .evid-wp .ev-hero-stats     { flex-direction: column; }
  .evid-wp .ev-hero-stat      {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }
  .evid-wp .ev-hero-stat:first-child { border-radius: 6px 6px 0 0; }
  .evid-wp .ev-hero-stat:last-child  {
    border-radius: 0 0 6px 6px;
    border-right: none;
  }
  .evid-wp .ev-hero-stat .ev-sv { font-size: 16px; }

  /* Section head */
  .evid-wp .sec-head          { padding: 11px 14px; gap: 8px; flex-wrap: wrap; }
  .evid-wp .sec-head h2       { font-size: 15px !important; line-height: 1.3; }
  .evid-wp .bhag              { font-size: 9px; padding: 2px 8px; }

  /* Section body */
  .evid-wp .ev-section        { margin-bottom: 32px; }
  .evid-wp .ev-section-head   { gap: 10px; margin-bottom: 18px; }
  .evid-wp .ev-sec-icon       { width: 36px; height: 36px; font-size: 16px; }

  /* Tables — horizontal scroll, smaller text */
  .evid-wp .ev-table-wrap     { margin: 12px -2px; }
  .evid-wp .ev-table          { min-width: 360px; font-size: 13px; }
  .evid-wp .ev-table th       { padding: 9px 10px; font-size: 12px; white-space: normal; }
  .evid-wp .ev-table td       { padding: 9px 10px; font-size: 13px; }

  /* Quick-revision table — stack key/val */
  .evid-wp .ev-qr-row         { flex-direction: column; }
  .evid-wp .ev-qr-key         { width: 100%; font-weight: 700; border-right: none; border-bottom: 1px solid #EDE4D0; }
  .evid-wp .ev-qr-val         { width: 100%; }
  .evid-wp .ev-qr-row.ev-qr-head .ev-qr-key { border-bottom-color: rgba(255,255,255,.15); }

  /* Notes */
  .evid-wp .ev-note           { padding: 13px 14px; gap: 10px; }
  .evid-wp .ev-note-icon      { font-size: 18px; }
  .evid-wp .ev-note-body      { font-size: 14.5px !important; }

  /* Timeline */
  .evid-wp .ev-timeline       { padding-left: 28px; }
  .evid-wp .ev-tl-item        { padding: 11px 14px; }
  .evid-wp .ev-tl-item::before { left: -22px; width: 12px; height: 12px; }
  .evid-wp .ev-tl-year        { font-size: 13px; }
  .evid-wp .ev-tl-text        { font-size: 14px !important; }

  /* Ruler cards */
  .evid-wp .ev-ruler-head     { padding: 12px 14px; }
  .evid-wp .ev-ruler-head h3  { font-size: 15px; }
  .evid-wp .ev-ruler-body     { padding: 11px 14px; font-size: 16px !important; }

  /* Profile */
  .evid-wp .ev-profile-head   { padding: 14px 16px; flex-direction: column; align-items: flex-start; }
  .evid-wp .ev-profile-name   { font-size: 20px; }
  .evid-wp .ev-fact-grid      { grid-template-columns: 1fr 1fr; }
  .evid-wp .ev-fact-chip      { padding: 8px 10px; }

  /* Accordion */
  .evid-wp .ev-acc-trigger    { padding: 12px 14px !important; font-size: 14px !important; }
  .evid-wp .ev-acc-body       { padding: 0 14px; }
  .evid-wp .ev-accordion.open .ev-acc-body { padding: 14px 14px 16px; }

  /* Quiz MCQ */
  .evid-wp .ev-quiz-opts      { grid-template-columns: 1fr; }
  .evid-wp .ev-quiz-q         { font-size: 14px; }
  .evid-wp .ev-quiz-opt       { font-size: 13.5px; padding: 9px 12px; }

  /* Summary */
  .evid-wp .ev-summary        { padding: 20px 16px; margin-top: 32px; }
  .evid-wp .ev-summary-title  { font-size: 17px; }
  .evid-wp .ev-summary-grid   { grid-template-columns: 1fr 1fr; gap: 10px; }
  .evid-wp .ev-summary-item   { padding: 12px 12px; }
  .evid-wp .ev-summary-item .ev-si-title { font-size: 13px; }
  .evid-wp .ev-summary-item .ev-si-text  { font-size: 13px; }

  /* PYQ */
  .evid-wp .ev-pyq            { padding: 18px 14px; }
  .evid-wp .ev-pyq-item       { padding: 12px 14px; font-size: 14px !important; }
  .evid-wp .ev-pyq-title      { font-size: 13px; }

  /* Mnemonic */
  .evid-wp .ev-mnemonic       { padding: 18px 16px; }
  .evid-wp .ev-mnemonic .ev-mn-key { font-size: 20px; letter-spacing: 3px; }
  .evid-wp .ev-mn-hl          { font-size: 13px; margin: 3px; }

  /* Dark boxes */
  .evid-wp .ev-bpsc-box       { padding: 18px 14px; }
  .evid-wp .ev-vision         { padding: 20px 16px; }
  .evid-wp .ev-pull-quote     { padding: 20px 16px; }
  .evid-wp .ev-pull-quote .ev-pq-text { font-size: 1rem; }

  /* Sidebar stacks above */
  .evid-wp .ev-sidebar        { order: -1; }

  /* Tags strip */
  .evid-wp .ev-tags-strip     { padding: 14px 16px; }

  /* Divider */
  .evid-wp .ev-divider        { margin: 6px 0 24px; }
}

@media (max-width: 400px) {
  .evid-wp .ev-wrap           { padding: 16px 10px 32px; }
  .evid-wp .ev-summary-grid   { grid-template-columns: 1fr; }
  .evid-wp .ev-fact-grid      { grid-template-columns: 1fr; }
  .evid-wp .ev-summary-item   { padding: 10px 10px; }
  .evid-wp .ev-sec-icon       { display: none; }  /* hide icon on tiny screens */
  .evid-wp .ev-table          { min-width: 280px; font-size: 12.5px; }
  .evid-wp .ev-table th,
  .evid-wp .ev-table td       { padding: 7px 8px; }
  .evid-wp .ev-acc-trigger    { font-size: 13.5px !important; }
  .evid-wp .ev-profile-head   { padding: 12px 14px; }
  .evid-wp .ev-mnemonic .ev-mn-key { font-size: 18px; letter-spacing: 2px; }
  .evid-wp .ev-note           { flex-direction: column; gap: 8px; }
  .evid-wp .ev-note-icon      { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   §41  PREFERS-REDUCED-MOTION
   ─────────────────────────────────────────────────────────────
   Disables animations for users who have enabled the OS-level
   "reduce motion" setting (common for vestibular disorders,
   epilepsy, or simply user preference).
   ═══════════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  .evid-wp *,
  .evid-wp *::before,
  .evid-wp *::after {
    animation-duration:        0.01ms !important;
    animation-iteration-count: 1      !important;
    transition-duration:       0.01ms !important;
    scroll-behavior:           auto   !important;
  }

  /* Accordion: show content instantly, no height animation */
  .evid-wp .ev-acc-body {
    transition: none !important;
  }

  /* Progress bars: jump to final width immediately */
  .evid-wp .ev-progress-fill {
    transition: none !important;
  }

  /* Hover transforms: remove lift effect */
  .evid-wp .ev-card:hover,
  .evid-wp .ev-ruler:hover,
  .evid-wp .ev-reason-card:hover {
    transform: none !important;
  }
}
