/* Pinping Blog — paylaşılan CSS (tüm dil makalelerinde kullanılır) */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --sage:      #526442;
  --sage-deep: #3f5233;
  --sage-mid:  #6b8255;
  --sage-light:#9caf88;
  --sage-pale: #d9e3ca;
  --sage-mist: #eef3e7;
  --surface:   #faf9f6;
  --ink:       #111;
  --ink-2:     #3a3a3a;
  --muted:     #6b7280;
  --border:    rgba(0,0,0,0.07);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--surface);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}
a { color: var(--sage-deep); }
img { max-width: 100%; height: auto; }

/* ── Nav (sadeleştirilmiş, ana sayfa ile uyumlu) ── */
nav.blog-nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 36px;
  background: rgba(250,249,246,.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.blog-nav .logo {
  display: flex; align-items: center; gap: 9px;
  font-size: 16px; font-weight: 800; color: var(--ink);
  text-decoration: none; letter-spacing: -.2px;
}
.blog-nav .logo-mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, var(--sage), var(--sage-deep));
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
}
.blog-nav .nav-links { display: flex; align-items: center; gap: 22px; }
.blog-nav .nav-links a {
  font-size: 14px; font-weight: 500;
  color: var(--muted); text-decoration: none;
  transition: color .2s;
}
.blog-nav .nav-links a:hover { color: var(--ink); }
.blog-nav .pill {
  background: var(--ink) !important;
  color: #fff !important;
  padding: 7px 16px; border-radius: 20px;
  font-weight: 600 !important;
}
.blog-nav .pill:hover { background: #2a2a2a !important; }

.lang-picker { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 5px;
  background: none; border: 1px solid var(--border);
  border-radius: 8px; padding: 5px 10px;
  font-size: 13px; font-weight: 600; color: var(--muted);
  cursor: pointer; font-family: inherit;
  white-space: nowrap; line-height: 1;
}
.lang-btn:hover { color: var(--ink); border-color: var(--sage-pale); background: var(--sage-mist); }
.lang-chevron { font-size: 9px; }
.lang-picker.open .lang-chevron { transform: rotate(180deg); }
.lang-drop {
  position: absolute; right: 0; top: calc(100% + 8px);
  background: #fff; border: 1px solid var(--sage-pale);
  border-radius: 12px; padding: 6px;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
  display: none; min-width: 300px; z-index: 300;
  columns: 2; column-gap: 0;
}
.lang-picker.open .lang-drop { display: block; }
.lang-drop a {
  display: block; padding: 7px 10px; border-radius: 7px;
  font-size: 13px; font-weight: 500; color: var(--ink);
  text-decoration: none;
  break-inside: avoid;
}
.lang-drop a:hover { background: var(--sage-mist); }
.lang-drop a.active { color: var(--sage); font-weight: 700; background: var(--sage-mist); }

/* ── Blog Index ── */
.blog-hero {
  max-width: 880px; margin: 0 auto;
  padding: 80px 36px 40px;
}
.blog-hero .eyebrow {
  font-size: 12px; font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--sage); margin-bottom: 12px;
}
.blog-hero h1 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: -1.5px; line-height: 1.1;
  margin-bottom: 16px;
}
.blog-hero p {
  font-size: 17px; color: var(--muted);
  line-height: 1.65; max-width: 640px;
}

.post-list {
  max-width: 880px; margin: 0 auto;
  padding: 32px 36px 96px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.post-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 30px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  text-decoration: none;
  color: var(--ink);
  display: block;
}
.post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(82,100,66,.08);
  border-color: var(--sage-pale);
}
.post-card .post-meta {
  font-size: 12px; font-weight: 700;
  letter-spacing: .6px; text-transform: uppercase;
  color: var(--sage); margin-bottom: 8px;
}
.post-card h2 {
  font-size: 22px; font-weight: 800;
  letter-spacing: -.4px; line-height: 1.25;
  margin-bottom: 10px; color: var(--ink);
}
.post-card p {
  font-size: 15px; color: var(--muted);
  line-height: 1.6;
}
.post-card .read-more {
  display: inline-block; margin-top: 14px;
  font-size: 13px; font-weight: 700;
  color: var(--sage-deep);
}

/* ── Article ── */
.article {
  max-width: 720px; margin: 0 auto;
  padding: 64px 36px 32px;
}
.article .breadcrumb {
  font-size: 13px; color: var(--muted);
  margin-bottom: 18px;
}
.article .breadcrumb a {
  color: var(--muted); text-decoration: none;
}
.article .breadcrumb a:hover { color: var(--sage-deep); text-decoration: underline; }
.article .article-meta {
  font-size: 13px; font-weight: 600;
  color: var(--sage); letter-spacing: .4px;
  text-transform: uppercase; margin-bottom: 14px;
}
.article h1 {
  font-size: clamp(30px, 3.8vw, 44px);
  font-weight: 900;
  letter-spacing: -1.4px; line-height: 1.1;
  margin-bottom: 18px;
}
.article .lead {
  font-size: 19px; color: var(--ink-2);
  line-height: 1.65; margin-bottom: 28px;
  font-weight: 500;
}
.article h2 {
  font-size: 26px; font-weight: 800;
  letter-spacing: -.6px; line-height: 1.2;
  margin-top: 44px; margin-bottom: 14px;
  color: var(--ink);
}
.article h3 {
  font-size: 19px; font-weight: 700;
  letter-spacing: -.3px;
  margin-top: 28px; margin-bottom: 10px;
  color: var(--ink);
}
.article p {
  font-size: 17px; color: var(--ink-2);
  line-height: 1.75; margin-bottom: 16px;
}
.article ul, .article ol {
  margin: 14px 0 18px 0;
  padding-left: 24px;
  color: var(--ink-2);
}
.article li {
  font-size: 17px; line-height: 1.7;
  margin-bottom: 8px;
}
.article strong { color: var(--ink); font-weight: 700; }
.article em { font-style: italic; color: var(--ink); }
.article blockquote {
  border-left: 4px solid var(--sage);
  background: var(--sage-mist);
  padding: 16px 22px;
  border-radius: 0 10px 10px 0;
  margin: 22px 0;
  font-size: 16px; color: var(--ink-2);
}
.article .callout {
  background: var(--sage-mist);
  border: 1px solid var(--sage-pale);
  border-radius: 14px;
  padding: 18px 22px;
  margin: 26px 0;
}
.article .callout-title {
  font-size: 13px; font-weight: 800;
  letter-spacing: .6px; text-transform: uppercase;
  color: var(--sage-deep); margin-bottom: 8px;
}
.article .callout p:last-child { margin-bottom: 0; }

/* FAQ details */
.article-faq { margin-top: 40px; }
.article-faq details {
  border-top: 1px solid var(--sage-pale);
  padding: 16px 0;
}
.article-faq details:last-of-type {
  border-bottom: 1px solid var(--sage-pale);
}
.article-faq summary {
  list-style: none;
  cursor: pointer; user-select: none;
  font-size: 16px; font-weight: 700;
  color: var(--ink);
  display: flex; align-items: center; justify-content: space-between;
}
.article-faq summary::-webkit-details-marker { display: none; }
.article-faq summary::after {
  content: '+';
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--sage-mist);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--sage);
  transition: transform .2s, background .2s;
}
.article-faq details[open] summary::after {
  content: '−';
  background: var(--sage); color: #fff;
}
.article-faq details > p {
  margin-top: 10px;
  font-size: 15px; color: var(--muted); line-height: 1.75;
}

/* CTA */
.blog-cta {
  max-width: 720px; margin: 64px auto 0;
  padding: 0 36px 80px;
}
.blog-cta-card {
  background: var(--ink);
  border-radius: 22px;
  padding: 36px 40px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap;
  color: #fff;
}
.blog-cta-card h3 {
  font-size: 22px; font-weight: 800;
  letter-spacing: -.4px; color: #fff;
  margin-bottom: 6px;
}
.blog-cta-card p {
  font-size: 14px; color: rgba(255,255,255,.55);
}
.blog-cta-card .btn-white {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; color: var(--sage-deep);
  font-size: 15px; font-weight: 700;
  padding: 13px 22px; border-radius: 12px;
  text-decoration: none; white-space: nowrap;
  box-shadow: 0 4px 18px rgba(0,0,0,.18);
  transition: transform .15s;
}
.blog-cta-card .btn-white:hover { transform: translateY(-2px); }

/* Related articles */
.related {
  max-width: 720px; margin: 0 auto;
  padding: 40px 36px 80px;
  border-top: 1px solid var(--border);
}
.related-title {
  font-size: 13px; font-weight: 800;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--sage); margin-bottom: 18px;
}
.related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.related-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color .2s, transform .2s;
}
.related-card:hover {
  border-color: var(--sage-pale);
  transform: translateY(-2px);
}
.related-card h4 {
  font-size: 15px; font-weight: 700;
  line-height: 1.35; margin-bottom: 6px;
  color: var(--ink);
}
.related-card span {
  font-size: 12px; color: var(--muted);
}

/* Footer */
footer.blog-footer {
  background: var(--ink);
  padding: 40px 36px;
}
.blog-footer .inner {
  max-width: 880px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
.blog-footer .brand {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 800; color: #fff;
  text-decoration: none;
}
.blog-footer .brand .logo-mark { width: 24px; height: 24px; font-size: 12px; }
.blog-footer .links { display: flex; gap: 22px; }
.blog-footer .links a {
  font-size: 13px; color: rgba(255,255,255,.4);
  text-decoration: none;
}
.blog-footer .links a:hover { color: rgba(255,255,255,.75); }
.blog-footer .copy {
  max-width: 880px; margin: 20px auto 0;
  padding-top: 16px; border-top: 1px solid rgba(255,255,255,.06);
  font-size: 12px; color: rgba(255,255,255,.25);
}

/* RTL support */
html[dir="rtl"] .blog-nav .nav-links { flex-direction: row-reverse; }
html[dir="rtl"] .lang-drop { right: auto; left: 0; }
html[dir="rtl"] .article ul,
html[dir="rtl"] .article ol { padding-left: 0; padding-right: 24px; }
html[dir="rtl"] .article blockquote {
  border-left: none; border-right: 4px solid var(--sage);
  border-radius: 10px 0 0 10px;
}

@media (max-width: 720px) {
  nav.blog-nav { padding: 12px 20px; }
  .blog-nav .nav-links a:not(.pill):not(.lang-btn) { display: none; }
  .blog-hero { padding: 56px 20px 24px; }
  .post-list { padding: 20px 20px 64px; }
  .article { padding: 36px 20px 24px; }
  .blog-cta { padding: 0 20px 56px; }
  .blog-cta-card { padding: 28px 24px; flex-direction: column; align-items: flex-start; }
  .blog-cta-card .btn-white { width: 100%; justify-content: center; }
  .related { padding: 32px 20px 64px; }
  .related-grid { grid-template-columns: 1fr; }
  footer.blog-footer { padding: 32px 20px; }
}
