/* HG Image Card Carousel — frontend styles */

.hg-icc-wrap {
	position: relative;
	--hg-n: 1.5;
	--hg-gap: 20px;
	--hg-h: 380px;
	--hg-radius: 20px;
}

.hg-icc-track {
	display: flex;
	gap: var(--hg-gap);
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	padding: 4px 4px 10px;
	margin: -4px -4px 0;
	scroll-behavior: smooth;
	list-style: none;
}

.hg-icc-track::-webkit-scrollbar { height: 6px; }
.hg-icc-track::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.15); border-radius: 10px; }

.hg-icc-card {
	position: relative;
	flex: 0 0 calc((100% - (var(--hg-n, 1.5) - 1) * var(--hg-gap, 20px)) / var(--hg-n, 1.5));
	height: var(--hg-h, 380px);
	border-radius: var(--hg-radius, 20px);
	background-size: cover;
	background-position: center;
	background-color: #1a2330;
	overflow: hidden;
	scroll-snap-align: start;
	display: block;
	text-decoration: none;
	box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.hg-icc-card::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(10,20,30,0.85) 0%, rgba(0,0,0,0) 55%);
	pointer-events: none;
}

.hg-icc-badge {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 2;
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	background: rgba(255,255,255,0.18);
	color: #fff;
	padding: 6px 12px;
	border-radius: 10px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
}

.hg-icc-content {
	position: absolute;
	left: 18px;
	right: 18px;
	bottom: 18px;
	z-index: 2;
}

.hg-icc-meta {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	margin-bottom: 6px;
	color: #2ee6b8;
}

.hg-icc-meta-icon { flex-shrink: 0; }

.hg-icc-title {
	margin: 0;
	font-size: 24px;
	line-height: 1.2;
	font-weight: 700;
	color: #fff;
}

/* Arrows — desktop only by default */
.hg-icc-arrow {
	display: none;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 5;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: none;
	background: #fff;
	box-shadow: 0 6px 18px rgba(0,0,0,0.18);
	cursor: pointer;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	color: #111;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.hg-icc-arrow:hover { box-shadow: 0 8px 22px rgba(0,0,0,0.28); }
.hg-icc-arrow-prev { left: -22px; }
.hg-icc-arrow-next { right: -22px; }

@media (min-width: 1025px) {
	.hg-icc-has-arrows .hg-icc-arrow { display: flex; }
}

/* Dots — mobile/tablet only by default */
.hg-icc-dots {
	display: none;
	gap: 6px;
	justify-content: center;
	margin-top: 14px;
}
.hg-icc-dots .hg-icc-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: rgba(0,0,0,0.2);
	transition: width 0.2s ease, background 0.2s ease;
}
.hg-icc-dots .hg-icc-dot.is-active {
	width: 18px;
	border-radius: 4px;
	background: #2ee6b8;
}

@media (max-width: 1024px) {
	.hg-icc-has-dots .hg-icc-dots { display: flex; }
	.hg-icc-arrow { display: none !important; }
}

@media (max-width: 767px) {
	.hg-icc-title { font-size: 20px; }
}
