/* Se carga DESPUÉS de gemma.css: adapta el diseño al marcado de Elementor. */

/* los widgets que solo llevan un elemento posicionado no deben ser su referencia */
.wp-child-theme-gemma-child .elementor .w-static{position:static}

/* fotos que llenan su marco */
.wp-child-theme-gemma-child .hero-photo>.elementor-widget-image,.wp-child-theme-gemma-child .pf-arco>.elementor-widget-image,.wp-child-theme-gemma-child .phero-arco>.elementor-widget-image,.wp-child-theme-gemma-child .cimg>.elementor-widget-image,.wp-child-theme-gemma-child .pimg>.elementor-widget-image,.wp-child-theme-gemma-child .c-arco>.elementor-widget-image{height:100%;width:100%}
.wp-child-theme-gemma-child .elementor .elementor-widget-image img{display:block}
@media(min-width:901px){.wp-child-theme-gemma-child .hero-photo{height:100%}}

/* botones (widget Botón de Elementor) con el estilo del sitio */
.wp-child-theme-gemma-child .elementor .btn-w .elementor-button{display:inline-flex;align-items:center;gap:9px;padding:15px 30px;border-radius:999px;font-family:'Space Grotesk',sans-serif;font-size:14px;font-weight:600;letter-spacing:.3px;line-height:1.2;transition:.25s;border:1.5px solid transparent;background:transparent;color:inherit;white-space:nowrap;text-decoration:none;fill:currentColor}
.wp-child-theme-gemma-child .elementor .btn-w .elementor-button-content-wrapper{display:inline-flex;align-items:center;gap:9px}
.wp-child-theme-gemma-child .elementor .btn-w.bw-arr .elementor-button-text::after{content:"→";font-weight:700;margin-left:9px}
.wp-child-theme-gemma-child .elementor .btn-w.bw-ink .elementor-button{background:var(--ink);color:#fff}
.wp-child-theme-gemma-child .elementor .btn-w.bw-ink .elementor-button:hover{background:#000;transform:translateY(-2px)}
.wp-child-theme-gemma-child .elementor .btn-w.bw-lime .elementor-button{background:var(--lime);color:var(--ink)}
.wp-child-theme-gemma-child .elementor .btn-w.bw-lime .elementor-button:hover{background:var(--lime-d);transform:translateY(-2px)}
.wp-child-theme-gemma-child .elementor .btn-w.bw-ghost .elementor-button{border-color:rgba(255,255,255,.55);color:#fff}
.wp-child-theme-gemma-child .elementor .btn-w.bw-ghost .elementor-button:hover{background:#fff;color:var(--ink)}
.wp-child-theme-gemma-child .elementor .btn-w.bw-out .elementor-button{border-color:var(--ink);color:var(--ink)}
.wp-child-theme-gemma-child .elementor .btn-w.bw-out .elementor-button:hover{background:var(--ink);color:#fff}
.wp-child-theme-gemma-child .elementor .btn-w.bw-sm .elementor-button{padding:11px 20px;font-size:13px}
.wp-child-theme-gemma-child .c-flota .btn-w,.wp-child-theme-gemma-child .cbox .btn-w{width:100%}
.wp-child-theme-gemma-child .elementor .c-flota .btn-w .elementor-button,.wp-child-theme-gemma-child .elementor .cbox .btn-w .elementor-button{width:100%;justify-content:center}
.wp-child-theme-gemma-child .c-flota .btn-w .elementor-button-content-wrapper{justify-content:center;width:100%}

/* filas flexibles: sus hijos (contenedores de Elementor) no deben ocupar el 100% */
.wp-child-theme-gemma-child .band-inner>.e-con{width:auto;flex:1 1 auto}
.wp-child-theme-gemma-child .hero-cta>.elementor-widget,.wp-child-theme-gemma-child .otros-btns>.elementor-widget,.wp-child-theme-gemma-child .pfoot>.elementor-widget{width:auto}
.wp-child-theme-gemma-child .otros-btns{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.wp-child-theme-gemma-child .story .ph{position:relative}

/* textos que el diseño ponía sueltos y ahora viven dentro de un widget */
.wp-child-theme-gemma-child .lead-copy .chk{color:var(--lime);font-weight:700;margin-right:4px}
.wp-child-theme-gemma-child .lead-copy ul{list-style:none;display:flex;flex-direction:column;gap:10px}
.wp-child-theme-gemma-child .lead-copy li{font-size:15px;color:rgba(255,255,255,.88)}
.wp-child-theme-gemma-child .m-ico.si{font-size:13px}
.wp-child-theme-gemma-child .shead.mb56{margin-bottom:56px}
.wp-child-theme-gemma-child .h-sm .elementor-heading-title{font-size:clamp(26px,3.6vw,38px)}

/* efectos: clases equivalentes a data-rev, para que no parpadeen antes de que cargue el JS */
.wp-child-theme-gemma-child .rev,.wp-child-theme-gemma-child .rev-izq,.wp-child-theme-gemma-child .rev-der,.wp-child-theme-gemma-child .rev-zoom{opacity:0;transform:translate3d(0,46px,0);transition:opacity .8s cubic-bezier(.2,.7,.2,1),transform .95s cubic-bezier(.2,.7,.2,1)}
.wp-child-theme-gemma-child .rev-izq{transform:translate3d(-80px,0,0) rotate(-2deg)}
.wp-child-theme-gemma-child .rev-der{transform:translate3d(80px,0,0) rotate(2deg)}
.wp-child-theme-gemma-child .rev-zoom{transform:scale(.9)}
.wp-child-theme-gemma-child .rev.in,.wp-child-theme-gemma-child .rev-izq.in,.wp-child-theme-gemma-child .rev-der.in,.wp-child-theme-gemma-child .rev-zoom.in{opacity:1;transform:none}
.wp-child-theme-gemma-child.elementor-editor-active .rev,.wp-child-theme-gemma-child.elementor-editor-active .rev-izq,.wp-child-theme-gemma-child.elementor-editor-active .rev-der,.wp-child-theme-gemma-child.elementor-editor-active .rev-zoom{opacity:1!important;transform:none!important}
@media(prefers-reduced-motion:reduce){.wp-child-theme-gemma-child .rev,.wp-child-theme-gemma-child .rev-izq,.wp-child-theme-gemma-child .rev-der,.wp-child-theme-gemma-child .rev-zoom{opacity:1!important;transform:none!important}}

/* barra de administración de WordPress: la cabecera fija baja con ella */
.wp-child-theme-gemma-child.admin-bar #hdr{top:32px}
@media(max-width:782px){.wp-child-theme-gemma-child.admin-bar #hdr{top:46px}}

/* títulos con clase propia: la clase queda en el contenedor del widget, el título hereda su tamaño */
.wp-child-theme-gemma-child .ph3 .elementor-heading-title{font-size:inherit;margin:0}
.wp-child-theme-gemma-child .prog .ph3{margin-bottom:8px}

/* encuadre de fotos */
.wp-child-theme-gemma-child .op-50-25 img{object-position:50% 25%}
.wp-child-theme-gemma-child .op-center-15 img{object-position:center 15%}
.wp-child-theme-gemma-child .op-center-18 img{object-position:center 18%}
.wp-child-theme-gemma-child .op-center-20 img{object-position:center 20%}
.wp-child-theme-gemma-child .op-center-25 img{object-position:center 25%}
.wp-child-theme-gemma-child .op-center-30 img{object-position:center 30%}
.wp-child-theme-gemma-child .op-center-35 img{object-position:center 35%}
.wp-child-theme-gemma-child .op-center-40 img{object-position:center 40%}
.wp-child-theme-gemma-child .op-center-45 img{object-position:center 45%}
