html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.hero-section {
  position: relative;
  height: 100vh;
  background-image: url("../images/prensa/kv-prensa.webp");
  background-size: cover;
  background-position: center;
}

.hero-content {
  position: relative;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 30px;
  z-index: 1;

  /*opacity: 0.4;
background: var(--Dark-Slate, #364C67); */
}

.texto-cabecera {
  color: white;
  max-width: 750px;

}

.intro-cabecera {
  font-size: 20px;
  font-weight: 200;
}

.seccion-noticias {
  background-color: #364c67;
  padding: 4rem 0;
  /*color: white;*/
  /*border-top: 18px solid;
        border-image: linear-gradient(to right, blue, green) 1;*/
  font-size: 1.2rem;
}

.seccion-noticias h2 {
  font-size: 2.6rem;
}

.news-card {
  background-color: transparent;
  margin-bottom: 2rem;
  display: flex;
  align-items: center !important;
}

.news-card img {
  border-radius: 1rem;
  max-width: 100%;
}

.intro-noticia a {
  text-decoration: none;
  color: #364c67;
  font-size: 17px;
  font-weight: 200;
  line-height: 20px;
}
.active {
  z-index: -1 !important;
}
@media (max-width: 768px) {
  .btn-custom {
    max-width: 280px;
  }
  .intro-noticia a {
    font-size: 16px !important;
  }
  .hero-section {
    background-image: url("../images/prensa/kv-prensa-mob.webp") !important;
    height: 100vh !important;
  }
  .texto-cabecera {
    margin-top: -200px;
}
}

@media (min-width: 1200px) {
  .h1,
  h1 {
    font-size: 37px !important;
  }
}
