/* ====================================
——— HORNÍ OBRÁZEK
===================================== */
.news-list-hero {
  position: relative;
  height: 250px;
  min-height: 250px !important;
  overflow: hidden;
  background: #384956;
}

.news-list-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
}

.news-list-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(31, 40, 47, 0.45);
}

.news-list-hero__content {
  position: relative;
  z-index: 1;
}



/* ====================================
——— STEJNĚ VELKÉ KARTY NOVINEK
===================================== */
.news-list-grid > div {
  display: flex;
}

.news-list-card {
  display: flex;
  flex: 1;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
}

.news-list-card__image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.news-list-card__image > a,
.news-list-card__image img {
  display: block;
  width: 100%;
  height: 100%;
}

.news-list-card__image img {
  object-fit: cover;
  object-position: center;
}

.news-list-card .card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.news-list-card .card-title {
  font-family: Dosis, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  text-transform: none;
}

.news-list-card__excerpt {
  display: -webkit-box;
  overflow: hidden;
  line-height: 1.65;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
}

.news-list-card .badge {
  min-width: 62px;
  border-radius: 8px;
  color: #fff;
  line-height: 1.15;
  text-align: center;
}



/* ====================================
——— FILTR KATEGORIÍ
===================================== */
.news-category-list a {
  color: #68757d;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.news-category-list a:hover,
.news-category-list a:focus,
.news-category-list a.active {
  border-color: #b7d470 !important;
  background: #b7d470;
  color: #fff !important;
}



/* ====================================
——— ZOBRAZENÍ NA MOBILU
===================================== */
@media (max-width: 767px) {
  .news-list-sidebar {
    margin-top: 35px;
  }
}
