/* Haberler — kartlar events.css / event-list-card ile; burada yalnızca sayfa durumu + modal */

.news-page__state {
  margin: 0;
  border-radius: 1rem;
  border: 1px solid var(--site-border-soft);
  background: var(--site-surface-gradient);
  padding: 2.5rem 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--site-text-soft);
}

.news-page__state--error {
  border-color: rgba(255, 69, 69, 0.25);
  background: rgba(255, 69, 69, 0.08);
  color: #fecaca;
}

/* Modal */
.news-modal__panel {
  animation: news-modal-in 0.28s ease-out;
}

.news-modal__header {
  flex-shrink: 0;
  background: var(--site-surface-gradient, #1e2739);
}

.news-modal__header .news-modal-close {
  margin-left: auto;
}

@keyframes news-modal-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.news-modal__media {
  max-height: 14rem;
  overflow: hidden;
  border-bottom: 1px solid var(--site-border-soft);
}

.news-modal__img {
  display: block;
  width: 100%;
  max-height: 14rem;
  object-fit: cover;
}

.news-modal__scroll {
  min-width: 0;
}

.news-modal__date {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  color: var(--site-text-soft);
}

.news-modal__title {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--site-text);
  overflow-wrap: break-word;
  word-break: break-word;
}

.news-modal__body {
  max-width: 100%;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--site-text-muted, #cbd5e1);
  overflow-wrap: break-word;
  word-break: break-word;
  white-space: pre-wrap;
}

.news-modal__body p {
  margin: 0 0 0.85rem;
}

.news-modal__body p:last-child {
  margin-bottom: 0;
}

.news-modal__empty {
  margin: 0;
  color: var(--site-text-soft);
}
