.hbs-wrap {
	font-family: 'EB Garamond', Georgia, serif;
	padding: 30px 0;
	position: relative;
	box-sizing: border-box;
	width: 100%;
}

.hbs-wrap * {
	box-sizing: border-box;
}

.hbs-heading {
	font-family: 'Eagle Lake', Georgia, serif !important;
	font-weight: 400 !important;
	color: var(--hbs-heading, #c8b399) !important;
	font-size: clamp(1.6rem, 3.5vw, 2.2rem) !important;
	margin: 0 0 20px !important;
	padding: 0 25px;
	line-height: 1.3 !important;
}

.hbs-viewport {
	position: relative;
	padding: 0 25px;
	width: 100%;
}

.hbs-track {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	padding: 8px 4px 18px;
	scrollbar-width: none;
}

.hbs-track::-webkit-scrollbar {
	display: none;
}

.hbs-card {
	position: relative;
	flex: 0 0 auto;
	width: 380px;
	height: 235px;
	scroll-snap-align: start;
	background: var(--hbs-card-bg, #3b3834);
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 6px 22px rgba(0, 0, 0, 0.12);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

.hbs-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.hbs-card-link {
	position: absolute;
	inset: 0;
	z-index: 5;
	text-decoration: none;
}

.hbs-card-media {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	border-radius: 18px;
	overflow: hidden;
}

.hbs-card-img,
.hbs-card-placeholder {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	border-radius: 18px;
	background: #3b3834;
	transition: transform 0.4s ease;
}

.hbs-card:hover .hbs-card-img {
	transform: scale(1.03);
}

.hbs-card-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.32) 45%, rgba(15, 12, 10, 0.8) 100%);
	z-index: 2;
	border-radius: 18px;
	pointer-events: none;
}

/* Frosted Center Play Button */
.hbs-play-btn {
	position: absolute;
	top: 44%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 3;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: var(--hbs-play-bg, rgba(255, 255, 255, 0.28));
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.45);
	color: var(--hbs-play-color, #ffffff);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
	transition: transform 0.25s ease, background 0.25s ease;
	pointer-events: none;
}

.hbs-play-btn svg {
	display: block;
	margin-left: 2px;
	filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.35));
}

.hbs-card:hover .hbs-play-btn {
	transform: translate(-50%, -50%) scale(1.12);
	background: rgba(255, 255, 255, 0.45);
	color: #ffffff;
}

/* Card Bottom Text & Divider */
.hbs-card-bottom {
	position: relative;
	z-index: 4;
	padding: 0 22px 18px;
	width: 100%;
	display: flex;
	flex-direction: column;
	pointer-events: none;
}

.hbs-card-divider {
	height: 1px;
	width: 100%;
	background: var(--hbs-line-color, rgba(255, 255, 255, 0.4));
	margin: 0 0 12px;
	border: 0;
	pointer-events: none;
}

.hbs-card-title {
	font-family: 'EB Garamond', Georgia, serif !important;
	font-style: italic !important;
	font-weight: 500 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.5px !important;
	color: var(--hbs-title-color, #ffffff) !important;
	font-size: 1.15rem !important;
	margin: 0 0 8px !important;
	line-height: 1.3 !important;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.hbs-card-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	margin-top: 2px;
}

.hbs-card-date {
	font-family: 'EB Garamond', Georgia, serif;
	font-size: 0.88rem;
	color: var(--hbs-date-color, rgba(255, 255, 255, 0.85));
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
	line-height: 1;
}

.hbs-card-tag {
	font-family: 'EB Garamond', Georgia, serif;
	font-style: italic;
	font-size: 0.95rem;
	color: var(--hbs-tag-color, rgba(255, 255, 255, 0.95));
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
	line-height: 1;
}

/* Nav Navigation Buttons */
.hbs-nav {
	position: absolute !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	z-index: 10 !important;
	width: 44px !important;
	height: 44px !important;
	border-radius: 50% !important;
	border: 1px solid var(--hbs-nav-border, rgba(255, 255, 255, 0.5)) !important;
	background: var(--hbs-nav-bg, rgba(255, 255, 255, 0.25)) !important;
	backdrop-filter: blur(8px) !important;
	-webkit-backdrop-filter: blur(8px) !important;
	color: var(--hbs-nav-color, #ffffff) !important;
	cursor: pointer !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18) !important;
	transition: all 0.25s ease !important;
	outline: none !important;
	padding: 0 !important;
	margin: 0 !important;
	line-height: 1 !important;
}

.hbs-nav svg {
	width: 18px !important;
	height: 18px !important;
	stroke: var(--hbs-nav-color, #ffffff) !important;
	display: block !important;
}

.hbs-nav:hover {
	background: rgba(255, 255, 255, 0.45) !important;
	transform: translateY(-50%) scale(1.08) !important;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25) !important;
}

.hbs-nav.hbs-hidden {
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

.hbs-prev {
	left: 10px !important;
}

.hbs-next {
	right: 10px !important;
}

@media (max-width: 768px) {
	.hbs-card {
		width: 300px;
		height: 200px;
		border-radius: 16px;
	}
	.hbs-card-title {
		font-size: 1.05rem !important;
	}
	.hbs-card-bottom {
		padding: 0 16px 14px;
	}
	.hbs-play-btn {
		width: 46px;
		height: 46px;
	}
	.hbs-play-btn svg {
		width: 18px;
		height: 18px;
	}
	.hbs-nav {
		width: 38px !important;
		height: 38px !important;
	}
	.hbs-heading,
	.hbs-viewport {
		padding: 0 15px !important;
	}
}

@media (max-width: 480px) {
	.hbs-card {
		width: 270px;
		height: 185px;
	}
}
