.gallery-layout {
	overflow: hidden;
}

.gallery-layout .pk-heading-col{
	margin-bottom: max(3rem, calc(3.4 * var(--su)));
}

.gallery-layout .pk-heading{
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	margin-bottom: 0;
}


.gallery-layout .pk-heading-col .pk-heading{
	margin: 0;
}

.gallery-layout .pk-heading-col img{
	max-width: max(9.063rem, calc(9.063 * var(--su)));;
}

.gallery-layout .gallery-slider {
	position: relative; z-index: 1;
}

.gallery-layout .gallery-slider .swiper-slide {
	height: auto;
}

.gallery-layout .gallery-slider img {
	aspect-ratio: 1/1;
	aspect-ratio: 648/581;
	width: 100%; height: auto;
	object-fit: cover;
	border-radius: max(0.5rem, calc(0.5 * var(--su)));
}

.gallery-slider .swiper-container:hover + .swiper-mouseover {
	opacity: 1; visibility: visible;
}

.gallery-layout .swiper-mouseover {
	padding: 5px;
	position: fixed; 
	top: 0; 
	left: 0; 
	z-index: 123; 
	opacity: 0; 
	visibility: hidden;
	color: #ffffff; 
	pointer-events: none; 
	user-select: none; 
	transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}



.gallery-layout .swiper-controls {
	display: flex;
	align-items: center;
	gap: max(1rem, calc(1 * var(--su)));
	margin-top: max(1.5rem, calc(1.5 * var(--su)));
}

.gallery-layout .swiper-fraction {
	width: fit-content;
	flex: 0 0 auto;
	font-size: var(--desktop-body-sm);
	white-space: nowrap;
}

.gallery-layout .swiper-fraction .swiper-pagination-total {
	color: rgba(0, 0, 0, 0.4);
}

.gallery-layout .swiper-progress {
	flex: 1 1 auto;
	height: 1.5px;
	background-color: rgba(0, 0, 0, 0.15);
}

.gallery-layout .swiper-progress-bar {
	display: block;
	width: 5%;
	height: 100%;
	background-color: currentColor;
}

.gallery-layout .swiper-nav {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: max(.5rem, calc(.5 * var(--su)));
}

.gallery-layout .swiper-nav button {
	display: flex;
	align-items: center;
	justify-content: center;
	border: 0;
	background: none;
	padding: 0;
	cursor: pointer;
	color: inherit;
}

.gallery-layout .swiper-nav button.swiper-button-disabled {
	opacity: 0.4;
	cursor: default;
}

@media screen and (max-width: 992px) {
	.swiper-mouseover {
		display: none;
	}
}

@media screen and (max-width: 640px) {
	.gallery-layout .pk-heading-col{
		margin-bottom: 1.5rem;
	}
}

@media screen and (max-width: 640px) {
	.gallery-layout .pk-heading-col .pk-heading {
		/* max-width: 18.75rem; */
		align-items: flex-end;
	}

	.gallery-layout .pk-heading-col .pk-heading img{
		max-width: 5.625rem;
		position: relative;
		left: -5rem;
		margin-bottom: 0.5rem;
	}

}