.wm-tslider {
	position: relative;
}

.wm-tslider-container {
	overflow: hidden;
}

.wm-tslider-track {
	display: flex;
	transition-property: transform;
	transition-timing-function: ease;
}

.wm-tslider-slide {
	flex-shrink: 0;
	box-sizing: border-box;
}

/* Card */
.wm-tslider-card {
	position: relative;
	height: 100%;
	box-sizing: border-box;
}

/* Photo */
.wm-tslider-photo {
	position: relative;
	margin-bottom: 16px;
	border-radius: 16px;
	overflow: hidden;
}

.wm-tslider-photo img {
	display: block;
	width: 100%;
	height: 260px;
	object-fit: cover;
	transform: scale(1);
	transition: transform .5s ease;
}

/* Hover zoom: the photo wrapper clips the overflow, so only the image grows. */
.wm-tslider-card:hover .wm-tslider-photo img,
.wm-tslider-card:focus-within .wm-tslider-photo img {
	transform: scale(1.06);
}

@media (prefers-reduced-motion: reduce) {
	.wm-tslider-photo img {
		transition-duration: .01ms;
	}
}

/* Position pill */
.wm-tslider-position {
	position: absolute;
	top: 12px;
	right: 12px;
	display: inline-block;
	padding: 6px 14px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.6);
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
	font-size: 13px;
	line-height: 1;
	backdrop-filter: blur(4px);
}

/* Name */
.wm-tslider-name {
	margin: 0 0 6px;
	font-weight: 700;
}

/* Detail */
.wm-tslider-detail {
	margin: 0;
}

/* Nav */
.wm-tslider-nav {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 24px;
}

.wm-tslider-arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	cursor: pointer;
	background: transparent;
	border: 1px solid currentColor;
	border-radius: 50%;
	line-height: 1;
	font-size: 18px;
	transition: all 0.3s ease;
}

.wm-tslider-arrow i {
	font-size: inherit;
}

.wm-tslider-arrow svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.wm-tslider-arrow:disabled {
	opacity: 0.35;
	cursor: default;
}
