/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

html,
body {
	overflow-x: hidden;
}
/*Menú*/
.menu-desk .menu-item a,
.arrow-link a{
	position: relative;
	transition: none !important;
}
@media screen and (min-width: 1025px) { 
	.menu-desk .menu-item a::after,
	.menu-desk .menu-item a::before {
		display: none;
		position:relative;
		color: var( --e-global-color-secondary );
	}


	.menu-desk .menu-item:hover a::after
	{
		content: ']';
		position: relative;
		right: -0.2rem; 
		display: block;
	}

	.menu-desk .menu-item:hover a::before {
		content: '[';
		position:relative;
		left: -0.2rem;
		display: block;
	}


	
}
@media screen and (min-width: 1025px) {

	.custom-hover a {
		position: relative;
	}

	.custom-hover a::before,
	.custom-hover a::after {
		position: absolute;
		top: 0;
		color: var(--e-global-color-secondary);
		opacity: 0;
		pointer-events: none;
	}

	.custom-hover a::before {
		content: '[';
		left: -1rem;
	}

	.custom-hover a::after {
		content: ']';
		right: -1rem;
	}

	.custom-hover a:hover::before,
	.custom-hover a:hover::after {
		opacity: 1;
	}
}

.elementor-menu-toggle {
	padding: 0 !important;
}

.custom-mobile-menu .elementor-menu-toggle__icon--close,
.custom-mobile-menu .elementor-menu-toggle__icon--close svg {
	height: 16px !important;
	position: relative;
    right: -2px;
	top: 0;
}
.custom-mobile-menu .elementor-menu-toggle__icon--close svg {
	position: absolute;
	width: 2em;
}
/*
.elementor-menu-toggle__icon--close path {
	opacity: 0;
	visibility: hidden;
}

.elementor-menu-toggle__icon--close::before {
	content: '';
	background-image: url('https://obvioyraro.displaynone.es/wp-content/uploads/2025/08/cerrar-obvio-raro.svg');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	height: 18px;
	width: 18px;
	display: block;
}*/
/*Enlaces*/
.arrow-link {
	padding-left: 0;
}
.arrow-link a:hover {
	padding-left: 1rem;
}

.arrow-link a:hover::before {
	content: '→';
	color: #009FE3;
	position: absolute;
	left: 0;
}

/*Desplegables*/
.custom-unfold .premium-unfold-content p {

	opacity: 1;
	display: block;
	overflow: visible;
	text-overflow: none;
	
}
.custom-unfold .premium-unfold-content {
	height: 100% !important;
}
.custom-unfold .premium-unfold-content.toggled p {
	  opacity: 0;
	}
.custom-unfold .premium-unfold-content.toggled p:first-child {
	display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
	opacity: 1;
	
}
@media screen and (max-width: 768px) {
	.custom-unfold .premium-unfold-content.toggled p:first-child {
	  -webkit-line-clamp: 3;
	}
}

/*Slider Proyectos*/
.slider-vivir .swiper-wrapper .swiper-slide:first-child  {
	margin-left: -0.75rem !important;
}
.overflow-slider .elementor-widget-image,
.overflow-slider > div > div {
	width: 100% !important;
}
.slider-vivir .swiper-wrapper {
	display: flex;
	flex-direction: row;
}
.slider-vivir .swiper-slide {
	width: auto !important;
	height: 42vh;
	min-height: 350px;
	max-height: 350px;
	flex-shrink: 0;
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	box-sizing: border-box;
}
.slider-vivir img {
	height: auto;
	height: 100%;
	width: auto !important;
	display: block;
	/*width: 27vw;
	width: 325px;
	min-width: 400px;*/
	padding-left: 0.75rem;
	padding-right: 0.75rem;
	object-fit: cover;
}
.slider-vivir .slide-text {
	margin-top: -5px;
	text-align: left;
	max-width: 90vw;
	font-family: Pitch, "san-serif";
	font-size: 15px;
	color: #DADADA;
	padding-left: 0.75rem;
	padding-right: 0.75rem;
	font-weight: 600;
	line-height: 1.2;
	width: 27vw;
	width: 400px;
}
.slide-video {
	position: relative;
	display: inline-block;
	height: 100%;	
	padding-left: 0.75rem;
	padding-right: 0.75rem;
	/*width: 27vw;
	width: 400px;
	min-width: 400px;*/
}
.slide-video img {
	  padding-left: 0;
	  padding-right: 0;
	/*width: 27vw;
	 width: 400px;
	min-width: 400px;*/
	object-fit: cover;
}
/*  Móvil en orientación portrait */
@media (max-width: 768px) and (orientation: portrait) {
  .slider-vivir .swiper-slide {
    min-height: 315px !important;
    max-height: 315px ;
  }
}

/* Móvil en orientación landscape */
@media (max-width: 768px) and (orientation: landscape) {
  .slider-vivir .swiper-slide {
    min-height: 315px;
    max-height: 315px;
  }
}
@media (max-width: 768px) {
	.slider-vivir .slide-text p {
		font-size: 16px !important;
	}
}

/*Nuevo*/
.slide-video iframe {
	width: 100% !important;
	max-width: 100% !important;
}
/*Nuevo*/
.video-poster {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 48px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.slide-video:hover .play-button {
  opacity: 0.5;
}
.creditos strong {
	color: #DADADA !important;
}
/* Lightbox */
.video-lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
}

.video-lightbox-content {
  position: relative;
  width: 90%;
  max-width: 800px;
}

.video-lightbox iframe {
  width: 100%;
  height: 450px;
  border: none;
}

.close-lightbox {
  position: absolute;
  top: -40px;
  right: 0;
  font-size: 36px;
  color: #fff;
  cursor: pointer;
}
@media screen and (max-width: 600px) {
	.slide-video iframe {
      height: 200px;

	}
}
/*Nuevo*/
@media screen and (max-width: 768px) {
	.slider-vivir .slide-text
		width: 80vw !important;
		height: 100%;
	}

	.slider-vivir img,
	.slider-vivir .slide-video{ 
		height: 100% !important;
		width: auto !important;
	}
	.slider-vivir .slide-text {
		margin-top: -4px;
	}
}
@media screen and (max-width: 1024px) {
	.slider-vivir .slide-text,
	.slider-vivir img,
	.slider-vivir .slide-video {
		height: 100%;
	}
}
/*Nuevo*/

	.slider-vivir .slide-text {
	/*	max-width: 30vw;*/
		font-size: 18px;
	}



/*Grid de miembros*/

.custom-loop-grid.projects .elementor-loop-container,
.custom-loop-grid > div {
	display: flex !important;
	flex-wrap: nowrap;
	overflow-x: auto;
	scrollbar-width: none; /* Firefox */
	-ms-overflow-style: none; /* IE y Edge antiguos */
	width: 100vw !important;
	padding-right: 100px;
}

.custom-loop-grid.projects  .elementor-loop-container::-webkit-scrollbar,
.custom-loop-grid.projects > div::-webkit-scrollbar{
	display: none; /* Chrome, Safari y Opera */
}
.custom-loop-grid .elementor-loop-container::-webkit-scrollbar,
.custom-loop-grid > div::-webkit-scrollbar{
	display: none; /* Chrome, Safari y Opera */
}
.custom-loop-grid.projects  .elementor-loop-container.active {
	cursor: grabbing;
}
.custom-loop-grid  .elementor-loop-container.active {
	cursor: grabbing;
}
.custom-loop-grid .e-loop-item{
	width: 280px !important;
	flex: 0 0 280px;
}
.custom-loop-grid.projects .e-loop-item {
	width: 300px !important;
	flex: 0 0 300px;
}

@media screen and (min-width: 768px) {
	.custom-loop-grid .e-loop-item{
		width: 500px !important;
		flex: 0 0 500px;
	}
	.custom-loop-grid.projects .e-loop-item {
		width: 320px !important;
		flex: 0 0 320px;
	}
}
@media screen and (min-width: 1025px) {

	.custom-loop-grid .elementor-loop-container,
	.custom-loop-grid > div {
		display: flex !important;
		flex-wrap: nowrap;
		overflow-x: auto;
	  scrollbar-width: none; /* Firefox */
	  -ms-overflow-style: none; /* IE y Edge antiguos */
		width: 100vw !important;
		padding-right: 100px;
	}

	.custom-loop-grid .elementor-loop-container::-webkit-scrollbar,
	.custom-loop-grid > div::-webkit-scrollbar{
	  display: none; /* Chrome, Safari y Opera */
	}

	.custom-loop-grid .elementor-loop-container.active {
	  cursor: grabbing;
	}

	.custom-loop-grid.projects .e-loop-item {
		width: 350px !important;
		flex: 0 0 350px;
	}
	

	.custom-loop-grid .e-loop__load-more {
		justify-content: center;
	}
}
@media screen and (min-width: 1200px) {
	
}
@media screen and (min-width: 1540px) {
	/*.custom-loop-grid .e-loop-item{
		width: 600px !important;
		flex: 0 0 600px;
	}*/
	.custom-loop-grid.projects .e-loop-item {
		width: 450px !important;
		flex: 0 0 450px;
	}
}

/*Footer*/
.footer-cookies-mob {
	justify-content: flex-end !important;
    width: max-content;
}
.footer-code-mob {
	display: flex;
	justify-content: flex-end;
}
.footer-code-mob p {
	width: max-content !important;
}
/* Ocultar todos por defecto */
.footer-desktop,
.footer-tablet,
.footer-mobile {
  display: none;
}

@media screen and (min-width: 1025px) {
  .footer-desktop {
    display: flex !important;
  }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .footer-tablet {
    display: flex !important;
  }
}
@media screen and (max-width: 767px) and (orientation: landscape) {
  .footer-tablet {
    display: flex !important;
  }
}

@media screen and (max-width: 767px) and (orientation: portrait) {
  .footer-mobile {
    display: flex !important;
  }
}