/*
Theme Name: InfoLoker CV
Theme URI: https://example.com/
Author: OpenAI
Description: Tema WordPress lowongan kerja bergaya portal InfoLoker, dibuat berdasarkan referensi desain yang diberikan.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: infoloker-cv
*/

:root{
  --blue:#0d73df;
  --blue-dark:#0d397d;
  --blue-soft:#edf8ff;
  --text:#173f7d;
  --muted:#5b7ca8;
  --border:#d8e8f4;
  --white:#fff;
  --bg:#fff;
  --shadow:0 2px 10px rgba(24,83,139,.07);
  --radius:12px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.55}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
button,input,select,textarea{font:inherit}
.site-header{height:84px;background:#fff;border-bottom:1px solid #eef4f8}
.header-inner{max-width:1180px;margin:auto;height:84px;display:flex;align-items:center;gap:58px;padding:0 10px}
.site-logo{font-size:34px;font-weight:800;letter-spacing:-1.5px;color:var(--blue-dark)}
.site-logo span{color:#2990e8}
.main-nav a{display:inline-flex;height:84px;align-items:center;color:#14529a;font-weight:700;border-bottom:3px solid transparent}
.main-nav a.current{border-bottom-color:var(--blue)}
.main-nav a.home-image-link{width:34px;justify-content:center}
.main-nav a.home-image-link img{width:34px;height:34px;object-fit:contain;margin:auto}

.hero{background:linear-gradient(110deg,#f1fbff,#e8f5ff);padding:38px 0 40px}
.container{max-width:1180px;margin:0 auto;padding:0 10px}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(360px,.82fr);gap:42px;align-items:center}
.hero-badge{display:inline-block;background:#dff1ff;color:#1261ad;border-radius:7px;padding:5px 10px;font-size:14px;font-weight:700;margin-bottom:8px}
.hero h1{font-size:40px;line-height:1.16;margin:0 0 16px;color:#0b3a7d;letter-spacing:-1px}
.hero h1 span{color:#0879e8}
.hero p{font-size:17px;color:#29598d;max-width:570px;margin:0 0 28px}
.hero-art{display:flex;justify-content:center;align-items:center;min-height:220px}
.hero-art svg{width:100%;max-width:350px;height:auto}
.search-row{display:grid;grid-template-columns:1.25fr .9fr .8fr;gap:10px}
.search-field{height:54px;background:#fff;border:1px solid #bfd6e6;border-radius:9px;display:flex;align-items:center;padding:0 15px;gap:11px}
.search-field svg{width:22px;flex:0 0 22px}
.search-field input,.search-field select{border:0;outline:0;width:100%;background:transparent;color:#41658f}
.search-button{height:54px;border:0;border-radius:9px;background:var(--blue);color:#fff;font-weight:700;cursor:pointer;font-size:16px}
.section{padding:32px 0}
.section-heading{display:flex;align-items:center;gap:15px;margin-bottom:25px}
.section-icon{width:49px;height:49px;background:var(--blue);border-radius:8px;display:grid;place-items:center;color:#fff;flex:0 0 49px}
.section-heading h2{margin:0;color:#0d397d;font-size:28px;line-height:1.2}
.section-heading p{margin:3px 0 0;color:#4773a4}
.jobs-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.job-card{border:1px solid var(--border);border-radius:11px;background:#fff;min-height:124px;padding:14px 16px;display:grid;grid-template-columns:92px minmax(0,1fr) 136px;gap:14px;align-items:center;box-shadow:var(--shadow)}
.logo-box{width:94px;height:94px;border:1px solid #dceaf3;border-radius:9px;background:#fff;display:grid;place-items:center;overflow:hidden}
.logo-box img{width:100%;height:100%;object-fit:contain;padding:8px}
.logo-placeholder{font-size:28px;font-weight:800;color:var(--blue)}
.job-main h3{font-size:17px;margin:0 0 10px;color:#1554a0}
.job-count{font-size:13px;color:#5d7fa7;display:flex;align-items:center;gap:7px}
.job-count svg{width:16px}
.job-action{background:#087ee9;color:#fff;border-radius:8px;padding:10px 12px;display:flex;justify-content:center;align-items:center;font-size:13px;font-weight:700;white-space:nowrap}
.load-more-wrap{text-align:center;padding-top:14px}
.load-more{display:inline-flex;border:1px solid #3c96df;border-radius:22px;padding:7px 42px;color:#1470ba;background:#fff;font-weight:700;cursor:pointer}
.load-more[disabled]{opacity:.45;cursor:default}
.site-footer{background:#0875db;color:#fff;text-align:center;padding:13px 10px;font-size:12px;margin-top:0}

/* Single */
.single-wrap{padding:20px 0 0}
.company-head{display:flex;align-items:center;gap:18px;margin-bottom:12px}
.company-logo{width:92px;height:92px;border:1px solid #e0ebf4;border-radius:9px;display:grid;place-items:center;overflow:hidden;background:#fff}
.company-logo img{width:100%;height:100%;object-fit:contain;padding:7px}
.company-title{font-size:30px;line-height:1.15;margin:0;color:#0d397d}
.socials{margin-left:auto;display:flex;gap:7px}
.socials a{width:38px;height:38px;border-radius:7px;display:grid;place-items:center;color:#fff;font-weight:700;background:#202020;font-size:15px}
.socials a.facebook{background:#1877f2}.socials a.telegram{background:#27a9e8}.socials a.whatsapp{background:#16bd63}.socials a.mail{background:#7f8790}
.info-panel,.content-panel,.positions-panel{border:1px solid var(--border);border-radius:11px;background:#fff;margin:12px 0;padding:0;overflow:hidden}
.panel-title{background:#f1f8ff;padding:10px 16px;font-size:21px;font-weight:800;color:#0d397d;display:flex;align-items:center;gap:12px}
.panel-body{padding:12px 16px}
.info-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 30px}
.info-item{display:grid;grid-template-columns:145px 20px 1fr;gap:4px;padding:10px 0;border-bottom:1px solid #e4eef5;color:#3f6b9b;font-size:14px}
.info-item:nth-last-child(-n+2){border-bottom:0}
.info-label{font-weight:600}.info-sep{text-align:center}.info-value{color:#2464a4;font-weight:600}
.positions-list{list-style:none;margin:0;padding:0;background:#f5f9fd;border-radius:5px;overflow:hidden}
.positions-list li{display:flex;gap:12px;align-items:center;padding:6px 8px;border-bottom:1px solid #e0eaf2;color:#355e8e}
.positions-list li:last-child{border-bottom:0}
.position-number{width:28px;height:28px;border-radius:50%;background:#1678d9;color:#fff;display:grid;place-items:center;font-weight:700;font-size:13px}
.content-panel .panel-body{font-size:15px;color:#496e9b}
.content-panel h2,.content-panel h3{color:#103d7b}
.apply-btn{display:block;text-align:center;background:#0875db;color:#fff;font-weight:800;padding:10px;border-radius:7px;margin:12px 0;font-size:17px}
.related{background:#f4faff;padding:24px 0 30px}
.related .section-heading{margin-bottom:14px}
.related .jobs-grid{gap:14px}
.related .job-card{min-height:105px;grid-template-columns:74px 1fr auto;padding:10px 12px}
.related .logo-box{width:70px;height:70px}
.related .job-main h3{font-size:14px;margin-bottom:6px}
.related .job-action{font-size:11px;padding:8px 10px}
.related .job-count{font-size:11px}
.no-results{padding:30px;border:1px dashed #bfd6e6;border-radius:10px;text-align:center;color:#54779e}


/* Desktop refinement */
@media(min-width:1001px){
  .site-header{height:82px}
  .header-inner{height:82px;padding:0 14px;gap:48px}
  .site-logo{font-size:32px}
  .main-nav a{height:82px}
  .hero{padding:42px 0 44px}
  .hero h1{font-size:42px}
  .hero-art{min-height:245px}
  .section{padding:38px 0}
  .section-heading{margin-bottom:24px}
  .job-card{min-height:122px}
  .job-main{min-width:0}
  .job-main h3{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .job-action{width:136px}
}

@media(max-width:800px){
  .container,.header-inner{max-width:700px}
  .hero-grid{grid-template-columns:1fr}.hero-art{display:none}
  .hero h1{font-size:34px}
  .jobs-grid{gap:14px}
  .job-card{grid-template-columns:82px 1fr;position:relative}
  .logo-box{width:80px;height:80px}
  .job-action{grid-column:2;justify-self:start}
  .info-grid{grid-template-columns:1fr}
  .info-item:nth-last-child(-n+2){border-bottom:1px solid #e4eef5}
  .info-item:last-child{border-bottom:0}
}
@media(max-width:560px){
  body{font-size:14px}
  .site-header,.header-inner{height:67px}
  .header-inner{gap:28px}
  .site-logo{font-size:25px}
  .main-nav a{height:67px;font-size:13px}
  .main-nav a.home-image-link{width:27px}
  .main-nav a.home-image-link img{width:27px;height:27px}
  .hero{padding:26px 0 28px}
  .hero h1{font-size:29px}
  .hero p{font-size:14px;margin-bottom:20px}
  .search-row{grid-template-columns:1fr;gap:8px}
  .search-field,.search-button{height:50px}
  .section{padding:24px 0}
  .section-heading{gap:10px;margin-bottom:16px}
  .section-icon{width:42px;height:42px;flex-basis:42px}
  .section-heading h2{font-size:22px}
  .section-heading p{font-size:13px}
  .jobs-grid{grid-template-columns:1fr;gap:10px}
  .job-card{min-height:106px;grid-template-columns:66px 1fr;gap:10px;padding:10px}
  .logo-box{width:64px;height:64px}
  .job-main h3{font-size:14px;margin-bottom:5px}
  .job-count{font-size:11px}
  .job-action{font-size:11px;padding:8px 11px}
  .company-head{gap:10px}.company-logo{width:62px;height:62px}.company-title{font-size:20px}
  .socials{gap:3px}.socials a{width:29px;height:29px;font-size:11px}
  .panel-title{font-size:18px;padding:9px 11px}.panel-body{padding:9px 11px}
  .info-item{grid-template-columns:105px 14px 1fr;font-size:12px;padding:8px 0}
  .content-panel .panel-body{font-size:13px}
  .related .jobs-grid{grid-template-columns:1fr 1fr;gap:7px}
  .related .job-card{grid-template-columns:42px 1fr;min-height:85px;padding:7px}
  .related .logo-box{width:40px;height:40px;padding:2px}
  .related .job-main h3{font-size:10px}
  .related .job-count{font-size:9px}
  .related .job-action{grid-column:2;font-size:9px;padding:5px 7px}
}


/* Ads: ukuran mengikuti HTML yang dipasang admin */
.ilcv-ad{margin:12px auto;display:block;text-align:center}

/* Related jobs: 10 vertical blocks inside single article */
.related .jobs-grid{display:grid;grid-template-columns:1fr;gap:10px}
.related .job-card{min-height:130px;grid-template-columns:128px minmax(0,1fr);grid-template-rows:auto auto;padding:10px 22px;gap:8px 16px;align-items:center}
.related .logo-box{width:128px;height:106px;grid-column:1;grid-row:1 / span 2;border-radius:12px}
.related .job-main{grid-column:2;grid-row:1;align-self:end;min-width:0}
.related .job-main h3{font-size:20px;margin:0 0 5px;line-height:1.25;white-space:normal;overflow:visible;text-overflow:clip}
.related .job-count{font-size:16px;gap:7px}
.related .job-action{grid-column:2;grid-row:2;justify-self:start;align-self:start;font-size:16px;padding:9px 20px;border-radius:14px;width:auto}
.related .load-more-wrap{display:none}

@media(max-width:800px){
  .related .job-card{min-height:116px;grid-template-columns:92px minmax(0,1fr);padding:9px 14px;gap:6px 12px}
  .related .logo-box{width:92px;height:88px}
  .related .job-main h3{font-size:17px}
  .related .job-count{font-size:14px}
  .related .job-action{font-size:14px;padding:8px 15px}
}

@media(max-width:560px){
  .related .jobs-grid{gap:8px}
  .related .job-card{min-height:100px;grid-template-columns:72px minmax(0,1fr);padding:8px 10px;gap:5px 10px}
  .related .logo-box{width:72px;height:74px;border-radius:10px}
  .related .job-main h3{font-size:14px;margin-bottom:3px}
  .related .job-count{font-size:11px}
  .related .job-action{font-size:11px;padding:6px 11px;border-radius:9px}
}
