/* Añadidos a los estilos originales: portada de vídeo, formulario de contacto y listado del blog. */
.ej-yt { position: relative; width: 100%; height: 100%; }
.ej-yt-play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: #000; cursor: pointer; }
.ej-yt-play img { width: 100%; height: 100%; object-fit: cover; }
.ej-yt-icono { position: absolute; top: 50%; left: 50%; width: 68px; height: 48px; transform: translate(-50%, -50%); opacity: .9; transition: opacity .15s; }
.ej-yt-play:hover .ej-yt-icono, .ej-yt-play:focus-visible .ej-yt-icono { opacity: 1; }

.ej-form .elementor-form-fields-wrapper { display: flex; flex-wrap: wrap; margin: 0 -5px -10px; }
.ej-form .elementor-field-group { width: 100%; padding: 0 5px; margin-bottom: 10px; }
.ej-form .elementor-field-label { display: block; margin-bottom: 4px; color: #4f4f4f; }
.ej-form .elementor-field-textual { width: 100%; min-height: 40px; padding: 5px 14px; border: 1px solid #69727d; border-radius: 3px; background: #fff; color: #1f2124; font: 15px/1.4 Alice, serif; }
.ej-form textarea.elementor-field-textual { min-height: 120px; }
.ej-form .elementor-field-textual:focus { outline: 0; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
.ej-form .elementor-field-option { display: flex; align-items: flex-start; gap: 6px; }
.ej-form .elementor-field-option input { margin-top: 5px; accent-color: #e35586; }
.ej-form .elementor-button { width: 100%; padding: 10px 20px; border: 0; border-radius: 3px; background: #e35586; color: #fff; font: 15px/1 Alice, serif; cursor: pointer; }
.ej-form .elementor-button:hover { background: #c93f70; }
.ej-trampa { position: absolute; left: -9999px; }

.ej-rejilla .wpcap-grid-container { grid-column-gap: 15px; grid-row-gap: 30px; }
.ej-rejilla .post-grid-inner { text-align: left; }
.ej-rejilla .wpcap-grid-container .wpcap-post .title, .ej-rejilla .wpcap-grid-container .wpcap-post .title > a { color: var(--e-global-color-primary); }
.ej-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Banda artm3: la holgura que deja bajo el pie lleva el gris de la barra inferior de Astra. */
footer.site-footer { background-color: #777; }
/* Astra oscurece todos los botones al pasar el ratón: la banda y el aspa conservan su color. */
.a3__banda:hover, .a3__banda:focus, .a3__banda:active { background: var(--a3-naranja); color: #fff; border: 0; }
.a3__close:hover, .a3__close:focus, .a3__close:active { background: #131315; color: #f2f2f0; border: 1px solid rgba(255, 255, 255, .09); }

/* Descarga del e-book en la portada (sustituye a la newsletter), con el aspecto del botón del formulario. */
.ej-boton { display: inline-block; padding: 12px 24px; border-radius: 3px; background: #e35586; color: #fff; font: 15px/1 Alice, serif; text-decoration: none; }
.ej-boton:hover, .ej-boton:focus { background: #c93f70; color: #fff; }

/* Encabezados que cambiaron de etiqueta para dejar un solo H1 por página: conservan el tamaño de su nivel original
   (mismas medidas que Astra y Elementor para h1, h2 y h3; el id gana a sus reglas). */
#page .ej-como-h1 { font-size: 30px; line-height: 1.4em; }
#page .ej-como-h2 { font-size: 26px; line-height: 1.3em; }
#page .ej-como-h3 { font-size: 22px; line-height: 1.3em; }
@media (max-width: 921px) {
  #page .ej-como-h2 { font-size: 25px; }
  #page .ej-como-h3 { font-size: 20px; }
}

/* Botón «Escríbenos» de la cabecera, ahora un enlace normal con el aspecto del botón original de Astra. */
#page .ej-escribenos { display: inline-block; padding: 10px 40px; border-radius: 2px; background: #e35586; color: #fff; font: 15px/15px Alice, sans-serif; text-decoration: none; }
#page .ej-escribenos:hover, #page .ej-escribenos:focus { background: #c93f70; color: #fff; }
/* En móvil Astra lo escondía y desde el menú no se llegaba al contacto: va al final del menú desplegado. */
#page.ast-header-break-point .main-header-menu .ast-masthead-custom-menu-items,
.ast-header-break-point #page .main-header-menu .ast-masthead-custom-menu-items { display: block; padding: 16px 20px; line-height: 1; }
