/**
 * Single Video - layout premium
 * @package GuiaSaude
 */

.single-video-page {
	--sv-primary: #0d9488;
	--sv-primary-dark: #0f766e;
	--sv-accent: #0ea5e9;
	--sv-bg: #f8fafc;
	--sv-card: #ffffff;
	--sv-border: #e2e8f0;
	--sv-text: #0f172a;
	--sv-muted: #64748b;
	background: var(--sv-bg);
	color: var(--sv-text);
}

.single-video-page *,
.single-video-page *::before,
.single-video-page *::after {
	box-sizing: border-box;
}

.single-video-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

.single-video-breadcrumb-bar {
	background: #f9fafb;
	border-bottom: 1px solid var(--sv-border);
}

.single-video-breadcrumb {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
	padding: 0.8rem 0;
	font-size: 0.875rem;
	color: var(--sv-muted);
}

.single-video-breadcrumb a {
	color: var(--sv-muted);
	text-decoration: none;
	transition: color 0.2s ease;
}

.single-video-breadcrumb a:hover {
	color: var(--sv-primary);
}

.single-video-breadcrumb svg {
	width: 0.9rem;
	height: 0.9rem;
	color: #94a3b8;
	flex-shrink: 0;
}

.single-video-breadcrumb-current {
	color: #1e293b;
	font-weight: 600;
}

.single-video-hero {
	position: relative;
	overflow: hidden;
	padding: 2.8rem 0 3.3rem;
}

.single-video-hero-bg {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, #0f766e 0%, #0d9488 35%, #0284c7 100%);
}

.single-video-hero-pattern {
	position: absolute;
	inset: 0;
	opacity: 0.15;
	background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.5' stroke-width='1.5'%3E%3Cpath d='M0 40h80M40 0v80'/%3E%3C/g%3E%3C/svg%3E");
}

.single-video-hero-glow {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at top left, rgba(255, 255, 255, 0.24), transparent 52%),
		radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.25), transparent 55%);
}

.single-video-hero-inner {
	position: relative;
	z-index: 1;
}

.single-video-hero-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1rem;
}

.single-video-badge {
	display: inline-flex;
	align-items: center;
	padding: 0.3rem 0.75rem;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 600;
	color: #ecfeff;
	background: rgba(15, 23, 42, 0.24);
	border: 1px solid rgba(236, 254, 255, 0.35);
}

.single-video-badge-category {
	background: rgba(12, 74, 110, 0.45);
}

.single-video-title {
	margin: 0;
	font-size: clamp(1.9rem, 3.4vw, 2.8rem);
	line-height: 1.15;
	letter-spacing: -0.03em;
	font-weight: 800;
	color: #f0fdfa;
	text-shadow: 0 2px 8px rgba(8, 47, 73, 0.35);
	max-width: 24ch;
}

.single-video-excerpt {
	margin: 0.9rem 0 0;
	font-size: clamp(1rem, 1.2vw, 1.15rem);
	line-height: 1.65;
	max-width: 70ch;
	color: rgba(236, 254, 255, 0.95);
}

.single-video-meta-row {
	margin-top: 1.1rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.25rem;
	font-size: 0.88rem;
	color: rgba(224, 242, 254, 0.95);
}

.single-video-meta-row strong {
	color: #f0fdfa;
	font-weight: 700;
}

.single-video-hero-wave {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 70px;
	background: linear-gradient(to top, var(--sv-bg), rgba(248, 250, 252, 0));
}

.single-video-main {
	padding: 2rem 0 3.5rem;
}

.single-video-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.25rem;
}

@media (min-width: 1024px) {
	.single-video-grid {
		grid-template-columns: minmax(0, 1fr) 320px;
		gap: 1.5rem;
		align-items: start;
	}
}

.single-video-content-col {
	display: grid;
	gap: 1.1rem;
}

.single-video-player-card,
.single-video-card,
.single-video-side-card {
	background: var(--sv-card);
	border: 1px solid var(--sv-border);
	border-radius: 1rem;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.single-video-player-card {
	padding: 0.9rem;
}

.single-video-embed {
	position: relative;
	overflow: hidden;
	padding-top: 56.25%;
	border-radius: 0.85rem;
	background: #0f172a;
}

.single-video-embed iframe,
.single-video-embed video,
.single-video-embed object,
.single-video-embed embed {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.single-video-cover {
	border-radius: 0.85rem;
	overflow: hidden;
	background: #0f172a;
}

.single-video-cover img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
}

.single-video-card {
	padding: 1.4rem;
}

.single-video-section-title {
	margin: 0 0 0.85rem;
	font-size: 1.15rem;
	font-weight: 800;
	letter-spacing: -0.01em;
	color: #0f172a;
}

.single-video-prose {
	font-size: 1rem;
	line-height: 1.75;
	color: #334155;
}

.single-video-prose > *:first-child {
	margin-top: 0;
}

.single-video-prose > *:last-child {
	margin-bottom: 0;
}

.single-video-summary p,
.single-video-disclaimer p {
	margin: 0;
	line-height: 1.75;
	color: #334155;
}

.single-video-disclaimer {
	background: linear-gradient(180deg, #f0fdfa 0%, #f8fafc 100%);
}

.single-video-disclaimer-head {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	margin-bottom: 0.45rem;
}

.single-video-disclaimer-icon {
	width: 1rem;
	height: 1rem;
	color: var(--sv-primary);
}

.single-video-sidebar {
	display: grid;
	gap: 1rem;
}

@media (min-width: 1024px) {
	.single-video-sidebar {
		position: sticky;
		top: 1rem;
	}
}

.single-video-side-card {
	padding: 1rem;
}

.single-video-side-card h3 {
	margin: 0 0 0.8rem;
	font-size: 1rem;
	font-weight: 700;
	color: #0f172a;
}

.single-video-side-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.7rem;
}

.single-video-side-list li {
	display: flex;
	justify-content: space-between;
	gap: 0.8rem;
	font-size: 0.88rem;
	padding-bottom: 0.55rem;
	border-bottom: 1px dashed #cbd5e1;
}

.single-video-side-list li:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.single-video-side-list span {
	color: #64748b;
}

.single-video-side-list strong {
	color: #0f172a;
	text-align: right;
}

.single-video-side-actions {
	display: grid;
	gap: 0.65rem;
}

.single-video-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	width: 100%;
	border: 1px solid rgba(13, 148, 136, 0.25);
	border-radius: 0.75rem;
	padding: 0.65rem 0.8rem;
	font-size: 0.88rem;
	font-weight: 600;
	text-decoration: none;
	color: #0f766e;
	background: #f0fdfa;
	transition: all 0.2s ease;
}

.single-video-btn:hover {
	color: #115e59;
	background: #ccfbf1;
	border-color: rgba(15, 118, 110, 0.35);
}

.single-video-btn svg {
	width: 0.9rem;
	height: 0.9rem;
}

.single-video-btn-muted {
	color: #0c4a6e;
	background: #f0f9ff;
	border-color: rgba(14, 165, 233, 0.25);
}

.single-video-btn-muted:hover {
	background: #e0f2fe;
	color: #075985;
	border-color: rgba(2, 132, 199, 0.35);
}

@media (max-width: 640px) {
	.single-video-container {
		padding: 0 1rem;
	}

	.single-video-hero {
		padding: 2.2rem 0 2.7rem;
	}

	.single-video-main {
		padding: 1.4rem 0 2.2rem;
	}

	.single-video-player-card,
	.single-video-card,
	.single-video-side-card {
		border-radius: 0.85rem;
	}

	.single-video-card {
		padding: 1rem;
	}
}
