/*
 * PixelsQA Careers — public job pages.
 *
 * Unlike the wizard, these render inside the theme, so every rule is scoped under .pxq-page
 * and the layout primitives are self-contained (own grid, own spacing) rather than borrowed
 * from whatever the theme happens to define.
 */

.pxq-page {
	--accent: #FE9435;
	--accent-dark: #E8801F;
	--accent-soft: #FFF4E8;
	--ink: #0E1116;
	--ink-2: #344054;
	--muted: #667085;
	--line: #E4E7EC;
	--line-2: #F2F4F7;
	--soft: #F8F9FB;
	--ok: #10B981;
	--radius: 16px;
	--ease: cubic-bezier(.16, 1, .3, 1);

	box-sizing: border-box;
	color: var(--ink);
	font-size: 16px;
	line-height: 1.65;
}
.pxq-page *, .pxq-page *::before, .pxq-page *::after { box-sizing: border-box; }

.pxq-wrap {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 24px;
}

/*
 * The active theme prints its own title-and-breadcrumb banner above the content, which would
 * repeat the hero below word for word. These rules retire it on job pages only — scoped to
 * the body classes WordPress adds for this post type, so nothing else on the site is touched,
 * and if a future theme drops these class names the rule quietly stops matching.
 */
body.single-pxq_job .logik-breadcrumb-one,
body.post-type-archive-pxq_job .logik-breadcrumb-one,
body.tax-pxq_department .logik-breadcrumb-one,
body.single-pxq_job .page-title-area,
body.post-type-archive-pxq_job .page-title-area,
body.single-pxq_job .entry-banner,
body.post-type-archive-pxq_job .entry-banner {
	display: none !important;
}


/* ------------------------------------------------------------------- hero */

.pxq-hero {
	position: relative;
	padding: 56px 0 40px;
	background: linear-gradient(180deg, var(--soft), #fff);
	border-bottom: 1px solid var(--line-2);
	overflow: hidden;
}
.pxq-hero::after {
	content: '';
	position: absolute;
	top: -120px;
	inset-inline-end: -80px;
	width: 340px;
	height: 340px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(254,148,53,.16), transparent 68%);
	pointer-events: none;
}
.pxq-hero__inner { position: relative; z-index: 1; }

.pxq-crumbs {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 13.5px;
	color: var(--muted);
	margin-bottom: 16px;
}
.pxq-crumbs a { color: var(--muted); text-decoration: none; transition: color .2s; }
.pxq-crumbs a:hover { color: var(--accent-dark); }

.pxq-hero__title {
	margin: 0 0 14px;
	font-size: clamp( 28px, 4.2vw, 42px );
	line-height: 1.15;
	letter-spacing: -.025em;
	font-weight: 700;
	color: var(--ink);
}

.pxq-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.pxq-fact {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 6px 13px;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: #fff;
	font-size: 13.5px;
	font-weight: 550;
	color: var(--ink-2);
}
.pxq-fact svg { width: 15px; height: 15px; color: var(--accent); flex: none; }
.pxq-fact--closed { background: #FEF2F2; border-color: #FECACA; color: #B91C1C; }
.pxq-fact--urgent { background: var(--accent-soft); border-color: #FCD9A8; color: #93500B; }

/* ---------------------------------------------------------------- layout */

.pxq-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 44px;
	padding: 44px 0 72px;
	align-items: start;
}
@media (max-width: 900px) {
	.pxq-layout { grid-template-columns: 1fr; gap: 32px; padding-bottom: 110px; }
}

.pxq-content { min-width: 0; font-size: 16.5px; line-height: 1.8; color: var(--ink-2); }
.pxq-content h2 { font-size: 24px; margin: 34px 0 12px; color: var(--ink); letter-spacing: -.015em; font-weight: 650; }
.pxq-content h3 { font-size: 19px; margin: 28px 0 10px; color: var(--ink); font-weight: 650; }
.pxq-content h2:first-child, .pxq-content h3:first-child { margin-top: 0; }
.pxq-content p { margin: 0 0 15px; }
.pxq-content ul, .pxq-content ol { margin: 0 0 18px; padding-inline-start: 4px; list-style: none; }
.pxq-content ol { counter-reset: pxq-ol; }
.pxq-content li { position: relative; padding-inline-start: 26px; margin-bottom: 9px; }
.pxq-content ul li::before {
	content: '';
	position: absolute;
	inset-inline-start: 4px;
	top: .68em;
	width: 7px; height: 7px;
	border-radius: 50%;
	background: var(--accent);
}
.pxq-content ol li { counter-increment: pxq-ol; }
.pxq-content ol li::before {
	content: counter(pxq-ol);
	position: absolute;
	inset-inline-start: 0;
	top: .12em;
	width: 19px; height: 19px;
	border-radius: 50%;
	background: var(--accent-soft);
	color: #93500B;
	font-size: 11.5px;
	font-weight: 700;
	display: grid;
	place-items: center;
}
.pxq-content strong { color: var(--ink); font-weight: 650; }
.pxq-content a { color: var(--accent-dark); }

/* --------------------------------------------------------------- sidebar */

.pxq-aside { position: sticky; top: 24px; display: grid; gap: 16px; }
@media (max-width: 900px) { .pxq-aside { position: static; } }

.pxq-panel {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(16,24,40,.05);
}
.pxq-panel__head {
	padding: 15px 18px;
	border-bottom: 1px solid var(--line-2);
	background: var(--soft);
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: var(--muted);
}
.pxq-panel__body { padding: 18px; }

.pxq-spec { display: grid; gap: 13px; margin: 0; }
.pxq-spec__row { display: flex; align-items: flex-start; gap: 11px; }
.pxq-spec__icon {
	flex: none;
	width: 32px; height: 32px;
	border-radius: 9px;
	background: var(--accent-soft);
	color: var(--accent-dark);
	display: grid; place-items: center;
}
.pxq-spec__icon svg { width: 15px; height: 15px; }
.pxq-spec__label { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; font-weight: 650; }
.pxq-spec__value { font-size: 14.5px; font-weight: 600; color: var(--ink); }

/* --------------------------------------------------------------- buttons */

.pxq-apply-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 14px 28px;
	border: 0;
	border-radius: 12px;
	background: var(--accent);
	color: #fff;
	font-family: inherit;
	font-size: 15.5px;
	font-weight: 650;
	line-height: 1.2;
	cursor: pointer;
	text-decoration: none;
	box-shadow: 0 4px 14px rgba(254,148,53,.36);
	transition: transform .2s var(--ease), box-shadow .2s, background .2s;
}
.pxq-apply-btn:hover {
	background: var(--accent-dark);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 8px 22px rgba(254,148,53,.44);
}
.pxq-apply-btn:active { transform: translateY(0); }
.pxq-apply-btn svg { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.pxq-apply-btn:hover svg { transform: translateX(3px); }
.pxq-page[dir="rtl"] .pxq-apply-btn:hover svg { transform: translateX(-3px) scaleX(-1); }
.pxq-page[dir="rtl"] .pxq-apply-btn svg { transform: scaleX(-1); }
.pxq-apply-btn--block { display: flex; width: 100%; }

/* Takes the apply button's place once a job stops taking applications. Every colour carries
   a fallback, because the notice can also be placed on a page outside .pxq-page with the
   [pxq_apply_button] shortcode. */
.pxq-closed {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	max-width: 640px;
	padding: 18px 20px;
	border: 1px solid #FCD9A8;
	border-radius: var(--radius, 16px);
	background: var(--accent-soft, #FFF4E8);
	color: var(--ink, #0E1116);
	text-align: start;
	line-height: 1.6;
}
.pxq-closed__icon {
	flex: none;
	width: 44px; height: 44px;
	border-radius: 12px;
	display: grid; place-items: center;
	background: #fff;
	color: var(--accent-dark, #E8801F);
	box-shadow: 0 1px 2px rgba(16,24,40,.06);
}
.pxq-closed__icon svg { width: 22px; height: 22px; }
.pxq-closed__text { min-width: 0; }
.pxq-closed__title { display: block; font-size: 17px; font-weight: 700; line-height: 1.35; letter-spacing: -.01em; color: var(--ink, #0E1116); }
.pxq-closed__body { margin: 6px 0 0; font-size: 15px; line-height: 1.65; color: var(--ink-2, #344054); }
.pxq-closed__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 14.5px; font-weight: 650; color: var(--accent-dark, #E8801F); text-decoration: none; }
.pxq-closed__link:hover { color: var(--ink, #0E1116); text-decoration: none; }
.pxq-closed__link svg { width: 15px; height: 15px; transition: transform .2s; }
.pxq-closed__link:hover svg { transform: translateX(3px); }
.pxq-page[dir="rtl"] .pxq-closed__link svg { transform: scaleX(-1); }
.pxq-closed--compact { padding: 14px 16px; gap: 12px; }
.pxq-closed--compact .pxq-closed__icon { width: 38px; height: 38px; border-radius: 10px; }
.pxq-closed--compact .pxq-closed__icon svg { width: 19px; height: 19px; }
.pxq-closed--compact .pxq-closed__title { font-size: 15px; }
.pxq-closed--compact .pxq-closed__link { margin-top: 5px; font-size: 13.5px; }

.pxq-share { display: flex; gap: 7px; margin-top: 14px; }
.pxq-share a {
	width: 36px; height: 36px;
	border-radius: 10px;
	border: 1px solid var(--line);
	color: var(--muted);
	display: grid; place-items: center;
	transition: all .18s;
	text-decoration: none;
}
.pxq-share a:hover { border-color: var(--accent); color: var(--accent-dark); background: var(--accent-soft); }
.pxq-share svg { width: 16px; height: 16px; }

/* -------------------------------------------------------- sticky mobile */

.pxq-sticky {
	position: fixed;
	inset-inline: 0;
	bottom: 0;
	z-index: 90;
	/* The extra end padding clears the theme's floating chat bubble, which sits in the same
	   corner and would otherwise cover the apply button. */
	padding: 12px 76px calc( 12px + env( safe-area-inset-bottom ) ) 16px;
	background: rgba(255,255,255,.94);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border-top: 1px solid var(--line);
	display: none;
	gap: 12px;
	align-items: center;
	transform: translateY(100%);
	transition: transform .3s var(--ease);
}
.pxq-sticky.is-up { transform: none; }
.pxq-sticky__title {
	flex: 1;
	min-width: 0;
	font-size: 13.5px;
	font-weight: 650;
	color: var(--ink);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.pxq-sticky .pxq-apply-btn { padding: 11px 20px; font-size: 14.5px; }
@media (max-width: 900px) { .pxq-sticky { display: flex; } }

/* ---------------------------------------------------------------- listing */

.pxq-listing { padding: 40px 0 72px; }

.pxq-listing__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	margin-bottom: 26px;
}
.pxq-listing__title { margin: 0 0 5px; font-size: clamp( 26px, 3.4vw, 36px ); letter-spacing: -.02em; font-weight: 700; }
.pxq-listing__count { margin: 0; color: var(--muted); font-size: 15px; }

.pxq-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.pxq-filter {
	padding: 8px 16px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: #fff;
	font-family: inherit;
	font-size: 13.5px;
	font-weight: 550;
	color: var(--ink-2);
	cursor: pointer;
	transition: all .18s var(--ease);
}
.pxq-filter:hover { border-color: #D0D5DD; background: var(--soft); }
.pxq-filter.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }

.pxq-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }

.pxq-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 24px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	transition: transform .26s var(--ease), box-shadow .26s var(--ease), border-color .26s;
	animation: pxq-card-in .45s var(--ease) both;
}
@keyframes pxq-card-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.pxq-card:hover {
	transform: translateY(-4px);
	border-color: #FCD9A8;
	box-shadow: 0 16px 34px -14px rgba(16,24,40,.22);
}
.pxq-card.is-hidden { display: none; }

.pxq-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.pxq-card__dept {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--accent-soft);
	color: #93500B;
	font-size: 11.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
}
.pxq-card__state {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 12px;
	font-weight: 600;
	color: var(--ok);
}
.pxq-card__state::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pxq-card__state--closed { color: var(--muted); }

.pxq-card__title { margin: 0; font-size: 19.5px; line-height: 1.35; letter-spacing: -.012em; font-weight: 650; }
.pxq-card__title a { color: var(--ink); text-decoration: none; }
.pxq-card__title a::after { content: ''; position: absolute; inset: 0; }
.pxq-card:hover .pxq-card__title a { color: var(--accent-dark); }

.pxq-card__meta { display: flex; flex-wrap: wrap; gap: 7px; }
.pxq-card__meta span {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 12.5px;
	color: var(--muted);
}
.pxq-card__meta svg { width: 13px; height: 13px; opacity: .7; }

.pxq-card__excerpt {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.7;
	color: var(--muted);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.pxq-card__foot {
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px solid var(--line-2);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}
.pxq-card__posted { font-size: 12.5px; color: var(--muted); }
.pxq-card__go {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13.5px;
	font-weight: 650;
	color: var(--accent-dark);
}
.pxq-card__go svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.pxq-card:hover .pxq-card__go svg { transform: translateX(4px); }

.pxq-none {
	grid-column: 1 / -1;
	padding: 56px 24px;
	text-align: center;
	border: 1px dashed var(--line);
	border-radius: var(--radius);
	color: var(--muted);
	font-size: 15px;
	background: var(--soft);
}

/* ---------------------------------------------------------------- related */

.pxq-related { padding: 48px 0 72px; border-top: 1px solid var(--line-2); }
.pxq-related__title { margin: 0 0 22px; font-size: 22px; font-weight: 650; letter-spacing: -.015em; }

@media (prefers-reduced-motion: reduce) {
	.pxq-card, .pxq-apply-btn, .pxq-sticky { animation: none !important; transition: none !important; }
}
