/* ==========================================================================
   "SKY" THEME for the smaller public pages: job list, job detail, job
   application, privacy/terms and the 404 page. Loaded after each page's own
   styles and Sky-common.css.
   ========================================================================== */
body,
.careers-page-layout,
.careers-body-wrapper,
.enterprise-job-wrapper,
.enterprise-body-wrapper {
	background: #f3f7fe !important;
	background-color: #f3f7fe !important;
}

/* ---------- Page headers: the signature gradient ---------- */
.careers-hero-section,
.enterprise-hero-header,
.apply-hero-header,
.legal-hero {
	background: linear-gradient(90deg, #020024 0%, #060552 7%, #090979 21%, #0482c9 56%, #0ea5e9 100%) !important;
	border-bottom: 0 !important;
}

.careers-hero-section .hero-title,
.enterprise-job-title,
.apply-hero-header h1,
.legal-hero h1,
.error-page-wrapper h1,
.results-heading,
.job-card-title,
.enterprise-section-title,
.overview-title,
.section-title-text,
.sidebar-widget-title,
.legal-body h2 {
	font-family: "Sora", "Inter", system-ui, sans-serif !important;
	letter-spacing: -0.02em;
}

.careers-hero-section .hero-title,
.enterprise-job-title,
.apply-hero-header h1 {
	font-weight: 600 !important;
	text-shadow: 0 2px 16px rgba(2, 0, 36, 0.5);
}

.careers-hero-section .hero-subtitle,
.enterprise-company-sub,
.apply-hero-header .text-white-50 {
	color: rgba(255, 255, 255, 0.9) !important;
}

.hero-stat-item,
.stat-pill,
.apply-meta-pill,
.meta-posted-badge {
	border-radius: 999px !important;
	background: rgba(255, 255, 255, 0.14) !important;
	border: 1px solid rgba(255, 255, 255, 0.28) !important;
	color: #ffffff !important;
}

.hero-stat-item i,
.stat-pill i,
.apply-meta-pill i {
	color: #bae6fd !important;
}

/* ---------- Cards ---------- */
.careers-filter-card,
.job-item-card,
.empty-results-box,
.enterprise-card,
.overview-table-card,
.similar-jobs-box,
.enterprise-bottom-apply-box,
.form-section-card,
.sidebar-widget {
	background: #ffffff !important;
	border: 1px solid #e1eafa !important;
	border-radius: 22px !important;
	box-shadow: 0 22px 44px -30px rgba(37, 99, 235, 0.4) !important;
}

.job-item-card {
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.job-item-card:hover {
	transform: translateY(-6px);
	border-color: #c7dbfb !important;
	box-shadow: 0 30px 54px -28px rgba(37, 99, 235, 0.55) !important;
}

.job-card-title,
.job-card-title a,
.results-heading,
.enterprise-section-title,
.overview-title,
.section-title-text,
.sidebar-widget-title {
	color: #0a1633 !important;
	font-weight: 600 !important;
}

.job-summary-preview,
.enterprise-text,
.enterprise-list li {
	color: #4a5672 !important;
	line-height: 1.7;
}

.similar-job-card {
	border-radius: 16px !important;
	border: 1px solid #e1eafa !important;
	background: #f7faff !important;
}

/* Chips and tags */
.tech-filter-pill,
.job-tech-tag,
.enterprise-skill-chip,
.clickable-skill-pill {
	border-radius: 999px !important;
}

.job-tech-tag,
.enterprise-skill-chip {
	background: #eef4ff !important;
	border: 1px solid #dbe8ff !important;
	color: #33405f !important;
}

.tech-filter-pill.active {
	background: linear-gradient(135deg, #2563eb, #38bdf8) !important;
	border-color: transparent !important;
	color: #ffffff !important;
}

/* Fields */
.filter-select,
.filter-search-input,
.search-input-wrap {
	border-radius: 14px !important;
	border-color: #d5e3fb !important;
}

.form-section-card .form-control,
.form-section-card .form-select {
	border-radius: 12px;
	border-color: #d5e3fb;
}

.form-section-card .form-control:focus,
.form-section-card .form-select:focus {
	border-color: #2563eb;
	box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
}

/* Buttons */
.btn-view-role,
.btn-enterprise-apply,
.btn-sidebar-apply,
.btn-submit-master,
.enterprise-bottom-apply-box .btn-primary {
	border: 0 !important;
	border-radius: 999px !important;
	background: linear-gradient(135deg, #2563eb, #38bdf8) !important;
	color: #ffffff !important;
	font-weight: 700 !important;
	box-shadow: 0 14px 26px -14px rgba(37, 99, 235, 0.75) !important;
	transition: transform 0.2s ease;
}

.btn-view-role:hover,
.btn-enterprise-apply:hover,
.btn-sidebar-apply:hover,
.btn-submit-master:hover,
.enterprise-bottom-apply-box .btn-primary:hover {
	background: linear-gradient(135deg, #1d4ed8, #0ea5e9) !important;
	transform: translateY(-2px);
}

.enterprise-hero-header .btn-enterprise-apply {
	background: #ffffff !important;
	color: #1d4ed8 !important;
	box-shadow: 0 16px 30px -16px rgba(2, 0, 36, 0.8) !important;
}

.btn-enterprise-secondary,
.enterprise-bottom-apply-box .btn-outline-secondary {
	border-radius: 999px !important;
}

.section-step-badge {
	background: linear-gradient(135deg, #2563eb, #38bdf8) !important;
	color: #ffffff !important;
	border: 0 !important;
}

/* ---------- Privacy / Terms ---------- */
.legal-hero {
	position: relative;
	overflow: hidden;
	color: #ffffff;
	padding: 140px 0 140px;
	text-align: center;
}

.legal-hero h1 {
	font-weight: 600;
	letter-spacing: -0.03em;
	font-size: clamp(2rem, 4.4vw, 3.1rem);
	color: #ffffff;
	margin-bottom: 12px;
}

.legal-hero p {
	color: rgba(255, 255, 255, 0.9);
	margin: 0 auto;
}

.legal-body {
	background: #f3f7fe !important;
	padding: 40px 0 90px !important;
}

.legal-body .col-lg-8,
.legal-body .col-lg-9,
.legal-body .col-xl-8 {
	background: #ffffff;
	border: 1px solid #e1eafa;
	border-radius: 22px;
	padding: 44px 48px;
	box-shadow: 0 22px 44px -30px rgba(37, 99, 235, 0.4);
}

.legal-body h2,
.legal-body h3,
.legal-body h4 {
	color: #0a1633;
	font-weight: 600;
}

.legal-body p,
.legal-body li {
	color: #4a5672;
	line-height: 1.8;
}

.legal-body a {
	color: #2563eb;
}

/* ---------- 404 ---------- */
.error-page-wrapper {
	position: relative;
	overflow: hidden;
	background: linear-gradient(90deg, #020024 0%, #060552 7%, #090979 21%, #0482c9 56%, #0ea5e9 100%) !important;
}

.error-bg-glow {
	display: none;
}

.error-code {
	font-family: "Sora", "Inter", system-ui, sans-serif;
	font-weight: 700;
	letter-spacing: -0.04em;
	background: linear-gradient(180deg, #ffffff, #7dd3fc);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent !important;
	-webkit-text-fill-color: transparent;
	text-shadow: none !important;
	filter: drop-shadow(0 12px 30px rgba(2, 0, 36, 0.45));
}

.error-page-wrapper h1 {
	font-weight: 600;
}

.error-page-wrapper .text-white-50 {
	color: rgba(255, 255, 255, 0.9) !important;
}

.error-page-wrapper .btn-gradient-primary,
.error-page-wrapper .search-form-wrapper .btn-primary {
	border: 0;
	background: #ffffff !important;
	color: #1d4ed8 !important;
	box-shadow: 0 16px 30px -16px rgba(2, 0, 36, 0.8);
}

.error-search-input {
	background: rgba(255, 255, 255, 0.16) !important;
	border-color: rgba(255, 255, 255, 0.45) !important;
}

.error-search-input::placeholder {
	color: rgba(255, 255, 255, 0.85);
}

.btn-glass-outline {
	border-color: rgba(255, 255, 255, 0.55) !important;
	background: rgba(255, 255, 255, 0.1) !important;
}

.error-card-link {
	border-radius: 20px !important;
	border: 1px solid rgba(255, 255, 255, 0.28) !important;
	background: rgba(255, 255, 255, 0.12) !important;
	backdrop-filter: blur(8px);
}

.error-card-link p,
.error-card-link small,
.error-card-link span {
	color: rgba(255, 255, 255, 0.88) !important;
}

.error-card-icon {
	border-radius: 14px !important;
	background: #ffffff !important;
	color: #2563eb !important;
}

/* ---------- Phone ---------- */
@media (max-width: 767.98px) {
	.legal-hero { padding: 104px 0 96px; }
	.legal-body { padding: 24px 0 56px !important; }
	.legal-body .col-lg-8,
	.legal-body .col-lg-9,
	.legal-body .col-xl-8 { padding: 26px 20px; border-radius: 20px; }
	.careers-filter-card,
	.job-item-card,
	.enterprise-card,
	.overview-table-card,
	.similar-jobs-box,
	.form-section-card,
	.sidebar-widget { border-radius: 20px !important; }
}

/* Application page: keep the breadcrumb clear of the fixed site header */
.apply-hero-header { padding-top: 96px !important; }

@media (min-width: 992px) {
	.apply-hero-header { padding-top: 106px !important; }
}

/* ==========================================================================
   JOB LIST: card heading uses the full width, button stays on one line
   ========================================================================== */
.card-top-meta {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 8px 12px;
}

.card-top-meta > .flex-grow-1 {
	display: contents;
}

.card-top-meta > .flex-grow-1 > .d-flex {
	grid-column: 1;
	grid-row: 1;
	margin-bottom: 0 !important;
}

.card-top-meta > :last-child {
	grid-column: 2;
	grid-row: 1;
	flex-wrap: nowrap;
}

.card-top-meta .job-card-title,
.card-top-meta .job-company-subtitle {
	grid-column: 1 / -1;
	margin: 0;
}

.card-top-meta .status-pill,
.btn-view-role {
	white-space: nowrap;
}

.job-card-footer {
	flex-wrap: wrap;
	gap: 10px;
}

/* ==========================================================================
   JOB DETAIL: about the company, hiring steps, share
   ========================================================================== */
.jd-about-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	margin-top: 16px;
}

.jd-about-links a {
	color: #2563eb;
	font-weight: 600;
	font-size: 0.94rem;
	text-decoration: none;
}

.jd-about-links a i {
	font-size: 0.8em;
	margin-left: 4px;
	transition: transform 0.2s ease;
}

.jd-about-links a:hover i {
	transform: translateX(4px);
}

.jd-steps-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.jd-steps-list li {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 16px;
	border-radius: 16px;
	border: 1px solid #e1eafa;
	background: #f7faff;
}

.jd-steps-list li > span {
	flex: none;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: linear-gradient(135deg, #2563eb, #38bdf8);
	color: #ffffff;
	font-family: "Sora", "Inter", system-ui, sans-serif;
	font-weight: 700;
	font-size: 0.9rem;
}

.jd-steps-list li div {
	color: #4a5672;
	font-size: 0.92rem;
	line-height: 1.55;
}

.jd-steps-list li strong {
	display: block;
	color: #0a1633;
	font-size: 0.98rem;
	margin-bottom: 2px;
}

.jd-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 20px;
	margin-bottom: 18px;
	padding: 18px 22px;
	border-radius: 22px;
	border: 1px dashed #c7dbfb;
	background: #ffffff;
}

.jd-share-label {
	color: #0a1633;
	font-weight: 600;
}

.jd-share-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.jd-share-btn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 9px 16px;
	border-radius: 999px;
	border: 1px solid #d5e3fb;
	background: #ffffff;
	color: #1d4ed8;
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.jd-share-btn:hover {
	background: #2563eb;
	border-color: #2563eb;
	color: #ffffff;
}

.jd-share-btn--wa {
	border-color: #bfe8cf;
	color: #128c4a;
}

.jd-share-btn--wa:hover {
	background: #128c4a;
	border-color: #128c4a;
	color: #ffffff;
}

@media (max-width: 575.98px) {
	.jd-steps-list { grid-template-columns: 1fr; gap: 10px; }
	.jd-share { padding: 16px; border-radius: 20px; }
	.jd-share-actions { width: 100%; }
	.jd-share-btn { flex: 1; justify-content: center; padding: 10px 8px; }
}

/* ==========================================================================
   JOB DETAIL: taller hero with wave, key-fact cards, richer content cards
   ========================================================================== */
.enterprise-hero-header {
	overflow: hidden;
	padding: 124px 0 150px !important;
}

.enterprise-hero-header > .container {
	position: relative;
	z-index: 2;
}

.enterprise-hero-header::before {
	content: '';
	position: absolute;
	inset: -50% 0 0 0;
	pointer-events: none;
	opacity: 0.8;
	background-image:
		radial-gradient(1.5px 1.5px at 20px 30px, #ffffff 50%, transparent 51%),
		radial-gradient(1px 1px at 90px 120px, #ffffff 50%, transparent 51%),
		radial-gradient(1.5px 1.5px at 160px 60px, rgba(255, 255, 255, 0.8) 50%, transparent 51%),
		radial-gradient(1px 1px at 230px 180px, #ffffff 50%, transparent 51%);
	background-size: 340px 240px;
	animation: skyStarDrift 60s linear infinite;
}

.enterprise-job-title {
	font-size: clamp(2rem, 4.2vw, 3rem) !important;
	letter-spacing: -0.03em !important;
	line-height: 1.15 !important;
	margin-bottom: 12px !important;
	animation: jdRise 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.enterprise-top-meta { animation: jdRise 0.7s cubic-bezier(0.16, 1, 0.3, 1) both; }
.enterprise-company-sub { animation: jdRise 0.7s 0.1s cubic-bezier(0.16, 1, 0.3, 1) both; margin-bottom: 0 !important; }

@keyframes jdRise {
	from { opacity: 0; transform: translateY(16px); }
	to { opacity: 1; transform: none; }
}

.meta-status-badge {
	border-radius: 999px !important;
}

.enterprise-hero-header .btn-enterprise-apply {
	padding: 14px 30px !important;
	font-size: 1rem !important;
}

.btn-enterprise-apply i,
.btn-sidebar-apply i {
	transition: transform 0.25s ease;
}

.btn-enterprise-apply:hover i,
.btn-sidebar-apply:hover i {
	transform: translateX(5px);
}

.btn-enterprise-secondary {
	background: rgba(255, 255, 255, 0.1) !important;
	border: 1px solid rgba(255, 255, 255, 0.45) !important;
	color: #ffffff !important;
}

/* ---------- Key facts ---------- */
.enterprise-body-wrapper {
	position: relative;
	z-index: 3;
	padding-top: 0 !important;
}

.jd-facts {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	list-style: none;
	margin: -92px 0 28px;
	padding: 0;
}

.jd-facts li {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 18px 20px;
	border-radius: 20px;
	border: 1px solid #e1eafa;
	background: #ffffff;
	box-shadow: 0 26px 50px -30px rgba(37, 99, 235, 0.55);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.jd-facts li:hover {
	transform: translateY(-5px);
	box-shadow: 0 32px 56px -28px rgba(37, 99, 235, 0.65);
}

.jd-fact-icon {
	flex: none;
	width: 46px;
	height: 46px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 14px;
	background: linear-gradient(135deg, #2563eb, #38bdf8);
	color: #ffffff;
	font-size: 1.05rem;
	box-shadow: 0 12px 22px -12px rgba(37, 99, 235, 0.75);
}

.jd-facts li div {
	min-width: 0;
}

.jd-facts li div span {
	display: block;
	color: #5a6785;
	font-size: 0.8rem;
	font-weight: 600;
}

.jd-facts li div strong {
	display: block;
	font-family: "Sora", "Inter", system-ui, sans-serif;
	font-size: 1.04rem;
	font-weight: 600;
	color: #0a1633;
	line-height: 1.3;
	overflow-wrap: anywhere;
}

/* ---------- Content cards ---------- */
.enterprise-card {
	padding: 30px !important;
}

.enterprise-card-header {
	border-bottom: 1px solid #e1eafa !important;
	padding-bottom: 16px !important;
	margin-bottom: 20px !important;
}

.enterprise-section-title {
	font-size: 1.2rem !important;
	gap: 12px !important;
}

.enterprise-section-title i {
	flex: none;
	width: 38px;
	height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	background: #eaf2ff;
	color: #2563eb !important;
	font-size: 0.95rem !important;
}

.enterprise-text {
	font-size: 1rem !important;
}

/* Lists: a tick in a soft circle instead of a dot */
.enterprise-list li {
	padding-left: 34px !important;
	margin-bottom: 12px !important;
	font-size: 0.98rem !important;
}

.enterprise-list li::before {
	content: '\2713' !important;
	left: 0 !important;
	top: 2px !important;
	width: 22px !important;
	height: 22px !important;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50% !important;
	background: #eaf2ff !important;
	color: #2563eb;
	font-size: 0.72rem;
	font-weight: 700;
}

.enterprise-skill-chip {
	padding: 7px 14px !important;
	font-weight: 600 !important;
	transition: transform 0.2s ease, border-color 0.2s ease;
}

.enterprise-skill-chip:hover {
	transform: translateY(-2px);
	border-color: #2563eb !important;
}

/* ---------- Sidebar ---------- */
.enterprise-sidebar {
	top: 104px !important;
}

.overview-table-card,
.similar-jobs-box {
	padding: 24px !important;
}

.overview-row {
	border-bottom: 1px solid #eef4ff !important;
	padding: 11px 0 !important;
}

.overview-label {
	color: #5a6785 !important;
}

.overview-label i {
	color: #2563eb !important;
}

.similar-job-card {
	transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.similar-job-card:hover {
	transform: translateX(4px);
	border-color: #b9d2fb !important;
	background: #eef4ff !important;
}

.similar-job-title {
	color: #0a1633 !important;
	font-weight: 600 !important;
}

/* Closing apply box: the brand gradient */
.enterprise-bottom-apply-box {
	padding: 26px 28px !important;
	background: linear-gradient(90deg, #060552 0%, #090979 25%, #0482c9 70%, #0ea5e9 100%) !important;
	border: 0 !important;
	box-shadow: 0 30px 60px -32px rgba(37, 99, 235, 0.7) !important;
}

.enterprise-bottom-apply-box h3 {
	font-family: "Sora", "Inter", system-ui, sans-serif;
	font-size: 1.2rem !important;
	color: #ffffff !important;
}

.enterprise-bottom-apply-box p {
	color: rgba(255, 255, 255, 0.9) !important;
	font-size: 0.95rem !important;
}

.enterprise-bottom-apply-box .btn-enterprise-apply,
.enterprise-bottom-apply-box .btn-primary {
	background: #ffffff !important;
	color: #1d4ed8 !important;
	box-shadow: 0 16px 30px -16px rgba(2, 0, 36, 0.8) !important;
}

.enterprise-bottom-apply-box .btn-outline-secondary {
	border-color: rgba(255, 255, 255, 0.55) !important;
	background: rgba(255, 255, 255, 0.1) !important;
	color: #ffffff !important;
}

/* ---------- Tablet and phone ---------- */
@media (max-width: 991.98px) {
	.enterprise-hero-header { padding: 108px 0 130px !important; }
	.jd-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: -84px; }
}

@media (max-width: 575.98px) {
	.enterprise-hero-header { padding: 96px 0 110px !important; }
	.enterprise-job-title { font-size: 1.7rem !important; }
	.jd-facts { gap: 10px; margin: -70px 0 20px; }
	.jd-facts li { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; border-radius: 16px; }
	.jd-fact-icon { width: 38px; height: 38px; border-radius: 12px; font-size: 0.9rem; }
	.jd-facts li div strong { font-size: 0.94rem; }
	.enterprise-card { padding: 22px 18px !important; }
	.enterprise-section-title { font-size: 1.08rem !important; }
	.enterprise-bottom-apply-box { padding: 22px 18px !important; }
	/* room for the fixed Apply bar */
	.enterprise-body-wrapper { padding-bottom: 96px !important; }
}

@media (prefers-reduced-motion: reduce) {
	.enterprise-hero-header::before,
	.enterprise-job-title,
	.enterprise-top-meta,
	.enterprise-company-sub {
		animation: none;
	}
}

@media (max-width: 575.98px) {
	/* Company line: one sentence instead of two squeezed columns */
	.enterprise-company-sub {
		display: block !important;
		line-height: 1.5;
	}

	.enterprise-company-sub .text-white-50 {
		margin: 0 4px;
	}
}

/* ==========================================================================
   TAP TARGETS: small links and buttons get a comfortable height on touch screens
   ========================================================================== */
@media (max-width: 991.98px) {
	.enterprise-breadcrumbs a,
	.jd-about-links a {
		display: inline-flex;
		align-items: center;
		min-height: 32px;
	}

	.btn-enterprise-secondary,
	.enterprise-bottom-apply-box .btn-outline-secondary {
		min-height: 40px;
		display: inline-flex !important;
		align-items: center;
	}

	.similar-job-card {
		padding-top: 12px !important;
		padding-bottom: 12px !important;
	}
}

@media (max-width: 991.98px) {
	.similar-job-title {
		display: inline-flex;
		align-items: center;
		min-height: 32px;
	}
}

/* ==========================================================================
   JOB DETAIL: tablet and phone layout
   ========================================================================== */
.enterprise-card-header {
	flex-wrap: wrap;
	gap: 8px 12px;
}

.similar-job-meta {
	flex-wrap: wrap;
	gap: 2px 10px;
}

/* Hero badges: each one is a single-line pill, and the row wraps between pills */
.enterprise-top-meta {
	gap: 8px !important;
}

.meta-status-badge,
.meta-posted-badge {
	display: inline-flex !important;
	align-items: center;
	gap: 6px;
	max-width: 100%;
	padding: 5px 12px !important;
	font-size: 0.8rem !important;
	line-height: 1.3;
	white-space: nowrap;
}

.meta-posted-badge i {
	margin-right: 0 !important;
}

.btn-enterprise-apply {
	justify-content: center;
	white-space: nowrap;
}

/* Fixed apply bar: same frosted bar and gradient pill as the rest of the site */
.mobile-apply-bar {
	padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)) !important;
	background: rgba(255, 255, 255, 0.96) !important;
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	backdrop-filter: saturate(160%) blur(14px);
	border-top: 1px solid #e1eafa !important;
	box-shadow: 0 -14px 30px -22px rgba(37, 99, 235, 0.55) !important;
}

.mobile-apply-bar > div:first-child {
	min-width: 0;
}

/* Slides away while a page Apply button is on screen (class set in jobDetailView.php) */
.mobile-apply-bar {
	transition: transform 0.25s ease;
}

.mobile-apply-bar.is-hidden {
	transform: translateY(110%);
}

@media (prefers-reduced-motion: reduce) {
	.mobile-apply-bar {
		transition: none;
	}
}

.mobile-apply-bar .btn-primary {
	flex: none;
	border: 0;
	border-radius: 999px;
	padding: 10px 20px !important;
	background: linear-gradient(135deg, #2563eb, #38bdf8);
	box-shadow: 0 14px 26px -14px rgba(37, 99, 235, 0.75);
}

@media (max-width: 991.98px) {
	/* Hero buttons sit in one row under the title instead of stretching full width */
	.enterprise-hero-header .col-lg-4 > .d-flex {
		flex-direction: row !important;
		flex-wrap: wrap;
		align-items: center !important;
		gap: 10px !important;
	}

	.enterprise-bottom-apply-box > .d-flex {
		flex-wrap: wrap;
	}

	/* The sidebar is below the content here, so it no longer needs to stick */
	.enterprise-sidebar {
		position: static !important;
	}

	/* The fixed apply bar is on screen here, so Job Summary does not need its own button */
	.enterprise-sidebar .btn-sidebar-apply {
		display: none !important;
	}
}

/* Tablet: Job Summary and Other Open Positions side by side */
@media (min-width: 768px) and (max-width: 991.98px) {
	.enterprise-sidebar {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
		gap: 20px;
		align-items: start;
	}

	.enterprise-sidebar .overview-table-card {
		margin-bottom: 0 !important;
	}
}

@media (max-width: 575.98px) {
	/* Closing apply box: text, then full-width buttons stacked */
	.enterprise-bottom-apply-box {
		flex-direction: column;
		align-items: stretch !important;
		text-align: center;
	}

	.enterprise-bottom-apply-box > .d-flex {
		flex-direction: column;
		align-items: stretch !important;
	}

	.enterprise-bottom-apply-box .btn-enterprise-apply,
	.enterprise-bottom-apply-box .btn-outline-secondary {
		width: 100%;
		justify-content: center;
		min-height: 46px;
	}

	.enterprise-hero-header .btn-enterprise-apply {
		padding: 12px 24px !important;
	}

	/* Shorter hero: the last crumb only repeats the job title shown right below it */
	.enterprise-hero-header { padding-top: 84px !important; }

	.enterprise-breadcrumbs { margin-bottom: 10px !important; }

	.enterprise-breadcrumbs .active,
	.enterprise-breadcrumbs .sep:nth-last-child(2) {
		display: none;
	}

	.overview-table-card,
	.similar-jobs-box {
		padding: 20px 18px !important;
	}

	.mobile-apply-bar .text-truncate {
		max-width: 100% !important;
	}

	/* Job Summary: location, type, experience and salary are already in the key-fact cards */
	.overview-row--repeat {
		display: none !important;
	}

	/* Other Open Positions: one swipeable row instead of a tall stack */
	.similar-jobs-list {
		display: flex;
		gap: 10px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	.similar-jobs-list::-webkit-scrollbar {
		display: none;
	}

	.similar-jobs-list .similar-job-card {
		flex: 1 0 78%;
		margin-bottom: 0 !important;
		scroll-snap-align: start;
	}

	.similar-jobs-list .similar-job-card:hover {
		transform: none;
	}
}
