.pva-videos-section {
	direction: rtl;
	text-align: right;
	margin: 30px 0;
	border: 1px solid #e3e3e3;
	border-radius: 11px;
	padding: 18px;
	box-sizing: border-box;
}

.pva-videos-title {
	font-size: 15px;
	font-weight: 700;
	margin: 0 0 14px;
}

.pva-videos-slider {
	display: flex;
	gap: 14px;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	padding-bottom: 10px;
	-webkit-overflow-scrolling: touch;
}

.pva-videos-slider::-webkit-scrollbar {
	height: 6px;
}

.pva-videos-slider::-webkit-scrollbar-thumb {
	background: #ddd;
	border-radius: 6px;
}

.pva-video-card {
	flex: 0 0 200px;
	scroll-snap-align: start;
	cursor: pointer;
	background: #fff;
	border: 1px solid #eee;
	border-radius: 10px;
	overflow: hidden;
	transition: box-shadow .2s ease, transform .2s ease;
}

.pva-video-card:hover {
	box-shadow: 0 4px 14px rgba(0, 0, 0, .1);
	transform: translateY(-2px);
}

.pva-video-thumb {
	position: relative;
	width: 100%;
	padding-top: 140%; /* نسبت پوستر عمودی مشابه مگنتی */
	background-size: cover;
	background-position: center;
	background-color: #222;
}

.pva-play-icon {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .9);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #222;
}

.pva-video-title {
	font-size: 13px;
	padding: 8px 10px 2px;
	line-height: 1.5;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.pva-video-profile {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px 10px;
	font-size: 12px;
	color: #666;
}

.pva-video-profile img {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	object-fit: cover;
}

/* --- مودال پخش --- */
.pva-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: none;
	align-items: center;
	justify-content: center;
	direction: rtl;
}

.pva-modal.pva-modal-open {
	display: flex;
}

.pva-modal-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .75);
}

.pva-modal-content {
	position: relative;
	background: #fff;
	width: 94%;
	max-width: 960px;
	max-height: 92vh;
	border-radius: 14px;
	overflow: hidden;
	z-index: 1;
	display: flex;
	flex-direction: column;
}

.pva-modal-close {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 3;
	background: rgba(0, 0, 0, .55);
	color: #fff;
	border: none;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.pva-modal-close svg {
	width: 16px;
	height: 16px;
}

.pva-modal-main {
	overflow-y: auto;
}

/* --- بخش پخش ویدیو: مقاوم در برابر استایل‌های قالب --- */
.pva-modal-video-wrap {
	position: relative;
	width: 100%;
	background: #000;
	overflow: hidden;
}

.pva-modal-video {
	position: relative;
	width: 100%;
	height: 0;
	padding-top: 56.25%; /* نسبت 16:9 */
}

.pva-modal-video iframe {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	border: 0 !important;
	display: block !important;
}

/* --- دکمه‌های فلش رفتن به ویدیوی بعدی/قبلی، بیرون از باکس پخش (مثل اسلایدر) --- */
.pva-modal-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: rgba(0, 0, 0, .35);
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 5;
	color: #fff;
}

.pva-modal-nav svg {
	width: 26px;
	height: 26px;
}

.pva-modal-nav:hover {
	background: rgba(0, 0, 0, .55);
}

.pva-modal-nav[hidden] {
	display: none;
}

.pva-modal-prev {
	left: 16px;
}

.pva-modal-next {
	right: 16px;
}

@media (max-width: 600px) {
	.pva-modal-nav {
		width: 40px;
		height: 40px;
	}
	.pva-modal-nav svg {
		width: 20px;
		height: 20px;
	}
	.pva-modal-prev {
		left: 6px;
	}
	.pva-modal-next {
		right: 6px;
	}
}

.pva-modal-info {
	padding: 14px 16px;
}

.pva-modal-title {
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 6px;
}

.pva-modal-profile {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: #555;
}

.pva-modal-profile img {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	object-fit: cover;
}
