/* Click-to-load placeholders for YouTube videos and Google Maps (mu-plugins/peptides-privacy.php). */
.pep-embed {
	position: relative;
	z-index: 2; /* above stretched card links (post grids) */
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: 100%;
	max-width: 100%;
	padding: 20px;
	box-sizing: border-box;
	overflow: hidden;
	border-radius: var(--pt-radius-sm, 10px);
	text-align: center;
}
.pep-embed--video { background: #0b3a40; color: #fff; }
.pep-embed--map { min-height: 300px; height: 100%; background: var(--pt-surface, #f5f9f9); border: 1px solid var(--pt-line, #dde8ea); color: var(--pt-ink, #12343b); }
.pep-embed__thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.pep-embed__btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 48px;
	padding: 10px 22px;
	border: 0;
	border-radius: 999px;
	background: var(--pt-teal-dark, #00858e);
	color: #fff;
	font: inherit;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
}
.pep-embed__btn--play { background: #fff; color: var(--pt-ink, #12343b); box-shadow: 0 6px 24px rgba(0, 0, 0, .3); }
.pep-embed__btn:hover { filter: brightness(1.06); }
.pep-embed__btn:focus-visible, .pep-embed a:focus-visible { outline: 3px solid #ffd54f; outline-offset: 3px; }
.pep-embed__icon { width: 0; height: 0; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent var(--pt-teal-dark, #00858e); }
.pep-embed__note { position: relative; max-width: 34em; margin: 0; font-size: 13px; line-height: 1.45; }
.pep-embed--video .pep-embed__note { padding: 4px 10px; border-radius: 6px; background: rgba(0, 0, 0, .55); color: #fff; }
.pep-embed--video .pep-embed__note a { color: #fff; text-decoration: underline; }
.pep-embed--map .pep-embed__note a, .pep-embed__open { color: var(--pt-teal-dark, #00858e); text-decoration: underline; }
.pep-embed__open { position: relative; font-size: 14px; }
@media (max-width: 480px) {
	.pep-embed { padding: 12px; gap: 8px; }
	.pep-embed--video .pep-embed__note { font-size: 12px; }
}
