
.news-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin: 40px 0;
}

.news-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.news-item .image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.news-item .text {
  padding: 16px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.news-item .title {
  font-size: 3.1rem;
  font-weight: 600;
  color: #222;
  text-decoration: none;
  margin-bottom: 8px;
  display: block;
}

.news-item .title:hover {
  color: #c00; /* červená po najetí */
}

.news-item time {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 12px;
  display: block;
}

/* schování popisu */
.news-item .description {
  display: none;
}
