/* FEED */
.news-feed {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* CARD HORIZONTAL */
.news-card-horizontal {
  display: flex;
  background: #1b263b;
  border-radius: 15px;
  overflow: hidden;
  transition: 0.3s;
  cursor: pointer;
}

/* IMAGEN */
.news-card-horizontal img {
  width: 200px;
  height: 140px;
  object-fit: cover;
}

/* CONTENIDO */
.news-info {
  padding: 15px;
  color: #e0e1dd;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-info h5 {
  margin: 0;
  font-weight: bold;
}

.news-info p {
  margin-top: 5px;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* HOVER PRO */
.news-card-horizontal:hover {
  transform: scale(1.02);
  box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.3);
}

/* SEARCH */
.search-input {
  max-width: 250px;
  border-radius: 20px;
}

/* MOBILE */
@media (max-width: 768px) {
  .news-card-horizontal {
    flex-direction: column;
  }

  .news-card-horizontal img {
    width: 100%;
    height: 200px;
  }
}
