/* ==========================================================================
   Jobs / Careers  –  listing ([jobs_list]) and single job page
   Brand: #0072AE · ink #0F172A · border #E2E8F0
   ========================================================================== */

.epj-single,
.epj-list {
	--epj-brand: #0072AE;
	--epj-brand-dark: #005C8C;
	--epj-ink: #0F172A;
	--epj-text: #475569;
	--epj-muted: #64748B;
	--epj-line: #E2E8F0;
	--epj-bg: #F8FAFC;
	font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
	color: var(--epj-text);
}
.epj-single *,
.epj-list * { box-sizing: border-box; }
.epj-single h1, .epj-single h2, .epj-single h3,
.epj-list h3 { font-family: Outfit, Inter, sans-serif; color: var(--epj-ink); margin: 0; }
.epj-single p, .epj-list p { margin: 0; }
.epj-single ul, .epj-list ul { margin: 0; padding: 0; list-style: none; }
.epj-single a, .epj-list a { text-decoration: none; }

/* ---------- shared bits ---------- */
.epj-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
 

.epj-chip {
	display: inline-block; background: #E6F2F9; color: var(--epj-brand);
	border-radius: 999px; padding: 4px 12px; font-size: 11.5px; font-weight: 600;
	letter-spacing: .06em; text-transform: uppercase;
}
.epj-chip--light { background: rgba(255,255,255,.14); color: #fff; }

.epj-btn {
	display: inline-flex; align-items: center; gap: 8px; justify-content: center;
	background: var(--epj-brand); color: #fff !important; border-radius: 12px;
	padding: 12px 22px; font-size: 14.5px; font-weight: 600; line-height: 1.2;
	transition: background .15s, transform .15s; white-space: nowrap;
}
.epj-btn:hover { background: var(--epj-brand-dark); transform: translateY(-1px); }
.epj-btn--light { background: #fff; color: var(--epj-brand) !important; }
.epj-btn--light:hover { background: #E6F2F9; }
.epj-btn--block { display: flex; width: 100%; }

.epj-closed-tag {
	display: inline-block; background: #F1F5F9; color: var(--epj-muted);
	border-radius: 999px; padding: 6px 14px; font-size: 12.5px; font-weight: 600;
}
.epj-closed-tag--light { background: rgba(255,255,255,.16); color: #fff; }
.epj-closed-tag--block { display: block; text-align: center; border-radius: 12px; padding: 12px; }

/* ==========================================================================
   LISTING
   ========================================================================== */
.epj-filters {
	display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 12px;
}
.epj-filters input[type="search"],
.epj-filters select {
	height: 46px; border: 1px solid var(--epj-line); border-radius: 12px; background: #fff;
	padding: 0 14px; font: 400 14.5px Inter, sans-serif; color: var(--epj-ink);
	min-width: 170px; margin: 0;
}
.epj-filters input[type="search"] { flex: 1 1 260px; }
.epj-filters input:focus, .epj-filters select:focus {
	outline: none; border-color: var(--epj-brand); box-shadow: 0 0 0 3px rgba(0,114,174,.15);
}
.epj-count { font-size: 13.5px; color: var(--epj-muted); margin: 0 0 14px !important; min-height: 1.2em; }

.epj-items { display: grid; gap: 14px; }
.epj-item {
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	background: #fff; border: 1px solid var(--epj-line); border-radius: 18px; padding: 24px 28px;
	transition: border-color .15s, box-shadow .15s;
}
.epj-item:hover { border-color: var(--epj-brand); box-shadow: 0 8px 24px rgba(15,23,42,.06); }
.epj-item.is-closed { opacity: .6; }
.epj-item[hidden] { display: none; }
.epj-item-main { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.epj-item-title { font-size: 21px; line-height: 1.25; font-weight: 700; }
.epj-item-title a { color: var(--epj-ink); }
.epj-item-title a:hover { color: var(--epj-brand); }
.epj-item-ex { font-size: 14.5px; line-height: 1.6; max-width: 70ch; }

.epj-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13.5px; color: var(--epj-muted); }
.epj-meta li { position: relative; }
.epj-meta li + li::before {
	content: ""; position: absolute; left: -10px; top: 50%; width: 3px; height: 3px;
	border-radius: 50%; background: #CBD5E1; transform: translateY(-50%);
}

.epj-empty {
	text-align: center; background: var(--epj-bg); border: 1px dashed #CBD5E1;
	border-radius: 18px; padding: 44px 24px;
}
.epj-empty h3 { font-size: 22px; margin-bottom: 8px; }
.epj-empty a { color: var(--epj-brand); font-weight: 600; }
.epj-nomatch { text-align: center; padding: 28px 0; color: var(--epj-muted); }

@media (max-width: 680px) {
	.epj-item { flex-direction: column; align-items: flex-start; padding: 20px; }
	.epj-item-cta, .epj-item-cta .epj-btn { width: 100%; }
	.epj-filters select, .epj-filters input[type="search"] { flex: 1 1 100%; }
}

/* ==========================================================================
   SINGLE JOB
   ========================================================================== */
.epj-hero {
	background: linear-gradient(135deg, #0F172A 0%, #12304A 60%, #0072AE 140%);
	color: #fff; padding: 56px 0 52px;
}
.epj-hero .epj-wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.epj-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: rgba(255,255,255,.65); }
.epj-crumbs a { color: rgba(255,255,255,.85); }
.epj-crumbs a:hover { color: #fff; }
.epj-title { color: #fff !important; font-size: clamp(30px, 4.4vw, 46px); line-height: 1.12; font-weight: 700; max-width: 22ch; }
.epj-hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; color: rgba(255,255,255,.88); }
.epj-hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 6px; }
.epj-link-light { color: rgba(255,255,255,.85); font-size: 14.5px; font-weight: 500; }
.epj-link-light:hover { color: #fff; }

.epj-grid {
	display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px;
	padding-top: 56px; padding-bottom: 56px; align-items: start;
}
.epj-body { min-width: 0; }
.epj-banner {
	background: #FEF3C7; color: #92400E; border-radius: 12px; padding: 14px 18px;
	font-size: 14.5px; margin-bottom: 28px;
}
.epj-banner a { color: #92400E; font-weight: 600; text-decoration: underline; }

.epj-section + .epj-section { margin-top: 38px; }
.epj-section h2 { font-size: 24px; line-height: 1.25; margin-bottom: 14px; }
.epj-prose { font-size: 16px; line-height: 1.75; }
.epj-prose p { margin: 0 0 1em; }
.epj-prose ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1em; }
.epj-prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.epj-prose li { margin-bottom: .4em; }
.epj-prose h3 { font-size: 19px; margin: 1.4em 0 .5em; }
.epj-prose a { color: var(--epj-brand); text-decoration: underline; }

.epj-ticks { display: grid; gap: 10px; }
.epj-ticks li { position: relative; padding-left: 30px; font-size: 16px; line-height: 1.65; }
.epj-ticks li::before {
	content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%;
	background: #E6F2F9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%230072AE' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5l3 3 6-7'/%3E%3C/svg%3E") center/12px no-repeat;
}

.epj-side { position: sticky; top: 100px; }
.epj-card {
	background: #fff; border: 1px solid var(--epj-line); border-radius: 20px; padding: 26px;
	box-shadow: 0 10px 30px rgba(15,23,42,.05);
}
.epj-card h2 { font-size: 19px; margin-bottom: 14px; }
.epj-dl { margin: 0 0 20px; }
.epj-dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid #F1F5F9; font-size: 14.5px; }
.epj-dl > div:last-child { border-bottom: 0; }
.epj-dl dt { color: var(--epj-muted); margin: 0; }
.epj-dl dd { margin: 0; color: var(--epj-ink); font-weight: 600; text-align: right; }

/* ---------- apply ---------- */
.epj-apply { background: var(--epj-bg); border-top: 1px solid var(--epj-line); padding: 64px 0; scroll-margin-top: 80px; }
.epj-apply h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.2; margin-bottom: 10px; }
.epj-apply-intro { font-size: 16px; line-height: 1.6; margin-bottom: 26px !important; }
.epj-form {
	background: #fff; border: 1px solid var(--epj-line); border-radius: 22px; padding: 32px;
	box-shadow: 0 10px 30px rgba(15,23,42,.05);
}
.epj-note { background: #FEF3C7; color: #92400E; border-radius: 12px; padding: 14px 18px; font-size: 14.5px; }
.epj-note a { color: inherit; font-weight: 600; text-decoration: underline; }

/* Gravity Forms touch-ups (works with Orbital and legacy themes) */
.epj-form .gform_wrapper { margin: 0; }
.epj-form .gform_wrapper input[type="text"],
.epj-form .gform_wrapper input[type="email"],
.epj-form .gform_wrapper input[type="tel"],
.epj-form .gform_wrapper input[type="url"],
.epj-form .gform_wrapper input[type="number"],
.epj-form .gform_wrapper select,
.epj-form .gform_wrapper textarea { border-radius: 10px; }
.epj-form .gform_wrapper .gform_button,
.epj-form .gform_wrapper input[type="submit"] {
	background: var(--epj-brand); color: #fff; border: 0; border-radius: 12px;
	padding: 14px 28px; font-weight: 600; font-size: 15px; cursor: pointer;
}
.epj-form .gform_wrapper .gform_button:hover,
.epj-form .gform_wrapper input[type="submit"]:hover { background: var(--epj-brand-dark); }

/* ---------- other openings ---------- */
.epj-more { padding: 60px 0 72px; }
.epj-more h2 { font-size: 26px; margin-bottom: 20px; }
.epj-more-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.epj-more-card {
	display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--epj-line);
	border-radius: 18px; padding: 22px; transition: border-color .15s, transform .15s;
}
.epj-more-card:hover { border-color: var(--epj-brand); transform: translateY(-2px); }
.epj-more-card strong { font-family: Outfit, Inter, sans-serif; font-size: 18px; color: var(--epj-ink); }
.epj-more-card span { font-size: 13.5px; color: var(--epj-muted); }
.epj-more-card em { font-style: normal; font-size: 14px; font-weight: 600; color: var(--epj-brand); margin-top: 6px; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
	.epj-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 36px; padding-bottom: 36px; }
	.epj-side { position: static; }
}
@media (max-width: 600px) {
	.epj-hero { padding: 40px 0 38px; }
	.epj-form { padding: 20px 16px; }
	.epj-apply { padding: 44px 0; }
	.epj-card { padding: 20px; }
}

/* the parent theme's sticky-aside rule only targets <aside>; keep ours independent */
@media (prefers-reduced-motion: reduce) {
	.epj-btn, .epj-item, .epj-more-card { transition: none; }
}
