/**
 * Slideshow gallery — shortcode [room_gallery_slideshow]
 * Chiều cao cố định; bo góc trái trên + trái dưới 20px.
 * Prev/next: SVG tròn viền trắng + mũi tên (không dùng <button>).
 */

.room-gallery-slideshow {
	width: 100%;
	height: 425px;
	min-height: 425px;
	overflow: hidden;
	position: relative;
	border-top-left-radius: 20px;
	border-bottom-left-radius: 20px;
}

.room-gallery-slideshow .swiper-wrapper {
	height: 100%;
}

.room-gallery-slideshow .swiper-slide {
	width: 100%;
	height: 100%;
	margin: 0;
}

.room-gallery-slideshow__img {
	display: block;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	object-position: center;
	vertical-align: bottom;
	border-radius: 0 !important;
}

.room-gallery-slideshow__nav {
	position: absolute;
	top: 50%;
	z-index: 2;
	transform: translateY(-50%);
	display: block;
	margin: 0;
	padding: 0;
	color: #fff;
	cursor: pointer;
	overflow: visible;
}

/* Opacity/stroke-opacity mới transition mượt; fill none ↔ màu và stroke → none trên SVG hay bị nhảy cóc */
.room-gallery-slideshow__nav-fill,
.room-gallery-slideshow__nav-ring {
	transition-property: opacity, stroke-opacity;
	transition-duration: 0.5s;
	transition-timing-function: ease;
}

.room-gallery-slideshow__nav:hover .room-gallery-slideshow__nav-fill {
	opacity: 1;
}

.room-gallery-slideshow__nav:hover .room-gallery-slideshow__nav-ring {
	stroke-opacity: 0;
}

.room-gallery-slideshow__nav:focus {
	outline: none;
}

.room-gallery-slideshow__nav:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
	border-radius: 50%;
}

.room-gallery-slideshow__nav--prev {
	left: 16px;
}

.room-gallery-slideshow__nav--next {
	right: 16px;
}

.room-gallery-slideshow__nav.swiper-button-disabled {
	opacity: 0.35;
	cursor: not-allowed;
	pointer-events: none;
}

.room-gallery-slideshow--single .room-gallery-slideshow__nav {
	display: none;
}

@media (max-width: 767px) {
	.room-gallery-slideshow {
		height: 260px;
		min-height: 260px;
	}
}
