/* ============================================
   MALIN GALLERY
   ============================================ */

:root {
	--gallery-bg: #0a0a0a;
	--gallery-accent: #c8a97e;
	--gallery-text: #e8e8e8;
	--gallery-muted: #666;
	--gallery-radius: 4px;
	--gallery-pad: 48px;
}

/* ── TATTOO NAV ── */
.malin-tattoo-nav {
	width: 100%;
}

.malin-tattoo-nav__list {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0 !important;
}

.malin-tattoo-nav__link {
	display: inline-block;
	color: rgba(255, 255, 255, 0.85);
	font-size: 0.85rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	padding: 6px 12px;
	transition:
		color 0.2s,
		border-color 0.2s;
	text-align: center;
}

.malin-tattoo-nav__link:hover {
	color: var(--gallery-accent);
	border-color: var(--gallery-accent);
}

/* ── PAGE ── */
#malin-gallery {
	background: var(--gallery-bg);
	min-height: 100vh;
	padding: 60px 0 48px;
}

/* ── TATTOO ITEM (gallery page) ── */
.tattoo-item {
	margin-bottom: 80px;
	padding: 0 var(--gallery-pad);
}
.tattoo-item:last-child {
	margin-bottom: 0;
}
.tattoo-item__title {
	color: var(--gallery-text);
	font-size: clamp(16px, 2vw, 22px);
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin: 0 0 20px;
}

.tattoo-item__splide .splide__slide img {
	width: 100%;
	height: 480px;
	object-fit: cover;
	display: block;
	border-radius: var(--gallery-radius);
	cursor: pointer;
	transition: all 0.2s ease-in-out;
}
.tattoo-item__splide .splide__slide:hover img {
	border: 1px solid var(--gallery-accent);
}
/* ── HOMEPAGE CAROUSEL ── */
.malin-tattoo-carousel {
	padding: 8px 0 24px;
}

.tattoo-card {
	display: block;
	text-decoration: none;
	width: 100%;
}

.tattoo-card__img-wrap {
	position: relative;
	width: 100%;
	height: 320px;

	overflow: hidden;
	border-radius: var(--gallery-radius);
	background: #1a1a1a;
}

.tattoo-card__img-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.tattoo-card:hover .tattoo-card__img-wrap img {
	transform: scale(1.05);
}

.tattoo-card__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 50%);
}

.tattoo-card__title {
	display: block;
	color: var(--gallery-muted);
	font-size: 14px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin-top: 10px;
	text-align: center;
	transition: color 0.2s;
}

.tattoo-card:hover .tattoo-card__title {
	color: var(--gallery-accent);
}

/* ── SPLIDE ARROWS ── */
.splide__arrow {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	transition: background 0.2s;
}

.splide__arrow:hover {
	background: rgba(255, 255, 255, 0.2);
}

.splide__arrow svg {
	fill: #fff;
}

/* ── SPLIDE PAGINATION ── */
.splide__pagination__page {
	background: var(--gallery-muted);
}

.splide__pagination__page.is-active {
	background: var(--gallery-accent);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
	:root {
		--gallery-pad: 20px;
	}

	.tattoo-card__title {
		font-size: 10px;
		margin-top: 6px;
	}

	.tattoo-item__splide .splide__slide img {
		height: 300px;
	}
}

.glightbox-clean .gslide-title {
	margin-bottom: 0 !important;
}
