/* PF7 Pause Promo - a dismissible cross-sell card mounted INSIDE the player,
   shown on pause (after first play), hidden on resume.
   The outer layer is pointer-events:none so it never blocks the player's
   click-to-play/pause; only the card is interactive. The card sits in the
   lower-right, raised above the control bar, and is sized relative to the player. */
.castv-promo {
	position: absolute;
	inset: 0;
	z-index: 30;
	pointer-events: none;
	overflow: hidden;
}
.castv-promo-card {
	position: absolute;
	right: 10px;
	bottom: 3.5em; /* clear the Video.js control bar */
	display: flex;
	align-items: stretch;
	width: auto;
	max-width: min(300px, 72%);
	pointer-events: auto;
	overflow: hidden;
	border: 1px solid #2a2e37;
	border-radius: 8px;
	background: #15171c;
	color: #fff;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.55);
	font-family: inherit;
}
.castv-promo-close {
	position: absolute;
	top: 4px;
	right: 5px;
	z-index: 2;
	width: 24px;
	height: 24px;
	padding: 0;
	line-height: 22px;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	font-size: 18px;
	cursor: pointer;
}
.castv-promo-close:hover { background: rgba(0, 0, 0, 0.85); }
.castv-promo-link {
	display: flex;
	align-items: stretch;
	text-decoration: none;
	color: inherit;
}
.castv-promo-img {
	flex: 0 0 auto;
	width: 84px;
	height: auto;
	object-fit: cover;
	background: #0d0f12;
}
.castv-promo-body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 3px;
	padding: 8px 22px 8px 10px;
	min-width: 0;
}
.castv-promo-label {
	font-size: 10px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #9aa0ab;
}
.castv-promo-headline {
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.castv-promo-cta {
	align-self: flex-start;
	margin-top: 3px;
	padding: 4px 10px;
	border-radius: 4px;
	background: #e50914;
	color: #fff;
	font-size: 11px;
	font-weight: 600;
}
/* Very short players (mobile 16:9): keep the card compact and still above controls. */
@media (max-width: 640px) {
	.castv-promo-card { bottom: 3em; max-width: min(260px, 82%); }
	.castv-promo-img { width: 66px; }
}
