/* ── Live stream hero ─────────────────────────────────── */
.yt-live-hero {
	background: linear-gradient(135deg, #070710 0%, #0a0e18 50%, #061224 100%);
	border-radius: 12px;
	overflow: hidden;
	color: #ffffff;
	box-shadow: 0 8px 32px rgba(0,0,0,.25);
	position: relative;
    padding: 0;
}
.yt-live-hero .yt-live-thumb-wrap {
	position: relative;
	overflow: hidden;
}
.yt-live-hero .yt-live-thumb-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .3s ease;
}
.yt-live-hero:hover .yt-live-thumb-wrap img {
	transform: scale(1.03);
}
.yt-live-play-btn {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0,0,0,.15);
	transition: background .3s ease;
}
.yt-live-hero:hover .yt-live-play-btn {
	background: rgba(0,0,0,.5);
}
.yt-live-play-btn i {
	font-size: 52px;
	color: #fff;
	filter: drop-shadow(0 2px 8px rgba(0,0,0,.4));
}
.yt-live-badge {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .8px;
	padding: 3px 10px;
	border-radius: 4px;
}

/* ── LIVE NOW badge (pulsing red) ── */
.yt-live-badge.is-live {
	background: #e53e3e;
	animation: ytBadgePulse 1.6s ease-in-out infinite;
	box-shadow: 0 0 12px rgba(229, 62, 62, .6);
}
@keyframes ytBadgePulse {
	0%, 100% { box-shadow: 0 0 12px rgba(229, 62, 62, .6); }
	50%      { box-shadow: 0 0 24px rgba(229, 62, 62, .9), 0 0 48px rgba(229, 62, 62, .3); }
}

/* ── Upcoming countdown badge ── */
.yt-live-badge.is-upcoming {
	background: rgba(0,0,0,.65);
	backdrop-filter: blur(4px);
	font-size: 11px;
	letter-spacing: .4px;
	text-transform: none;
}
.yt-live-badge.is-upcoming i {
	font-size: 13px;
}
.yt-countdown {
	font-variant-numeric: tabular-nums;
}

/* ── Inline countdown (under title) ── */
.yt-inline-countdown {
	display: flex;
	align-items: center;
	gap: 6px;
	color: rgba(255,255,255,.75);
	font-size: 15px;
	font-weight: 600;
	margin-bottom: 8px;
}
.yt-inline-countdown i {
	font-size: 15px;
}
.yt-live-badge .pulse-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #fff;
	animation: ytPulse 1.4s ease-in-out infinite;
}
@keyframes ytPulse {
	0%, 100% { opacity: 1; }
	50% { opacity: .4; }
}
.yt-live-body {
	padding: 20px 24px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.yt-live-body h5 {
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.4;
	margin-bottom: 8px;
	color: #ffffff;
}
.yt-live-body p {
	font-size: .85rem;
	color: rgba(255,255,255,.7);
	line-height: 1.5;
	margin-bottom: 14px;
}
.yt-live-cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #16a34a;
	color: #fff;
	font-weight: 600;
	font-size: 13px;
	padding: 8px 18px;
	border-radius: 6px;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: background .2s ease;
	align-self: flex-start;
}
.yt-live-cta:hover { background: #15803d; color: #fff; }

.yt-schedule-badge {
	position: absolute;
	bottom: 12px;
	right: 12px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 8px;
	background: rgba(255,255,255,.15);
	color: #fff;
	font-size: 18px;
	cursor: pointer;
	transition: background .2s ease;
	backdrop-filter: blur(4px);
}
.yt-schedule-badge:hover {
	background: rgba(255,255,255,.3);
}

/* ── Calendar styles ──────────────────────────────────── */
.yt-calendar-day {
	min-height: 110px;
	vertical-align: top;
	font-size: 12px;
	background: #ffffff;
}
.yt-calendar-wrap {
	background: #ffffff;
	border: 1px solid #e6e6e6;
	border-radius: 6px;
	box-shadow: 0 10px 24px rgba(16, 24, 40, 0.08);
	overflow: hidden;
}
.yt-calendar-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 12px;
	background: #f6f6f6;
	border-bottom: 1px solid #e6e6e6;
}
.yt-calendar-title {
	font-weight: 600;
	color: #2a2a2a;
}
.yt-calendar-actions .btn {
	padding: 2px 8px;
	font-size: 12px;
	line-height: 1.4;
}
.yt-calendar-actions .btn-danger {
	background: #f07b85;
	border-color: #f07b85;
}
.yt-calendar-actions .btn-light {
	background: #ffffff;
	border-color: #e0e0e0;
}
.yt-calendar-day.has-events {
	background: #f7f9fb;
}
.yt-calendar-event {
	font-size: 12px;
	line-height: 1.3;
	margin-bottom: 6px;
}
.yt-calendar-time {
	font-weight: 600;
	margin-right: 4px;
	color: #1f2937;
}
.yt-calendar-event a {
	display: inline-block;
	padding: 2px 6px;
	border-radius: 4px;
	background: #f07b85;
	color: #ffffff;
	text-decoration: none;
}
.yt-calendar-event a:hover {
	background: #e56671;
	color: #ffffff;
}
.yt-calendar-day.is-today {
	background: #fffbe6;
}
.yt-calendar-day.is-today .yt-cal-day-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #1a73e8;
	color: #fff;
	font-weight: 700;
}

/* ── Add to Calendar button + dropdown ────────────────── */
.yt-add-to-cal-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	background: #fff;
	color: #6b7280;
	font-size: 15px;
	cursor: pointer;
	transition: all .2s ease;
}
.yt-add-to-cal-btn:hover {
	background: #f3f4f6;
	color: #374151;
	border-color: #d1d5db;
}
.yt-cal-dropdown {
	display: none;
	position: absolute;
	right: 0;
	top: 100%;
	margin-top: 4px;
	min-width: 180px;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	box-shadow: 0 4px 16px rgba(0,0,0,.12);
	z-index: 10;
	overflow: hidden;
}
.yt-cal-dropdown.show {
	display: block;
}
.yt-cal-dropdown a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	font-size: 13px;
	color: #374151;
	text-decoration: none;
	transition: background .15s ease;
}
.yt-cal-dropdown a:hover {
	background: #f3f4f6;
	color: #111827;
}
.yt-cal-dropdown a i {
	font-size: 14px;
	width: 16px;
	text-align: center;
	color: #6b7280;
}
.yt-cal-dropdown a:not(:last-child) {
	border-bottom: 1px solid #f3f4f6;
}

/* ── Schedule group headers ───────────────────────────── */
.yt-schedule-group-header {
	padding: 8px 16px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .6px;
	color: #6b7280;
	background: #f3f4f6;
	border-bottom: 1px solid #e5e7eb;
}

/* ── Oversized video modal ───────────────────────────── */
@media (min-width: 992px) {
	.yt-modal-dialog-xxl {
		max-width: 95vw;
	}
}
@media (min-width: 2100px) {
	.yt-modal-dialog-xxl {
		max-width: 85vw;
	}
}

/* ── Video + Live chat in video modal ────────────────── */
.yt-modal-video-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
}
.yt-modal-video-wrap > iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
.yt-live-chat-iframe {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 400px;
	border: none;
	border-left: 1px solid #e5e7eb;
}

/* ── Risk warning marquee ────────────────────────────── */
@keyframes ytMarquee {
	0%   { transform: translateX(0); }
	100% { transform: translateX(-100%); }
}
.yt-modal-disclaimer {
	background: #fffbeb;
	border-top: 1px solid #fde68a;
	padding: 8px 0;
	overflow: hidden;
}
.yt-modal-disclaimer-inner {
	display: inline-block;
	white-space: nowrap;
	padding-left: 100%;
	font-size: 12px;
	color: #78350f;
	animation: ytMarquee 50s linear infinite;
	will-change: transform;
}
.yt-modal-disclaimer-inner:hover {
	animation-play-state: paused;
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 767.98px) {
	.yt-live-body { padding: 16px; }
	.yt-live-body h5 { font-size: 1rem; }
	.yt-live-play-btn i { font-size: 40px; }
	.yt-live-chat-iframe {
		min-height: 300px;
		border-left: none;
		border-top: 1px solid #e5e7eb;
	}
}
