/* Post-hero sections: overrides so hero swiper rules stay intact */

#kapital-home-sections {
  position: relative;
  z-index: 1;
  background: var(--color-white, #fff);
}

#kapital-home-sections .ecosystem-swiper,
#kapital-home-sections .blog-swiper,
#kapital-home-sections .reconocimientos-swiper,
#kapital-home-sections .monitoring-mobile-swiper {
  overflow: hidden;
}

#kapital-home-sections .ecosystem-swiper .swiper-wrapper,
#kapital-home-sections .blog-swiper .swiper-wrapper,
#kapital-home-sections .reconocimientos-swiper .swiper-wrapper,
#kapital-home-sections .monitoring-mobile-swiper .swiper-wrapper {
  display: flex;
  transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1);
  will-change: transform;
}

#kapital-home-sections .ecosystem-swiper .swiper-slide {
  flex: 0 0 auto;
  width: 85vw;
  max-width: 1202px;
  height: 540px;
  min-height: 0;
  margin-right: 24px;
}

@media (min-width: 1280px) {
  #kapital-home-sections .ecosystem-swiper .swiper-slide {
    height: 640px;
  }
}

#kapital-home-sections .blog-swiper .swiper-slide {
  flex: 0 0 auto;
  width: 85vw;
  max-width: 342px;
  height: auto;
  min-height: 0;
  margin-right: 16px;
}

@media (min-width: 768px) {
  #kapital-home-sections .blog-swiper .swiper-slide {
    width: 793px;
    max-width: none;
    margin-right: 24px;
  }
}

#kapital-home-sections .reconocimientos-swiper .swiper-slide {
  flex: 0 0 auto;
  width: auto;
  height: auto;
  min-height: 0;
  margin-right: 24px;
}

#kapital-home-sections .monitoring-mobile-swiper .swiper-slide {
  flex: 0 0 100%;
  width: 100%;
  height: auto;
  min-height: 0;
}

#kapital-home-sections .ecosystem-prev.swiper-button-disabled,
#kapital-home-sections .ecosystem-next.swiper-button-disabled,
#kapital-home-sections .blog-prev.swiper-button-disabled,
#kapital-home-sections .blog-next.swiper-button-disabled,
#kapital-home-sections .reconocimientos-prev.swiper-button-disabled,
#kapital-home-sections .reconocimientos-next.swiper-button-disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

#kapital-home-sections [data-fade-in-y]:not(.show) > * {
  transform: translateY(60px);
  opacity: 0;
}

#kapital-home-sections [data-fade-in-y].show > * {
  transform: translateY(0);
  opacity: 1;
}

#kapital-home-sections [data-fade-in-y] > * {
  transition: transform 1s cubic-bezier(0.26, 0.1, 0, 1), opacity 1s cubic-bezier(0.19, 1, 0.22, 1);
}

#kapital-home-sections [data-fade-in]:not(.show) {
  opacity: 0;
}

#kapital-home-sections [data-fade-in].show {
  opacity: 1;
  transition: opacity 1s ease-in;
}

#kapital-home-sections .ecosystem-card.active .text-mobile-body-regular-emphasized,
#kapital-home-sections .ecosystem-card.active .text-mobile-heading-medium,
#kapital-home-sections .ecosystem-card.active .button-container,
#kapital-home-sections .ecosystem-card.active .text-mobile-body-regular-emphasized.show,
#kapital-home-sections .ecosystem-card.active .text-mobile-heading-medium.show,
#kapital-home-sections .ecosystem-card.active .button-container.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

#kapital-home-sections .ecosystem-card:not(.active) .text-mobile-body-regular-emphasized,
#kapital-home-sections .ecosystem-card:not(.active) .text-mobile-heading-medium,
#kapital-home-sections .ecosystem-card:not(.active) .button-container {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}

#kapital-home-sections .ecosystem-card .text-mobile-body-regular-emphasized,
#kapital-home-sections .ecosystem-card .text-mobile-heading-medium,
#kapital-home-sections .ecosystem-card .button-container {
  transition: opacity 1.5s cubic-bezier(0.19, 1, 0.22, 1), transform 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}

#kapital-home-sections .ecosystem-card:hover .btn-glass-bg {
  background-color: color-mix(in srgb, var(--btn-glass) 75%, transparent);
}

#kapital-home-sections .partners-marquee {
  will-change: transform;
}

#kapital-home-sections .footer-accordion summary::-webkit-details-marker {
  display: none;
}
