/* ====================================
——— DETAIL NOVINKY / AKCE
===================================== */

.news-detail-card {
  max-width: 980px;
  margin: 0 auto;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(23, 33, 49, .12);
}

.news-detail-card__image {
  overflow: hidden;
  max-height: 560px;
  background: #edf1f4;
}

.news-detail-card__image img {
  display: block;
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  object-position: center;
}

.news-detail-card__body {
  padding: clamp(1.5rem, 4vw, 3rem);
}

.news-detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .8rem 1.2rem;
  margin-bottom: 1.25rem;
  color: #68757d;
  font-weight: 600;
}

.news-detail-meta .badge {
  padding: .55rem .85rem;
  border-radius: 999px;
  color: #fff;
  font-size: .82rem;
}

.news-detail-title {
  margin: 0 0 1.75rem;
  font-family: Dosis, sans-serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.12;
  text-transform: none;
}

.news-detail-content {
  color: #515b63;
  font-size: 1rem;
  line-height: 1.8;
}

.news-detail-content > :first-child { margin-top: 0; }
.news-detail-content > :last-child { margin-bottom: 0; }
.news-detail-content h2,
.news-detail-content h3,
.news-detail-content h4 {
  margin-top: 1.8em;
  color: #273346;
  text-transform: none;
}
.news-detail-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}
.news-detail-content table {
  display: block;
  overflow-x: auto;
  max-width: 100%;
}
.news-detail-content iframe,
.news-detail-content video { max-width: 100%; }

.news-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e7eb;
}

.news-detail-preview {
  padding: .85rem 1.2rem;
  background: #fff4cc;
  color: #684f00;
  font-weight: 700;
  text-align: center;
}

.news-detail-missing {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(2rem, 7vw, 5rem);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(23, 33, 49, .1);
}

@media (max-width: 767px) {
  .news-detail-card { border-radius: 12px; }
  .news-detail-card__image,
  .news-detail-card__image img { max-height: 360px; }
  .news-detail-actions { align-items: stretch; flex-direction: column; }
  .news-detail-actions .btn { width: 100%; }
}
