/* Richard Slider Plugin – Frontend Styles (Coverflow / Dark theme) */

/* ── Outer wrapper ─────────────────────────── */
.richard-slider-wrap {
	width: 100%;
	background: #000;
	padding: 40px 0 50px;
	position: relative;
	overflow: hidden;
	box-sizing: border-box;
}

/* ── Swiper container ──────────────────────── */
.richard-swiper {
	width: 100%;
	padding-bottom: 50px !important;
}

/* ── Individual slide ──────────────────────── */
.richard-swiper .swiper-slide {
	width: 360px;         /* base width – coverflow will scale active one */
	height: auto;
	display: flex;
	justify-content: center;
	transition: transform 0.4s ease;
}

/* ── Slide link ────────────────────────────── */
.richard-slide-link {
	display: block;
	text-decoration: none;
	color: inherit;
	width: 100%;
}

/* ── Thumbnail wrapper ─────────────────────── */
.richard-thumb-wrap {
	position: relative;
	overflow: hidden;
	cursor: pointer;
	background: #111;
	margin: 0 auto;
	border: 2px solid #b8860b;          /* gold border – inactive */
	box-sizing: border-box;
	transition: border-color 0.35s ease, box-shadow 0.35s ease;
	/* width / height set inline from PHP settings */
}

/* Active (centre) slide gets a brighter gold border + glow */
.richard-swiper .swiper-slide-active .richard-thumb-wrap {
	border-color: #d4a017;
	box-shadow:
		0 0 0 1px #d4a017,
		0 0 24px 4px rgba(212, 160, 23, 0.45);
}

/* ── Thumbnail image ───────────────────────── */
.richard-thumb {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

/* ── Hover zoom ────────────────────────────── */
.richard-thumb-wrap:hover .richard-thumb {
	transform: scale(1.06);
}

/* ── Hover overlay ─────────────────────────── */
.richard-thumb-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.4);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.richard-thumb-wrap:hover .richard-thumb-overlay {
	opacity: 1;
}

.richard-zoom-icon {
	font-size: 2.2rem;
	color: #fff;
	filter: drop-shadow( 0 2px 6px rgba(0,0,0,.7) );
}

/* ── Slide title ───────────────────────────── */
.richard-slide-title {
	margin: 10px 0 0;
	font-size: 0.85rem;
	text-align: center;
	color: #b8860b;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	font-weight: 600;
}

/* ── Navigation arrows ─────────────────────── */
.richard-nav-prev,
.richard-nav-next {
	color: #aaa !important;
	width: 44px !important;
	height: 44px !important;
	transition: color 0.2s;
}

.richard-nav-prev {
	left: 10px !important;
}

.richard-nav-next {
	right: 10px !important;
}

.richard-nav-prev:hover,
.richard-nav-next:hover {
	color: #fff !important;
}

.richard-nav-prev::after,
.richard-nav-next::after {
	font-size: 22px !important;
	font-weight: 700;
}

/* ── Pagination dots ───────────────────────── */
.richard-pagination {
	bottom: 10px !important;
}

.richard-pagination .swiper-pagination-bullet {
	background: #555;
	opacity: 1;
	width: 8px;
	height: 8px;
	transition: background 0.25s;
}

.richard-pagination .swiper-pagination-bullet-active {
	background: #d4a017;
}

/* ── Lazy-load preloader ───────────────────── */
.swiper-lazy-preloader {
	border-color: #444 !important;
	border-top-color: #d4a017 !important;
}

/* ── GLightbox overrides ───────────────────── */
.glightbox-container .gslide-description {
	background: rgba(0, 0, 0, 0.8);
	color: #d4a017;
}

/* ── Responsive ────────────────────────────── */
@media ( max-width: 768px ) {
	.richard-swiper .swiper-slide {
		width: 260px;
	}

	.richard-thumb-wrap {
		width: 260px !important;
		height: 260px !important;
	}
}

@media ( max-width: 480px ) {
	.richard-swiper .swiper-slide {
		width: 200px;
	}

	.richard-thumb-wrap {
		width: 200px !important;
		height: 200px !important;
	}
}
