/*
Theme Name: SarkariHubs
Theme URI: https://sarkarihubs.com
Author: SarkariHubs
Description: SarkariHubs.com theme: Sarkari Result style home page with auto-updating Latest Jobs / Result / Admit Card boxes, Free Online Test section, mock test, professional footer and AdSense-ready slots.
Version: 3.0.0
Requires at least: 5.8
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: sarkarihubs
*/
:root{--bg:#f6f3ee;--card:#fff;--ink:#1d1b18;--mute:#6a655d;--line:#ddd6ca;--brand:#b3261e;--navy:#1f3a5f}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.65 "Noto Sans Devanagari","Segoe UI",system-ui,sans-serif}
a{color:var(--navy)}img{max-width:100%;height:auto}
.wrap{max-width:1100px;margin:0 auto;padding:0 14px}
.site-head{background:var(--navy);color:#fff;padding:14px 0}
.site-head .wrap{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.site-title{font:700 28px Georgia,serif;color:#fff;text-decoration:none}
.site-desc{font-size:13px;opacity:.8;margin:0}
.search-form{display:flex}.search-form input[type=search]{padding:8px;border:0;border-radius:4px 0 0 4px;min-width:0;width:170px}
.search-form input[type=submit],.search-submit{padding:8px 12px;border:0;background:var(--brand);color:#fff;border-radius:0 4px 4px 0;cursor:pointer}
.nav{background:var(--brand)}
.nav ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap}
.nav a{display:block;padding:10px 14px;color:#fff;text-decoration:none;font-size:15px}
.nav a:hover,.nav .current-menu-item a{background:rgba(0,0,0,.2)}
.menu-btn{display:none;width:100%;padding:10px;background:none;border:0;color:#fff;font:inherit;text-align:left;cursor:pointer}
.layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px;margin:18px auto}
.box,.entry,.widget{background:var(--card);border:1px solid var(--line);border-radius:4px;margin-bottom:16px}
.box h2,.widget h2,.widget-title{margin:0;padding:9px 14px;font-size:17px;background:var(--brand);color:#fff}
.box ul,.widget ul{list-style:none;margin:0;padding:0}
.box li,.widget li{padding:8px 14px;border-bottom:1px solid var(--line);font-size:15px}
.box li small{color:var(--mute);margin-left:6px}
.box .more{display:block;padding:8px 14px;text-align:right;font-size:14px}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:14px}
.grid .box{margin:0}
.entry{padding:18px}
.entry h1{font:700 28px/1.25 Georgia,serif;margin:0 0 6px}
.meta{color:var(--mute);font-size:13px;margin-bottom:14px}
.entry-content{overflow-wrap:anywhere}
.entry-content table{border-collapse:collapse;width:100%;display:block;overflow-x:auto}
.entry-content th,.entry-content td{border:1px solid var(--line);padding:8px;text-align:left}
.details{width:100%;border-collapse:collapse;margin:12px 0}
.details th,.details td{border:1px solid var(--line);padding:8px 10px;text-align:left}
.details th{background:var(--bg);width:35%}
.btn{display:inline-block;padding:10px 18px;background:var(--brand);color:#fff;border:0;border-radius:6px;font:inherit;font-weight:600;text-decoration:none;cursor:pointer}
.btn.alt{background:var(--bg);color:var(--ink);border:1px solid var(--line)}
.pagination{text-align:center;margin:16px 0}.pagination .page-numbers{padding:6px 12px;border:1px solid var(--line);background:var(--card);text-decoration:none;margin:2px;display:inline-block}.pagination .current{background:var(--brand);color:#fff}
.ad{margin:16px 0;text-align:center;min-height:90px;overflow:hidden}
.note{background:var(--card);border-left:4px solid var(--brand);padding:10px 14px;font-size:14px;color:var(--mute);margin:16px 0}
.site-foot{background:var(--navy);color:#fff;padding:20px 0;text-align:center;font-size:14px}
.site-foot ul{list-style:none;margin:0 0 10px;padding:0;display:flex;gap:6px 16px;justify-content:center;flex-wrap:wrap}
.site-foot a{color:#fff}
.opt{display:block;width:100%;text-align:left;font:inherit;padding:11px 14px;margin:8px 0;border:1px solid var(--line);background:var(--bg);color:var(--ink);border-radius:6px;cursor:pointer}
.opt.right{border-color:#1f7a3d;background:#dff3e5}.opt.wrong{border-color:#b3261e;background:#fbe0de}
.tbar{display:flex;justify-content:space-between;font-size:14px;color:var(--mute)}
.prog{height:6px;background:var(--line);border-radius:3px;margin:8px 0 16px}.prog i{display:block;height:100%;background:var(--brand)}
.score{font:700 44px Georgia,serif}
select{font:inherit;padding:9px;border:1px solid var(--line);border-radius:6px}
a:focus-visible,button:focus-visible,.opt:focus-visible{outline:3px solid #f5a623;outline-offset:2px}
@media(max-width:820px){.layout{grid-template-columns:1fr}.menu-btn{display:block}.nav ul{display:none;flex-direction:column}.nav.open ul{display:flex}.entry h1{font-size:23px}}
.hero{background:linear-gradient(135deg,#1f3a5f,#2c5282);color:#fff;border-radius:6px;margin:18px 0;padding:26px 18px;text-align:center}
.hero h1{margin:0 0 6px;font:700 clamp(24px,5vw,36px)/1.2 Georgia,serif}
.hero p{margin:0 auto 16px;max-width:560px;opacity:.9}
.tiles{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
.tile{padding:8px 16px;border-radius:20px;background:rgba(255,255,255,.15);color:#fff;text-decoration:none;font-size:14px;border:1px solid rgba(255,255,255,.35)}
.tile:hover{background:rgba(255,255,255,.28)}.tile.hot{background:#f5a623;color:#1d1b18;border-color:#f5a623;font-weight:700}
.grid .box:nth-child(1) h2{background:#b3261e}.grid .box:nth-child(2) h2{background:#1f7a3d}.grid .box:nth-child(3) h2{background:#1f3a5f}
.grid .box:nth-child(4) h2{background:#8a4b08}.grid .box:nth-child(5) h2{background:#5b3a8c}.grid .box:nth-child(6) h2{background:#0b6e7a}
.box li a{text-decoration:none;font-weight:500}.box li a:hover{text-decoration:underline}
.box li small{float:right;color:var(--mute)}

/* ===== Footer ===== */
.sh-foot{background:#14263f;color:#d9e0ea;margin-top:30px;padding:34px 0 16px;font-size:14.5px;line-height:1.7;border-top:4px solid #f5a623}
.sh-foot a,.sh-foot a:hover,.sh-foot a:focus{text-decoration:none}
.sh-foot ul{list-style:none;margin:0;padding:0}
.sh-foot-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:26px 30px}
.sh-foot-brand{font:700 26px Georgia,serif;color:#fff;margin-bottom:8px}
.sh-foot-brand span{color:#f5a623}
.sh-foot-col p{margin:0 0 12px}
.sh-foot-col h3{font:700 16px Georgia,serif;color:#fff;margin:0 0 12px;padding-bottom:7px;border-bottom:2px solid #b3261e;display:inline-block}
.sh-foot-col li{margin:0}
.sh-foot-col li a{display:block;padding:4px 0;color:#d9e0ea}
.sh-foot-col li a:hover{color:#f5a623;padding-left:4px}
.sh-foot-social{display:flex;flex-wrap:wrap;gap:8px}
.sh-foot-social a{padding:5px 13px;border:1px solid rgba(255,255,255,.35);border-radius:16px;color:#fff;font-size:13px}
.sh-foot-social a:hover{background:#f5a623;border-color:#f5a623;color:#14263f}
.sh-foot-note{margin:24px 0 0;padding:12px 14px;background:rgba(255,255,255,.06);border-left:4px solid #f5a623;border-radius:0 6px 6px 0;font-size:13px;color:#c3ccd9}
.sh-foot-bottom{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;margin-top:16px;padding-top:14px;border-top:1px solid rgba(255,255,255,.15);font-size:13px;color:#aab5c5}
.sh-foot-top{color:#f5a623}
.sh-foot a:focus-visible{outline:3px solid #f5a623;outline-offset:2px}
@media(max-width:900px){.sh-foot-grid{grid-template-columns:1fr 1fr}.sh-foot-about{grid-column:1/-1}}
@media(max-width:480px){.sh-foot-grid{grid-template-columns:1fr 1fr;gap:20px 14px}.sh-foot{padding-top:26px}.sh-foot-bottom{justify-content:center;text-align:center}}

.site-title img{height:46px;width:auto;display:block}.custom-logo{max-height:56px;width:auto}

/* ===== v3: white header, SEO + mobile ===== */
.site-head{background:#fff;color:var(--ink);padding:10px 0;border-bottom:1px solid var(--line);box-shadow:0 1px 4px rgba(0,0,0,.05)}
.site-title{display:inline-block;line-height:0;color:var(--navy)}
.site-title img{height:46px;width:auto;display:block}
.site-desc{color:var(--mute);opacity:1;margin:4px 0 0;font-size:13px;line-height:1.4}
.site-head .search-form input[type=search]{border:1px solid #c9c1b4;border-right:0;background:#fff;color:var(--ink);padding:10px 12px;font-size:16px;min-height:42px}
.site-head .search-form input[type=submit],.site-head .search-submit{min-height:42px;padding:10px 16px;font-weight:700}
.nav a{padding:12px 14px}
.menu-btn{min-height:44px}
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}
.skip-link:focus{clip:auto;clip-path:none;height:auto;width:auto;margin:0;padding:10px 16px;background:#fff;color:var(--navy);left:8px;top:8px;z-index:100000;box-shadow:0 0 0 3px var(--gold,#f5a623)}
a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #f5a623;outline-offset:2px}
#main:focus{outline:none}
img{max-width:100%;height:auto}
@media(max-width:600px){.site-head .wrap{flex-direction:column;align-items:flex-start}.site-head .search-form{width:100%}.site-head .search-form input[type=search]{flex:1;width:auto}.site-title img{height:40px}}
