/*
Theme Name: AllGovtJobsIndia Modern Child
Theme URI: https://allgovtjobsindia.in/
Description: Responsive government jobs portal redesign for GeneratePress.
Author: AllGovtJobsIndia
Template: generatepress
Version: 1.7.0
Text Domain: agji-modern-child
*/

:root{
  --agji-blue:#0753a5;--agji-navy:#06284d;--agji-yellow:#ffc928;
  --agji-green:#079b50;--agji-border:#d9e7f6;--agji-soft:#f2f7fd;
  --agji-text:#14243b;--agji-muted:#61738d;
}
body{background:#f7faff;color:var(--agji-text);font-family:Arial,Helvetica,sans-serif}
a{color:var(--agji-blue)}
a:hover{color:#003d7d}
.site-header,.site-footer{background:#fff}
.inside-header,.inside-navigation,.inside-footer-widgets,.inside-site-info{max-width:1200px}
.site-branding .main-title a{font-weight:800;color:#074b91}
.site-description{color:#53677f}
.main-navigation{background:#fff;border-top:1px solid #edf2f8}
.main-navigation .main-nav ul li a{font-weight:600}
.separate-containers .site-main{margin:0}
.agji-wrap{max-width:1200px;margin:0 auto;padding:24px 18px}
.agji-topbar{background:#073e7a;color:#fff;font-size:13px}
.agji-topbar-inner{max-width:1200px;margin:auto;padding:8px 18px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
.agji-topbar a{color:#fff;text-decoration:none;margin-right:14px}
.agji-hero{background:linear-gradient(100deg,#052c59 0%,#0753a5 58%,#1679c5 100%);color:#fff;overflow:hidden}
.agji-hero-inner{max-width:1200px;margin:auto;padding:30px 18px;min-height:190px;display:flex;align-items:center}
.agji-hero h1{font-size:34px;line-height:1.18;color:#fff;margin:0 0 12px;max-width:570px}
.agji-hero h1 span{color:var(--agji-yellow)}
.agji-hero p{font-size:16px;max-width:650px;margin:0 0 15px;color:#eef6ff}
.agji-trust{display:flex;gap:22px;flex-wrap:wrap;font-size:13px}
.agji-search{display:grid;grid-template-columns:1fr 220px 150px;gap:10px;margin:0 0 24px}
.agji-search input[type=search],.agji-search select{width:100%;min-height:46px;border:1px solid var(--agji-border);border-radius:8px;padding:0 14px;background:#fff}
.agji-search button{border:0;border-radius:8px;background:var(--agji-blue);color:#fff;font-weight:700;padding:12px 18px;cursor:pointer}
.agji-category-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin:0 0 18px}
.agji-category-card{display:flex;min-height:112px;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:14px 8px;border-radius:9px;color:#fff!important;text-decoration:none!important;font-weight:700;box-shadow:0 4px 12px rgba(10,50,100,.10)}
.agji-category-card small{font-weight:400;margin-top:7px}
.agji-cat-1{background:#0875df}.agji-cat-2{background:#079d52}.agji-cat-3{background:#6845dc}.agji-cat-4{background:#f28a00}.agji-cat-5{background:#e72d37}.agji-cat-6{background:#0798ad}
.agji-qual-state{display:grid;grid-template-columns:2fr 1fr;gap:16px;margin:0 0 20px}
.agji-panel{background:#fff;border:1px solid var(--agji-border);border-radius:9px;padding:16px;box-shadow:0 2px 8px rgba(20,60,100,.035)}
.agji-panel h2,.agji-panel h3{font-size:18px;margin:0 0 13px;color:#073e7a}
.agji-qual-links{display:flex;justify-content:space-around;gap:8px;flex-wrap:wrap}
.agji-qual-links a{font-size:13px;text-align:center;text-decoration:none;font-weight:700;padding:8px 10px;background:var(--agji-soft);border-radius:7px}
.agji-content-grid{display:grid;grid-template-columns:minmax(0,2.15fr) minmax(260px,.85fr);gap:22px;align-items:start}
.agji-job-section{background:#fff;border:1px solid var(--agji-border);border-radius:9px;overflow:hidden;margin-bottom:18px;box-shadow:0 2px 8px rgba(20,60,100,.04)}
.agji-section-head{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border-bottom:1px solid var(--agji-border)}
.agji-section-head h2{font-size:20px;margin:0;color:#102b4c}
.agji-section-head a{font-size:13px;font-weight:700;text-decoration:none}
.agji-job-row{display:grid;grid-template-columns:1fr auto;gap:12px;padding:15px 17px;border-bottom:1px solid #e8eff7;align-items:center}
.agji-job-row:last-child{border-bottom:0}
.agji-job-row h3{font-size:15px;line-height:1.35;margin:0 0 5px}
.agji-job-row h3 a{text-decoration:none;color:#0b376b}
.agji-job-meta{font-size:12px;color:var(--agji-muted);display:flex;gap:12px;flex-wrap:wrap}
.agji-job-action a{display:inline-block;background:#0762bf;color:#fff;padding:8px 13px;border-radius:6px;text-decoration:none;font-size:12px;font-weight:700;white-space:nowrap}
.agji-sidebar-box{background:#fff;border:1px solid var(--agji-border);border-radius:9px;padding:15px;margin-bottom:16px}
.agji-sidebar-box h3{font-size:17px;margin:0 0 10px}
.agji-sidebar-box ul{list-style:none;margin:0;padding:0}
.agji-sidebar-box li{border-bottom:1px solid #edf2f8;padding:8px 0;font-size:13px}
.agji-sidebar-box li:last-child{border-bottom:0}
.agji-sidebar-box a{text-decoration:none}
.agji-benefits{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;background:#fff;border:1px solid var(--agji-border);border-radius:9px;padding:18px;margin-top:18px;text-align:center}
.agji-benefits strong{display:block;color:#0753a5;margin-bottom:5px}
.agji-benefits span{font-size:12px;color:var(--agji-muted)}
.agji-footer{background:#06284d;color:#fff;margin-top:24px}
.agji-footer-inner{max-width:1200px;margin:auto;padding:26px 18px;display:grid;grid-template-columns:1.2fr 1.5fr 1fr;gap:20px}
.agji-footer h3{color:#fff;font-size:17px}
.agji-footer a{color:#dbeaff}
.agji-footer-bottom{border-top:1px solid rgba(255,255,255,.15);padding:13px 18px;text-align:center;font-size:12px}
.agji-article-layout{display:grid;grid-template-columns:minmax(0,2.1fr) minmax(260px,.85fr);gap:22px;align-items:start}
.agji-article-card{background:#fff;border:1px solid var(--agji-border);border-radius:9px;padding:22px}
.agji-breadcrumb{font-size:12px;color:var(--agji-muted);margin-bottom:12px}
.agji-article-card h1{font-size:28px;line-height:1.25;color:#102b4c;margin:0 0 10px}
.agji-post-meta{font-size:12px;color:var(--agji-muted);margin-bottom:16px}
.agji-featured{margin:15px 0}
.agji-featured img{width:100%;height:auto;border-radius:7px}
.agji-article-card .entry-content{font-size:16px;line-height:1.75}
.agji-article-card .entry-content h2{font-size:22px;color:#073e7a;border-bottom:1px solid var(--agji-border);padding-bottom:7px;margin-top:28px}
.agji-article-card .entry-content h3{font-size:18px;color:#153c68}
.agji-article-card .entry-content table{width:100%;border-collapse:collapse;margin:15px 0;font-size:14px}
.agji-article-card .entry-content th,.agji-article-card .entry-content td{border:1px solid #dce6f1;padding:9px;text-align:left}
.agji-article-card .entry-content th{background:#edf5ff}
.agji-article-card .entry-content a{font-weight:600}
.agji-article-card .entry-content .wp-block-button__link{background:#0875df;color:#fff}
.agji-archive-heading{background:#fff;border:1px solid var(--agji-border);padding:18px;border-radius:9px;margin-bottom:16px}
.agji-pagination{padding:16px}
.agji-pagination .page-numbers{display:inline-block;padding:7px 11px;margin:2px;border:1px solid var(--agji-border);border-radius:5px;text-decoration:none}
@media(max-width:900px){
 .agji-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .agji-content-grid,.agji-article-layout{grid-template-columns:minmax(0,1fr) 270px}
 .agji-search{grid-template-columns:1fr 180px 120px}
}
@media(max-width:700px){
 .agji-wrap{padding:16px 12px}
 .agji-hero-inner{padding:24px 14px;min-height:0}
 .agji-hero h1{font-size:27px}
 .agji-search{grid-template-columns:1fr;gap:8px}
 .agji-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .agji-category-card{min-height:92px}
 .agji-qual-state,.agji-content-grid,.agji-article-layout{grid-template-columns:1fr}
 .agji-job-row{grid-template-columns:1fr}
 .agji-job-action a{display:inline-block}
 .agji-benefits{grid-template-columns:repeat(2,1fr)}
 .agji-footer-inner{grid-template-columns:1fr}
 .agji-article-card{padding:15px}
 .agji-article-card h1{font-size:23px}
 .agji-article-card .entry-content{font-size:15px}
}

.agji-header{background:#fff;border-bottom:1px solid #e3edf7}
.agji-header-inner{max-width:1200px;margin:auto;padding:13px 18px;display:flex;align-items:center;gap:24px}
.agji-brand{min-width:280px}
.agji-brand-title{font-size:27px;font-weight:800;color:#074b91;text-decoration:none}
.agji-brand-title img{max-height:54px;width:auto}
.agji-tagline{font-size:12px;color:#61738d}
.agji-nav{flex:1}
.agji-nav ul{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.agji-nav li{margin:0}
.agji-nav a{font-size:13px;font-weight:700;text-decoration:none;color:#132d4e}
.agji-nav a:hover{color:#0753a5}
.agji-header-search{display:flex;max-width:175px}
.agji-header-search input{min-width:0;width:135px;border:1px solid #d9e7f6;border-radius:6px 0 0 6px;padding:8px;font-size:12px}
.agji-header-search button{border:0;background:#0753a5;color:#fff;border-radius:0 6px 6px 0;padding:0 11px}
.agji-menu-toggle{display:none;background:#0753a5;color:#fff;border:0;border-radius:5px;padding:8px 11px}
.agji-footer-chip{display:inline-block;border:1px solid rgba(255,255,255,.35);border-radius:20px;padding:4px 9px;margin:3px;text-decoration:none}
@media(max-width:900px){.agji-header-inner{flex-wrap:wrap;gap:12px}.agji-brand{flex:1}.agji-menu-toggle{display:block}.agji-nav{display:none;order:4;flex-basis:100%}.agji-nav ul{display:flex;flex-direction:column;align-items:flex-start;gap:0}.agji-nav li{width:100%;border-top:1px solid #edf2f8;padding:10px 2px}.agji-nav.is-open{display:block}.agji-header-search{margin-left:auto}}
@media(max-width:700px){.agji-header-inner{padding:10px 12px}.agji-brand{min-width:0}.agji-brand-title{font-size:22px}.agji-header-search{flex-basis:100%;max-width:none}.agji-header-search input{width:100%}.agji-topbar-inner{font-size:11px;padding:7px 12px}.agji-topbar-inner a{margin-right:8px}}

/* Version 1.1 visual refinements */
body{font-size:15px;line-height:1.6}
.agji-topbar{font-size:12px}
.agji-header-inner{min-height:76px;gap:18px}
.agji-brand{min-width:250px}
.agji-nav ul{gap:15px}
.agji-nav a{font-size:14px}
.agji-hero{position:relative;background:linear-gradient(105deg,#05284f 0%,#064b91 55%,#0879bd 100%)}
.agji-hero:after{content:"";position:absolute;right:-5%;top:-45%;width:55%;height:190%;background:radial-gradient(ellipse at center,rgba(255,255,255,.18),rgba(255,255,255,0) 65%);pointer-events:none}
.agji-hero-inner{position:relative;z-index:1;min-height:205px;justify-content:space-between}
.agji-hero-copy{max-width:680px}
.agji-hero-kicker{display:inline-block;font-size:11px;letter-spacing:1.3px;font-weight:700;color:#c9e5ff;margin-bottom:8px}
.agji-hero h1{font-size:37px;text-shadow:0 1px 2px rgba(0,0,0,.12)}
.agji-hero-art{width:270px;height:155px;position:relative;flex:0 0 270px;opacity:.92}
.agji-hero-art-dome{position:absolute;right:10px;bottom:0;width:245px;height:83px;border:7px solid rgba(255,255,255,.75);border-bottom:0;border-radius:130px 130px 0 0;background:repeating-linear-gradient(90deg,rgba(255,255,255,.2) 0 9px,transparent 9px 23px)}
.agji-hero-art-dome:before{content:"";position:absolute;left:98px;top:-46px;width:42px;height:46px;border:5px solid rgba(255,255,255,.75);border-bottom:0;border-radius:50% 50% 0 0}
.agji-hero-art-dome:after{content:"";position:absolute;left:115px;top:-72px;height:28px;border-left:3px solid #ffd34d}
.agji-hero-art-emblem{position:absolute;right:112px;top:0;color:#fff;font-size:12px;font-weight:800}
.agji-search{margin-top:22px}
.agji-search input[type=search],.agji-search select{font-size:14px;box-shadow:0 3px 12px rgba(20,70,120,.04)}
.agji-category-card{min-height:120px;font-size:15px;transition:transform .18s ease,box-shadow .18s ease}
.agji-category-card:hover{transform:translateY(-3px);box-shadow:0 8px 18px rgba(10,50,100,.16)}
.agji-panel{background:linear-gradient(145deg,#fff,#f5f9ff)}
.agji-qual-links a{border:1px solid #e3edf8}
.agji-state-select{width:100%;padding:11px;border:1px solid #d9e7f6;border-radius:6px;background:#fff}
.agji-job-row{padding:16px 17px;min-height:84px}
.agji-job-main{display:flex;align-items:center;gap:13px;min-width:0}
.agji-job-thumb{display:block;flex:0 0 58px;width:58px;height:58px;border:1px solid #edf2f8;border-radius:8px;overflow:hidden;background:#f6f9fd}
.agji-job-thumb img{width:100%;height:100%;object-fit:contain}
.agji-job-copy{min-width:0}
.agji-job-row h3{font-size:16px;margin-bottom:6px}
.agji-job-meta{font-size:12px;gap:8px 13px}
.agji-last-date{color:#d93636;font-weight:600}
.agji-job-excerpt{font-size:12px;line-height:1.45;color:#687b92;margin:5px 0 0}
.agji-job-action{display:flex;flex-direction:column;align-items:flex-end;gap:7px}
.agji-status-badge{display:inline-block;border-radius:20px;padding:3px 9px;font-size:10px;font-weight:700;color:#075b35;background:#e2f8ec;white-space:nowrap}
.agji-status-update{color:#0753a5;background:#e7f1ff}
.agji-job-action a{font-size:12px;padding:9px 14px}
.agji-sidebar-box{padding:16px}
.agji-sidebar-box h3{font-size:17px;color:#102b4c}
.agji-sidebar-box li{padding:9px 0;font-size:13px;line-height:1.4}
.agji-sidebar-box li small{display:block;color:#8796a9;font-size:10px;margin-top:3px}
.agji-newsletter-box{background:linear-gradient(145deg,#effaf3,#fff);border-color:#cdebd8}
.agji-newsletter-box p{font-size:13px}
.agji-widget-note{font-size:11px!important;color:#74849a}
.agji-benefits{padding:20px 12px}
.agji-benefits strong{font-size:14px}
.agji-article-card{box-shadow:0 3px 14px rgba(20,60,100,.05)}
.agji-article-card .entry-content h2{background:#f2f7fd;border-left:4px solid #0753a5;padding:9px 12px;border-bottom:0;border-radius:0 5px 5px 0}
.agji-article-card .entry-content table tr:nth-child(even){background:#fafcff}
.agji-article-card .entry-content .wp-block-button__link{border-radius:6px;font-weight:700}
.agji-footer{margin-top:30px}
.agji-footer-inner{padding-top:32px;padding-bottom:32px}
.agji-footer h3{margin-bottom:10px}
@media(max-width:900px){
 .agji-header-inner{gap:12px}
 .agji-brand{min-width:220px}
 .agji-hero-art{width:190px;flex-basis:190px;transform:scale(.8);transform-origin:right center}
 .agji-hero h1{font-size:32px}
 .agji-nav ul{gap:10px}
}
@media(max-width:700px){
 .agji-header-inner{min-height:0}
 .agji-brand-title{font-size:21px}
 .agji-hero-inner{min-height:0;padding:25px 15px}
 .agji-hero h1{font-size:28px}
 .agji-hero-art{display:none}
 .agji-trust{gap:8px 15px;font-size:11px}
 .agji-search{margin-top:15px;margin-bottom:18px}
 .agji-search input[type=search],.agji-search select,.agji-search button{min-height:44px}
 .agji-category-card{min-height:96px;font-size:14px}
 .agji-qual-links{justify-content:flex-start}
 .agji-qual-links a{flex:1 1 28%;font-size:12px}
 .agji-job-row{padding:13px 12px}
 .agji-job-row h3{font-size:15px}
 .agji-job-action{flex-direction:row;justify-content:space-between;align-items:center}
 .agji-job-excerpt{font-size:11px}
 .agji-benefits{gap:15px}
 .agji-footer-inner{padding:23px 16px}
}

/* Parliament banner artwork */
.agji-hero{
 background-image:linear-gradient(90deg,rgba(4,37,78,.97) 0%,rgba(5,64,125,.88) 43%,rgba(5,75,145,.12) 76%),url('assets/parliament-banner.png');
 background-size:cover;
 background-position:center right;
}
.agji-hero-art{display:none}
@media(max-width:700px){
 .agji-hero{background-image:linear-gradient(90deg,rgba(4,37,78,.94),rgba(5,64,125,.82)),url('assets/parliament-banner.png');background-position:center}
}

.agji-social-menu ul{list-style:none;display:flex;gap:8px;flex-wrap:wrap;margin:0;padding:0}
.agji-social-menu li{margin:0}
.agji-social-menu a{display:inline-flex;align-items:center;justify-content:center;min-width:34px;min-height:34px;padding:5px 10px;border:1px solid rgba(255,255,255,.35);border-radius:7px;text-decoration:none;font-size:12px;font-weight:700}
.agji-social-menu a:hover{background:#fff;color:#06284d}


/* V1.3 HEADER ALIGNMENT FIX */
.agji-header{
  width:100%;
  background:#fff;
  border-bottom:1px solid #e3edf7;
  box-shadow:0 2px 7px rgba(10,45,85,.035);
}
.agji-header-inner{
  width:100%;
  max-width:1200px;
  min-height:82px;
  margin:0 auto;
  padding:10px 18px;
  box-sizing:border-box;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
}
.agji-brand{
  flex:0 0 255px;
  width:255px;
  min-width:0;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  gap:3px;
  line-height:1.15;
}
.agji-brand-logo{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  min-height:48px;
  margin:0;
  padding:0;
}
.agji-brand-logo .custom-logo-link{
  display:inline-flex;
  align-items:center;
  justify-content:flex-start;
  max-width:100%;
  margin:0;
  padding:0;
  line-height:0;
}
.agji-brand-logo img.custom-logo,
.agji-brand-logo .custom-logo{
  display:block;
  width:auto!important;
  height:auto!important;
  max-width:245px!important;
  max-height:48px!important;
  object-fit:contain;
  object-position:left center;
  margin:0!important;
  padding:0!important;
}
.agji-brand-title{
  display:block;
  color:#074b91;
  font-size:25px;
  font-weight:800;
  line-height:1.1;
  text-decoration:none;
  margin:0;
}
.agji-tagline{
  display:block;
  width:100%;
  margin:0;
  padding:0;
  color:#53677f;
  font-size:11px;
  line-height:1.35;
  text-align:left;
  white-space:normal;
}
.agji-nav{
  flex:1 1 auto;
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0;
  padding:0;
}
.agji-nav > ul,
.agji-nav ul#agji-primary-menu{
  display:flex;
  flex-direction:row;
  align-items:center;
  justify-content:center;
  flex-wrap:nowrap;
  gap:clamp(10px,1.35vw,19px);
  list-style:none;
  width:auto;
  margin:0!important;
  padding:0!important;
}
.agji-nav ul li{
  display:block;
  flex:0 0 auto;
  list-style:none;
  margin:0!important;
  padding:0!important;
  border:0!important;
}
.agji-nav ul li a{
  display:block;
  padding:10px 0!important;
  color:#102b4c;
  font-size:13px;
  font-weight:700;
  line-height:1.2;
  text-decoration:none;
  white-space:nowrap;
}
.agji-nav ul li a:hover,
.agji-nav ul li.current-menu-item > a{
  color:#0753a5;
}
.agji-header-search{
  flex:0 0 145px;
  width:145px;
  max-width:145px;
  display:flex;
  align-items:center;
  margin:0;
  padding:0;
}
.agji-header-search input[type="search"]{
  width:112px;
  min-width:0;
  height:35px;
  margin:0;
  padding:0 9px;
  border:1px solid #d9e7f6;
  border-right:0;
  border-radius:6px 0 0 6px;
  box-sizing:border-box;
  font-size:11px;
  background:#fff;
}
.agji-header-search button{
  width:33px;
  height:35px;
  flex:0 0 33px;
  margin:0;
  padding:0;
  border:0;
  border-radius:0 6px 6px 0;
  background:#0753a5;
  color:#fff;
  font-size:21px;
  line-height:1;
  cursor:pointer;
}
.agji-menu-toggle{display:none}

@media(max-width:1050px){
  .agji-header-inner{gap:14px}
  .agji-brand{flex-basis:225px;width:225px}
  .agji-brand-logo img.custom-logo,.agji-brand-logo .custom-logo{max-width:215px!important;max-height:44px!important}
  .agji-nav ul#agji-primary-menu{gap:10px}
  .agji-nav ul li a{font-size:12px}
  .agji-header-search{flex-basis:125px;width:125px;max-width:125px}
  .agji-header-search input[type="search"]{width:94px}
  .agji-header-search button{width:31px;flex-basis:31px}
}
@media(max-width:900px){
  .agji-header-inner{min-height:72px;flex-wrap:wrap;gap:10px 14px}
  .agji-brand{flex:1 1 220px;width:auto}
  .agji-menu-toggle{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    order:2;
    border:0;
    border-radius:6px;
    padding:9px 12px;
    background:#0753a5;
    color:#fff;
    font-size:13px;
    font-weight:700;
    cursor:pointer;
  }
  .agji-nav{
    display:none;
    order:4;
    flex:0 0 100%;
    width:100%;
    padding:5px 0 8px;
    border-top:1px solid #edf2f8;
  }
  .agji-nav.is-open{display:block}
  .agji-nav ul#agji-primary-menu{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    width:100%;
  }
  .agji-nav ul li{width:100%;border-bottom:1px solid #edf2f8!important}
  .agji-nav ul li a{padding:11px 5px!important;font-size:14px;white-space:normal}
  .agji-header-search{
    order:3;
    flex:0 1 180px;
    width:180px;
    max-width:180px;
    margin-left:auto;
  }
  .agji-header-search input[type="search"]{width:147px}
  .agji-header-search button{width:33px;flex-basis:33px}
}
@media(max-width:600px){
  .agji-header-inner{padding:9px 13px;gap:9px}
  .agji-brand{flex:1 1 100%;width:100%;align-items:flex-start}
  .agji-brand-logo{min-height:40px}
  .agji-brand-logo img.custom-logo,.agji-brand-logo .custom-logo{max-width:205px!important;max-height:40px!important}
  .agji-brand-title{font-size:22px}
  .agji-tagline{font-size:10px}
  .agji-menu-toggle{order:2}
  .agji-header-search{order:3;flex:1 1 150px;width:auto;max-width:none}
  .agji-header-search input[type="search"]{width:calc(100% - 33px)}
  .agji-nav{order:4}
  .agji-topbar-inner{align-items:center}
  .agji-topbar-links{display:flex;flex-wrap:wrap;gap:4px 10px}
  .agji-topbar a{margin:0}
}


/* V1.4 - FORCE HEADER LAYOUT (overrides GeneratePress and earlier child rules) */
html body header.agji-header,
html body .agji-header {
  display:block !important;
  width:100% !important;
  background:#fff !important;
  overflow:visible !important;
}
html body header.agji-header .agji-header-inner {
  display:flex !important;
  flex-flow:row nowrap !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:18px !important;
  width:100% !important;
  max-width:1200px !important;
  min-height:82px !important;
  margin:0 auto !important;
  padding:10px 18px !important;
  box-sizing:border-box !important;
}
html body header.agji-header .agji-brand {
  display:flex !important;
  flex:0 0 235px !important;
  width:235px !important;
  min-width:0 !important;
  max-width:235px !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  justify-content:center !important;
  gap:3px !important;
  margin:0 !important;
  padding:0 !important;
}
html body header.agji-header .agji-brand-logo {
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  width:100% !important;
  min-height:0 !important;
  height:auto !important;
  margin:0 !important;
  padding:0 !important;
}
html body header.agji-header .agji-brand-logo a,
html body header.agji-header .agji-brand-logo .custom-logo-link {
  display:inline-flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  max-width:100% !important;
  height:auto !important;
  margin:0 !important;
  padding:0 !important;
  line-height:0 !important;
}
html body header.agji-header .agji-brand-logo img,
html body header.agji-header img.custom-logo {
  display:block !important;
  width:auto !important;
  height:auto !important;
  max-width:220px !important;
  max-height:48px !important;
  object-fit:contain !important;
  object-position:left center !important;
  margin:0 !important;
  padding:0 !important;
}
html body header.agji-header .agji-tagline {
  display:block !important;
  width:100% !important;
  margin:0 !important;
  padding:0 !important;
  text-align:left !important;
  font-size:10px !important;
  line-height:1.3 !important;
  color:#526780 !important;
}
html body header.agji-header nav.agji-nav {
  display:flex !important;
  flex:1 1 auto !important;
  min-width:0 !important;
  width:auto !important;
  align-items:center !important;
  justify-content:center !important;
  margin:0 !important;
  padding:0 !important;
}
html body header.agji-header nav.agji-nav > ul,
html body header.agji-header nav.agji-nav ul#agji-primary-menu {
  display:flex !important;
  flex-flow:row nowrap !important;
  align-items:center !important;
  justify-content:center !important;
  gap:clamp(8px,1vw,15px) !important;
  width:auto !important;
  max-width:100% !important;
  margin:0 !important;
  padding:0 !important;
  list-style:none !important;
}
html body header.agji-header nav.agji-nav ul li {
  display:block !important;
  flex:0 0 auto !important;
  width:auto !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  list-style:none !important;
}
html body header.agji-header nav.agji-nav ul li a {
  display:block !important;
  padding:10px 0 !important;
  color:#102b4c !important;
  font-size:12px !important;
  font-weight:700 !important;
  line-height:1.2 !important;
  white-space:nowrap !important;
  text-decoration:none !important;
}
html body header.agji-header form.agji-header-search {
  display:flex !important;
  flex:0 0 138px !important;
  width:138px !important;
  max-width:138px !important;
  min-width:0 !important;
  align-items:center !important;
  margin:0 !important;
  padding:0 !important;
}
html body header.agji-header form.agji-header-search input[type="search"] {
  display:block !important;
  flex:1 1 auto !important;
  width:105px !important;
  min-width:0 !important;
  height:34px !important;
  margin:0 !important;
  padding:0 7px !important;
  box-sizing:border-box !important;
  font-size:11px !important;
}
html body header.agji-header form.agji-header-search button {
  display:flex !important;
  flex:0 0 33px !important;
  width:33px !important;
  height:34px !important;
  align-items:center !important;
  justify-content:center !important;
  margin:0 !important;
  padding:0 !important;
}
html body header.agji-header .agji-menu-toggle { display:none !important; }

/* Tablet: keep branding on top and controls/menu on the next row. */
@media screen and (max-width:1050px) {
  html body header.agji-header .agji-header-inner {
    flex-wrap:wrap !important;
    gap:9px 12px !important;
    min-height:0 !important;
  }
  html body header.agji-header .agji-brand {
    flex:1 1 100% !important;
    width:100% !important;
    max-width:100% !important;
    min-height:48px !important;
  }
  html body header.agji-header .agji-menu-toggle {
    display:inline-flex !important;
    order:2 !important;
    flex:0 0 auto !important;
    align-items:center !important;
    justify-content:center !important;
    gap:6px !important;
    min-height:36px !important;
    margin:0 !important;
    padding:8px 12px !important;
    border:0 !important;
    border-radius:5px !important;
    background:#0753a5 !important;
    color:#fff !important;
    font-size:13px !important;
    line-height:1 !important;
  }
  html body header.agji-header form.agji-header-search {
    order:3 !important;
    flex:1 1 170px !important;
    width:auto !important;
    max-width:none !important;
    margin-left:auto !important;
  }
  html body header.agji-header form.agji-header-search input[type="search"] {
    width:calc(100% - 33px) !important;
  }
  html body header.agji-header nav.agji-nav {
    display:none !important;
    order:4 !important;
    flex:0 0 100% !important;
    width:100% !important;
    padding:5px 0 8px !important;
    border-top:1px solid #e8eef6 !important;
  }
  html body header.agji-header nav.agji-nav.is-open {
    display:block !important;
  }
  html body header.agji-header nav.agji-nav > ul,
  html body header.agji-header nav.agji-nav ul#agji-primary-menu {
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    justify-content:flex-start !important;
    gap:0 !important;
    width:100% !important;
  }
  html body header.agji-header nav.agji-nav ul li {
    display:block !important;
    width:100% !important;
    border-bottom:1px solid #edf2f8 !important;
  }
  html body header.agji-header nav.agji-nav ul li a {
    display:block !important;
    padding:10px 6px !important;
    font-size:14px !important;
    white-space:normal !important;
  }
}

/* Small mobile: compact logo, clear controls, no squeezed navigation links. */
@media screen and (max-width:600px) {
  html body header.agji-header .agji-header-inner {
    padding:9px 13px !important;
    gap:8px 10px !important;
  }
  html body header.agji-header .agji-brand {
    flex:0 0 100% !important;
    width:100% !important;
    max-width:100% !important;
    min-height:0 !important;
    align-items:flex-start !important;
  }
  html body header.agji-header .agji-brand-logo img,
  html body header.agji-header img.custom-logo {
    max-width:195px !important;
    max-height:42px !important;
  }
  html body header.agji-header .agji-tagline {
    font-size:10px !important;
  }
  html body header.agji-header .agji-menu-toggle {
    order:2 !important;
  }
  html body header.agji-header form.agji-header-search {
    order:3 !important;
    flex:1 1 140px !important;
    width:auto !important;
    max-width:none !important;
  }
  html body header.agji-header nav.agji-nav {
    order:4 !important;
  }
}


/* V1.5 - Sidebar browse directories */
.agji-directory-box{
  margin:0 0 10px!important;
  padding:0!important;
  overflow:hidden;
  background:#fff;
  border:1px solid #dce8f5;
  border-radius:7px;
}
.agji-directory-details{margin:0;padding:0}
.agji-directory-details > summary{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:40px;
  padding:10px 12px;
  color:#073d78;
  background:#f1f7ff;
  font-size:13px;
  font-weight:800;
  line-height:1.3;
  cursor:pointer;
  list-style:none;
}
.agji-directory-details > summary::-webkit-details-marker{display:none}
.agji-directory-details > summary::after{
  content:"+";
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:19px;
  height:19px;
  margin-left:8px;
  border-radius:50%;
  background:#fff;
  color:#0753a5;
  font-size:16px;
  font-weight:700;
  flex:0 0 19px;
}
.agji-directory-details[open] > summary::after{content:"−"}
.agji-directory-list{
  display:grid;
  grid-template-columns:1fr;
  gap:0;
  margin:0!important;
  padding:5px 12px 8px!important;
  list-style:none!important;
}
.agji-directory-list li{
  display:block;
  margin:0!important;
  padding:0!important;
  border-bottom:1px solid #edf2f8;
  list-style:none!important;
}
.agji-directory-list li:last-child{border-bottom:0}
.agji-directory-list li a{
  display:block;
  padding:7px 0;
  color:#164574;
  font-size:11px;
  line-height:1.35;
  text-decoration:none;
  overflow-wrap:anywhere;
}
.agji-directory-list li a:hover{color:#0067c8;text-decoration:underline}
@media(max-width:768px){
  .agji-directory-details > summary{font-size:13px;min-height:42px}
  .agji-directory-list li a{font-size:12px;padding:9px 0}
}


/* V1.5 - Style existing sidebar browse widgets as clear quick-link sections.
   Keep the user's existing widget content and destinations; do not duplicate lists. */
.agji-content-grid aside .widget,
.agji-article-layout aside .widget,
#secondary .widget{
  margin:0 0 12px!important;
  padding:12px!important;
  background:#fff!important;
  border:1px solid #dce8f5!important;
  border-radius:7px!important;
  box-shadow:0 1px 3px rgba(12,55,96,.035);
}
.agji-content-grid aside .widget-title,
.agji-article-layout aside .widget-title,
#secondary .widget-title{
  margin:0 0 9px!important;
  padding:0 0 8px!important;
  color:#073d78!important;
  border-bottom:1px solid #e8eff7!important;
  font-size:14px!important;
  font-weight:800!important;
  line-height:1.3!important;
}
.agji-content-grid aside .widget ul,
.agji-article-layout aside .widget ul,
#secondary .widget ul{
  margin:0!important;
  padding:0!important;
  list-style:none!important;
}
.agji-content-grid aside .widget ul li,
.agji-article-layout aside .widget ul li,
#secondary .widget ul li{
  margin:0!important;
  padding:0!important;
  border-bottom:1px solid #edf2f8;
  list-style:none!important;
}
.agji-content-grid aside .widget ul li:last-child,
.agji-article-layout aside .widget ul li:last-child,
#secondary .widget ul li:last-child{border-bottom:0}
.agji-content-grid aside .widget ul li a,
.agji-article-layout aside .widget ul li a,
#secondary .widget ul li a{
  display:block;
  padding:6px 0!important;
  color:#164574!important;
  font-size:11px!important;
  line-height:1.35!important;
  text-decoration:none!important;
  overflow-wrap:anywhere;
}
.agji-content-grid aside .widget ul li a:hover,
.agji-article-layout aside .widget ul li a:hover,
#secondary .widget ul li a:hover{
  color:#0067c8!important;
  text-decoration:underline!important;
}
@media(max-width:768px){
  .agji-content-grid aside .widget ul li a,
  .agji-article-layout aside .widget ul li a,
  #secondary .widget ul li a{font-size:12px!important;padding:8px 0!important}
}


/* V1.6 - Prominent blinking application deadline on homepage job cards */
.agji-job-meta .agji-last-date-blink{
  display:inline-flex;
  align-items:center;
  gap:3px;
  padding:3px 8px;
  border-radius:20px;
  color:#b42318 !important;
  background:#fff0ef;
  border:1px solid #ffc9c4;
  font-weight:700;
  line-height:1.35;
  animation:agji-last-date-blink 1.25s steps(2,start) infinite;
}
.agji-job-meta .agji-last-date-blink strong{font-weight:800}
@keyframes agji-last-date-blink{
  0%,49%{opacity:1;visibility:visible}
  50%,100%{opacity:.42;visibility:visible}
}
@media(prefers-reduced-motion:reduce){
  .agji-job-meta .agji-last-date-blink{animation:none;opacity:1}
}


/* V1.7 - clearly visible application deadline below each homepage job title */
.agji-job-deadline-line{display:block;margin:5px 0 2px;line-height:1.35}
.agji-job-deadline-line .agji-last-date-blink{
 display:inline-flex;align-items:center;gap:4px;padding:3px 8px;
 border:1px solid #ffc4c4;border-radius:5px;background:#fff0f0;
 color:#c51f2b!important;font-size:11px;font-weight:800;line-height:1.3;
}
.agji-job-deadline-line .agji-last-date-blink strong{font-weight:900}
@media(prefers-reduced-motion:reduce){.agji-job-deadline-line .agji-last-date-blink{animation:none!important;opacity:1!important}}


/* V1.8 - Show the same blinking application deadline on category/archive pages */
.agji-archive-job-copy{min-width:0;flex:1 1 auto}
.agji-archive-job-copy .agji-job-deadline-line{display:block;margin:5px 0 0;line-height:1.35}
.agji-archive-job-copy .agji-last-date-blink{
 display:inline-flex;align-items:center;gap:4px;padding:3px 8px;
 border:1px solid #ffc4c4;border-radius:5px;background:#fff0f0;
 color:#c51f2b!important;font-size:11px;font-weight:800;line-height:1.3;
 animation:agji-last-date-blink 1.25s steps(2,start) infinite;
}
.agji-archive-job-copy .agji-last-date-blink strong{font-weight:900}
@media(prefers-reduced-motion:reduce){.agji-archive-job-copy .agji-last-date-blink{animation:none!important;opacity:1!important}}
