.bgl-jobs-page {
	background-color: #f6efe9;
	margin-top: calc(-1 * var(--bgl-header-h, 72px));
}
.bgl-jobs-shell {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 24px;
}
.bgl-jobs-shell--narrow { max-width: 800px; }

.bgl-jobs-toggle {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 4px;
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid rgba(0, 26, 31, 0.08);
	border-radius: 999px;
}
.bgl-jobs-toggle-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 8px 14px;
	border-radius: 999px;
	font-family: 'Fustat', 'Manrope', sans-serif;
	font-size: 14px;
	font-weight: 600;
	color: #4b5c5c;
	text-decoration: none;
	line-height: 1.2;
}
.bgl-jobs-toggle-link:hover { color: #001a1f; text-decoration: none; }
.bgl-jobs-toggle-link.is-active {
	background: #003842;
	color: #fff;
}
.bgl-jobs-toggle-link i { font-size: 16px; }

.bgl-jobs-masthead {
	padding: calc(56px + var(--bgl-header-h, 72px)) 0 28px;
}
.bgl-jobs-masthead-title {
	font-family: 'Crimson Pro', Georgia, serif;
	font-size: 48px;
	font-weight: 700;
	color: #001a1f;
	line-height: 1.08;
	letter-spacing: -1px;
	margin: 16px 0 0;
}
.bgl-jobs-masthead-tagline {
	font-family: 'Fustat', 'Manrope', sans-serif;
	font-size: 18px;
	color: #4b5c5c;
	line-height: 1.5;
	margin: 12px 0 0;
	max-width: 640px;
}

.bgl-visually-hidden-form { display: none !important; }

.bgl-jobs-searchbar {
	display: flex;
	gap: 12px;
	width: 100%;
	margin: 8px 0 20px;
}
.bgl-jobs-search-field {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 12px;
	background: #fff;
	border: 2px solid #e5e5e5;
	border-radius: 10px;
	padding: 0 1.25rem;
	height: 52px;
	transition: border-color 0.2s ease;
}
.bgl-jobs-search-field:focus-within { border-color: #2f4c4a; }
.bgl-jobs-search-field i { color: #999; font-size: 1.25rem; }
.bgl-jobs-search-field input {
	flex: 1;
	border: none;
	background: transparent;
	font-family: 'Fustat', 'Manrope', sans-serif;
	font-size: 1rem;
	color: #001a1f;
	outline: none;
}
.bgl-jobs-search-field input::placeholder { color: #999; }

.bgl-jobs-advanced-filter-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 20px;
	border: 2px solid #428583;
	border-radius: var(--bgl-btn-radius, 10px);
	background: transparent;
	font-family: 'Fustat', 'Manrope', sans-serif;
	font-size: 14px;
	font-weight: 600;
	color: #428583;
	cursor: pointer;
	transition: all 0.2s ease;
	white-space: nowrap;
	flex-shrink: 0;
}
.bgl-jobs-advanced-filter-btn:hover { background: #428583; color: #fff; }
.bgl-jobs-advanced-filter-btn.has-active-filters { background: #428583; color: #fff; }
.bgl-jobs-advanced-filter-btn i { font-size: 16px; }

.bgl-jobs-active-filter-chips {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0 0 16px;
}
.bgl-jobs-filter-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #fff;
	border: 1px solid #d9d2c8;
	border-radius: 999px;
	padding: 4px 6px 4px 12px;
	font-family: 'Fustat', 'Manrope', sans-serif;
	font-size: 0.85rem;
	color: #001a1f;
	max-width: 100%;
}
.bgl-jobs-filter-chip-label {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 240px;
}
.bgl-jobs-filter-chip-remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(234, 153, 33, 0.12);
	color: #ea9921;
	cursor: pointer;
}
.bgl-jobs-filter-chip-remove:hover,
.bgl-jobs-filter-chip-remove:focus-visible {
	background: #ea9921;
	color: #fff;
	outline: none;
}
.bgl-jobs-filter-chip-clear-all {
	background: transparent;
	border: 0;
	color: #428583;
	font-family: 'Fustat', 'Manrope', sans-serif;
	font-size: 0.85rem;
	font-weight: 600;
	cursor: pointer;
	padding: 0 4px;
}
.bgl-jobs-filter-chip-clear-all:hover { text-decoration: underline; }

.bgl-jobs-filter-popup-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.4);
	z-index: 1000;
}
.bgl-jobs-filter-popup-overlay.show { display: block; }
.bgl-jobs-filter-popup {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: min(560px, calc(100vw - 32px));
	max-height: 85vh;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 20px 60px rgba(0, 26, 31, 0.2);
	display: flex;
	flex-direction: column;
	overflow: hidden;
}
.bgl-jobs-filter-popup-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 22px;
	border-bottom: 1px solid #eee;
}
.bgl-jobs-filter-popup-header h3 {
	margin: 0;
	font-family: 'Crimson Pro', Georgia, serif;
	font-size: 24px;
	color: #001a1f;
}
.bgl-jobs-filter-popup-close {
	border: 0;
	background: transparent;
	color: #666;
	cursor: pointer;
	font-size: 20px;
}
.bgl-jobs-filter-popup-close:hover { color: #001a1f; }
.bgl-jobs-filter-popup-body {
	padding: 8px 22px 16px;
	overflow-y: auto;
}
.bgl-jobs-filter-popup-section { border-bottom: 1px solid #f0f0f0; }
.bgl-jobs-filter-popup-section:last-child { border-bottom: 0; }
.bgl-jobs-filter-popup-section-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 0;
	cursor: pointer;
	font-family: 'Fustat', 'Manrope', sans-serif;
	font-weight: 700;
	color: #001a1f;
}
.bgl-jobs-filter-popup-section-title span { display: inline-flex; align-items: center; gap: 6px; }
.bgl-jobs-filter-popup-section-count { color: #428583; font-size: 0.9em; }
.bgl-jobs-filter-popup-section-count:empty { display: none; }
.bgl-jobs-filter-popup-section-title i { transition: transform 0.2s ease; }
.bgl-jobs-filter-popup-section.collapsed .bgl-jobs-filter-popup-section-title i { transform: rotate(-90deg); }
.bgl-jobs-filter-popup-section-content {
	display: grid;
	gap: 4px;
	padding-bottom: 14px;
}
.bgl-jobs-filter-popup-section-content.two-columns {
	grid-template-columns: 1fr 1fr;
	gap: 4px 12px;
}
.bgl-jobs-filter-popup-section.collapsed .bgl-jobs-filter-popup-section-content { display: none; }
.bgl-jobs-filter-popup-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 6px 0;
}
.bgl-jobs-filter-popup-checkbox input { margin-top: 3px; }
.bgl-jobs-filter-popup-checkbox label {
	font-family: 'Fustat', 'Manrope', sans-serif;
	font-size: 0.95rem;
	color: #001a1f;
	cursor: pointer;
}
.bgl-jobs-filter-opt-count { color: #888; font-size: 0.85em; }
.bgl-jobs-filter-popup-footer {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 22px;
	border-top: 1px solid #eee;
}
.bgl-jobs-filter-popup-clear,
.bgl-jobs-filter-popup-apply {
	border-radius: 10px;
	padding: 10px 18px;
	font-family: 'Fustat', 'Manrope', sans-serif;
	font-weight: 600;
	cursor: pointer;
}
.bgl-jobs-filter-popup-clear {
	border: 1px solid #d9d2c8;
	background: #fff;
	color: #4b5c5c;
}
.bgl-jobs-filter-popup-clear:hover { background: #f6efe9; }
.bgl-jobs-filter-popup-apply {
	border: 0;
	background: #003842;
	color: #fff;
}
.bgl-jobs-filter-popup-apply:hover { background: #0a4d56; }

.bgl-jobs-count {
	font-size: 13px;
	color: #6b7280;
	margin: 0 0 16px;
}

.bgl-jobs-grid {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding-bottom: 72px;
}
.bgl-jobs-card {
	display: block;
	background: #fff;
	border: 1px solid rgba(0, 26, 31, 0.06);
	border-radius: 16px;
	padding: 20px 22px;
	text-decoration: none;
	color: inherit;
	box-shadow: 0 1px 3px rgba(0, 26, 31, 0.04);
	transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.bgl-jobs-card:hover {
	text-decoration: none;
	color: inherit;
	transform: translateY(-1px);
	box-shadow: 0 8px 24px rgba(0, 26, 31, 0.08);
}
.bgl-jobs-card-top {
	display: flex;
	gap: 14px;
	align-items: flex-start;
}
.bgl-jobs-card-logo,
.bgl-jobs-card-logo-ph {
	flex: 0 0 52px;
	width: 52px;
	height: 52px;
	border-radius: 12px;
	background: #f2f5f3;
	overflow: hidden;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #8a9691;
}
.bgl-jobs-card-logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}
.bgl-jobs-card-title {
	font-family: 'Crimson Pro', Georgia, serif;
	font-size: 26px;
	font-weight: 700;
	color: #001a1f;
	margin: 0 0 4px;
	line-height: 1.2;
}
.bgl-jobs-card-company {
	margin: 0;
	color: #003842;
	font-weight: 600;
	font-size: 15px;
}
.bgl-jobs-card-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 12px 0 0;
}
.bgl-jobs-chip {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 4px 9px;
	border-radius: 999px;
	background: #f6efe9;
	color: #4b5c5c;
	font-size: 12px;
	font-weight: 600;
}
.bgl-jobs-card-excerpt {
	margin: 12px 0 0;
	color: #4b5c5c;
	font-size: 15px;
	line-height: 1.5;
}

.bgl-jobs-empty {
	background: #fff;
	border-radius: 16px;
	padding: 40px 24px;
	text-align: center;
	color: #4b5c5c;
	margin-bottom: 72px;
}
.bgl-jobs-empty h2 {
	font-family: 'Crimson Pro', Georgia, serif;
	font-size: 28px;
	color: #001a1f;
	margin: 0 0 8px;
}

.bgl-jobs-closed {
	background: #fce9cf;
	color: #6b4308;
	border-radius: 14px;
	padding: 16px 18px;
	margin: 0 0 22px;
}
.bgl-jobs-closed p { margin: 0 0 10px; }
.bgl-jobs-closed a {
	display: inline-flex;
	align-items: center;
	font-weight: 700;
	color: #003842;
}

.bgl-job-detail { padding-bottom: 80px; }
.bgl-job-kicker {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #428583;
	margin: 0 0 8px;
}
.bgl-job-title {
	font-family: 'Crimson Pro', Georgia, serif;
	font-size: 44px;
	font-weight: 700;
	color: #001a1f;
	line-height: 1.12;
	margin: 0 0 10px;
}
.bgl-job-company {
	font-size: 18px;
	font-weight: 600;
	margin: 0 0 16px;
	color: #003842;
}
.bgl-job-company a { color: inherit; }
.bgl-job-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.bgl-job-body {
	font-family: 'Fustat', 'Manrope', sans-serif;
	font-size: 17px;
	line-height: 1.65;
	color: #001a1f;
}
.bgl-job-body h1,
.bgl-job-body h2,
.bgl-job-body h3,
.bgl-job-body h4 {
	font-family: 'Crimson Pro', Georgia, serif;
	font-weight: 700;
	line-height: 1.25;
	margin: 1.4em 0 0.45em;
}
.bgl-job-body h1 { font-size: 1.6em; }
.bgl-job-body h2 { font-size: 1.35em; }
.bgl-job-body h3,
.bgl-job-body h4 { font-size: 1.18em; }
.bgl-job-body p { margin: 0 0 1em; }
.bgl-job-body ul,
.bgl-job-body ol { margin: 0 0 1em; padding-left: 1.3em; }
.bgl-job-body li { margin: 0 0 0.35em; }
.bgl-job-body a { color: #0f6b66; }

.bgl-job-apply {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	margin: 28px 0 18px;
}
.bgl-job-apply-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #003842;
	color: #fff;
	font-weight: 700;
	border-radius: 12px;
	padding: 12px 18px;
	text-decoration: none;
}
.bgl-job-apply-btn:hover { background: #0a4d56; color: #fff; text-decoration: none; }
.bgl-job-attr {
	font-size: 13px;
	color: #6b7280;
	margin: 0;
}
.bgl-job-attr a { color: #428583; }

.bgl-jobs-pager {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 64px;
}
.bgl-jobs-pager a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	border-radius: 999px;
	background: #fff;
	color: #003842;
	font-weight: 700;
	text-decoration: none;
}
.bgl-jobs-pager a.is-active {
	background: #003842;
	color: #fff;
}

@media (max-width: 800px) {
	.bgl-jobs-masthead-title { font-size: 36px; }
	.bgl-job-title { font-size: 34px; }
}
@media (max-width: 768px) {
	.bgl-jobs-searchbar { flex-direction: column; }
	.bgl-jobs-search-field { height: 48px; }
	.bgl-jobs-advanced-filter-btn { width: 100%; justify-content: center; }
	.bgl-jobs-filter-popup {
		left: 16px;
		right: 16px;
		width: auto;
		max-height: 80vh;
		transform: translateY(-50%);
	}
	.bgl-jobs-filter-popup-section-content.two-columns { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.bgl-jobs-shell { padding: 0 20px; }
	.bgl-jobs-card-title { font-size: 22px; }
}
