/*** Hero Page Generator ***/
#pagegen-hero .carousel-item {
    position: relative;
    height: 450px;
  }
  
  #pagegen-hero .carousel-item::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));
  }
  
  #pagegen-hero .carousel-item img {
    width: auto;
    height: 100%;
    object-fit: cover;
  }
  
  #pagegen-hero .carousel-item::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
  }
  
  #pagegen-hero .carousel-caption {
    height: 100%;
    display: flex;
    justify-content: start;
    align-items: end;
    margin-bottom: 3rem;
    z-index: 1;
  }
  
  .hero-pagegen {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    max-width: 600px;
    text-align: start;
  }
  
  .hero-pagegen h1 {
    font-size: 1rem;
    margin-block: .5rem;
  }
  
  .hero-pagegen span {
    font-size: 1rem;
  }
  
  .hero-pagegen p {
    margin-bottom: 2rem;
    font-size: 1.25rem;
  }
  
  .hero-pagegen-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
  }
  
  .hero-pagegen-cta a {
    display: block;
    padding: 1rem 2rem;
    max-width: 300px;
    text-align: center;
    background-color: var(--primario);
    color: var(--white);
    text-decoration: none;
    border-radius: 0.5rem;
  }
  
  .hero-pagegen-cta a:nth-child(2) {
    background-color: var(--cuarto);
  }
  
  .hero-pagegen-cta a:hover {
    background-color: var(--white);
    color: var(--dark);
    text-decoration: underline;
  }
  
  @media (max-width: 768px) {
    #pagegen-hero .carousel-item {
      min-height: 50vh;
    }
  
    #pagegen-hero .carousel-item img {
      min-height: 35vh;
      object-fit: cover;
    }
  
    .hero-pagegen {
      justify-content: center;
      align-items: center;
      text-align: center;
    }
    .hero-pagegen span {
      font-size: 0.875rem;
    }
  
    .hero-pagegen h1 {
      font-size: 1rem;
    }
  
    .hero-pagegen p {
      font-size: 0.875rem;
    }
  
    .hero-pagegen-cta a {
      width: 100% !important;
      font-size: 0.875rem;
    }
  }