/**
 * Gallery Pattern Styles
 *
 * @package Hundeschule_TT5_Child
 * @since 1.0.0
 */

/* Gallery Section - py-16 bg-white */
.hs-gallery {
	padding-top: 6rem !important; /* py-16 */
	padding-bottom: 10rem !important; /* py-16 */
	background-color: #ffffff; /* bg-white */
	margin: 0;
}

/* Container - max-w-6xl mx-auto px-6 */
.hs-gallery-container {
	max-width: 72rem; /* max-w-6xl */
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.5rem; /* px-6 */
	padding-right: 1.5rem; /* px-6 */
}

/* Title Container - text-center mb-10 */
.hs-gallery-title-wrapper {
	text-align: center;
	margin-bottom: 2.5rem; /* mb-10 */
}

/* Title - text-3xl mb-2 */
.hs-gallery-title {
	margin-bottom: 0.5rem; /* mb-2 */
	margin-top: 0;
	font-size: 1.875rem; /* text-3xl */
	line-height: 1.2;
	font-weight: 700;
}

.hs-gallery-title.has-text-align-center {
	margin-bottom: 0.5rem; /* mb-2 */
}

/* Gallery Grid - grid md:grid-cols-4 gap-4 */
.hs-gallery-grid.wp-block-columns {
	display: grid;
	grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
	gap: 1rem; /* gap-4 */
	margin: 0 !important;
}

@media (min-width: 768px) {
	.hs-gallery-grid.wp-block-columns {
		grid-template-columns: repeat(4, 1fr); /* md:grid-cols-4 */
	}
}

/* Reset column padding/margin */
.hs-gallery-grid.wp-block-columns .wp-block-column {
	margin: 0 !important;
	padding: 0 !important;
}

/* Gallery Item */
.hs-gallery-item {
	height: 12rem; /* h-48 */
	overflow: hidden;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* shadow-lg */
	transition: box-shadow 0.3s ease-in-out;
	margin: 0;
	padding: 0;
}

.hs-gallery-item:hover {
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); /* hover:shadow-xl */
}

/* Border Radius - rounded-[30px] */
.hs-gallery-item-rounded {
	border-radius: 1.875rem; /* rounded-[30px] */
}

/* Border Radius - rounded-full */
.hs-gallery-item-circle {
	border-radius: 9999px; /* rounded-full */
}

/* Gallery Image */
.hs-gallery-image {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.hs-gallery-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease-in-out;
}

.hs-gallery-item:hover .hs-gallery-image img {
	transform: scale(1.05); /* hover:scale-105 */
}

