/* DB Designer Spotlight v1.0.3 */

.db-designer-spotlight {
	width: 100%;
	overflow: hidden;
}

/* Track wrapper holds track + arrow buttons */
.db-designer-spotlight__track-wrapper {
	position: relative;
	overflow: hidden;
	width: 100%;
}

/* Scrollable track */
.db-designer-spotlight__track {
	display: flex;
	transition: transform 0.4s ease;
	will-change: transform;
	cursor: grab;
	user-select: none;
}

.db-designer-spotlight__track:active {
	cursor: grabbing;
}

/* Each tile: fixed width per viewport */
.db-designer-spotlight__tile {
	position: relative;
	flex: 0 0 33.3333%;
	overflow: hidden;
	display: block;
	text-decoration: none;
}

@media (max-width: 767px) {
	.db-designer-spotlight__tile {
		flex: 0 0 100%;
	}
}

/* Aspect ratio: portrait editorial feel, matches original ~4:5 */
.db-designer-spotlight__tile::after {
	content: '';
	display: block;
	padding-top: 125%;
}

.db-designer-spotlight__image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	transition: transform 0.4s ease;
}

.db-designer-spotlight__tile:hover .db-designer-spotlight__image {
	transform: scale(1.04);
}

/* Overlay — bottom-left, partial width, fades to transparent on the right */
.db-designer-spotlight__overlay {
	position: absolute;
	bottom: 20px;
	left: 0;
	width: 72%;
	padding: 14px 28px 14px 20px;
	display: flex;
	flex-direction: column;
	gap: 3px;
	/* Soft right edge: solid color for 75% of the element width, then fades out */
	-webkit-mask-image: linear-gradient(to right, black 65%, transparent 100%);
	mask-image: linear-gradient(to right, black 65%, transparent 100%);
}

/* Left accent bar — 3px vertical line in overlay color */
.db-designer-spotlight__overlay::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: 3px;
}

/* Black overlay variant */
.db-designer-spotlight__tile--black .db-designer-spotlight__overlay {
	background: rgba(0, 0, 0, 0.62);
}
.db-designer-spotlight__tile--black .db-designer-spotlight__overlay::before {
	background: rgba(255, 255, 255, 0.5);
}

/* Red overlay variant */
.db-designer-spotlight__tile--red .db-designer-spotlight__overlay {
	background: rgba(185, 56, 50, 0.88);
}
.db-designer-spotlight__tile--red .db-designer-spotlight__overlay::before {
	background: rgba(255, 255, 255, 0.6);
}

/* Label — small caps */
.db-designer-spotlight__label {
	font-family: 'Lato', sans-serif;
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.75);
	line-height: 1;
}

/* Name — larger serif feel */
.db-designer-spotlight__name {
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 28px;
	font-weight: 400;
	font-style: italic;
	color: #ffffff;
	line-height: 1.1;
}

@media (max-width: 900px) {
	.db-designer-spotlight__name {
		font-size: 22px;
	}
}

/* Navigation arrows */
.db-designer-spotlight__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	color: #fff;
	font-size: 60px;
	line-height: 1;
	cursor: pointer;
	padding: 0 12px;
	text-shadow: 0 0 8px rgba(0,0,0,0.7);
	z-index: 10;
	opacity: 0.85;
	transition: opacity 0.2s;
	font-family: Georgia, serif;
}

.db-designer-spotlight__arrow:hover {
	opacity: 1;
}

.db-designer-spotlight__arrow--prev {
	left: 4px;
}

.db-designer-spotlight__arrow--next {
	right: 4px;
}

/* Hide arrows when not needed */
.db-designer-spotlight__arrow[hidden] {
	display: none;
}
