/*
 * Entérate Core · estilos base de los bloques (funcionan con cualquier tema).
 * Valores tomados del prototipo v4 (video en nota y anuncio en cuerpo). El tema Entérate Hidalgo
 * los afina con sus tokens; aquí solo lo imprescindible.
 */

.eh-video-embed { margin: 4px 0; display: flex; flex-direction: column; gap: 8px; }
.eh-video-embed__caption { font: 400 13px/1.45 'IBM Plex Sans', system-ui, sans-serif; color: #5b6680; }

.eh-yt {
	position: relative; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden;
	background: radial-gradient( 110% 100% at 30% 30%, #2b4378 0%, #122452 50%, #081534 100% );
	color: #fff;
}
.eh-yt--short { aspect-ratio: 9 / 16; max-width: 360px; border-radius: 10px; }
.eh-yt__img, .eh-yt__frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.eh-yt__badge {
	position: absolute; top: 12px; left: 12px; padding: 5px 9px; border-radius: 3px;
	background: rgba( 255, 255, 255, .14 ); color: #fff;
	font-family: 'Archivo', system-ui, sans-serif; font-stretch: 125%; font-weight: 800; font-size: 10px; letter-spacing: .16em;
}
.eh-yt__play {
	position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%; border: 0; padding: 0;
	background: #ff6b00; cursor: pointer; display: grid; place-items: center;
	transition: transform .2s ease; touch-action: manipulation;
}
.eh-yt__play:hover { transform: scale( 1.07 ); }
.eh-yt__play:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.eh-yt__triangle { width: 0; height: 0; border-left: 18px solid #03112f; border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 5px; }
.eh-yt__dur {
	position: absolute; bottom: 10px; right: 10px; padding: 3px 7px; border-radius: 3px;
	background: rgba( 3, 17, 47, .8 ); color: #fff; font: 600 11px 'IBM Plex Mono', ui-monospace, monospace;
}
.eh-yt__fallback { position: absolute; bottom: 10px; left: 10px; color: #fff; }

.eh-ad--inline {
	margin: 6px 0; padding: 14px 0; border-top: 1px solid #e3e6ec; border-bottom: 1px solid #e3e6ec;
	display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.eh-ad__label { font: 600 9.5px 'IBM Plex Sans', system-ui, sans-serif; letter-spacing: .2em; color: #6b7590; text-transform: uppercase; }
.eh-ad--inline .eh-ad__slot { width: 300px; max-width: 100%; min-height: 250px; display: grid; place-items: center; }
.eh-ad__img { display: block; max-width: 100%; height: auto; }
.eh-ad--editor .eh-ad__slot { background: #f3f4f7; border-radius: 2px; padding: 16px; text-align: center; font: 500 12px/1.45 'IBM Plex Sans', system-ui, sans-serif; color: #6b7590; }

@media ( prefers-reduced-motion: reduce ) {
	.eh-yt__play { transition: none; }
}
