/* Horizontal-scrolling row of video testimonial thumbnails + click-to-play lightbox.
   Replaces stacking every video inline: nothing loads until you click it. */

.amira-video-section {
	background: #fefaf2;
	padding: 56px 20px 62px;
	font-family: 'IBM Plex Serif', Georgia, serif;
}

.amira-video-heading {
	text-align: center;
	margin: 0 0 10px;
	color: #bb9089;
	font-size: 1.85rem;
	font-weight: 600;
}

.amira-video-hint {
	text-align: center;
	color: #a89792;
	font-size: .76rem;
	letter-spacing: .13em;
	text-transform: uppercase;
	margin: 0 0 30px;
}

.amira-video-rail {
	display: flex;
	gap: 40px;
	max-width: 1180px;
	margin: 0 auto;
	overflow-x: auto;
	overflow-y: hidden;
	padding: 8px 20px 24px;
	scroll-snap-type: x proximity;
	-webkit-overflow-scrolling: touch;
}

@media (max-width: 900px) {
	.amira-video-section {
		padding: 42px 0 46px;
	}

	.amira-video-heading {
		font-size: 1.5rem;
	}
}

.amira-video-rail::-webkit-scrollbar {
	height: 6px;
}

.amira-video-rail::-webkit-scrollbar-thumb {
	background: #e6d3cb;
	border-radius: 8px;
}

.amira-video-item {
	flex: 0 0 auto;
	width: 180px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.amira-video-card {
	position: relative;
	width: 100%;
	aspect-ratio: 9 / 16;
	scroll-snap-align: start;
	border: none;
	border-radius: 16px;
	overflow: hidden;
	cursor: pointer;
	padding: 0;
	background: #f0e6c5;
	transition: transform .2s ease, box-shadow .2s ease;
}

.amira-video-card:hover {
	transform: translateY(-4px) scale(1.03);
	box-shadow: 0 14px 28px rgba(70, 45, 40, .2);
}

.amira-video-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.amira-video-card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(40, 25, 22, .55), transparent 45%);
}

.amira-video-card .amira-play-icon {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1;
}

.amira-video-card .amira-play-icon svg {
	width: 52px;
	height: 52px;
	filter: drop-shadow(0 3px 8px rgba(0, 0, 0, .45));
	transition: transform .2s ease;
}

.amira-video-card:hover .amira-play-icon svg {
	transform: scale(1.12);
}

.amira-video-name {
	display: block;
	font-family: 'IBM Plex Serif', Georgia, serif;
	font-style: italic;
	font-weight: 600;
	font-size: .95rem;
	color: var(--rose, #b07d74);
	text-align: center;
}

.amira-video-place {
	display: block;
	color: #9a8a86;
	font-size: .68rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	text-align: center;
	margin-top: 2px;
}

@media (max-width: 600px) {
	.amira-video-item {
		width: 140px;
	}
}

/* --- Lightbox --- */
.amira-video-lightbox {
	position: fixed;
	inset: 0;
	background: rgba(28, 20, 18, .82);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 100000;
	opacity: 0;
	pointer-events: none;
	transition: opacity .2s ease;
	padding: 24px;
}

.amira-video-lightbox.is-open {
	opacity: 1;
	pointer-events: auto;
}

.amira-video-lightbox-frame {
	position: relative;
	width: min(92vw, 405px);
	aspect-ratio: 9 / 16;
	background: #000;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 24px 60px rgba(0, 0, 0, .4);
}

.amira-video-lightbox-frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.amira-video-lightbox-close {
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 1;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(20, 14, 12, .55);
	border: none;
	border-radius: 50%;
	color: #fefaf2;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	padding: 0;
}

@media (prefers-reduced-motion: reduce) {
	.amira-video-card,
	.amira-video-lightbox {
		transition: none !important;
	}
}
