.hk-projects {
	--hk-gap: 16px;
	--hk-visible-columns: 5;
	--hk-item-width: 200px;
	width: 100%;
}

.hk-projects__nav {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	margin-bottom: 16px;
}

.hk-projects__nav.is-hidden {
	display: none;
}

.hk-projects .hk-projects__nav-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0 !important;
	border: 1px solid #ddd !important;
	border-radius: 50% !important;
	background: #fff !important;
	background-color: #fff !important;
	color: #333 !important;
	font-size: inherit;
	font-weight: inherit;
	line-height: 1;
	cursor: pointer;
	box-shadow: none !important;
	transition: none;
}

.hk-projects .hk-projects__nav-btn:hover,
.hk-projects .hk-projects__nav-btn:focus,
.hk-projects .hk-projects__nav-btn:active {
	background: #fff !important;
	background-color: #fff !important;
	border-color: #ddd !important;
	color: #333 !important;
	box-shadow: none !important;
	outline: none;
}

.hk-projects__icon {
	width: 20px;
	height: 20px;
}

.hk-projects__scroll {
	width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	direction: ltr;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.hk-projects__scroll::-webkit-scrollbar {
	display: none;
}

.hk-projects__grid {
	display: flex;
	gap: var(--hk-gap);
	width: max-content;
}

.hk-projects__item {
	flex: 0 0 var(--hk-item-width);
	width: var(--hk-item-width);
	max-width: var(--hk-item-width);
	display: flex;
	flex-direction: column;
	min-width: 0;
	direction: rtl;
}

.hk-projects__image {
	border-radius: 8px;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: #f0f0f0;
}

.hk-projects__image img,
.hk-projects__image-placeholder {
	display: block;
	width: 100%;
	max-width: 100%;
	height: 100%;
	object-fit: contain;
}

.hk-projects__image-placeholder {
	background: linear-gradient(135deg, #e8e8e8 0%, #f5f5f5 100%);
}

.hk-projects__title {
	margin: 12px 0 0;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.4;
	text-align: center;
	color: #222;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hk-projects-empty {
	padding: 24px;
	text-align: center;
	color: #888;
	border: 1px dashed #ccc;
	border-radius: 8px;
}
