/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.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 */

/*HOME*/
h1 strong,
h2 strong {
	color: #04a5c2;
	font-weight: 700;
}

.elementor-widget-button .elementor-button {
    background-color: var(--e-global-color-accent);
    text-decoration: none;
}

/*HEAEDR*/
/*Top bar*/
.top-bar-header, 
.top-bar-header .e-con-inner {
    min-height: 40px;
    padding: 0;
    display: flex;
    justify-content: end !important;
    align-items: center !important;
}

.top-bar-header .elementor-element {
	padding: 0;
}

.top-bar-header p.elementor-icon-box-title {
    display: none;
}

/*Header menu*/
.header-web,
.header-web .e-con-inner{
	max-height: 100px;
	padding: 0;
	display: flex;
	justify-content: space-between !important;
	align-items: center !important;
}


.header-web .elementor-element {
	padding: 0;
}

/*STICKY HEADER TOPBAR + HEADER MENU*/
/* Top bar fija arriba */
.top-bar-header{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10001;
  background: #fff;
}

.top-bar-header,
.top-bar-header .e-con-inner{
  height: 40px;
  min-height: 40px;
}

/* Header fijo debajo de la top-bar */
.header-web{
  position: fixed;
  top: 40px;           
  left: 0;
  right: 0;
  z-index: 999;
  background: #fff;
}


/* =========================
   SWIPER BASE
========================= */
.js-swiperify {
  overflow: hidden;
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
}

/* wrapper */
.js-swiperify .swiper-wrapper {
  display: flex !important;
  width: 100%;
}

/* slides base */
.js-swiperify .swiper-slide {
  height: auto;
  flex-shrink: 0;
}

/*Flechas*/
.swiper-button-next, .swiper-button-prev {
    width: calc(var(--swiper-navigation-size) / 44 * 44) !important;
    background: white;
    border-radius: 2rem;
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 1.5rem !important;
}

/* =========================
   FIX ELEMENTOR
========================= */
.js-swiperify .e-con {
  max-width: 100% !important;
}

/* 🔥 IMPORTANTE: quitar width global */
.js-swiperify .swiper-slide.e-con {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
}

/* =========================
   SLIDER 1 COLUMNA (HERO)
========================= */

.swiper--1col {
  width: 100% !important;
}

.swiper--1col .swiper-wrapper {
  align-items: stretch;
}

.swiper--1col .swiper-slide {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 85vh !important;
}

.swiper--1col .swiper-slide.swiper-slide-active {
  height: 85vh;
}

.swiper--1col .e-con.e-child {
  width: 100% !important;
}



/* =========================
   SLIDER 3 COLUMNAS
========================= */

/* 🔥 contenedor: evitar limitaciones raras */
.swiper--3cols {
  width: 100%;
}

/* wrapper */
.swiper--3cols .swiper-wrapper {
  align-items: stretch;
  display: flex !important;
}

/* 🔥 slides: FORZAMOS 3 EXACTAS */
.swiper--3cols .swiper-slide {
  width: calc((100% - 32px) / 3) !important; /* 👈 clave (3 columnas + gap 16px) */
  aspect-ratio: 3 / 4;
  overflow: hidden;
  flex-shrink: 0;
}

/* evitar conflictos con Elementor */
.swiper--3cols .swiper-slide.e-con {
  display: block !important;
}

/* 🔥 imágenes */
.swiper--3cols .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* hover */
.swiper--3cols .swiper-slide img {
  transition: transform 0.4s ease;
}

.swiper--3cols .swiper-slide:hover img {
  transform: scale(1.05);
}

/* 🔥 MUY IMPORTANTE: eliminar padding lateral */
.swiper--3cols {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* desktop → 3 columnas */
@media (min-width: 1200px) {
  .swiper--3cols .swiper-slide {
    width: calc((100% - 32px) / 3) !important;
  }
}

/* tablet → 2 columnas */
@media (min-width: 768px) and (max-width: 1199px) {
  .swiper--3cols .swiper-slide {
    width: calc((100% - 16px) / 2) !important;
  }
}

/* móvil → 1 columna */
@media (max-width: 767px) {
  .swiper--3cols .swiper-slide {
    width: 100% !important;
  }
}

/*Clases de danza*/
.dance-classes {
	position: relative;
	transition: all .3s ease-in-out;
	overflow: hidden;
	cursor: pointer;
}

.dance-classes:before {
	content: '';
	background: rgb(0 0 0 / 20%);
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	pointer-events: none;
}

.dance-classes img {
	aspect-ratio: 3/4;
	filter: grayscale(1);
	transition: all .3s ease-in-out;
	object-fit: cover;
}

.dance-classes:hover img{
	filter: grayscale(0);
	transform: scale(1.2) !important;
}

.dance-classes .title-classes {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 2rem;
	z-index: 2;
}

/*Galería*/
.gallery-home img {
	aspect-ratio: 4/3;
	object-fit: cover;
	transition: all .3s ease-in-out;
}

.gallery-home img:hover {
	filter: grayscale(1);
}

/*CLASES*/
.img-danza img {
	aspect-ratio: 4/3;
	object-fit: cover;
}

/*Tipos de clase iniciación*/
.iniciacion {
	position: relative;
	transition: all .3s ease-in-out;
	overflow: hidden;
	cursor: pointer;
}

.iniciacion:before {
	content: '';
	background: rgb(0 0 0 / 20%);
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	pointer-events: none;
}

.iniciacion img {
	aspect-ratio: 4/3;
	filter: grayscale(1);
	transition: all .3s ease-in-out;
	object-fit: cover;
}

.iniciacion:hover img{
	filter: grayscale(0);
	transform: scale(1.2) !important;
}

.iniciacion .title-classes {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 2rem;
	z-index: 2;
}

/*Cuadro de materias de cada clase*/
.classes img{
	aspect-ratio: 4/3;
	object-fit: cover;
}

/*FORMS*/
.cf-container {
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	margin-right: -5px;
	margin-left: -5px;
}
.cf-col-1, .cf-col-2, .cf-col-3, .cf-col-4, .cf-col-5, .cf-col-6, .cf-col-7, .cf-col-8, .cf-col-9, .cf-col-10, .cf-col-11, .cf-col-12 {
	position: relative;
	width: 100%;
	min-height: 1px;
	padding-right: 5px;
	padding-left: 5px;
}
@media ( min-width: 576px ) {
	.cf-col-1 {
		-ms-flex: 0 0 8.333333%;
		flex: 0 0 8.333333%;
		max-width: 8.333333%;
	}
	.cf-push-1 { margin-left: 8.333333%; }
	.cf-col-2 {
		-ms-flex: 0 0 16.66667%;
		flex: 0 0 16.66667%;
		max-width: 16.66667%;
	}
	.cf-push-2 { margin-left: 16.66667%; }
	.cf-col-3 {
		-ms-flex: 0 0 25%;
		flex: 0 0 25%;
		max-width: 25%;
	}
	.cf-push-3 { margin-left: 25%; }
	.cf-col-4 {
		-ms-flex: 0 0 33.33333%;
		flex: 0 0 33.33333%;
		max-width: 33.33333%;
	}
	.cf-push-4 { margin-left: 33.33333%; }
	.cf-col-5 {
		-ms-flex: 0 0 41.66667%;
		flex: 0 0 41.66667%;
		max-width: 41.66667%;
	}
	.cf-push-5 { margin-left: 41.66667%; }
	.cf-col-6 {
		-ms-flex: 0 0 50%;
		flex: 0 0 50%;
		max-width: 50%;
	}
	.cf-push-6 { margin-left: 50%; }
	.cf-col-7 {
		-ms-flex: 0 0 58.33333%;
		flex: 0 0 58.33333%;
		max-width: 58.33333%;
	}
	.cf-push-7 { margin-left: 58.33333%; }
	.cf-col-8 {
		-ms-flex: 0 0 66.66667%;
		flex: 0 0 66.66667%;
		max-width: 66.66667%;
	}
	.cf-push-8 { margin-left: 66.66667%; }
	.cf-col-9 {
		-ms-flex: 0 0 75%;
		flex: 0 0 75%;
		max-width: 75%;
	}
	.cf-push-9 { margin-left: 75%; }
	.cf-col-10 {
		-ms-flex: 0 0 83.33333%;
		flex: 0 0 83.33333%;
		max-width: 83.33333%;
	}
	.cf-push-10 { margin-left: 83.33333%; }
	.cf-col-11 {
		-ms-flex: 0 0 91.66667%;
		flex: 0 0 91.66667%;
		max-width: 91.66667%;
	}
	.cf-push-11 { margin-left: 91.66667%; }
	.cf-col-12 {
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		max-width: 100%;
	}
}

.label {
	display: none;
}

.legal {
	font-size: 0.85rem;
	color: #000;
	margin-bottom: 0.5rem;
}

.legal a{
	font-size: 0.85rem;
	color: #000;
}

.legal a:hover {
	color: #04a5c2;
}

input#btn-enviar {
    background: #04a5c2;
    color: #fff;
	border: none
}

input#btn-enviar:hover {
	background: #3B3C39; 
}

.wpcf7-not-valid-tip {
    color: #dc3232;
    font-size: 0.8rem;
    font-weight: normal;
    display: block;
}

.w-html {
    line-height: 0;
}

input[type=date], input[type=email], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea {
    border: 0px;
    border-bottom: 1px solid #000;
    border-radius: 0;
    padding: .5rem 1rem;
    transition: all .3s;
    width: 100%;
	background: transparent;
}

textarea {
	height: 185px !important;
}

input[type=date]:focus, input[type=email]:focus, input[type=number]:focus, input[type=password]:focus, input[type=search]:focus, input[type=tel]:focus, input[type=text]:focus, input[type=url]:focus, select:focus, textarea:focus {
    border-color: #04a5c2;
	outline: none;
}

/*Página blog*/
.hfe-post-image img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

/*PLANTILLA BLOG*/
.single h1 {
	color: #00ABC7;
}
.blog-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 4rem 1.2rem;
}

.blog-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.featured-image img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.post-title {
    margin-bottom: 20px;
}

.blog-sidebar {
    background: #f7f7f7;
    padding: 20px;
}

.blog-sidebar h3 {
    margin-bottom: 15px;
}

.recent-posts {
    list-style: none;
    padding: 0;
}

.recent-posts li {
    margin-bottom: 10px;
}

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

.recent-posts a:hover {
    text-decoration: underline;
}

.featured-image img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-wrapper {
        grid-template-columns: 1fr;
    }
}

/*LA ESCUELA*/
/*Acordeón misión*/
.accordion-mission .e-n-accordion-item-title {
	background: #EEEEEE !important;
	border: none !important;
	border-radius: 0rem !important;
	margin-bottom: 0.5rem !important;
	font-size: 1.25rem !important;
	color: #04A5C2 !important;
	font-weight: 600;
}

.accordion-mission:hover .e-n-accordion-item-title {
    color: #04A5C2 !important;
}

.accordion-mission .elementor-widget-n-accordion .e-n-accordion-item[open]>.e-n-accordion-item-title {
    color: #04A5C2;
}

.accordion-mission .e-child {
    border: none;
    background: #EEEEEE;
    border-radius: 0px;
    margin: 1rem auto;
    width: 95%;
	font-size: 0.8rem;
}



.accordion-mission.elementor-widget-n-accordion .e-n-accordion-item[open]>.e-n-accordion-item-title .e-n-accordion-item-title-icon span>svg,
.accordion-mission.elementor-widget-n-accordion .e-n-accordion-item .e-n-accordion-item-title-icon span>svg,
.accordion-mission:hover.elementor-widget-n-accordion .e-n-accordion-item[open]>.e-n-accordion-item-title .e-n-accordion-item-title-icon span>svg{
    fill: #04A5C2;
}

.accordion-mission.elementor-widget-n-accordion .e-n-accordion-item[open]>.e-n-accordion-item-title {
    color: #04A5C2;
}

.accordion-mission .e-con-full.e-flex.e-con.e-child {
    padding: 0rem;
}

/*TABLA HTML*/
table , td, th {
	border: 1px solid #595959;
	border-collapse: collapse;
}
td, th {
	padding: 3px;
	width: 30px;
	height: 25px;
}
th {
	background: #f0e6cc;
}
.even {
	background: #fbf8f0;
}
.odd {
	background: #fefcf9;
}

/*PLANTILLA CATEGORA DE BLOG*/
.category-header {
    padding: 40px 0;
    background: #f5f5f5;
	
}

.category-header h1 {
	Color: #00ABC7 !important;
}

.category-header h1 {
    font-size: 36px;
}

.category-header .container,
section.category-posts {
    max-width: 1400px;
    margin-right: auto;
    margin-left: auto;
    padding: 4rem 1.5rem;
}

.category-description {
    max-width: 700px;
    margin-top: 10px;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
}

.post-card img {
    width: 100%;
    height: auto;
}

.post-card h2 {
    font-size: 20px;
    margin: 10px 0;
}


/*FOOTER*/
footer {
    background: url(https://enclavededanza.somoswom.es/wp-content/uploads/2026/02/galeria-enclavededanza39-scaled.jpg) center center no-repeat;
    position: relative;
    width: 100%;
    height: 100%;
	background-size: cover;
}

footer::before {
	content: '';
	background: rgb(0 0 0 / 60%);
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}

/*********************************************************
Pantallas más pequeñas de 992px
**********************************************************/
@media (max-width: 992px) {
	.row-footer .e-con-inner {
		display: flex !important;
		flex-wrap: wrap !important;
	}
	.row-footer .column-footer {
		width: 50% !important;
	}
}

/*********************************************************
Pantallas más pequeñas de 650px
**********************************************************/
@media (max-width: 650px) {
	.row-footer .column-footer {
		width: 100% !important;
	}
	.blog-container {
		padding: 1rem 1.2rem;
	}

}