/* ── Blog (Aşama 7) ───────────────────────────────────────────────────── */
.blog-hero { background: linear-gradient(180deg, var(--primary-soft), var(--bg) 85%); border-bottom: 1px solid var(--border); padding: var(--s-6) 0 var(--s-5); }
.blog-hero-in { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-5); flex-wrap: wrap; margin-top: var(--s-3); }
.blog-hero .shop-title { margin-bottom: 0; font-size: clamp(28px, 4vw, 40px); }
.blog-search { position: relative; width: min(340px, 100%); }
.blog-search .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-3); pointer-events: none; }
.blog-search .input { padding-left: 40px; border-radius: var(--r-full); }
.cat-chip.is-active { background: var(--primary); border-color: var(--primary); color: #fff !important; }
.cat-chip .n { font-size: 12px; opacity: .7; font-weight: 700; }

.bgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
@media (max-width: 1024px) { .bgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .bgrid { grid-template-columns: 1fr; } }
.bcard { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.bcard:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.bcard-media { display: block; aspect-ratio: 1200 / 630; background: var(--surface-2); overflow: hidden; }
.bcard-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s var(--ease); }
.bcard:hover .bcard-media img { transform: scale(1.03); }
.bcard-ph { display: grid; place-items: center; width: 100%; height: 100%; color: var(--primary); }
.bcard-body { padding: var(--s-4) var(--s-5) var(--s-5); display: flex; flex-direction: column; gap: 8px; flex: 1; }
.bcard-meta { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; font-size: 12.5px; color: var(--text-3); }
.bcard-cat { color: var(--primary-text); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 11.5px; }
.bcard-title { font-size: 17px; font-weight: 800; line-height: 1.35; letter-spacing: -.01em; }
.bcard-title a { color: var(--text); text-decoration: none; }
.bcard-title a:hover { color: var(--primary-text); }
.bcard-ex { color: var(--text-2); font-size: 14px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bcard-more { margin-top: auto; padding-top: 4px; font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; color: var(--primary-text); text-decoration: none; }
.bcard-big { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.bcard-big .bcard-media { aspect-ratio: auto; min-height: 100%; }
.bcard-big .bcard-body { padding: var(--s-8); justify-content: center; gap: 12px; }
.bcard-big .bcard-title { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.2; }
.bcard-big .bcard-more { margin-top: var(--s-2); }
@media (max-width: 860px) { .bcard-big { grid-template-columns: 1fr; } .bcard-big .bcard-media { aspect-ratio: 1200 / 630; } .bcard-big .bcard-body { padding: var(--s-5); } }

.blog-cta { display: flex; align-items: center; gap: var(--s-5); flex-wrap: wrap; padding: var(--s-6); border-radius: var(--r-xl); background: linear-gradient(120deg, var(--primary-soft), var(--surface) 70%); border: 1px solid var(--border); margin-top: var(--s-8); }
.blog-cta h2 { font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.blog-cta p { color: var(--text-2); margin-top: 4px; font-size: 14.5px; }
.blog-cta-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--primary); color: #fff; box-shadow: 0 8px 20px rgba(101, 0, 132, .25); }

/* Yazı detayı */
.blog-preview-bar { background: var(--warning-soft, #fef3c7); color: var(--warning-text, #92400e); text-align: center; padding: 10px 16px; font-size: 14px; font-weight: 600; display: flex; gap: 8px; justify-content: center; align-items: center; flex-wrap: wrap; }
.bpost-head { padding-top: var(--s-6); background: linear-gradient(180deg, var(--primary-soft), var(--bg) 60%); }
.bpost-narrow { max-width: 860px; }
.bpost-title { font-size: clamp(28px, 4.2vw, 44px); line-height: 1.15; font-weight: 800; letter-spacing: -.03em; margin-top: var(--s-4); }
.bpost-lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--text-2); line-height: 1.6; margin-top: var(--s-4); }
.bpost-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; margin-top: var(--s-5); color: var(--text-3); font-size: 14px; }
.bpost-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.bpost-author img { border-radius: 8px; background: var(--surface); border: 1px solid var(--border); padding: 3px; }
.bpost-author b { color: var(--text); }
.bpost-cover { margin-top: var(--s-6); max-width: 1100px; }
.bpost-cover img { width: 100%; height: auto; display: block; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); aspect-ratio: 1200 / 630; object-fit: cover; background: var(--surface-2); }
.bpost-grid { display: grid; grid-template-columns: 250px minmax(0, 760px); gap: var(--s-10, 40px); justify-content: center; padding-top: var(--s-8); padding-bottom: var(--s-12, 48px); }
.bpost-side { position: sticky; top: 96px; align-self: start; display: grid; gap: var(--s-5); }
.bpost-toc { border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s-4); background: var(--surface); }
.bpost-toc-h { font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-3); display: flex; gap: 6px; align-items: center; margin-bottom: 8px; }
.bpost-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: toc; }
.bpost-toc li { counter-increment: toc; }
.bpost-toc a { display: grid; grid-template-columns: 22px 1fr; padding: 6px 8px; border-radius: 8px; color: var(--text-2); font-size: 13.5px; line-height: 1.4; text-decoration: none; }
.bpost-toc a::before { content: counter(toc); color: var(--text-3); font-weight: 700; font-size: 12px; }
.bpost-toc a:hover, .bpost-toc a.is-active { background: var(--primary-soft); color: var(--primary-text); }
.bpost-share { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.bpost-h2 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.bpost-body { font-size: 17px; line-height: 1.8; color: var(--text); }
.bpost-body h2 { font-size: clamp(22px, 2.4vw, 27px); line-height: 1.3; letter-spacing: -.02em; font-weight: 800; margin: var(--s-10, 40px) 0 var(--s-3); scroll-margin-top: 100px; }
.bpost-body h3 { font-size: 19px; font-weight: 800; margin: var(--s-6) 0 var(--s-2); scroll-margin-top: 100px; }
.bpost-body h2:first-child { margin-top: 0; }
.bpost-body p { margin: 0 0 var(--s-5); color: var(--text-2); }
.bpost-body ul, .bpost-body ol { margin: 0 0 var(--s-5); padding-left: 24px; color: var(--text-2); display: grid; gap: 6px; }
.bpost-body li::marker { color: var(--primary); font-weight: 700; }
.bpost-body strong { color: var(--text); }
.bpost-body a { color: var(--primary-text); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.bp-tip { display: flex; gap: 14px; padding: var(--s-4) var(--s-5); margin: 0 0 var(--s-5); border-radius: var(--r-lg); background: var(--primary-soft); border-left: 4px solid var(--primary); }
.bp-tip p { margin: 0 !important; color: var(--text) !important; font-size: 16px; }
.bp-tip-ic { color: var(--primary); flex: none; padding-top: 3px; }
.bp-table { overflow-x: auto; margin: 0 0 var(--s-5); border: 1px solid var(--border); border-radius: var(--r-lg); }
.bp-table table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.bp-table th { text-align: left; background: var(--surface-2); font-weight: 700; color: var(--text); }
.bp-table th, .bp-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); vertical-align: top; color: var(--text-2); }
.bp-table tr:last-child td { border-bottom: 0; }
.bp-fig { margin: var(--s-6) 0; }
.bp-fig img { width: 100%; height: auto; border-radius: var(--r-lg); display: block; }
.bp-fig figcaption { font-size: 13.5px; color: var(--text-3); text-align: center; margin-top: 8px; }
.bpost-faq { margin-top: var(--s-10, 40px); }
.bpost-faq h2 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; margin-bottom: var(--s-4); }
.bpost-faq details { border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); margin-bottom: 10px; }
.bpost-faq summary { cursor: pointer; list-style: none; padding: 16px 18px; font-weight: 700; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.bpost-faq summary::-webkit-details-marker { display: none; }
.bpost-faq summary .icon { flex: none; transition: transform var(--dur) var(--ease); color: var(--text-3); }
.bpost-faq details[open] summary .icon { transform: rotate(180deg); }
.bpost-faq details p { padding: 0 18px 16px; color: var(--text-2); line-height: 1.7; margin: 0; }
.bpost-products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
@media (max-width: 1024px) {
  .bpost-grid { grid-template-columns: minmax(0, 1fr); padding-top: var(--s-6); }
  .bpost-side { position: static; order: 2; }
  .bpost-toc { display: none; }
}
@media (max-width: 640px) { .bpost-body { font-size: 16.5px; } .blog-cta { padding: var(--s-5); } }

/* Ana sayfa blog bölümü */
.home-blog .bgrid { margin-top: var(--s-5); }
