/*
Theme Name: Rojgar Vacancy Update
Theme URI: https://rojgarvacancyupdate.com/
Author: Rojgar Vacancy Update
Description: Reference-matched responsive government jobs portal. Desktop three-column and mobile two-column category layout.
Version: 3.1.0
Text Domain: rojgar-vacancy-update
*/
:root{--navy:#062b53;--navy2:#041d3b;--orange:#ff7900;--gold:#f5b400;--ink:#14233a;--line:#b9c8d5}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#eef2f6;color:var(--ink);font-family:Arial,Helvetica,sans-serif;font-size:15px;line-height:1.42}
a{color:#001fba}a:hover{color:#ef6500}
img{max-width:100%;height:auto}
.site-wrap{width:min(100%,1200px);margin:0 auto;background:#fff;min-height:100vh;box-shadow:0 0 16px #00000012}
.topbar{min-height:31px;background:#041b35;color:#fff;padding:5px 22px;display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:700}
.topbar-date span{padding:0 7px;color:#ffb400}
.topbar-links{display:flex;gap:9px;align-items:center}
.topbar a{color:#fff;text-decoration:none}.topbar a:hover{color:#ffb400}
.site-header{min-height:135px;background:linear-gradient(108deg,#06315e 0%,#00465e 57%,#06315e 100%);color:#fff;display:flex;align-items:center;gap:20px;padding:12px 24px;position:relative;overflow:hidden}
.site-header:after{content:"";position:absolute;right:-12px;top:-70px;width:285px;height:260px;background:linear-gradient(135deg,transparent 43%,#ff9a00 43%,#ff9a00 49%,#fff 49%,#fff 51%,transparent 51%);transform:rotate(8deg);opacity:.95;pointer-events:none}
.logo-link{display:block;z-index:1;flex:0 0 118px}
.brand-logo,.custom-logo-link img{width:112px;height:112px;object-fit:contain;background:#fff;border:3px solid #ff9b00;border-radius:50%;padding:3px;display:block}
.brand-divider{height:88px;width:2px;background:#fff;opacity:.8;z-index:1}
.brand-copy{min-width:0;flex:1;z-index:1}
.site-title{font-size:clamp(30px,4vw,45px);font-weight:900;line-height:1.05;color:#fff;text-decoration:none;display:block;letter-spacing:-1px}
.site-title span{color:#ffb400}
.site-tagline{font-size:14px;font-weight:700;margin:10px 0 0;color:#f4f8ff}
.header-social{z-index:2;display:flex;flex-direction:column;gap:8px;min-width:160px}
.header-social a{color:#fff;text-decoration:none;font-weight:800;font-size:14px;padding:8px 12px;border-radius:9px;text-align:center;box-shadow:0 2px 4px #0003}
.whatsapp-link{background:#079b3c}.telegram-link{background:#0878d1}
.primary-nav{background:#041d39;border-bottom:4px solid #f4a900;display:flex;align-items:stretch;min-height:43px}
.primary-nav>a{display:flex;align-items:center;gap:5px;padding:11px 12px;color:#fff;text-decoration:none;font-size:12px;font-weight:800;border-right:1px solid #ffffff24;white-space:nowrap}
.primary-nav>a:first-child,.primary-nav>a:hover{background:#ff8700;color:#fff}
.primary-nav>a span{font-size:14px}
.nav-search{margin-left:auto;font-size:22px!important;padding-left:17px!important;padding-right:17px!important}
.mobile-menu{display:none}
.content{padding:17px 22px 22px}
.welcome{text-align:center;margin:0 0 15px}
.welcome h1{font-size:clamp(22px,2.5vw,29px);color:#07385f;line-height:1.2;margin:0 0 7px;font-weight:900}
.welcome h1 span{color:#ef6200}
.welcome p{font-size:14px;font-weight:600;color:#26374c;margin:0}
.ticker{display:flex;align-items:center;gap:0;min-height:38px;border:1px solid #d2dce4;border-radius:7px;overflow:hidden;box-shadow:0 2px 5px #0000000b;margin:15px 0 16px;background:#fff}
.ticker>strong{background:#f4b500;color:#13233a;padding:9px 12px;white-space:nowrap;font-size:13px}
.ticker-window{overflow:hidden;flex:1;white-space:nowrap}
.ticker-track{display:inline-flex;align-items:center;min-width:max-content;animation:rvumarquee 48s linear infinite;padding:8px 0}
.ticker-track a{font-size:12px;font-weight:800;text-decoration:none;margin:0 10px;color:#0024ad}
.ticker-track b{color:#e22323;font-size:9px}
.ticker:hover .ticker-track{animation-play-state:paused}
.ticker-empty{padding:8px 12px;font-size:12px;font-weight:700}
@keyframes rvumarquee{0%{transform:translateX(0)}100%{transform:translateX(-45%)}}
.important-links{display:grid;grid-template-columns:145px repeat(5,minmax(0,1fr));gap:7px;align-items:stretch;margin:15px 0 17px}
.important-label{background:#f2b400;color:#121d2c;border-radius:7px;padding:10px 8px;font-weight:900;text-align:center}
.important-item{background:#0b4d91;color:#fff;border-radius:6px;text-decoration:none;font-size:11px;line-height:1.2;font-weight:800;padding:8px 6px;text-align:center;display:flex;align-items:center;justify-content:center;overflow-wrap:anywhere}
.important-item:nth-of-type(2){background:#b80e22}.important-item:nth-of-type(3){background:#075ac3}.important-item:nth-of-type(4){background:#7022a5}.important-item:nth-of-type(5){background:#14722f}.important-item:nth-of-type(6){background:#bd1451}
.important-item:hover{filter:brightness(1.12);color:#fff}
.category-shortcuts{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px;margin:17px 0 22px}
.shortcut{background:var(--tile-color);color:#fff;text-decoration:none;border-radius:10px;min-height:82px;padding:10px 5px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;font-weight:900;font-size:15px;line-height:1.15;box-shadow:0 2px 5px #0002}
.shortcut .symbol{font-size:27px;line-height:1.1;margin-bottom:6px}
.shortcut:hover{color:#fff;filter:brightness(1.1);transform:translateY(-1px)}
.category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.category-card{min-width:0;border:1px solid #aebfce;border-radius:9px;background:linear-gradient(#fff,#f7f8fa);overflow:hidden;display:flex;flex-direction:column;box-shadow:0 1px 3px #0000000b}
.category-heading{margin:0;background:var(--heading-color);color:#fff;text-align:center;padding:7px 8px;font-size:20px;line-height:1.2}
.category-heading a{color:#fff;text-decoration:none;display:block}
.category-heading span{margin-right:8px}
.post-list{padding:10px 10px 8px 29px;margin:0;flex:1}
.post-list li{font-size:13px;line-height:1.32;padding:2px 0;color:#111}
.post-list a{font-weight:700;color:#001fba;text-decoration:underline;overflow-wrap:anywhere}
.view-more{align-self:flex-end;margin:0 9px 9px;background:var(--heading-color);color:#fff;border-radius:22px;padding:6px 13px;font-size:12px;font-weight:900;text-decoration:none;white-space:nowrap}
.view-more:hover{background:#f18700;color:#fff}
.date-sheet-card{grid-column:1/-1}
.date-sheet-card .post-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:10px 12px}
.date-sheet-card .post-list li{padding-left:0}
.about-box{margin-top:17px;border:1px solid #aebfce;border-radius:9px;background:#f8fbfc;padding:12px 16px;display:flex;align-items:center;gap:17px}
.about-box>img{width:115px;height:115px;object-fit:contain;border-right:2px solid #ef7900;padding-right:14px;flex-shrink:0}
.about-copy{flex:1;min-width:0}
.about-box h2{color:#063a67;margin:0 0 5px;font-size:21px}
.about-box p{margin:0;font-size:13px;line-height:1.4}
.about-illustration{font-size:37px;line-height:1.15;margin-left:auto;color:#07536a;text-align:center;display:flex;flex-direction:column}
.site-footer{background:linear-gradient(100deg,#062a52,#004e62);color:#fff;padding:14px 20px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.copyright{font-size:13px;font-weight:700}.copyright strong{color:#ffb400}
.footer-links{display:flex;flex-wrap:wrap;gap:0}
.footer-links a{color:#fff;text-decoration:none;font-size:12px;padding:0 9px;border-right:1px solid #ffffff65}
.footer-links a:last-child{border:0}
.footer-social{display:flex;gap:7px}
.footer-social a{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#e11d48;color:#fff;text-decoration:none;font-weight:900}
.footer-social a:nth-child(2){background:#1385d7}.footer-social a:nth-child(3){background:#079b3c}
.mobile-only{display:none}
.page-content{padding:22px;min-height:55vh}
.page-content h1,.entry-title{color:#07385f}
.entry-meta{font-size:12px;color:#6b7280}
.single-entry{padding:17px 0;border-bottom:1px solid #ddd}
@media(max-width:1000px) and (min-width:701px){
 .site-header{gap:13px;padding:12px 17px}
 .header-social{min-width:130px}
 .primary-nav>a{padding:11px 7px;font-size:10px}
 .important-links{grid-template-columns:125px repeat(5,minmax(0,1fr))}
 .important-item{font-size:10px}
 .category-heading{font-size:17px}
 .post-list li{font-size:12px}
}
@media(max-width:700px){
 body{font-size:14px;background:#fff}
 .site-wrap{width:100%;box-shadow:none}
 .topbar{min-height:27px;padding:5px 9px;font-size:9px;gap:5px}
 .topbar-date{white-space:nowrap}
 .topbar-links{gap:4px;white-space:nowrap;font-size:9px}
 .site-header{padding:10px 10px 43px;min-height:113px;gap:8px;align-items:flex-start}
 .site-header:after{right:-82px;top:-70px;width:180px;height:180px;opacity:.7}
 .logo-link{flex:0 0 63px;margin-top:5px}
 .brand-logo,.custom-logo-link img{width:61px;height:61px;border-width:2px;padding:2px}
 .brand-divider{height:66px;margin-top:3px}
 .brand-copy{min-width:0;flex:1;padding-top:6px;z-index:1}
 .site-title{font-size:clamp(18px,5vw,26px);letter-spacing:-.5px;line-height:1.05}
 .site-tagline{font-size:9px;line-height:1.25;margin-top:5px}
 .desktop-break{display:none}
 .header-social{position:absolute;left:82px;right:10px;bottom:6px;min-width:0;display:flex;flex-direction:row;gap:6px}
 .header-social a{font-size:10px;padding:5px 6px;flex:1}
 .desktop-nav{display:none}
 .mobile-menu{display:block;background:#041d39;color:#fff;border-bottom:3px solid #f4a900}
 .mobile-menu summary{list-style:none;cursor:pointer;padding:9px 13px;font-weight:800;font-size:13px;display:flex;justify-content:space-between}
 .mobile-menu summary::-webkit-details-marker{display:none}
 .mobile-menu summary small{font-weight:400;font-size:10px;opacity:.8}
 .mobile-menu-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:#153653}
 .mobile-menu-links a{color:#fff;text-decoration:none;padding:10px 8px;background:#082d50;font-size:12px;font-weight:700}
 .content{padding:13px 9px 17px}
 .welcome{margin:0 0 12px}
 .welcome h1{font-size:19px;line-height:1.22;margin-bottom:5px}
 .welcome p{font-size:10px;line-height:1.35}
 .ticker{display:flex;margin:11px 0 12px;min-height:0}
 .ticker>strong{font-size:10px;padding:7px 8px}
 .ticker-window{width:calc(100% - 102px);flex:1}
 .ticker-track{padding:6px 0;animation-duration:38s}
 .ticker-track a{font-size:10px;margin:0 6px}
 .ticker-empty{font-size:10px;padding:6px}
 .important-links{grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;margin:11px 0 13px}
 .important-label{grid-column:1/-1;padding:7px;font-size:12px}
 .important-item{font-size:9px;line-height:1.15;padding:7px 3px;min-height:42px}
 .category-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:13px 0 15px}
 .shortcut{min-height:66px;padding:8px 4px;font-size:13px;border-radius:8px}
 .shortcut .symbol{font-size:23px;margin-bottom:4px}
 .shortcut-wide{grid-column:1/-1;min-height:47px;flex-direction:row;gap:9px}
 .shortcut-wide .symbol{margin:0;font-size:22px}
 .category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .category-card{grid-column:auto!important;min-width:0;min-height:0}
 .category-heading{font-size:14px;padding:7px 3px;line-height:1.2}
 .category-heading span{margin-right:4px}
 .post-list{padding:7px 5px 7px 19px}
 .post-list li{font-size:10px;line-height:1.28;padding:3px 0}
 .post-list a{overflow-wrap:anywhere}
 .view-more{font-size:10px;padding:5px 8px;margin:0 5px 7px}
 .date-sheet-card{grid-column:1/-1!important}
 .date-sheet-card .post-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding:8px 10px 8px 24px}
 .date-sheet-card .post-list li{font-size:11px}
 .about-box{margin-top:13px;padding:9px;gap:9px;align-items:center}
 .about-box>img{width:65px;height:65px;padding-right:7px}
 .about-box h2{font-size:15px;line-height:1.2;margin-bottom:4px}
 .about-box p{font-size:9px;line-height:1.3}
 .about-illustration{display:none}
 .site-footer{padding:11px 9px;display:block;text-align:center}
 .copyright{font-size:10px}
 .mobile-only{display:block}
 .footer-links{justify-content:center;margin-top:7px;row-gap:5px}
 .footer-links a{font-size:9px;padding:0 5px}
 .footer-social{justify-content:center;margin-top:8px}
 .page-content{padding:14px 10px}
}
@media(max-width:360px){
 .topbar{font-size:8px}.topbar-links{font-size:8px;gap:3px}
 .site-header{gap:6px}
 .logo-link{flex-basis:55px}
 .brand-logo,.custom-logo-link img{width:53px;height:53px}
 .brand-divider{height:57px}
 .site-title{font-size:17px}
 .site-tagline{font-size:8px}
 .header-social{left:72px}
 .header-social a{font-size:9px}
 .category-heading{font-size:12px}
 .post-list li{font-size:9px}
 .view-more{font-size:9px}
}
