/**
 * Brand colors — #57CBB8 #864170 #FFFFFF #FF7491 #111111 #F2F5F7
 */
.hrrm-careers,
.hrrm-single-job,
.hrrm-careers--embed,
.hrrm-single-job--embed {
	--hrrm-primary: #57cbb8;
	--hrrm-primary-hover: #45b5a3;
	--hrrm-accent: #864170;
	--hrrm-accent-hover: #ff7491;
	--hrrm-white: #ffffff;
	--hrrm-text: #111111;
	--hrrm-muted: #5c5c5c;
	--hrrm-surface: #ffffff;
	--hrrm-border: #57CBB8;
	--hrrm-primary-soft: rgba(87, 203, 184, 0.12);
	--hrrm-accent-soft: rgba(134, 65, 112, 0.1);
}

.hrrm-careers a:not(.hrrm-btn):not(.hrrm-btn-apply),
.hrrm-single-job a:not(.hrrm-btn):not(.hrrm-btn-apply) {
	color: var(--hrrm-accent);
}
.hrrm-careers a:not(.hrrm-btn):not(.hrrm-btn-apply):hover,
.hrrm-single-job a:not(.hrrm-btn):not(.hrrm-btn-apply):hover {
	color: var(--hrrm-accent-hover);
}

.hrrm-careers,
.hrrm-single-job {
	max-width: 1200px;
	margin: 0 auto;
	padding: 32px 1px 48px;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	color: var(--hrrm-text);
	box-sizing: border-box;
}
.hrrm-careers *,
.hrrm-single-job * {
	box-sizing: border-box;
}
.hrrm-careers-hero,
.hrrm-careers .hrrm-careers-hero {
	text-align: center;
	margin-bottom: 28px;
	padding: 8px 0 4px;
}
.hrrm-careers-hero h1,
.hrrm-careers-title {
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	color: var(--hrrm-text);
	margin: 0 0 10px;
	font-weight: 800;
	letter-spacing: -0.02em;
}
.hrrm-careers-tagline {
	margin: 0;
	color: var(--hrrm-muted);
	font-size: 16px;
	line-height: 1.5;
}
.hrrm-careers-count {
	margin: 0 0 20px;
	font-size: 14px;
	font-weight: 600;
	color: var(--hrrm-primary, #4f46e5);
}
.hrrm-filters {
	margin-bottom: 28px;
	padding: 18px;
	background: linear-gradient(180deg, var(--hrrm-white) 0%, var(--hrrm-surface) 100%);
	border: 2px solid var(--hrrm-border);
	border-radius: 14px;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.hrrm-filters input, .hrrm-filters select, .hrrm-filters button {
	padding: 10px 14px;
	border: 2px solid #cbd5e1;
	border-radius: 8px;
	font-size: 14px;
}
.hrrm-filters button {
	background: var(--hrrm-primary);
	color: #fff;
	border-color: var(--hrrm-primary);
	cursor: pointer;
}
.hrrm-jobs-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 24px;
}
.hrrm-job-card {
	background: #fff;
	border: 2px solid var(--hrrm-border);
	border-radius: 16px;
	padding: 24px;
	transition: box-shadow .2s, transform .2s;
	position: relative;
}
.hrrm-job-card:hover {
	box-shadow: 0 12px 24px rgba(15,23,42,.08);
	transform: translateY(-2px);
}
.hrrm-job-card.is-featured {
	border-color: var(--hrrm-primary);
	box-shadow: 0 0 0 1px rgba(87, 203, 184, 0.25);
}
.hrrm-job-card.is-featured,
.hrrm-job-card.is-urgent {
	padding-top: 40px;
}
.hrrm-badge-urgent {
	position: absolute;
	top: 14px;
	right: 14px;
	background: var(--hrrm-accent-hover);
	color: var(--hrrm-white);
	font-size: 10px;
	font-weight: 700;
	padding: 5px 10px;
	border-radius: 6px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	z-index: 2;
}
.hrrm-job-card h2 { margin: 0 0 12px; font-size: 1.25rem; }
.hrrm-job-card h2 a { color: var(--hrrm-text); text-decoration: none; }
.hrrm-job-meta {
	list-style: none;
	padding: 0;
	margin: 0 0 16px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.hrrm-job-meta li {
	background: var(--hrrm-surface);
	padding: 4px 10px;
	border-radius: 6px;
	font-size: 13px;
	color: var(--hrrm-muted);
}
.hrrm-btn {
	display: inline-block;
	padding: 10px 20px;
	background: var(--hrrm-primary);
	color: var(--hrrm-white) !important;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 600;
	border: none;
	cursor: pointer;
}
.hrrm-btn-primary { width: 100%; max-width: 280px; }
.hrrm-application-form fieldset {
	border: 2px solid var(--hrrm-border);
	border-radius: 12px;
	padding: 20px;
	margin-bottom: 20px;
}
.hrrm-application-form legend {
	font-weight: 700;
	padding: 0 8px;
}
.hrrm-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 16px;
	margin-bottom: 12px;
}
.hrrm-application-form label {
	display: block;
	font-size: 14px;
	font-weight: 500;
	margin-bottom: 12px;
}
.hrrm-application-form input,
.hrrm-application-form select,
.hrrm-application-form textarea {
	width: 100%;
	margin-top: 4px;
	padding: 10px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	box-sizing: border-box;
}
.hrrm-form-message { margin: 16px 0; padding: 12px; border-radius: 8px; }
.hrrm-form-message.is-success { background: #dcfce7; color: #166534; }
.hrrm-form-message.is-error { background: #fee2e2; color: #991b1b; }
/* —— Single job page —— */
.hrrm-single-job,
.hrrm-careers--detail,
.hrrm-careers.hrrm-careers--embed {
	box-sizing: border-box;
	max-width: 1300px;
	margin: 0 auto;
	padding: clamp(16px, 4vw, 40px);
	width: 100%;
}
.hrrm-single-job *,
.hrrm-careers--detail * {
	box-sizing: border-box;
}
.hrrm-job-article {
	background: #fff;
	border: 2px solid var(--hrrm-border);
	border-radius: 16px;
	padding: clamp(20px, 4vw, 32px);
	box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
	overflow: hidden;
}
.hrrm-job-detail-hero {
	margin-bottom: 24px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--hrrm-border);
	background: linear-gradient(180deg, var(--hrrm-white) 0%, #fff 100%);
	margin: calc(-1 * clamp(20px, 4vw, 32px)) calc(-1 * clamp(20px, 4vw, 32px)) 24px;
	padding: clamp(20px, 4vw, 28px) clamp(20px, 4vw, 32px) 24px;
	border-radius: 16px 16px 0 0;
}
.hrrm-back-link {
	margin: 0 0 18px;
	font-size: 14px;
}
.hrrm-back-link a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--hrrm-primary);
	text-decoration: none;
	font-weight: 600;
}
.hrrm-back-link a:hover {
	text-decoration: underline;
}
.hrrm-back-icon {
	font-size: 1.1em;
	line-height: 1;
}
.hrrm-job-detail-label {
	margin: 0 0 6px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--hrrm-primary);
}
.hrrm-job-title {
	margin: 0;
	font-size: clamp(1.5rem, 4vw, 2.15rem);
	color: var(--hrrm-text);
	line-height: 1.2;
}
.hrrm-job-title-row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px 20px;
	margin-bottom: 20px;
}
.hrrm-job-title-block {
	flex: 1 1 220px;
	min-width: 0;
}
.hrrm-job-header {
	margin-bottom: 28px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--hrrm-border);
}
.hrrm-job-header h1 {
	margin: 0;
	font-size: clamp(1.5rem, 4vw, 2rem);
	color: var(--hrrm-text);
	line-height: 1.25;
	flex: 1 1 200px;
}
.hrrm-job-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.hrrm-badge {
	display: inline-block;
	font-size: 12px;
	font-weight: 600;
	padding: 5px 10px;
	border-radius: 6px;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}
.hrrm-badge-featured {
	background: var(--hrrm-accent-soft);
	color: var(--hrrm-accent);
}
.hrrm-badge-urgent {
	background: #fee2e2;
	color: #b91c1c;
}
.hrrm-badge-closed {
	background: var(--hrrm-surface);
	color: var(--hrrm-muted);
}
.hrrm-job-summary {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 16px;
	margin: 0;
}
.hrrm-summary-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	background: #fff;
	border: 1px solid var(--hrrm-border);
	border-radius: 12px;
	padding: 14px 16px;
	margin: 0;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.hrrm-summary-icon {
	font-size: 1.25rem;
	line-height: 1;
	flex-shrink: 0;
}
.hrrm-summary-text {
	min-width: 0;
	flex: 1;
}
.hrrm-summary-item dt {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--hrrm-muted);
	margin: 0 0 6px;
}
.hrrm-summary-item dd {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	color: var(--hrrm-text);
	line-height: 1.35;
	word-break: break-word;
}
.hrrm-tabs-shell {
	margin-bottom: 8px;
}
.hrrm-tabs-hint {
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 600;
	color: var(--hrrm-muted);
}
.hrrm-job-tabs {
	display: flex;
	gap: 8px;
	margin-bottom: 24px;
	padding: 6px;
	background: var(--hrrm-surface);
	border-radius: 14px;
	position: sticky;
	top: 8px;
	z-index: 20;
	-webkit-overflow-scrolling: touch;
}
.hrrm-tab {
	flex: 1 1 0;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 12px;
	min-height: 56px;
	padding: 12px 14px;
	margin: 0;
	border: none;
	border-radius: 10px;
	background: transparent;
	color: var(--hrrm-muted);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	text-align: left;
	transition: background .2s, color .2s, box-shadow .2s;
	-webkit-tap-highlight-color: transparent;
}
.hrrm-tab-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
.hrrm-tab-label {
	display: block;
	font-size: 14px;
	font-weight: 700;
	color: inherit;
	line-height: 1.25;
}
.hrrm-tab-desc {
	display: block;
	font-size: 11px;
	font-weight: 500;
	color: var(--hrrm-muted);
	line-height: 1.3;
}
.hrrm-tab.is-active .hrrm-tab-desc {
	color: var(--hrrm-muted);
}
.hrrm-tab:hover:not(:disabled) {
	color: var(--hrrm-accent);
	background: rgba(255, 255, 255, 0.6);
}
.hrrm-tab.is-active {
	color: var(--hrrm-accent);
	background: var(--hrrm-white);
	box-shadow: 0 2px 8px rgba(17, 17, 17, 0.08);
}
.hrrm-tab:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}
.hrrm-tab-icon {
	font-size: 1.1em;
	line-height: 1;
}
.hrrm-tab-panels {
	margin-bottom: env(safe-area-inset-bottom, 0);
}
.hrrm-tab-panel {
	animation: hrrm-fade-in .25s ease;
}
.hrrm-tab-panel[hidden] {
	display: none !important;
}
.hrrm-panel-card {
	background: #fafbfc;
	border: 1px solid var(--hrrm-border);
	border-radius: 14px;
	padding: clamp(18px, 3vw, 28px);
}
.hrrm-panel-card--form {
	background: #fff;
}
@keyframes hrrm-fade-in {
	from { opacity: 0; transform: translateY(6px); }
	to { opacity: 1; transform: translateY(0); }
}
.hrrm-section-title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: clamp(1.05rem, 3vw, 1.2rem);
	color: var(--hrrm-text);
	margin: 0 0 14px;
}
.hrrm-section-icon {
	font-size: 1.15em;
	line-height: 1;
}
.hrrm-prose {
	word-wrap: break-word;
	overflow-wrap: break-word;
}
.hrrm-prose ul,
.hrrm-prose ol {
	padding-left: 1.35em;
}
.hrrm-overview-empty {
	text-align: center;
	padding: 36px 20px;
	background: #fff;
	border: 1px dashed #cbd5e1;
	border-radius: 12px;
}
.hrrm-overview-empty__icon {
	font-size: 2.5rem;
	display: block;
	margin-bottom: 12px;
	opacity: 0.7;
}
.hrrm-overview-empty h3 {
	margin: 0 0 8px;
	font-size: 1.1rem;
	color: var(--hrrm-text);
}
.hrrm-overview-empty p {
	margin: 0;
	color: var(--hrrm-muted);
	font-size: 15px;
	line-height: 1.55;
	max-width: 420px;
	margin-left: auto;
	margin-right: auto;
}
.hrrm-overview-cta__inner h3 {
	margin: 0 0 8px;
	font-size: 1.1rem;
	color: var(--hrrm-accent);
}
.hrrm-apply-eyebrow {
	margin: 0 0 6px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--hrrm-primary);
}
.hrrm-apply-subtitle {
	margin: 0;
	color: var(--hrrm-muted);
	font-size: 15px;
}
.hrrm-mobile-apply-bar {
	display: none;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 100;
	padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0));
	background: rgba(255, 255, 255, 0.96);
	border-top: 1px solid var(--hrrm-border);
	box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.1);
	backdrop-filter: blur(8px);
}
.hrrm-mobile-apply-bar.is-hidden {
	display: none !important;
}
.hrrm-btn-block {
	width: 100%;
	display: block;
	text-align: center;
}
.hrrm-job-article.is-apply-tab {
	padding-bottom: 88px;
}
.hrrm-section {
	margin-bottom: 32px;
	padding-bottom: 28px;
	border-bottom: 1px solid var(--hrrm-surface);
}
.hrrm-section:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}
.hrrm-section h2 {
	font-size: clamp(1.1rem, 3vw, 1.25rem);
	color: var(--hrrm-text);
	margin: 0 0 14px;
}
.hrrm-section-body {
	font-size: 15px;
	line-height: 1.65;
	color: var(--hrrm-text);
}
.hrrm-section-body p {
	margin: 0 0 1em;
}
.hrrm-overview-cta {
	margin-top: 32px;
	padding: 24px;
	background: linear-gradient(135deg, var(--hrrm-primary-soft) 0%, var(--hrrm-white) 100%);
	border: 1px solid var(--hrrm-border);
	border-radius: 12px;
	text-align: center;
}
.hrrm-overview-cta p {
	margin: 0 0 16px;
	color: var(--hrrm-muted);
	font-size: 15px;
}
.hrrm-btn-lg {
	padding: 14px 28px;
	font-size: 16px;
	width: 100%;
	max-width: 320px;
}
.hrrm-apply-section {
	margin-top: 0;
}
.hrrm-apply-header {
	margin-bottom: 24px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--hrrm-border);
}
.hrrm-apply-header h2 {
	margin: 0 0 8px;
	font-size: clamp(1.25rem, 3vw, 1.5rem);
	color: var(--hrrm-text);
}
.hrrm-apply-header p {
	margin: 0;
	color: var(--hrrm-muted);
	font-size: 15px;
}
.hrrm-form-wrap {
	max-width: 100%;
	overflow-x: hidden;
}
.hrrm-closed-notice {
	padding: 20px;
	background: #fef3c7;
	border: 1px solid #fcd34d;
	border-radius: 10px;
	color: #92400e;
	margin: 0;
}
.hrrm-single-job .hrrm-application-form fieldset {
	background: #fafafa;
}
.hrrm-single-job .hrrm-btn-primary {
	width: 100%;
	max-width: none;
	padding: 14px 24px;
	font-size: 16px;
}

/* Responsive: tablets */
@media (max-width: 768px) {
	.hrrm-careers, .hrrm-single-job {
		padding: 24px 16px;
	}
	.hrrm-job-article {
		padding: 20px 16px;
		border-radius: 12px;
	}
	.hrrm-job-summary {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}
	.hrrm-summary-item {
		padding: 12px;
	}
	.hrrm-job-tabs {
		top: 0;
		margin-left: calc(-1 * clamp(20px, 4vw, 32px));
		margin-right: calc(-1 * clamp(20px, 4vw, 32px));
		padding-left: clamp(12px, 3vw, 20px);
		padding-right: clamp(12px, 3vw, 20px);
		border-radius: 0;
		overflow-x: auto;
		scroll-snap-type: x proximity;
	}
	.hrrm-tab {
		flex: 1 0 min(48%, 220px);
		scroll-snap-align: start;
		min-height: 64px;
		padding: 10px 12px;
	}
	.hrrm-tab-desc {
		display: none;
	}
	.hrrm-mobile-apply-bar {
		display: block;
	}
	.hrrm-overview-cta .hrrm-btn-lg {
		display: none;
	}
	.hrrm-row {
		grid-template-columns: 1fr;
	}
	.hrrm-application-form fieldset {
		padding: 16px 14px;
	}
	.hrrm-filters {
		flex-direction: column;
	}
	.hrrm-filters input,
	.hrrm-filters select,
	.hrrm-filters button {
		width: 100%;
	}
	.hrrm-jobs-grid {
		grid-template-columns: 1fr;
	}
}

/* Responsive: phones */
@media (max-width: 480px) {
	.hrrm-careers-hero h1 {
		font-size: 1.75rem;
	}
	.hrrm-job-summary {
		grid-template-columns: 1fr;
	}
	.hrrm-tab {
		flex: 1 0 46%;
	}
	.hrrm-tab-label {
		line-height: 1.2;
		font-size: 13px;
	}
	.hrrm-job-detail-hero {
		margin-left: -16px;
		margin-right: -16px;
		padding-left: 16px;
		padding-right: 16px;
	}
	.hrrm-overview-cta {
		padding: 20px 16px;
	}
	.hrrm-application-form input,
	.hrrm-application-form select,
	.hrrm-application-form textarea {
		font-size: 16px; /* prevents iOS zoom on focus */
	}
}

/* Careers embed + theme blend */
.hrrm-careers--embed,
.hrrm-single-job--embed {
	max-width: 100%;
	padding: 0;
	margin: 1.5em 0;
}
.hrrm-single-job--embed .hrrm-job-article {
	border-radius: 12px;
}
.hrrm-single-job--embed .hrrm-job-detail-hero {
	margin-left: 0;
	margin-right: 0;
	border-radius: 12px 12px 0 0;
}
.hrrm-careers-brand {
	margin: 0 0 6px;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--hrrm-accent);
}
.hrrm-careers-title {
	margin: 0 0 8px;
	font-size: clamp(1.5rem, 4vw, 2rem);
	color: var(--hrrm-text);
}
.hrrm-careers-tagline {
	margin: 0;
	color: var(--hrrm-muted);
	font-size: 15px;
}
.hrrm-filters__row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: stretch;
	width: 100%;
}
.hrrm-filter-search {
	position: relative;
	flex: 1 1 200px;
}
.hrrm-filter-icon {
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	opacity: 0.5;
	pointer-events: none;
}
.hrrm-filter-search input {
	width: 100%;
	padding-left: 36px !important;
	box-sizing: border-box;
}
.hrrm-btn-filter {
	white-space: nowrap;
}
.hrrm-btn-outline {
	background: #fff !important;
	color: var(--hrrm-primary) !important;
	border: 2px solid var(--hrrm-primary) !important;
}
.hrrm-btn-outline:hover {
	background: var(--hrrm-primary-soft) !important;
	color: var(--hrrm-accent) !important;
	border-color: var(--hrrm-accent) !important;
}
.hrrm-jobs-grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.hrrm-jobs-grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.hrrm-jobs-grid--cols-4 { grid-template-columns: repeat(4, 1fr); }
.hrrm-job-card__title {
	margin: 0 0 10px;
	font-size: 1.15rem;
}
.hrrm-job-card__title a {
	color: var(--hrrm-text);
	text-decoration: none;
}
.hrrm-job-card__title a:hover {
	color: var(--hrrm-accent-hover);
}
.hrrm-job-card__excerpt {
	margin: 0 0 14px;
	font-size: 14px;
	color: var(--hrrm-muted);
	line-height: 1.5;
}
.hrrm-job-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.hrrm-job-card__actions .hrrm-btn {
	flex: 1;
	min-width: 120px;
	text-align: center;
	justify-content: center;
}
.hrrm-job-card--portal {
	display: flex;
	flex-direction: column;
}
.hrrm-job-card--portal .hrrm-job-card__title {
	margin: 0 0 12px;
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--hrrm-text);
	line-height: 1.35;
}
.hrrm-job-card--portal .hrrm-job-meta-pills {
	margin-bottom: 16px;
}
.hrrm-job-card--portal .hrrm-job-card__actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-top: auto;
}
.hrrm-job-card--portal .hrrm-job-card__actions .hrrm-btn {
	width: 100%;
}
.hrrm-job-card__closed {
	font-size: 13px;
	font-weight: 600;
	color: var(--hrrm-muted);
	align-self: center;
}
.hrrm-job-header-ref__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	flex-shrink: 0;
}
.hrrm-job-footer-apply {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
.hrrm-job-footer-apply .hrrm-btn {
	flex: 1 1 160px;
}
.hrrm-badge-featured {
	position: absolute;
	top: 14px;
	left: 14px;
	background: var(--hrrm-accent);
	color: var(--hrrm-white);
	font-size: 10px;
	font-weight: 700;
	padding: 5px 10px;
	border-radius: 6px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	z-index: 2;
}
.hrrm-job-card.is-featured.is-urgent .hrrm-badge-featured {
	left: 14px;
	right: auto;
}
.hrrm-no-jobs {
	grid-column: 1 / -1;
	text-align: center;
	padding: 48px 24px;
	background: var(--hrrm-white);
	border-radius: 12px;
	border: 1px dashed #cbd5e1;
}
.hrrm-no-jobs__icon {
	font-size: 2.5rem;
	display: block;
	margin-bottom: 12px;
}
.hrrm-pagination ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 28px 0 0;
	padding: 0;
	justify-content: center;
}
.hrrm-pagination a,
.hrrm-pagination span {
	display: inline-block;
	padding: 8px 14px;
	border-radius: 8px;
	border: 1px solid var(--hrrm-border);
	text-decoration: none;
	color: var(--hrrm-text);
	font-size: 14px;
	font-weight: 500;
}
.hrrm-pagination .current {
	background: var(--hrrm-primary);
	border-color: var(--hrrm-primary);
	color: #fff;
}
.hrrm-notice {
	padding: 14px 18px;
	border-radius: 10px;
	margin: 1em 0;
}
.hrrm-notice--error {
	background: #fee2e2;
	color: #991b1b;
	border: 1px solid #fecaca;
}

/* Application form UI */
.hrrm-application-form {
	background: #fafbfc;
	border: 1px solid var(--hrrm-border);
	border-radius: 16px;
	padding: 24px;
}
.hrrm-form-progress {
	display: flex;
	gap: 6px;
	margin-bottom: 24px;
}
.hrrm-form-progress span {
	flex: 1;
	height: 4px;
	border-radius: 999px;
	background: var(--hrrm-border);
}
.hrrm-form-progress span.is-active {
	background: linear-gradient(90deg, var(--hrrm-primary), var(--hrrm-accent-hover));
}
.hrrm-fieldset {
	border: none;
	background: #fff;
	border-radius: 12px;
	padding: 20px;
	margin: 0 0 16px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.hrrm-fieldset legend {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 15px;
	font-weight: 700;
	color: var(--hrrm-text);
	margin-bottom: 16px;
	padding: 0;
	width: 100%;
}
.hrrm-step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--hrrm-primary);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
}
.hrrm-field {
	display: block;
	margin-bottom: 14px;
}
.hrrm-field--full {
	grid-column: 1 / -1;
}
.hrrm-field-label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: var(--hrrm-text);
	margin-bottom: 6px;
}
.hrrm-field-label em {
	color: #dc2626;
	font-style: normal;
}
.hrrm-field input,
.hrrm-field select,
.hrrm-field textarea {
	width: 100%;
	box-sizing: border-box;
}
.hrrm-field--checkbox {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}
.hrrm-field--checkbox input {
	width: auto;
	margin-top: 4px;
}
.hrrm-field--file small {
	display: block;
	margin-top: 6px;
	font-size: 12px;
	color: var(--hrrm-muted);
}
.hrrm-form-footer {
	margin-top: 8px;
	text-align: center;
}
.hrrm-btn-submit {
	width: 100%;
	max-width: 360px;
	padding: 16px 28px !important;
	font-size: 16px !important;
}
.hrrm-btn-submit.is-loading {
	opacity: 0.75;
	pointer-events: none;
}
.hrrm-form-privacy {
	margin: 12px 0 0;
	font-size: 12px;
	color: var(--hrrm-muted);
}
.hrrm-form-message:empty {
	display: none;
}
.hrrm-form-message.is-success {
	background: #dcfce7;
	color: #166534;
	border: 1px solid #86efac;
	padding: 14px;
	border-radius: 10px;
	margin-bottom: 16px;
}
.hrrm-form-message.is-error {
	background: #fee2e2;
	color: #991b1b;
	border: 1px solid #fecaca;
	padding: 14px;
	border-radius: 10px;
	margin-bottom: 16px;
}
.hrrm-hp-field {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
}
.hrrm-field-hint {
	display: block;
	margin-top: 6px;
	font-size: 12px;
	color: var(--hrrm-muted);
	line-height: 1.4;
}
.hrrm-field-error {
	display: block;
	margin-top: 6px;
	font-size: 12px;
	font-weight: 600;
	color: #dc2626;
	min-height: 0;
}
.hrrm-field-error:empty {
	display: none;
}
.hrrm-field.is-invalid input,
.hrrm-field.is-invalid select,
.hrrm-field.is-invalid textarea {
	border-color: #dc2626;
	box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}
.hrrm-field input:focus,
.hrrm-field select:focus,
.hrrm-field textarea:focus {
	border-color: var(--hrrm-primary);
	outline: none;
	box-shadow: 0 0 0 3px rgba(87, 203, 184, 0.25);
}
.hrrm-field--file input[type="file"] {
	padding: 10px;
	background: var(--hrrm-white);
	border: 1px dashed #cbd5e1;
	border-radius: 10px;
	cursor: pointer;
	font-size: 14px;
}
.hrrm-field--file input[type="file"]::file-selector-button {
	margin-right: 12px;
	padding: 8px 14px;
	border: none;
	border-radius: 8px;
	background: var(--hrrm-primary);
	color: #fff;
	font-weight: 600;
	font-size: 13px;
	cursor: pointer;
}
.hrrm-form-message:not(:empty) {
	margin-bottom: 16px;
}

@media (max-width: 900px) {
	.hrrm-jobs-grid--cols-3,
	.hrrm-jobs-grid--cols-4 {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 600px) {
	.hrrm-jobs-grid--cols-2,
	.hrrm-jobs-grid--cols-3,
	.hrrm-jobs-grid--cols-4 {
		grid-template-columns: 1fr;
	}
	.hrrm-job-card--portal .hrrm-job-card__actions {
		grid-template-columns: 1fr;
	}
	.hrrm-application-form {
		padding: 16px;
	}
}

/* —— Job detail (reference layout) —— */
.hrrm-job-article--ref {
	background: var(--hrrm-white);
	border: none;
	box-shadow: none;
	padding: 0;
}
.hrrm-sr-tabs {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.hrrm-job-header-ref {
	margin-bottom: 28px;
}
.hrrm-job-meta-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 14px;
}
.hrrm-meta-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 500;
	color: var(--hrrm-text);
}
.hrrm-meta-pill--location .hrrm-pin::before {
	content: "📍";
}
.hrrm-job-header-ref__row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px 24px;
}
.hrrm-job-title-ref {
	margin: 0;
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	font-weight: 700;
	color: var(--hrrm-text);
	line-height: 1.2;
	flex: 1 1 280px;
}
.hrrm-btn-apply {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 28px;
	background: var(--hrrm-primary);
	color: var(--hrrm-white) !important;
	border: 1px solid var(--hrrm-primary);
	border-radius: 6px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.2s, border-color 0.2s;
}
.hrrm-btn-apply:hover {
	background: var(--hrrm-primary-hover);
	border-color: var(--hrrm-primary-hover);
	color: var(--hrrm-white) !important;
}
.hrrm-job-body-ref {
	max-width: 100%;
}
.hrrm-job-intro {
	margin-bottom: 24px;
	font-size: 16px;
	line-height: 1.65;
	color: var(--hrrm-text);
}
.hrrm-job-block {
	margin-bottom: 28px;
}
.hrrm-job-block__title {
	margin: 0 0 14px;
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--hrrm-accent);
}
.hrrm-check-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.hrrm-check-list li {
	position: relative;
	padding: 0 0 10px 28px;
	font-size: 15px;
	line-height: 1.55;
	color: var(--hrrm-text);
}
.hrrm-check-list li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0;
	color: var(--hrrm-primary);
	font-weight: 700;
}
.hrrm-prose--checks ul {
	list-style: none;
	padding-left: 0;
}
.hrrm-prose--checks li {
	padding-left: 28px;
	position: relative;
}
.hrrm-job-footer-apply {
	margin-top: 32px;
	padding-top: 24px;
}
.hrrm-apply-panel-head {
	margin-bottom: 24px;
}
.hrrm-link-back {
	background: none;
	border: none;
	padding: 0;
	color: var(--hrrm-accent);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	margin-bottom: 12px;
}
.hrrm-link-back:hover {
	color: var(--hrrm-accent-hover);
	text-decoration: underline;
}
.hrrm-apply-panel-title {
	margin: 0 0 6px;
	font-size: 1.5rem;
	color: var(--hrrm-text);
}
.hrrm-apply-panel-job {
	margin: 0;
	color: var(--hrrm-muted);
	font-size: 15px;
}

/* —— Clean split application form —— */
.hrrm-application-form--clean {
	background: transparent;
	border: none;
	padding: 0;
}
.hrrm-form-card {
	background: var(--hrrm-white);
	border: 1px solid var(--hrrm-border);
	border-radius: 12px;
	padding: clamp(20px, 3vw, 32px);
	box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}
.hrrm-form-section {
	margin-bottom: 28px;
	padding-bottom: 28px;
	border-bottom: 1px solid var(--hrrm-surface);
}
.hrrm-form-section:last-of-type {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}
.hrrm-form-section__title {
	margin: 0 0 18px;
	font-size: 1rem;
	font-weight: 700;
	color: var(--hrrm-text);
}
.hrrm-form-split {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px 20px;
	margin-bottom: 16px;
}
.hrrm-form-split--3 {
	grid-template-columns: repeat(3, 1fr);
}
.hrrm-application-form--clean .hrrm-field-label {
	font-size: 14px;
	font-weight: 700;
	color: var(--hrrm-text);
	margin-bottom: 8px;
}
.hrrm-application-form--clean .hrrm-field input,
.hrrm-application-form--clean .hrrm-field select,
.hrrm-application-form--clean .hrrm-field textarea {
	padding: 12px 14px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	font-size: 15px;
	background: #fff;
	color: var(--hrrm-text);
}
.hrrm-application-form--clean .hrrm-field input::placeholder,
.hrrm-application-form--clean .hrrm-field textarea::placeholder {
	color: #9ca3af;
}
.hrrm-application-form--clean .hrrm-form-footer {
	margin-top: 28px;
	text-align: left;
}
.hrrm-application-form--clean .hrrm-btn-submit {
	max-width: 280px;
	width: auto;
}
@media (max-width: 768px) {
	.hrrm-form-split,
	.hrrm-form-split--3 {
		grid-template-columns: 1fr;
	}
	.hrrm-job-header-ref__row {
		flex-direction: column;
	}
	.hrrm-btn-apply {
		width: 100%;
	}
}

/* —— Job modals (description + apply) —— */
body.hrrm-apply-modal-open {
	overflow: hidden;
}
.hrrm-job-modal,
.hrrm-apply-modal {
	position: fixed;
	inset: 0;
	z-index: 100050;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: max(12px, env(safe-area-inset-top, 0)) 12px max(12px, env(safe-area-inset-bottom, 0));
	box-sizing: border-box;
}
.hrrm-job-modal[hidden],
.hrrm-apply-modal[hidden] {
	display: none !important;
}
.hrrm-job-modal.is-open,
.hrrm-apply-modal.is-open {
	animation: hrrmModalFadeIn 0.2s ease;
}
.hrrm-job-modal__backdrop,
.hrrm-apply-modal__backdrop {
	position: absolute;
	inset: 0;
	border: none;
	padding: 0;
	margin: 0;
	background: rgba(15, 23, 42, 0.55);
	cursor: pointer;
}
.hrrm-job-modal__panel,
.hrrm-apply-modal__panel {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 420px;
	max-height: min(90vh, 640px);
	display: flex;
	flex-direction: column;
	background: var(--hrrm-white, #fff);
	border-radius: 16px;
	box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
	overflow: hidden;
	animation: hrrmModalSlideUp 0.25s ease;
}
.hrrm-job-modal__panel--wide {
	max-width: 560px;
	max-height: min(88vh, 720px);
}
.hrrm-job-modal__head,
.hrrm-apply-modal__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 18px 12px;
	border-bottom: 1px solid var(--hrrm-border, #e5e7eb);
	flex-shrink: 0;
}
.hrrm-job-modal__eyebrow,
.hrrm-apply-modal__eyebrow {
	margin: 0 0 4px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--hrrm-primary, #2563eb);
}
.hrrm-job-modal__title,
.hrrm-apply-modal__title {
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.35;
	font-weight: 700;
	color: var(--hrrm-text, #0f172a);
}
.hrrm-job-modal__close,
.hrrm-apply-modal__close {
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	border: none;
	border-radius: 8px;
	background: var(--hrrm-surface, #f1f5f9);
	color: var(--hrrm-muted, #64748b);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s, color 0.15s;
}
.hrrm-job-modal__close:hover,
.hrrm-apply-modal__close:hover {
	background: #e2e8f0;
	color: var(--hrrm-text, #0f172a);
}
.hrrm-job-modal__body,
.hrrm-apply-modal__body {
	padding: 12px 18px 18px;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}
.hrrm-job-modal__foot {
	flex-shrink: 0;
	padding: 12px 18px 18px;
	border-top: 1px solid var(--hrrm-border, #e5e7eb);
}
.hrrm-job-modal__foot .hrrm-btn {
	width: 100%;
}
.hrrm-job-desc-body .hrrm-job-block {
	margin-bottom: 20px;
}
.hrrm-job-desc-body .hrrm-job-block__title {
	margin: 0 0 10px;
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--hrrm-text);
}
.hrrm-job-desc-body .hrrm-job-intro {
	font-size: 14px;
	line-height: 1.6;
}
.hrrm-application-form--compact {
	background: transparent;
	border: none;
	padding: 0;
}
.hrrm-form-compact .hrrm-form-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px 12px;
	margin-bottom: 10px;
}
.hrrm-application-form--compact .hrrm-field-label {
	font-size: 12px;
	font-weight: 600;
	margin-bottom: 4px;
}
.hrrm-application-form--compact .hrrm-field input,
.hrrm-application-form--compact .hrrm-field select,
.hrrm-application-form--compact .hrrm-field textarea {
	padding: 9px 11px;
	font-size: 14px;
	border-radius: 8px;
	border: 1px solid #d1d5db;
}
.hrrm-application-form--compact .hrrm-field-hint {
	font-size: 11px;
	margin-top: 4px;
	color: var(--hrrm-muted, #64748b);
}
.hrrm-form-more {
	margin: 8px 0 0;
	border: 1px solid var(--hrrm-border, #e5e7eb);
	border-radius: 8px;
	padding: 0 10px 10px;
}
.hrrm-form-more summary {
	padding: 10px 0;
	font-size: 13px;
	font-weight: 600;
	color: var(--hrrm-accent, #2563eb);
	cursor: pointer;
	list-style: none;
}
.hrrm-form-more summary::-webkit-details-marker {
	display: none;
}
.hrrm-form-more .hrrm-field {
	margin-top: 10px;
}
.hrrm-application-form--compact .hrrm-form-footer {
	margin-top: 14px;
}
.hrrm-application-form--compact .hrrm-btn-submit {
	width: 100%;
	max-width: none;
}
.hrrm-application-form--compact .hrrm-form-privacy {
	margin: 8px 0 0;
	font-size: 11px;
	text-align: center;
	color: var(--hrrm-muted, #64748b);
}
.hrrm-apply-modal .hrrm-form-message {
	margin: 0 0 10px;
	padding: 10px 12px;
	border-radius: 8px;
	font-size: 13px;
}
.hrrm-job-article:has(.hrrm-mobile-apply-bar) {
	padding-bottom: 80px;
}
@keyframes hrrmModalFadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}
@keyframes hrrmModalSlideUp {
	from {
		opacity: 0;
		transform: translateY(12px) scale(0.98);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}
@media (max-width: 480px) {
	.hrrm-job-modal,
	.hrrm-apply-modal {
		padding: 0;
		align-items: flex-end;
	}
	.hrrm-job-modal__panel,
	.hrrm-apply-modal__panel {
		max-width: none;
		max-height: 92vh;
		border-radius: 16px 16px 0 0;
	}
	.hrrm-mobile-apply-bar {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 8px;
	}
	.hrrm-job-card__actions {
		grid-template-columns: 1fr;
	}
	.hrrm-form-compact .hrrm-form-split {
		grid-template-columns: 1fr;
	}
}

/* ============================================================================
 * Frontend refresh — listing cards, full-page detail, full-width, modern form
 * Appended; overrides earlier rules via cascade order. (v1.1)
 * ========================================================================== */

/* —— Full-width layout option —— */
.hrrm-careers--full,
.hrrm-single-job--full {
	max-width: none;
	width: 100%;
	padding-left: clamp(16px, 5vw, 64px);
	padding-right: clamp(16px, 5vw, 64px);
}
.hrrm-careers--embed.hrrm-careers--full {
	padding-left: 0;
	padding-right: 0;
}

/* —— Listing: toolbar (count + clear) —— */
.hrrm-careers-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px 16px;
	margin: 0 0 20px;
}
.hrrm-careers-toolbar .hrrm-careers-count {
	margin: 0;
}
.hrrm-clear-filters {
	font-size: 13px;
	font-weight: 600;
	color: var(--hrrm-accent);
	text-decoration: none;
}
.hrrm-clear-filters:hover {
	text-decoration: underline;
}

/* —— Listing: cards —— */
.hrrm-jobs-grid {
	gap: 20px;
}
.hrrm-job-card--portal {
	display: flex;
	flex-direction: column;
	gap: 0;
	padding: 22px 22px 20px;
	border: 1px solid #e6ebef;
	border-radius: 16px;
	background: #fff;
	transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.hrrm-job-card--portal:hover {
	border-color: var(--hrrm-primary);
	box-shadow: 0 14px 30px rgba(15, 23, 42, .10);
	transform: translateY(-3px);
}
.hrrm-job-card--portal.is-featured {
	border-color: var(--hrrm-primary);
	box-shadow: 0 0 0 1px rgba(87, 203, 184, .35);
}
.hrrm-job-card__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 12px;
}
.hrrm-job-card--portal .hrrm-badge-featured,
.hrrm-job-card--portal .hrrm-badge-urgent {
	position: static;
	top: auto;
	left: auto;
	right: auto;
}
.hrrm-job-card--portal.is-featured,
.hrrm-job-card--portal.is-urgent {
	padding-top: 22px;
}
.hrrm-job-card__eyebrow {
	margin: 0 0 6px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--hrrm-accent);
}
.hrrm-job-card--portal .hrrm-job-card__title {
	margin: 0 0 10px;
	font-size: 1.18rem;
	font-weight: 700;
	line-height: 1.3;
}
.hrrm-job-card--portal .hrrm-job-card__title a {
	color: var(--hrrm-text);
	text-decoration: none;
}
.hrrm-job-card--portal .hrrm-job-card__title a:hover {
	color: var(--hrrm-accent);
}
.hrrm-job-card__excerpt {
	margin: 0 0 14px;
	font-size: 14px;
	line-height: 1.55;
	color: var(--hrrm-muted);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.hrrm-job-card--portal .hrrm-job-meta-pills {
	margin: 0 0 18px;
	gap: 8px 14px;
}
.hrrm-meta-pill--salary {
	font-weight: 700;
	color: var(--hrrm-accent);
}
.hrrm-job-card--portal .hrrm-job-card__actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-top: auto;
}
.hrrm-job-card--portal .hrrm-job-card__actions .hrrm-btn {
	width: 100%;
	padding: 11px 16px;
	font-size: 14px;
	text-align: center;
	justify-content: center;
}
.hrrm-job-card__closed {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	font-weight: 600;
	color: var(--hrrm-muted);
	background: var(--hrrm-surface);
	border-radius: 8px;
}

/* —— Full-page job detail —— */
.hrrm-job-detail {
	background: #fff;
	border: 1px solid #e6ebef;
	border-radius: 18px;
	padding: clamp(20px, 4vw, 40px);
	box-shadow: 0 4px 24px rgba(15, 23, 42, .06);
}
.hrrm-single-job--embed .hrrm-job-detail {
	border-radius: 14px;
}
.hrrm-job-detail .hrrm-back-link {
	margin: 0 0 20px;
}
.hrrm-job-detail__header {
	padding-bottom: 22px;
	margin-bottom: 28px;
	border-bottom: 1px solid var(--hrrm-surface);
}
.hrrm-job-detail__eyebrow {
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .07em;
	text-transform: uppercase;
	color: var(--hrrm-accent);
}
.hrrm-job-detail__title {
	margin: 0 0 16px;
	font-size: clamp(1.6rem, 4vw, 2.4rem);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -.01em;
	color: var(--hrrm-text);
}
.hrrm-job-detail__header .hrrm-job-meta-pills {
	margin: 0;
}
.hrrm-job-detail__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 36px;
	align-items: start;
}
.hrrm-job-detail__main {
	min-width: 0;
}
.hrrm-job-detail__main .hrrm-job-block:last-child {
	margin-bottom: 0;
}

/* At-a-glance sidebar */
.hrrm-job-detail__aside {
	position: sticky;
	top: 24px;
}
.hrrm-job-glance {
	background: linear-gradient(180deg, var(--hrrm-primary-soft) 0%, #fff 60%);
	border: 1px solid #e6ebef;
	border-radius: 16px;
	padding: 22px;
}
.hrrm-job-glance__title {
	margin: 0 0 14px;
	font-size: 1rem;
	font-weight: 700;
	color: var(--hrrm-text);
}
.hrrm-job-glance__list {
	margin: 0 0 18px;
	padding: 0;
	display: flex;
	flex-direction: column;
}
.hrrm-job-glance__row {
	display: flex;
	justify-content: space-between;
	gap: 14px;
	padding: 10px 0;
	border-bottom: 1px solid rgba(15, 23, 42, .07);
}
.hrrm-job-glance__row:last-child {
	border-bottom: none;
}
.hrrm-job-glance__row dt {
	margin: 0;
	font-size: 13px;
	color: var(--hrrm-muted);
	flex-shrink: 0;
}
.hrrm-job-glance__row dd {
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	color: var(--hrrm-text);
	text-align: right;
	word-break: break-word;
}
.hrrm-job-glance .hrrm-btn-block {
	margin-top: 4px;
}
.hrrm-job-glance .hrrm-badge-closed {
	display: block;
	text-align: center;
	padding: 10px;
	border-radius: 8px;
}

/* Bottom CTA */
.hrrm-job-detail__cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px 24px;
	margin-top: 32px;
	padding: 24px clamp(18px, 3vw, 28px);
	background: linear-gradient(135deg, var(--hrrm-primary-soft) 0%, #fff 100%);
	border: 1px solid #e6ebef;
	border-radius: 14px;
}
.hrrm-job-detail__cta-text h3 {
	margin: 0 0 4px;
	font-size: 1.15rem;
	color: var(--hrrm-text);
}
.hrrm-job-detail__cta-text p {
	margin: 0;
	font-size: 14px;
	color: var(--hrrm-muted);
}
.hrrm-job-detail__cta .hrrm-btn-lg {
	width: auto;
	max-width: none;
	flex-shrink: 0;
}

/* —— Modern file field (filename display) —— */
.hrrm-file-name {
	display: none;
	margin-top: 8px;
	padding: 8px 12px;
	font-size: 13px;
	font-weight: 600;
	color: var(--hrrm-accent);
	background: var(--hrrm-primary-soft);
	border-radius: 8px;
	word-break: break-all;
}
.hrrm-file-name.is-set {
	display: block;
}
.hrrm-field--file input[type="file"]:hover {
	border-color: var(--hrrm-primary);
}

/* —— Responsive —— */
@media (max-width: 960px) {
	.hrrm-job-detail__layout {
		grid-template-columns: 1fr;
		gap: 28px;
	}
	.hrrm-job-detail__aside {
		position: static;
		order: -1;
	}
	.hrrm-job-glance {
		background: var(--hrrm-surface);
	}
	/* The glance "Apply" button is redundant with the mobile bar on small screens. */
	.hrrm-job-glance .hrrm-btn-block.hrrm-open-apply-modal {
		display: none;
	}
}
@media (max-width: 600px) {
	.hrrm-job-card--portal .hrrm-job-card__actions {
		grid-template-columns: 1fr;
	}
	.hrrm-job-detail__cta {
		flex-direction: column;
		align-items: flex-start;
	}
	.hrrm-job-detail__cta .hrrm-btn-lg {
		width: 100%;
	}
	.hrrm-careers-toolbar {
		margin-bottom: 16px;
	}
}

/* Slightly roomier quick-apply modal for the modernized form */
.hrrm-apply-modal .hrrm-job-modal__panel {
	max-width: 540px;
}
@media (min-width: 481px) {
	.hrrm-apply-modal .hrrm-job-modal__panel {
		max-height: min(92vh, 760px);
	}
}

/* —— Mobile apply bar refinements (override earlier breakpoints) —— */
@media (max-width: 768px) {
	.hrrm-mobile-apply-bar {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 10px;
	}
	.hrrm-job-detail {
		padding-bottom: 84px;
	}
	/* Mobile bar now provides Apply; hide the duplicate sidebar button. */
	.hrrm-job-glance .hrrm-btn-block.hrrm-open-apply-modal {
		display: none;
	}
}
@media (min-width: 769px) and (max-width: 960px) {
	/* No mobile bar here, so keep the sidebar Apply button visible. */
	.hrrm-job-glance .hrrm-btn-block.hrrm-open-apply-modal {
		display: inline-flex;
		width: 100%;
		justify-content: center;
	}
}
