/*
Theme Name: EpaperJobs Portal
Theme URI: https://www.epaperjobs.com/
Author: EpaperJobs
Description: Responsive overseas, Europe, newspaper and Pakistan jobs portal theme. Includes a Jobs custom post type and Elementor-friendly layout.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: epaperjobs
*/
:root{--epj-green:#08783e;--epj-green-dark:#00583d;--epj-navy:#102b58;--epj-pale:#eef7f6;--epj-line:#cbe6e3;--epj-text:#12314a}
*{box-sizing:border-box}
body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--epj-text);background:#f4f9f8;line-height:1.5}
a{color:inherit;text-decoration:none}
a:hover{color:var(--epj-green)}
img{max-width:100%;height:auto}
.epj-container{width:min(1180px,calc(100% - 28px));margin-inline:auto}
.epj-topline{background:#eaf4f5;border-bottom:1px solid #d5e5e8;font-size:12px;color:#28516a}
.epj-topline .epj-container{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:7px 0}
.epj-toplinks{display:flex;gap:14px;flex-wrap:wrap}
.epj-search{display:flex;background:#fff;border:1px solid #bdd1d9;border-radius:5px;overflow:hidden}
.epj-search input{border:0;padding:8px 10px;min-width:180px;max-width:50vw}
.epj-search button{background:var(--epj-green);color:#fff;border:0;padding:0 13px;cursor:pointer}
.epj-brandbar{background:linear-gradient(100deg,#fff,#f4fbfa)}
.epj-brandinner{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px 0}
.epj-logo{font-weight:900;letter-spacing:-2px;font-size:clamp(28px,4vw,49px);line-height:1;color:var(--epj-navy)}
.epj-logo span{color:#078c4b}
.epj-tagline{text-align:center;font-size:14px;font-weight:700;color:#54758c;margin-top:5px}
.epj-slogan{font-family:Georgia,serif;font-style:italic;font-weight:bold;color:#078646;font-size:21px;text-align:center}
.epj-brandpoints{display:flex;align-items:center;gap:12px;font-size:12px;font-weight:800;line-height:1.7;color:#153654}
.epj-globe{width:46px;height:46px;border-radius:50%;border:4px solid #078646;color:#078646;display:grid;place-items:center;font-size:25px}
.epj-nav{background:linear-gradient(90deg,#0c304c,#075f49);color:white}
.epj-navinner{display:flex;align-items:center;gap:0;min-height:44px}
.epj-nav a{display:block;padding:12px 11px;font-size:12px;font-weight:700;white-space:nowrap}
.epj-nav a:hover,.epj-nav a.current{background:#078c4b;color:#fff}
.epj-main{padding:13px 0 20px}
.epj-latest{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #cbdfe4;border-radius:6px;overflow:hidden;margin-bottom:12px;font-size:12px}
.epj-latest-label{background:#e9222d;color:white;padding:10px 13px;font-weight:900;white-space:nowrap}
.epj-latest-text{flex:1;font-weight:700;padding:7px 0}
.epj-viewall{color:#078646;font-weight:800;font-size:12px;white-space:nowrap;padding:8px 12px}
.epj-section{margin-bottom:16px;border-radius:7px;overflow:hidden;background:#fff;border:1px solid #bde8e2;box-shadow:0 2px 5px rgba(0,65,56,.06)}
.epj-section-head{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 15px;background:linear-gradient(90deg,var(--epj-green),var(--epj-green-dark));color:#fff}
.epj-section-head h2{margin:0;font-size:17px;color:#fff}
.epj-section-head a{font-size:12px;font-weight:800;white-space:nowrap}
.epj-flags{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));padding:10px 6px 8px;background:#faffff}
.epj-flagitem{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;padding:2px 4px;border-right:1px solid #c4e1e3;color:#123451;font-size:12px;font-weight:800;text-align:center}
.epj-flagitem:last-child{border-right:0}
.epj-flag{font-size:35px;line-height:1}
.epj-tablewrap{overflow-x:auto}
.epj-table{width:100%;border-collapse:collapse;min-width:600px;font-size:12px}
.epj-table thead{background:#00633f;color:#fff}
.epj-table th{text-align:left;padding:7px 10px;font-size:11px}
.epj-table td{padding:6px 10px;border-top:1px solid #e0eeee;color:#143f69;font-weight:600}
.epj-table tbody tr:nth-child(even){background:#f2f9fa}
.epj-num{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--epj-green);color:white;font-weight:800}
.epj-date{display:inline-block;border-radius:14px;padding:3px 8px;background:#c6f6dc;color:#08783e;white-space:nowrap;font-size:11px}
.epj-apply{display:inline-block;background:#07883f;color:#fff!important;border-radius:4px;padding:5px 10px;font-size:11px;font-weight:800;white-space:nowrap}
.epj-apply:hover{background:#005a37}
.epj-citygrid{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));padding:8px 5px;background:#fbffff}
.epj-city{display:flex;flex-direction:column;align-items:center;gap:4px;border-right:1px solid #c6e2e2;padding:4px;font-size:11px;font-weight:800;text-align:center}
.epj-city:last-child{border:0}
.epj-city-icon{font-size:29px}
.epj-features{display:grid;grid-template-columns:repeat(4,1fr);background:linear-gradient(110deg,#003f39,#005c4b);color:#fff;padding:18px 8px}
.epj-feature{text-align:center;border-right:1px solid #8bbab0;padding:0 8px}
.epj-feature:last-child{border:0}
.epj-feature-icon{font-size:27px}
.epj-feature strong,.epj-feature small{display:block}
.epj-feature strong{font-size:13px}
.epj-feature small{font-size:12px}
.epj-footer{background:#003c35;color:#fff}
.epj-footerinner{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:16px 0;font-size:12px}
.epj-content{background:#fff;padding:22px;border:1px solid var(--epj-line);border-radius:8px;margin:18px auto}
.epj-job-meta{display:flex;gap:10px;flex-wrap:wrap;color:#526b7a;font-size:13px;margin:12px 0}
.epj-job-meta span{background:#eff8f5;border-radius:5px;padding:5px 8px}
.epj-job-content{line-height:1.8}
.epj-job-content h2,.epj-job-content h3{color:var(--epj-navy)}
.epj-empty{padding:22px;background:#fff;border:1px solid var(--epj-line);border-radius:8px}
@media(max-width:850px){.epj-slogan{display:none}.epj-navinner{flex-wrap:wrap}.epj-nav a{padding:11px 8px}.epj-flags,.epj-citygrid{grid-template-columns:repeat(5,minmax(0,1fr));row-gap:8px}.epj-flagitem:nth-child(5n){border-right:0}}
@media(max-width:560px){.epj-topline .epj-container{align-items:flex-start;flex-direction:column}.epj-search{width:100%}.epj-search input{flex:1;min-width:0;width:0}.epj-brandinner{padding:13px 0}.epj-logo{font-size:27px;letter-spacing:-1px}.epj-tagline{font-size:11px}.epj-brandpoints{display:none}.epj-latest-label{padding:10px 7px;font-size:10px}.epj-latest-text{font-size:11px}.epj-viewall{font-size:10px;padding:6px}.epj-section-head{padding:10px}.epj-section-head h2{font-size:14px}.epj-section-head a{font-size:10px}.epj-features{grid-template-columns:repeat(2,1fr);gap:15px}.epj-feature:nth-child(2){border-right:0}.epj-footerinner{justify-content:center;text-align:center}.epj-footerinner>*{width:100%}}
