@charset "utf-8";
@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');
/*
 * +--------------------------------------------------------------+
 *  evid-genesis-fix.css  |  evidyarthi.in
 *  Genesis Child Theme Conflict Shield  —  v1.0
 *
 *  PROBLEM
 *  -------
 *  Your Genesis child theme (custom.css) uses broad global CSS
 *  selectors — h1, h2, h3, table, th, td, li, li:before, a:link,
 *  .entry-content li — that bleed into .evid-wp post content and
 *  break the design system components.
 *
 *  SOLUTION
 *  --------
 *  This file undoes every conflict by re-scoping or overriding
 *  ONLY inside .evid-wp. It does NOT change any theme behaviour
 *  outside the wrapper.  Load it LAST — after both custom.css
 *  and evid-custom.css.
 *
 *  LOAD ORDER IN WordPress (functions.php)
 *  ---------------------------------------
 *  wp_enqueue_style( 'genesis-child',    ... );   // automatic
 *  wp_enqueue_style( 'evid-custom',      ... );   // your design system
 *  wp_enqueue_style( 'evid-genesis-fix', get_stylesheet_directory_uri()
 *                    . '/evid-genesis-fix.css',
 *                    ['evid-custom'], '1.0' );    // THIS FILE — load last
 *
 *  Or via WordPress Customizer ? Additional CSS (paste at the end).
 *
 *  CONFLICTS FIXED (8 rules from custom.css)
 *  ------------------------------------------
 *  1.  li:before / .entry-content li:before { content: none !important }
 *      ? kills ev-list bullets, timeline dots, numbered circles
 *
 *  2.  .content h2 { color:white !important; background-image:radial-gradient;
 *                    box-shadow; text-shadow; text-transform:capitalize;
 *                    text-align:center; padding:10px 14px; border-radius:6px }
 *      ? makes every ev-h2 a white-on-blue gradient banner
 *
 *  3.  h1 { font-family:"Raleway"; font-weight:300; font-size:40px; color:#080808 }
 *      ? wrong font/weight on ev-h1 inside hero
 *
 *  4.  .entry-header h1::before / ::after  (blue decorative lines)
 *      ? unwanted underline drawn under ev-h1
 *
 *  5.  table/th/td global styles  (Arial font, light-blue header, grey borders)
 *      ? overwrites ev-table navy header, correct borders, warm stripes
 *
 *  6.  .content p a:link { font-weight:bold; color:#006EB6 !important }
 *      ? forces bold blue on every link inside dark components
 *
 *  7.  .entry-content li { display:list-item; margin:0 0 0 1.5em; position:static }
 *      .entry-content li:before { content:none !important }
 *      .entry-content li:after  { content:none }
 *      ? breaks ev-list flex layout, kills all decorative pseudo-elements
 *
 *  8.  .content h3 / .entry-content h3 { clear:both }
 *      .entry-content p { clear:both }
 *      ? clear:both inside flex/grid containers breaks component layout
 * +--------------------------------------------------------------+
 */


/* -------------------------------------------------------------
   FIX 1  li:before / .entry-content li:before { content:none !important }
   --------------------------------------------------------------
   SOURCE IN custom.css:
     li:before { content: none; }
     .entry-content li:before { content: none !important; ... opacity: 0; }
     .entry-content li:after  { content: none; }
     .entry-content li:hover:before { opacity: 0; }

   WHY IT BREAKS:
   Every component that draws a decorative mark via ::before or ::after
   on a child element is silently erased — ev-list diamond bullets,
   timeline dots, numbered circles, section-head gold underline (::after
   on a div, but the broad rule still stacks with the cascade).

   FIX:
   Restore content for each affected component inside .evid-wp.
   Use !important to beat the !important source rule.
   ------------------------------------------------------------- */

/* ev-list — diamond ? bullet */
.evid-wp .ev-list li::before {
    content:   '?' !important;
    color:     var(--c-gold, #C8870A) !important;
    font-size: 10px !important;
    flex-shrink: 0 !important;
    margin-top: 6px !important;
    /* reset any bleed from .entry-content li:before */
    background:  none !important;
    position:    static !important;
    animation:   none !important;
    filter:      none !important;
    opacity:     1 !important;
    border:      none !important;
    padding:     0 !important;
    width:       auto !important;
    height:      auto !important;
    top:    auto !important;
    left:   auto !important;
    z-index: auto !important;
}

/* ev-list.list-numbered — auto-numbered circles */
.evid-wp .ev-list.list-numbered li::before {
    content:           counter(ev-li) !important;
    counter-increment: ev-li !important;
    background:        var(--c-navy, #1B3A6B) !important;
    color:             #fff !important;
    width:             20px !important;
    height:            20px !important;
    border-radius:     50% !important;
    font-size:         11px !important;
    font-weight:       700 !important;
    display:           inline-flex !important;
    align-items:       center !important;
    justify-content:   center !important;
    flex-shrink:       0 !important;
    margin-top:        2px !important;
    position:          static !important;
    animation:         none !important;
    filter:            none !important;
    opacity:           1 !important;
    padding:           0 !important;
}

/* ev-tl-item — timeline dots (these are divs, not li, but we guard anyway) */
.evid-wp .ev-tl-item::before {
    content:       '' !important;
    position:      absolute !important;
    left:          -28px !important;
    top:           50% !important;
    transform:     translateY(-50%) !important;
    width:         14px !important;
    height:        14px !important;
    border-radius: 50% !important;
    background:    var(--c-gold, #C8870A) !important;
    border:        3px solid var(--c-bg, #F9F5EE) !important;
    box-shadow:    0 0 0 2px var(--c-gold, #C8870A) !important;
    z-index:       1 !important;
    animation:     none !important;
    filter:        none !important;
    opacity:       1 !important;
    margin:        0 !important;
}
.evid-wp .ev-tl-item.tl-navy::before {
    background: var(--c-navy, #1B3A6B) !important;
    box-shadow: 0 0 0 2px var(--c-navy, #1B3A6B) !important;
}
.evid-wp .ev-tl-item.tl-green::before {
    background: var(--c-green, #1A5C35) !important;
    box-shadow: 0 0 0 2px var(--c-green, #1A5C35) !important;
}

/* ev-section-head — ensure positioned container + bottom border intact */
.evid-wp .ev-section-head {
    position:       relative !important;
    display:        flex !important;
    align-items:    center !important;
    gap:            14px !important;
    border-bottom:  2px solid var(--c-border, #DDD0B8) !important;
    padding-bottom: 14px !important;
    margin-bottom:  26px !important;
}

/* gold accent underline (::after on a div — not a li) */
.evid-wp .ev-section-head::after {
    content:    '' !important;
    display:    block !important;
    position:   absolute !important;
    bottom:     -2px !important;
    left:       0 !important;
    width:      52px !important;
    height:     2px !important;
    background: var(--c-gold, #C8870A) !important;
    animation:  none !important;
    filter:     none !important;
    opacity:    1 !important;
    z-index:    1 !important;
}

/* ev-ornament-line — decorative side rules */
.evid-wp .ev-ornament-line::before,
.evid-wp .ev-ornament-line::after {
    content:    '' !important;
    flex:       1 !important;
    height:     1px !important;
    background: var(--c-gold, #C8870A) !important;
    opacity:    .5 !important;
}

/* ev-list ::after — ensure the empty reset is never triggered */
.evid-wp .ev-list li::after {
    content: none !important;
    background: none !important;
}


/* -------------------------------------------------------------
   FIX 2  .content h2 — blue gradient banner removal
   --------------------------------------------------------------
   SOURCE IN custom.css:
     .content h2 { color: white !important; background-image: radial-gradient(…); … }

   WHY IT BROKE BEFORE:
   The previous fix used `.content h2` globally which changed h2
   on ALL pages — including pages that don't use evid-wp at all.

   CORRECT FIX:
   Scope every rule to .evid-wp so only evid-wp posts are affected.
   `.content .evid-wp h2` has specificity 0,2,1 vs `.content h2`
   at 0,1,1 — so it wins over the gradient rule even with !important
   (within the !important tier, higher specificity wins).

   THREE CASES — all scoped to .evid-wp:
   ? Bare h2 inside .evid-wp  ? plain dark text, no background
   ? h2 inside .sec-head      ? transparent, inherits white from container
   ? ev-h2 / ev-section-head  ? design system serif typography
   ------------------------------------------------------------- */

/* ------------------------------------------------------------
   ?  Bare h2 inside .evid-wp (e.g. ## markdown headings)
   ------------------------------------------------------------ */
.content       .evid-wp h2,
.entry-content .evid-wp h2,
               .evid-wp h2 {
    color:            #1B3A6B;
    background-image: none !important;
    background-color: transparent !important;
    background:       transparent !important;
    box-shadow:       none !important;
    text-shadow:      none !important;
    text-transform:   none !important;
    text-align:       left !important;
    padding:          0 0 10px 0 !important;
    border-radius:    0 !important;
    clear:            none !important;
    font-size:        1.5em !important;
    font-weight:      700 !important;
    line-height:      1.3 !important;
    margin:           0 0 10px 0 !important;
}


/* ------------------------------------------------------------
   ?  .sec-head h2 — inside a coloured gradient header band
   ------------------------------------------------------------ */
.content       .evid-wp .sec-head h2,
.entry-content .evid-wp .sec-head h2,
               .evid-wp .sec-head h2 {
    color:            inherit !important;
    background:       none !important;
    background-image: none !important;
    background-color: transparent !important;
    box-shadow:       none !important;
    text-shadow:      none !important;
    padding:          0 !important;
    margin:           0 !important;
    border-radius:    0 !important;
    text-transform:   none !important;
    text-align:       left !important;
    clear:            none !important;
    font-size:        18px !important;
    font-weight:      700 !important;
    line-height:      1.3 !important;
    display:          block !important;
}


/* ------------------------------------------------------------
   ?  ev-h2 / ev-section-head h2 — design system typography
   ------------------------------------------------------------ */
.evid-wp .ev-h2,
.evid-wp .ev-section-head h2 {
    color:            #1B3A6B !important;
    background-image: none !important;
    background-color: transparent !important;
    background:       transparent !important;
    box-shadow:       none !important;
    text-shadow:      none !important;
    text-transform:   none !important;
    text-align:       left !important;
    padding:          0 !important;
    margin:           0 !important;
    border-radius:    0 !important;
    font-family:      'Tiro Devanagari Hindi', 'Noto Serif Devanagari', Georgia, serif !important;
    font-size:        clamp(20px, 3vw, 26px) !important;
    font-weight:      400 !important;
    line-height:      1.25 !important;
    clear:            none !important;
}


/* -------------------------------------------------------------
   FIX 3  h1 global — wrong font family / weight
   --------------------------------------------------------------
   SOURCE IN custom.css:
     h1 { font-family:"Raleway",sans-serif; font-weight:300;
           font-size:40px; color:#080808; }

   WHY IT BREAKS:
   ev-h1 inside the hero gets Raleway light-weight instead of
   the correct serif at clamp(28px–52px) in white.

   FIX:
   Re-apply the correct font stack and colour for ev-h1.
   ------------------------------------------------------------- */

.evid-wp .ev-h1 {
    font-family: var(--f-serif, 'Tiro Devanagari Hindi', 'Noto Serif Devanagari', Georgia, serif) !important;
    font-weight: 400 !important;
    font-size:   clamp(28px, 5vw, 52px) !important;
    color:       #fff !important;
    line-height: 1.15 !important;
    margin:      0 0 10px !important;
    padding:     0 !important;
    transition:  none !important;
}

/* Gold accent span inside ev-h1 */
.evid-wp .ev-h1 .ev-accent {
    color:       var(--c-gold-lt, #E8A532) !important;
    font-family: inherit !important;
}


/* -------------------------------------------------------------
   FIX 4  .entry-header h1::before / ::after — decorative lines
   --------------------------------------------------------------
   SOURCE IN custom.css:
     .entry-header h1:before { width:55px; height:6px; content:"";
       position:absolute; bottom:-2px; left:48%; background:#0050bb; }
     .entry-header h1:after  { width:100%; height:1px; content:"";
       position:relative; margin-top:7px; background:#004fb8; }

   WHY IT BREAKS:
   When .evid-wp sits inside .entry-header (or its ancestor matches),
   a blue underline bar and horizontal rule appear under ev-h1.

   FIX:
   Remove both pseudo-elements from ev-h1.
   ------------------------------------------------------------- */

.evid-wp .ev-h1::before,
.evid-wp .ev-h1::after {
    content:    none !important;
    display:    none !important;
    width:      0 !important;
    height:     0 !important;
    background: none !important;
}


/* -------------------------------------------------------------
   FIX 5  table / th / td global styles
   --------------------------------------------------------------
   SOURCE IN custom.css:
     table { font-family:arial; border-style:hidden;
             box-shadow:0 0 0 1px #b7b7b7; }
     th    { background-color:#e8f2ff; color:#003d8f;
             border:1px solid #c0d4ee; padding:8px 10px; }
     td    { border:1px solid #dddddd; padding:8px 10px; }
     tr:nth-child(even) td { background-color:#f7faff; }

   WHY IT BREAKS:
   ev-table should have a navy header, borderless cells with only a
   bottom-border separator, and warm gold-tinted even rows. The global
   rules replace all of this with Arial font, light-blue header, grey
   borders and cold-blue stripes.

   FIX:
   Restore every ev-table property to its designed values.
   ------------------------------------------------------------- */

/* Table wrapper and element */
.evid-wp .ev-table {
    font-family:  var(--f-sans, 'Noto Sans Devanagari', sans-serif) !important;
    border-style: none !important;
    box-shadow:   none !important;
}

/* Header row */
.evid-wp .ev-table thead tr {
    background: var(--c-navy, #1B3A6B) !important;
}

/* Header cells */
.evid-wp .ev-table th {
    background-color: var(--c-navy, #1B3A6B) !important;
    color:            rgba(255,255,255,.9) !important;
    border:           none !important;
    padding:          12px 14px !important;
    font-family:      var(--f-sans, sans-serif) !important;
    font-size: 15px !important;
    font-weight:      600 !important;
    text-align:       left !important;
    white-space:      nowrap !important;
}

.evid-wp .ev-table th:first-child { border-radius: 10px 0 0 0 !important; }
.evid-wp .ev-table th:last-child  { border-radius: 0 10px 0 0 !important; }

/* Data cells — bottom border only, no side borders */
.evid-wp .ev-table td {
    border:        none !important;
    border-bottom: 1px solid var(--c-border-lt, #EDE4D0) !important;
    padding:       10px 14px !important;
    background:    #fff !important;
    color:         var(--c-ink-soft, #3A2C14) !important;
    font-size: 15.5px !important;
    font-family:   var(--f-sans, sans-serif) !important;
    vertical-align: top !important;
    text-align:    left !important;
}

/* Even-row stripe — warm instead of cold blue */
.evid-wp .ev-table tbody tr:nth-child(even) td {
    background-color: var(--c-bg, #F9F5EE) !important;
}

/* Hover row */
.evid-wp .ev-table tbody tr:hover td {
    background-color: var(--c-gold-tint, #FFF7E0) !important;
}

/* Strong text inside cells */
.evid-wp .ev-table td strong {
    color: var(--c-ink, #1C1208) !important;
}


/* -------------------------------------------------------------
   FIX 6  .content p a:link — forced bold blue on all links
   --------------------------------------------------------------
   SOURCE IN custom.css:
     .content p a:link { font-weight:bold; color:#006EB6 !important; }

   WHY IT BREAKS:
   Links inside ev- dark components (hero, TOC card, summary box,
   PYQ block, profile header) inherit bold weight and blue colour,
   which is illegible on dark navy or gradient backgrounds.

   FIX:
   Reset weight to normal inside .evid-wp.
   On dark-background components, explicitly set the correct colour.
   ------------------------------------------------------------- */

/* General weight reset inside .evid-wp */
.evid-wp p a,
.evid-wp p a:link,
.evid-wp p a:visited {
    font-weight: normal !important;
}

/* Links on dark-background components — keep readable white / gold */
.evid-wp .ev-hero         a:link,
.evid-wp .ev-hero         a:visited,
.evid-wp .ev-toc-card     a:link,
.evid-wp .ev-toc-card     a:visited,
.evid-wp .ev-summary      a:link,
.evid-wp .ev-summary      a:visited,
.evid-wp .ev-pyq          a:link,
.evid-wp .ev-pyq          a:visited,
.evid-wp .ev-bpsc-box     a:link,
.evid-wp .ev-bpsc-box     a:visited,
.evid-wp .ev-vision       a:link,
.evid-wp .ev-vision       a:visited,
.evid-wp .ev-pull-quote   a:link,
.evid-wp .ev-pull-quote   a:visited,
.evid-wp .ev-ruler-head   a:link,
.evid-wp .ev-ruler-head   a:visited,
.evid-wp .ev-profile-head a:link,
.evid-wp .ev-profile-head a:visited,
.evid-wp .ev-acc-trigger  a:link,
.evid-wp .ev-acc-trigger  a:visited,
.evid-wp .ev-sidebar-card-head a:link,
.evid-wp .ev-sidebar-card-head a:visited {
    color:           rgba(255,255,255,.85) !important;
    font-weight:     normal !important;
    text-decoration: none !important;
}

/* TOC dark card links */
.evid-wp .ev-toc-item,
.evid-wp .ev-toc-item:link,
.evid-wp .ev-toc-item:visited {
    color:#000;
    font-weight: bold;
    font-size: 16px;
    text-decoration: none !important;
}

/* Sticky TOC bar links */
.evid-wp .ev-toc-link,
.evid-wp .ev-toc-link:link,
.evid-wp .ev-toc-link:visited {
    color:           var(--c-gold-lt, #E8A532) !important;
    font-weight:     500 !important;
    text-decoration: none !important;
}

/* Gold-bordered TOC box links (light background — navy is correct) */
.evid-wp .ev-toc-box a:link,
.evid-wp .ev-toc-box a:visited {
    color:           var(--c-navy, #1B3A6B) !important;
    font-weight:     normal !important;
    text-decoration: none !important;
}


/* -------------------------------------------------------------
   FIX 7  .entry-content li — display, margin and pseudo-elements
   --------------------------------------------------------------
   SOURCE IN custom.css:
     .entry-content li {
       display: list-item;
       margin:  0 0 0 1.5em;
       position: static;
       z-index: auto;
       border-radius: 0;
     }
     .entry-content li:before { content: none !important; ... opacity: 0; }
     .entry-content li:after  { content: none; background: none; }
     .entry-content li:hover:before { opacity: 0; }
     .entry-content li:active { color: #222; }

   WHY IT BREAKS:
   ev-list items use display:flex + gap. Forcing display:list-item
   removes the flex layout entirely. The 1.5em left margin pushes
   items right, misaligning the bullet. The :before/:after resets
   (already covered in Fix 1) are repeated here for completeness.

   FIX:
   Restore flex display and zero margin for ev-list items.
   Restore :before / :after to the correct decorative values.
   ------------------------------------------------------------- */

/* Restore flex layout — hardcoded color (no CSS variable) to guarantee visibility */
.evid-wp .ev-list li {
    display:       flex !important;
    margin:        0 !important;
    padding:       7px 0 !important;
    position:      relative !important;
    color:         #3A2C14 !important;
    background:    none !important;
    border-radius: 0 !important;
    cursor:        default !important;
    z-index:       auto !important;
    font-size:     15.5px !important;
    line-height:   1.8 !important;
    font-family:   'Noto Sans Devanagari', sans-serif !important;
}

/* strong inside list items — ensure dark, not white */
.evid-wp .ev-list li strong {
    color: #1B3A6B !important;
}

/* em inside list items */
.evid-wp .ev-list li em {
    color: #3A2C14 !important;
}

/* -- ACCORDION BODY — force white background + dark text ------
   ev-acc-body background is var(--c-surface) but the minified
   combined CSS may override. Hardcode both bg and text color. */
.evid-wp .ev-acc-body {
    background:   #ffffff !important;
    color:        #3A2C14 !important;
}

/* Every direct child text element inside accordion body */
.evid-wp .ev-acc-body .ev-list li {
    color:      #3A2C14 !important;
    background: transparent !important;
}
.evid-wp .ev-acc-body .ev-list li strong {
    color: #1B3A6B !important;
}
.evid-wp .ev-acc-body .ev-list li em {
    color:       #3A2C14 !important;
    font-style:  italic !important;
}
.evid-wp .ev-acc-body .ev-p,
.evid-wp .ev-acc-body p {
    color:      #3A2C14 !important;
    background: transparent !important;
}
.evid-wp .ev-acc-body .ev-h3 {
    color:      #1B3A6B !important;
    background: none !important;
}
/* Also fix any tables that appear inside accordions */
.evid-wp .ev-acc-body .ev-table td {
    background: #ffffff !important;
    color:      #3A2C14 !important;
}
.evid-wp .ev-acc-body .ev-table tbody tr:nth-child(even) td {
    background: #F9F5EE !important;
}

/* Remove forced underline + weight override on list links */
.evid-wp .ev-list li a,
.evid-wp .ev-list li a:link {
    text-decoration: none !important;
    font-weight:     normal !important;
    color:           #1B3A6B !important;
}

/* Links on dark-bg list items stay white */
.evid-wp .ev-pyq  .ev-list li a:link,
.evid-wp .ev-summary .ev-list li a:link {
    color: rgba(255,255,255,.8) !important;
}

/* Dark-background components — list item text must be white */
.evid-wp .ev-pyq      .ev-list li,
.evid-wp .ev-summary  .ev-list li,
.evid-wp .ev-bpsc-box .ev-list li {
    color: rgba(255,255,255,.88) !important;
}
.evid-wp .ev-pyq      .ev-list li strong,
.evid-wp .ev-summary  .ev-list li strong,
.evid-wp .ev-bpsc-box .ev-list li strong {
    color: #fff !important;
}

/* Restore :after on li */
.evid-wp .ev-list li::after  { content: none !important; }

/* Hover and active states */
.evid-wp .ev-list li:hover::before { opacity: 1 !important; }
.evid-wp .ev-list li:active        { color: #3A2C14 !important; }
.evid-wp .ev-list li:active::after { background: none !important; }


/* -------------------------------------------------------------
   FIX 8  clear:both on h3 and p inside flex/grid containers
   --------------------------------------------------------------
   SOURCE IN custom.css:
     .content h3, .entry-content h3 { clear: both; font-size: 1.4em; }
     .entry-content p { clear: both; }

   WHY IT BREAKS:
   clear:both on .ev-h3 elements inside ev- flex or grid containers
   (ev-note, ev-card, ev-acc-body, etc.) forces them to drop below
   any preceding float, breaking the layout rhythm.
   Same issue for .ev-p paragraphs inside flex row containers.

   FIX:
   Set clear:none on ev-h3 and ev-p inside .evid-wp.
   ------------------------------------------------------------- */

.evid-wp .ev-h3 {
    clear:            none !important;
    font-size:        16px !important;
    font-weight:      700 !important;
    color:            var(--c-navy, #1B3A6B) !important;
    /* Guard against h2 gradient rule bleeding onto ev-h3 */
    background-image: none !important;
    background-color: transparent !important;
    box-shadow:       none !important;
    text-shadow:      none !important;
    padding:          0 0 0 12px !important;
    margin:           20px 0 10px !important;
    border-left:      3px solid var(--c-gold, #C8870A) !important;
    border-radius:    0 !important;
    text-transform:   none !important;
    text-align:       left !important;
}

.evid-wp .ev-p {
    clear: none !important;
}

/* Specific flex container inner paragraphs */
.evid-wp .ev-note    .ev-p,
.evid-wp .ev-note-body p,
.evid-wp .ev-card-body .ev-p,
.evid-wp .ev-card-body p,
.evid-wp .ev-v-item  .ev-p,
.evid-wp .ev-ruler-body .ev-p,
.evid-wp .ev-profile-body .ev-p,
.evid-wp .ev-summary-item .ev-si-text,
.evid-wp .ev-acc-body .ev-p,
.evid-wp .ev-pyq-item,
.evid-wp .ev-bpsc-item,
.evid-wp .ev-qa-answer,
.evid-wp .ev-pull-quote .ev-pq-text,
.evid-wp .ev-conclusion p {
    clear: none !important;
}


/* -------------------------------------------------------------
   BONUS — Accordion trigger button
   --------------------------------------------------------------
   custom.css:
     .button, input[type=button], input[type=reset], input[type=submit]
     { background-color:#c7efff; border-color:skyblue; padding:18px; }

   The ev-acc-trigger is a <button> element. The global button rule
   overrides its background gradient with light blue.
   ------------------------------------------------------------- */

.evid-wp .ev-acc-trigger {
    width:         100% !important;
    padding:       15px 20px !important;
    font-size:     15px !important;
    font-weight:   700 !important;
    color:         #fff !important;
    border:        none !important;
    border-radius: 0 !important;
    border-color:  transparent !important;
    box-shadow:    none !important;
}

/* Restore each colour variant */
.evid-wp .ev-acc-trigger          { background: linear-gradient(90deg, #1B3A6B, #2E4F90) !important; }
.evid-wp .ev-acc-trigger.acc-gold   { background: linear-gradient(90deg, #8B5C08, #C8870A) !important; }
.evid-wp .ev-acc-trigger.acc-green  { background: linear-gradient(90deg, #0D3D22, #1A5C35) !important; }
.evid-wp .ev-acc-trigger.acc-red    { background: linear-gradient(90deg, #5A1010, #8B1A1A) !important; }
.evid-wp .ev-acc-trigger.acc-orange { background: linear-gradient(90deg, #8B3408, #D4601A) !important; }
.evid-wp .ev-acc-trigger.acc-maroon { background: linear-gradient(90deg, #6B1A24, #8B1A2F) !important; }
.evid-wp .ev-acc-trigger.acc-teal   { background: linear-gradient(90deg, #073A3A, #0D6B6B) !important; }
.evid-wp .ev-acc-trigger:hover      { filter: brightness(1.1) !important; }

/* -------------------------------------------------------------
   BONUS — li::marker colour
   --------------------------------------------------------------
   custom.css:
     li::marker { color:#046ac1; font-weight:bold; }

   ev-list uses display:flex so ::marker is invisible, but a few
   components use regular <ul> internally. Reset to inherit.
   ------------------------------------------------------------- */

.evid-wp li::marker {
    color:       inherit !important;
    font-weight: inherit !important;
}


/* ---------------------------------------------------------------
   FONT SIZE & READABILITY FIXES
   -------------------------------------------------------------
   The Genesis theme base font is smaller than the design system
   expects. These rules enforce readable sizes on all components.
   All colors use hardcoded hex — CSS variables are unreliable
   inside WordPress's multi-stylesheet cascade.
   --------------------------------------------------------------- */

/* Body paragraph */
.evid-wp .ev-p {
    font-size:   16px !important;
    line-height: 1.9 !important;
    color:       #3A2C14 !important; /* warm ink — matches design system */
    font-family: 'Noto Sans Devanagari', sans-serif !important;
}

/* Lead paragraph */
.evid-wp .ev-lead {
    font-size:   17px !important;
    line-height: 2.0 !important;
    color:       #1C1208 !important;
}

/* Sub-heading */
.evid-wp .ev-h3 {
    font-size: 17px !important;
    color:     #1B3A6B !important;
}

/* Note body text */
.evid-wp .ev-note-body,
.evid-wp .ev-note-body p {
    font-size: 18.5px !important;
    line-height: 1.85 !important;
    color:       #3A2C14 !important;
}

/* Table cells */
.evid-wp .ev-table td {
    font-size: 15.5px !important;
}
.evid-wp .ev-table th {
    font-size: 15px !important;
}

/* Quick-revision table */
.evid-wp .ev-qr-key,
.evid-wp .ev-qr-val {
    font-size:   16px !important;
    color:       #3A2C14 !important;
    line-height: 1.7 !important;
}
.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,.9) !important;
}

/* Card body text */
.evid-wp .ev-card-body {
    font-size:   16.5px !important;
    color:       #6B5A3E !important;
    line-height: 1.75 !important;
}

/* Ruler card */
.evid-wp .ev-ruler-body {
    font-size:   14.5px !important;
    color:       #3A2C14 !important;
    line-height: 1.75 !important;
}

/* Timeline text */
.evid-wp .ev-tl-text {
    font-size: 17px !important;
    color: #3A2C14 !important;
    line-height: 1.75 !important;
}
.evid-wp .ev-tl-year {
    font-size: 15px !important;
    color:     #C8870A !important;
}
.evid-wp .ev-tl-item.tl-navy  .ev-tl-year { color: #1B3A6B !important; }
.evid-wp .ev-tl-item.tl-green .ev-tl-year { color: #1A5C35 !important; }

/* Accordion trigger */
.evid-wp .ev-acc-trigger {
    font-size: 15.5px !important;
}

/* Accordion body text */
.evid-wp .ev-acc-body .ev-p,
.evid-wp .ev-acc-body p {
    font-size: 15.5px !important;
    color:     #3A2C14 !important;
}

/* PYQ item */
.evid-wp .ev-pyq-item {
    font-size:   15px !important;
    line-height: 1.8 !important;
}

/* Summary item text */
.evid-wp .ev-summary-item .ev-si-text {
    font-size: 15px !important;
}

/* Profile body */
.evid-wp .ev-profile-body .ev-p {
    font-size: 15.5px !important;
    color:     #3A2C14 !important;
}

/* Fact chip value */
.evid-wp .ev-fact-chip .ev-fc-value {
    font-size: 14.5px !important;
    color:     #1C1208 !important;
}

/* Reason card text */
.evid-wp .ev-reason-text {
    font-size:   16px !important;
    color:       #3A2C14 !important;
    line-height: 1.7 !important;
}
.evid-wp .ev-reason-title {
    font-size: 19.5px !important;
    color:     #8B1A1A !important;
}


/* ---------------------------------------------------------------
   MOBILE OVERFLOW FIX
   -------------------------------------------------------------
   ROOT CAUSE:
   Genesis child theme (custom.css) has:
     @media (min-width: 600px) { .content { width: 608px; } }

   This fixes .content at 608px even on phones (375–480px wide).
   The .evid-wp wrapper sits inside .content, so it inherits the
   608px width and causes horizontal scrolling on every phone.

   Additionally, .entry and .content have padding/margins that
   eat into the available width and push our content off-screen.

   FIX: At mobile widths, force .content and all ancestors to be
   fluid (width: 100%), remove fixed widths, and ensure our
   wrapper fills the screen properly.
   --------------------------------------------------------------- */

@media (max-width: 782px) {

    /* -- Force Genesis .content to be fluid -------------------
       This directly overrides:
         @media (min-width: 600px) { .content { width: 608px; } }
       with !important to guarantee the win. */
    .content,
    .entry-content,
    .site-inner .content,
    .content-sidebar .content {
        width:     100% !important;
        max-width: 100% !important;
        min-width: 0   !important;
        float:     none !important;
        padding:   0 !important;
        margin:    0 !important;
    }

    /* -- Remove horizontal overflow from outer containers -----*/
    .site-container,
    .site-inner,
    .wrap,
    .entry,
    .content-sidebar-wrap {
        max-width: 100% !important;
        overflow-x: hidden !important;
        padding-left:  0 !important;
        padding-right: 0 !important;
    }

    /* -- Ensure our wrapper fills 100% ------------------------*/
    .evid-wp {
        width:     100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }

    /* -- ev-wrap gets comfortable side padding ----------------*/
    .evid-wp .ev-wrap {
        padding:   20px 14px 40px !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* -- Tables must scroll inside their wrapper --------------*/
    .evid-wp .ev-table-wrap {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        max-width: 100% !important;
    }
    .evid-wp .ev-table {
        min-width: 400px;  /* allow scroll for complex tables */
    }

    /* -- sec-head responsive padding -------------------------*/
    .evid-wp .sec-head {
        padding: 11px 14px !important;
        gap: 8px !important;
        flex-wrap: wrap !important;
    }
    .content       .evid-wp .sec-head h2,
    .entry-content .evid-wp .sec-head h2,
    .evid-wp       .sec-head h2 {
        font-size: 15px !important;
    }
    .evid-wp .bhag {
        font-size: 9px !important;
        padding: 2px 8px !important;
    }

    /* -- All grids single column ------------------------------*/
    .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 !important;
    }

    /* -- Col layouts stack ------------------------------------*/
    .evid-wp .ev-col2,
    .evid-wp .ev-col2-equal,
    .evid-wp .ev-col3 {
        grid-template-columns: 1fr !important;
    }

    /* -- Quick-revision table stacks -------------------------*/
    .evid-wp .ev-qr-row {
        flex-direction: column !important;
    }
    .evid-wp .ev-qr-key,
    .evid-wp .ev-qr-val {
        width: 100% !important;
    }

    /* -- Accordion --------------------------------------------*/
    .evid-wp .ev-acc-trigger {
        font-size: 14px !important;
        padding: 12px 14px !important;
    }

    /* -- Font sizes -------------------------------------------*/
    .evid-wp .ev-p    { font-size: 15px  !important; }
    .evid-wp .ev-lead { font-size: 15.5px !important; }
    .evid-wp .ev-h3   { font-size: 15.5px !important; }

    /* -- Summary ----------------------------------------------*/
    .evid-wp .ev-summary-grid {
        grid-template-columns: 1fr 1fr !important;
    }

    /* -- Quiz opts --------------------------------------------*/
    .evid-wp .ev-quiz-opts {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 420px) {
    .evid-wp .ev-wrap           { padding: 14px 10px 32px !important; }
    .evid-wp .ev-summary-grid   { grid-template-columns: 1fr !important; }
    .evid-wp .ev-table          { min-width: 300px; }
    .evid-wp .ev-table th,
    .evid-wp .ev-table td       { padding: 7px 8px !important; font-size: 13px !important; }
    .evid-wp .ev-note           { flex-direction: column !important; gap: 6px !important; }
    .evid-wp .ev-note-icon      { display: none !important; }
    .evid-wp .ev-mnemonic .ev-mn-key { font-size: 18px !important; letter-spacing: 2px !important; }
}


/*
 * +--------------------------------------------------------------+
 *  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.
   --------------------------------------------------------------- */


/* ---------------------------------------------------------------
   §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: 16.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: 16.5px; 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: 16px; 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 {
    color: #ffffff; /*EDITED*/
  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 aliases (AI-generated markup variants) ---------- */
.evid-wp .ev-hero 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;
}

.evid-wp .ev-stat-item,
.evid-wp .ev-stat,
.evid-wp .ev-hs-item {
  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; color: #ffffff;
}
.evid-wp .ev-stat-item:first-child,
.evid-wp .ev-stat:first-child,
.evid-wp .ev-hs-item:first-child    { border-radius: 6px 0 0 6px; }
.evid-wp .ev-stat-item:last-child,
.evid-wp .ev-stat:last-child,
.evid-wp .ev-hs-item:last-child     { border-right: 1px solid rgba(255,255,255,.12); border-radius: 0 6px 6px 0; }

.evid-wp .ev-stat-num,
.evid-wp .ev-hs-num {
  font-size: 18px; font-weight: 700; color: #fff; line-height: 1;
  font-family: 'Tiro Devanagari Hindi', Georgia, serif;
}
.evid-wp .ev-stat-label,
.evid-wp .ev-hs-label {
  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 */
  padding:10px;
  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: 15px; 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: 1.20rem; font-weight: 600; color: #8B1A1A;
  flex-shrink: 0; white-space: nowrap;
}
.evid-wp .ev-d-info { font-size: 1.10rem; 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: 17px; 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: 32px; 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: 17px !important;
    color: #3A2C14 !important;
    line-height: 1.75 !important; }


/* ---------------------------------------------------------------
   §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: 15px;
}
.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: 16px; font-weight: 700; color: #E8A532; margin-bottom: 4px; }
.evid-wp .ev-summary-item .ev-si-text  { font-size: 16px; 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: 16px; text-transform: uppercase; letter-spacing: 2px;
  color: #6B5A3E; margin-bottom: 10px; display: block; font-weight: bold;
}
.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: 16px; 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: 16.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: 16px;
  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: 16px; 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:#FFF !important; line-height: 1.6; } /*Edited */


/* ---------------------------------------------------------------
   §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-weight: 700; color: #8B1A1A; margin-bottom: 3px; font-size: 1.20rem;}
.evid-wp .ev-geo-text  { font-size: 1.10rem; 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: 16px;
  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,
  .evid-wp .ev-stat-item,
  .evid-wp .ev-stat,
  .evid-wp .ev-hs-item           {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }
  .evid-wp .ev-hero-stat:first-child,
  .evid-wp .ev-stat-item:first-child,
  .evid-wp .ev-stat:first-child,
  .evid-wp .ev-hs-item:first-child    { border-radius: 6px 6px 0 0; }
  .evid-wp .ev-hero-stat:last-child,
  .evid-wp .ev-stat-item:last-child,
  .evid-wp .ev-stat:last-child,
  .evid-wp .ev-hs-item:last-child     {
    border-radius: 0 0 6px 6px;
    border-right: none;
  }
  .evid-wp .ev-hero-stat .ev-sv,
  .evid-wp .ev-stat-num,
  .evid-wp .ev-hs-num            { 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;
  }
}


