/* MediaCuba.com — News section styles */

.news-lang-header {
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-strong);
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.85rem;
  margin-bottom: 1.25rem;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.15rem;
  align-items: stretch;
}

.news-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.1rem;
  border: 1px solid rgba(15, 44, 133, 0.1);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 249, 255, 0.94));
  box-shadow: 0 14px 28px rgba(19, 33, 63, 0.06);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
  height: 100%;
}

.news-card:hover {
  box-shadow: 0 18px 34px rgba(15, 44, 133, 0.12);
  border-color: rgba(15, 44, 133, 0.22);
  transform: translateY(-4px);
  color: inherit;
  text-decoration: none;
}

.news-card-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.news-favicon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  flex-shrink: 0;
  object-fit: contain;
  box-shadow: 0 8px 20px rgba(19, 33, 63, 0.1);
}

.news-source {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mc-red);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink-strong);
  flex-grow: 1;
}

.news-date {
  font-size: 0.75rem;
  color: var(--ink-soft);
  padding-top: 0.35rem;
  margin-top: auto;
}

@media (max-width: 767px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}
