/* =========================================================
   Blog: dizin ve yazı sayfaları (yalnızca blog sayfalarında yüklenir)
   ========================================================= */
.blog-hero .container { padding-bottom: 64px; }
.blog-hero .eyebrow a { color: inherit; text-decoration: none; }
.blog-hero .eyebrow a:hover { color: var(--yellow); }
.post-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); max-width: 22ch; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 18px !important; font-size: .98rem !important; color: var(--muted-light) !important; }
.post-meta > * + *::before { content: "·"; margin-inline-end: 18px; opacity: .6; }

/* kartlar */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card {
  display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cfcabb; }
.post-card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #f1efe8; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-card-media img { transform: scale(1.04); }
.post-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.post-cat { font-family: var(--font-head); font-weight: 700; font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; color: #8a7600; margin: 0 0 8px; }
.post-card h3 { font-size: 1.4rem; line-height: 1.15; margin-bottom: 10px; }
.post-card h3 a { text-decoration: none; color: var(--ink); }
.post-card h3 a:hover { color: #6f5f00; }
.post-card-body > p:not(.post-cat):not(.post-card-meta) { color: var(--muted); font-size: .97rem; flex: 1; }
.post-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 6px 0 0; font-size: .9rem; color: var(--muted); }
.post-card-big { display: grid; grid-template-columns: 1.25fr 1fr; }
.post-card-big .post-card-media { aspect-ratio: auto; min-height: 340px; }
.post-card-big .post-card-body { padding: 36px; justify-content: center; }
.post-card-big h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.blog-group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.blog-group-head h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.blog-group-head span { color: var(--muted); font-size: .95rem; }
.blog-group:nth-of-type(even) { background: var(--paper); }
.blog-featured { padding-bottom: 8px; }

/* yazı düzeni */
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; padding-top: 48px; padding-bottom: 80px; }
.post { min-width: 0; font-size: 1.09rem; }
.post-cover { margin: 0 0 30px; border-radius: var(--radius-lg); overflow: hidden; background: #f1efe8; }
.post-cover img { width: 100%; max-height: 520px; object-fit: cover; }
.answer-box { border-inline-start: 4px solid var(--yellow); background: var(--yellow-soft); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 30px; }
.answer-box p { margin: 0; color: var(--text); }
.answer-box .answer-label { font-family: var(--font-head); font-weight: 700; font-size: .95rem; letter-spacing: .14em; text-transform: uppercase; color: #6f5f00; margin-bottom: 6px; }
.toc { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px 24px; margin-bottom: 38px; background: var(--white); }
.toc-h { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 10px; }
.toc ol { margin: 0; padding-inline-start: 22px; display: grid; gap: 6px; }
.toc a { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line); }
.toc a:hover { border-color: var(--yellow-2); }
.post section { scroll-margin-top: calc(var(--header-h) + 20px); }
.post section + section { margin-top: 34px; }
.post h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin-bottom: 14px; }
.post p { line-height: 1.75; color: #2a2f36; }
.post ul { padding-inline-start: 22px; margin: 0 0 1em; display: grid; gap: 8px; line-height: 1.6; }
.post a { color: #6f5f00; text-decoration: underline; text-decoration-color: var(--yellow-2); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.post a:hover { color: var(--ink); background: var(--yellow-soft); }
.post-faq { margin-top: 46px; }
.post-faq .faq-item summary h3 { font-size: 1.22rem; }

.post-side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 18px; }
.side-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; background: var(--white); }
.side-cta { background: var(--ink); color: var(--white); border-color: var(--ink); }
.side-cta p { color: var(--muted-light); font-size: .98rem; }
.side-cta .btn { width: 100%; }
.side-h { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; color: inherit !important; margin: 0 0 8px; line-height: 1.15; }
.side-links { list-style: none; display: grid; gap: 4px; }
.side-links a { display: block; padding: 8px 0; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); font-weight: 500; }
.side-links a:hover { color: #6f5f00; }
.related { padding-top: 64px; padding-bottom: 72px; }

html[lang="ar"] .post-hero h1 { font-size: clamp(2rem, 4vw, 3.1rem); }
html[lang="ar"] .post-meta > * + *::before { margin-inline-end: 18px; }

@media (max-width: 1140px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .post-layout { grid-template-columns: 1fr; gap: 36px; padding-top: 32px; }
  .post-side { position: static; }
  .post-card-big { grid-template-columns: 1fr; }
  .post-card-big .post-card-media { min-height: 0; aspect-ratio: 16 / 10; }
  .post-card-big .post-card-body { padding: 24px; }
}
@media (max-width: 640px) {
  .post-grid { grid-template-columns: 1fr; }
  .post { font-size: 1.03rem; }
  .answer-box, .toc { padding: 16px 18px; }
  .blog-group-head { flex-direction: column; gap: 4px; }
}
