/**
 * PCO YouTube Cookie Consent
 * Styles for embedded YouTube videos with GDPR-compliant cookie consent
 *
 * @version 1.0.0
 * @author Peytz & Co
 */

/* Content YouTube videos (embedded in posts) */
.youtube-content-consent-wrapper {
	position: relative;
	max-width: 100%;
	margin-top: 1.25rem !important;
	margin-bottom: 3.75rem !important;
}

.youtube-content-placeholder {
	position: relative;
	background: #000;
	overflow: hidden;
}

.youtube-content-placeholder__thumbnail {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.youtube-content-placeholder__overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.85);
	backdrop-filter: blur(10px);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.3s ease;
}

.youtube-content-placeholder__overlay:hover {
	background: rgba(0, 0, 0, 0.9);
}

.youtube-content-consent-box {
	text-align: center;
	padding: 0 1.25rem;
}

.youtube-content-placeholder__play-button {
	background: rgba(255, 0, 0, 0.95);
	color: white;
	border: none;
	padding: 1.125rem 2.5rem;
	font-size: 1.125rem;
	font-weight: 600;
	cursor: pointer;
	border-radius: 3.125rem;
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.4);
	transition: all 0.3s ease;
}

.youtube-content-placeholder__play-button:hover {
	background: rgb(255, 0, 0);
	transform: translateY(-0.1875rem);
	box-shadow: 0 0.75rem 1.875rem rgba(0, 0, 0, 0.5);
}

.youtube-content-placeholder__play-button svg {
	width: 1.5rem;
	height: 1.5rem;
	flex-shrink: 0;
}

.youtube-content-placeholder__play-button span {
	color: white;
}

.youtube-content-placeholder__notice {
	margin-top: 0.9375rem;
}

.youtube-content-placeholder__notice p {
	color: white;
	font-size: 1rem;
	font-weight: 500;
	text-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.8);
	margin: 0;
}

.youtube-content-iframe-container {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.youtube-content-iframe-container > div {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.youtube-content-iframe-container iframe {
	width: 100%;
	height: 100%;
}
