/* Banner CTA */
.banner-cta-chile-container {
  position: relative;
  display: grid;
  grid-template-areas: "one one one two two";
  grid-template-columns: repeat(5, 1fr);
  padding: 2rem;
  width: 100%;
  height: auto;
  background-image: url("../../img/index/cta-chile.webp");
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 1rem;
  box-shadow: 0 19px 35px rgba(106, 89, 47, 0.31);
  z-index: 1;
}

.banner-cta-chile-container::after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
    rgb(60, 74, 117, 0.7),
    rgb(3, 11, 48, 0.7)
  );
  border-radius: 1rem;
  z-index: 10;
}

.banner-cta-chile-container > :nth-child(1) {
  grid-area: one;
  z-index: 11;
}

.banner-cta-chile-container > :nth-child(2) {
  grid-area: two;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 11;
}

.banner-cta-chile-title {
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
}

.banner-cta-chile-title h2,
.banner-cta-chile-title strong {
  color: var(--white);
  font-size: 2.5rem;
  font-weight: 600;
}

.banner-cta-chile-title strong {
  color: var(--sexto);
}

.banner-cta-chile-button a {
  padding: 0.5rem 1rem;
  background-color: var(--cuarto);
  color: var(--white);
  text-decoration: none;
  border-radius: 0.375rem;
}

.banner-cta-chile-button a:hover {
  background-color: var(--white);
  color: var(--dark);
  text-decoration: underline;
}

@media (max-width: 992px) {
  .banner-cta-chile-container {
    display: grid;
    grid-template-areas: "one" "two";
    grid-template-columns: 1fr;
    justify-content: center;
    text-align: center;
    row-gap: 1rem;
  }

  .banner-cta-chile-title h2,
  .banner-cta-chile-title strong {
    font-size: 1.5rem;
  }
}
