/*
Theme Name:   Zona Joven
Theme URI:    https://zonajovencolombia.com
Description:  Tema hijo de Hello Elementor para Zona Joven Colombia. Carga la tipografía y los estilos base; todo el diseño se arma con Elementor Pro y el plugin Zona Joven Core.
Author:       Zona Joven Colombia
Template:     hello-elementor
Version:      1.1.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain:  zona-joven
License:      GPL-2.0-or-later
*/

/* Base global: la mayoría del estilo vive en Elementor (Kit) y en el plugin. */
:root{
  --zj-night:#0D0626;--zj-deep:#1A0B45;--zj-purple:#2A0D5E;--zj-violet:#5B17A8;
  --zj-ink:#1A0B45;--zj-muted:#4A3F6B;
}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{font-family:"Montserrat",system-ui,sans-serif;color:var(--zj-ink);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
h1,h2,h3,h4,h5,h6{font-family:"Poppins",system-ui,sans-serif;text-wrap:balance}
img{max-width:100%;height:auto}
:focus-visible{outline:2px solid #C8146E;outline-offset:3px;border-radius:6px}
::selection{background:#C8146E;color:#fff}
.skip-link{position:absolute;left:-9999px}.skip-link:focus{left:16px;top:16px;z-index:999;padding:10px 16px;border-radius:12px;background:#fff;color:#2A0D5E}

/* Cuerpo de la nota: lectura cómoda en móvil y escritorio */
.zj-article .elementor-widget-theme-post-content{max-width:720px;margin-inline:auto}
.zj-article .elementor-widget-theme-post-content p,
.zj-article .elementor-widget-theme-post-content li{font-size:clamp(17px,1.2vw,19px);line-height:1.75;color:#2B2250}
.zj-article .elementor-widget-theme-post-content h2{font-size:clamp(22px,2.2vw,30px);line-height:1.25;margin:1.6em 0 .6em}
.zj-article .elementor-widget-theme-post-content h3{font-size:clamp(19px,1.8vw,24px);margin:1.4em 0 .5em}
.zj-article .elementor-widget-theme-post-content a{color:#A3125F;text-decoration:underline;text-underline-offset:3px}
.zj-article .elementor-widget-theme-post-content blockquote{margin:1.6em 0;padding:4px 0 4px 20px;border-left:4px solid #C8146E;font:600 clamp(19px,1.8vw,23px)/1.45 "Poppins",sans-serif;color:#2A0D5E}
.zj-article .elementor-widget-theme-post-content figure{margin:1.6em 0}
.zj-article .elementor-widget-theme-post-content figcaption{font-size:13px;color:#7A6F9B;margin-top:6px}
.zj-article .elementor-widget-theme-post-content iframe{max-width:100%;border-radius:16px}
.zj-article .elementor-widget-theme-post-content .wp-block-embed__wrapper iframe[src*="youtube"]{width:100%;height:auto;aspect-ratio:16/9}

/* Paginación de archivos */
.zj-pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:44px;height:44px;padding:0 12px;border-radius:22px;border:1px solid #E4DDF5;color:#2A0D5E;text-decoration:none;font-weight:600}
.zj-pagination .page-numbers.current{background:#2A0D5E;color:#fff;border-color:#2A0D5E}

/* Encabezado: pon la clase zj-header al contenedor del encabezado en Elementor.
   El logo empuja el resto a la derecha, aunque en celular se oculten el menú o el buscador. */
.zj-header{display:flex;align-items:center}
.zj-header .elementor-widget-theme-site-logo,.zj-header .elementor-widget-image:first-child{margin-right:auto}
@media (max-width:1024px){.zj-header .elementor-widget-nav-menu+.elementor-widget{margin-left:auto}}
