/* === HOME HEADER === */
.home-sections .home-header picture,
.home-sections .home-header img {
  width: 100%;
  display: block;
  height: auto;
}

.home-sections .home-header {
  position: relative;
  overflow: hidden;
}

.home-sections .home-sections-content {
  margin: -30px auto;
}

.home-sections .btn-main {
  position: absolute;
  top: 280px;
  right: 12%;
  padding: 0px 20px 0px 10px !important;
}

/* === SLIDER === */
.home-sections .home-sections--slider {
  margin: 0;
  padding: 0;
}

.home-sections .home-sections--slider .slick-slide {
  padding: 0 10px;
  box-sizing: border-box;
}

.home-sections .card-article {
  position: relative;
  overflow: hidden;
  color: #fff;
}

.home-sections .card-article--figure {
  position: relative;
}

.home-sections .card-article--figure img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  display: block;
}

/* .home-sections .card-article h2 {
  top: 0;
  left: 0;
  right: inherit;
  bottom: inherit;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 2rem;
} */

/* === Textos === */
.home-sections .card-article .subtitle {
  font-size: 1rem;
  color: black;
}
.home-sections .card-article .home-sections-title:hover,
.home-sections .card-article .home-sections-title {
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 1.5rem;
  font-weight: 800;
  color:white !important;
  text-shadow: 1px 1px #333;
}

.home-sections .card-article a.boton-rojo {
  background: var(--color-primary);
  color: #fff;
  padding: 0.5rem 1rem;
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  text-transform: uppercase;
  font-weight: 600;
}

/* === Responsive === */
@media (max-width: 991px) {
  .home-sections .home-sections--slider {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .home-sections .card-article {
    width: 100%;
    margin: 0;
    padding: 0 2%;
  }

  .home-sections .card-article--figure img {
    height: 260px;
  }

  .home-sections .card-article .title {
    font-size: 1.3rem;
  }

  .home-sections .card-article .subtitle {
    font-size: 1.2rem;
    padding: 0 0 5% 0 !important;
  }

  .home-sections .slick-dots {
    bottom: -25px;
  }

  .home-sections .btn-main {
    top: 200px;
  }

  .home-sections .card-article .home-sections-title {
    top: 5px;
    left: 12%;
  }

  .home-sections .btn-main {
    right: 15%;
  }
}
