/*
 * TechHire Jobs - front end design.
 *
 * Reproduces the ITTechnica job page design exactly: same palette, type scale,
 * spacing, radii, shadows, badge colours, tick-marker lists and grid
 * proportions as css/style.css in the reference build.
 *
 * Every rule is scoped under .thj so nothing here can leak into the active
 * theme, and the theme cannot restyle the job pages accidentally. The markup
 * deliberately uses the reference class names (page-hero, job-overview,
 * detail-grid, sidebar-card, ...) so the static export and the WordPress
 * rendering are the same document.
 *
 * Palette: navy #0a1628, corporate blue #1e3a5f, accent #2563eb, white #fff,
 * light gray #f1f5f9, dark text #1e293b, body copy #475569, border #e2e8f0.
 */

.thj {
	--thj-navy: #0a1628;
	--thj-corporate: #1e3a5f;
	--thj-accent: #2563eb;
	--thj-accent-dark: #1d4ed8;
	--thj-sky: #60a5fa;
	--thj-white: #ffffff;
	--thj-gray-50: #f8fafc;
	--thj-gray-100: #f1f5f9;
	--thj-gray-200: #e2e8f0;
	--thj-gray-400: #94a3b8;
	--thj-gray-500: #64748b;
	--thj-body: #475569;
	--thj-heading: #0a1628;
	--thj-radius: 6px;
	--thj-radius-lg: 14px;
	--thj-radius-xl: 16px;
	--thj-container: 1200px;

	box-sizing: border-box;
	color: var(--thj-body);
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

.thj *,
.thj *::before,
.thj *::after {
	box-sizing: border-box;
}

.thj h1,
.thj h2,
.thj h3,
.thj h4,
.thj h5,
.thj h6 {
	color: var(--thj-heading);
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 0.5em;
}

.thj h2 {
	font-size: 2.4rem;
}

.thj h3 {
	font-size: 1.6rem;
}

.thj h4 {
	font-size: 1.2rem;
}

.thj p {
	color: var(--thj-body);
	margin: 0 0 1rem;
}

.thj a {
	color: inherit;
	text-decoration: none;
	transition: all 0.3s ease;
}

.thj ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.thj img {
	display: block;
	height: auto;
	max-width: 100%;
}

.thj .container {
	margin: 0 auto;
	max-width: var(--thj-container);
	padding: 0 20px;
	width: 100%;
}

.thj .section {
	padding: 80px 0;
}

.thj .section-gray {
	background: var(--thj-gray-100);
}

/* ===================== BUTTONS ===================== */

.thj .btn {
	border: 2px solid transparent;
	border-radius: var(--thj-radius);
	cursor: pointer;
	display: inline-block;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: 0.5px;
	line-height: 1.4;
	padding: 14px 36px;
	text-transform: uppercase;
	transition: all 0.3s ease;
}

.thj .btn-primary {
	background: var(--thj-accent);
	border-color: var(--thj-accent);
	color: var(--thj-white);
}

.thj .btn-primary:hover,
.thj .btn-primary:focus {
	background: var(--thj-accent-dark);
	border-color: var(--thj-accent-dark);
	box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
	color: var(--thj-white);
	transform: translateY(-2px);
}

.thj .btn-secondary,
.thj .btn-outline {
	background: transparent;
	border-color: var(--thj-accent);
	color: var(--thj-accent);
}

.thj .btn-secondary:hover,
.thj .btn-outline:hover,
.thj .btn-outline:focus {
	background: var(--thj-accent);
	color: var(--thj-white);
	transform: translateY(-2px);
}

.thj .btn-white {
	background: var(--thj-white);
	border-color: var(--thj-white);
	color: var(--thj-corporate);
}

.thj .btn-white:hover {
	background: transparent;
	color: var(--thj-white);
	transform: translateY(-2px);
}

.thj .btn-outline-light {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.4);
	color: var(--thj-white);
}

.thj .btn-outline-light:hover {
	background: var(--thj-white);
	border-color: var(--thj-white);
	color: var(--thj-corporate);
}

.thj .btn-sm {
	font-size: 0.875rem;
	padding: 10px 24px;
}

.thj .btn-lg {
	font-size: 1.05rem;
	padding: 16px 40px;
}

.thj .btn-block {
	display: block;
	text-align: center;
	width: 100%;
}

/* ===================== PAGE HERO + BREADCRUMB ===================== */

.thj .page-hero {
	background: linear-gradient(135deg, var(--thj-navy) 0%, var(--thj-corporate) 100%);
	padding: 60px 0 60px;
	text-align: center;
}

.thj .page-hero h1 {
	color: var(--thj-white);
	font-size: 2.8rem;
	margin: 14px 0 16px;
}

.thj .hero-subtitle {
	color: rgba(255, 255, 255, 0.75);
	margin: 0 auto;
	max-width: 700px;
}

.thj .breadcrumb {
	align-items: center;
	color: rgba(255, 255, 255, 0.6);
	display: flex;
	flex-wrap: wrap;
	font-size: 0.9rem;
	gap: 10px;
	justify-content: center;
}

.thj .breadcrumb a {
	color: rgba(255, 255, 255, 0.8);
}

.thj .breadcrumb a:hover {
	color: var(--thj-sky);
}

.thj .breadcrumb-separator {
	color: rgba(255, 255, 255, 0.3);
}

.thj .breadcrumb-current {
	color: var(--thj-sky);
}

/* ===================== SECTION TITLE ===================== */

.thj .section-title {
	margin-bottom: 50px;
	text-align: center;
}

.thj .section-title .subtitle {
	color: var(--thj-accent);
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 2px;
	margin-bottom: 10px;
	text-transform: uppercase;
}

.thj .section-title h2 {
	margin-bottom: 16px;
}

.thj .section-title p {
	color: var(--thj-gray-500);
	font-size: 1.05rem;
	margin: 0 auto;
	max-width: 600px;
}

/* ===================== JOB OVERVIEW ===================== */

.thj .job-overview {
	background: var(--thj-gray-50);
	border-bottom: 1px solid var(--thj-gray-200);
	padding: 60px 0;
}

.thj .job-overview-grid {
	align-items: start;
	display: grid;
	gap: 50px;
	grid-template-columns: 1fr 380px;
}

.thj .job-overview-main {
	padding: 8px 0;
}

.thj .job-meta-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 18px;
}

.thj .badge,
.thj .thj-badge {
	border-radius: 50px;
	display: inline-block;
	font-size: 0.73rem;
	font-weight: 600;
	letter-spacing: 0.5px;
	padding: 6px 14px;
	text-transform: uppercase;
}

.thj .badge-fulltime {
	background: #dbeafe;
	color: #1d4ed8;
}

.thj .badge-parttime {
	background: #d1fae5;
	color: #065f46;
}

.thj .badge-contract {
	background: #fef3c7;
	color: #b45309;
}

.thj .badge-remote {
	background: #dcfce7;
	color: #15803d;
}

.thj .badge-hybrid {
	background: #ede9fe;
	color: #6d28d9;
}

.thj .badge-onsite {
	background: #e2e8f0;
	color: #334155;
}

.thj .badge-urgent {
	background: #fee2e2;
	color: #b91c1c;
}

/* Legacy aliases used by the shortcode and the admin list screen. */
.thj .thj-badge-remote,
.thj .badge-remote {
	background: #dcfce7;
	color: #15803d;
}

.thj .thj-badge-hybrid,
.thj .badge-hybrid {
	background: #ede9fe;
	color: #6d28d9;
}

.thj .thj-badge-onsite,
.thj .badge-onsite {
	background: #e2e8f0;
	color: #334155;
}

.thj .thj-badge-fulltime,
.thj .badge-fulltime {
	background: #dbeafe;
	color: #1d4ed8;
}

.thj .thj-badge-parttime,
.thj .badge-parttime {
	background: #d1fae5;
	color: #065f46;
}

.thj .thj-badge-contract,
.thj .badge-contract {
	background: #fef3c7;
	color: #b45309;
}

.thj .thj-badge-urgent,
.thj .badge-urgent {
	background: #fee2e2;
	color: #b91c1c;
}

.thj .job-title {
	font-size: 1.9rem;
	margin-bottom: 8px;
}

.thj .job-company {
	color: var(--thj-accent);
	font-weight: 600;
	margin-bottom: 4px;
}

.thj .job-location-text {
	color: var(--thj-gray-500);
	margin-bottom: 24px;
}

.thj .job-overview-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.thj .job-detail-card {
	background: var(--thj-white);
	border: 1px solid var(--thj-gray-200);
	border-radius: var(--thj-radius-xl);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
	padding: 28px;
}

.thj .job-detail-card h3 {
	border-bottom: 2px solid var(--thj-accent);
	font-size: 1.1rem;
	margin-bottom: 16px;
	padding-bottom: 12px;
}

.thj .detail-grid {
	display: grid;
	gap: 12px;
	grid-template-columns: 1fr 1fr;
}

.thj .detail-item {
	background: var(--thj-gray-50);
	border-radius: 10px;
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 10px 12px;
}

.thj .detail-label {
	color: var(--thj-gray-400);
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.6px;
	text-transform: uppercase;
}

.thj .detail-value {
	color: var(--thj-navy);
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.35;
}

/* ===================== JOB DESCRIPTION ===================== */

.thj .job-description {
	padding: 80px 0;
}

.thj .job-description-grid {
	align-items: start;
	display: grid;
	gap: 50px;
	grid-template-columns: 1fr 340px;
}

.thj .description-section {
	margin-bottom: 48px;
}

.thj .description-section:last-child {
	margin-bottom: 0;
}

.thj .description-section h2 {
	font-size: 1.55rem;
	margin-bottom: 16px;
}

.thj .description-section p {
	line-height: 1.9;
	margin-bottom: 14px;
}

.thj .description-section ul:not([class]) {
	list-style: disc;
	margin: 0 0 16px;
	padding-left: 22px;
}

.thj .description-section ul:not([class]) li {
	color: var(--thj-body);
	line-height: 1.8;
	margin-bottom: 8px;
}

.thj .description-section strong {
	color: var(--thj-navy);
	font-weight: 700;
}

/* Tick-marker lists, identical to the reference. */
.thj .responsibility-list,
.thj .qualification-list,
.thj .preferred-list {
	margin: 16px 0 0;
}

.thj .responsibility-list li,
.thj .qualification-list li,
.thj .preferred-list li {
	color: var(--thj-body);
	line-height: 1.8;
	margin-bottom: 14px;
	padding-left: 30px;
	position: relative;
}

.thj .responsibility-list li::before,
.thj .qualification-list li::before,
.thj .preferred-list li::before {
	align-items: center;
	background: linear-gradient(135deg, var(--thj-accent), var(--thj-accent-dark));
	border-radius: 50%;
	color: var(--thj-white);
	content: '\2713';
	display: flex;
	font-size: 0.7rem;
	font-weight: 700;
	height: 20px;
	justify-content: center;
	left: 0;
	position: absolute;
	top: 4px;
	width: 20px;
}

/* ===================== BENEFITS ===================== */

.thj .benefits-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: 1fr 1fr;
	margin-top: 20px;
}

.thj .benefit-item {
	align-items: flex-start;
	background: var(--thj-gray-50);
	border: 1px solid var(--thj-gray-200);
	border-radius: 12px;
	display: flex;
	gap: 14px;
	padding: 20px;
}

.thj .benefit-item h4 {
	font-size: 1rem;
	margin-bottom: 4px;
}

.thj .benefit-item p {
	color: var(--thj-gray-500);
	font-size: 0.88rem;
	line-height: 1.6;
	margin: 0;
}

.thj .benefit-icon {
	align-items: center;
	background: linear-gradient(135deg, var(--thj-accent), var(--thj-accent-dark));
	border-radius: 10px;
	color: var(--thj-white);
	display: flex;
	flex-shrink: 0;
	font-size: 1.25rem;
	height: 44px;
	justify-content: center;
	width: 44px;
}

/* ===================== HOW TO APPLY ===================== */

.thj .how-to-apply {
	background: var(--thj-gray-100);
	border-left: 4px solid var(--thj-accent);
	border-radius: var(--thj-radius-lg);
	padding: 28px;
}

.thj .apply-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 20px;
}

/* ===================== SIDEBAR ===================== */

.thj .job-description-sidebar {
	display: flex;
	flex-direction: column;
	gap: 20px;
	position: sticky;
	top: 24px;
}

.thj .sidebar-card {
	background: var(--thj-white);
	border: 1px solid var(--thj-gray-200);
	border-radius: var(--thj-radius-lg);
	padding: 24px;
}

.thj .sidebar-card h3 {
	font-size: 1.05rem;
	margin-bottom: 10px;
}

.thj .sidebar-card p {
	color: var(--thj-gray-500);
	font-size: 0.9rem;
	margin-bottom: 14px;
}

.thj .share-buttons {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 12px;
}

.thj .share-btn {
	border-radius: 8px;
	color: var(--thj-white);
	display: block;
	font-size: 0.85rem;
	font-weight: 600;
	padding: 10px;
	text-align: center;
	transition: opacity 0.3s;
}

.thj .share-btn:hover {
	color: var(--thj-white);
	opacity: 0.85;
}

.thj .share-linkedin {
	background: #0a66c2;
}

.thj .share-twitter {
	background: #1da1f2;
}

.thj .share-email {
	background: var(--thj-accent);
}

.thj .sidebar-list li {
	align-items: flex-start;
	border-bottom: 1px solid #eef2f7;
	color: var(--thj-body);
	display: flex;
	font-size: 0.9rem;
	gap: 8px;
	padding: 8px 0;
}

.thj .sidebar-list li:last-child {
	border-bottom: 0;
}

.thj .sidebar-list li::before {
	color: var(--thj-accent);
	content: '\2713';
	font-weight: 700;
}

/* ===================== APPLY FORM ===================== */

.thj .apply-form-box {
	background: var(--thj-white);
	border: 1px solid var(--thj-gray-200);
	border-radius: 18px;
	box-shadow: 0 10px 45px rgba(0, 0, 0, 0.08);
	padding: 44px;
}

.thj .apply-form-box .form-group {
	margin-bottom: 20px;
}

.thj .apply-form-box label {
	color: #1e293b;
	display: block;
	font-size: 0.9rem;
	font-weight: 600;
	margin-bottom: 8px;
}

.thj .apply-form-box .required-mark {
	color: #b91c1c;
}

.thj .apply-form-box input[type='text'],
.thj .apply-form-box input[type='email'],
.thj .apply-form-box input[type='tel'],
.thj .apply-form-box input[type='url'],
.thj .apply-form-box input[type='number'],
.thj .apply-form-box select,
.thj .apply-form-box textarea {
	background: var(--thj-gray-50);
	border: 1px solid var(--thj-gray-200);
	border-radius: 8px;
	font-family: inherit;
	font-size: 1rem;
	padding: 14px 18px;
	transition: border-color 0.3s, box-shadow 0.3s;
	width: 100%;
}

.thj .apply-form-box input:focus,
.thj .apply-form-box select:focus,
.thj .apply-form-box textarea:focus {
	border-color: var(--thj-accent);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
	outline: none;
}

.thj .apply-form-box textarea {
	min-height: 110px;
	resize: vertical;
}

.thj .apply-form-box input[type='file'] {
	background: var(--thj-gray-50);
	border: 2px dashed #cbd5e1;
	border-radius: 8px;
	cursor: pointer;
	font-size: 0.9rem;
	padding: 14px;
	transition: border-color 0.3s;
	width: 100%;
}

.thj .apply-form-box input[type='file']:hover {
	border-color: var(--thj-accent);
}

.thj .apply-form-box input[type='file']::file-selector-button {
	background: var(--thj-accent);
	border: 0;
	border-radius: var(--thj-radius);
	color: var(--thj-white);
	cursor: pointer;
	font-weight: 600;
	margin-right: 16px;
	padding: 10px 22px;
}

.thj .apply-form-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: 1fr 1fr;
}

.thj .apply-form-note {
	color: var(--thj-gray-500);
	font-size: 0.82rem;
	margin: 14px 0 0;
	text-align: center;
}

.thj .thj-honeypot {
	height: 0;
	left: -9999px;
	opacity: 0;
	overflow: hidden;
	position: absolute;
	width: 0;
}

.thj .thj-form-alert {
	background: #fee2e2;
	border: 1px solid #fecaca;
	border-radius: 8px;
	color: #b91c1c;
	font-size: 0.9rem;
	margin-bottom: 20px;
	padding: 12px 16px;
}

.thj .thj-form-alert-success {
	background: #dcfce7;
	border-color: #bbf7d0;
	color: #15803d;
}

.thj .thj-form-alert a {
	color: inherit;
	text-decoration: underline;
}

/* ===================== LISTING FILTER BAR ===================== */

/*
 * The shortcode renders the filter bar, the results count and the load-more
 * button inside the same element as the cards, so they have to opt out of the
 * card grid and span the full width instead of becoming grid items.
 */
.thj .thj-listings > .thj-filters,
.thj .thj-listings > .thj-filters-status,
.thj .thj-listings > .thj-load-more,
.thj .thj-listings > .thj-pagination,
.thj .thj-listings > .thj-none {
	grid-column: 1 / -1;
}

.thj .thj-filters {
	background: var(--thj-gray-50);
	border: 1px solid var(--thj-gray-200);
	border-radius: var(--thj-radius-lg);
	margin-bottom: 28px;
	padding: 20px;
}

.thj .thj-filters-bar {
	align-items: end;
	display: grid;
	gap: 14px;
	grid-template-columns: minmax(220px, 1.6fr) repeat(auto-fit, minmax(140px, 1fr));
}

.thj .thj-filters-search {
	position: relative;
}

.thj .thj-filters-search-icon {
	background: var(--thj-gray-400);
	height: 2px;
	left: 16px;
	pointer-events: none;
	position: absolute;
	top: 26px;
	width: 14px;
}

.thj .thj-filters-search-icon::after {
	background: var(--thj-gray-400);
	border-radius: 50%;
	content: '';
	height: 8px;
	left: 0;
	position: absolute;
	top: -3px;
	width: 8px;
}

.thj .thj-filters-label {
	color: var(--thj-gray-500);
	display: block;
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.6px;
	margin-bottom: 6px;
	text-transform: uppercase;
}

.thj .thj-filters-input,
.thj .thj-filters-select {
	appearance: none;
	background-color: var(--thj-white);
	border: 1px solid var(--thj-gray-200);
	border-radius: var(--thj-radius);
	color: var(--thj-heading);
	display: block;
	font-family: inherit;
	font-size: 0.95rem;
	height: 46px;
	padding: 0 14px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	width: 100%;
}

.thj .thj-filters-input {
	padding-left: 40px;
}

.thj .thj-filters-select {
	background-image: linear-gradient(45deg, transparent 50%, var(--thj-gray-500) 50%), linear-gradient(135deg, var(--thj-gray-500) 50%, transparent 50%);
	background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px;
	background-repeat: no-repeat;
	background-size: 5px 5px, 5px 5px;
	cursor: pointer;
	padding-right: 40px;
}

.thj .thj-filters-input:focus,
.thj .thj-filters-select:focus {
	border-color: var(--thj-accent);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
	outline: none;
}

.thj .thj-filters-actions {
	align-items: center;
	display: flex;
	gap: 10px;
}

.thj .thj-filters-submit {
	background: var(--thj-accent);
	border: 1px solid var(--thj-accent);
	border-radius: var(--thj-radius);
	color: var(--thj-white);
	cursor: pointer;
	font-family: inherit;
	font-size: 0.95rem;
	font-weight: 600;
	height: 46px;
	padding: 0 22px;
	transition: background 0.2s ease;
	white-space: nowrap;
}

.thj .thj-filters-submit:hover {
	background: var(--thj-accent-dark);
	border-color: var(--thj-accent-dark);
}

.thj .thj-filters-submit:focus-visible {
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.35);
	outline: none;
}

.thj .thj-filters-submit[disabled] {
	cursor: progress;
	opacity: 0.6;
}

.thj .thj-filters-reset {
	color: var(--thj-gray-500);
	font-size: 0.9rem;
	text-decoration: underline;
	white-space: nowrap;
}

.thj .thj-filters-reset:hover {
	color: var(--thj-accent);
}

.thj .thj-filters-status {
	color: var(--thj-gray-500);
	font-size: 0.88rem;
	margin: 10px 0 0;
}

.thj .thj-filters-status:empty {
	display: none;
}

.thj .thj-filters-status.thj-is-error {
	color: #b91c1c;
}

/* The listing is marked busy while an AJAX filter is in flight. */
.thj .thj-listings.thj-is-loading {
	opacity: 0.55;
	pointer-events: none;
	transition: opacity 0.2s ease;
}

/* ===================== JOB CARDS (careers listing) ===================== */

.thj .thj-cards {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(3, 1fr);
}

/* The listing shortcode drives its column count with thj-cols-N. */
.thj .thj-listings {
	grid-template-columns: repeat(var(--thj-cols, 3), 1fr);
}

.thj .thj-listings.thj-cols-1 {
	--thj-cols: 1;
}

.thj .thj-listings.thj-cols-2 {
	--thj-cols: 2;
}

.thj .thj-listings.thj-cols-3 {
	--thj-cols: 3;
}

.thj .thj-listings.thj-cols-4 {
	--thj-cols: 4;
}

.thj .thj-listings.thj-layout-list {
	grid-template-columns: 1fr;
}

.thj .thj-card {
	background: var(--thj-white);
	border: 1px solid var(--thj-gray-200);
	border-radius: var(--thj-radius-lg);
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 24px;
	transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.thj .thj-card:hover {
	border-color: var(--thj-accent);
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
	transform: translateY(-4px);
}

/* Focus the whole card when its title link is tabbed to. */
.thj .thj-card:focus-within {
	border-color: var(--thj-accent);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

.thj .thj-card-title {
	margin-bottom: 10px;
}

.thj .thj-card-title a {
	color: var(--thj-navy);
	font-size: 1.05rem;
	line-height: 1.35;
}

.thj .thj-card-title a:hover {
	color: var(--thj-accent);
}

.thj .thj-card-title a:focus-visible {
	outline: 2px solid var(--thj-accent);
	outline-offset: 3px;
}

.thj .thj-card-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 12px;
}

.thj .thj-salary {
	color: var(--thj-navy);
	font-size: 0.85rem;
	font-weight: 600;
	white-space: nowrap;
}

.thj .thj-card-excerpt {
	color: var(--thj-gray-500);
	font-size: 0.88rem;
	line-height: 1.6;
	margin-bottom: 12px;
}

/* Push the call to action to the bottom so cards in a row line up. */
.thj .thj-card-link {
	color: var(--thj-accent);
	font-size: 0.9rem;
	font-weight: 600;
	margin-top: auto;
	align-self: flex-start;
}

.thj .thj-none {
	grid-column: 1 / -1;
	text-align: center;
}

.thj .thj-pagination {
	margin-top: 40px;
}

.thj .thj-pagination .page-numbers {
	border: 1px solid var(--thj-gray-200);
	border-radius: 8px;
	display: inline-block;
	margin-right: 6px;
	padding: 8px 14px;
}

.thj .thj-pagination .page-numbers.current {
	background: var(--thj-accent);
	border-color: var(--thj-accent);
	color: var(--thj-white);
}

.thj .thj-pagination .page-numbers:hover {
	border-color: var(--thj-accent);
}

.thj .thj-load-more {
	margin-top: 32px;
	text-align: center;
}

.thj .thj-load-more-btn,
.thj .thj-apply-btn {
	background: var(--thj-accent);
	border: 0;
	border-radius: var(--thj-radius);
	color: var(--thj-white);
	cursor: pointer;
	font-size: 1rem;
	font-weight: 600;
	padding: 14px 36px;
	transition: all 0.3s ease;
}

.thj .thj-load-more-btn:hover,
.thj .thj-apply-btn:hover {
	background: var(--thj-accent-dark);
	box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
	transform: translateY(-2px);
}

/* ===================== RELATED ===================== */

.thj .related-positions {
	background: var(--thj-gray-100);
	padding: 80px 0;
}

.thj .related-positions h2 {
	font-size: 2rem;
	margin-bottom: 8px;
	text-align: center;
}

.thj .related-positions .section-subtitle {
	color: var(--thj-gray-500);
	margin-bottom: 40px;
	text-align: center;
}

.thj .related-grid {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(3, 1fr);
}

.thj .related-card {
	background: var(--thj-white);
	border: 1px solid var(--thj-gray-200);
	border-radius: var(--thj-radius-lg);
	display: block;
	padding: 24px;
	transition: all 0.3s ease;
}

.thj .related-card:hover {
	border-color: var(--thj-accent);
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
	transform: translateY(-4px);
}

.thj .related-card h3 {
	color: var(--thj-navy);
	font-size: 1rem;
	margin-bottom: 8px;
}

.thj .related-card p {
	color: var(--thj-gray-500);
	font-size: 0.88rem;
	line-height: 1.6;
	margin-bottom: 12px;
}

.thj .related-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 12px;
}

.thj .related-meta .badge {
	font-size: 0.68rem;
}

.thj .related-link {
	color: var(--thj-accent);
	font-size: 0.9rem;
	font-weight: 600;
}

/* ===================== RESPONSIVE ===================== */

@media (max-width: 1024px) {
	.thj .job-overview-grid,
	.thj .job-description-grid {
		grid-template-columns: 1fr;
	}

	.thj .job-description-sidebar {
		position: static;
	}

	.thj .related-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.thj .thj-cards {
		grid-template-columns: repeat(2, 1fr);
	}

	.thj .thj-filters-bar {
		grid-template-columns: repeat(2, 1fr);
	}

	.thj .thj-filters-search {
		grid-column: 1 / -1;
	}
}

@media (max-width: 768px) {
	.thj .section,
	.thj .job-description,
	.thj .related-positions {
		padding: 60px 0;
	}

	.thj .job-overview {
		padding: 40px 0;
	}

	.thj .page-hero {
		padding: 40px 0;
	}

	.thj .page-hero h1 {
		font-size: 2rem;
	}

	.thj h2 {
		font-size: 1.8rem;
	}

	.thj .job-title {
		font-size: 1.5rem;
	}

	.thj .detail-grid,
	.thj .benefits-grid,
	.thj .related-grid,
	.thj .why-grid,
	.thj .thj-cards,
	.thj .thj-apply-form-grid {
		grid-template-columns: 1fr;
	}

	/* One control per row once labels would start wrapping. */
	.thj .thj-filters-bar {
		grid-template-columns: 1fr;
	}

	.thj .thj-filters {
		padding: 16px;
	}

	.thj .thj-filters-actions {
		justify-content: space-between;
	}


	.thj .apply-form-box {
		padding: 28px 22px;
	}

	.thj .apply-form-box .form-group select {
		font-size: 0.95rem;
	}

	.thj .btn {
		width: 100%;
	}
}
