/* ==========================================================
   REELS — SAME VISUAL SYSTEM AS PODCAST
   ========================================================== */

.rh-reels {
	background: var(--reach-black);
	color: var(--reach-white);
	padding: clamp(56px, 9vh, 100px) 0;
	overflow: hidden;
}

.rh-reels .rh-eyebrow {
	color: var(--reach-green);
}

.rh-reels h2 {
	color: var(--reach-white);
}

.rh-reels__section-head {
	text-align: center;
	max-width: 900px;
	margin-inline: auto;
}

.rh-reels__slider {
	position: relative;
	width: 100%;
	margin-top: 34px;
}

.rh-reels__track {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	gap: 20px;
	width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	padding: 4px 2px 22px;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	direction: ltr;
}

.rh-reels__track::-webkit-scrollbar {
	display: none;
}

.rh-reels__card {
	position: relative;
	display: block;
	flex: 0 0 calc((100% - 60px) / 4);
	width: calc((100% - 60px) / 4);
	min-width: 0;
	aspect-ratio: 9 / 16;
	height: auto;
	min-height: 0;
	padding: 0 !important;
	margin: 0;
	border: 0 !important;
	border-radius: 18px !important;
	outline: none;
	background: #16181d;
	overflow: hidden;
	cursor: pointer;
	scroll-snap-align: start;
	text-align: left;
	line-height: 0;
	-webkit-appearance: none;
	appearance: none;
	box-shadow: none;
	transform: none;
	transition: transform .3s ease, box-shadow .3s ease;
}

.rh-reels__card:hover {
	transform: translateY(-6px);
	box-shadow: 0 20px 40px rgba(0,0,0,.4);
}

.rh-reels__card:focus-visible {
	outline: 3px solid var(--reach-green) !important;
	outline-offset: 4px;
}

.rh-reels__poster {
	position: absolute !important;
	inset: 0 !important;
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	margin: 0 !important;
	padding: 0 !important;
	object-fit: cover;
	border: 0 !important;
	border-radius: 0 !important;
	background: #16181d;
	box-shadow: none !important;
	transition: transform .4s ease;
}

.rh-reels__card:hover .rh-reels__poster {
	transform: scale(1.04);
}

.rh-reels__shade {
	position: absolute;
	z-index: 1;
	inset: 0;
	display: block;
	background: linear-gradient(
		180deg,
		rgba(0,0,0,.05) 0%,
		rgba(0,0,0,.05) 45%,
		rgba(0,0,0,.35) 100%
	);
	pointer-events: none;
}


/* Reels play button */

.rh-reels__card .rh-reel__play {
	position: absolute;
	z-index: 3;
	top: 50%;
	left: 50%;
	width: 54px;
	height: 54px;
	margin: -27px 0 0 -27px;
	border-radius: 50% !important;
	background: rgba(255,255,255,.18);
	box-shadow: inset 0 0 0 2px rgba(255,255,255,.65);
	backdrop-filter: blur(3px);
	pointer-events: none;
	transition: background .25s ease, transform .25s ease;
}

.rh-reels__card .rh-reel__play::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	transform: translate(-38%, -50%);
	border-style: solid;
	border-width: 9px 0 9px 15px;
	border-color: transparent transparent transparent var(--reach-white);
}

.rh-reels__card:hover .rh-reel__play {
	background: var(--reach-green);
	transform: scale(1.08);
}


/* Arrows UNDER the videos */

.rh-reels__nav {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	margin-top: 16px;
	direction: ltr;
}

.rh-reels__btn {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	flex: 0 0 46px;
	width: 46px !important;
	height: 46px !important;
	min-width: 46px;
	min-height: 46px;
	margin: 0;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: transparent;
	color: var(--reach-white);
	box-shadow: inset 0 0 0 2px rgba(255,255,255,.35);
	font-size: 19px;
	line-height: 1;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	transition: background .25s ease, color .25s ease, box-shadow .25s ease, transform .2s ease;
}

.rh-reels__btn:hover {
	background: var(--reach-green);
	color: var(--reach-black);
	box-shadow: inset 0 0 0 2px var(--reach-green);
}

.rh-reels__btn:active {
	transform: scale(.9);
}

.rh-reels__btn:focus-visible {
	outline: 3px solid var(--reach-green);
	outline-offset: 3px;
}


/* RTL — slider reverses, arrows remain LTR */

html[dir="rtl"] .rh-reels__track,
body.rtl .rh-reels__track,
.rtl .rh-reels__track {
	direction: rtl;
}

html[dir="rtl"] .rh-reels__nav,
body.rtl .rh-reels__nav,
.rtl .rh-reels__nav {
	direction: ltr;
}


/* Responsive */

@media (max-width: 1100px) {

	.rh-reels__card {
		flex-basis: calc((100% - 40px) / 3);
		width: calc((100% - 40px) / 3);
	}
}

@media (max-width: 700px) {





	.rh-reels {
		padding: 55px 0;
	}

	.rh-reels__track {
		gap: 14px;
		padding-bottom: 18px;
	}

	.rh-reels__card {
		flex: 0 0 min(76vw, 270px);
		width: min(76vw, 270px);
		aspect-ratio: 9 / 16;
		border-radius: 18px !important;
	}

	.rh-reels__nav {
		margin-top: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {

	.rh-reels__track {
		scroll-behavior: auto;
	}

	.rh-reels__card,
	.rh-reels__poster,
	.rh-reels__card .rh-reel__play { transition: none; }
}
/* Keep navigation arrows physical in both languages. */
.rtl .rh-reels__btn { transform: none; }
.rtl .rh-reels__btn:active { transform: scale(.9); }
.rh-reels__head { display: block; }
.rh-reels__nav { margin-bottom: 0; }
.rh-reels__card .rh-reel__title { line-height: 1.3; }
.rh-reels__card .rh-reel__views { line-height: 1.4; }
