/*
Theme Name: IJE Talent
Theme URI: https://ijetalent.com
Author: Integrated Journey Enterprises
Description: Custom theme for IJE Talent, the job board for verified Workday talent. Built for WP Job Manager, Resume Manager and WooCommerce.
Version: 1.0.17
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ije-talent
*/

/* ---------- Tokens ---------- */
:root {
	--navy: #0A2A66;
	--navy-dark: #071D4A;
	--gold: #F2A900;
	--accent: #C62F16;
	--accent-dark: #A1260E;
	--blue: #0B63E5;
	--green: #166534;
	--bg: #F5F7FA;
	--white: #FFFFFF;
	--text: #1F4677;
	--muted: #4A5A6E;
	--soft: #DCE4EE;
	--border: #E2E8F0;
	--radius: 14px;
	--radius-lg: 24px;
	--display: 'Bricolage Grotesque', system-ui, sans-serif;
	--body: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
	--shadow: 0 8px 24px rgba(10, 42, 102, 0.16);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--body);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.15; margin: 0 0 0.5em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; box-shadow: 0 0 0 6px var(--navy); }
input, select, textarea, button { font-family: inherit; font-size: 16px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.text-gold { color: var(--gold); }
.text-accent { color: var(--accent); }
.text-blue { color: var(--blue); }
.text-green { color: var(--green); }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute; left: -9999px; top: 8px; z-index: 100;
	background: var(--gold); color: var(--navy); padding: 12px 16px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { left: 16px; }

/* ---------- Buttons ---------- */
.btn, .button, button[type="submit"], input[type="submit"], .wp-element-button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 12px 22px; border: 0; border-radius: 12px;
	font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer;
	background: var(--navy); color: var(--white);
	transition: transform 0.08s ease, background-color 0.15s ease;
}
.btn:hover, .button:hover, button[type="submit"]:hover, input[type="submit"]:hover { background: var(--navy-dark); color: var(--white); }
.btn:active { transform: translateY(1px); }
.btn--lg { font-size: 18px; padding: 16px 28px; border-radius: 14px; }
.btn--sm { font-size: 15px; padding: 10px 18px; }
.btn--pill { border-radius: 999px; }
.btn--block { width: 100%; }
.btn--accent { background: var(--accent); color: var(--white); }
.btn--accent:hover { background: var(--accent-dark); color: var(--white); }
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: #D99600; color: var(--navy); }
.btn--blue { background: var(--blue); color: var(--white); }
.btn--blue:hover { background: #0952c0; color: var(--white); }
.btn--white { background: var(--white); color: var(--navy); }
.btn--white:hover { background: var(--soft); color: var(--navy); }
.btn--outline { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-strong { font-weight: 700; padding: 12px 0; text-decoration: underline; }

/* ---------- Header ---------- */
.site-header { background: var(--navy); position: relative; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo { display: block; width: 44px; height: 44px; border-radius: 10px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18); }
.brand-logo--text { display: flex; align-items: center; justify-content: center; background: var(--gold); color: var(--navy); font-family: var(--display); font-weight: 800; font-size: 15px; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--white); }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.site-nav a { color: var(--white); text-decoration: none; font-weight: 500; padding: 12px 14px; }
.site-nav a:hover { color: var(--gold); }
.site-nav a[aria-current="page"] { color: var(--gold); text-decoration: underline; text-underline-offset: 6px; font-weight: 700; }
.site-nav a.btn { padding: 12px 20px; color: var(--navy); font-weight: 700; }
.site-nav a.btn:hover { color: var(--navy); }
.nav-toggle { display: none; background: transparent; color: var(--white); border: 0; min-height: 44px; min-width: 44px; padding: 10px; border-radius: 10px; cursor: pointer; }
.nav-toggle:hover { background: rgba(255, 255, 255, 0.1); }

@media (max-width: 960px) {
	.nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
	.site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); flex-direction: column; align-items: stretch; padding: 8px 24px 24px; box-shadow: var(--shadow); }
	.site-nav.is-open { display: flex; }
	.site-nav a { padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
	.site-nav a.btn { margin-top: 12px; border-bottom: 0; }
}

/* ---------- Hero ---------- */
.hero { background: var(--navy); color: var(--white); padding: 56px 0 96px; }
.hero--center { text-align: center; padding-bottom: 120px; }
.hero-inner { display: flex; flex-direction: column; gap: 24px; }
.hero-inner--narrow { max-width: 820px; align-items: center; gap: 18px; }
.hero-badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; background: var(--blue); color: var(--white); font-weight: 600; font-size: 14px; padding: 8px 14px; border-radius: 999px; }
.hero-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 2px var(--white); }
.hero-title { margin: 0; font-weight: 800; font-size: clamp(40px, 6vw, 76px); line-height: 1.02; max-width: 920px; color: var(--white); }
.hero--center .hero-title { font-size: clamp(40px, 5.5vw, 68px); }
.hero-lede { margin: 0; font-size: 20px; line-height: 1.5; max-width: 720px; color: var(--soft); }
.pill-gold { background: var(--gold); color: var(--navy); font-weight: 700; font-size: 15px; padding: 8px 16px; border-radius: 999px; }

.hero-search { margin-top: 8px; background: var(--white); border-radius: 20px; padding: 12px; display: flex; flex-wrap: wrap; gap: 10px; max-width: 980px; }
.hero-field { flex: 1 1 170px; display: flex; flex-direction: column; gap: 4px; padding: 6px 12px; color: var(--muted); font-size: 13px; font-weight: 600; border-left: 1px solid var(--border); }
.hero-field--wide { flex: 2 1 260px; border-left: 0; }
.hero-search .hero-field input, .hero-search .hero-field select { border: 0; min-height: 0; border-radius: 0; box-shadow: none; font-size: 16px; color: var(--navy); padding: 4px 0; background: transparent; width: 100%; }
.hero-search .hero-field input:focus, .hero-search .hero-field select:focus { outline: none; box-shadow: none; }
.hero-field:focus-within { box-shadow: 0 0 0 3px var(--gold); border-radius: 10px; }
.hero-submit { flex: 0 0 auto; min-height: 56px; padding: 0 32px; border-radius: 14px; font-size: 17px; }
@media (max-width: 700px) {
	.hero-field { border-left: 0; border-top: 1px solid var(--border); flex-basis: 100%; }
	.hero-field--wide { border-top: 0; }
	.hero-submit { flex-basis: 100%; }
}

/* ---------- Stats ---------- */
.stats { margin-top: -48px; position: relative; z-index: 2; }
.stats-card { background: var(--white); border-radius: 22px; padding: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; box-shadow: var(--shadow); }
.stat { text-align: center; padding: 8px; }
.stat-num { font-family: var(--display); font-weight: 800; font-size: 40px; line-height: 1.1; }
.stat-label { font-weight: 600; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding-top: 64px; padding-bottom: 16px; }
.section--last { padding-bottom: 80px; }
.section-title { font-weight: 800; font-size: clamp(30px, 4vw, 44px); margin: 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; }
.section-head .muted { margin: 6px 0 0; }
.lede { font-size: 18px; margin: 8px 0 0; }

/* Two sides */
.two-sides { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 32px; }
.side { color: var(--white); border-radius: var(--radius-lg); padding: 36px; display: flex; flex-direction: column; gap: 14px; }
.side--accent { background: var(--accent); }
.side--blue { background: var(--blue); }
.side h3 { font-weight: 800; font-size: 32px; line-height: 1.1; margin: 0; }
.side ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; font-size: 17px; line-height: 1.45; }
.side .btn { align-self: flex-start; margin-top: 8px; }
.eyebrow { font-weight: 700; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); }

/* Modules */
.modules { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-top: 24px; }
.module { background: var(--white); border: 2px solid var(--border); border-left: 0; border-radius: 16px; padding: 18px 20px 18px 26px; text-decoration: none; color: var(--navy); display: flex; flex-direction: column; gap: 4px; box-shadow: inset 6px 0 0 var(--module-color, var(--accent)); }
.module:hover { border-color: var(--navy); color: var(--navy); }
.module-name { font-weight: 700; font-size: 17px; line-height: 1.3; }
.module-count { font-size: 14px; color: var(--muted); }

/* Job cards */
.job-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; margin-top: 28px; }
.job-card { background: var(--white); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 1px 0 var(--border); }
.job-card-top, .job-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.job-card-title { font-weight: 700; font-size: 24px; line-height: 1.2; margin: 0; }
.job-pay { font-weight: 700; }
.badge-verified { display: inline-flex; align-items: center; gap: 6px; background: #DCFCE7; color: var(--green); font-weight: 700; font-size: 13px; padding: 6px 10px; border-radius: 999px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-weight: 600; font-size: 13px; padding: 6px 10px; border-radius: 8px; }
.chip--red { background: #FFE7E0; color: var(--accent-dark); }
.chip--gold { background: #FFF1D3; color: #6B4A00; }
.chip--navy { background: #E7EDF5; color: var(--navy); }
.empty-card { margin-top: 28px; background: var(--white); border: 2px dashed var(--border); border-radius: 20px; padding: 32px; }
.empty-card h3 { font-size: 24px; }

/* Band */
.band { background: var(--navy); color: var(--white); margin-top: 48px; padding: 72px 0; }
.band .section-title { color: var(--white); }
.band-lede { margin: 10px 0 0; font-size: 19px; line-height: 1.5; color: var(--soft); max-width: 760px; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 32px; }
.why-card { background: var(--white); color: var(--navy); border-radius: 20px; padding: 24px; border-top: 8px solid var(--why-color, var(--accent)); }
.why-card h3 { font-size: 22px; margin: 0; }
.why-card p { margin: 8px 0 0; line-height: 1.5; }

/* Who we serve */
.org-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.org-tab { min-height: 48px; border: 2px solid var(--navy); border-radius: 999px; padding: 0 22px; background: transparent; color: var(--navy); font-weight: 700; cursor: pointer; }
.org-tab[aria-pressed="true"] { background: var(--navy); color: var(--white); }
.org-panel { margin-top: 20px; background: var(--white); border: 2px solid var(--border); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.org-copy { flex: 1 1 480px; }
.org-copy h3 { font-weight: 800; font-size: 28px; margin: 0; }
.org-copy p { margin: 10px 0 0; font-size: 17px; line-height: 1.55; }

/* Gold CTA */
.cta-gold { background: var(--gold); border-radius: 28px; padding: 40px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta-gold h2 { font-weight: 800; font-size: 34px; margin: 0; }
.cta-gold p { margin: 8px 0 0; font-size: 17px; }

/* ---------- Pricing ---------- */
.plans { margin-top: -80px; position: relative; z-index: 2; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; align-items: stretch; }
.plan { background: var(--white); border: 2px solid var(--border); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; gap: 18px; position: relative; }
.plan--featured { border: 3px solid var(--accent); }
.plan--dark { background: var(--navy); color: var(--white); border-color: var(--navy); }
.plan-flag { position: absolute; top: -16px; left: 32px; background: var(--accent); color: var(--white); font-weight: 700; font-size: 14px; padding: 6px 14px; border-radius: 999px; }
.plan-tier { font-weight: 700; font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.plan-tier--gold { color: var(--gold); }
.plan-name { font-weight: 800; font-size: 32px; margin: 0; }
.plan-price { font-family: var(--display); font-weight: 800; font-size: 44px; line-height: 1.1; }
.plan-price--soft { font-size: 32px; }
.plan-per { font-family: var(--body); font-weight: 500; font-size: 18px; color: var(--muted); }
.plan--dark .plan-per { color: var(--soft); }
.plan-lead { font-weight: 700; }
.plan-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; line-height: 1.4; }
.plan-list li { display: flex; gap: 10px; }
.plan-list .tick { flex: 0 0 auto; margin-top: 1px; color: var(--green); }
.plan--dark .plan-list .tick { color: var(--gold); }
.plan .btn { margin-top: auto; }
.plan-annual { text-align: center; font-weight: 600; font-size: 15px; margin-top: -6px; }
.payg { background: var(--white); border: 2px solid var(--border); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.payg-copy { flex: 1 1 360px; }
.payg-copy h2 { font-weight: 800; font-size: 30px; margin: 0; }
.payg-copy p { margin: 8px 0 0; font-size: 17px; color: var(--muted); }
.payg-options { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.payg-item { display: flex; flex-direction: column; background: var(--bg); border-radius: 14px; padding: 12px 18px; min-width: 150px; }
.payg-name { font-weight: 600; font-size: 14px; color: var(--muted); }
.payg-price { font-family: var(--display); font-weight: 800; font-size: 28px; }
.consultant-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; margin-top: 28px; }
.c-plan { background: var(--white); border-radius: 20px; padding: 28px; border-top: 8px solid var(--why-color, var(--blue)); display: flex; flex-direction: column; gap: 12px; }
.c-plan-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.c-plan-head h3 { font-size: 26px; margin: 0; }
.c-plan-price { font-family: var(--display); font-weight: 800; font-size: 28px; }
.c-plan p { margin: 0; line-height: 1.5; }
.c-plan .btn { align-self: flex-start; margin-top: 8px; }

/* ---------- Inner pages ---------- */
.page-hero { background: var(--navy); color: var(--white); padding: 48px 0 88px; }
.page-title { color: var(--white); font-weight: 800; font-size: clamp(32px, 4.5vw, 52px); margin: 0; }
.back-link { display: inline-block; color: var(--gold); font-weight: 600; text-decoration: none; margin-bottom: 12px; }
.back-link:hover { color: var(--white); }
.page-body { margin-top: -56px; padding-bottom: 80px; position: relative; z-index: 2; }
.content-card { background: var(--white); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.post-list { display: flex; flex-direction: column; gap: 20px; }
.post-title { font-size: 26px; }
.post-title a { color: var(--navy); text-decoration: none; }
.entry-content > *:last-child { margin-bottom: 0; }
.entry-content h2 { font-size: 28px; margin-top: 1.2em; }
.entry-content h3 { font-size: 22px; margin-top: 1.2em; }
.entry-content ul, .entry-content ol { padding-left: 22px; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { border-bottom: 1px solid var(--border); padding: 10px 8px; text-align: left; }

/* Review badge and certifications */
.badge-verified--hero { margin-top: 14px; }
.cert-card { margin-bottom: 20px; }
.cert-title { font-size: 22px; margin: 0 0 12px; }
.cert-chips { list-style: none; margin: 0; padding: 0; }
.cert-details { margin: 12px 0 0; }

/* ---------- Forms (job submission, resumes, account) ---------- */
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="tel"],
input[type="number"], input[type="search"], input[type="date"], select, textarea {
	width: 100%; min-height: 48px; padding: 10px 14px; border: 2px solid var(--border); border-radius: 12px;
	background: var(--white); color: var(--navy);
}
textarea { min-height: 140px; }
input:focus, select:focus, textarea:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px rgba(242, 169, 0, 0.55); }
label { font-weight: 600; }
fieldset { border: 0; padding: 0; margin: 0 0 20px; }
.job-manager-form fieldset, .resume-manager-form fieldset { display: grid; gap: 6px; }
.job-manager-form .field, .resume-manager-form .field { width: 100%; }
.job-manager-form small.description, .resume-manager-form small.description { color: var(--muted); }
.job-manager-form h2 { font-size: 24px; margin-top: 24px; }

/* ---------- WP Job Manager listings ---------- */
.job_filters { background: var(--bg); border-radius: 18px; padding: 16px; margin-bottom: 20px; }
.job_filters .search_jobs { display: flex; flex-wrap: wrap; gap: 12px; }
.job_filters .search_jobs > div { flex: 1 1 220px; }
.job_filters .search_jobs label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.job_filters .job_types { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.job_filters .job_types label { font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.job_filters .showing_jobs { margin-top: 12px; font-size: 14px; color: var(--muted); }
.job_filters .showing_jobs a { margin-left: 8px; }

ul.job_listings, ul.resumes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
ul.job_listings li.job_listing, ul.resumes li.resume { margin: 0; }
ul.job_listings li.job_listing > a, ul.resumes li.resume > a {
	display: grid; grid-template-columns: auto 1fr auto; gap: 8px 18px; align-items: center;
	background: var(--white); border: 2px solid var(--border); border-radius: 18px; padding: 18px 20px;
	text-decoration: none; color: var(--navy);
}
ul.job_listings li.job_listing > a:hover, ul.resumes li.resume > a:hover { border-color: var(--navy); }
ul.job_listings li.job_listing.job_position_featured > a, ul.resumes li.resume.resume_featured > a { border-color: var(--gold); background: #FFFBF1; }
ul.job_listings .company_logo, ul.resumes .candidate_photo { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; }
ul.job_listings .position h3, ul.resumes .candidate-column h3 { font-family: var(--display); font-size: 20px; margin: 0 0 4px; }
ul.job_listings .company, ul.resumes .candidate-title { color: var(--muted); font-size: 15px; }
ul.job_listings .company strong { font-weight: 600; }
ul.job_listings .company .tagline { display: none; }
ul.job_listings .location, ul.resumes .candidate-location-column { color: var(--muted); font-size: 15px; }
ul.job_listings ul.meta, ul.resumes ul.meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; grid-column: 3; }
ul.job_listings ul.meta li { font-size: 13px; font-weight: 600; padding: 6px 10px; border-radius: 8px; background: #E7EDF5; color: var(--navy); }
ul.job_listings ul.meta li.job-type { background: #FFF1D3; color: #6B4A00; }
ul.job_listings ul.meta li.date { background: transparent; color: var(--muted); font-weight: 500; }
ul.job_listings li.no_job_listings_found, ul.resumes li.no_resumes_found { background: var(--white); border: 2px dashed var(--border); border-radius: 18px; padding: 24px; }
.load_more_jobs, .load_more_resumes { display: block; margin-top: 16px; text-align: center; padding: 14px; border-radius: 12px; background: var(--white); border: 2px solid var(--border); font-weight: 700; text-decoration: none; color: var(--navy); }
@media (max-width: 700px) {
	ul.job_listings li.job_listing > a, ul.resumes li.resume > a { grid-template-columns: auto 1fr; }
	ul.job_listings ul.meta, ul.resumes ul.meta { grid-column: 1 / -1; justify-content: flex-start; }
	ul.job_listings .location, ul.resumes .candidate-location-column { grid-column: 2; }
}

/* Single job */
.single_job_listing .meta, .single-resume-content .meta { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.single_job_listing .meta li { font-size: 14px; font-weight: 600; padding: 6px 12px; border-radius: 8px; background: #E7EDF5; color: var(--navy); }
.single_job_listing .meta li.job-type { background: #FFF1D3; color: #6B4A00; }
.single_job_listing .company { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; background: var(--bg); border-radius: 18px; padding: 18px; margin-bottom: 24px; }
.single_job_listing .company .company_logo { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.single_job_listing .company .name { margin: 0; font-size: 18px; }
.single_job_listing .company .website { margin-right: 10px; }
.single_job_listing .job_description { font-size: 17px; line-height: 1.65; }
.single_job_listing .application { margin-top: 28px; padding-top: 24px; border-top: 2px solid var(--border); }
.single_job_listing .application .application_button { background: var(--accent); }
.single_job_listing .application .application_button:hover { background: var(--accent-dark); }
.single_job_listing .application_details { margin-top: 16px; background: var(--bg); border-radius: 16px; padding: 20px; }
.position-filled, .listing-expired { background: #FFE7E0; color: var(--accent-dark); border-radius: 12px; padding: 12px 16px; font-weight: 600; }

/* Dashboards and tables */
#job-manager-job-dashboard table, #resume-manager-candidate-dashboard table, .job-manager-applications table { width: 100%; border-collapse: collapse; }
#job-manager-job-dashboard th, #job-manager-job-dashboard td,
#resume-manager-candidate-dashboard th, #resume-manager-candidate-dashboard td { padding: 12px 10px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.job-dashboard-actions, .candidate-dashboard-actions { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 14px; }

/* Notices */
.job-manager-message, .job-manager-info, .woocommerce-message, .woocommerce-info { background: #DCFCE7; color: var(--green); border-radius: 12px; padding: 14px 18px; margin: 0 0 20px; font-weight: 600; list-style: none; }
.job-manager-error, .woocommerce-error { background: #FFE7E0; color: var(--accent-dark); border-radius: 12px; padding: 14px 18px; margin: 0 0 20px; font-weight: 600; list-style: none; }

/* WooCommerce basics */
.woocommerce .button, .woocommerce button.button, .woocommerce a.button { background: var(--navy); color: var(--white); border-radius: 12px; }
.woocommerce .button.alt, .woocommerce button.button.alt { background: var(--accent); }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.woocommerce-MyAccount-navigation a { display: inline-block; padding: 10px 14px; border-radius: 10px; background: var(--bg); color: var(--navy); text-decoration: none; font-weight: 600; }
.woocommerce-MyAccount-navigation .is-active a { background: var(--navy); color: var(--white); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--soft); padding: 56px 0 32px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.footer-brand { font-family: var(--display); font-weight: 700; font-size: 24px; color: var(--white); }
.footer-tag { margin: 8px 0 0; font-size: 14px; line-height: 1.5; }
.footer-parent { margin: 6px 0 0; font-size: 13px; color: var(--gold); font-weight: 600; }
.footer-title { font-family: var(--body); font-size: 16px; color: var(--white); margin: 0 0 12px; }
.site-footer ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.site-footer a { color: var(--soft); }
.site-footer a:hover { color: var(--gold); }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid #2C4C80; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; font-size: 13px; line-height: 1.5; }
.footer-bottom p { margin: 0; max-width: 640px; }
.footer-legal { display: flex; gap: 16px; }
.footer-legal a { color: var(--white); }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.btn { transition: none; }
}

/* v1.0.8: breathing room under closing CTA headings */
.section--last.center .section-title { margin-bottom: 24px; }

/* v1.0.10: company card logo sits inline instead of overlapping the name */
.single_job_listing .company, .job-manager .single_job_listing .company { padding: 18px; min-height: 0; position: relative; }
.single_job_listing .company .company_logo, .single_job_listing .company img.company_logo { position: static; float: none; margin: 0; display: block; flex-shrink: 0; }
.single_job_listing .company .name, .single_job_listing .company .tagline { padding: 0; margin: 0; }

/* v1.0.11: job cards. Four explicit columns, and WP Job Manager's own widths and floats reset */
ul.job_listings li.job_listing > a { grid-template-columns: 52px minmax(0, 1fr) minmax(120px, auto) auto; }
ul.job_listings li.job_listing > a > * { float: none; width: auto; max-width: none; margin: 0; padding: 0; position: static; line-height: 1.35; text-align: left; }
ul.job_listings li.job_listing > a .company_logo { grid-column: 1; }
ul.job_listings li.job_listing > a .position { grid-column: 2; }
ul.job_listings li.job_listing > a .location { grid-column: 3; white-space: nowrap; }
ul.job_listings li.job_listing > a ul.meta { grid-column: 4; flex-wrap: nowrap; align-items: center; }
ul.job_listings ul.meta li { white-space: nowrap; line-height: 1.2; }
.job_filters select, .job_filters .select2-container, .job_filters .chosen-container { width: 100% !important; }
.job_filters .select2-selection, .job_filters select { min-height: 48px; border: 1px solid var(--border); border-radius: 12px; background: var(--white); padding: 0 12px; font: inherit; color: var(--navy); }
.job_filters .select2-selection__rendered { line-height: 46px !important; padding: 0 !important; }
.job_filters .select2-selection__arrow { height: 46px !important; }
@media (max-width: 700px) {
	ul.job_listings li.job_listing > a { grid-template-columns: 52px minmax(0, 1fr); }
	ul.job_listings li.job_listing > a .location { grid-column: 2; white-space: normal; }
	ul.job_listings li.job_listing > a ul.meta { grid-column: 1 / -1; flex-wrap: wrap; }
}

/* v1.0.12: stronger overrides, because WP Job Manager's selectors outrank the v1.0.11 rules */
body ul.job_listings li.job_listing a div.position,
body ul.job_listings li.job_listing a div.location,
body ul.job_listings li.job_listing a ul.meta,
body ul.job_listings li.job_listing a img.company_logo { float: none !important; width: auto !important; padding: 0 !important; margin: 0 !important; position: static !important; text-align: left !important; }
body ul.job_listings li.job_listing a img.company_logo { width: 52px !important; height: 52px !important; }
body ul.job_listings li.job_listing a ul.meta li { float: none !important; display: inline-block !important; white-space: nowrap !important; margin: 0 !important; }
body ul.job_listings li.job_listing a div.position h3 { white-space: normal; }

/* v1.0.13: consultant cards, same fix as the job cards */
body ul.resumes li.resume > a { display: grid; grid-template-columns: 52px minmax(0, 1fr) minmax(120px, auto) auto; gap: 8px 18px; align-items: center; }
body ul.resumes li.resume a > img.candidate_photo,
body ul.resumes li.resume a > div,
body ul.resumes li.resume a > ul { float: none !important; width: auto !important; padding: 0 !important; margin: 0 !important; position: static !important; text-align: left !important; line-height: 1.35; }
body ul.resumes li.resume a > img.candidate_photo { width: 52px !important; height: 52px !important; grid-column: 1; }
body ul.resumes li.resume a > div.candidate-column { grid-column: 2; }
body ul.resumes li.resume a > div.candidate-location-column { grid-column: 3; color: var(--muted); white-space: nowrap; }
body ul.resumes li.resume a > div.resume-posted-column { grid-column: 4; color: var(--muted); font-size: 13px; white-space: nowrap; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right !important; }
body ul.resumes li.resume a > div.resume-posted-column * { white-space: nowrap; }
@media (max-width: 700px) {
	body ul.resumes li.resume > a { grid-template-columns: 52px minmax(0, 1fr); }
	body ul.resumes li.resume a > div.candidate-location-column { grid-column: 2; }
	body ul.resumes li.resume a > div.resume-posted-column { grid-column: 1 / -1; align-items: flex-start; text-align: left !important; }
}
.resume_filters, .resume_filters .search_resumes { background: var(--bg); border-radius: 18px; }
.resume_filters .search_resumes { padding: 16px; }
.resume_filters select, .resume_filters .select2-container, .resume_filters .chosen-container { width: 100% !important; }
.resume_filters .select2-selection, .resume_filters select, .resume_filters .chosen-single { min-height: 48px; border: 1px solid var(--border) !important; border-radius: 12px !important; background: var(--white) !important; padding: 0 12px; font: inherit; color: var(--navy); display: flex; align-items: center; }
.resume_filters .select2-selection__rendered { line-height: 46px !important; padding: 0 !important; }
.resume_filters .select2-selection__arrow { height: 46px !important; }

/* v1.0.13: single consultant page */
.single-resume-content > *:first-child, .entry-content > .single-resume-content:first-child { margin-top: 0; }
.resume-manager-content-wrap, .single-resume-content { padding-top: 0; }
.entry-content .resume_contact_button, .entry-content input.resume_contact_button, .resume_contact input[type="button"] {
	background: var(--navy) !important; color: #fff !important; border: 0 !important; border-radius: 999px !important;
	padding: 14px 28px !important; font: 700 16px/1 var(--body, inherit) !important; cursor: pointer; width: auto !important;
}
.entry-content .resume_contact_button:hover, .resume_contact input[type="button"]:hover { background: var(--navy-dark) !important; }
.ije-empty { text-align: center; padding: 32px 20px; }
.ije-empty h3 { font-family: var(--display); margin: 0 0 6px; color: var(--navy); }
.ije-empty p { margin: 0 0 16px; color: var(--muted); }
