/* ==========================================================================
   Exact Tour Categories Curve — front-end styles
   The curved card shape + wave stagger is the core visual and must not be
   simplified to a flat rectangle grid.
   ========================================================================== */

.etcc-wrapper {
	width: 100%;
	box-sizing: border-box;
}

.etcc-wrapper *,
.etcc-wrapper *::before,
.etcc-wrapper *::after {
	box-sizing: border-box;
}

/* Header */
.etcc-header {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	margin-bottom: 48px;
}

.etcc-badge {
	font-family: 'Brush Script MT', 'Segoe Script', cursive;
	font-size: 26px;
	line-height: 1.4;
	margin-bottom: 6px;
	color: #2fa6dc;
}

.etcc-main-title {
	font-size: 40px;
	font-weight: 800;
	line-height: 1.2;
	margin: 0;
	color: #0e2a3b;
}

/* Slider shell */
.etcc-slider {
	position: relative;
}

.etcc-track {
	display: flex;
	align-items: flex-start; /* keep cards upright; wave comes from translateY only */
	gap: 24px;
	overflow-x: auto;
	overflow-y: visible;
	scroll-snap-type: x proximity;
	-webkit-overflow-scrolling: touch;
	padding: 70px 4px 40px; /* room above/below so translateY offsets never clip */
	margin: -70px -4px -40px;
	scrollbar-width: none;
}

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

/* Card */
.etcc-card {
	flex: 0 0 auto;
	width: 300px;
	scroll-snap-align: start;
	position: relative;
	transform: translate(var(--etcc-wave-x, 0px), var(--etcc-wave-y, 0px));
	transition: transform 0.35s ease;
	will-change: transform;
}

/* The curved shape itself:
   large uniform border-radius + overflow:hidden clip + soft shadow.
   Cards stay upright (no rotation by default) — only the per-card
   translateY offset (see inline wave selectors) produces the curve. */
.etcc-card__image-wrap {
	position: relative;
	height: 340px;
	width: 100%;
	overflow: hidden;
	border-radius: 34px;
	box-shadow: 0 18px 30px -10px rgba(20, 40, 60, 0.28);
	background: #dfeaf0;
	isolation: isolate;
}

.etcc-card__link-wrap {
	display: block;
	text-decoration: none;
	color: inherit;
}

.etcc-card__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transform: scale(1.001); /* avoids sub-pixel hairline gap on the curved clip */
	transition: transform 0.5s ease;
}

.etcc-card:hover .etcc-card__image {
	transform: scale(1.06);
}

.etcc-card__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.05);
	pointer-events: none;
}

/* Caption */
.etcc-card__caption {
	text-align: center;
	margin-top: 18px;
}

.etcc-card__title {
	font-size: 20px;
	font-weight: 700;
	color: #0e2a3b;
	margin-bottom: 4px;
}

.etcc-card__link {
	display: inline-block;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: #5c7a8a;
	text-decoration: none;
	cursor: pointer;
}

.etcc-card__link:hover {
	text-decoration: underline;
}

/* Pagination dots */
.etcc-dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 32px;
}

.etcc-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: #d6e4ea;
	border: none;
	padding: 0;
	cursor: pointer;
	transition: background-color 0.25s ease, transform 0.25s ease;
}

.etcc-dot.is-active {
	background-color: #2fa6dc;
	transform: scale(1.2);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
	.etcc-main-title {
		font-size: 32px;
	}

	.etcc-track {
		padding-top: 50px;
	}
}

@media (max-width: 767px) {
	.etcc-header {
		margin-bottom: 32px;
	}

	.etcc-badge {
		font-size: 20px;
	}

	.etcc-main-title {
		font-size: 26px;
	}

	.etcc-track {
		gap: 16px;
		padding-top: 36px;
	}

	.etcc-card__image-wrap {
		border-radius: 26px;
	}

	.etcc-card__title {
		font-size: 17px;
	}
}
