body {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.hero {
  padding: 60px 0;
}

.hero .container {
  width: 95%;
  margin: 0 auto;
}

.hero .video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* Relación 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
}

.hero .video-container iframe,
.hero .video-container object,
.hero .video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero .media .data {
  border-left: 1px solid #ffffff;
  padding: 25px;
  margin: 30px 0;
}
.hero .media .data h2 {
  margin: 0;
  color: white;
  font-family: "DM Sans", sans-serif;
  font-weight: normal;
  font-size: 18px;
}

.hero .media .data h2 span {
  display: block;
  margin: 10px 0;
  font-family: "Exo", sans-serif;
  font-weight: bold;
  font-size: 24px;
}

.hero .container-overlay {
  position: relative;
  border-radius: 10px;
}

.hero .news {
  display: flex;
  flex-direction: column;
  gap: 60px;
  background-color: white;
  padding: 25px;
  border-radius: 10px;
  max-height: 600px;
  overflow-y: auto;
}

.hero .news .overlay {
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 150px;
  background: #ffffff;
  background: linear-gradient(
    0deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 1) 20%,
    rgba(237, 221, 83, 0) 100%
  );
  pointer-events: none;
  border-radius: 10px;
}

.hero .news > header {
  border-bottom: 2px solid #57cc99;
}

.hero .news > header h3 {
  font-family: "DM Sans", sans-serif;
  background-color: #57cc99;
  display: inline-block;
  padding: 7px 40px;
  color: white;
  text-transform: uppercase;
  margin: 0 0 25px 0;
font-weight: bold;
      font-size: 1.17em;
}

.hero .news article {
  border-radius: 10px;
}

.hero .news article:nth-of-type(1) {
  margin-top: -35px;
}
.hero .news article:nth-last-of-type(1) {
  margin-bottom: 60px;
}

.hero .news article header {
  min-height: 60px; /* Ajusta este valor según el diseño */
  max-height: 60px;
  display: flex;
  align-items: center; /* Centra verticalmente el h2 */
  margin-bottom: 25px;
}

.hero .news article header h2 {

  
    font-family: "Exo", sans-serif;
  font-size: 24px;
  line-height: 30px;
  margin: 0;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2; /* Máximo de 2 líneas */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;

  color:black;
  font-weight: bold;

}

.hero .news article img {
  width: 100%;
  height: auto;
}

.hero .news article .data {
  display: flex;
  flex-direction: column;
}

.hero .news article .body p {
  font-family: "DM Sans", sans-serif;
  margin: 25px 0;

  color:black;
}

.hero .news article .btn-link {
  font-family: "Exo", sans-serif;
  text-transform: uppercase;
  font-weight: bold;
  align-self: flex-start;
  margin-left: auto;
  margin-top: auto;
  text-decoration: none;
  color: white;
  background-color: #57cc99;
  padding: 12px 40px;
  border-radius: 10px;
  display: inline-block;
}

@media (min-width: 1024px) {
  .hero .container {
    display: flex;
    gap: 25px;
    flex-direction: row-reverse;
  }

  .hero .news {
    max-height: 480px;
    display: none;
  }

  .hero .media {
    flex: 3;
  }

  .hero .container-overlay {
    border-radius: 10px;
    background-color: white;
    flex: 2;
  }

  .hero .media .data {
    margin: 25px 0 0 0;
  }
}

.hero {
  padding:  25px 0 108.5px 0;
}

.news {
  padding:  25px 0 108.5px 0;
}
