
/*=========TAB.CSS==================*/
.top-tabs{display:flex;gap:8px;padding:0;width:100%;box-sizing:border-box;background:rgba(255,255,255,.75);backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.3);border-radius:10px;box-shadow:0 4px 18px rgba(0,0,0,.05),inset 0 1px 0 rgba(255,255,255,.4);position:relative}.top-tabs a{flex:1;position:relative;text-align:center;text-decoration:none;padding:12px 10px;font-size:13px;font-weight:600;letter-spacing:.2px;color:#5b6472;border-radius:10px;overflow:hidden;transition:background-color .28s cubic-bezier(.4,0,.2,1),color .28s cubic-bezier(.4,0,.2,1),opacity .28s cubic-bezier(.4,0,.2,1),box-shadow .28s cubic-bezier(.4,0,.2,1),transform .18s ease;opacity:.75;z-index:1}.top-tabs .tab-icon{display:inline-block;margin-right:4px;line-height:1}.top-tabs .tab-label{display:inline-block;white-space:nowrap}.top-tabs a:hover{background:rgba(255,255,255,.55);color:#111827;transform:translateY(-1px);opacity:1}.top-tabs a.active{background:linear-gradient(135deg,#111827,#1f2937);color:#fff;opacity:1;box-shadow:0 6px 16px rgba(17,24,39,.25),inset 0 1px 0 rgba(255,255,255,.12);transform:translateY(-1px)}.top-tabs a.active::before{content:"";position:absolute;inset:0;background:linear-gradient(120deg,rgba(255,255,255,.18),transparent 45%,rgba(255,255,255,.08));border-radius:inherit;pointer-events:none}.top-tabs a.active::after{content:"";position:absolute;left:14%;bottom:6px;width:72%;height:3px;background:rgba(255,255,255,.92);border-radius:999px;transform:scaleX(1);transform-origin:center;animation:underlineSlide .28s ease;will-change:transform,opacity}.top-tabs a:active{transform:scale(.97)}#content-area,.entry-content{transition:opacity .28s ease,transform .28s ease}#content-area.loading{opacity:.35;transform:translateY(4px)}@keyframes underlineSlide{from{transform:scaleX(0);opacity:0}to{transform:scaleX(1);opacity:1}}@media(max-width:768px){.top-tabs{justify-content:space-between;gap:4px}.top-tabs a{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:8px 4px;font-size:12px;gap:4px;line-height:1.2;text-align:center}.top-tabs .tab-icon{margin-right:0;font-size:18px}.top-tabs .tab-label{font-size:13px;line-height:2}}@media(max-width:480px){.top-tabs a{padding:7px 1px;gap:3px}.top-tabs .tab-icon{font-size:17px}.top-tabs .tab-label{font-size:10px}}



/*=========UPSC.CSS==================*/
:root{--saffron:#FF6B2B;--deep-blue:#1A2E52;--gold:#D4A017;--cream:#FDF6E3;--soft-green:#2D7A5C;--light-bg:#F5F0E8;--card-bg:#FFFDF7;--shadow:0 4px 20px rgba(26,46,82,.1);--border:1.5px solid #E8DCC8}*{box-sizing:border-box;margin:0;padding:0}body{background:var(--light-bg);background-image:radial-gradient(ellipse at 10% 20%,rgba(255,107,43,.07) 0,transparent 60%),radial-gradient(ellipse at 90% 80%,rgba(26,46,82,.06) 0,transparent 60%)!important;font-family:'Baloo 2',serif;color:var(--deep-blue);min-height:100vh;padding:32px 16px 60px}.mcq-card{background:var(--card-bg);border:var(--border);  border-radius:14px;box-shadow:var(--shadow);max-width:950px;margin:0 auto 28px!important;padding:28px 30px 22px;transition:box-shadow .2s;position:relative;overflow:hidden}.mcq-card::before{content:'';position:absolute;top:0;right:0;width:80px;height:80px;background:radial-gradient(circle at top right,rgba(212,160,23,.1),transparent 70%);border-radius:0 14px 0 100%}.mcq-card:hover{box-shadow:0 8px 32px rgba(26,46,82,.15)}.mcq-question{font-size:18px;font-weight:700;color:var(--deep-blue);margin-bottom:16px;line-height:1.7}.mcq-options{display:grid;grid-template-columns:1fr 1fr;gap:8px 18px;margin-bottom:14px}.mcq-options div{background:var(--light-bg);border:1px solid #E2D8C5;border-radius:8px;padding:7px 13px;font-size:17px;color:#3a3a5c;font-weight:500;transition:background .15s}.mcq-source{display:inline-block;background:var(--deep-blue);color:#FFD580;font-size:12px!important;font-weight:700;border-radius:20px;padding:3px 12px;margin-bottom:12px;letter-spacing:.3px;text-transform:uppercase}.mcq-answer{background:linear-gradient(90deg,#e8f5ee 0,#f0faf5 100%);border:1px solid #b2dfcd;border-radius:8px;padding:9px 16px;font-size:17px;color:var(--soft-green);font-weight:700;margin-bottom:13px;display:flex;align-items:center;gap:6px}.mcq-answer::before{content:'✔';font-size:17px;color:var(--soft-green)}.mcq-explanation{background:linear-gradient(135deg,#fffbe8 0,#fff8f0 100%);border-left:4px solid var(--gold);border-radius:8px;padding:13px 16px;font-size:17px;line-height:1.85;color:#2c2c4a}.mcq-explanation .extra-facts{margin-top:12px;padding-top:10px;border-top:1.5px dashed #D4A017}.extra-facts-label{font-weight:700;color:var(--saffron);font-size:17px;letter-spacing:.5px;display:block;margin-bottom:4px}@media(max-width:768px){.mcq-card{width:calc(100vw - 12px)!important;max-width:none!important;margin-left:calc(50% - 50vw + 6px)!important;margin-right:calc(50% - 50vw + 6px)!important;margin-top:0!important;margin-bottom:12px!important;padding:16px!important;border-radius:14px!important}.mcq-question,.mcq-explanation{text-align:justify!important;text-justify:inter-word!important}.mcq-question,.mcq-options div,.mcq-explanation,.extra-facts,.extra-facts-label{font-size:18px!important}.mcq-answer{font-size:17px!important}.mcq-source{font-size:11px!important}}

/*=========toc_tag_table.CSS==================*/
.toc-placeholder{min-height:190px}.toc-box{width:100%;max-width:100%;background:linear-gradient(180deg,#ffe9e9 0%,#fff7f7 100%);border:1px solid rgba(255,255,255,.4);border-radius:18px;padding:0;box-shadow:0 10px 30px rgba(232,111,102,.12),0 2px 8px rgba(0,0,0,.05);overflow:hidden;position:relative;margin-bottom:22px;min-height:190px;contain:layout paint}.toc-box::before{content:"";position:absolute;inset:0;background:linear-gradient(120deg,rgba(255,255,255,.25),transparent 40%);pointer-events:none}.toc-header{background:linear-gradient(135deg,#e86f66,#d75555);color:#fff;font-weight:700;font-size:17px;padding:14px 16px;margin:0;letter-spacing:.3px;display:flex;align-items:center;gap:8px;position:relative;overflow:hidden}#autoTOC ul{list-style:none;margin:0;padding:14px}#autoTOC ul ul{display:block;margin-top:6px;margin-left:22px;padding-left:14px;border-left:2px dashed rgba(232,111,102,.35);list-style:none;clear:both}#autoTOC li{list-style:none;position:relative;margin:0;clear:both;border-bottom:1px solid #b0adac;border-radius:10px}#autoTOC li:last-child{border-bottom:none}#autoTOC li:hover{background:#e8e7e6;box-shadow:0 2px 8px rgba(232,111,102,.08)}#autoTOC span{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;min-width:22px;text-align:center;color:#fff;cursor:pointer;margin:9px 6px 0 4px;font-weight:700;vertical-align:top;border-radius:50%;background:linear-gradient(135deg,#ff7f72,#d75555);box-shadow:0 3px 8px rgba(215,85,85,.25)}#autoTOC a{text-decoration:none;;color:#333;font-size:18px;line-height:1.6;display:inline-block;width:calc(100% - 40px);padding:10px 10px 10px 4px;border-radius:10px;vertical-align:top;position:relative}#autoTOC li:hover>a{color:#d75555}#autoTOC li>a+ul,#autoTOC li>span+a+ul{display:block;clear:both}#autoTOC>ul>li{font-weight:700;margin-bottom:8px}#autoTOC ul ul li{font-weight:400}.toc-container ul{list-style:none;padding-left:0;margin-left:0}.toc-container li{list-style:none}.toc-container ul ul{padding-left:18px}@media(max-width:768px){.toc-box{border-radius:16px}.toc-header{font-size:22px;padding:12px 14px}#autoTOC a{font-size:20px;padding:8px 10px}#autoTOC ul{padding:12px}#autoTOC ul ul{margin-left:18px;padding-left:10px}#autoTOC span{width:20px;height:20px;min-width:20px;font-size:18px}}
body .wp-site-blocks .wp-block-post-content .note-box{background:#fff8e1;border-left:4px solid #f59e0b;padding:12px 14px;margin:15px 0;border-radius:8px;line-height:1.7}body .wp-site-blocks .wp-block-post-content .section-label{display:inline-block;margin:25px 0 12px;padding:8px 16px;background:#eff6ff;color:#1d4ed8;font-size:19px!important;;font-weight:700;border-left:4px solid #2563eb;border-radius:6px;line-height:1.4}body .wp-site-blocks .wp-block-post-content .pre-heading{font-size:20px!important;line-height:1!important;font-weight:800;text-align:center;color:#111827;position:relative;padding:8px;background:#fff;border-radius:12px;box-shadow:0 8px 20px rgba(0,0,0,.08)}body .wp-site-blocks .wp-block-post-content .pre-heading::after{content:"";width:120px;height:4px;background:#e34666;display:block;margin:12px auto 0;border-radius:10px}body:has(.ancient-template-bg) .poppins-protected-content,body:has(.ancient-template-bg) .poppins-protected-content li,body:has(.ancient-template-bg) .poppins-protected-content span,body:has(.ancient-template-bg) .poppins-protected-content div{;font-size:17.5px;font-weight:400!important;line-height:1.8!important}body .wp-site-blocks .wp-block-post-content h2,body .wp-site-blocks .wp-block-post-content h2.wp-block-heading,body .wp-site-blocks .wp-block-post-content h2[class*="has-"][class*="-font-size"]{font-size:18px!important;line-height:1.35!important;font-weight:700;color:#1f2937;background:#fff;padding:12px 18px;border-left:6px solid #e34666;border-radius:8px;box-shadow:0 4px 12px rgba(0,0,0,.05);margin:25px 0 10px}body .wp-site-blocks .wp-block-post-content h3,body .wp-site-blocks .wp-block-post-content h3.wp-block-heading,body .wp-site-blocks .wp-block-post-content h3[class*="has-"][class*="-font-size"]{font-size:25px!important;line-height:1!important;margin:25px 0 1px;color:#b86909;position:relative;padding-left:22px}body .wp-site-blocks .wp-block-post-content h3::before{content:"●";position:absolute;left:0;color:#b86909}body .wp-site-blocks .wp-block-post-content h3::after{content:"";display:block;width:100%;height:2px;background:#b86909;transition:.3s}body .wp-site-blocks .wp-block-post-content h4,body .wp-site-blocks .wp-block-post-content h4.wp-block-heading,body .wp-site-blocks .wp-block-post-content h4[class*="has-"][class*="-font-size"]{font-size:18px!important;line-height:1.4!important;font-weight:600;color:#7c3aed;margin:20px 0 8px}a{color:blue;font-weight:700;font-size:17.5px;text-decoration:none}#box{font-size:17px!important;width:auto;height:auto;padding:8px;color:#000;border:1px solid #784405;box-sizing:border-box;background:#fae3c8}table{width:100%!important;max-width:100%!important;border-collapse:collapse;display:table!important;overflow-x:auto;margin:18px 0;;font-size:16px;line-height:1.8}th,td{border:1px solid #1a1812;padding-left:3%;vertical-align:top;}th{text-align:center;font-weight:800;background:#e89090}

@media(max-width:768px){body .wp-site-blocks .wp-block-post-content .section-label{font-size:20px!important;}body:has(.ancient-template-bg) .poppins-protected-content li,body:has(.ancient-template-bg) .poppins-protected-content p{font-size:18.5px;text-align:justify !important;}body .wp-site-blocks .wp-block-post-content h2{font-size:25px!important}body .wp-site-blocks .wp-block-post-content h3{font-size:24px!important}body .wp-site-blocks .wp-block-post-content h4{font-size:22px!important}table{table-layout:fixed;width:100%}th,td{word-break:break-word;overflow-wrap:break-word}table{font-size:16px;line-height:1.5}th,td{padding:8px;word-break:break-word}}


/*=========Breadcrumb.CSS==================*/
.chapter-breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:6px 0 12px;padding:0;font-family:"Poppins",sans-serif;font-size:15px;line-height:1.5;color:#d1d5db}.chapter-breadcrumb a,.chapter-breadcrumb .current,.chapter-breadcrumb>span:not(.current){font-size:15px}.chapter-breadcrumb a{color:#fcfafa;text-decoration:none;transition:color .2s ease}.chapter-breadcrumb a:hover{color:#facc15}.chapter-breadcrumb>span:not(.current){color:rgba(255,255,255,.45);font-size:25px;line-height:1}.chapter-breadcrumb .current{color:#facc15;font-weight:500}@media(max-width:768px){.chapter-breadcrumb,.chapter-breadcrumb a,.chapter-breadcrumb .current,.chapter-breadcrumb>span:not(.current){font-size:18px;line-height:1;}}



/* =========================
   📝 TEXT / TYPOGRAPHY
========================= */

body.dark-mode p,
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode li {
  color: #e5e5e5 !important;

}



/* =========================
   🏺 ANCIENT TEMPLATE FIX
========================= */

body.dark-mode .ancient-template-bg {
  background: #0f0f0f;    /*   !important*/
  color: #e5e5e5 !important;
}

/* ENTRY CONTENT AREA */
body.dark-mode .entry-content {
  background: transparent;/*             !important;  */
  color: #e5e5e5 !important;
}

/* PARAGRAPHS */
body.dark-mode .entry-content p {
  color: #e5e5e5 !important;
}

/* STRONG TEXT */
body.dark-mode .entry-content strong {
  color: #ffffff !important;
}

/* LIST / BLOCK TEXT CLEANUP */
body.dark-mode .entry-content li {
  color: #e5e5e5 !important;
}

/* OPTIONAL: BETTER READING EXPERIENCE */
body.dark-mode .entry-content {
  line-height: 1.8;
}

/* LINKS (if any) */
body.dark-mode .entry-content a {
  color: #7ab8ff !important;
}

/* REMOVE WHITE BACKGROUND FROM BLOCKS */
body.dark-mode .wp-block-post-content   /*,
body.dark-mode .wp-block-post-content *  */{
  background: transparent !important;
}

body.dark-mode h2,
body.dark-mode .toc-header  {
  background: #2A3A5C! important;
  border: 1px solid #2E3450;
}


body.dark-mode #autoTOC,
body.dark-mode .pre-heading,
body.dark-mode .toc-header,
body.dark-mode .top-tabs {
background: #1E2130! important;
}

body.dark-mode th {
background: #1E2130! important;
}


body.dark-mode table,
body.dark-mode th,
body.dark-mode td{
    border-color:#444 !important;
}


body.dark-mode #autoTOC li:hover{
    background:#353b52;
    box-shadow:0 0 0 1px rgba(120,160,255,.25);
}

body.dark-mode #autoTOC li:hover > a{
    color:#8db8ff;

}

body.dark-mode #autoTOC a{
    color:#d8d8d8;
}

body.dark-mode #autoTOC li{
    border-bottom:1px solid #444;
}

body.dark-mode #autoTOC ul ul{
    border-left:2px dashed #555;
}

body.dark-mode .wp-site-blocks .wp-block-post-content .note-box{
    background:linear-gradient(180deg,#2b2414 0%,#1f1a10 100%);
    border-left:4px solid #f59e0b;
    color:#f3f4f6;
    box-shadow:0 2px 10px rgba(0,0,0,.25);
}


.dark-mode #box {
  color: #f1f1f1;
  background-color: #1f1f1f;
  border: 1px solid #555;
}