/* Directory Cards Carousel — frontend styles */

.rdc-wrapper {
	position: relative;
	width: 100%;
}

.rdc-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
}

.rdc-header h2 {
	margin: 0;
	font-size: 34px;
	line-height: 1.2;
	letter-spacing: 1px;
	width: 100%;
}

.rdc-heading-normal,
.rdc-heading-highlight {
	display: inline-block;
}

.rdc-nav {
	display: flex;
	gap: 10px;
	flex-shrink: 0;
}

.rdc-nav-bottom {
	justify-content: center;
	margin-top: 18px;
}

.rdc-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid currentColor;
	border-radius: 50%;
	cursor: pointer;
	padding: 0;
	transition: opacity .2s ease, transform .15s ease;
}

.rdc-arrow:hover {
	transform: scale(1.05);
}

.rdc-arrow:disabled {
	opacity: .35;
	cursor: default;
	transform: none;
}

.rdc-arrow .rdc-icon {
	width: 40%;
	height: 40%;
}

.rdc-wrapper.rdc-arrows-top_left .rdc-header {
	justify-content: flex-start;
	gap: 18px;
}

.rdc-carousel-wrap {
	position: relative;
	width: 100%;
}

.rdc-carousel {
	overflow: hidden;
	width: 100%;
}

/* "Sides" arrow position: floating prev/next buttons over the carousel edges */
.rdc-wrapper.rdc-arrows-sides .rdc-carousel-wrap {
	padding: 0 52px;
}

.rdc-arrow-side {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 5;
	background: rgba(0,0,0,0.45);
}

.rdc-arrow-side.rdc-arrow-prev {
	left: 0;
}

.rdc-arrow-side.rdc-arrow-next {
	right: 0;
}

.rdc-arrow-side:hover {
	transform: translateY(-50%) scale(1.05);
}

.rdc-track {
	display: flex;
	gap: 20px;
	transition: transform .4s ease;
	will-change: transform;
}

.rdc-card {
	position: relative;
	flex: 0 0 calc((100% - (var(--rdc-slides, 3) - 1) * 20px) / var(--rdc-slides, 3));
	height: 220px;
	border-radius: 6px;
	overflow: hidden;
	border: 1px solid rgba(225,162,44,0.5);
	transition: border-color .25s ease, transform .2s ease;
	outline: none;
}

.rdc-card.rdc-clickable {
	cursor: pointer;
}

.rdc-card.rdc-clickable:hover,
.rdc-card.rdc-clickable:focus-visible {
	transform: translateY(-3px);
}

.rdc-card-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.rdc-card-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(0,0,0,0) 35%, rgba(40,10,20,0.75) 100%);
	pointer-events: none;
}

.rdc-card-bottom {
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 12px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	z-index: 2;
}

.rdc-act-label {
	display: block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1.5px;
}

.rdc-card-bottom-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.rdc-card-title {
	font-size: 15px;
	font-weight: 700;
	color: #fff;
	line-height: 1.3;
}

.rdc-coming-soon {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .5px;
}

.rdc-icon-inline {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.rdc-play-btn,
.rdc-audio-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba(0,0,0,0.35);
}

.rdc-icon {
	width: 22px;
	height: 22px;
}

.rdc-play-btn .rdc-icon {
	width: 16px;
	height: 16px;
}

/* Popup */
.rdc-popup-overlay {
	position: fixed;
	inset: 0;
	background: rgba(10,0,5,0.9);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 999999;
	padding: 20px;
}

.rdc-popup-overlay[hidden] {
	display: none;
}

.rdc-popup-box {
	position: relative;
	width: 100%;
	max-width: 900px;
	aspect-ratio: 16 / 9;
	background: #000;
}

.rdc-popup-media {
	width: 100%;
	height: 100%;
}

.rdc-popup-media iframe,
.rdc-popup-media video {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}
.rdc-popup-close:hover {
    background: transparent !important;
}
.rdc-popup-close {
	position: absolute;
	top: -50px;
	right: 0;
	background: transparent;
	border: none;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
	color: #fff;
}

/* Note: number of visible cards per breakpoint is controlled by the
   --rdc-slides CSS variable, set responsively by Elementor's own
   Desktop/Tablet/Mobile control values (see widget "Carousel Settings"). */
@media (max-width: 600px) {
	.rdc-header h2 {
		font-size: 24px;
	}
}
