.hero-slider .carousel-item {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  display: flex !important;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 64px;
  height: 632px;
  color: white;
  cursor: pointer;
  background-color: var(--color-bg-4);
}

.hero-container.full-width .hero-slider .carousel-item .container-1 {
  margin: 0 auto;
}
.hero-container.full-width .hero-slider .carousel-item,
.carousel-item,
.hero-container.full-width .slick-slide,
.hero-container.full-width .slick-slide > div,
.hero-container.full-width .slick-list {
  border-radius: 0;
}

.bottom .carousel-item {
  justify-content: flex-end;
}

.hero-slider .carousel-item .container-1 {
  display: flex;
  flex-direction: column;
  gap: 48px;
  z-index: 2;
  width: 70%;
}
.hero-slider .carousel-item .breadcrumbs-container,
.hero-container-half .breadcrumbs-container {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
}

.hero-slider .carousel-item .svg-concello {
  position: absolute;
  top: 32px;
  right: 32px;
  width: 120px;
  height: 120px;
  z-index: 10;
  transition: all 0.4s ease-in-out;
}
.hero-slider .carousel-item .svg-concello img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.hero-slider .carousel-item .carousel-content .card-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.hero-slider:hover .overlay,
.hero-slider:hover .overlay {
  background: linear-gradient(
    to bottom,
    rgba(16, 16, 18, 0.4) 60%,
    rgba(16, 16, 18, 0.8) 100%
  );
}
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(16, 16, 18, 0.1) 0%,
    rgba(16, 16, 18, 0.1) 40%,
    rgba(16, 16, 18, 0.4) 60%,
    rgba(16, 16, 18, 0.8) 100%
  );
  z-index: 1;
  transition: all 0.4s ease-in-out;
}

.hero-slider .carousel .carousel-item .container-1 {
  display: flex;
  flex-direction: column;
  gap: 48px;
  z-index: 2;
  margin-bottom: 45px;
  width: 70%;
}

.hero-slider .carousel .carousel-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 48px;
}
.hero-slider .carousel .carousel-item {
  height: 100%;
}

.hero-slider .carousel-img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-slider .carousel-content .tag {
  background-color: var(--color-bg-6);
  color: white;
  border-radius: 50px;
  backdrop-filter: blur(10px);
}

.center .carousel .carousel-content .card-content {
  align-items: center;
  text-align: center;
}
.center .carousel .carousel-item .container-1 {
  align-items: center;
  align-self: center;
}

@media (max-width: 1024px) {
  .carousel .carousel-item {
    padding: 32px;
    height: 560px;
    width: 100%;
  }

  .hero-container .carousel .carousel-item {
    justify-content: flex-end;
  }

  .hero-container.center .carousel .carousel-item {
    justify-content: center;
  }

  .carousel .carousel-item .container-1 {
    width: 100%;
  }

  .hero-container-half .carousel-item {
    height: 100%;
  }

  .hero-slider .carousel-item .container-1 {
    gap: 32px;
  }
  .hero-slider .carousel-item .carousel-content .card-content {
    gap: 8px;
    width: 100%;
  }
  .hero-slider .carousel-item .svg-concello {
    top: initial;
    bottom: 16px;
    right: 16px;
  }
}
.hero-container-half .carousel,
.hero-container-half .slick-list,
.hero-container-half .slick-track,
.hero-container-half .slick-slide,
.hero-container-half .slick-slide > * {
  height: 100%;
}

.hero-slider .carousel-item.has-image {
  background-color: var(--color-bg-5);
}

.hero-slider .carousel-item.has-image img,
.hero-slider .carousel-item.has-image .overlay {
  display: none;
}

.hero-container.solid .hero-slider .carousel-item {
  color: var(color-text-1);
}
