/*
Theme Name: Fast Sarkari Result Pro
Author: Fast Sarkari Result
Description: Professional, responsive Sarkari Result portal theme with 3-column desktop and 2-column mobile category cards.
Version: 3.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: fast-sarkari-result-pro
*/
:root{--blue:#0866d6;--blue-dark:#0753ad;--green:#18a45b;--red:#ed3434;--purple:#7b35d6;--orange:#ef9d12;--cyan:#0898ad;--pink:#df2770;--ink:#142033;--muted:#667085;--line:#dce4ed;--bg:#f3f6fa;--white:#fff}
*{box-sizing:border-box}html,body{margin:0;padding:0}body{background:var(--bg);color:var(--ink);font-family:Arial,Helvetica,sans-serif;font-size:15px;line-height:1.45}a{color:inherit;text-decoration:none}.container{width:min(1180px,calc(100% - 24px));margin:0 auto}

/* Header */
.topbar{background:#082e59;color:#fff;font-size:12px}.topbar .container{min-height:34px;display:flex;align-items:center;justify-content:space-between}
.top-links{display:flex;gap:16px}.site-header{background:#fff;border-bottom:1px solid var(--line)}.brand-row{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:18px}.brand{display:flex;align-items:center;gap:11px}.logo{width:50px;height:50px;border-radius:12px;background:linear-gradient(135deg,#0866d6,#168df0);display:grid;place-items:center;color:#fff;font-weight:900;font-size:12px}.brand-name{font-size:29px;font-weight:900;color:#0866d6;letter-spacing:-1px}.brand-name{color:#0866d6}.tagline{display:block;color:var(--muted);font-size:11px;font-weight:700;margin-top:3px}.search{display:flex;width:380px;border:1px solid #cbd7e4;border-radius:9px;overflow:hidden;background:#fff}.search input{flex:1;min-width:0;border:0;outline:0;padding:11px;font-size:13px}.search button{border:0;background:var(--blue);color:#fff;font-weight:800;padding:0 16px}
.nav{background:var(--blue);color:#fff}.nav-inner{display:flex;overflow-x:auto;scrollbar-width:none}.nav-inner::-webkit-scrollbar{display:none}.nav a{padding:12px 14px;white-space:nowrap;font-size:13px;font-weight:800;border-right:1px solid rgba(255,255,255,.16)}.nav a:hover{background:var(--blue-dark)}

/* Social + popular */
.social{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:12px 0}.social a{color:#fff;text-align:center;padding:10px;border-radius:8px;font-weight:900;font-size:13px}.wa{background:#16a45a}.tg{background:#148bd0}.ig{background:linear-gradient(90deg,#f59e0b,#df2770,#7b35d6)}
.breaking{display:flex;background:#fff;border:1px solid var(--line);border-radius:8px;overflow:hidden;margin-bottom:14px}.breaking b{background:var(--red);color:#fff;padding:9px 13px;font-size:12px;white-space:nowrap}.breaking div{padding:9px 12px;font-size:12px;font-weight:700;white-space:nowrap;overflow:hidden}
.title-row{display:flex;justify-content:space-between;align-items:center;margin:15px 0 9px}.title-row h2{font-size:21px;margin:0}.view-all{color:var(--blue);font-size:12px;font-weight:900}
.popular{background:#fff5f5;border:1px solid #ffd5d5;border-radius:10px;padding:9px}.popular-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.popular-card{background:#fff;border:1px solid var(--line);border-radius:8px;padding:11px;min-height:96px}.popular-card h3{font-size:13px;line-height:1.35;margin:0 0 8px}.new{font-size:9px;font-weight:900;background:#e8f8ef;color:#16864c;padding:3px 6px;border-radius:99px}

/* Category grid: ALWAYS 3 columns desktop, 2 columns mobile */
.category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:0 0 13px}
.category-card{background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden;min-width:0;box-shadow:0 2px 8px rgba(15,23,42,.06)}
.category-head{display:flex;align-items:center;justify-content:space-between;color:#fff;padding:10px 13px;font-weight:900;font-size:16px}.category-head small{font-size:10px}.blue{background:#0866d6}.green{background:#18a45b}.red{background:#ed3434}.purple{background:#7b35d6}.orange{background:#ef9d12}.cyan{background:#0898ad}.pink{background:#df2770}
.post-list{list-style:none;margin:0;padding:0 13px}.post-list li{border-bottom:1px solid #e7ebf0;padding:9px 0;font-size:12.5px;line-height:1.35}.post-list li:last-child{border-bottom:0}.post-list a:hover{color:var(--blue)}

/* Trust and author */
.trust{display:grid;grid-template-columns:1.6fr 1fr;gap:13px;margin:18px 0}.trust-box,.author-box{background:#fff;border:1px solid var(--line);border-radius:11px;padding:19px}.trust-box h2{color:var(--blue);margin:0 0 5px;font-size:24px}.trust-box h3{margin:0 0 10px;font-size:15px}.trust-box p,.author-box p{color:#536276;font-size:13px}.checks{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:12px}.checks span{font-size:12px;font-weight:800}.author-box{display:flex;gap:13px;align-items:flex-start}.avatar{width:70px;height:70px;flex:0 0 70px;border-radius:50%;background:#eaf4ff;border:3px solid #d4e9ff;color:var(--blue);display:grid;place-items:center;font-size:23px;font-weight:900}.author-box h2{margin:0 0 2px;font-size:19px;color:var(--blue)}.role{font-size:11px;color:var(--muted);font-weight:800}

/* Footer */
.footer{background:#082e59;color:#cbd9e8;margin-top:20px}.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:25px;padding:28px 0}.footer h3{color:#fff;font-size:15px;margin:0 0 9px}.footer p,.footer a{font-size:12px}.footer-bottom{border-top:1px solid rgba(255,255,255,.12);padding:12px 0;font-size:11px;display:flex;justify-content:space-between}

/* Single */
.single{padding:18px 0}.single-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:14px}.article,.sidebox{background:#fff;border:1px solid var(--line);border-radius:11px;padding:20px}.article h1{font-size:31px;line-height:1.2}.article img{max-width:100%;height:auto}.article table{width:100%;border-collapse:collapse}.article th,.article td{border:1px solid var(--line);padding:8px}.sidebox{margin-bottom:12px}.sidebox h3{margin-top:0}.sidebox li{padding:7px 0;border-bottom:1px solid #eee;font-size:12px}

/* Mobile: EXACTLY 2 columns for category tables */
@media (max-width:800px){
 .brand-row{flex-direction:column;align-items:stretch;padding:12px 0}.search{width:100%}.top-links{display:none}
 .category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .popular-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .trust{grid-template-columns:1fr}.single-grid{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:520px){
 .container{width:calc(100% - 12px)}.brand-name{font-size:24px}.logo{width:44px;height:44px}.social{grid-template-columns:1fr;gap:7px}.social a{padding:9px}
 .category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 .category-head{font-size:13px;padding:9px 9px}.category-head small{font-size:8px}.post-list{padding:0 9px}.post-list li{font-size:11px;padding:8px 0}
 .popular-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.popular-card{padding:9px;min-height:90px}.popular-card h3{font-size:11.5px}
 .title-row h2{font-size:18px}.trust{margin-top:12px}.checks{grid-template-columns:1fr}.author-box{flex-direction:column}.footer-grid{grid-template-columns:1fr}.footer-bottom{flex-direction:column}
}


/* FSR V3.2 HEADER */
.fsr-topbar{background:#063763;color:#fff;font-size:12px}
.fsr-topbar-inner{min-height:34px;display:flex;align-items:center;justify-content:space-between}
.fsr-date{font-weight:700}.fsr-top-links{display:flex;gap:9px;align-items:center}.fsr-top-links a{color:#fff}.fsr-top-links a:hover{text-decoration:underline}
.fsr-header-main{background:#fff;border-bottom:1px solid #d9e2eb}
.fsr-brand-row{min-height:126px;display:flex;align-items:center;justify-content:space-between;gap:28px}
.fsr-brand{display:flex;align-items:center;gap:13px;min-width:0}
.fsr-logo-mark{width:74px;height:74px;border-radius:10px;background:#eaf4ff;display:grid;place-items:center;font-size:45px;line-height:1}
.fsr-brand-copy{display:flex;flex-direction:column;min-width:0}
.fsr-brand-title{font-size:43px;line-height:1.05;font-weight:900;letter-spacing:-1.7px;color:#0866d6;white-space:nowrap}
.fsr-brand-title::first-letter{color:#0866d6}
.fsr-brand-tagline{font-size:17px;line-height:1.3;font-weight:800;color:#173d69;margin-top:5px}
.fsr-header-right{width:min(480px,42%);display:flex;flex-direction:column;align-items:stretch;gap:8px}
.fsr-search{display:flex;height:50px;border:1px solid #d1dce8;border-radius:9px;overflow:hidden;box-shadow:0 2px 8px rgba(20,48,80,.08);background:#fff}
.fsr-search input{flex:1;min-width:0;border:0;outline:0;padding:0 16px;font-size:14px;color:#26384c}
.fsr-search button{width:58px;border:0;background:#0875e1;color:#fff;font-size:30px;font-weight:900;cursor:pointer;line-height:1}
.fsr-header-slogan{text-align:right;color:#263e61;font-size:13px;font-weight:800;font-style:italic}
.fsr-nav{background:#075baa;color:#fff;box-shadow:0 2px 5px rgba(0,0,0,.12)}
.fsr-nav-inner{display:flex;align-items:stretch;min-height:58px}
.fsr-home-link{width:72px;flex:0 0 72px;display:grid;place-items:center;background:#0875e1;color:#fff;font-size:32px;font-weight:900}
.fsr-menu{display:flex;align-items:stretch;flex:1;overflow-x:auto;scrollbar-width:none}
.fsr-menu::-webkit-scrollbar{display:none}
.fsr-menu a{display:flex;align-items:center;justify-content:center;min-height:58px;padding:0 18px;color:#fff;font-size:15px;font-weight:800;white-space:nowrap;border-right:1px solid rgba(255,255,255,.12)}
.fsr-menu a:hover,.fsr-menu a:focus{background:#064e91}
.fsr-mobile-toggle{display:none}

@media (max-width:900px){
 .fsr-brand-row{min-height:105px}
 .fsr-brand-title{font-size:32px}
 .fsr-brand-tagline{font-size:13px}
 .fsr-logo-mark{width:58px;height:58px;font-size:35px}
 .fsr-header-right{width:43%}
 .fsr-menu a{padding:0 12px;font-size:13px}
 .fsr-home-link{width:58px;flex-basis:58px}
}
@media (max-width:650px){
 .fsr-topbar-inner{min-height:30px}
 .fsr-date{font-size:10px}.fsr-top-links{display:none}
 .fsr-brand-row{min-height:0;padding:12px 0;display:block}
 .fsr-brand{margin-bottom:11px}
 .fsr-brand-title{font-size:27px;letter-spacing:-.8px}
 .fsr-brand-tagline{font-size:11px}
 .fsr-logo-mark{width:48px;height:48px;font-size:28px}
 .fsr-header-right{width:100%;gap:6px}
 .fsr-search{height:43px}
 .fsr-header-slogan{display:none}
 .fsr-nav-inner{min-height:48px;position:relative}
 .fsr-home-link{width:48px;flex-basis:48px;font-size:25px}
 .fsr-mobile-toggle{display:flex;align-items:center;gap:5px;background:#064d91;color:#fff;border:0;padding:0 11px;font-weight:900}
 .fsr-menu{display:none;position:absolute;z-index:50;left:0;right:0;top:48px;background:#075baa;box-shadow:0 5px 12px rgba(0,0,0,.18);flex-direction:column;max-height:70vh;overflow:auto}
 .fsr-menu.fsr-open{display:flex}
 .fsr-menu a{min-height:44px;justify-content:flex-start;padding:0 15px;border-bottom:1px solid rgba(255,255,255,.12)}
}
@media (max-width:380px){
 .fsr-brand-title{font-size:23px}.fsr-brand-tagline{font-size:10px}.fsr-logo-mark{width:43px;height:43px;font-size:25px}
}


/* FSR V3.3 CATEGORY ICONS */
.category-title{display:flex;align-items:center;gap:9px;min-width:0}
.category-title strong{font-weight:900}
.category-icon{width:25px;height:25px;display:inline-grid;place-items:center;flex:0 0 25px}
.category-icon svg{width:24px;height:24px;fill:currentColor;display:block}
.category-head small{font-weight:800}
@media(max-width:650px){
 .category-head{gap:7px}
 .category-icon{width:21px;height:21px;flex-basis:21px}
 .category-icon svg{width:20px;height:20px}
 .category-head small{font-size:10px}
}
