/*  
	Theme Name: Artsurfcamp 
	Version: 1.0 2025
    Sección: Experiencias
	Author: hctr
*/

.expe,
.expe--adole {
  width: 100%;
  border-top: 0.5px solid var(--color--secundario);
}

.expe__container {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.expe__header {
  width: 100%;
  padding: 4.5rem 2.2rem 4.1rem 2.2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 15%;
}

.expe__header h2 {
  font-size: var(--size--22);
  font-weight: normal;
  line-height: 1;
  color: var(--color--secundario);
  text-transform: uppercase;
}

.expe__header p {
  font-size: var(--size--15);
  line-height: 1.2;
  color: var(--color--secundario);
}

.expe__contenido {
  align-items: stretch;
}

.expe__card {
  padding: 0 1.9rem 3rem 1.9rem;
  aspect-ratio: 360 / 480;
  overflow: hidden;
  display: flex !important;
  align-items: flex-end;
  position: relative;
}

.expe__info {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  pointer-events: none;
}

.expe__texto {
  width: 100%;
  max-height: 0;
  overflow: hidden;
  padding: 0 2.4rem 0 2.4rem;
  background: linear-gradient(
    to top,
    rgba(234, 95, 52, 1) 0%,
    rgba(234, 95, 52, 0) 100%
  );
  transition:
    max-height 0.4s ease-in-out,
    padding 0.4s ease-in-out;
}

.expe__card:hover .expe__texto {
  max-height: 999rem;
  padding: 2.4rem 2.4rem 6.5rem 2.4rem;
}

.expe__texto p {
  font-size: var(--size--13);
  line-height: 1.2;
  text-align: justify;
  hyphens: auto;
  color: var(--color--terciario);
}

.expe__control {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
}

.expe__control button {
  appearance: none;
  border: none;
  width: 26px;
  min-width: 26px;
  min-height: 26px;
  padding: 0.7rem 0.7rem 0.5rem 0.7rem;
  background-color: var(--color--secundario);
  cursor: pointer;
  transition:
    background-color 0.2s ease-out,
    opacity 0.2s ease-out;
}

.expe__play {
  background-image: url("../img/play-blanco.svg");
  background-size: 6px 9px;
  background-repeat: no-repeat;
  background-position: center;
}

.expe__play--pause {
  background-image: url("../img/pause-blanco.svg");
}

.expe__volumen {
  background-image: url("../img/volumen-blanco.svg");
  background-size: 15px 15px;
  background-repeat: no-repeat;
  background-position: center;
}

.expe__volumen--mute {
  background-image: url("../img/volumen-mute-blanco.svg");
}

.expe__control h3 {
  flex: auto;
  background-color: var(--color--secundario);
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0 1rem;
}

.expe__control h3 span {
  color: var(--color--terciario);
  font-size: var(--size--13);
  text-transform: uppercase;
}

.expe__card video {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.expe__card video[poster] {
  object-fit: cover;
  object-position: center;
}

.expe__card video source {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.expe__nav {
  width: 100%;
  padding: 2.7rem 2.2rem 2.7rem 2.2rem;
  border-top: 0.5px solid var(--color--secundario);
}

.expe__navContainer {
  width: 100%;
  padding: 0.7rem 0.7rem 0.5rem 0.7rem;
  background-color: var(--color--secundario);
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
}

.expe__navContainer .swiper-button-next,
.expe__navContainer .swiper-button-prev {
  position: relative;
  top: inherit !important;
  bottom: inherit !important;
  left: inherit !important;
  right: inherit !important;
  width: 25px !important;
  height: auto !important;
  aspect-ratio: 19 / 11;
  margin: 0 !important;
}

.expe__navContainer .swiper-button-next::after {
  content: "";
  width: 25px;
  aspect-ratio: 19 / 11;
  background: url("../img/flecha-blanco.svg");
  background-size: contain;
  background-repeat: no-repeat;
  overflow: hidden;
}

.expe__navContainer .swiper-button-prev::after {
  content: "";
  width: 25px;
  aspect-ratio: 19 / 11;
  background: url("../img/flecha-blanco.svg");
  background-size: contain;
  background-repeat: no-repeat;
  overflow: hidden;
  transform: rotate(-180deg);
}

@media (max-width: 799px) {
  .expe__header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
  }
  .expe__card:hover .expe__texto {
    padding: 2.4rem 2.4rem 10rem 2.4rem;
  }
}

/* Swiper transitions for smooth carousel animation */
.expe .swiper-wrapper {
  transition: transform 0.3s ease-out !important;
}

.expe .swiper-slide {
  transition: opacity 0.3s ease-out !important;
}

@media (max-width: 639px) {
}
