/*
Theme Name: GulfJob Premium Fast
Description: Lightweight premium job portal child theme for GeneratePress.
Author: GulfJob
Template: generatepress
Version: 3.0.0
Text Domain: gulfjob-premium
*/

:root{--p:#155eef;--pd:#0d47c7;--t:#172033;--m:#667085;--b:#e6e9ef;--bg:#f7f8fa}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body.gj-premium-body{margin:0;background:var(--bg);color:var(--t);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}
body.gj-premium-body a{text-decoration:none}
.gj-site-header{position:sticky;top:0;z-index:999;background:#fff;border-bottom:1px solid var(--b)}
.gj-header-inner{max-width:1180px;min-height:62px;margin:auto;padding:0 20px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.gj-brand{display:flex;align-items:center;gap:8px;color:var(--t);font-size:20px;font-weight:800;letter-spacing:-.5px}
.gj-brand img{max-height:36px;width:auto}
.gj-brand .custom-logo-link{display:flex}
.gj-brand-mark{width:34px;height:34px;border-radius:9px;background:var(--p);color:#fff;display:grid;place-items:center;font-size:13px;font-weight:800}
.gj-nav ul{list-style:none;margin:0;padding:0;display:flex;gap:2px}
.gj-nav li{margin:0}
.gj-nav a{display:block;padding:8px 10px;border-radius:8px;color:#475467;font-size:13px;font-weight:650}
.gj-nav a:hover{background:#f1f5ff;color:var(--p)}
.gj-mobile-toggle{display:none;border:0;background:#f2f4f7;width:38px;height:38px;border-radius:8px;cursor:pointer;font-size:18px}
.gj-search-hero{background:linear-gradient(180deg,#fff,#f8faff);border-bottom:1px solid #edf0f4;padding:22px 20px 20px}
.gj-search-wrap{max-width:850px;margin:auto}
.gj-search{max-width:850px;margin:auto;padding:5px;background:#fff;border:1px solid var(--b);border-radius:11px;box-shadow:0 7px 22px rgba(16,24,40,.06);display:flex;gap:5px}
.gj-search-icon{display:grid;place-items:center;width:38px;color:#667085;font-size:23px}
.gj-search input[type=search]{flex:1;min-width:0;border:0!important;outline:0!important;box-shadow:none!important;padding:10px 5px;background:transparent;font-size:14px;color:var(--t)}
.gj-search button{border:0;border-radius:8px;min-width:105px;background:var(--p);color:#fff;font-size:13px;font-weight:800;cursor:pointer}
.gj-search button:hover{background:var(--pd)}
.gj-container{max-width:1180px;margin:auto;padding:0 20px}
.gj-ad-slot{width:100%;min-height:80px;margin:12px 0 0;display:flex;align-items:center;justify-content:center;position:relative;background:#fff;border:1px solid #edf0f4;border-radius:9px;overflow:hidden}
.gj-ad-label{position:absolute;top:4px;left:50%;transform:translateX(-50%);font-size:7px;letter-spacing:.5px;text-transform:uppercase;color:#98a2b3}
.gj-ad-inner{width:100%;min-height:80px;display:flex;align-items:center;justify-content:center}
.gj-section{padding:24px 0}
.gj-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;margin-bottom:14px}
.gj-section-head h1{margin:0;font-size:24px;line-height:1.2;letter-spacing:-.5px}
.gj-section-head p{margin:4px 0 0;color:var(--m);font-size:12px}
.gj-view-all{color:var(--p);font-size:12px;font-weight:800;white-space:nowrap}
.gj-jobs-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.gj-job-card{overflow:hidden;background:#fff;border:1px solid var(--b);border-radius:13px;box-shadow:0 2px 10px rgba(16,24,40,.035);transition:transform .15s ease,box-shadow .15s ease}
.gj-job-card:hover{transform:translateY(-2px);box-shadow:0 7px 20px rgba(16,24,40,.07)}
.gj-job-image{display:block;aspect-ratio:16/9;overflow:hidden;background:#eef1f5}
.gj-job-image img{width:100%;height:100%;display:block;object-fit:cover}
.gj-no-image{height:100%;display:grid;place-items:center;color:#98a2b3;font-size:12px;font-weight:700}
.gj-job-body{padding:13px 14px 15px}
.gj-job-meta{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin-bottom:6px}
.gj-job-category{padding:4px 7px;border-radius:5px;background:#eef4ff;color:var(--p);font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.35px}
.gj-job-date{font-size:10px;color:#98a2b3}
.gj-job-title{margin:0 0 8px;font-size:15px;line-height:1.38;letter-spacing:-.1px}
.gj-job-title a{color:var(--t)}
.gj-job-title a:hover{color:var(--p)}
.gj-job-location{display:flex;gap:5px;align-items:center;color:var(--m);font-size:11px}
.gj-pagination{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px;margin:25px 0 5px}
.gj-pagination a,.gj-pagination span{min-width:36px;height:36px;margin:0;display:inline-flex;align-items:center;justify-content:center;padding:0 9px;border:1px solid var(--b);border-radius:7px;background:#fff;color:#475467;font-size:11px;font-weight:700}
.gj-pagination .current,.gj-pagination a:hover{background:var(--p);border-color:var(--p);color:#fff}
.gj-empty{padding:30px;text-align:center;background:#fff;border:1px solid var(--b);border-radius:10px;color:var(--m)}
/* Single post */
.gj-single-wrap{max-width:1040px;margin:auto;padding:28px 20px 45px}
.gj-single{overflow:hidden;background:#fff;border:1px solid var(--b);border-radius:14px}
.gj-single-featured{background:#f0f2f5;line-height:0}
.gj-single-featured img{display:block;width:100%;height:auto;max-height:540px;object-fit:cover}
.gj-single-content{padding:25px 32px 34px}
.gj-single-meta{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-bottom:9px}
.gj-single-category{padding:4px 7px;border-radius:5px;background:#eef4ff;color:var(--p);font-size:9px;font-weight:800;text-transform:uppercase}
.gj-single-date{font-size:10px;color:#98a2b3}
.gj-single h1{margin:0 0 15px;font-size:clamp(29px,4vw,42px);line-height:1.15;letter-spacing:-1.2px}
.gj-single-excerpt{margin:0 0 18px;padding-bottom:16px;border-bottom:1px solid #edf0f3;color:var(--m);font-size:14px;line-height:1.6}
.gj-single-article{color:#273247;font-size:15px;line-height:1.76}
.gj-single-article p{margin:0 0 17px}
.gj-single-article h2{margin:27px 0 9px;font-size:24px;line-height:1.25}
.gj-single-article h3{margin:21px 0 8px;font-size:19px;line-height:1.3}
.gj-single-article ul,.gj-single-article ol{margin:0 0 17px;padding-left:21px}
.gj-single-article li{margin-bottom:6px}
.gj-single-article img{max-width:100%;height:auto;border-radius:8px}
.gj-single-article table{width:100%;border-collapse:collapse;margin:18px 0;font-size:13px}
.gj-single-article th,.gj-single-article td{border:1px solid #e4e7ec;padding:8px;text-align:left}
.gj-single-article blockquote{margin:18px 0;padding:12px 16px;border-left:3px solid var(--p);background:#f7f9fc;color:#475467}
.gj-related{margin-top:26px;padding-top:23px;border-top:1px solid #edf0f4}
.gj-related-head{margin-bottom:13px}
.gj-related-head h2{margin:0;font-size:20px;letter-spacing:-.35px}
.gj-related-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}
.gj-related-card{overflow:hidden;background:#fff;border:1px solid var(--b);border-radius:10px}
.gj-related-image{display:block;aspect-ratio:16/9;overflow:hidden;background:#eef1f5}
.gj-related-image img{width:100%;height:100%;display:block;object-fit:cover}
.gj-related-body{padding:9px}
.gj-related-meta{font-size:9px;color:#98a2b3;margin-bottom:4px}
.gj-related-title{margin:0;font-size:12px;line-height:1.38}
.gj-related-title a{color:var(--t)}
.gj-single-tags{margin-top:22px;padding-top:16px;border-top:1px solid #edf0f3}
.gj-single-tags a{display:inline-block;margin:2px 3px 2px 0;padding:4px 7px;background:#f2f4f7;border-radius:5px;color:#667085;font-size:9px}
/* Footer */
.gj-footer{margin-top:0;background:#111827;color:#aeb7c5}
.gj-footer-inner{max-width:1180px;margin:auto;padding:25px 20px 18px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.gj-footer-brand{color:#fff;font-size:15px;font-weight:800}
.gj-footer p{margin:4px 0 0;font-size:10px}
.gj-footer-nav{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px 13px}
.gj-footer-nav a{color:#c8cfda;font-size:10px}
.gj-footer-bottom{max-width:1180px;margin:auto;padding:10px 20px;border-top:1px solid rgba(255,255,255,.08);color:#8791a1;font-size:9px}
body.gj-premium-home .sidebar,body.gj-premium-home .widget-area,body.gj-premium-home .breadcrumbs,body.gj-premium-home .page-header{display:none}
@media(max-width:900px){
 .gj-jobs-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .gj-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .gj-nav{display:none;position:absolute;top:62px;left:12px;right:12px;padding:7px;background:#fff;border:1px solid var(--b);border-radius:9px;box-shadow:0 7px 20px rgba(16,24,40,.08)}
 .gj-nav.gj-open{display:block}.gj-nav ul{display:block}.gj-nav a{padding:10px}.gj-mobile-toggle{display:block}.gj-header-inner{position:relative}
}
@media(max-width:620px){
 .gj-header-inner{min-height:56px;padding:0 13px}.gj-nav{top:56px}
 .gj-search-hero{padding:13px 11px 12px}.gj-search{min-height:46px}.gj-search-icon{width:30px;font-size:21px}.gj-search input[type=search]{font-size:12px}.gj-search button{min-width:78px}
 .gj-ad-slot,.gj-ad-inner{min-height:62px}.gj-ad-slot{margin-top:9px}
 .gj-container{padding:0 13px}.gj-section{padding:20px 0}.gj-section-head h1{font-size:21px}
 .gj-jobs-grid{grid-template-columns:1fr;gap:12px}.gj-job-body{padding:12px 13px 14px}
 .gj-single-wrap{padding:16px 9px 32px}.gj-single{border-radius:11px}.gj-single-content{padding:19px 16px 26px}
 .gj-single h1{font-size:27px;letter-spacing:-.7px}.gj-single-article{font-size:14px;line-height:1.7}.gj-single-article h2{font-size:21px}.gj-single-article h3{font-size:18px}
 .gj-footer-inner{display:block;padding:23px 13px 17px}.gj-footer-nav{justify-content:flex-start;margin-top:12px}.gj-footer-bottom{padding:9px 13px}
}


/* FINAL SITE-WIDE CLEANUP */
.gj-page-wrap{
  max-width:1080px;
  margin:0 auto;
  padding:28px 20px 40px;
}
.gj-page-card{
  margin:0;
  padding:0;
  background:#fff;
  border:1px solid var(--b);
  border-radius:14px;
  box-shadow:0 2px 12px rgba(16,24,40,.035);
  overflow:hidden;
}
.gj-page-header{
  padding:25px 32px 14px;
  border-bottom:1px solid #edf0f4;
}
.gj-page-header h1{
  margin:0;
  color:var(--t);
  font-size:34px;
  line-height:1.2;
  letter-spacing:-.9px;
}
.gj-page-content{
  padding:8px 32px 32px;
  color:#273247;
  font-size:15px;
  line-height:1.72;
}
.gj-page-content p{margin:16px 0}
.gj-page-content h2{margin:27px 0 9px;font-size:24px;line-height:1.25;color:var(--t)}
.gj-page-content h3{margin:21px 0 8px;font-size:19px;line-height:1.3;color:var(--t)}
.gj-page-content ul,.gj-page-content ol{margin:0 0 17px;padding-left:22px}
.gj-page-content li{margin-bottom:6px}
.gj-page-content img{max-width:100%;height:auto;border-radius:8px}
.gj-page-content table{width:100%;border-collapse:collapse;margin:18px 0;font-size:13px}
.gj-page-content th,.gj-page-content td{border:1px solid #e4e7ec;padding:8px;text-align:left}
.gj-search-results,.gj-archive{padding-top:20px}
.gj-footer-inner{min-height:100px}
.gj-footer-nav ul{
  list-style:none;
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:7px 16px;
  margin:0;
  padding:0;
}
.gj-footer-nav li{margin:0}
.gj-footer-nav a{display:block}
@media(max-width:620px){
  .gj-page-wrap{padding:14px 9px 28px}
  .gj-page-card{border-radius:11px}
  .gj-page-header{padding:19px 16px 10px}
  .gj-page-header h1{font-size:27px;letter-spacing:-.6px}
  .gj-page-content{padding:5px 16px 24px;font-size:14px;line-height:1.68}
  .gj-page-content h2{font-size:21px}
  .gj-page-content h3{font-size:18px}
  .gj-footer-inner{min-height:0}
  .gj-footer-nav ul{justify-content:flex-start;gap:6px 12px}
}
