/*
.trnGallery {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
}
.trnGallery img {
	width: 150px;
	cursor: pointer;
	border-radius: 4px;
	border: 2px solid #ccc;
	transition: transform 0.2s;
}
.trnGallery img:hover {
	transform: scale(1.05);
}
*/

.trnGallery img {
	cursor: pointer;
}

.trnLightbox {
	display: none;
	position: fixed;
	z-index: 999;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.9);
	justify-content: center;
	align-items: center;
	flex-direction: column;
}

.trnLightbox.active {
	display: flex;
}

.trnLightbox img {
	max-width: 90%;
	max-height: 80vh;
}

.trnControls {
	position: absolute;
	top: 50%;
	width: 100%;
	display: flex;
	justify-content: space-between;
	padding: 0 40px;
	box-sizing: border-box;
	transform: translateY(-50%);
}

.trnControls button {
	width: 50px;
	height: 50px;
	line-height: 50px;
	background: rgba(255,255,255,0.2);
	border: none;
	color: white;
	font-size: 24px;
	text-align:center;
	cursor: pointer;
	border-radius: 25px;
	transition: 0.3s;
}

.trnControls button:hover {
	background: rgba(255,255,255,0.5);
}

.trnLightboxClose {
	position: absolute;
	top: 20px;
	right: 30px;
	font-size: 40px;
	color: white;
	cursor: pointer;
	text-decoration: none;
}