/* Archimedes' Tub · Animaciones del conjunto de Cantor */
@font-face { font-family: 'ACantor Arcade'; src: url(fuentes/press-start-2p.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'ACantor Poppins'; font-weight: 700; src: url(fuentes/poppins-700.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'ACantor Poppins'; font-weight: 800; src: url(fuentes/poppins-800.woff2) format('woff2'); font-display: swap; }

/* El tema da a cada bloque el ancho de la columna: aquí manda el plugin.
   Nunca más de 440 px de ancho ni más alta que la pantalla (4:5 → ancho = 0,8 × alto). */
figure.acantor.acantor, .entry-content figure.acantor, .wp-block-post-content figure.acantor {
	width: 100%; max-width: min(440px, calc((100vh - 120px) * .8)) !important;
	margin: 2em auto !important; padding: 0;
}
@supports (height: 100dvh) {
	figure.acantor.acantor, .entry-content figure.acantor, .wp-block-post-content figure.acantor {
		max-width: min(440px, calc((100dvh - 120px) * .8)) !important;
	}
}
.acantor-lienzo {
	position: relative; aspect-ratio: 4 / 5; overflow: hidden;
	border-radius: 14px; background: #040614;
	box-shadow: 0 10px 30px rgba(4, 6, 20, .25);
	cursor: pointer;
}
.acantor-lienzo img, .acantor-lienzo canvas {
	position: absolute; inset: 0; width: 100%; height: 100%; display: block; margin: 0; max-width: none;
}
.acantor-lienzo canvas { opacity: 0; }
.acantor--vivo .acantor-lienzo canvas { opacity: 1; }
.acantor--vivo .acantor-lienzo img { visibility: hidden; }
.acantor-boton { text-align: center; margin: 1em 0 0; }
.acantor-boton a {
	display: inline-block; padding: .7em 1.6em; border-radius: 999px;
	background: #040614; color: #FFFFFF; text-decoration: none; font-weight: 700;
	box-shadow: 0 0 0 2px #61AEFD inset, 0 0 14px rgba(97, 174, 253, .45);
}
.acantor-boton a:hover, .acantor-boton a:focus { background: #61AEFD; color: #040614; }

/* el vídeo vertical dentro del artículo */
figure.acantor-video.acantor-video, .entry-content figure.acantor-video, .wp-block-post-content figure.acantor-video {
	width: 100%; max-width: min(360px, calc((100vh - 160px) * .5625)) !important; margin: 2em auto !important;
}
.acantor-video video { width: 100%; height: auto; border-radius: 14px; background: #040614; display: block; }
.acantor-video figcaption { text-align: center; font-size: .9em; opacity: .8; }

/* el diseño de la camiseta, debajo de su animación */
.acantor-camiseta { display: block; margin: 1.2em auto 0; border-radius: 14px; overflow: hidden; background: #000; }
.acantor-camiseta img { display: block; width: 100%; height: auto; margin: 0; }
