/**
 * Single Tour Gallery presentation.
 *
 * Scoped to the Gallery component so the plugin does not override theme or
 * Bootstrap grid/image rules globally.
 */
.wecustourcore-single-tour-gallery__eyebrow {
	display: inline-block;
	margin-bottom: 8px;
}

.wecustourcore-single-tour-gallery__heading {
	margin-bottom: 24px;
}

.wecustourcore-single-tour-gallery__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-auto-rows: 190px;
	gap: 12px;
}

.wecustourcore-single-tour-gallery__item {
	min-width: 0;
	min-height: 0;
	margin: 0;
	overflow: hidden;
	border-radius: var(--dt-radius-md, 12px);
	background: #f2f4f7;
}

.wecustourcore-single-tour-gallery__item.is-featured {
	grid-column: span 2;
	grid-row: span 2;
}

.wecustourcore-single-tour-gallery__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
	.wecustourcore-single-tour-gallery__item:hover .wecustourcore-single-tour-gallery__image {
		transform: scale(1.025);
	}
}

@media (max-width: 991.98px) {
	.wecustourcore-single-tour-gallery__grid {
		grid-auto-rows: 170px;
	}
}

@media (max-width: 767.98px) {
	.wecustourcore-single-tour-gallery__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-rows: 145px;
	}

	.wecustourcore-single-tour-gallery__item.is-featured {
		grid-column: span 2;
		grid-row: span 1;
	}
}

@media (max-width: 420px) {
	.wecustourcore-single-tour-gallery__grid {
		grid-template-columns: 1fr;
		grid-auto-rows: 190px;
	}

	.wecustourcore-single-tour-gallery__item.is-featured {
		grid-column: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wecustourcore-single-tour-gallery__image {
		transition: none;
	}
}
