/*
  Haberler listesi + detay — SAYFA ÖZEL stiller.
  site.css'e (paylaşılan dosya) dokunulmadı; yalnızca burada, jeton
  (var(--...)) ve mevcut ortak sınıflar (.card, .chips, .pill, .prose,
  .clamp-2, .link-source ...) üzerinden inşa edildi.
*/

.news-page-head { margin-bottom: 4px; }

/* --------------------------------------------------------------- liste */
.news-list { display: flex; flex-direction: column; gap: 10px; }

.news-row {
  display: flex; align-items: center; gap: 14px;
  padding: 10px; border-radius: var(--r-card); background: var(--surface);
  box-shadow: var(--shadow-card); color: inherit;
  transition: transform var(--t-std) var(--ease), box-shadow var(--t-std) var(--ease);
}
.news-row:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.news-row:focus-visible { outline: 3px solid var(--mint); outline-offset: 2px; border-radius: var(--r-card); }

.news-row-img {
  width: 96px; height: 82px; flex-shrink: 0; overflow: hidden;
  border-radius: var(--r-badge); background: var(--bg-2);
  display: flex; align-items: center; justify-content: center;
}
.news-row-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.news-row-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.news-row-cat { font-size: 9.5px; font-weight: 700; letter-spacing: 0.9px; text-transform: uppercase; color: var(--forest); }
.news-row-title { font-size: 14px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.news-row-date { font-size: 11.5px; }

/* --------------------------------------------------------------- detay */
.news-detail-hero { border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-card); }
.news-detail-hero img { width: 100%; max-height: 420px; object-fit: cover; display: block; }

.news-detail-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.news-detail-views { display: inline-flex; align-items: center; gap: 4px; color: var(--ink-3); }

.news-gallery-block { display: flex; flex-direction: column; gap: 10px; }
.news-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 8px; }
.news-gallery-item { display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 1 / 1; background: var(--bg-2); }
.news-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--t-std) var(--ease); }
.news-gallery-item:hover img { transform: scale(1.05); }

.news-source { margin-top: 4px; }

/* --------------------------------------------------------------- sayfalama */
.pager { display: flex; align-items: center; justify-content: center; gap: 14px; padding-top: 8px; flex-wrap: wrap; }
.pager-link { font-size: 13px; font-weight: 700; color: var(--forest); padding: 8px 14px; border-radius: var(--r-control); border: 1px solid var(--line); }
.pager-link:hover { background: var(--green-soft); }
.pager-link.is-disabled { color: var(--ink-4); border-color: var(--line); pointer-events: none; }
.pager-status { white-space: nowrap; }

@media (max-width: 480px) {
  .news-row-img { width: 80px; height: 68px; }
  .news-detail-hero img { max-height: 260px; }
}

@media (prefers-reduced-motion: reduce) {
  .news-row, .news-row:hover, .news-gallery-item img, .news-gallery-item:hover img { transition: none; transform: none; }
}
