/* TIPOGRAPHY */
h2 {
  font-size: 59px !important;
  line-height: 70px !important;
}

h3 {
  font-size: 48px !important;
  line-height: 57px !important;
}

h6 {
  font-size: 28px !important;
  line-height: 33px !important;
}

@media screen and (max-width: 768px) {
  h1 {
    font-size: 59px !important;
    line-height: 70px !important;
  }

  h2 {
    font-size: 48px !important;
    line-height: 57px !important;
  }

  h3 {
    font-size: 48px !important;
    line-height: 57px !important;
  }

  h6 {
    font-size: 28px !important;
    line-height: 33px !important;
  }
}

@media (max-width: 748px) {
  .post-contents h1 {
    font-size: 48px !important;
	  line-height: 57px !important;
  }
	.post-contents {
		padding-left: 24px;
		padding-right: 24px;
	}
}

@media screen and (max-width: 768px) {
	ul {
		padding-left: 0 !important;
		margin: 0 0 1.5em 1em !important;
	}
}

.post-thumbnail_slick {
    position: relative; /* Establece el contexto de posicionamiento */
}

.post-thumbnail_slick:hover::before {
    content: ""; /* Crea un pseudo-elemento antes del contenido de la imagen */
    position: absolute; /* Posición absoluta con respecto al contenedor */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0px 4px 250px 0px #00000099 inset !important;
    z-index: 1; /* Superpone el fondo al contenido de la imagen */
    transition: opacity 0.3s ease; /* Transición suave */
    opacity: 0; /* Inicialmente transparente */
	pointer-events: none;
	cursor: pointer;
	border-radius: 10px;
}

.post-thumbnail_slick:hover::before {
    opacity: 1; /* Muestra el fondo al pasar el ratón */
}
 
#content p a {
  font-family: 'parabolica', sans-serif;
  font-size: inherit !important;
  line-height: inherit !important;
  font-weight: 700 !important;
  position: relative !important;
  display: inline-block !important;
}

#content p a::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0px;
  width: 100%;
  height: 1.3px;
  background: currentColor;
  transform: translateY(-2px) scaleX(1);
}

#content p a:hover::after {
  animation: line-animation-link 0.4s ease-out;
  transform-origin: 100% 100%;
}

@keyframes line-animation-link {
  0% {
    transform: translateY(-2px) scaleX(1);
    transform-origin: 100% 100%;
  }
  49% {
    transform: translateY(-2px) scaleX(0);
    transform-origin: 100% 100%;
  }
  50% {
    transform: translateY(-2px) scaleX(0);
    transform-origin: 0 0;
  }
  100% {
    transform: translateY(-2px) scaleX(1);
    transform-origin: 0 0;
  }
}


/* NAVBAR */
.astra-megamenu.sub-menu.astra-mega-menu-width-custom {
  border-radius: 10px !important;
}

#ast-hf-menu-1 li:nth-child(3) {
  /*   display: none; */
}

@media (min-width: 1071px) {
	.site-primary-header-wrap {
		padding-right: 0 !important;
  }
	#menu-item-58 {
    width: 115px;
  }
	#menu-item-18 {
		width: 135px;
	}
	#menu-item-3022 {
		width: 155px;
	}
	#menu-item-20 {
		width: 115px;
	}
}

#ast-hf-menu-1 {
  transition: all 0.3s ease;
}

#ast-desktop-header,
#ast-mobile-header {
  /* opacity: 0.95 !important; */
}

#menu-1-a73e17e {
  height: 100px;
}

/* @media (max-width: 1070px) and (min-width: 920px) {
	.header-widget-area[data-section='sidebar-widgets-header-widget-2'] {
    padding-left: 5px !important;
    width: auto !important;
  }
	.site-header-section > * {
    padding: 0 !important;
  }
  .main-header-menu .menu-link,
  .main-header-menu > a {
    padding: 0 7px !important;
  }

  .infinity-button {
    padding: 9px 20px !important;
  }
}  */

@media (max-width: 1140px) and (min-width: 920px) {
  .infinity-button:hover {
    width: 66px !important;
  }

  .infinity-button:hover .button-text {
    display: none !important;
  }
  .infinity-button:hover .infinity-1 {
    display: inline-block !important;
    opacity: 1 !important;
  }
}

.button-bottom-mobile {
  z-index: 99999;
}

/* BUTTON DISCOVER MORE CUSTOM */
.custom-button {
  position: relative;
  display: inline-block;
  color: #000;
  text-decoration: none;
  padding-right: 35px;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 14px !important;
}

.custom-button::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: translateY(4px) scaleX(1);
}

.custom-button:hover::after {
  animation: line-animation 0.4s ease-out;
  transform-origin: 100% 100%;
}

.arrow {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 25px; /* Ancho de la flecha */
  overflow: hidden; /* Oculta el exceso de la flecha */
}

.custom-button:hover .arrow {
  animation: arrow-animation 0.4s ease-out forwards;
}

@keyframes arrow-animation {
  0% {
    transform: translateY(-50%);
    opacity: 1; /* La primera flecha es visible al principio */
  }
  49% {
    transform: translateY(-50%);
    opacity: 1; /* La primera flecha permanece visible durante la primera mitad de la animación */
  }
  50% {
    transform: translateY(-50%) translateX(50px); /* Mueve la flecha hacia la derecha */
    opacity: 0; /* La primera flecha desaparece instantáneamente al 50% de la animación */
  }
  51% {
    transform: translateY(-50%) translateX(-50px); /* La segunda flecha aparece desde la izquierda */
    opacity: 0; /* La segunda flecha aparece completamente transparente */
  }
  100% {
    transform: translateY(
      -50%
    ); /* La segunda flecha se posiciona en su lugar original */
    opacity: 1; /* La segunda flecha se vuelve visible */
  }
}

@keyframes line-animation {
  0% {
    transform: translateY(4px) scaleX(1);
    transform-origin: 100% 100%;
  }
  49% {
    transform: translateY(4px) scaleX(0);
    transform-origin: 100% 100%;
  }
  50% {
    transform: translateY(4px) scaleX(0);
    transform-origin: 0 0;
  }
  100% {
    transform: translateY(4px) scaleX(1);
    transform-origin: 0 0;
  }
}

/* CARD OFFICIAL HORIZONTAL */
.tiny-tag {
  font-size: 12px;
  line-height: 18px;
  font-family: 'parabolica', sans-serif;
  text-transform: uppercase;
}

.container-card_official {
  height: 100%;
  min-height: 306px;
  display: flex;
  border-radius: 10px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.container-card_official:hover {
  box-shadow: 0px 2px 24px -1px #2b40740a, 0px 6px 12px -6px #2b40741f;
}

.text-card_official {
  position: relative;
  width: 50%;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.text-card_official::after {
  content: '';
  position: absolute;
  top: 0;
  right: -4rem;
  width: 4.5rem;
  height: 100%;
  clip-path: ellipse(4rem 59% at left center);
  z-index: 1;
  transition: all 0.2s ease;
  transform: scaleX(0);
  transform-origin: left;
}

.container-card_official:hover .text-card_official::after {
  transform: scaleX(1);
  animation: gelatine 0.5s ease;
}

/* .container-card_official:not(:hover) .text-card_official::after {
  animation: gelatineReverse 0.5s ease;
} */

.image-background {
  transform-origin: right;
}

.container-card_official:not(:hover) .image-background {
  transform: scaleX(1);
  animation: gelatineReverse 0.5s ease;
}

@keyframes gelatine {
  from,
  to {
    transform: scaleX(1);
  }
  50% {
    transform: scaleX(1.15);
  }
  100% {
    transform: scaleX(1);
  }
}

@keyframes gelatineReverse {
  0% {
    transform: scaleX(1);
  }
  50% {
    transform: scaleX(1.02);
  }
  100% {
    transform: scaleX(1);
  }
}

.container-card_official.wide:hover .text-card_official::after {
  right: -98px;
  width: 6rem;
  height: 100%;
  clip-path: ellipse(5rem 72% at left center) !important;
  transition: all 0.3s ease;
  z-index: 1;
}

.container-card_official:hover .image-background {
  z-index: 0;
}

.elementor-widget-card-official:hover {
  border-radius: 10px !important;
}

/* CARD OFFICIAL VERTICAL */
.container-card_official_vertical {
  min-width: 200px;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.text-card_official_vertical {
  position: relative;
  padding: 40px;
}

.text-card_official_vertical::after {
  content: '';
  position: absolute;
  top: -67px;
  right: 0;
  width: 100%;
  height: 5rem;
  clip-path: ellipse(67% 5rem at center bottom);
  z-index: 1;
  transition: all 0.3s ease;
  transform: scaleY(0);
  transform-origin: bottom;
}

.container-card_official_vertical:hover .text-card_official_vertical::after {
  transform: scaleY(1);
  animation: gelatineVertical 0.5s ease;
}

@keyframes gelatineVertical {
  from,
  to {
    transform: scaleY(1);
  }
  35% {
    transform: scaleY(1.15);
  }
  75% {
    transform: scaleY(1);
  }
}

@keyframes gelatineReverseVertical {
  from,
  to {
    transform: scaleY(1);
  }
  35% {
    transform: scaleY(1.03);
  }
  75% {
    transform: scaleY(1);
  }
}

.image-background_vertical {
  transform-origin: top;
}

.container-card_official_vertical:not(:hover) .image-background_vertical {
  transform: scaleY(1);
  animation: gelatineReverseVertical 0.5s ease;
  transform-origin: top;
}

.container-card_official_vertical:hover .image-background {
  z-index: 0; /* Asegura que la imagen de fondo esté debajo del pseudo-elemento */
}

@media (max-width: 768px) {
  .container-card_official_vertical {
    height: 100% !important;
  }
  .title-card_official_vertical {
    font-size: 28px !important; 
	line-height: 33px !important;
  }
}

.container-card_official_vertical:hover {
  box-shadow: 0px 2px 24px -1px #2b40740a, 0px 6px 12px -6px #2b40741f;
}

/* Desactivar efectos de hover en dispositivos con capacidades táctiles */
@media (hover: none) {
  .container-card_official_vertical:hover .text-card_official_vertical::after {
    transform: scaleY(0); /* No aplicar transformación en dispositivos táctiles */
    animation: none; /* Desactivar animación en dispositivos táctiles */
  }

  .container-card_official_vertical:hover .image-background {
    z-index: auto; /* Restaurar el z-index en dispositivos táctiles */
  }

  .container-card_official_vertical:hover {
    box-shadow: none; /* Desactivar la sombra en dispositivos táctiles */
  }
}

/* CARD experts */
.card-experts {
  padding: 24px;
  width: 100%;
  min-width: 285px;
  max-width: 345px;
  min-height: 363px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  transition: background 0.3s ease-in-out;
}

.card-experts {
  padding: 10px 20px;
  border-radius: 100px;
  background-color: #f7f4ed;
  font-size: 16px;
  line-height: 25px;
  font-family: 'parabolica', sans-serif;
  width: fit-content;
}

.card-experts {
  font-size: 10px;
  line-height: 18px;
  font-family: 'parabolica', sans-serif;
  text-transform: uppercase;
  padding: 4px 16px;
  width: fit-content;
  border-radius: 100px;
  letter-spacing: 1px;
}

.card-experts {
  padding-block: 16px;
}

.card-experts-container {
  display: flex;
  gap: 10px;
}

.card-experts {
  font-size: 10px;
  line-height: 18px;
  font-family: 'parabolica', sans-serif;
  text-transform: uppercase;
  padding: 4px 16px;
  width: fit-content;
  border-radius: 100px;
  letter-spacing: 1px;
  border: 1px solid #d0d1cf;
}

.card-experts:hover .card-experts {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* CARD COMMUNITY OF GAUDI GUARDIANS */
.elementor-870 .elementor-element.elementor-element-68c9f02 {
  text-decoration-thickness: 1px !important;
  text-underline-offset: 3px !important;
}

/* ARTICLES SLIDER */
.articles-underline div {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}


/* Asegúrate de que el contenedor de Swiper está configurado correctamente */
.swiper {
  overflow: hidden; /* Esto asegurará que no se vea contenido cortado fuera del viewport */
}

.swiper .swiper-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out; /* Ajusta la duración y la aceleración de la transición */
}

.swiper .swiper-slide {
  min-width: 285px; /* Ajusta el ancho de los slides */
  box-sizing: border-box;
}


/* CARDS OURS INITIATIVES */
/* Estilos por defecto (para desktop y pantallas grandes) */
.card:not(:hover) {
  flex: 1;
}

.card {
  flex: 1;
  transition: flex 0.5s ease;
}

.card:hover {
  flex: 0 0 35%;
  transition: flex 0.5s ease;
}

.card-text {
  display: none;
  opacity: 0;
  transition: opacity 2s ease;
}

.card-text div p {
  margin-bottom: -20px;
}

.card:hover .card-text {
  display: inline-block;
  opacity: 1;
}

.card-body {
  width: 100%;
  height: 266px;
  transition: width 0.8s ease, height 0.5s ease, border-radius 0.5s ease;
}

.card:hover .card-body {
  max-width: 420px;
  height: 329px;
  border-radius: 0 10px;
  transition: width 1.5s ease, height 0.5s ease;
}

/* Desactivar animaciones para dispositivos móviles */
@media (max-width: 768px) {
  .card,
  .card:hover,
  .card-body,
  .card:hover .card-body,
  .card-text,
  .card:hover .card-text {
    transition: none !important;
  }

  .card:hover .card-body {
    height: 266px !important;
    border-radius: 0 0 10px 10px !important;
  }

  .card:hover .card-text {
    display: none !important;
  }
}

/* BUTTON BOTTOM MOBILE */
.button-bottom-infinite-mobile div div a span span:before {
  content: url('https://www.gaudifoundation.org/wp-content/uploads/2024/03/Vector-1.svg');
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

/* INTERACTIVE MAP */
.leaflet-bottom.leaflet-right {
  display: none;
}

.leaflet-map {
  border-radius: 10px;
}

@media (max-width: 767px) {
  .leaflet-map {
    height: 200px !important;
  }
}

/* MINI MENU INITIATIVES */
#menu-1-8ef42fd {
  padding-left: 1px !important;
}

.elementor-nav-menu--layout-horizontal .elementor-nav-menu {
  flex-wrap: nowrap !important;
}

.mini-menu_initiatives {
  display: flex !important;
  overflow-x: scroll !important;
  scrollbar-width: none !important;
}

.mini-menu_initiatives .elementor-widget-container {
  margin: 0 15px 0 22px !important;
}


/* SEARCH FILTER FORM IN AGENDA */
.elementor-widget-search-filter-form {
  width: 100%;
}

.search-filter_form div .searchandfilter ul {
  display: flex;
  justify-content: space-between;
}

.search-filter_form div .searchandfilter ul li:nth-child(3) {
  margin-left: auto;
}

.search-filter_form_news div .searchandfilter ul {
  display: flex;
}

.search-filter_form_news div .searchandfilter ul li:last-child {
  margin-left: auto;
  margin-right: 0;
}

@media only screen and (max-width: 748px) {
	.search-filter_form_news div .searchandfilter ul {
/* 	   flex-direction: column !important; */
	}
	.search-filter_form_news div .searchandfilter ul li {
	    width: 100% !important;
		margin-right: 0 !important;
		margin-left: 0 !important;
	}
	
	.search-filter_form_news div .searchandfilter ul li label {
		width: 100% !important;
	}
	
	.search-filter_form_news div .searchandfilter ul li:nth-child(1),
	.search-filter_form_news div .searchandfilter ul li:nth-child(2)
	{
	    width: 50% !important;
		display: inline-block;
	}
	
	.search-filter_form_news div .searchandfilter ul li:nth-child(2) {
		margin-right: 0 !important;
	}
	
	.sf-field-sort_order label select.sf-input-select {
  	width: inherit !important;
}

.sf-field-category label select.sf-input-select {
  width: inherit !important;
}
}

/* GRADIENT FILTER BUTTONS */
.searchandfilter > ul > li > label {
  position: relative;
  padding: 3px 16px 3px 3px !important;
}

.searchandfilter > ul > li:not(:last-child) > label::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 100px;
  padding: 2px;
  background: linear-gradient(45deg, #456ca3, #a1583e, #58755a, #bf9145);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none; /* Agregado para permitir clics a través del pseudo-elemento */
}

.searchandfilter > ul > li:last-child > label {
  border: 1px solid #b3b4b2; /* Agregado para aplicar el borde al último elemento */
  border-radius: 100px;
}

.searchandfilter > ul > li > label > input {
  border-width: 0 !important;
  box-shadow: none !important;
  font-family: 'Parabolica', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 25px;
  color: #8a8a8a;
}

.searchandfilter select.sf-input-select {
  font-family: 'Parabolica', sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 22px;
  color: #1f1f21;
  border-width: 0 !important;
  box-shadow: none !important;
  cursor: pointer;
}

.searchandfilter > ul > li {
  display: inline-block !important;
  padding: 20px 20px 0px 0px !important;
}
.searchandfilter > ul > li > label > select {
  border-radius: 100px !important;
  min-width: 50px !important;
}
.searchandfilter > ul > li > label > input {
  border-radius: 100px !important;
  border-color: #b3b4b2 !important;
}

.sf-field-sort_order label select.sf-input-select {
  width: 100px;
}

.sf-field-category label select.sf-input-select {
  width: 125px;
}

@media (max-width: 789px) {
  .searchandfilter > ul {
    display: flex !important;
    flex-wrap: wrap;
  }

  .searchandfilter > ul > li {
    flex: 1 1 50%;
  }

  .searchandfilter > ul > li:nth-child(3) {
    flex: 1 1 100%;
  }

  .searchandfilter > ul > li:last-child > label {
    width: 100%;
  }
}

/* SLIDER EXPERTS */
.slider-experts {
  width: 100vw !important;
  max-width: none !important;
  margin-left: -30px;
}

@media (min-width: 790px) {
  .slider-experts
    .elementor-widget-container
    .swiper
    .swiper-wrapper
    .e-loop-item {
    width: 360px !important;
  }
}

@media (max-width: 789px) {
  .page-id-423 .detail-expert {
    width: 300px !important;
  }
}

.slider-experts.elementor-element
  :is(.swiper, .swiper-container)
  ~ .elementor-swiper-button-prev {
  top: 30.8rem !important;
  left: 59.5rem !important;
}

.slider-experts.elementor-element
  :is(.swiper, .swiper-container)
  ~ .elementor-swiper-button-next {
  top: 30.8rem !important;
  left: 62.6rem;
  margin: 0 !important;
}

@media (max-width: 1180px) {
  .slider-experts.elementor-element
    :is(.swiper, .swiper-container)
    ~ .elementor-swiper-button-prev {
    left: 82% !important;
  }

  .slider-experts.elementor-element
    :is(.swiper, .swiper-container)
    ~ .elementor-swiper-button-next {
    left: 87%;
  }
}

@media (max-width: 921px) {
  .slider-experts.elementor-element
    :is(.swiper, .swiper-container)
    ~ .elementor-swiper-button-prev {
    top: 26.2rem !important;
    left: 79% !important;
  }

  .slider-experts.elementor-element
    :is(.swiper, .swiper-container)
    ~ .elementor-swiper-button-next {
    top: 26.2rem !important;
    left: 86%;
  }
}

@media (max-width: 670px) {
  .slider-experts {
    width: 105vw !important;
  }
  .slider-experts.elementor-element
    :is(.swiper, .swiper-container)
    ~ .elementor-swiper-button-prev {
    top: 25rem !important;
    left: 73% !important;
  }

  .slider-experts.elementor-element
    :is(.swiper, .swiper-container)
    ~ .elementor-swiper-button-next {
    top: 26.2rem !important;
    left: 82%;
  }
}

@media (max-width: 490px) {
  .slider-experts.elementor-element
    :is(.swiper, .swiper-container)
    ~ .elementor-swiper-button-prev {
    top: 32.5rem !important;
    left: 69% !important;
  }

  .slider-experts.elementor-element
    :is(.swiper, .swiper-container)
    ~ .elementor-swiper-button-next {
    top: 32.5rem !important;
    left: 81%;
  }
}

@media (max-width: 350px) {
  .slider-experts.elementor-element
    :is(.swiper, .swiper-container)
    ~ .elementor-swiper-button-prev {
    top: 32.5rem !important;
    left: 67% !important;
  }

  .slider-experts.elementor-element
    :is(.swiper, .swiper-container)
    ~ .elementor-swiper-button-next {
    top: 32.5rem !important;
    left: 83%;
  }
}

/* SLIDER NEWS HOME */
.ae-element-post-category span {
  padding: 3px 10px 3px 10px !important;
}

@media (max-width: 748px) {
    .post-item-news-excerpt div h6 {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        overflow: hidden;
        text-overflow: ellipsis;
        max-height: 4.5em; /* Ajusta este valor en función del `line-height` que uses */
        line-height: 1.5em; /* Ajusta esta línea de acuerdo al estilo de tu texto */
    }
}


/* SAFARI & FIREFOX */
@supports (-webkit-appearance: none) and (stroke-color: transparent) {
  .involved-button::before {
    /* Estilos específicos para Safari */
    top: -3px !important;
    left: -3px !important;
    right: -1px !important;
    bottom: -1px !important;
  }
}

@-moz-document url-prefix() {
  .involved-button::before {
    /* Estilos específicos para Firefox */
    right: 2px;
  }
}

/* SINGLE POST */
.ast-page-builder-template.single-post .site-content > .ast-container {
  display: block;
}

.post-tags ul li {
  color: #4d5057;
}

p.post-description {
  font-family: 'parabolica', Sans-serif;
  font-size: 24px;
  line-height: 28px;
}

.elementor-content-post p {
  font-family: 'parabolica', Sans-serif;
  font-size: 24px;
  line-height: 28px;
}

.card-stories-tags div ul li span a {
  padding: 4px 16px;
  border: 1px solid #d0d1cf;
  border-radius: 100px;
}

.post-contents {
	max-width: 1140px !important;
}

/* GENERAL */
a {
  text-decoration: none !important;
}

.swiper-slide a {
/*   display: inline-block !important; */
}

.repeater-tags div div div div div div div div div div div {
  color: #1f1f21 !important;
}

/* SLICK SLIDER */
.related-post-container {
  position: relative;
}

.all-posts-slider {
  margin-top: 50px;
  margin-bottom: 150px;
}

.post-item_slick {
  padding: 15px;
}

.post-thumbnail_slick img {
  width: 100%;
  height: 248px;
  border-radius: 10px;
}

.post-title_slick {
  margin-top: 0 !important;
}

.post-title_slick a {
  font-size: 28px !important;
  line-height: 33px !important;
  font-family: 'p22-mackinac-pro', sans-serif !important;
}

.post-categories_slick a {
  font-size: 10px !important;
  line-height: 18px !important;
  font-family: 'parabolica', sans-serif !important;
  text-transform: uppercase !important;
  border: 1px solid #d0d1cf !important;
  padding: 4px 16px !important;
  border-radius: 100px !important;
}

.slick-prev,
.slick-next {
  padding: 4px 10px !important;
  cursor: pointer;
}

.slick-prev {
  position: absolute;
  right: 58px;
  bottom: -85px;
}

.slick-next {
  position: absolute;
  right: 5px;
  bottom: -85px;
}

.slick-disabled span svg path,
.slick-disabled span svg path {
  fill: #8a8a8a !important; /* Color cuando están desactivadas */
}

.read-more-button {
  position: absolute;
  left: 5px;
  bottom: 110px;
  padding: 16px 32px;
  cursor: pointer;
  color: #1f1f21; /* Color del texto del botón */
  border: 2px solid #1f1f21; /* Sin borde */
  border-radius: 100px; /* Bordes redondeados */
  font-family: 'parabolica', sans-serif;
  font-size: 16px;
  line-height: 25px;
  font-weight: 700 !important;
  text-decoration: none; /* Sin subrayado */
  margin-left: 20px;
}

.read-more-button:hover {
  background-color: #1f1f21;
  color: white !important;
}

.slick-track {
  margin-left: inherit;
  margin-right: inherit;
}

/* EVENT TEMPLATE */

#tribe-events-pg-template {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0;
}

.event-website div div div a {
  width: 100% !important;
  display: block !important;
}

.event-website div div div a:hover {
  color: white !important;
}


/* EVENT TICKETS */
#tribe-block__attendees {  
  display: none !important;
} 

.tribe-common.event-tickets.tribe-tickets__tickets-wrapper {
  display: none !important;
}

.event-tickets-custom .tribe-common.event-tickets.tribe-tickets__tickets-wrapper {
  display: block !important;
}

.checkout-button {
  background: linear-gradient(270deg, #456CA3, #A1583E, #BF9145, #58755A, #456CA3);
  background-size: 800% 800%;
  animation: gradientAnimation 24s ease infinite;
}

@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}


.tec-events-elementor-event-widget__venue-name-link {
  pointer-events: none;
  cursor: default; 
  color: inherit; 
  display: none !important;
}

.checkout-button:focus {
  background-color: #456CA3 !important;
}

.event-tickets-custom {
  width: 420px;
}

.event-tickets .tribe-common-h4 {
  font-family: 'parabolica', sans-serif !important;
  font-size: 24px !important;
  line-height: 28px !important;
}

.event-tickets .tribe-tickets__tickets-item-quantity-add:hover,
.event-tickets .tribe-tickets__tickets-item-quantity-add:focus,
.event-tickets .tribe-tickets__tickets-item-quantity-remove:hover,
.event-tickets .tribe-tickets__tickets-item-quantity-remove:focus,
.entry
  .entry-content
  .event-tickets
  .tribe-tickets__tickets-item-quantity-add:hover,
.entry
  .entry-content
  .event-tickets
  .tribe-tickets__tickets-item-quantity-add:focus,
.entry
  .entry-content
  .event-tickets
  .tribe-tickets__tickets-item-quantity-remove:hover,
.entry
  .entry-content
  .event-tickets
  .tribe-tickets__tickets-item-quantity-remove:focus {
  border-radius: 0;
}

.event-tickets .tribe-tickets__commerce-checkout-cart-item-details-button--more,
.event-tickets .tribe-tickets__rsvp-actions-button-not-going,
.event-tickets .tribe-tickets__rsvp-form-button,
.event-tickets .tribe-tickets__tickets-item-quantity button {
  box-shadow: none !important;
}

.event-tickets
  .tribe-tickets__tickets-item.show-optout
  .tribe-tickets-attendees-list-optout--wrapper,
.entry
  .entry-content
  .event-tickets
  .tribe-tickets__tickets-item.show-optout
  .tribe-tickets-attendees-list-optout--wrapper {
  display: none !important;
}

.elementor-kit-8 button,
.elementor-kit-8 input[type='button'],
.elementor-kit-8 input[type='submit'],
.elementor-kit-8 .elementor-button {
  padding: 10px 20px;
}

.event-tickets .tribe-tickets__tickets-item-quantity-add,
.event-tickets .tribe-tickets__tickets-item-quantity-remove,
.entry .entry-content .event-tickets .tribe-tickets__tickets-item-quantity-add,
.entry
  .entry-content
  .event-tickets
  .tribe-tickets__tickets-item-quantity-remove {
  width: auto !important;
}

.event-tickets .tribe-tickets__tickets-footer,
.entry .entry-content .event-tickets .tribe-tickets__tickets-footer {
  display: block !important;
}

.event-tickets
  .tribe-tickets__attendee__fields__footer_checkout-button.tribe-common-c-btn:disabled,
.event-tickets .tribe-tickets__tickets-buy.tribe-common-c-btn:disabled,
.entry
  .entry-content
  .event-tickets
  .tribe-tickets__attendee__fields__footer_checkout-button.tribe-common-c-btn:disabled,
.entry
  .entry-content
  .event-tickets
  .tribe-tickets__tickets-buy.tribe-common-c-btn:disabled {
  margin-top: 20px !important;
  width: 100%;
  margin-left: 0;
  border-radius: 100px;
}

@media (min-width: 500px) {
  .event-tickets
    .tribe-tickets__attendee__fields__footer_checkout-button.tribe-common-c-btn,
  .event-tickets .tribe-tickets__tickets-buy.tribe-common-c-btn,
  .entry
    .entry-content
    .event-tickets
    .tribe-tickets__attendee__fields__footer_checkout-button.tribe-common-c-btn,
  .entry
    .entry-content
    .event-tickets
    .tribe-tickets__tickets-buy.tribe-common-c-btn {
    margin-top: 20px !important;
    margin-left: 0 !important;
    width: 100%;
    border-radius: 100px;
  }
}

.tec-events-elementor-event-widget__tags-links span {
  display: none !important;
}

.entry .entry-content .event-tickets .tribe-tickets__tickets-item,
.event-tickets .tribe-tickets__tickets-item,
.entry .entry-content .event-tickets .tribe-tickets__tickets-footer,
.event-tickets .tribe-tickets__tickets-footer {
  border: none !important;
}

.tribe-formatted-currency-wrap.tribe-currency-postfix {
  font-family: 'parabolica', sans-serif !important;
  font-size: 24px !important;
  line-height: 28px !important;
  font-weight: 700 !important;
}

.entry .entry-content .event-tickets .tribe-tickets__tickets-item-extra,
.event-tickets .tribe-tickets__tickets-item-extra {
  text-align: left !important;
}

@media (min-width: 768px) {
  .event-tickets .tribe-common-h6--min-medium {
    font-family: 'parabolica', sans-serif !important;
    font-size: 24px !important;
    line-height: 28px !important;
    padding-top: 10px !important;
  }
}

.event-tickets .tribe-tickets__tickets-form,
.entry .entry-content .event-tickets .tribe-tickets__tickets-form {
  margin: 0 !important;
  border: none !important;
}

.checkout-button {
  margin-right: 2px !important;
  position: relative !important;
  padding: 11px 25px !important;
  border-radius: 100px !important;
  overflow: hidden !important;
  background: linear-gradient(to left, #456ca3, #a1583e, #bf9145, #58755a);
  background-size: 1300% !important; /* Tamaño inicial del gradiente */
  animation: slideGradientCheckout 12s linear infinite !important; /* Animación infinita del gradiente */
  transition: background-color 3s;
  border: none !important; /* Borde transparente */
}

@keyframes slideGradientCheckout {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

.checkout-button span {
  font-weight: 700 !important;
  position: relative !important;
  color: #ffffff !important; /* Color de texto predeterminado */
  font-size: 14px !important;
  line-height: 22px !important;
}

.checkout-button::before {
  content: '' !important;
  position: absolute !important;
  top: -2px !important;
  left: -2px !important;
  right: -2px !important;
  bottom: -2px !important;
  background: linear-gradient(90deg, #456ca3, #a1583e, #bf9145, #58755a);
  z-index: -1 !important;
  border-radius: 100px !important;
  background-size: 1300% !important; /* Asegúrate de que el ::before también tenga el tamaño correcto del gradiente */
  animation: slideGradientCheckout 50s linear infinite !important; /* Aplica la animación al ::before también */
}

.checkout-button:hover::before {
  background-position: 1300% 50% !important; /* Mueve el gradiente */
}

.checkout-button:hover {
  border-color: transparent !important; /* Cambia el borde a transparente */
  background: white !important;
  margin-left: 1px !important;
}

.checkout-button:hover::after {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  border-radius: 100px !important;
  border: 1px solid transparent !important; /* Borde transparente inicial */
  background: linear-gradient(90deg, #456ca3, #a1583e, #bf9145, #58755a);
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 1 !important;
  pointer-events: none;
}

.checkout-button:hover span {
  color: transparent !important; /* Oculta el color del texto */
  background-image: linear-gradient(
    90deg,
    #456ca3,
    #a1583e,
    #bf9145,
    #58755a
  ) !important;
  -webkit-background-clip: text !important; /* Aplica el gradiente solo al texto */
  background-clip: text !important; /* Aplica el gradiente solo al texto */
}

.checkout-button .fa-angle-left {
  margin-right: 25px !important; /* Ajusta el espacio entre el icono y el texto */
  font-size: 14px !important; /* Asegúrate de que el tamaño del icono coincida con el texto */
  vertical-align: middle !important; /* Alinea el icono verticalmente con el texto */
}

/* MODAL TICKETS */
#tribe-modal__cart {
  margin-top: 20px !important;
}

.tribe-tickets__tickets-item-content-title-container {
  /* margin-left: -35px !important;
  margin-top: -13px !important; */
}

.event-tickets
  .tribe-dialog__wrapper.tribe-modal__wrapper--ar
  .tribe-tickets__attendee-tickets-item-remove,
.entry
  .entry-content
  .event-tickets
  .tribe-dialog__wrapper.tribe-modal__wrapper--ar
  .tribe-tickets__attendee-tickets-item-remove {
  padding: 7px 14px !important;
  margin-top: 0 !important;
  margin-bottom: 15px !important;
  color: #1f1f21 !important;
}

.event-tickets
  .tribe-dialog__wrapper.tribe-modal__wrapper--ar
  .tribe-tickets__attendee-tickets-item-remove:hover {
  color: white !important;
}

.tribe-tickets__attendee-tickets-footer-checkout-button {
  font-family: 'parabolica', sans-serif !important;
  font-size: 16px !important;
  line-height: 25px !important;
  background-color: transparent !important;
}

.tribe-tickets__attendee-tickets-footer-checkout-button:hover {
  background-color: #1f1f21 !important;
}

.tribe-tickets__tickets-item-quantity-remove {
  color: #1f1f21 !important;
  background-color: #f2f2f2 !important;
  border-radius: 8px !important;
  padding: 5px 17px !important;
}

.tribe-tickets__tickets-item-quantity-add {
  color: white !important;
  background-color: #1f1f21 !important;
  border-radius: 8px !important;
  padding: 4px 13px !important;
}

.tribe-tickets__tickets-item-quantity-remove:hover,
.tribe-tickets__tickets-item-quantity-add:hover {
  border-radius: 8px !important;
}

.tribe-dialog__title,
.tribe-tickets__tickets-item-remove-wrap,
.tribe-common-b2.tribe-tickets__tickets-item-total-wrap,
.tribe-ticket__tickets-heading {
  display: none !important;
}

@media screen and (min-width: 768px) {
  .tribe-common .tribe-dialog__close-button {
    padding: 13px !important;
    background-size: inherit !important;
    background-position: center !important;
  }
}

.page-id-2212 h1.entry-title,
.page-id-2212 .tribe-tickets__commerce-checkout-cart-header-title {
  display: none;
}

.tribe-tickets__commerce-checkout-header-title {
  font-family: 'p22-mackinac-pro', Sans-serif !important;
}

.tribe-tickets__commerce-checkout-form-submit-button {
  border-radius: 100px !important;
  background-color: white !important;
  color: #1f1f21 !important;
  border: 1px solid #1f1f21 !important;
  font-family: 'parabolica', sans-serif !important;
  font-size: 16px !important;
  line-height: 25px !important;
}

.tribe-tickets__commerce-checkout-form-submit-button:hover {
  background-color: #1f1f21 !important;
  color: white !important;
}

/* CARD EVENTS */
.hide-category div span:not(:first-child) {
    display: none;
}

/* Estilos para la página .page-id-1663 */
.page-id-1663 .cat_past {
  filter: grayscale(100%) !important;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
  linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%) !important;
  border-radius: 10px !important;
}

/* Pseudo-elemento para el overlay en .page-id-1663 */
.page-id-1663 .cat_gaudi-events::before,
.page-id-1663 .cat_gaudi-architecture::before,
.page-id-1663 .cat_gaudi-inspired-consultancy::before,
.page-id-1663 .cat_gaudi-institute-design::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  cursor: pointer;
  pointer-events: none;
}

/* Estilos específicos de cada overlay en .page-id-1663 */
.page-id-1663 .cat_gaudi-events::before {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.4) 0%, rgba(161, 88, 62, 0.5) 60%, rgba(161, 88, 62, 0.8) 130%);
}

.page-id-1663 .cat_gaudi-architecture::before {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.4) 0%, rgba(191, 145, 69, 0.5) 60%, rgba(191, 145, 69, 0.8) 130%);
}

.page-id-1663 .cat_gaudi-inspired-consultancy::before {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.4) 0%, rgba(191, 145, 69, 0.5) 60%, rgba(191, 145, 69, 0.8) 130%);
}

.page-id-1663 .cat_gaudi-institute-design::before {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.4) 0%, rgba(69, 108, 163, 0.5) 60%, rgba(69, 108, 163, 0.8) 130%);
}

/* Hover para mostrar el overlay en .page-id-1663 */
.page-id-1663 .cat_gaudi-events:hover::before,
.page-id-1663 .cat_gaudi-architecture:hover::before,
.page-id-1663 .cat_gaudi-inspired-consultancy:hover::before,
.page-id-1663 .cat_gaudi-institute-design:hover::before {
  opacity: 1;
}

/* Desactivar hover en dispositivos móviles para .page-id-1663 */
@media (max-width: 768px) {
  .page-id-1663 .cat_gaudi-events::before,
  .page-id-1663 .cat_gaudi-architecture::before,
  .page-id-1663 .cat_gaudi-inspired-consultancy::before,
  .page-id-1663 .cat_gaudi-institute-design::before {
    opacity: 0 !important;
  }
}

/* Estilos para la página .page-id-14 */
.page-id-14 .cat_past {
  filter: grayscale(100%) !important;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
  linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%) !important;
  border-radius: 10px !important;
}

/* Pseudo-elemento para el overlay en .page-id-14 */
.page-id-14 .cat_gaudi-events::before,
.page-id-14 .cat_gaudi-architecture::before,
.page-id-14 .cat_gaudi-inspired-consultancy::before,
.page-id-14 .cat_gaudi-institute-design::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  cursor: pointer;
  pointer-events: none;
}

/* Estilos específicos de cada overlay en .page-id-14 */
.page-id-14 .cat_gaudi-events::before {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.4) 0%, rgba(161, 88, 62, 0.5) 60%, rgba(161, 88, 62, 0.8) 130%);
}

.page-id-14 .cat_gaudi-architecture::before {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.4) 0%, rgba(191, 145, 69, 0.5) 60%, rgba(191, 145, 69, 0.8) 130%);
}

.page-id-14 .cat_gaudi-inspired-consultancy::before {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.4) 0%, rgba(191, 145, 69, 0.5) 60%, rgba(191, 145, 69, 0.8) 130%);
}

.page-id-14 .cat_gaudi-institute-design::before {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.4) 0%, rgba(69, 108, 163, 0.5) 60%, rgba(69, 108, 163, 0.8) 130%);
}

/* Hover para mostrar el overlay en .page-id-14 */
.page-id-14 .cat_gaudi-events:hover::before,
.page-id-14 .cat_gaudi-architecture:hover::before,
.page-id-14 .cat_gaudi-inspired-consultancy:hover::before,
.page-id-14 .cat_gaudi-institute-design:hover::before {
  opacity: 1;
}

/* Desactivar hover en dispositivos móviles para .page-id-14 */
@media (max-width: 768px) {
  .page-id-14 .cat_gaudi-events::before,
  .page-id-14 .cat_gaudi-architecture::before,
  .page-id-14 .cat_gaudi-inspired-consultancy::before,
  .page-id-14 .cat_gaudi-institute-design::before {
    opacity: 0 !important;
  }
}

/* Estilos para la página .page-id-1588 */
.page-id-1588 .cat_past {
  filter: grayscale(100%) !important;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
  linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%) !important;
  border-radius: 10px !important;
}

/* Pseudo-elemento para el overlay en .page-id-1588 */
.page-id-1588 .cat_gaudi-events::before,
.page-id-1588 .cat_gaudi-architecture::before,
.page-id-1588 .cat_gaudi-inspired-consultancy::before,
.page-id-1588 .cat_gaudi-institute-design::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  cursor: pointer;
  pointer-events: none;
}

/* Estilos específicos de cada overlay en .page-id-1588 */
.page-id-1588 .cat_gaudi-events::before {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.4) 0%, rgba(161, 88, 62, 0.5) 60%, rgba(161, 88, 62, 0.8) 130%);
}

.page-id-1588 .cat_gaudi-architecture::before {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.4) 0%, rgba(191, 145, 69, 0.5) 60%, rgba(191, 145, 69, 0.8) 130%);
}

.page-id-1588 .cat_gaudi-inspired-consultancy::before {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.4) 0%, rgba(191, 145, 69, 0.5) 60%, rgba(191, 145, 69, 0.8) 130%);
}

.page-id-1588 .cat_gaudi-institute-design::before {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.4) 0%, rgba(69, 108, 163, 0.5) 60%, rgba(69, 108, 163, 0.8) 130%);
}

/* Hover para mostrar el overlay en .page-id-1588 */
.page-id-1588 .cat_gaudi-events:hover::before,
.page-id-1588 .cat_gaudi-architecture:hover::before,
.page-id-1588 .cat_gaudi-inspired-consultancy:hover::before,
.page-id-1588 .cat_gaudi-institute-design:hover::before {
  opacity: 1;
}

/* Desactivar hover en dispositivos móviles para .page-id-1588 */
@media (max-width: 768px) {
  .page-id-1588 .cat_gaudi-events::before,
  .page-id-1588 .cat_gaudi-architecture::before,
  .page-id-1588 .cat_gaudi-inspired-consultancy::before,
  .page-id-1588 .cat_gaudi-institute-design::before {
    opacity: 0 !important;
  }
}


/* CARD ITEM NEWS */
.card-item_news:hover .card-item_news_image {
	box-shadow: 0px 4px 250px 0px #00000099 inset;

}


/* EXPERTS */

a.elementor-post-info__terms-list-item:hover {
  font-size: 1.05em !important;
}

/* ARCHIVE */
.detail-expert.type-detail-expert .ast-article-inner {
  background-color: #f7f4ed !important;
}

.type-detail-expert .ast-article-inner .post-content .entry-title a {
  font-family: 'p22-mackinac-pro', Sans-serif !important;
  font-size: 28px !important;
  line-height: 33px !important;
  margin: 0 !important;
}

.type-detail-expert
  .ast-article-inner
  .post-content
  .ast-blog-featured-section {
  margin-bottom: 0 !important;
}

.type-detail-expert .ast-article-inner .post-content .entry-title {
  margin: 0 !important;
}

/* CUSTOM WIDGET SPEAKERS */
.speakers {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  column-gap: 40px;
}

.speaker {
  width: 30.5%;
  margin-bottom: 60px; /* Space between cards */
}

.speaker:hover a .speaker-img {
	box-shadow: 0px 4px 250px 0px #00000099 inset;
	border-radius: 10px;
}

@media screen and (max-width: 768px) {
  .speaker {
  width: 100% !important;
}
}

.speaker a {
  display: block;
  color: inherit; /* Ensures the color is not affected by the link */
  text-decoration: none; /* Removes underline from the link */
}

.speaker-img {
  width: 100%;
  height: 296px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 10px;
}

.speaker h6 {
  padding-top: 24px;
  padding-bottom: 10px;
  margin: 0; /* Removes default margin */
}

.tiny-tag {
  font-size: 12px;
  padding: 4px; /* Ajusta el padding según sea necesario */
  color: #666; /* Ajusta el color según sea necesario */
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.page-numbers {
    display: inline-block;
    margin: 0 5px;
    padding: 10px 15px;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
}

.page-numbers.current {
    background-color: #0A0A0B;
    color: #fff !important;
	font-weight: bold !important;
    border-color: #B3B4B2;
}

.page-numbers:hover {
    background-color: #0A0A0B;
    color: #fff !important;
}

.page-numbers.first,
.page-numbers.prev,
.page-numbers.next,
.page-numbers.last {
    font-weight: bold !important;
}


/* VARIABLES CSS TICKETS PLUS */
:root {
  --tec-color-accent-primary: #456ca3 !important;
  --tec-color-accent-primary-hover: transparent !important;
  --tec-color-accent-primary-active: #456ca3 !important;
}

/* CONTACT */
.gform_validation_errors h2 {
	font-size: 24px !important;
}