/* Main Grid Container */
.ds-atc-gallery-5f560e90 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	width: 100%;
}

@media (max-width: 1024px) {
	.ds-atc-gallery-5f560e90 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 767px) {
	.ds-atc-gallery-5f560e90 {
		grid-template-columns: 1fr;
	}
}

/* Gallery Items */
.ds-atc-gallery-item-5f560e90 {
	position: relative;
	width: 100%;
	aspect-ratio: 1408 / 777;
	overflow: hidden;
	cursor: pointer;
	border: none;
	padding: 0;
	background: none;
	display: block;
}

.ds-atc-gallery-item-5f560e90 img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}

/* Hover Overlay */
.ds-atc-gallery-item-5f560e90::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.4);
	opacity: 0;
	transition: opacity 0.35s ease;
	pointer-events: none;
}

.ds-atc-gallery-item-5f560e90:hover::after,
.ds-atc-gallery-item-5f560e90:focus::after {
	opacity: 1;
}

/* Lightbox Styles */
.ds-atc-lightbox-5f560e90 {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgba(0, 0, 0, 0.9);
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ds-atc-lightbox-5f560e90.is-active {
	opacity: 1;
	visibility: visible;
}

.ds-atc-lightbox-content-5f560e90 {
	position: relative;
	max-width: 90%;
	max-height: 90vh;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.ds-atc-lightbox-content-5f560e90 img {
	max-width: 100%;
	max-height: 85vh;
	object-fit: contain;
	display: block;
}

.ds-atc-lightbox-close-5f560e90 {
	position: absolute;
	top: 20px;
	right: 30px;
	background: none;
	border: none;
	color: #fff;
	font-size: 40px;
	cursor: pointer;
	line-height: 1;
	z-index: 10;
	padding: 10px;
}

.ds-atc-lightbox-title-5f560e90 {
	color: #fff;
	margin-top: 15px;
	font-family: inherit;
	font-size: 16px;
	text-align: center;
}
