/* PROGEM — Site 6 makale listesi, P03-06a (/blog)
   Yalnız app/blogs/list.blade.php @push('styles') ile yükler; her kural .pg-site6 .pg-s6-art altında.
   Görsel kaynak: Site 6 makaleler.html .article-grid / .article-card / .count.
   Mokaptan metin, sayı, etiket, görsel veya bağlantı aktarılmaz. Süzgeç formu ve sayfalama görünümü değişmez. */

.pg-site6 .pg-s6-art {
  --s6a-navy: var(--s6-navy, #053263);
  --s6a-blue: var(--s6-blue, #0072d2);
  --s6a-ink: #172f46;
  --s6a-muted: var(--s6-muted, #526879);
  --s6a-line: var(--s6-line, #d6e2ec);
  --s6a-paper: var(--s6-paper, #f3f7fb);
  --s6a-heading: var(--pg-font-alt, "Poppins", Lato, Arial, sans-serif);
  color: var(--s6a-ink);
}

.pg-site6 .pg-s6-art__count,
.pg-site6 .pg-s6-art__status {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--s6a-muted);
}
.pg-site6 .pg-s6-art__count { font-weight: 600; }

/* Izgara: mokap img sizes kırılımları — >1000 px 3, 601–1000 px 2, ≤600 px 1 sütun. */
.pg-site6 .pg-s6-art__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
}

.pg-site6 .pg-s6-art__card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--s6a-line);
  border-radius: 8px;
  text-align: left;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.pg-site6 .pg-s6-art__card:hover {
  border-color: var(--s6a-blue);
  box-shadow: 0 10px 24px rgba(5, 50, 99, .10);
}

.pg-site6 .pg-s6-art__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--s6a-paper);
}
.pg-site6 .pg-s6-art__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pg-site6 .pg-s6-art__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 20px 22px 22px;
}

.pg-site6 .pg-s6-art__title {
  margin: 0;
  font-family: var(--s6a-heading);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--s6a-navy);
  overflow-wrap: break-word;
  hyphens: auto;
}
.pg-site6 .pg-s6-art__link {
  color: inherit;
  text-decoration: none;
}
/* Tek bağlantı, tüm kart tıklanır alan. */
.pg-site6 .pg-s6-art__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.pg-site6 .pg-s6-art__link:hover,
.pg-site6 .pg-s6-art__link:focus { color: var(--s6a-blue); text-decoration: none; }
.pg-site6 .pg-s6-art__link:focus { outline: none; }
.pg-site6 .pg-s6-art__card:focus-within {
  outline: 3px solid var(--s6a-blue);
  outline-offset: 2px;
}

.pg-site6 .pg-s6-art__summary {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--s6a-muted);
  overflow-wrap: break-word;
}

.pg-site6 .pg-s6-art__more {
  margin-top: auto;
  padding-top: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--s6a-blue);
}

@media (max-width: 1000px) {
  .pg-site6 .pg-s6-art__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
@media (max-width: 600px) {
  .pg-site6 .pg-s6-art__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .pg-site6 .pg-s6-art__body { padding: 16px 18px 18px; }
  .pg-site6 .pg-s6-art__title { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .pg-site6 .pg-s6-art__card { transition: none; }
}

/* P03-06b — süzgeç paneli (/blog formu). Arama + Ara + Temizle üstte; diğer süzgeçler <details>.
   ≥992 px'de özet satırı gizli ve panel açık (bugünkü masaüstü görünümü); dar ekranda açılır/kapanır. */
.pg-site6 .pg-s6-filt__reset {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--s6-line, #d6e2ec);
  border-radius: 6px;
  background: #fff;
  color: var(--s6-navy, #053263);
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
}
.pg-site6 .pg-s6-filt__reset:hover { border-color: var(--s6-blue, #0072d2); color: var(--s6-blue, #0072d2); text-decoration: none; }
.pg-site6 .pg-s6-filt__more { margin: 0; }
.pg-site6 .pg-s6-filt__toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--s6-line, #d6e2ec);
  border-radius: 6px;
  background: var(--s6-paper, #f3f7fb);
  color: var(--s6-navy, #053263);
  font-weight: 600;
  cursor: pointer;
}
.pg-site6 .pg-s6-filt__badge { color: var(--s6-blue, #0072d2); font-weight: 600; }
.pg-site6 .pg-s6-filt__more[open] > .pg-s6-filt__toggle { margin-bottom: 4px; }
.pg-site6 .pg-s6-filt__reset:focus-visible,
.pg-site6 .pg-s6-filt__toggle:focus-visible {
  outline: 3px solid var(--s6-blue, #0072d2);
  outline-offset: 2px;
}
@media (min-width: 992px) {
  .pg-site6 .pg-s6-filt__toggle { display: none; }
}
