.cc--hero-angle {
  position: relative;
  padding-top: 1.5rem;
  --hero-angle-decoration-color: #CC0033;
  --hero-angle-overlay-left-padding: 40px;
  --hero-angle-overlay-top-padding: 40px;
}
@media screen and (min-width: 1024px) {
  .cc--hero-angle {
    padding-top: 0;
    --hero-angle-overlay-left-padding: 95px;
    --hero-angle-overlay-top-padding: 125px;
  }
}
.cc--hero-angle.decoration-color-blue {
  --hero-angle-decoration-color: #007FAC;
}
.hero-angle-card {
  position: relative;
  overflow: hidden;
}
.hero-angle-card .media {
  position: relative;
}
.c--hero-angle img {
  height: 600px;
  max-height: 700px;
  object-fit: cover;
  object-position: center;
  width: 100%;
}
.c--hero-angle img {
  height: 600px;
  max-height: 700px;
  object-fit: cover;
  object-position: center;
  width: 100%;
}
@media screen and (min-width: 768px) {
  .c--hero-angle img, .c--hero-angle {
    height: auto;
  }
}
.hero-angle-card .media::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55));
}
.cc--hero-angle .overlay {
  z-index: 9;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  color: white;
  display: flex
;
  flex-direction: column;
  justify-content: center;
}
.cc--hero-angle .overlay-content {
  padding: var(--hero-angle-overlay-top-padding) var(--hero-angle-overlay-left-padding);
}
@media screen and (min-width: 1024px) {
  .cc--hero-angle .overlay-content {
    max-width: 66%;
  }
}
@media screen and (min-width: 1280px) {
  .cc--hero-angle .overlay-content {
    max-width: 50%;
  }
}
@media screen and (min-width: 768px) {
  .hero-angle-card .f--page-title h1, .cloned-overlay .overlay-content .f--page-title h1 {
    font-size: 5rem;
    line-height: 1.1;
  }
}
@media screen and (min-width: 1024px) {
  .hero-angle-card .f--page-title h1, .cloned-overlay .overlay-content .f--page-title h1 {
    font-size: 6rem;
    line-height: 1.0834;
  }
}
.hero-angle-decoration {
  z-index: 2;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  background-color: #6E368C;
  clip-path: polygon(0 97%, 100% 85%, 100% 100%, 0% 100%);
}
.hero-angle-decoration {
  bottom: -1px;
}
.hero-angle-decoration::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  background-color: white;
  clip-path: polygon(0 98%, 100% 90%, 100% 100%, 0% 100%);
}
.cc--hero-angle h1 {
  color: white;
  font-size: 36px;
  line-height: 44px;
}

/* ESTILOS PARA EL BANNER QUE SE UTILIZA EN LAS PÁGINAS SECUNDARIAS */
#banner_vistas {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  max-height: 500px;
}

#banner_vistas .banner-image {
  width: 100%;
  height: 100%; /* Asegura que la imagen ocupe el 100% del alto del contenedor */
  object-fit: cover; /* Asegura que la imagen cubra el área sin distorsionarse */
}

#banner_vistas .region {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

#banner_vistas .banner-content {
  background: rgba(255, 255, 255, 0.7); /* Fondo blanco semi-transparente */
  padding: 2rem;
  z-index: 1;
  width: 100%;
  margin-bottom: 0; /* Asegura que la cinta esté en la parte inferior */
}

#banner_vistas .banner-title {
  font-size: 3.5rem;
  transform: scale(0.9, 1.0);
  transform-origin: left center;
  color: #000;
}

#banner_vistas p {
  color: #000;
}


@media (max-width: 991px) {
  #banner_vistas {
    max-height: none;
  }

  #banner_vistas .region {
    position: relative; /* Elimina la posición absoluta */
    display: block; /* Cambia la dirección del flex a bloque */
    text-align: center; /* Centra el contenido */
  }

  #banner_vistas .banner-content {
    background: transparent; /* Desaparece la cinta blanca */
    margin-top: 20px; /* Asegura que el contenido esté debajo de la imagen */
    padding: 1rem; /* Ajuste de padding para dispositivos pequeños */
  }

  #banner_vistas .banner-image {
    height: auto;
    min-height: 300px; /* Asegura que la imagen tenga un tamaño mínimo */
  }

  #banner_vistas .banner-title {
    font-size: 2.5rem; /* Ajusta el tamaño del texto en dispositivos pequeños */
  }
}
