.lastNews {
  margin-bottom: 40px;
}
.lastNews .listNews {
  margin-bottom: 40px;
}
@media (max-width: 768px) {
  .lastNews .listNews {
    flex-direction: column !important;
  }
}
.lastNews .listNews .d-flex-column {
  gap: 24px;
}
.lastNews .cardNoticias {
  max-width: 458px;
  width: 100%;
}
@media (max-width: 768px) {
  .lastNews .cardNoticias {
    border-bottom: solid 0.5px #8CC63F;
    padding-bottom: 10px;
    max-width: 100%;
  }
}
.lastNews .cardNoticias img {
  border-radius: 8px;
  max-width: 100%;
  width: 100%;
}
.lastNews .cardNoticias__info .d-flex {
  align-items: center;
  gap: 16px;
  margin: 8px 0;
}
.lastNews .cardNoticias__info .d-flex a {
  background-color: #6DA621;
  border-radius: 24px;
  color: #fff;
  font-family: "Roboto Slab", sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 4px 16px;
  text-decoration: none;
}
.lastNews .cardNoticias__info .d-flex p {
  color: #7A7B79;
  font-family: "Roboto Slab", sans-serif;
  font-size: 14px;
  font-weight: 500;
}
.lastNews .cardNoticias__info h2 {
  color: #3E3E3E;
  font-family: "Roboto Slab", sans-serif;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0px;
  margin-bottom: 8px;
  line-height: 1.5;
}
.lastNews .cardNoticias__info h2 a {
  color: inherit;
  font-family: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}
.lastNews .cardNoticias__info h2 a:hover {
  text-decoration: underline;
}
.lastNews .cardNoticias__info p {
  color: #7A7B79;
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lastNews .cardNoticias--line {
  align-items: flex-start;
  display: flex;
  gap: 8px;
  max-width: 100%;
  border-bottom: 0;
}
@media (max-width: 600px) {
  .lastNews .cardNoticias--line > a {
    display: none;
  }
}
.lastNews .cardNoticias--line img {
  object-fit: cover;
  object-position: center;
  height: 140px;
  width: 200px;
}
.lastNews .cardNoticias--line .cardNoticias__info {
  border-bottom: solid 0.5px #8CC63F;
  min-height: 140px;
  padding-bottom: 8px;
  width: 100%;
}
.lastNews .cardNoticias--line .cardNoticias__info .d-flex {
  margin: 0 0 8px;
}
.lastNews .cardNoticias--line .cardNoticias__info h2 {
  font-size: 16px;
}
.lastNews .cardNoticias--line .cardNoticias__info p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lastNews .d-grid {
  margin-bottom: 40px;
}
@media (max-width: 992px) {
  .lastNews .d-grid {
    display: none;
  }
}

@media (max-width: 992px) {
  .page-template-page-noticias .lastNews .listNews {
    flex-direction: column !important;
  }
}
@media (max-width: 600px) {
  .page-template-page-noticias .lastNews .d-grid {
    display: grid;
    grid-template-columns: 1fr;
  }
}
.page-template-page-noticias .lastNews .d-grid .cardNoticias img {
  height: 165px;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 600px) {
  .page-template-page-noticias .lastNews .cardNoticias--line {
    flex-direction: column;
  }
  .page-template-page-noticias .lastNews .cardNoticias--line > a {
    display: block;
  }
  .page-template-page-noticias .lastNews .cardNoticias--line > a img {
    height: auto;
    width: 100%;
  }
}
.page-template-page-noticias .seeMore {
  margin-bottom: 100px;
}
.page-template-page-noticias .seeMore .btn {
  background-color: #005E8A;
  padding: 15px;
  width: auto;
}
