/* 
Theme Name: ASTEX PRO
Theme URI: https://pulsarwebs.com
Description: Tema a medida para ASTEX
Author: Rafa Arjonilla
Author URI: https://pulsarwebs.com
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* ============================================================
   SISTEMA DE PADDINGS FLUIDOS PARA ELEMENTOR · versión REM
   Pulsarwebs · clamp() autocalculado
   ------------------------------------------------------------
   Para adaptar a un proyecto SOLO editas el bloque CONFIG.
   Escribes los números en PÍXELES (es lo cómodo de leer) y el
   sistema los convierte a rem dividiendo entre --rem-base.
   Así ganas la escalabilidad del rem sin perder legibilidad.

   Cómo se usa:
     - Pon una clase de tamaño en el contenedor (.e-con):
         section-xxl / xl / l / m / s / xs / xxs / header
     - Combínala con modificadores opcionales:
         section-hero · section-full · section-narrow
         section-narrow-xs · section-offset
   ============================================================ */


/* ============================================================
   1. CONFIG  ·  ÚNICA ZONA EDITABLE
   Números en px (= px a tamaño de raíz por defecto).
   Salen como rem en la hoja final.
   ============================================================ */

:root {

  /* --- BASE REM: cuántos px vale 1rem en tu proyecto ---
     16 por defecto. Si en :root usas font-size: 62.5%, pon 10. */
  --rem-base: 16;

  /* --- RANGO FLUIDO: anchos de viewport de referencia (px) --- */
  /* Estos SÍ van sin unidad y representan px de pantalla */
  --vw-min: 360;    /* móvil de referencia (aplica el mínimo) */
  --vw-max: 1300;   /* escritorio de referencia (aplica el máximo) */

  /* --- PADDING LATERAL (izquierda / derecha) en px --- */
  --side-min: 20;   /* a --vw-min */
  --side-max: 20;   /* a --vw-max */

  /* --- PADDING VERTICAL POR SECCIÓN en px --- */
  /* 1º número = móvil (--vw-min) · 2º número = escritorio (--vw-max) */
  --xxl-min: 120;   --xxl-max: 200;
  --xl-min:  96;    --xl-max:  160;
  --l-min:   64;    --l-max:   112;
  --m-min:   48;    --m-max:   88;
  --s-min:   32;    --s-max:   64;
  --xs-min:  24;    --xs-max:  44;
  --xxs-min: 16;    --xxs-max: 28;
  --header-min: 12; --header-max: 20;

  /* --- ESPECIALES --- */
  --hero-height: 100vh;     /* altura de .section-hero (se queda en vh) */
  --offset-header: 80;      /* px: margen negativo de tu header overlay */
  --narrow: 1000;           /* px: ancho interno de .section-narrow */
  --narrow-xs: 720;         /* px: ancho interno de .section-narrow-xs */
}


/* ============================================================
   2. MOTOR  ·  NO EDITAR NADA DE AQUÍ HACIA ABAJO
   La pendiente y el origen del clamp se calculan solos.
   Los topes y el origen salen en rem (· 1rem / --rem-base);
   el tramo fluido va en vw porque está anclado al viewport.
   ============================================================ */

/* --- Padding lateral fluido (todas las secciones) --- */
.section-xxl, .section-xl, .section-l, .section-m,
.section-s, .section-xs, .section-xxs, .section-header,
.section-hero, .section-narrow, .section-narrow-xs, .section-offset {
  --_side-slope: calc((var(--side-max) - var(--side-min)) / (var(--vw-max) - var(--vw-min)));
  --_side-int:   calc(var(--side-min) - var(--_side-slope) * var(--vw-min));

  padding-left:  clamp(
                   calc(var(--side-min) * 1rem / var(--rem-base)),
                   calc(var(--_side-slope) * 100vw + var(--_side-int) * 1rem / var(--rem-base)),
                   calc(var(--side-max) * 1rem / var(--rem-base))
                 ) !important;
  padding-right: clamp(
                   calc(var(--side-min) * 1rem / var(--rem-base)),
                   calc(var(--_side-slope) * 100vw + var(--_side-int) * 1rem / var(--rem-base)),
                   calc(var(--side-max) * 1rem / var(--rem-base))
                 ) !important;
}

/* --- Padding vertical fluido (clases de tamaño) --- */
.section-xxl, .section-xl, .section-l, .section-m,
.section-s, .section-xs, .section-xxs, .section-header {
  --_v-slope: calc((var(--p-max) - var(--p-min)) / (var(--vw-max) - var(--vw-min)));
  --_v-int:   calc(var(--p-min) - var(--_v-slope) * var(--vw-min));

  padding-top:    clamp(
                    calc(var(--p-min) * 1rem / var(--rem-base)),
                    calc(var(--_v-slope) * 100vw + var(--_v-int) * 1rem / var(--rem-base)),
                    calc(var(--p-max) * 1rem / var(--rem-base))
                  );
  padding-bottom: clamp(
                    calc(var(--p-min) * 1rem / var(--rem-base)),
                    calc(var(--_v-slope) * 100vw + var(--_v-int) * 1rem / var(--rem-base)),
                    calc(var(--p-max) * 1rem / var(--rem-base))
                  );
}

/* --- Cada clase de tamaño solo declara su par min/max --- */
.section-xxl    { --p-min: var(--xxl-min);    --p-max: var(--xxl-max); }
.section-xl     { --p-min: var(--xl-min);     --p-max: var(--xl-max); }
.section-l      { --p-min: var(--l-min);      --p-max: var(--l-max); }
.section-m      { --p-min: var(--m-min);      --p-max: var(--m-max); }
.section-s      { --p-min: var(--s-min);      --p-max: var(--s-max); }
.section-xs     { --p-min: var(--xs-min);     --p-max: var(--xs-max); }
.section-xxs    { --p-min: var(--xxs-min);    --p-max: var(--xxs-max); }
.section-header { --p-min: var(--header-min); --p-max: var(--header-max); }


/* ============================================================
   3. MODIFICADORES ESPECIALES
   ============================================================ */

/* Hero: altura en vh + contenido centrado */
.section-hero { min-height: var(--hero-height) !important; }
.section-hero .e-con-inner { justify-content: center !important; }

/* Full: elimina el padding lateral para anchos completos */
.section-full { padding-left: 0 !important; padding-right: 0 !important; }
.section-full .e-con-inner { max-width: 100% !important; }

/* Narrow: limita el ancho del contenido interno (en rem) */
.section-narrow .e-con-inner    { max-width: calc(var(--narrow) * 1rem / var(--rem-base)) !important; }
.section-narrow-xs .e-con-inner { max-width: calc(var(--narrow-xs) * 1rem / var(--rem-base)) !important; }

/* Offset: compensa el padding superior bajo un header overlay.
   Combínalo con una clase de tamaño (el bottom lo pone esa clase). */
.section-offset {
  padding-top: calc((var(--offset-header) + var(--xxl-min)) * 1rem / var(--rem-base)) !important;
}

/* ============================================================
    icon box como boton
   ============================================================ */

/* Convierte la caja de icono en el marco de referencia */
.caja-enlace-completo {
    position: relative;
}

/* Estira el enlace para cubrir todo el contenedor (incluyendo padding) */
.caja-enlace-completo a::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
}


/* V26 assets 
 **********************************/

/* Header bicolor */
.empresas-accent {
	color:var( --e-global-color-7aa651b );
}
.academy-accent {
	color:var( --e-global-color-062ce5e );
}

/* Resaltado en párrafo */
.highlight-empresas {
	background-color:#3EB49C17;
}

/* Top Title TAG */
.top-title .elementor-heading-title {
  display: flex;
  align-items: center;
  gap: 16px;
  line-height: 1;
}

.top-title .elementor-heading-title::before {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  background-color: currentColor; /* ahora sí hereda el verde */
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .top-title .elementor-heading-title::before {
    display: none;
  }
}

.since {
	text-transform: uppercase;
	font-size:11px;
	line-height:1em;
	font-weight:400 !important;
	letter-spacing:1px;
}

/* ===========================================================
   LISTA CIRCULAR · círculo de fondo proporcional al icono
   Sirve para SVG y para iconos de fuente (Font Awesome <i>)
   =========================================================== */

/* 1) CONFIG · color por sector + proporción + brecha (fuente de verdad) */
.lista-circular-travel    { --circ: #E0A75C; }
.lista-circular-academy   { --circ: #46729B; }
.lista-circular-education { --circ: #EE7777; }
.lista-circular-empresas  { --circ: #449A7A; }

.lista-circular-travel,
.lista-circular-academy,
.lista-circular-education,
.lista-circular-empresas {
    --circ-scale: 2.2;   /* tamaño del círculo respecto al icono */
    --circ-gap: 1rem;    /* separación círculo ↔ texto */
}

/* 2) EL CÍRCULO · width = height (círculo perfecto) + brecha externa */
.lista-circular-travel    .elementor-icon-list-icon,
.lista-circular-academy   .elementor-icon-list-icon,
.lista-circular-education .elementor-icon-list-icon,
.lista-circular-empresas  .elementor-icon-list-icon {
    --circ-size: calc(var(--e-icon-list-icon-size, 1em) * var(--circ-scale));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width:  var(--circ-size);
    height: var(--circ-size);
    align-self: flex-start;
    margin-inline-end: var(--circ-gap);   /* la brecha, FUERA del círculo */
    border-radius: 50%;
    flex-shrink: 0;
    background-color: color-mix(in srgb, var(--circ) 15%, transparent);
}

/* 3) COLOR DEL ICONO · SVG e <i> */
.lista-circular-travel    .elementor-icon-list-icon svg,
.lista-circular-academy   .elementor-icon-list-icon svg,
.lista-circular-education .elementor-icon-list-icon svg,
.lista-circular-empresas  .elementor-icon-list-icon svg,
.lista-circular-travel    .elementor-icon-list-icon i,
.lista-circular-academy   .elementor-icon-list-icon i,
.lista-circular-education .elementor-icon-list-icon i,
.lista-circular-empresas  .elementor-icon-list-icon i {
    color: var(--circ) !important;
    fill:  var(--circ) !important;
}

/* 4) SVG: anular el margen interno nativo (la "Brecha" atrapada dentro) */
.lista-circular-travel    .elementor-icon-list-icon svg,
.lista-circular-academy   .elementor-icon-list-icon svg,
.lista-circular-education .elementor-icon-list-icon svg,
.lista-circular-empresas  .elementor-icon-list-icon svg {
    margin: 0 !important;
}

/* 5) <i>: width nativo 1.25em la descentra → auto, y sin margen */
.lista-circular-travel    .elementor-icon-list-icon i,
.lista-circular-academy   .elementor-icon-list-icon i,
.lista-circular-education .elementor-icon-list-icon i,
.lista-circular-empresas  .elementor-icon-list-icon i {
    margin: 0;
    width: auto;
    line-height: 1;
}

/* 6) Texto: anular el padding nativo para que --circ-gap sea el único hueco */
.lista-circular-travel    .elementor-icon-list-icon + .elementor-icon-list-text,
.lista-circular-academy   .elementor-icon-list-icon + .elementor-icon-list-text,
.lista-circular-education .elementor-icon-list-icon + .elementor-icon-list-text,
.lista-circular-empresas  .elementor-icon-list-icon + .elementor-icon-list-text {
    padding-inline-start: 0;
}

/* ===========================================================
   CAJA CIRCULAR · icono con círculo de fondo proporcional
   Widget: Elementor "Caja de iconos" (Icon Box) · vista Default
   Tamaño desde el control del widget · color desde la clase de sector
   =========================================================== */

/* 1) CONFIG · color por sector + proporción */
.caja-circular-travel    { --circ: #E0A75C; }
.caja-circular-academy   { --circ: #46729B; }
.caja-circular-education { --circ: #EE7777; }
.caja-circular-empresas  { --circ: #449A7A; }
.caja-circular-empresas-alt { --circ: #3eb49c; }

.caja-circular-travel,
.caja-circular-academy,
.caja-circular-education,
.caja-circular-empresas,
.caja-circular-empresas-alt { --circ-scale: 2; }   /* círculo respecto al icono */

/* 2) EL CÍRCULO · en .elementor-icon, que ya lleva font-size = tamaño del icono */
.caja-circular-travel    .elementor-icon,
.caja-circular-academy   .elementor-icon,
.caja-circular-education .elementor-icon,
.caja-circular-empresas  .elementor-icon,
.caja-circular-empresas-alt .elementor-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width:  calc(1em * var(--circ-scale));   /* 1em = tamaño del icono */
    height: calc(1em * var(--circ-scale));
    border-radius: .5em;
    background-color: color-mix(in srgb, var(--circ) 15%, transparent);
}

/* 3) COLOR DEL ICONO · SVG e <i> (gana al control "Color" del widget) */
.caja-circular-travel    .elementor-icon svg,
.caja-circular-academy   .elementor-icon svg,
.caja-circular-education .elementor-icon svg,
.caja-circular-empresas  .elementor-icon svg,
.caja-circular-empresas-alt  .elementor-icon svg,
.caja-circular-travel    .elementor-icon i,
.caja-circular-academy   .elementor-icon i,
.caja-circular-education .elementor-icon i,
.caja-circular-empresas  .elementor-icon i,
.caja-circular-empresas-alt  .elementor-icon i {
    color: var(--circ) !important;
    fill:  var(--circ) !important;
}

/*******
 * TARJETAS CLICABLES
 * **********/

/** Tarjetas cliclables modalidades cursos inglés mode-card **/

/* Todos los elementos internos dejan de ser referencia
   para el pseudoelemento */
.mode-card
  :not(
    .elementor-element-overlay,
    .elementor-element-overlay *,
    .elementor-shape,
    .ui-resizable-handle
  ) {
  position: static !important;
}

/* La tarjeta es la referencia */
.mode-card {
  position: relative !important;
  cursor: pointer;
}

/* El enlace del H3 se extiende por toda la tarjeta */
.mode-card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  display: block;
  z-index: 99;
  cursor: pointer;
}

/** CLICABLE TAB ITEM **/

/* Tarjeta como referencia del enlace expandido */
.clicable-tab-item {
  position: relative !important;
  cursor: pointer;
}

/* Solo neutralizamos los ancestros del enlace principal */
.clicable-tab-item > .e-con-inner,
.clicable-tab-item > .e-con-inner > .e-con:first-child,
.clicable-tab-item .caja-circular-empresas,
.clicable-tab-item .caja-circular-empresas > .elementor-widget-container,
.clicable-tab-item .caja-circular-empresas .elementor-icon-box-wrapper,
.clicable-tab-item .caja-circular-empresas .elementor-icon-box-content,
.clicable-tab-item .caja-circular-empresas .elementor-icon-box-title {
  position: static !important;
}

/* Extensión del enlace del título */
.clicable-tab-item
.caja-circular-empresas
.elementor-icon-box-title > a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 99;
  cursor: pointer;
}


/* Acordeones v26*/
.acordeonv26 .elementor-accordion-item {
    border: 1px solid #E5E5E5 !important;
    border-radius: 1.25em;
    margin-bottom: 2rem;
	background-color:#ffffff;
}

/* Fixes*/ 
.pfix p:last-child {
	margin-bottom: 0 !important;
}

/*span.elementor-button-text{
    text-align: left !important;
}*/

.height-100{
	height:100%;
} 
@media (max-width: 767px) {
  .height-100 {
    	height:auto;
  }
}

@media (max-width: 767px) {
.jet-tabs__control-wrapper {
    width: 100% !important;
	}}


/* ─── GALERÍA ESCALONADA sobre el widget nativo de Elementor ──────
   Anula el posicionamiento masonry (absolute + transform JS) y lo
   reemplaza por un grid de 2 columnas con la derecha desplazada.
   Añadir clase .galeria-escalonada al widget (Avanzado > Clases CSS).
   ──────────────────────────────────────────────────────────────── */

.galeria-escalonada .e-gallery-container {
  --ge-offset: 80px;                 /* ← AJUSTABLE: desplazamiento derecha */
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  column-gap: var(--hgap, 16px);
  row-gap: var(--vgap, 16px);
  height: auto !important;
  padding-bottom: var(--ge-offset) !important;   /* reserva el hueco del offset */
}

/* Anular el absolute + transform que mete el JS de Elementor */
.galeria-escalonada .e-gallery-item {
  position: relative !important;
  inset: auto !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  transform: none !important;
}

/* Proporción fija de las fotos */
.galeria-escalonada .e-gallery-image {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 2 / 3;               /* ← AJUSTABLE: proporción */
  background-size: cover;
  background-position: center;
}

/* El escalonado: items pares (columna derecha) hacia abajo */
.galeria-escalonada .e-gallery-item:nth-child(even) {
  transform: translateY(var(--ge-offset)) !important;
}

@media (max-width: 767px) {
  .galeria-escalonada .e-gallery-container { --ge-offset: 0px; }
  .galeria-escalonada .e-gallery-item:nth-child(even) { transform: none !important; }
}

/*Header Megamenus*/

/* Esto lo añado el 20 de junio de 2024 porque la posicion absolute de los megamenus estaba creando scroll horizontal en la web derrepente */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}/* hasta aquí*/

.menu_content{
    position: absolute;
    top:90px;
    opacity: 0;
    pointer-events: none;
}

.menu_content:hover, .menu_content:focus, .menu_content:focus-within{
    opacity: 1;
    pointer-events: visible;
}

.nav_item{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;    
    -ms-flex-align: center;    
    align-items: center;    height:76px;
}

.nav_item:hover + .menu_content, .nav_item:focus-within + .menu_content {
    opacity: 1;
    pointer-events: visible;
    transition: all 0.3s ease;
}

/* Arreglo anclas */
body:not(.elementor-editor-active) .elementor-widget-menu-anchor {
   position: relative;
   z-index: -1;
}

body:not(.elementor-editor-active) .elementor-menu-anchor:before {
   content: "";
   display: block;
   height: 150px; 
   margin: -150px 0 0; 
   visibility: hidden;
   pointer-events: none;
}
 
/* List headings */
.rag-listheading {
	font-size:18px;line-height:28px;
    font-weight:bold;
}

h3.rag-iconlistheadingsalt {
	font-size: 17px;
	line-height: 22px;
	border-bottom: 2px solid #9c9c9c;
	padding-bottom: 5px;
}

h3.withlink {
	color:#5c5c5c;
}

h3.withlink:hover {
	color:#1A1A1A;
}

/* Blog Comments section */
.single-post #comments {
	display: flex;
	flex-direction: column;
}

.single-post #respond {
	order: 1;
}

.single-post .theme-heading {
	order: 2;
}

.single-post #comments .comment-list {
	order: 3;
}

.single-post .comment-navigation {
	order: 4;
}

h2#reply-title {
    display: none;
}

/* Testimonials */
.elementor-widget-testimonial .elementor-widget-container {
    display: flex;
}

.elementor-testimonial-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Carruseles */
.jet-listing-grid__slider-icon.slick-arrow {
    border-radius: 6px;
}

/****
Estilos gutenberg *******/

/* Primary Button */
.wp-block-button__link {
  	border-radius: 3px;
 	padding: 18px 36px;
  	border-width: 2px;
  	margin-bottom:20px;
 	font-family: var( --e-global-typography-b19df8a-font-family ), Sans-serif;
	font-size: var( --e-global-typography-b19df8a-font-size );
	text-transform: var( --e-global-typography-b19df8a-text-transform );
	line-height: var( --e-global-typography-b19df8a-line-height );
	color: #ffffff !important;
	text-decoration: none !important;
}

.wp-block-button__link:hover {
  border-width: 2px;
}

/* Listas en el editor */
.elementor-widget-theme-post-content ul{
  margin-bottom: 15px;
  margin-top:-5px;
}

/* Paleta de colores personalizados */
.has-p-color,
.has-p-link-color {
	color: #292929 !important;
}

.has-p-background-color {
    background-color:#292929 !important;
}

.has-headings-color,
.has-headings-link-color {
	color: #1a1a1a !important;
}

.has-headings-background-color {
    background-color:#1a1a1a !important;
}

.has-astex-color,
.has-astex-link-color {
	color: #4a4a4a !important;
}

.has-astex-background-color {
    background-color:#4a4a4a !important;
}

.has-p-alt-color,
.has-p-alt-link-color {
	color: #5c5c5c !important;
}

.has-p-alt-background-color {
    background-color:#5c5c5c !important;
}

.has-p-alt-2-color,
.has-p-alt-2-link-color {
	color: #cccccc !important;
}

.has-p-alt-2-background-color {
    background-color:#cccccc !important;
}

.has-light-backgrounds-color,
.has-light-backgrounds-link-color {
	color: #f5f5f5 !important;
}

.has-light-backgrounds-color {
    background-color:#f5f5f5 !important;
}

.has-education-hover-color,
.has-education-hover-link-color {
	color: #EE7777 !important;
}

.has-education-hover-background-color {
    background-color:#EE7777 !important;
}

.has-education-color,
.has-education-link-color {
	color: #F0867E !important;
}

.has-education-background-color {
    background-color:#F0867E !important;
}

.has-education-light-color,
.has-education-light-link-color {
	color: #F0867E75 !important;
}

.has-education-light-background-color {
    background-color:#F0867E75 !important;
}

.has-education-lighter-color,
.has-education-lighter-link-color {
	color: #F0867E1A !important;
}

.has-education-lighter-background-color {
    background-color:#F0867E1A !important;
}

.has-academy-hover-color,
.has-academy-hover-link-color {
	color: #46729b !important;
}

.has-academy-hover-background-color {
    background-color:#46729b !important;
}

.has-academy-color,
.has-academy-link-color {
	color: #7ca1c4 !important;
}

.has-academy-background-color {
    background-color:#7ca1c4 !important;
}

.has-empresas-hover-color,
.has-empresas-hover-link-color {
	color: #449A7A !important;
}

.has-empresas-hover-background-color {
    background-color:#449A7A !important;
}

.has-empresas-color,
.has-empresas-link-color {
	color: #3EB49C !important;
}

.has-empresas-background-color {
    background-color:#3EB49C !important;
}

.has-empresas-light-color,
.has-empresas-light-link-color {
	color: #3EB49C5E !important;
}

.has-empresas-light-background-color {
    background-color:#3EB49C5E !important;
}

.has-empresas-lighter-color,
.has-empresas-lighter-link-color {
	color: #3EB49C17 !important;
}

.has-empresas-lighter-background-color {
    background-color:#3EB49C17 !important;
}

.has-travel-hover-color,
.has-travel-hover-link-color {
	color: #E0A75C !important;
}

.has-travel-hover-background-color {
    background-color:#E0A75C !important;
}

.has-travel-color,
.has-travel-link-color {
	color: #F9BA67 !important;
}

.has-travel-background-color {
    background-color:#F9BA67 !important;
}

.has-travel-light-color,
.has-travel-light-link-color {
	color: #F9BA6752 !important;
}

.has-travel-light-background-color {
    background-color:#F9BA6752 !important;
}

.has-travel-lighter-color,
.has-travel-lighter-link-color {
	color: #F9BA671C !important;
}

.has-travel-lighter-background-color {
    background-color:#F9BA671C !important;
}

.has-blanco-color,
.has-blanco-link-color {
	color: #FFFFFF !important;
}

.has-blanco-background-color {
    background-color:#FFFFFF !important;
}

/* Tipografías */
/*.has-rag-grande-font-size {
    font-size: var( --e-global-typography-9a90a87-font-size );
    color: var( --e-global-color-secondary );
    font-size: var( --e-global-typography-9a90a87-font-size );
    line-height: var( --e-global-typography-9a90a87-line-height );
}

.has-rag-pequena-font-size {
    font-size:var( --e-global-typography-1ccebc3-font-size );
    line-height: 16px;
}

.has-rag-extragrande-font-size{
    font-size: var( --e-global-typography-e7c7c21-font-size );
    line-height: var( --e-global-typography-e7c7c21-line-height );
    font-family: var( --e-global-typography-e7c7c21-font-family ), Sans-serif;
}*/

/* Reducción global de títulos (H1-H6) multiplicados por 0.8 en los posts del blog */

/* H1 principal de la plantilla */
.single-post h1 {
    font-size: calc(var(--e-global-typography-34f64ca-font-size) * 0.8) !important;
}

/* H2 dentro del contenido */
.single-post .elementor-widget-theme-post-content h2,
.single-post .elementor-widget-text-editor h2 {
    font-size: calc(var(--e-global-typography-bc2cf18-font-size) * 0.8) !important;
}

/* H3 dentro del contenido */
.single-post .elementor-widget-theme-post-content h3,
.single-post .elementor-widget-text-editor h3 {
    font-size: calc(var(--e-global-typography-4c637d2-font-size) * 0.8) !important;
}

/* H4 dentro del contenido */
.single-post .elementor-widget-theme-post-content h4,
.single-post .elementor-widget-text-editor h4 {
    font-size: calc(var(--e-global-typography-e0089a8-font-size) * 0.8) !important;
}

/* H5 dentro del contenido */
.single-post .elementor-widget-theme-post-content h5,
.single-post .elementor-widget-text-editor h5 {
    font-size: calc(var(--e-global-typography-461d2be-font-size) * 0.8) !important;
}

/* H6 dentro del contenido */
.single-post .elementor-widget-theme-post-content h6,
.single-post .elementor-widget-text-editor h6 {
    font-size: calc(var(--e-global-typography-aa0d946-font-size) * 0.8) !important;
}



/* Formularios HubSpot */
fieldset.form-columns-2,
fieldset.form-columns-1,
fieldset.form-columns-0 {
    max-width: 100% !important;
    width: 100% !important;
	margin-bottom:1rem !important;
}

fieldset.form-columns-1 input {
	margin-right: 0px !important;
}

.hs-richtext.hs-main-font-element {
	/*margin-top: 30px;*/
	font-size: 10px;
	line-height: 15px;
	padding-right:15px;
}

.hs-form a{
color:#4a4a4a;
}

.hs-form .inputs-list {
	list-style: none;
	margin-left: 0;
	padding-left: 0;
	margin-top: 10px;
	margin-bottom:10px;
}

.hs-form input{
	vertical-align: text-top;
	/*margin-right: 5px;*/
}

input.hs-button.primary.large {
	font-size: 12px;
	line-height: 12px;
	padding: 12px 24px;
}

.hs-form select {
    border-color:var(--e-global-color-827bfc8) !important;
	background-color: var(--e-global-color-acc3075) !important;
	padding: 10px 20px 10px 20px !important;
	border-radius:12px !important;
}

/* Aplica el margen derecho SOLO al primer campo (el de la izquierda) en filas de 2 columnas */
.hs-form fieldset.form-columns-2 > .hs-form-field:first-of-type div.input {
    margin-right: 15px !important;
}

/* Asegura que el segundo campo (el de la derecha) no tenga margen derecho */
.hs-form fieldset.form-columns-2 > .hs-form-field:last-of-type div.input {
    margin-right: 0px !important;
}


/* Asegura que el input de email real llene el 100% de su contenedor */
.hs-form input[type="email"],
.hs-form input[type="text"],
.hs-fieldtype-textarea,
.hs-form select.hs-input {
    width: 100% !important;
    box-sizing: border-box !important;
}

legend.hs-field-desc {
    margin-bottom: 1rem;
    font-size: 90%;
}

/* Modifica todas las etiquetas de los formularios de HubSpot */
.hs-form .hs-form-field label {
    margin-bottom: 5px !important; /* Separación entre el texto y el input */
}


/* Modifica únicamente el texto de las opciones de Radio y Checkbox */
.hs-form .hs-fieldtype-radio .hs-form-radio-display,
.hs-form .hs-fieldtype-checkbox .hs-form-checkbox-display {
    font-size: 14px !important; /* Tamaño más pequeño para las respuestas */
    font-weight: normal !important; /* Quita la negrita de las respuestas */
    color: #555555 !important; /* Color de las respuestas */
    margin-bottom: 0px !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

/* Añade una separación de 5px entre el botón de radio/checkbox y su texto */
.hs-form input[type="radio"],
.hs-form input[type="checkbox"] {
    margin-right: 5px !important;
    margin-left: 0px !important; /* Resetea posibles márgenes izquierdos del tema */
}

/* Texto RGPD */
li.hs-form-booleancheckbox label {
    font-weight: normal !important;
    font-size: 90%;
    color: inherit;
}

/* Aplica el margen derecho a 0px EXCLUSIVAMENTE en filas de una sola columna */
.hs-form fieldset.form-columns-1 div.input {
    margin-right: 0px !important;
}

/* Colapsa los fieldsets de HubSpot que solo contienen campos UTM ocultos por JS */
.hs-form fieldset:has(> .hs-form-field[style*="display: none"]),
.hs-form fieldset:has(> .hs-form-field[style*="display:none"]) {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
}
/* Fuerza al contenedor del campo de teléfono a ocupar el 100% */
.hs-form .hs-fieldtype-phoneNumber,
.hs-form .hs-phone,
.hs-form .hs_phone {
    flex: 1 1 100% !important;
    width: 100% !important;
    display: block !important;
}

/* Fuerza al INPUT real de teléfono a estirarse al 100% */
.hs-form input[type="tel"],
.hs-form input.hs-phone {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    box-sizing: border-box !important;
}

/* Si tienes un plugin de banderas internacionales que esté bloqueando el ancho */
.hs-form .iti, 
.hs-form .intl-tel-input {
    width: 100% !important;
    display: block !important;
}


/* Campos especiales*/

.alojamiento h5 {
	color:#4a4a4a;
}

.pinklink {
    color:#F0867E !important;

}

.pinklink:hover {
    color:#EE7777 !important;
}

/* Woocommerce checkout */

.recurring-totals th {
    padding-top: 60px !important;
    font-weight: bold !important;
}

/* Woocommerce Resume page */
.woocommerce-order-details header {
	display:none;
}
a.woocommerce-button.button.view.order-actions-button {
    display: none !important;
}

/* Woocommerce One to one products */
.fechaonetoone label {
    color: white;
}

.woocommerce form .form-row select,
.woocommerce form .form-row .input-text {
		
		    border-color: #cccccc !important;
}



/* Jet tricks */
.jet-unfold__button.elementor-button.elementor-size-md {
    padding: 0;
    background: none;
    color: black;
    text-transform: none;
    border: none;
    font-size: 15px;
}

.jet-unfold__trigger {
    margin-top: 15px;
    margin-bottom: 15px;
}

/* RGPD */
.primera-capa {
    text-transform: none;
    line-height: 1.3em;
    opacity: 0.6;
}

.dark-form a {
    color: white;
    opacity:0.6;
}

.dark-form a:hover {
    color: white;
    opacity:1;
}

/* Entradas en la pgina de blog
 * *****Cambios a raiz de tener que paginar sin scroll infinito y pasar de listing grid a cuadricula de bucle ****/

.category-academy .etiqueta-categoria {
    background: #46729BBF;
	color: white;
}

.category-academy .elementor-element.elementor-element-ffb5b37:hover {
    border: 1px solid #7ca1c4;
}


.category-education .etiqueta-categoria {
    background: #F0867ED9;
	color: #F5F5F5;
}

.category-education .elementor-element.elementor-element-ffb5b37:hover {
    border: 1px solid #f0867e;
}

.category-empresas .etiqueta-categoria {
    background: #3EB49CD4;
	color: #F5F5F5;
}

.category-empresas .elementor-element.elementor-element-ffb5b37:hover {
    border: 1px solid #3EB49C;
}

/* Flexible products fields */
.fpf-fields.before-add-to-cart select {
    border: 1px solid #CCCCCC;
    border-radius: 4px;
}

fieldset#fpf_1725226_field {
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Migas de pan */
@media (max-width: 767px) {
	.migas-scroll {
  overflow-x: auto;
  white-space: nowrap;
  display: block;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  position: relative;
  mask-image: linear-gradient(to right, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
}

.migas-scroll::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
	}

}

.clicable-card{
    position:relative;
}

.clicable-card h2 a::before,
.clicable-card h3 a::before,
.clicable-card a::before,
.clicable-mmitem a::before {
    content: '';
    position:absolute;
    inset:0;
    z-index:1;
}

/* Cookie banner */
button.wcc-btn {
    font-size: 0.6rem;
}
.wcc-switch input {
    border-radius: 1em !important;
}

/* ─── LOGO MARQUEE INFINITO ─────────────────────────────────── */
/* VIEWPORT */
.marquee-viewport  {
  overflow: hidden !important;
	  overflow: hidden !important;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%) !important;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%) !important;
}

/* CONTENEDOR ELEMENTOR — solo actúa de viewport */
.logo-marquee-clean.e-con {
  overflow: hidden !important;
  max-width: 100% !important;
  width: 100% !important;
  display: block !important;
}

/* TRACK (creado por JS) */
.marquee-track {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap:6.25rem;
  width: max-content;
  will-change: transform;
}

.marquee-track > .elementor-widget-image {
  flex-shrink: 0;
}

.marquee-track img {
  height: 95px;
  width: auto;
  max-width: none;
  object-fit: contain;
  display: block;
	filter: grayscale(100%);
}

/* <=1200 */
@media (max-width: 1200px){
  .marquee-track img {
  height:90px;
}
}

/* <=1024 */
@media (max-width: 1024px){
    .marquee-track img {
  height:85px;
}
}

/* <=880 */
@media (max-width: 880px){
    .marquee-track img {
  height:80px;
}
}

/* <=767 (móvil) */
@media (max-width: 767px){
    .marquee-track img {
  height:75px;
}
.marquee-track {
  gap: 3rem;
}
}

/* Whatsapp form 230926 */ 
#hsForm_042a2947-5119-4043-8155-cd5c47962470 .hs_email.hs-email.hs-fieldtype-text.field.hs-form-field,
#hsForm_042a2947-5119-4043-8155-cd5c47962470 .hs_hs_whatsapp_phone_number.hs-hs_whatsapp_phone_number.hs-fieldtype-phonenumber.field.hs-form-field {
    margin-bottom: 20px;
}

#hsForm_042a2947-5119-4043-8155-cd5c47962470 input.hs-button.primary.large {
    width: 100%;
    background: #075E54;
    border-radius: 10px;
	border-color:#075E54;
	text-transform: capitalize;
}

#hsForm_042a2947-5119-4043-8155-cd5c47962470 li.hs-form-booleancheckbox label {
    font-size: 75%;
}

#hsForm_042a2947-5119-4043-8155-cd5c47962470.hs-form .inputs-list {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

#hsForm_042a2947-5119-4043-8155-cd5c47962470 .hs-richtext.hs-main-font-element {
    margin-top: 15px;
}
#hsForm_042a2947-5119-4043-8155-cd5c47962470 input {background:white;}

/* ==========================================================================
   Guías interactivas: «Ver la guía» o «Descargar» (27/10/2026, Pulsarwebs)
   --------------------------------------------------------------------------
   Qué hace:
   Cada guía de «Guías en pdf» (JetEngine) puede tener rellenado el campo
   «Enlace a la guía interactiva». En las plantillas que enseñan la guía hay
   dos botones:
     - «Ver la guía» (clase astex-ver-guia), que lleva a ese enlace;
     - el de descargar el PDF (clase astex-pdf-guia).
   Con enlace, se ve «Ver la guía» y se oculta el PDF. Sin enlace, al revés:
   se ve el PDF como siempre.

   Dónde se usa (el contenedor de cada plantilla lleva la clase astex-guia):
     - Listado de JetEngine «Descarga Guía» (páginas de gracias).
     - Listado de JetEngine «Guías descarga directa Verónica» (fila con
       todas las guías en /thank-you-page/catalogo-idiomas-actividades/).

   Para volver al PDF en una guía: vaciar su campo «Enlace a la guía
   interactiva». No se toca nada más.
   ========================================================================== */

/* Sin enlace (botón vacío o con «#»): se oculta «Ver la guía» */
.astex-guia .astex-ver-guia:has(a.elementor-button:not([href])),
.astex-guia .astex-ver-guia:has(a[href="#"]) {
	display: none;
}

/* Con enlace: se oculta el botón del PDF */
.astex-guia:has(.astex-ver-guia a[href^="http"]) .astex-pdf-guia {
	display: none;
}
