.hbvl-video-library {
	--hbvl-blue: #005497;
	--hbvl-action: #2b7fff;
	--hbvl-action-hover: #5196ff;
	--hbvl-ink: #101923;
	--hbvl-soft: #f5f8fc;
	--hbvl-line: #d8e5f2;
	--hbvl-shadow: 0 21px 56px rgba(0, 0, 0, 0.1);
	--hbvl-lift: 0 18px 40px rgba(0, 84, 151, 0.16);
	--hbvl-sticky-offset: 150px;
	background: var(--hbvl-soft);
	color: #334155;
	font-family: "Source Sans 3", system-ui, sans-serif;
	padding: 96px 20px;
}

.hbvl-video-library *,
.hbvl-video-library *::before,
.hbvl-video-library *::after {
	box-sizing: border-box;
}

.hbvl-video-library h2,
.hbvl-video-library h3,
.hbvl-video-library label,
.hbvl-kicker,
.hbvl-result-count,
.hbvl-sector-badge,
.hbvl-action-badge,
.hbvl-modal-close {
	font-family: Inter, system-ui, sans-serif;
}

.hbvl-wrap {
	margin: 0 auto;
	max-width: 1280px;
	width: 100%;
}

.hbvl-heading {
	max-width: 780px;
}

.hbvl-kicker {
	color: var(--hbvl-action);
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.2em;
	line-height: 1.2;
	margin: 0 0 16px;
	text-transform: uppercase;
}

.hbvl-heading h2 {
	color: var(--hbvl-blue);
	font-size: clamp(38px, 5vw, 56px);
	font-weight: 900;
	letter-spacing: 0;
	line-height: 1.05;
	margin: 0;
}

.hbvl-heading > p:not(.hbvl-kicker) {
	color: #5f6f82;
	font-size: 21px;
	line-height: 1.55;
	margin: 20px 0 0;
}

.hbvl-layout {
	display: grid;
	gap: 28px;
	grid-template-columns: 280px minmax(0, 1fr);
	margin-top: 40px;
}

.hbvl-layout-no-filters {
	grid-template-columns: minmax(0, 1fr);
}

.hbvl-filter-panel {
	align-self: start;
	background: #fff;
	border-radius: 24px;
	box-shadow: var(--hbvl-shadow);
	display: grid;
	gap: 18px;
	padding: 20px;
	position: sticky;
	top: var(--hbvl-sticky-offset);
}

.hbvl-filter-group label {
	color: var(--hbvl-blue);
	display: block;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	line-height: 1.2;
	margin: 0 0 8px;
	text-transform: uppercase;
}

.hbvl-filter-group input,
.hbvl-filter-group select {
	appearance: none;
	background: #fff;
	border: 1px solid var(--hbvl-line);
	border-radius: 18px;
	color: #334155;
	font: 700 16px/1.35 "Source Sans 3", system-ui, sans-serif;
	min-height: 50px;
	outline: none;
	padding: 12px 16px;
	transition: border-color 160ms ease, box-shadow 160ms ease;
	width: 100%;
}

.hbvl-filter-group select {
	background-image:
		linear-gradient(45deg, transparent 50%, var(--hbvl-blue) 50%),
		linear-gradient(135deg, var(--hbvl-blue) 50%, transparent 50%);
	background-position:
		calc(100% - 18px) 22px,
		calc(100% - 12px) 22px;
	background-size: 6px 6px, 6px 6px;
	background-repeat: no-repeat;
	padding-right: 40px;
}

.hbvl-filter-group input:focus,
.hbvl-filter-group select:focus {
	border-color: var(--hbvl-action);
	box-shadow: 0 0 0 4px rgba(43, 127, 255, 0.14);
}

.hbvl-result-count {
	border-top: 1px solid var(--hbvl-line);
	color: #64748b;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.06em;
	line-height: 1.35;
	margin: 0;
	padding-top: 18px;
	text-transform: uppercase;
}

.hbvl-results {
	min-width: 0;
}

.hbvl-grid {
	align-items: start;
	display: grid;
	gap: 28px;
	grid-template-columns: repeat(var(--hbvl-columns, 1), minmax(0, 1fr));
}

.hbvl-column {
	display: flex;
	flex-direction: column;
	gap: 28px;
	min-width: 0;
}

.hbvl-card {
	background: #fff;
	border: 1px solid transparent;
	border-radius: 24px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
	overflow: hidden;
	transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
	width: 100%;
}

.hbvl-card:hover {
	border-color: rgba(43, 127, 255, 0.45);
	box-shadow: 0 21px 56px rgba(0, 0, 0, 0.12);
	transform: translateY(-4px);
}

.hbvl-card-link {
	color: inherit;
	display: block;
	height: 100%;
	text-align: left;
	text-decoration: none;
	width: 100%;
}

.hbvl-card-link:hover,
.hbvl-card-link:focus {
	color: inherit;
	text-decoration: none;
}

.hbvl-thumb-wrap {
	background: #0f172a;
	min-height: 180px;
	overflow: hidden;
	position: relative;
	width: 100%;
}

.hbvl-thumb {
	display: block;
	height: auto;
	width: 100%;
}

.hbvl-thumb-placeholder {
	aspect-ratio: 16 / 9;
	background: linear-gradient(135deg, #0f172a, #005497);
}

.hbvl-thumb-overlay {
	background: rgba(0, 0, 0, 0.25);
	inset: 0;
	position: absolute;
}

.hbvl-play {
	background: var(--hbvl-action);
	border-radius: 999px;
	box-shadow: var(--hbvl-lift);
	color: #fff;
	display: grid;
	height: 64px;
	left: 50%;
	place-items: center;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 64px;
}

.hbvl-play svg {
	height: 30px;
	margin-left: 4px;
	width: 30px;
}

.hbvl-sector-badge,
.hbvl-action-badge {
	border-radius: 999px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.04em;
	line-height: 1.2;
	padding: 7px 12px;
	position: absolute;
	text-transform: uppercase;
}

.hbvl-sector-badge {
	background: #fff;
	color: var(--hbvl-blue);
	left: 16px;
	max-width: calc(100% - 32px);
	overflow: hidden;
	text-overflow: ellipsis;
	top: 16px;
	white-space: nowrap;
}

.hbvl-action-badge {
	background: rgba(0, 0, 0, 0.72);
	bottom: 16px;
	color: #fff;
	right: 16px;
}

.hbvl-card-body {
	padding: 24px;
}

.hbvl-card-body h3 {
	color: var(--hbvl-blue);
	font-size: 26px;
	font-weight: 900;
	letter-spacing: 0;
	line-height: 1.16;
	margin: 0;
}

.hbvl-card-body p {
	color: #5f6f82;
	font-size: 17px;
	line-height: 1.55;
	margin: 12px 0 0;
}

.hbvl-no-results {
	background: #fff;
	border: 1px solid var(--hbvl-line);
	border-radius: 24px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
	margin-top: 40px;
	padding: 40px;
	text-align: center;
}

.hbvl-no-results p {
	color: var(--hbvl-blue);
	font-family: Inter, system-ui, sans-serif;
	font-size: 26px;
	font-weight: 900;
	line-height: 1.2;
	margin: 0;
}

.hbvl-no-results span {
	color: #5f6f82;
	display: block;
	font-size: 17px;
	margin-top: 10px;
}

.hbvl-modal {
	align-items: center;
	background: rgba(0, 0, 0, 0.8);
	inset: 0;
	justify-content: center;
	padding: 64px 16px 24px;
	position: fixed;
	z-index: 99999;
}

.hbvl-modal[hidden] {
	display: none;
}

.hbvl-modal:not([hidden]) {
	display: flex;
}

.hbvl-modal-inner {
	max-width: 1024px;
	position: relative;
	width: 100%;
}

.hbvl-modal-close {
	background: #fff;
	border: 0;
	border-radius: 999px;
	color: var(--hbvl-blue);
	cursor: pointer;
	font-size: 13px;
	font-weight: 900;
	line-height: 1.2;
	padding: 10px 16px;
	position: absolute;
	right: 0;
	text-transform: uppercase;
	top: -48px;
	transition: background 160ms ease;
}

.hbvl-modal-close:hover,
.hbvl-modal-close:focus {
	background: #eff6ff;
}

.hbvl-modal-frame-wrap {
	aspect-ratio: 16 / 9;
	background: #000;
	border-radius: 8px;
	box-shadow: var(--hbvl-shadow);
	overflow: hidden;
	width: 100%;
}

.hbvl-modal-frame-wrap iframe {
	display: block;
	height: 100%;
	width: 100%;
}

body.hbvl-modal-open {
	overflow: hidden;
}

@media (max-width: 900px) {
	.hbvl-video-library {
		padding: 72px 20px;
	}

	.hbvl-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.hbvl-filter-panel {
		position: static;
	}
}

@media (max-width: 560px) {
	.hbvl-video-library {
		padding: 56px 16px;
	}

	.hbvl-heading h2 {
		font-size: 38px;
	}

	.hbvl-heading > p:not(.hbvl-kicker) {
		font-size: 18px;
	}

	.hbvl-card-body {
		padding: 20px;
	}

	.hbvl-card-body h3 {
		font-size: 23px;
	}
}
