/*
Theme Name: StudentRoute PK
Theme URI: https://wordpress.org/
Author: StudentRoute PK
Description: A clean, fast, Pakistan-first education and careers WordPress theme with a custom homepage, category discovery, and accessible navigation.
Version: 1.0.0
Requires at least: 6.2
Requires PHP: 8.0
Text Domain: studentroute-pk
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/
:root{--navy:#123f76;--deep:#102c4c;--blue:#2670b8;--green:#1e8062;--ink:#172c41;--muted:#64748b;--line:#e2e9f1;--canvas:#f4f7fb;--white:#fff;--shadow:0 16px 48px rgba(20,58,104,.07);--radius:18px;--font:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}
*,*:before,*:after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--canvas);color:var(--ink);font-family:var(--font);line-height:1.65;font-size:16px;-webkit-font-smoothing:antialiased}
a{color:var(--blue);text-decoration:none}a:hover{text-decoration:underline}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #eeaa38;outline-offset:3px}
img{max-width:100%;height:auto}svg{display:block}button,input,textarea{font:inherit}button{cursor:pointer}
.container{width:min(1170px,calc(100% - 40px));margin:0 auto}
.skip-link{position:absolute;top:-100px;left:12px;background:var(--navy);color:#fff;padding:10px;z-index:200}.skip-link:focus{top:10px}
.site-header{position:relative;z-index:30;background:#fff;border-bottom:1px solid #edf2f7}.header-inner{min-height:86px;display:flex;align-items:center;gap:26px}
.site-brand{display:flex;align-items:center;gap:12px;flex-shrink:0;color:var(--deep)}.site-brand:hover{text-decoration:none}.brand-symbol{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:var(--navy);color:#fff}.brand-symbol svg{width:27px;height:27px}.brand-name{font-size:20px;font-weight:800;letter-spacing:-.7px;line-height:1.1}.brand-subtitle{font-size:10px;display:block;color:var(--muted);letter-spacing:.1px;margin-top:5px;font-weight:500}.custom-logo-link img{max-width:180px;height:auto;max-height:60px}
.primary-nav{margin-left:auto}.menu-list{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:24px}.menu-list a{font-size:13px;font-weight:700;color:#30465c;white-space:nowrap}.menu-list a:hover,.menu-list .current-menu-item>a{color:var(--blue);text-decoration:none}.header-action{display:inline-flex;align-items:center;justify-content:center;background:var(--navy);color:#fff;font-size:13px;font-weight:700;padding:11px 16px;border-radius:10px;white-space:nowrap}.header-action:hover{color:#fff;background:#0d325e;text-decoration:none}.mobile-toggle{display:none;margin-left:auto;border:1px solid var(--line);background:#fff;border-radius:10px;padding:10px;color:var(--navy)}.mobile-toggle svg{width:20px;height:20px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:13px 19px;border-radius:10px;background:var(--navy);color:#fff;font-weight:700;font-size:14px;border:1px solid transparent;transition:.2s}.btn:hover{text-decoration:none;color:#fff;background:#0d315b;transform:translateY(-1px)}.btn-outline{background:#fff;border-color:#d7e5f5;color:var(--navy)}.btn-outline:hover{background:#edf5fd;color:var(--navy)}
.hero{margin-top:26px;border-radius:26px;min-height:444px;background:linear-gradient(122deg,#e6f0fd,#f6faff 68%,#edf5ff);display:grid;grid-template-columns:1.24fr .76fr;align-items:center;gap:30px;overflow:hidden;padding:58px 60px;position:relative}.hero:before{content:"";position:absolute;right:-105px;top:-145px;width:440px;height:440px;border-radius:50%;border:75px solid #dcebf9;opacity:.62}.hero-text,.hero-panel{position:relative;z-index:1}.eyebrow{display:inline-flex;align-items:center;gap:8px;letter-spacing:1.35px;text-transform:uppercase;font-size:11px;color:#17629d;font-weight:800}.eyebrow .dot{width:7px;height:7px;border-radius:50%;background:#1e8062}.hero h1{color:var(--deep);font-size:clamp(34px,4.1vw,57px);line-height:1.11;letter-spacing:-2.2px;margin:17px 0 19px;max-width:670px}.hero p{font-size:16px;color:#526c86;max-width:560px;margin:0 0 26px}.hero-search{display:flex;align-items:center;max-width:540px;background:#fff;padding:6px 6px 6px 16px;border:1px solid #dbe8f6;border-radius:12px;box-shadow:0 12px 28px rgba(36,86,137,.06)}.hero-search svg{color:#6a8299;flex:0 0 auto}.hero-search input{min-width:0;border:0;outline:0;width:100%;padding:9px 12px;color:var(--ink);background:transparent;font-size:14px}.hero-search button{border:0;border-radius:9px;background:var(--navy);color:#fff;font-weight:700;padding:11px 18px;font-size:13px}.hero-search button:hover{background:#0b2e54}
.hero-note{display:flex;gap:16px;flex-wrap:wrap;margin-top:19px;font-size:12px;color:#607993}.hero-note span{display:inline-flex;align-items:center;gap:6px}.hero-note svg{color:var(--green)}
.hero-panel{border-radius:20px;background:#fff;box-shadow:0 24px 60px rgba(19,64,115,.13);padding:23px;max-width:340px;justify-self:end;width:100%;border:1px solid #e8eef7}.panel-label{text-transform:uppercase;letter-spacing:1.1px;font-weight:800;color:#8b9bae;font-size:10px;margin:0 0 16px}.panel-step{display:flex;align-items:center;gap:12px;padding:11px 4px;border-bottom:1px solid #edf2f7}.panel-step:last-child{border:0;padding-bottom:0}.panel-icon{display:grid;place-items:center;height:42px;width:42px;background:#eaf2fc;border-radius:11px;color:var(--blue);flex:0 0 auto}.panel-icon.green{background:#e5f4ed;color:var(--green)}.panel-icon.gold{background:#fff4db;color:#9c6a08}.panel-icon svg{width:21px;height:21px}.panel-step strong{display:block;color:#193857;font-size:13px}.panel-step small{color:#7a8ba0;font-size:11px}.panel-step a:hover strong{color:var(--blue)}
.trustbar{display:grid;grid-template-columns:repeat(3,1fr);background:#fff;border:1px solid #e6ecf3;border-radius:16px;margin-top:20px;box-shadow:0 6px 24px rgba(36,61,90,.025)}.trust-item{display:flex;align-items:center;justify-content:center;gap:12px;padding:18px}.trust-item+.trust-item{border-left:1px solid #edf1f5}.trust-item svg{color:var(--green);width:21px;height:21px}.trust-item span{font-size:13px;font-weight:700;color:#40576c}
.section{padding-top:62px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:24px}.section-heading h2{font-size:28px;letter-spacing:-.9px;color:var(--deep);line-height:1.25;margin:0 0 6px}.section-heading p{color:var(--muted);font-size:14px;margin:0}.section-heading a{font-weight:700;font-size:13px;white-space:nowrap}
.category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.topic-card{display:flex;align-items:flex-start;gap:16px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:22px;min-height:130px;transition:transform .2s,border-color .2s,box-shadow .2s}.topic-card:hover{transform:translateY(-3px);border-color:#bcd6ed;box-shadow:var(--shadow);text-decoration:none}.topic-icon{width:49px;height:49px;border-radius:13px;background:#eaf2fc;color:var(--blue);display:grid;place-items:center;flex:0 0 auto}.topic-icon svg{height:24px;width:24px}.topic-icon.green{color:var(--green);background:#e5f4ed}.topic-icon.amber{color:#a76c17;background:#fff1d9}.topic-icon.purple{color:#7654ab;background:#f0eafd}.topic-icon.cyan{color:#107c99;background:#e5f6fa}.topic-title{display:block;color:#213e5b;font-weight:800;font-size:15px;margin:2px 0 5px}.topic-description{display:block;color:#7a8998;font-size:12px;line-height:1.5}
.content-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:24px;align-items:start}.post-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.post-card{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;display:flex;flex-direction:column;transition:box-shadow .2s,transform .2s}.post-card:hover{box-shadow:var(--shadow);transform:translateY(-2px)}.post-thumb{display:grid;place-items:center;height:178px;background:linear-gradient(140deg,#e4effc,#eff7ff);overflow:hidden;color:#729cc4}.post-thumb svg{width:52px;height:52px}.post-thumb img{width:100%;height:100%;object-fit:cover}.post-card:nth-child(4n+2) .post-thumb{background:linear-gradient(140deg,#e3f3ec,#eff9f5);color:#74ad95}.post-card:nth-child(4n+3) .post-thumb{background:linear-gradient(140deg,#f6ecdd,#fff9ec);color:#b39a6b}.post-card:nth-child(4n+4) .post-thumb{background:linear-gradient(140deg,#eeeafd,#f7f5ff);color:#a29bcd}.post-card-body{padding:20px;display:flex;flex-direction:column;flex:1}.post-category{display:inline-block;color:var(--blue);font-weight:800;letter-spacing:1px;text-transform:uppercase;font-size:10px;margin-bottom:8px}.post-card h3{margin:0 0 12px;color:var(--deep);font-size:17px;letter-spacing:-.3px;line-height:1.44}.post-card h3 a{color:inherit}.post-card h3 a:hover{color:var(--blue);text-decoration:none}.post-card p{color:#718093;font-size:13px;line-height:1.65;margin:0 0 18px;flex:1}.post-meta{border-top:1px solid #eff2f7;padding-top:13px;display:flex;align-items:center;justify-content:space-between;gap:12px;color:#8a98a7;font-size:11px}
.sidebar-box{border:1px solid var(--line);background:#fff;border-radius:16px;padding:23px;margin-bottom:20px}.sidebar-title{color:var(--deep);font-size:17px;font-weight:800;margin:0 0 8px}.sidebar-box p{font-size:13px;color:#718093;line-height:1.65;margin:0 0 15px}.resource-link{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 0;border-top:1px solid #edf2f7;font-size:13px;font-weight:700;color:#3e5570}.resource-link svg{width:15px;height:15px;color:var(--blue)}.resource-link:hover{color:var(--blue);text-decoration:none}.sidebar-cta{background:linear-gradient(145deg,#123f76,#1b5e9a);border-radius:16px;padding:25px;color:#fff}.sidebar-cta h3{color:#fff;font-size:19px;line-height:1.35;margin:12px 0}.sidebar-cta p{font-size:13px;color:#d5e5f5;margin:0 0 18px}.sidebar-cta .btn{background:#fff;color:var(--navy);width:100%}.sidebar-cta .btn:hover{background:#eaf2fc}
.empty-state{grid-column:1/-1;background:#fff;border:1px dashed #b5cde6;border-radius:16px;text-align:center;padding:56px 25px}.empty-state svg{margin:0 auto 15px;color:var(--blue);height:37px;width:37px}.empty-state h3{font-size:20px;color:var(--deep);margin:0 0 10px}.empty-state p{max-width:520px;margin:0 auto;color:#708298;font-size:14px}
.values-band{margin:68px auto 0;background:#e9f2fc;border-radius:22px;padding:33px 42px;display:grid;grid-template-columns:1.1fr 1fr;gap:26px;align-items:center}.values-band h2{font-size:26px;line-height:1.24;letter-spacing:-.6px;color:var(--deep);margin:10px 0}.values-band p{font-size:14px;color:#667b90;margin:0}.values-list{list-style:none;margin:0;padding:0;display:grid;gap:12px}.values-list li{display:flex;align-items:center;gap:10px;color:#35516e;font-weight:700;font-size:13px}.values-list svg{color:var(--green);flex:0 0 auto;width:19px;height:19px}
.site-footer{background:#102f50;color:#d8e5f2;margin-top:76px}.footer-main{display:grid;grid-template-columns:2fr 1fr 1fr;gap:45px;padding:56px 0 38px}.footer-brand{font-size:24px;color:#fff;font-weight:800;letter-spacing:-.7px}.footer-description{font-size:13px;color:#b4c7db;max-width:360px;line-height:1.8}.footer-head{font-size:13px;letter-spacing:.3px;font-weight:800;margin:3px 0 17px;color:#fff}.footer-links{list-style:none;margin:0;padding:0;display:grid;gap:11px}.footer-links a{font-size:13px;color:#b4c7db}.footer-links a:hover{color:#fff}.footer-bottom{border-top:1px solid #2d4966;padding:21px 0;display:flex;justify-content:space-between;gap:20px;color:#a9bdce;font-size:12px}
.page-head{padding:46px 0 26px}.page-head .eyebrow{font-size:11px}.page-head h1{font-size:clamp(29px,3vw,43px);line-height:1.2;color:var(--deep);margin:8px 0 10px;letter-spacing:-1px}.page-head p{color:var(--muted);font-size:15px;max-width:700px;margin:0}.site-content{padding-bottom:35px}.reading-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:25px}.article-shell{background:#fff;border:1px solid var(--line);border-radius:18px;padding:clamp(22px,4vw,45px)}.article-shell h1{font-size:clamp(29px,3vw,42px);line-height:1.22;color:var(--deep);letter-spacing:-1px;margin:12px 0 15px}.article-meta{display:flex;flex-wrap:wrap;gap:14px;color:#8793a4;font-size:12px;margin-bottom:24px}.article-hero{margin:0 0 28px;border-radius:13px;overflow:hidden}.article-hero img{display:block;width:100%;height:auto}.entry-content{font-size:16px;line-height:1.85;color:#344b5f;overflow-wrap:break-word}.entry-content h2,.entry-content h3,.entry-content h4{color:var(--deep);line-height:1.35;margin:32px 0 12px;letter-spacing:-.4px}.entry-content p{margin:0 0 20px}.entry-content a{text-decoration:underline;text-underline-offset:3px}.entry-content img{border-radius:10px}.entry-content ul,.entry-content ol{margin:0 0 23px;padding-left:25px}.entry-content blockquote{padding:15px 20px;background:#eef5fd;border-left:4px solid var(--blue);margin:23px 0}.entry-content table{display:block;overflow:auto;border-collapse:collapse;margin:20px 0;width:100%}.entry-content th,.entry-content td{border:1px solid var(--line);padding:10px}.post-tags{margin-top:35px;font-size:13px;color:var(--muted)}.post-tags a{display:inline-block;background:#eff5fb;border-radius:7px;padding:4px 9px;margin:3px;color:var(--navy)}.article-nav{display:flex;justify-content:space-between;gap:12px;margin:20px 0}.article-nav a{font-size:13px;font-weight:700}.pagination{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:26px}.pagination a,.pagination span{display:inline-grid;place-items:center;min-width:38px;height:38px;border:1px solid var(--line);border-radius:8px;background:#fff;padding:0 10px}.pagination .current{background:var(--navy);border-color:var(--navy);color:#fff}.search-page-form{max-width:600px;margin-bottom:25px}.search-page-form .hero-search{max-width:none}
.wp-block-image img{max-width:100%;height:auto}.aligncenter{text-align:center;margin-left:auto;margin-right:auto}.alignleft{float:left;margin-right:20px}.alignright{float:right;margin-left:20px}.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);height:1px;width:1px;overflow:hidden;white-space:nowrap}
@media(max-width:1070px){.header-inner{gap:14px}.menu-list{gap:13px}.menu-list a{font-size:12px}.hero{padding:47px 40px}.hero h1{font-size:44px;letter-spacing:-1.7px}}
@media(max-width:900px){.header-action{display:none}.mobile-toggle{display:block}.primary-nav{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;box-shadow:0 15px 30px #123f761a;border-bottom:1px solid var(--line);padding:15px 20px}.primary-nav.is-open{display:block}.menu-list{display:flex;flex-direction:column;align-items:stretch;gap:0}.menu-list li a{display:block;padding:13px 7px;border-bottom:1px solid #edf2f7;font-size:14px}.hero{grid-template-columns:1fr;padding:47px}.hero-panel{max-width:none;display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.hero-panel .panel-label{grid-column:1/-1}.panel-step{border-bottom:0;padding:5px}.panel-step strong{font-size:12px}.panel-step small{font-size:10px}.content-layout,.reading-layout{grid-template-columns:1fr}.sidebar{display:grid;grid-template-columns:1fr 1fr;gap:15px}.sidebar-box{margin:0}.sidebar-cta{align-self:start}.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.container{width:min(100% - 30px,1170px)}.header-inner{min-height:70px}.brand-symbol{height:39px;width:39px}.brand-name{font-size:17px}.brand-subtitle{font-size:9px}.hero{margin-top:16px;padding:38px 22px 24px;gap:26px;border-radius:19px}.hero h1{font-size:37px;letter-spacing:-1.4px}.hero p{font-size:14px}.hero-search{padding:5px 5px 5px 10px}.hero-search input{font-size:12px;padding:8px}.hero-search button{padding:10px 11px;font-size:12px}.hero-panel{display:block;padding:15px}.panel-step{border-bottom:1px solid #edf2f7;padding:10px 2px}.trustbar{grid-template-columns:1fr}.trust-item{justify-content:flex-start;padding:12px 20px}.trust-item+.trust-item{border-left:0;border-top:1px solid #edf1f5}.section{padding-top:44px}.section-heading h2{font-size:24px}.category-grid,.post-grid,.sidebar{grid-template-columns:1fr}.topic-card{min-height:auto;padding:17px}.post-thumb{height:195px}.values-band{margin-top:45px;padding:26px;grid-template-columns:1fr}.values-band h2{font-size:24px}.footer-main{grid-template-columns:1fr 1fr;gap:30px;padding:40px 0}.footer-main>div:first-child{grid-column:1/-1}.footer-bottom{display:block}.footer-bottom span{display:block;margin-bottom:8px}.page-head{padding:32px 0 21px}.article-shell{padding:23px 19px}.article-shell h1{font-size:30px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}
