/**
* Theme Name: Urban Edge Child
* Description: This is a child theme of Urban Edge.
* Author: <a href="https://cmsmasters.net/">cmsmasters</a>
* Template: urban-edge
* Version: 1.0.0
* Tested up to: 6.6
* Requires PHP: 7.4
* License:
* License URI:
* Text Domain: urban-edge-child
* Copyright: cmsmasters 2025 / All Rights Reserved
*/
.tnt-tattoo-gallery {
	--tnt-visible-slides: 3;
	--tnt-gallery-gap: 20px;

	position: relative;
	width: 100%;
	padding-bottom: 34px;
}

.tnt-gallery-viewport {
	width: 100%;
	overflow: hidden;
}

.tnt-gallery-track {
	display: flex;
	gap: var(--tnt-gallery-gap);
	will-change: transform;
}

.tnt-gallery-item {
	flex: 0 0 calc(
		(100% - ((var(--tnt-visible-slides) - 1) * var(--tnt-gallery-gap)))
		/ var(--tnt-visible-slides)
	);

	display: block;
	overflow: hidden;
	border-radius: 20px;
	aspect-ratio: 4 / 3;
}

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

.tnt-gallery-item:hover img {
	transform: scale(1.04);
}

.tnt-gallery-button {
	position: absolute;
	top: calc(50% - 17px);
	z-index: 5;

	width: 46px;
	height: 46px;
	padding: 0;
	border: 0;
	border-radius: 50%;

	background: #df9443;
	color: #111;

	font-size: 30px;
	line-height: 44px;
	text-align: center;

	cursor: pointer;
	transform: translateY(-50%);
}

.tnt-gallery-button:hover {
	background: #ffffff;
	color: #111111;
}

.tnt-gallery-prev {
	left: -23px;
}

.tnt-gallery-next {
	right: -23px;
}

.tnt-gallery-dots {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	margin-top: 18px;
}

.tnt-gallery-dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.35);
	cursor: pointer;
}

.tnt-gallery-dot.is-active {
	background: #df9443;
	transform: scale(1.25);
}

@media (max-width: 1024px) {
	.tnt-tattoo-gallery {
		--tnt-visible-slides: 2;
	}
}

@media (max-width: 767px) {
	.tnt-tattoo-gallery {
		--tnt-visible-slides: 1;
		--tnt-gallery-gap: 12px;
	}

	.tnt-gallery-prev {
		left: 8px;
	}

	.tnt-gallery-next {
		right: 8px;
	}
}