/* ════════════════════════════════════════
   Main Stylesheet
   ════════════════════════════════════════ */

/* tipografias Archia */

   @font-face {
    font-family: 'archiathin';
    src: url('https://www.trinitylanguages.com/wp-content/themes/trinity/fonts/archia-thin-webfont.eot');
    src: url('https://www.trinitylanguages.com/wp-content/themes/trinity/fonts/archia-thin-webfont.eot?#iefix') format('embedded-opentype'),
         url('https://www.trinitylanguages.com/wp-content/themes/trinity/fonts/archia-thin-webfont.woff2') format('woff2'),
         url('https://www.trinitylanguages.com/wp-content/themes/trinity/fonts/archia-thin-webfont.woff') format('woff'),
         url('https://www.trinitylanguages.com/wp-content/themes/trinity/fonts/archia-thin-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}

@font-face {
  font-family: 'archiaregular';
  src: url('https://www.trinitylanguages.com/wp-content/themes/trinity/fonts/archia-regular-webfont.eot');
  src: url('https://www.trinitylanguages.com/wp-content/themes/trinity/fonts/archia-regular-webfont.eot?#iefix') format('embedded-opentype'),
       url('https://www.trinitylanguages.com/wp-content/themes/trinity/fonts/archia-regular-webfont.woff2') format('woff2'),
       url('https://www.trinitylanguages.com/wp-content/themes/trinity/fonts/archia-regular-webfont.woff') format('woff'),
       url('https://www.trinitylanguages.com/wp-content/themes/trinity/fonts/archia-regular-webfont.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;

}

@font-face {
  font-family: 'archiamedium';
  src: url('https://www.trinitylanguages.com/wp-content/themes/trinity/fonts/archia-medium-webfont.eot');
  src: url('https://www.trinitylanguages.com/wp-content/themes/trinity/fonts/archia-medium-webfont.eot?#iefix') format('embedded-opentype'),
       url('https://www.trinitylanguages.com/wp-content/themes/trinity/fonts/archia-medium-webfont.woff2') format('woff2'),
       url('https://www.trinitylanguages.com/wp-content/themes/trinity/fonts/archia-medium-webfont.woff') format('woff'),
       url('https://www.trinitylanguages.com/wp-content/themes/trinity/fonts/archia-medium-webfont.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;

}

@font-face {
  font-family: 'archiasemibold';
  src: url('https://www.trinitylanguages.com/wp-content/themes/trinity/fonts/archia-semibold-webfont.eot');
  src: url('https://www.trinitylanguages.com/wp-content/themes/trinity/fonts/archia-semibold-webfont.eot?#iefix') format('embedded-opentype'),
       url('https://www.trinitylanguages.com/wp-content/themes/trinity/fonts/archia-semibold-webfont.woff2') format('woff2'),
       url('https://www.trinitylanguages.com/wp-content/themes/trinity/fonts/archia-semibold-webfont.woff') format('woff'),
       url('https://www.trinitylanguages.com/wp-content/themes/trinity/fonts/archia-semibold-webfont.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;

}

@font-face {
  font-family: 'archiabold';
  src: url('https://www.trinitylanguages.com/wp-content/themes/trinity/fonts/archia-bold-webfont.eot');
  src: url('https://www.trinitylanguages.com/wp-content/themes/trinity/fonts/archia-bold-webfont.eot?#iefix') format('embedded-opentype'),
       url('https://www.trinitylanguages.com/wp-content/themes/trinity/fonts/archia-bold-webfont.woff2') format('woff2'),
       url('https://www.trinitylanguages.com/wp-content/themes/trinity/fonts/archia-bold-webfont.woff') format('woff'),
       url('https://www.trinitylanguages.com/wp-content/themes/trinity/fonts/archia-bold-webfont.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;

}

.archiathin {
  font-family: 'archiathin'!important;
}
.archiaregular {
  font-family: 'archiaregular'!important ;
}
.archiamedium {
  font-family: 'archiamedium'!important;
}
.archiasemibold {
  font-family: 'archiasemibold'!important;
}
.archiabold {
  font-family: 'archiabold'!important;
}



:root {
  /* Bootstrap Overrides / Base Colors */
  --bs-primary: #93c01f;
  --bs-primary-rgb: 147, 192, 31;
  --bs-secondary: #39a935;
  --bs-secondary-rgb: 57, 169, 53;

  /* Colores de enlace */
  --bs-link-color: #000;
  --bs-link-hover-color: #000;
  --bs-link-color-rgb: 0, 0, 0;
  --bs-link-hover-color-rgb: 0, 0, 0;

  /* Paleta Específica */
  --color-primero: #93c01f;
  --color-segundo: #39a935;
  --color-tercero: #00572a;
  --color-cuarto: #29235c;
  --color-quinto: #ddd;
  --color-sexto: #333;
  --negro: #000;
  --blanco: #ffffff;
}

/* ── WordPress Editor Color Palette ── */

/* --- Primero --- */
.has-color-primero{
  color: var(--color-primero) !important;
}
.has-color-primero-background-color {
  background-color: var(--color-primero) !important;
}

/* --- Segundo --- */
.has-color-segundo{
  color: var(--color-segundo) !important;
}
.has-color-segundo-background-color {
  background-color: var(--color-segundo) !important;
}
/* --- Tercero --- */
.has-color-tercero{
  color: var(--color-tercero) !important;
}
.has-color-tercero-background-color {
  background-color: var(--color-tercero) !important;
}
/* --- Cuarto --- */
.has-color-cuarto{
  color: var(--color-cuarto) !important;
}
.has-color-cuarto-background-color {
  background-color: var(--color-cuarto) !important;
}
/* --- Quinto --- */
.has-color-quinto{
  color: var(--color-quinto) !important;
}
.has-color-quinto-background-color {
  background-color: var(--color-quinto) !important;
}
/* --- Sexto --- */
.has-color-sexto{
  color: var(--color-sexto) !important;
}
.has-color-sexto-background-color {
  background-color: var(--color-sexto) !important;
}

/* --- Blanco --- */
.has-color-blanco-color {
  color: var(--color-blanco) !important;
}
.has-color-blanco-background-color {
  background-color: var(--color-blanco) !important;
}

/* --- Negro --- */
.has-color-negro-color {
  color: var(--color-negro) !important;
}
.has-color-negro-background-color {
  background-color: var(--color-negro) !important;
}

/* --- Gris --- */
.has-gris-color {
  color: var(--color-gris) !important;
}
.has-gris-background-color {
  background-color: var(--color-gris) !important;
}





/* Tamaños de fuente fluidos y responsivos */
.has-small-font-size {
    font-size: 0.875rem !important;
}

.has-normal-font-size {
    font-size: 1rem !important;
}

.has-large-font-size {
   font-size: clamp(1.2rem, 1.4vw + 1rem, 2.4rem)!important;
  line-height: 120%;
  font-weight: 400;

}

.has-huge-font-size {
    font-size: clamp(2rem, 3vw + 1rem, 4rem)!important;
}




html {
  scroll-behavior: smooth;
}

/* Sobrescribimos el selector de WordPress */
.wp-block-columns.has-background {
  padding: 0; /* O ajusta a 0.5em si quieres un mínimo */
}

.container-fluid {
  padding-left: 0;
  padding-right: 0;
}

@media only screen and (min-width: 576px) and (max-width: 1399px) {
  .container {
    max-width: 94%;
  }
} /* end media*/
@media only screen and (min-width: 576px) and (max-width: 1699px) {
  .container-xl,
  .header-pages {
    max-width: 100%;
  }
} /* end media*/

@media (min-width: 1440px) {
  .container {
    max-width: 1400px;
    margin: 0 auto;
  }
} /* end media*/
@media (min-width: 1700px) {
  .container {
    max-width: 1650px;
    margin: 0 auto;
  }
} /* end media*/
@media (min-width: 1920px) {
  .container-fluid {
    max-width: 1920px;
    margin: 0 auto;
  }
} /* end media*/

body {
  font-size: clamp(0.85rem, 1vw + 1rem, 1.5rem);
  line-height: 120%;
  color: #000;
  font-family: 'archiaregular';
  font-weight: 400;
}
.post p {
  font-size: clamp(1rem, 1.2vw + 1rem, 1.4rem);
  line-height: 120%;
  font-weight: 400;
}


.lead {
  font-size: clamp(1rem, 1.2vw + 1rem, 2.4rem);
  line-height: 120%;
  font-weight: 400;
}
img {
  max-width: 100%;
  height: auto;
}

.wp-block-image {
  margin-bottom: 0 !important;
}

.text-decoration-none a {
  text-decoration: none;
}




/* line-height solo titulares */
:is(h1, h2, h3, h4, h5, h6) {
  line-height: 120%;
  font-weight: 300;
  font-family: 'archiaregular';
}
:is([class^="display-"]) {
  font-family: 'archiathin';
  line-height: 100%;
}


@media (min-width: 1200px) {

  :is(h1, h2, h3, h4, h5, h6, [class^="display-"]) {
  line-height: 100%;
  }
} /* end media*/

/* Selecciona cualquier strong dentro de encabezados o clases de display */
/* :is(h1, h2, h3, h4, h5, h6, [class^="display-"]) strong {
  font-weight: 600;
} */
p strong {
  font-family: 'archiasemibold';
}

.text-underline a {
  text-decoration: none;
}

/* line-height solo titulares */
 :is(h1, h2, h3, h4, h5, h6, [class^="display-"]) {
  line-height: 110%;
  font-family: 'archiathin';
} 

/* Selecciona cualquier strong dentro de encabezados o clases de display */
 :is(h1, h2, h3, h4, h5, h6, [class^="display-"]) strong, p strong {
  font-family: 'archiasemibold';
} 

/* Titulares y Clases de Titular */
h1,
.h1 {
  font-size: clamp(2rem, 2vw + 1rem, 3rem);
}
.home h1 {
  font-size: clamp(0.8rem, 1vw + 1rem, 1.2rem);
}


h2,
.h2 {
  font-size: clamp(1.4rem, 1.8vw + 1rem, 2.5rem);
}

h3,
.h3 {
  font-size: clamp(1.2rem, 1.5vw + 1rem, 2.2rem);
}

h4,
.h4 {
  font-size: clamp(1rem, 1vw + 1rem, 1.2rem);
}

/* Displays (Titulares gigantes de Bootstrap) */
.display-1 {
  font-size: clamp(2.2rem, 7vw + 1rem, 11rem);
  line-height: 100%;
}

.display-2 {
  
  font-size: clamp(2rem, 5vw + 1rem, 7.5rem);
}

.display-3 {
  
  font-size: clamp(1.8rem, 4vw + 1rem, 6rem);
}

.display-4 {
  font-size: clamp(1.6rem, 3vw + 1rem, 4.5rem);
}

.display-5 {
  font-size: clamp(1.4rem, 2.5vw + 1rem, 3.5rem);
}

.display-6 {
  font-size: clamp(1.2rem, 2vw + 1rem, 2.5rem);
}


@media (min-width: 768px) {
  .bg-100 .wp-block-cover,
  .bg-100 .wp-block-cover-image {
    min-height: 100%;
  }

} /* end media*/



@media (min-width: 768px) {
  .bg-100 .wp-block-cover,
  .bg-100 .wp-block-cover-image {
    min-height: 100%;
  }

} /* end media*/



@media (min-width: 991px) {
  .foto-solo-movil {
    display: none;
  }

} /* end media*/



/* Estilo global para todos los botones de bloques de WordPress */
.wp-block-button__link,
.wc-block-components-button__text,
.woocommerce-message a.button,
.woocommerce .actions button {
  background-color: var(--color-primero);
  color: #ffffff;
  border: none;
  padding: 0.5rem 1.5rem;
  font-weight: 500;
  transition: background-color 0.2s ease-in-out;
  font-size: clamp(1rem, 1vw + 1.2rem, 1.4rem);
  line-height: 120%;
  border-radius: 0px;
}

.wp-block-button__link:hover,
.wc-block-components-button__text:hover,
.woocommerce-message a.button:hover,
.woocommerce .actions button:hover {
  background-color: #000;
  text-decoration: none;
}

.is-style-outline .wp-block-button__link {
  background-color: transparent;
  color: #000;
  border: 1px solid #000;
}
.is-style-outline .wp-block-button__link:hover {
  background-color: #fff;
  color: #000;
}

:root :where(.wp-element-button, .wp-block-button__link) {
  background-color: transparent;
}

.pagar-cuota .wp-block-button__link {
  background-color: #3c3c3c;
  border:2px solid #000;
}
.pagar-cuota .wp-block-button__link:hover {
  background-color: #000;
}

@media (min-width: 768px) {
  .wp-block-button__link {
    font-size: 1.8rem;
  }
  .pagar-cuota .wp-block-button__link {
    font-size: 3rem;
    padding: 1.5rem 2rem;
    border-width: 4px;
  }
} /* end media*/
@media (min-width: 1400px) {
 
  .pagar-cuota .wp-block-button__link {
    font-size: 4.5rem;
    padding: 2rem 3rem;
  }
} /* end media*/

.custom-logo {
  width: 180px;
  height: auto; /* Mantener proporción */
  margin-top: 15px;
  margin-bottom: 15px;
}
.custom-logo-footer {
  width: clamp(200px, 16vw + 50px, 240px);
  height: auto; /* Mantener proporción */
}

.site-footer {
  background: var(--white);
  padding: 3rem 0 2rem;
  border-top: 1px solid #000;
}

.site-footer a {
  color: #000;
  text-decoration: none;
  font-weight: 500;
  font-size:16px;
}

.site-footer a:hover {
  color: var(--color-cuarto);
  text-decoration: underline;
}
@media only screen and (max-width: 1399px) and (min-width: 990px) {
  
  .custom-logo {
  width: 14vw;
  margin-top:25px;
  }
  #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
    font-size: 1.2vw!important;
  }
  .site-footer p {
    font-size: 16px;
    line-height: 120%;
  }
}/* end css */
@media only screen and (min-width: 1400px) {
  .custom-logo {
  width: 249px;
  }

}/* end css */

.widget ul {
  padding-left: 0;
}
.widget li {
  list-style: none;
  padding: 5px;
  margin: 0;
}


/* menu legales*/
.footer-widget ul{
  list-style: none;
  margin: 5px auto;
  padding-left: 0;
  text-align: center;
}
.footer-widget ul li  {
  display: block;
  padding: 5px auto;
  text-align: left;
}
.footer-widget ul  li a    {
  color: #000;
  text-decoration: none;
  font-size:15px;
  line-height: 18px;
}
.footer-widget ul li a:hover,
.footer-widget ul .current-menu-item a {
  color: #000;
  text-decoration: underline;
}

@media only screen and (min-width: 600px) {
  .footer-widget ul li  {
    display: inline-block;
    padding: 5px;
  }
  .footer-widget ul li:not(:last-child)::after {
    content: ' / ';
    font-size:15px;
    color: #000; /* Asegura el color por si acaso */
    padding-left: 5px; /* Para darle un espacio elegante */
    
   }
} /*  end css */

.redes img {
  margin:0 4px;
}
.redes img:hover {
  opacity: 0.7;
}


.legales h2 {
  font-size: 22px;
  margin: 25px 0;
}
.legales h3, .legales h4 {
  font-size: 18px;
}
.legales p,
.legales li,
.legales {
  font-size: 16px;
  line-height: 120%;
}
:lang(es) .only-en,
:lang(en) .only-es {
  display: none;
}

.lang-item a {
  color: #999;
  font-weight: 600;
  text-decoration: none;
  font-size: 16px;
}
.lang-item a:hover,
.lang-item.current-lang a {
  color: var(--color-tercero);
  text-decoration: underline;
}
/* boton nav-bar menu movil */
.navbar-toggler-icon {
  background-image: url('data:image/svg+xml,<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 50 50" style="enable-background:new 0 0 50 50;" xml:space="preserve"><g><rect x="2.2" y="9.6" style="fill:%23000;" width="45.7" height="6.4"/><rect x="2.2" y="21.8" style="fill:%23000;" width="45.7" height="6.4"/><rect x="2.2" y="34" style="fill:%23000;" width="45.7" height="6.4"/></g></svg>');
}

.navbar-toggler,
.navbar-toggler:focus,
.navbar-toggler-icon:focus,
.btn-close:focus {
  outline: none !important;
  border: none !important;
  border-width: 0;
  box-shadow: none !important;
  border: none;
}

.navbar-nav li a.nav-link {
  color:#fff;
  font-size: clamp(1.2rem, 1.1vw + 1rem, 1.2rem);
  line-height: 1.2;
  font-weight: 600;
  text-transform: uppercase;
}



/* mega menu */

a.mega-menu-link {
  font-family: 'archiamedium' !important;
}
a.mega-menu-link:hover, .mega-current_page_item a.mega-menu-link {
  border-bottom: 2px solid #000 !important;
}
/* enlace contacto es un ancla de home - asi no muestra el diseño en active */
#mega-menu-item-935 a.mega-menu-link:hover, #mega-menu-item-935 a.mega-menu-link {
  border-bottom: none !important;
}


.submenu-adultos .mega-sub-menu a.mega-menu-link, .submenu-adultos .mega-sub-menu a.mega-menu-link:hover,
.submenu-cursos .mega-sub-menu a.mega-menu-link, .submenu-cursos .mega-sub-menu a.mega-menu-link:hover {
  border-bottom: none!important;
}



.submenu-adultos a.mega-menu-link {
  color:#5f6368!important;
}
.submenu-adultos .mega-sub-menu li {
  border-top:0!important;
  border-bottom:0!important;
}

.btn-aula-virtual a.mega-menu-link {
  margin-bottom:50px!important;

}


/* solo movil offcanvas y megamenu*/
@media only screen and (max-width: 991px) {
  .submenu-adultos .mega-sub-menu .mega-sub-menu  {
    margin-left: 25px!important;
  }
  .submenu-adultos .mega-sub-menu li a,
  .submenu-cursos .mega-sub-menu li a {
    padding-top:5px!important;
    padding-bottom:5px!important;
  }

  .offcanvas {
    overflow-y: auto !important;
}

/* Asegura que el cuerpo del offcanvas se adapte al contenido y scroll */
.offcanvas-body {
    overflow-y: visible !important;
    height: auto !important;
}

/* Hace que los submenús se comporten como bloques integrados (relativos) */
/* de modo que empujen el contenido hacia abajo en lugar de flotar o cortarse */
.offcanvas .dropdown-menu {
    position: relative !important;
    float: none !important;
    overflow: visible !important;
    display: block !important; /* Si usas la clase 'show' de Bootstrap, esto asegura que se vea bien */
    box-shadow: none !important;
    border: none !important;
    background-color: transparent !important; /* Opcional: para que herede el fondo del offcanvas */
}



} /* end media */





@media only screen and (min-width: 992px) {
 
  .mega-sub-menu li.mega-menu-item-685,  .mega-sub-menu li.mega-menu-item-941,  .mega-sub-menu li.mega-menu-item-942, 
  ul.mega-sub-menu
  {
    border-bottom:2px solid #000!important;
  }

  .tienda a.mega-menu-link {
    background-color:#fff !important;
    color:#000 !important;
    font-family: 'archiamedium' !important;
    border:2px solid #000 !important;
    border-radius:0px !important;
    padding: 5px 15px 5px 15px !important;
    height:35px !important;
    margin-top:25px!important;
    margin-bottom:0!important;
    margin-left: 10px!important;
    margin-right: 10px!important;
    line-height: 20px!important;
  }
  
  .tienda a.mega-menu-link:hover  {
    background-color:#3c3c3c!important;
    color:#fff !important;
  }

  .btn-aula-virtual a.mega-menu-link {
    background-color:var(--color-blanco) !important;
    color:#000 !important;
    font-family: 'archiamedium' !important;
    border:2px solid #000 !important;
    border-radius:100px !important;
    padding: 5px 15px 5px 15px !important;
    height:35px !important;
    line-height: 20px!important;
    margin-top:25px!important;
    margin-bottom:0!important;
    margin-left: 10px!important;
    margin-right: 10px!important;
  }
  
  .btn-aula-virtual a.mega-menu-link:hover  {
    background-color:var(--color-primero) !important;
    color:#000 !important;
  }
  


} /* end media*/

/* redes en menu principal */
.facebook a:hover svg, .instagram a:hover svg {
  fill: var(--color-primero);
}
.whatsapp a:hover svg  {
  fill: #93c01f;
}

.facebook a:hover, .instagram a:hover, .whatsapp a:hover {
  border-bottom:none!important;
}

/* iconos en horiz en movil*/
@media only screen and (max-width: 990px) {
  .facebook, .instagram, .whatsapp {
    position:absolute!important;
    bottom:10px!important;
  }
  .facebook {
    left:20px!important;
  }
   .instagram{
    left:70px!important;
  }
  .whatsapp {
    left:130px!important;
  }
}/* end media */


@media only screen and (min-width: 992px) {

  /* main primary */
  .navbar-nav li {
    text-align: left;
    line-height: 1.2;
  }

  .navbar-nav li a.nav-link {  
    color: #000;
    text-wrap: nowrap;
  }

  .navbar-nav li a.nav-link:hover {
    color: #000;
    border-bottom:2px solid #000;
  }
  .navbar-nav li a.nav-link:focus {
    outline: thin dotted;
    text-decoration: underline;
    text-decoration-thickness: 2px;
  }

  .site-footer {
    padding: 2rem 0 2rem;
  }

  .instagram .nav-link,   .facebook .nav-link, .whatsapp .nav-link {
    background-size: 25px;
    width: 40px;
    height: 40px;
  }


} /* end media */

/* bloques gutemberg */
@media (min-width: 1200px) {
  /* .wp-block-cover,
  .wp-block-cover-image {
    min-height: 600px;
  } */
  .instagram .nav-link,   .facebook .nav-link ,  .whatsapp .nav-link {
    background-size: 40px;
    width: 50px;
    height: 50px;
  }
} /* end media*/

.text-white a {
  color: #fff;
}
.text-white a:hover {
  text-decoration: underline;
  color: #fff;
}

/* HOME bloque incio fotos */
/* .wp-block-cover,
.wp-block-cover-image {
  padding: 0 !important;
} */

.hero-welcome-text {
  min-height: 240px;
  padding-top: 50px;
  padding-bottom: 50px;
}
/* read-more */
.understrap-read-more-link {
  background-color: none;
  border-radius: 30px;
  color: var(--color-tercero);
  text-decoration: none;
  border: 2px solid var(--color-tercero);
  padding: 15px 25px;
  font-size: 20px;
  min-width: 100px;
  display: inline-block;
  text-align: center;
}
.understrap-read-more-link:hover {
  background-color: var(--color-tercero);
  color: #fff;
}

@media only screen and (min-width: 768px) {
  .understrap-read-more-link {
    font-size: 29px;
    border-radius: 40px;
    min-width: 150px;
  }
  .hero-welcome-text {
    min-height: 340px;
    padding-top: 100px;
    padding-bottom: 40px;
  }
} /* end css */
@media only screen and (min-width: 1200px) {
  .understrap-read-more-link {
    font-size: 36px;
    border-radius: 50px;
  }
  .hero-welcome-text {
    min-height: 550px;

  }
} /* end css */

/* ========================================================================== */
/* PAGINATION STYLES - .nav-links */
/* ========================================================================== */
.navigation {
  padding: 1rem 0.5rem;
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 40px 0;
}

.nav-links a,
.nav-links span {
  display: inline-block;
  padding: 10px 16px;
  background-color: #fff;
  color: var(--color-tercero);
  text-decoration: none;
  font-weight: 600;
  border: 1px solid var(--color-primero);
  transition: all 0.3s ease;
}

.nav-links a:hover {
  background-color: var(--color-primero);
  color: #fff;
  border-color: var(--color-primero);
}

.nav-links .page-numbers.current,
.nav-links span.page-numbers.current {
  background-color: #000;
  color: #fff;
  border-color: #000;
  cursor: default;
}

@media (min-width: 768px) {
  .nav-links a,
  .nav-links span {
    padding: 10px 20px;
    font-size: 1.1rem;
  }
} /* end media */

/* ========================================================================== */
/* PAGINATION ARROWS - Previous/Next */
/* ========================================================================== */

/* Ocultar el texto y mostrar flechas */
.nav-links a.prev,
.nav-links a.next {
  font-size: 0;
  width: 50px;
  height: 50px;
  padding: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Flecha izquierda (Previous) */
.nav-links a.prev::before {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="currentColor" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M12 8a.5.5 0 0 1-.5.5H3.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L3.707 7.5H11.5a.5.5 0 0 1 .5.5z"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* Flecha derecha (Next) */
.nav-links a.next::before {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="currentColor" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M4 8a.5.5 0 0 0 .5.5h7.793l-2.147 2.146a.5.5 0 0 0 .708.708l3-3a.5.5 0 0 0 0-.708l-3-3a.5.5 0 1 0-.708.708L12.293 7.5H4.5A.5.5 0 0 0 4 8z"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.cky-btn-revisit-wrapper {
  background-color: var(--color-tercero) !important;
}
.cky-btn-customize,
.cky-btn-reject,
.cky-btn-accept,
.cky-btn-preferences {
  border-color: var(--color-tercero) !important;
  color: #000 !important;
  background-color: #fff !important;
}





/* woo commerce  -------------------------
------------------------------------------
------------------------------------------*/
.woocommerce-page  {
  font-size:1rem;
}  


.woocommerce nav.woocommerce-pagination  {
  padding-bottom: 50px;
}

.woocommerce nav.woocommerce-pagination ul li a:focus, .woocommerce nav.woocommerce-pagination ul li a:hover, .woocommerce nav.woocommerce-pagination ul li span.current {
  background-color: var(--color-primero) !important;
  color:#fff !important;
}
.single-product div.product {
  clear: both;
  display: flow-root; /* Ayuda a contener los elementos flotantes dentro del producto */
}

.single-product #footer, 
.single-product footer {
  clear: both !important;
}


/* Forzar imágenes de catálogo a ser cuadradas y llenar el espacio */
.woocommerce ul.products li.product a img,
.wc-block-product-template li.product a img
 {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important; /* Crea el marco cuadrado perfecto */
    object-fit: cover !important;  /* Llena el cuadro cortando los bordes sobrantes */
    object-position: center;        /* Centra la imagen para no cortar lo principal */
    padding: 0 !important;          /* Elimina cualquier espacio interno */
    margin: 0 !important;           /* Elimina márgenes */
    overflow: hidden;               /* Corta cualquier desbordamiento */
    display: block; 
}

/* .products .price {
  display: none!important;
} */

/* woo botón */
.woocommerce ul.products a.add_to_cart_button,
.woocommerce #respond input#submit.alt, 
.woocommerce a.button.alt, 
.woocommerce button.button.alt, 
.woocommerce input.button.alt {
    background-color: var(--color-blanco) !important;
    border-radius: 0;
    padding: calc(8px + 0.5vw) calc(15px + 1vw);
    font-weight: 500;
    font-size: clamp(0.8rem, 1vw + 0.8rem, 1.4rem);
    opacity: 1;
    color:#000;
    border: 2px solid #000;
    text-transform: uppercase;
}

.woocommerce ul.products a.add_to_cart_button:hover,
.woocommerce #respond input#submit.alt:hover, 
.woocommerce a.button.alt:hover, 
.woocommerce button.button.alt:hover, 
.woocommerce input.button.alt:hover {
    opacity: 1;
    background-color: var(--color-primero) !important;
    
   
}
.single_add_to_cart_button.disabled, .single_add_to_cart_button.disabled:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt.disabled {
  background-color: #ddd!important;
  color:#666!important;
}

.variations label {
  text-transform: uppercase;
  line-height: 1;
}
.woocommerce div.product form.cart .variations select {
  border:1px solid #dcdcdc;
  padding: 10px;
}
.products li .add_to_cart_button, .products .product_type_variable {
  background-color: var(--color-primero) !important;
  color:#fff;
  font-size: 16px;
}
.products li .add_to_cart_button:hover, .products .product_type_variable {
  background-color: #666;
  color:#fff;
}
.woocommerce-loop-product__title {
  color: var(--negro) !important;
  text-align: left;
}
.woocommerce-loop-product__title:hover {
  color: var(--color-tercero) !important;
}
ul.products > .product .price * {
  font-size: clamp(1.5rem, 1.5vw + 1rem, 1.5rem);
  padding-top: 1rem;
  padding-bottom: 1rem;
  font-weight: 600;
  color:#000;
}
ul.products > .product  {
  text-align: left;
}

.custom-select-wrapper {
    position: relative;
    display: inline-block;
    user-select: none;
    min-width: 200px;
    font-size: 16px;
    line-height: 116%;
}

.custom-select-trigger {
    background: #fff;
    border: 1px solid #dcdcdc;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 4px;

    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-down" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708"/></svg>');
    background-repeat: no-repeat;
    background-position: right 15px top 15px;
    background-size: 10px auto;
    padding-right: 40px; 
}

/* La lista desplegable */
.custom-options {
    position: absolute;
    display: none;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    margin: 0;
    padding: 0;
    list-style: none;
    border: 1px solid #dcdcdc;
    border-top: none;
    z-index: 999;
}

.custom-options.open {
    display: block;
}

.custom-option {
    padding: 10px; /* Tu padding de 10px */
    border-bottom: 1px solid #eee; /* Borde gris entre opciones */
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
}

.custom-option:last-child {
    border-bottom: none;
}

.custom-option:hover {
    background-color: #f5f5f5; /* Un gris muy suave al pasar el ratón */
}

.woocommerce-tabs {
  padding: 50px 0;
}

.woocommerce .related  {
  padding: 50px 0;
  display: block;
  clear: both;
  
}

@media only screen and (min-width: 768px) {

  .woocommerce-tabs {
    padding: 100px 0;
  }
  .woocommerce .related  {
    padding: 100px 0;
  }
  

} /* end media*/


.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price, 
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product span.price  {
  font-size: clamp(1.2rem, 2.5vw + 1rem, 5rem);
  color: var(--color-negro) !important;
  font-family:'archiabold';
  margin-top: 25px;
  padding-bottom: 25px;
}



.woocommerce-loop-product__title {
  margin-top: 30px!important;
  font-family:'archiamedium';
  font-size: clamp(1.2rem, 1.5vw + 1rem, 2rem)!important;
  text-transform: uppercase;
}

 .product_meta {
  display: none;
} 

.woocommerce-variation-price {
  padding:15px 15px 30px;
  text-align:right;
}

.woocommerce-variation-add-to-cart {
   text-align:right;
}
.woocommerce div.product form.cart .button {
  float:none;
}
.woocommerce-MyAccount-navigation {
  background-color: var(--color-primero) !important;
  margin-bottom:50px;
}
.woocommerce-MyAccount-navigation ul {
  border:2px solid var(--color-primero);
  margin:0;
  padding:0;
  list-style: none;
}
.woocommerce-MyAccount-navigation ul li {
 
}
.woocommerce-MyAccount-navigation ul li a {
  color:#fff;
  text-transform: uppercase;
  text-decoration: none;
  font-size:1rem;
  line-height: 130%;
  padding: 15px 20px;
  display: block;
}
.woocommerce-MyAccount-navigation ul li a:hover {
  color:#000;
  background-color: #fff;
  
}


.woocommerce .quantity .qty {
  padding-block: 20px;
  height: 24px;
}

.woocommerce-tabs .tabs {
  display: none;

}
.woocommerce-tabs .woocommerce-Tabs-panel--description h2 {
  font-size: 15px;
  color: #666;
  text-align: center;
  border-bottom:1px solid #ece8e5;
  padding-bottom: 15px;
  margin-bottom: 30px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active, .woocommerce div.product .woocommerce-tabs ul.tabs,
 .woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs::after {
  border: none!important;

}

.woocommerce-Tabs-panel--description {
  text-align: center;
}

.woocommerce-product-details__short-description {
  padding: 1.5rem 0;
  font-size: clamp(1rem, 1.5vw + 1rem, 1.2rem);
  line-height: 1.2;
}

/* Estilo moderno para el selector de orden de WooCommerce */
.woocommerce-ordering select.orderby {
  appearance: none; /* Elimina el estilo por defecto del navegador */
  -webkit-appearance: none;
  -moz-appearance: none;
  
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 0px; /* Estética minimalista, sin bordes redondeados (estilo Henrik) */
  color: #333;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 12px 40px 12px 15px; /* Espacio extra a la derecha para la flecha */
  transition: all 0.3s ease;
  
  /* Imagen de una flecha personalizada (SVG) */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 12px;
}

/* Efecto al pasar el ratón */
.woocommerce-ordering select.orderby:hover {
  border-color: #111; /* Se oscurece el borde */
}

/* Efecto al hacer clic (focus) */
.woocommerce-ordering select.orderby:focus {
  outline: none;
  border-color: #111;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.05); /* Sutil sombra de profundidad */
}

/* Ajuste para el contenedor en móvil */
@media (max-width: 768px) {
  .woocommerce-ordering {
      width: 100%;
      margin-bottom: 20px;
  }
  .woocommerce-ordering select.orderby {
      width: 100%;
  }

  .woocommerce ul.products[class*="columns-"] li.product, .woocommerce-page ul.products[class*="columns-"] li.product {
    width: 100%;
    clear: both;
  }
}/* end media */


/* variaciones */
@media (max-width: 1199px) {
  /* Forzar a que la tabla, las filas y las celdas ocupen todo el ancho y se apilen */
  .variations, 
  .variations tbody, 
  .variations tr, 
  .variations th, 
  .variations td {
      display: block !important;
      width: 100% !important;
      box-sizing: border-box;
  }

  /* Estilo para el título (Label) */
  .variations th.label {
      padding-bottom: 5px !important; /* Espacio text-abajo antes del select */
      text-align: left !important;    /* Asegurar que el texto se alinea a la izquierda */
  }

  /* Estilo para la celda que contiene el select */
  .variations td.value {
      padding-bottom: 15px !important; /* Espacio de separación si hay más de una variación */
  }

  /* Asegurar que el selector ocupe el 100% del ancho del móvil */
  .variations td.value select {
      width: 100% !important;
      display: block !important;
      font-size: 18px;
  }
}/* end media */

@media (min-width: 1200px) {

  .woocommerce div.product form.cart .variations select {
    min-width: 94%;
    margin-left:6%;
    
  }
  
  .reset_variations {
    text-align: right;
    margin-right: 15px;
    display: block;
  }
}/* end media */


.woocommerce:where(body:not(.woocommerce-uses-block-theme)) ul.products li.product .price {
  color: var(--color-negro) !important;
}




/* contact form  */

.matricula .wpcf7 {
  max-width: 100% !important;
}

.matricula .wpcf7-form  :is(input[type="text"],  input[type="email"],  input[type="tel"], textarea) {
  border: 2px solid #000;
  border-radius: 0;
  background: #fff !important;
  padding: 5px 15px;
  font-size: clamp(1.2rem, 1.2vw + 1rem, 1.4rem);
  width: 100% !important;
}

 .wpcf7 input[type="submit"] {
  width: 100%;
  max-width: 380px;
  min-width: 200px;
  background: #00572a;
  border: 2px solid #000;
  padding-inline: clamp(0.5rem, 0.5vw + 1rem, 0.7rem);
  padding-block: 1.5rem;
  border-radius: 0;
  font-size: clamp(1.4rem, 1.4vw + 1rem, 1.8rem);
  line-height: 1;
  color: #fff;
  font-weight: 400;
  text-transform: uppercase;
}
.wpcf7 input[type="submit"]:hover {
  background: #000;
  color: #fff;
}

.wpcf7  input[type="submit"]:disabled {
  background: #666;
  color: #fff;
}
.wpcf7-acceptance .wpcf7-list-item {
  margin: 0 !important;
}
.wpcf7 form .wpcf7-response-output {
  margin: 0 !important;
  padding: 20px !important;
  background-color: #fff;
  font-size: 15px;
}
.wpcf7 form.sent .wpcf7-response-output {
  background-color: #ddd;
}

.wpcf7-form .contacto-form   ::placeholder {
  color: #6f6f6e !important;
  font-weight: 500;
  font-size: clamp(1.2rem, 1.2vw + 1rem, 1.4rem);
}
.wpcf7-not-valid-tip {
  color: red !important;
  font-weight: 600;
  font-size: 15px;
  padding: 10px;
}
.wpcf7-form textarea {
  height: 240px;
}

/* Evita el foco azul feo de los navegadores */
.wpcf7-form *:focus {
  outline: none !important;
  box-shadow: none !important;
}

.wpcf7-acceptance {
  font-size: 14px;
  line-height: 1;
}
.form-privacidad {
  font-size: 13px;
  line-height: 1.2;
}

.wpcf7-acceptance a:hover,
.form-privacidad a:hover {
  text-decoration: underline;
}
.wpcf7-acceptance a:hover,
.form-privacidad a:hover,
.wpcf7-acceptance a,
.form-privacidad a {
  color: #000;
}





/* --- CSS general para el formulario --- */
.custom-form-grid {
  display: grid;
  grid-template-columns: 1fr; /* Una columna por defecto */
  background-color: #000000; /* Borde negro nítido */
  gap: 4px; /* Grosor del borde interno */
  padding: 4px; /* Grosor del borde exterior */
  font-family: 'archiaregular';
}

.custom-form-grid  .form-row {
  background-color:#fff;
  padding: 20px;
  /* display: flex; */
  /* flex-direction: column; */
}

.custom-form-grid  .label-with-icon {
  display: flex;
  align-items: center;
  margin-bottom: 5px; /* Espacio antes del input de archivo */
  margin-right: 20px;
}

.custom-form-grid  .label-text {
  color: #000;
  font-size: clamp(1.2rem, 1.4vw + 1rem, 2.4rem);
  font-weight: 500;
}

.custom-form-grid  .plus-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-color: #93c01f; /* El color verde de tu diseño */
  color: #000;
  text-align: center;
  line-height: 20px;
  border-radius: 50%;
  margin-right: 10px;
  font-family: 'archiamedium';
  font-size: 14px;
}

/* Estilo para los inputs y textareas */
.custom-form-grid input,
.custom-form-grid textarea {
  width: 100%;
  border: none; /* Eliminar bordes predeterminados */
  background: transparent; /* Fondo transparente para ver el fondo de la celda */
  padding: 10px 0;
  font-size: clamp(1.2rem, 1.4vw + 1rem, 2.4rem);
  font-family: inherit; /* Heredar fuente */
  margin-top: 10px; /* Separación de la etiqueta */
}


.custom-form-grid  .upload-cv input[type="file"] {
  background-color: #fff;
  padding: 0;
  font-size: 20px;
}

/* Modificar el botón nativo de "Seleccionar archivo" */
.custom-form-grid  .curriculum::file-selector-button {
  background-color: #93c01f;
  color: #000000;           
  border: none;         
  padding: 10px 22px;           
  font-family: inherit;    
  font-weight: bold;
  cursor: pointer;          
  transition: background-color 0.2s ease;
  margin-right: 10px;       
}

/* Efecto al pasar el ratón por encima del botón */
.custom-form-grid  .curriculum::file-selector-button:hover {
  background-color: #ddd; 
}

/* --- Media Query para pantallas grandes (4 columnas) --- */
@media (min-width: 768px) {
  .custom-form-grid  .plus-icon {
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 40px;
  }
}




.text-white a,
.text-white p {
  color: #fff;
}
.text-white a:hover {
  text-decoration: underline;
  color: #fff;
}

.woocommerce-account h2 {
  font-size: 24px;
  line-height: 1.2;
}
.woocommerce-account p {
  font-size: 16px;
  line-height: 1.2;
}

.wc-block-cart__submit-container .wp-element-button {
  background-color:transparent!important;
}
/* .cart_totals h2, .checkout h3 {
  font-size: clamp(1.7rem, 2vw + 1rem, 2rem);
} */

#customer_details{
  padding-bottom: 2rem;
}

/* Reducir tamaño de texto en Carrito y Checkout de WooCommerce */
.woocommerce-cart body, .woocommerce-checkout body,
.woocommerce-cart .page, .woocommerce-checkout .page,
.woocommerce-cart table.shop_table, .woocommerce-checkout form.checkout {
    font-size: 1rem !important;
    line-height: 1.5 !important;
}

/* Ajustar los títulos de las secciones para que no sean gigantes */
.woocommerce-cart h2, .woocommerce-checkout h2,
.woocommerce-cart h3, .woocommerce-checkout h3 {
    font-size: 1.4rem !important;
    margin-top: 1.5rem !important;
    margin-bottom: 1rem !important;
}

/* Ajustar los textos de los formularios, etiquetas y campos de entrada */
.woocommerce-checkout .form-row label,
.woocommerce-checkout .form-row input,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
    font-size: 0.95rem !important;
}

/* Hacer más compactos los desgoses de precio y envío en el carrito */
.cart-collaterals .cart_totals table th,
.cart-collaterals .cart_totals table td,
ul#shipping_method li {
    font-size: 1rem !important;
}

.woocommerce-message{
  border-top-color:var(--color-tercero);
}
.woocommerce-message::before{
  color:var(--color-tercero);
}

.woocommerce-form-login {
  max-width: 700px;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button {
  background-color: #fff !important;
  color:#000 !important;
  border-radius: 0;
  font-weight: 500;
  border:2px solid #000;
}
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button:hover {
  opacity: 1;
  background-color:  var(--color-primero) !important;
  color:#000!important;
}




/* tablas */
/* Estilos Base Escritorio (Opcional, para asegurar que se vea limpia) */
.table-responsive table {
  width: 100%;
  border-collapse: collapse;
  font-family: sans-serif;
  font-size: 14px;
}
.table-responsive table th, 
.table-responsive table td {
  padding: 12px;
  text-align: left;
  border: 1px solid #e0e0e0;
}
.table-responsive table th {
  background-color: #f7f9fa;
  font-weight: bold;
}

/* ===================================================
   RESPONSIVE: Aplicable para pantallas menores a 768px
   =================================================== */
@media screen and (max-width: 768px) {
  
  /* Forzamos a que los elementos se comporten como bloques verticales */
  .table-responsive table, 
  .table-responsive table thead, 
  .table-responsive table tbody, 
  .table-responsive table th, 
  .table-responsive table td, 
  .table-responsive table tr { 
    display: block; 
    width: 100% !important;
  }
  
  /* Ocultamos visualmente la cabecera original de la tabla */
  .table-responsive table thead tr { 
    position: absolute;
    top: -9999px;
    left: -9999px;
  }
  
  /* Convertimos cada fila en una 'tarjeta' independiente */
  .table-responsive table tr { 
    border: 1px solid #ccd1d9;
    margin-bottom: 25px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.06);
    background: #ffffff;
    padding: 5px;
  }
  
  /* Formato para cada celda de información */
  .table-responsive table td { 
    border: none;
    border-bottom: 1px solid #f0f2f5; 
    position: relative;
    padding: 12px 12px 12px 10%; /* Dejamos un 40% de espacio a la izquierda para el título */
    text-align: left;
    box-sizing: border-box;
  }
  
  /* Eliminamos el borde inferior en el último dato de la tarjeta */
  .table-responsive table td:last-child {
    border-bottom: 0;
  }
  
  /* Inyectamos los títulos de las columnas a la izquierda */
  .table-responsive table td::before { 
    position: absolute;
    top: 12px; /* Alineado arriba con el padding de la celda */
    left: 12px;
    width: 35%; 
    padding-right: 10px; 
    text-align: left;
    font-weight: bold;
    font-size: 11px;
    color: #5f6368;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    content: attr(data-label); /* Toma el texto del HTML */
  }

  /* Detalle estético: la celda de la Actividad destaca como título de la tarjeta */
  .table-responsive table td:first-child {
    background-color: #f7f9fa;
    font-size: 15px;
    padding-left: 12px; /* No necesita data-label a la izquierda */
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
  }
  .table-responsive table td:first-child::before {
    display: none; /* Ocultamos el data-label duplicado solo en el primer elemento */
  }
}


/* enlaces inicio y enlaces titulares */

.hover-negro:hover, .hover-verde2:hover {
  background-color: #000!important;
}
.hover-verde:hover {
  background-color: var(--color-primero);
}

.hover-matricula .enlace-100-flecha a {
  padding-block: 20px;
  text-decoration: none;
  color:#000;
  display: block;
  width: 100%;
}
.hover-matricula:hover .enlace-100-flecha a, .hover-matricula:hover .enlace-100-flecha a:hover {
  color: #fff;

}
.hover-matricula .enlace-100-flecha a span {
  font-size:50%;
  display: block;
}
.hover-cursos h2 a span  {
  font-size:50%;
  display: block;
  font-family: 'archiaregular';
}
.hover-cursos h2   {
  font-size: clamp(2rem, 7vw + 1rem, 9rem);
}


.hover-negro:hover img {
  filter:invert();
}

.hover-cursos a, .hover-cursos h2 {
  text-decoration: none;
  line-height: 65%;
}

  .hover-negro:hover img, .hover-verde2:hover img {
    animation: mueve-dcha  2.5s ease-in-out infinite;
    will-change: transform; 
  }

  /*anim hover verde*/
  .hover-verde:hover img {
    animation: giro360 2.5s ease-in-out infinite;
    will-change: transform; 
  }

  .hover-titulo:hover img {
  animation: mueve-dcha 2.5s ease-in-out infinite;
  will-change: transform; 
  }


/* hover solo a partir de 768 */
@media screen and (min-width: 768px) {
  /*anim hover negro*/
  .hover-negro img {
    /* transform: translateX(-100px); */
  }
  .hover-cursos h2 a span  {
    font-size:30%;
   
  }
}/* end media */


/* ANIMACIONES CSS */

/* anim img ejes home */
.anim-ejes img {
  /* Vinculamos la animación 'giro360' */
  animation: giro360 20s linear infinite;
  
  /* Asegura que el centro de la imagen sea el eje de giro */
  transform-origin: center; 
}

@keyframes giro360 {
  /* 0% a 100%: Gira suavemente de 0 a 360 grados (duración: 20 segundos) */
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.anim-img-btn {
  /* Ahora la animación total dura solo 2.5 segundos */
  animation: mueve-dcha 2.5s ease-in-out infinite;
  will-change: transform; 
}

@keyframes mueve-dcha {
  /* 0% al 40%: Se mueve 100px a la derecha (tarda 1.0 segundo) */
  0% {
    transform: translateX(0);
  }
  40% {
    transform: translateX(50px);
  }

  /* 40% al 60%: Se queda quieto en 100px (Pausa exacta de 0.5 segundos) */
  /* (0.5s representa el 20% de 2.5s, por eso va del 40% al 60%) */
  60% {
    transform: translateX(50px);
  }

  /* 60% al 100%: Regresa suavemente al inicio (tarda 1.0 segundo) */
  100% {
    transform: translateX(0);
  }
}
.anim-img-btn-abajo  {
  /* Ahora la animación total dura solo 2.5 segundos */
  animation: mueve-abajo 2.5s ease-in-out infinite;
  will-change: transform; 
}
.anim-img-btn-abajo-diagonal  {
  /* Ahora la animación total dura solo 2.5 segundos */
  animation: mueve-diagonal 2.5s ease-in-out infinite;
  will-change: transform; 
}

@keyframes mueve-abajo {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(50px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes mueve-diagonal {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(50px, 50px);
  }
  100% {
    transform: translate(0, 0);
  }
}



.anim-escala {
  animation: agranda 2.5s ease-in-out infinite;
  will-change: transform; 
}

@keyframes agranda {
  0% {
    transform: scale(0.75);
  }
  50% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(0.75);
  }
}


/* --- ANIMACIÓN 2: TU CARA (MÁS GRANDE) --- */
.sonrie {
  /* Subimos a 250 porque tu dibujo tiene una escala mayor (viewBox 261.73) */
  stroke-dasharray: 250;
  stroke-dashoffset: 250; 
  animation: dibujarBoca 1.5s ease-in-out infinite;
  animation-delay: 0.5s;
}

/* Keyframes compartidos para ambas animaciones */
@keyframes dibujarBoca {
  to {
      stroke-dashoffset: 0;
  }
}







/* MARQUESINA */

.marquee {
  overflow: hidden;
  white-space: nowrap;
  /* Ancho del contenedor para controlar la velocidad */
  width: 100%;
  font-size: clamp(2rem, 5vw + 1rem, 7rem);
  line-height: 1;
  font-weight: 300;
  font-family: 'archiathin';
  text-transform: uppercase;
  padding-top: 20px;
  padding-bottom: 20px;
  color: #000;
  background-color: var(--color-primero);
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
 
}

.marquee ul {
  display: inline-block;
  animation: marquee 35s linear infinite;
  margin-bottom: 0;
}

.marquee li {
  display: inline-block;
  margin: 0 10px;
  padding-left: 0px;
  
}
.marquee li::before {
  content: " + ";
  margin-right: 10px; /* Ajusta el margen derecho según sea necesario */
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}


@media only screen and (min-width: 1400px) {
  .marquee {
    padding-top: 35px;
    padding-bottom: 35px;
    
  }
} /* end media */




/* DISEÑO EQUIPO GRID */
 .page-id-672 * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
} 

.cuadricula {
  display: grid;
  /* Por defecto en móvil: 2 columnas iguales */
  grid-template-columns: repeat(2, 1fr); 
  
  /* El truco de los bordes: */
  background-color: #333333; /* El color que quieras para tus bordes */
  gap: 2px;                  /* El grosor del borde interno */
  padding: 2px;              /* El grosor del borde exterior */
  
}
/* bloque detecta flex 
.cuadricula :where(.wp-block-columns.is-layout-flex) {
  gap:2px;
}*/
.celda {
  background-color: #ffffff; /* Fondo de las celdas */
  padding: 0px;             /* Espacio interno del texto */
  text-align: center;
  margin-bottom: 0!important;
}
.celda .wp-block-cover__inner-container {
  opacity: 0;
  position: absolute;
  height: 100%;
  padding-top: 40%;
 
}
.celda .wp-block-cover__inner-container:hover {
  background-color: rgba(255, 255, 255, 0.8);
  opacity: 1;
}

.cuadricula  .wp-block-cover, .cuadricula  .wp-block-cover-image {
  padding: 0;
}

/* Media Query para ordenadores / pantallas grandes (ej. más de 768px) */
@media (min-width: 768px) {
  .cuadricula {
    /* En pantallas grandes cambia automáticamente a 4 columnas */
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 600px) {
  .wp-block-cover, .wp-block-cover-image{
    min-height: 340px;
  }
}
@media (max-width: 460px) {
  .wp-block-cover, .wp-block-cover-image{
    min-height: 290px;
  }
}
@media (min-width: 1200px) {
  .wp-block-cover, .wp-block-cover-image{
    min-height: 550px;
  }
}

.enlaces-cursos-adultos a:hover img, .enlace-img a:hover img {
  opacity: 0.5;
}



/* WIDGET TIENDA. +. MENU TIENDA en pag tienda */

.widget-tienda {
  
}
.widget-tienda ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
}
.widget-tienda ul li {
  margin-right: 10px;
  padding:10px;
  font-family: 'archiasemibold';
}
.widget-tienda ul li a  {
  text-decoration: none;
  color:#969696;
  font-size: clamp(12px, 1vw + 18px, 18px);
  
}
.widget-tienda ul li a:hover  {
  color:#000;
  text-decoration: underline;
}


/* Estilos search buscador productos */
/* Ajustes para la etiqueta/label (oculta) */
.widget-tienda .wp-block-search__label {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
}

/* Contenedor interno del campo y el botón */
.widget-tienda .wp-block-search__inside-wrapper {
  display: flex;
  width: 100%;
  border: 1px solid #cccccc;
  border-radius: 4px;
  overflow: hidden; /* Mantiene las esquinas redondeadas uniformes */
  background-color: #ffffff;
}

/* Campo de texto de entrada (Input text) */
.widget-tienda .wp-block-search__input {
  border: none !important; /* Quita el borde nativo para usar el del contenedor */
  padding: 6px 10px !important;
  font-size: 14px !important; /* Tamaño de fuente cómodo pero compacto */
  height: 34px !important;    /* Altura pequeña/mediana */
  flex-grow: 1;
  min-width: 0; /* Evita que el input desborde en pantallas pequeñas */
  outline: none;
}
.search-form .search-field  {
  border:1px solid #666;
  font-size: 15px !important;
  min-width: 320px;
  width: auto;

}

/* Botón de buscar */
.widget-tienda .wp-block-search__button,
.search-form .search-submit {
  border: none !important;
  background-color: var(--color-primero); /* Cambia esto por el color principal de tu tienda */
  color: #ffffff !important;
  padding: 3px 12px !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  height: 34px !important;    /* Misma altura que el input para que encajen */
  cursor: pointer;
  transition: background-color 0.2s ease;
}

/* Efecto Hover para el botón */
.widget-tienda .wp-block-search__button:hover,
.search-form .search-submit:hover {
  background-color: #000; /* Color un poco más oscuro al pasar el ratón */
}

/* Efecto Focus cuando el usuario hace clic en el buscador */
.widget-tienda .wp-block-search__inside-wrapper:focus-within {
  border-color: #0071a1; /* Cambia el borde al color de énfasis */
  box-shadow: none; /* Evita sombras extrañas */
}

/* menu en pag tienda */
.submenu-tienda li {
  display: inline-block;
  
}
.submenu-tienda li a {
  display: inline-block;
  padding: 15px 25px;
  border:1px solid #000;
  text-decoration: none;
  font-size: clamp(12px, 1vw + 18px, 18px);
  font-family: 'archiamedium';
}
.submenu-tienda li a:hover, .submenu-tienda li.current-menu-item a {
  background-color: var(--color-primero) !important;
}

.wp-block-woocommerce-empty-cart-block .wp-block-product-new, .wp-block-woocommerce-empty-cart-block .wp-block-heading {
  display: none;
}
 .wp-block-woocommerce-empty-cart-block .wp-block-heading.wc-block-cart__empty-cart__title {
  display: block;
}