/* SohajPedia homepage — premium dark design (v8). Article pages keep the wiki look. */
*{box-sizing:border-box}
body.home{margin:0;background:#0b0e1a;color:#e8eaf2;font:15.5px/1.55 -apple-system,'Segoe UI',Roboto,'Helvetica Neue',sans-serif}
body.home a{color:#aab4ff;text-decoration:none}
body.home a:hover{text-decoration:underline}
.hwrap{max-width:1240px;margin:0 auto;padding:0 18px}
.htop{position:sticky;top:0;z-index:20;background:rgba(11,14,26,.92);backdrop-filter:blur(10px);border-bottom:1px solid #1d2338}
.htop-in{display:flex;align-items:center;gap:22px;padding:12px 0}
.hlogo{font-family:Georgia,'Times New Roman',serif;font-size:24px;color:#fff;white-space:nowrap}
.hlogo small{display:block;font-family:inherit;font-size:9.5px;letter-spacing:.22em;color:#8f97b8}
.hlogo:hover{text-decoration:none}
.hsearch{flex:1;max-width:520px;display:flex;background:#151a2e;border:1px solid #262e4d;border-radius:99px;overflow:hidden}
.hsearch input{flex:1;background:transparent;border:0;color:#fff;padding:9px 16px;font-size:14.5px;outline:none}
.hsearch button{background:#6a5cff;border:0;color:#fff;padding:9px 18px;cursor:pointer;font-size:14px}
.hnav{display:flex;gap:16px;font-size:14px;white-space:nowrap}
.hnav a{color:#c6cbe0}
.hgrid{display:grid;grid-template-columns:1fr 318px;gap:22px;padding:22px 0 8px}
@media (max-width:960px){.hgrid{grid-template-columns:1fr}.hnav{display:none}}
.hero{position:relative;border-radius:18px;overflow:hidden;min-height:380px;display:flex;align-items:flex-end;background:#151a2e;border:1px solid #232a47}
.hero img.bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero .shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(8,10,20,.05) 30%,rgba(8,10,20,.88) 78%)}
.hero .inner{position:relative;padding:30px 32px;max-width:640px}
.badge{display:inline-block;background:rgba(20,16,4,.72);color:#f2b544;border:1px solid rgba(242,181,68,.5);font-size:12px;font-weight:700;letter-spacing:.06em;padding:4px 11px;border-radius:99px}
.hero h1{font-family:Georgia,serif;font-weight:400;font-size:42px;line-height:1.12;margin:14px 0 10px;color:#fff}
.hero p{color:#d6daea;margin:0 0 18px;font-size:16.5px}
.btn{display:inline-block;background:#fff;color:#141a2e;font-weight:600;padding:11px 20px;border-radius:99px;font-size:14.5px}
.btn:hover{text-decoration:none;background:#e9ebff}
.hsec{display:flex;align-items:baseline;justify-content:space-between;margin:30px 0 14px}
.hsec h2{font-family:Georgia,serif;font-weight:400;font-size:25px;color:#fff;margin:0;border-left:4px solid #6a5cff;padding-left:12px}
.hsec a{font-size:13.5px}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(218px,1fr));gap:14px}
.card{background:#131830;border:1px solid #232a47;border-radius:14px;overflow:hidden;display:block;color:#e8eaf2}
.card:hover{text-decoration:none;border-color:#3a4470;transform:translateY(-2px);transition:.15s}
.card img{width:100%;height:138px;object-fit:cover;display:block}
.card .cb{padding:13px 15px 15px}
.chip{display:inline-block;font-size:11px;font-weight:700;letter-spacing:.05em;padding:2.5px 9px;border-radius:99px;background:#232a47;color:#aab4ff;margin-bottom:8px}
.chip.india{background:#3d2b12;color:#f2b544}.chip.tech{background:#123038;color:#5ad1e6}.chip.biz{background:#123324;color:#4cc38a}.chip.sport{background:#38122b;color:#f28ec2}
.card h3{font-family:Georgia,serif;font-weight:400;font-size:18.5px;line-height:1.3;margin:0 0 7px;color:#fff}
.card .meta{font-size:12.5px;color:#8f97b8}
.tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(218px,1fr));gap:12px}
.tile2{background:#131830;border:1px solid #232a47;border-radius:12px;padding:15px 17px;display:block}
.tile2:hover{text-decoration:none;border-color:#3a4470}
.tile2 b{display:block;font-family:Georgia,serif;font-weight:400;font-size:18px;color:#fff}
.tile2 span{font-size:12.5px;color:#8f97b8}
.bigcard{display:grid;grid-template-columns:1.25fr 1fr;background:#131830;border:1px solid #232a47;border-radius:14px;overflow:hidden;margin-bottom:14px}
.bigcard img{width:100%;height:100%;min-height:230px;object-fit:cover}
.bigcard .cb{padding:20px 22px}
.bigcard h3{font-family:Georgia,serif;font-weight:400;font-size:24px;margin:0 0 8px;color:#fff;line-height:1.25}
.bigcard p{color:#c6cbe0;margin:0}
.rows{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:12px}
.rowitem{display:flex;gap:13px;background:#131830;border:1px solid #232a47;border-radius:12px;padding:11px;align-items:center;color:#e8eaf2}
.rowitem:hover{text-decoration:none;border-color:#3a4470}
.rowitem img{width:86px;height:64px;object-fit:cover;border-radius:8px;flex:0 0 86px}
.rowitem b{font-family:Georgia,serif;font-weight:400;font-size:16.5px;color:#fff;display:block;line-height:1.3}
.rowitem span{font-size:12.5px;color:#8f97b8}
.side .box{background:#131830;border:1px solid #232a47;border-radius:14px;padding:17px 18px;margin-bottom:16px}
.side .box h3{font-family:Georgia,serif;font-weight:400;font-size:19px;color:#fff;margin:0 0 12px}
.pop{display:flex;gap:11px;padding:9px 0;border-bottom:1px solid #1d2338;align-items:center;color:#e8eaf2}
.pop:last-child{border-bottom:0}
.pop img{width:54px;height:44px;object-fit:cover;border-radius:7px;flex:0 0 54px}
.pop b{font-size:14px;font-weight:600;display:block;line-height:1.3}
.pop span{font-size:11.5px;color:#8f97b8}
.side ul{margin:0;padding-left:17px;color:#c6cbe0;font-size:14px}
.side ul li{margin:6px 0}
.fpic img{width:100%;border-radius:9px;display:block}
.fpic p{font-size:12.5px;color:#8f97b8;margin:8px 0 0}
.dyk p{font-size:14px;color:#c6cbe0;margin:0 0 9px}
.dyk p:last-child{margin-bottom:0}
.libband{background:linear-gradient(120deg,#191f3d,#241d4d);border:1px solid #2c3560;border-radius:16px;padding:22px 26px;margin:28px 0 6px}
.libband h2{font-family:Georgia,serif;font-weight:400;color:#fff;margin:0 0 8px;font-size:23px}
.libband p{color:#c6cbe0;margin:0 0 6px}
.hfoot{border-top:1px solid #1d2338;margin-top:26px;padding:20px 0 30px;color:#8f97b8;font-size:13px;display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap}

/* fx (progress, back-to-top, reveal) for the homepage */
#spj-progress{position:fixed;top:0;left:0;height:3px;width:0;background:linear-gradient(90deg,#6a5cff,#9d8cff);z-index:999}
#spj-top{position:fixed;right:18px;bottom:20px;width:42px;height:42px;border-radius:50%;border:1px solid #333b52;background:#171b26;color:#aab4ff;font-size:18px;cursor:pointer;display:none;box-shadow:0 4px 14px rgba(0,0,0,.3);z-index:998}
.rv{opacity:0;transform:translateY(16px);transition:opacity .65s ease,transform .65s ease}
.rv.inview{opacity:1;transform:none}
@media (prefers-reduced-motion: reduce){.rv{opacity:1;transform:none;transition:none}}
.themebtn{border:1px solid #333b52;background:#171b26;color:#eef1f8;border-radius:99px;padding:7px 14px;font-size:13px;cursor:pointer;white-space:nowrap}
.hero img.bg{animation:heroZoom 14s ease-out both}
@keyframes heroZoom{from{transform:scale(1.06)}to{transform:scale(1)}}
@media (prefers-reduced-motion: reduce){.hero img.bg{animation:none}}
/* Today in numbers strip */
.dayviz{background:#131830;border:1px solid #232a47;border-radius:16px;padding:20px 22px 14px;margin-top:26px}
.dayviz .eyebrow{font-size:11px;letter-spacing:.16em;font-weight:700;color:#9d8cff;text-transform:uppercase}
.dayviz h2{font-family:Georgia,serif;font-weight:400;font-size:23px;color:#fff;margin:4px 0 14px}
.dayviz .stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(128px,1fr));gap:10px}
.dayviz .stat{background:#0f1327;border:1px solid #232a47;border-radius:12px;padding:12px 14px}
.dayviz .stat b{display:block;font-size:20px;color:#fff;font-family:Georgia,serif}
.dayviz .stat span{font-size:12px;color:#8f97b8}
.dayviz .bar-row{display:grid;grid-template-columns:110px 1fr 70px;gap:10px;align-items:center;margin:8px 0;font-size:13px;color:#c6cbe0}
.dayviz .track{background:#232a47;border-radius:99px;height:11px;overflow:hidden}
.dayviz .fill{height:100%;background:linear-gradient(90deg,#6a5cff,#9d8cff);border-radius:99px}
.dayviz .fill.g{background:linear-gradient(90deg,#0e9f6e,#4cc38a)}
/* LIGHT theme (default) */
html[data-theme="light"] body.home{background:#f4f6fb;color:#1c2333}
html[data-theme="light"] body.home a{color:#3a4fd0}
html[data-theme="light"] .htop{background:rgba(255,255,255,.94);border-bottom-color:#e2e6f0}
html[data-theme="light"] .hlogo{color:#141a2e}
html[data-theme="light"] .hlogo small{color:#77809a}
html[data-theme="light"] .hsearch{background:#fff;border-color:#d5dae8}
html[data-theme="light"] .hsearch input{color:#141a2e}
html[data-theme="light"] .hnav a{color:#3c4358}
html[data-theme="light"] .themebtn{background:#fff;border-color:#d5dae8;color:#141a2e}
html[data-theme="light"] .hsec h2{color:#141a2e}
html[data-theme="light"] .card, html[data-theme="light"] .tile2, html[data-theme="light"] .bigcard, html[data-theme="light"] .rowitem, html[data-theme="light"] .side .box{background:#fff;border-color:#e2e6f0;box-shadow:0 3px 14px rgba(23,32,64,.06)}
html[data-theme="light"] .card h3, html[data-theme="light"] .tile2 b, html[data-theme="light"] .bigcard h3, html[data-theme="light"] .rowitem b, html[data-theme="light"] .side .box h3{color:#141a2e}
html[data-theme="light"] .card .meta, html[data-theme="light"] .tile2 span, html[data-theme="light"] .rowitem span, html[data-theme="light"] .pop span, html[data-theme="light"] .fpic p{color:#77809a}
html[data-theme="light"] .chip{background:#eceeff;color:#3a4fd0}
html[data-theme="light"] .chip.india{background:#fdf0da;color:#9a6206}
html[data-theme="light"] .chip.tech{background:#e2f6fb;color:#0b6e83}
html[data-theme="light"] .bigcard p, html[data-theme="light"] .side ul, html[data-theme="light"] .dyk p{color:#3c4358}
html[data-theme="light"] .pop{border-bottom-color:#edf0f6;color:#1c2333}
html[data-theme="light"] .libband{background:linear-gradient(120deg,#eef0ff,#e7dcff);border-color:#d9d2f7}
html[data-theme="light"] .libband h2{color:#141a2e}
html[data-theme="light"] .libband p{color:#3c4358}
html[data-theme="light"] .hfoot{border-top-color:#e2e6f0;color:#77809a}
html[data-theme="light"] .dayviz{background:#fff;border-color:#e2e6f0;box-shadow:0 3px 14px rgba(23,32,64,.06)}
html[data-theme="light"] .dayviz h2{color:#141a2e}
html[data-theme="light"] .dayviz .stat{background:#f7f8fc;border-color:#e6eaf3}
html[data-theme="light"] .dayviz .stat b{color:#141a2e}
html[data-theme="light"] .dayviz .stat span{color:#77809a}
html[data-theme="light"] .dayviz .bar-row{color:#3c4358}
html[data-theme="light"] .dayviz .track{background:#e7ebf3}
html[data-theme="light"] #spj-top{background:#fff;color:#3a4fd0;border-color:#d5dae8}
