/* ═══════════════ Demir Hukuk — Makale (detay + dizin) ═══════════════ */

/* Header inline dil linkleri (makale detayında dropdown yerine) */
.lang-links { display: inline-flex; align-items: center; gap: 0.5em; font-family: var(--font-ui); font-size: var(--text-sm); }
.lang-links a { color: var(--text-muted); text-decoration: none; font-weight: var(--weight-medium); padding: 0.2em 0.1em; }
.lang-links a:hover { color: var(--brand-deep); }
.lang-links a[aria-current="true"] { color: var(--brand-deep); font-weight: var(--weight-semibold); }
.lang-links a + a { border-left: 1px solid var(--border-hair); padding-left: 0.6em; }

/* ── Makale detay ── */
.article-page__main { padding: var(--space-7) 0 var(--space-9); }
.article { max-width: var(--container-md); margin-inline: auto; padding-inline: var(--gutter); }
.article__crumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2);
  font-family: var(--font-ui); font-size: var(--text-xs); color: var(--text-muted); margin-bottom: var(--space-6);
}
.article__crumb a { color: var(--text-muted); text-decoration: none; }
.article__crumb a:hover { color: var(--brand-deep); text-decoration: underline; text-underline-offset: 0.18em; }
.article__crumb .ph-light { color: var(--ink-300); }
.article__crumb .dh-crumb__current { color: var(--text-strong); font-weight: var(--weight-medium); }

.article__head { margin-bottom: var(--space-6); }
.article__cat {
  font-family: var(--font-ui); text-transform: uppercase; letter-spacing: var(--tracking-wider);
  font-size: var(--text-2xs); font-weight: var(--weight-semibold); color: var(--text-accent); margin: 0 0 var(--space-3);
}
.article__title { font-size: clamp(2rem, 4vw, 3.25rem); margin: 0; text-wrap: balance; line-height: 1.08; }

.article__hero { margin: 0 0 var(--space-7); }
.article__hero img {
  width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: var(--radius-lg); border: var(--hairline); box-shadow: var(--shadow-md);
}

.article__body { max-width: 68ch; margin-inline: auto; }
.article__body > * + * { margin-top: var(--space-5); }
.article__body p { font-size: var(--text-md); line-height: 1.75; color: var(--text-body); margin: 0; max-width: none; text-wrap: pretty; }
.article__body h2 {
  font-family: var(--font-display); font-size: var(--text-2xl); color: var(--text-strong);
  margin: var(--space-8) 0 0; letter-spacing: -0.01em; text-wrap: balance;
}
.article__body h3 { font-family: var(--font-display); font-size: var(--text-xl); color: var(--text-strong); margin: var(--space-7) 0 0; }
.article__body h2 + p, .article__body h3 + p { margin-top: var(--space-4); }
.article__body ul { margin: 0; padding-left: 1.3em; display: grid; gap: var(--space-2); }
.article__body li { font-size: var(--text-md); line-height: 1.7; color: var(--text-body); }
.article__body li::marker { color: var(--brand); }
.article__body strong { color: var(--text-strong); font-weight: var(--weight-semibold); }
.article__body a { color: var(--text-accent); text-decoration: underline; text-underline-offset: 0.15em; }
.article__body a:hover { color: var(--brand-deep); }
.article__figure { margin: var(--space-7) 0; }
.article__figure img { width: 100%; height: auto; border-radius: var(--radius-lg); border: var(--hairline); box-shadow: var(--shadow-sm); background: var(--surface-card); }
.article__tablewrap { overflow-x: auto; }
.article__body table { width: 100%; border-collapse: collapse; font-size: var(--text-base); }
.article__body th, .article__body td { padding: var(--space-3) var(--space-4); border-bottom: var(--hairline); text-align: left; vertical-align: top; }
.article__body thead th { color: var(--text-strong); font-family: var(--font-ui); font-weight: var(--weight-semibold); border-bottom: var(--bw-thick) solid var(--border-strong); }

.article__cta {
  max-width: 68ch; margin: var(--space-9) auto 0; padding: var(--space-6);
  background: var(--surface-sunken); border: var(--hairline); border-radius: var(--radius-lg);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4);
}
.article__cta p { margin: 0; font-family: var(--font-display); font-size: var(--text-lg); color: var(--text-strong); max-width: 40ch; }

/* ── Makale dizini (kart ızgarası) ── */
.article-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
  gap: var(--space-5);
}
.article-card {
  display: flex; flex-direction: column;
  background: var(--surface-card); border: var(--hairline); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-xs); text-decoration: none;
  transition: var(--transition-transform), var(--transition-shadow), border-color var(--dur-base) var(--ease-standard);
}
.article-card:hover { transform: translateY(var(--hover-lift)); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.article-card:focus-visible { outline: none; box-shadow: var(--ring-focus); }
.article-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-sunken); }
.article-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--dur-slow) var(--ease-out); }
.article-card:hover .article-card__media img { transform: scale(1.03); }
.article-card__body { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-5); }
.article-card__cat { font-family: var(--font-ui); text-transform: uppercase; letter-spacing: var(--tracking-wide); font-size: var(--text-2xs); font-weight: var(--weight-semibold); color: var(--text-accent); }
.article-card__title { font-family: var(--font-display); font-size: var(--text-lg); line-height: 1.25; color: var(--text-strong); }
.article-card__desc { font-size: var(--text-sm); line-height: 1.55; color: var(--text-muted); }

@media (prefers-reduced-motion: reduce) { .article-card__media img { transition: none; } }
@media (max-width: 38rem) { .article__cta { flex-direction: column; align-items: stretch; } }
