/* Detay ve blog sayfaları — style.css değişkenlerini kullanır */
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: #c9c9d3; }
.btn-white { background: #fff; color: #17171f; }

/* tür kapakları (videosu olmayan içerik) */
.tile { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; font-weight: 600; font-size: 14px; }
.tile svg { width: 40px; height: 40px; }
.tile-muzik { background: #17171f; color: rgba(255,255,255,.8); }
.tile-viral { background: #ffe9e6; color: var(--red-text); }
.tile-gundem { background: #e9efff; color: #2a45b8; }
.tile-gunluk { background: #fff4e0; color: #8a4b00; }
.badge.type-muzik { background: #17171f; color: #fff; }
.badge.type-viral { background: #ffe9e6; color: var(--red-text); }
.badge.type-gundem { background: #e9efff; color: #2a45b8; }
.badge.type-gunluk { background: #fff4e0; color: #8a4b00; }

/* kartlar */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 28px 20px; }
.pcard { display: flex; flex-direction: column; text-decoration: none; color: inherit; border-radius: 20px; }
.card-media { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: #e9e9ef; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.pcard .vp-play { width: 48px; height: 48px; }
.pcard-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 2px 0; }
.pcard .badges { margin: 0; }
.pcard-title { font: 700 19px/1.25 var(--display); letter-spacing: -0.01em; }
.pcard-title .artist { font: 500 15px var(--body); color: var(--muted); }
.pcard-short { color: var(--muted); font-size: 15px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; font-size: 14px; color: var(--muted); }
.pcard-cta { font-weight: 600; color: var(--red-text); }
.pcard:hover .pcard-title { text-decoration: underline; text-underline-offset: 3px; }

/* blog */
.blog-page, .post-page { max-width: 1180px; margin: 0 auto; padding: 48px 24px 96px; }
.blog-head h1 { font-size: clamp(40px, 5vw, 64px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.blog-head p { color: var(--muted); font-size: 18px; max-width: 56ch; margin: 14px 0 28px; }
.blog-tools { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.blog-tools .chips { margin: 0; }
.chip b { margin-left: 4px; font-size: 13px; opacity: .7; }
.search input { min-height: 46px; width: min(320px, 100%); padding: 0 16px; border-radius: 999px; border: 1px solid #d4d4dd; font: 16px var(--body); }
.search input:focus { outline: 3px solid rgba(255,61,46,.3); border-color: var(--red); }
.result-count { color: var(--muted); font-size: 14px; margin: 10px 0 22px; min-height: 20px; }
.empty-state { grid-column: 1 / -1; padding: 40px; text-align: center; border-radius: 18px; background: var(--surface); }
.empty-state p { margin: 0 0 14px; }

/* detay */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs a + a::before { content: "/"; margin-right: 6px; color: #c4c4cf; }
.post { max-width: 1040px; }
.post-head { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 48px; align-items: start; }
.post-video { position: relative; width: 100%; border-radius: 22px; overflow: hidden; background: #000; }
.post-video.instagram { background: #fff; height: 640px; border: 1px solid var(--line); }
.post-video.tiktok, .post-video.youtube { aspect-ratio: 9 / 16; }
.post-video.none { aspect-ratio: 4 / 5; background: none; }
.post-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tile-lg svg { width: 64px; height: 64px; }
.post-intro { padding-top: 8px; }
.post-intro .badges { margin-bottom: 14px; }
.post-intro h1 { font-size: clamp(36px, 4.6vw, 58px); font-weight: 800; line-height: 1.02; letter-spacing: -0.03em; }
.post-sub { margin: 8px 0 0; font-size: 18px; color: var(--muted); }
.post-lead { font-size: 20px; line-height: 1.5; margin: 18px 0 10px; max-width: 46ch; }
.post-meta { font-size: 14px; color: var(--muted); margin: 0 0 22px; }
.post-meta a { color: var(--muted); }
.post-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.jump-steps { display: inline-flex; margin-top: 18px; padding: 12px 16px; border-radius: 14px; background: var(--surface); font-weight: 600; text-decoration: none; color: var(--ink); }
.jump-steps:hover { background: #e9e9ef; }

.post-sec { margin-top: 56px; max-width: 760px; scroll-margin-top: 90px; }
.post-sec h2 { font-size: 30px; line-height: 1.1; margin-bottom: 14px; }
.post-sec > p { font-size: 18px; line-height: 1.6; margin: 0; }
.sec-note { color: var(--muted); margin: -4px 0 16px !important; font-size: 16px !important; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 12px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: start; padding: 18px; border-radius: 18px; background: var(--surface); font-size: 17px; line-height: 1.5; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #fff; font: 800 20px var(--display); }
.steps li span { padding-top: 11px; }
.texts { display: grid; gap: 12px; }
.text-box { position: relative; padding: 18px 18px 16px; border-radius: 18px; border: 1px solid var(--line); background: #fff; }
.text-k { font-size: 13px; font-weight: 600; color: var(--muted); }
.text-box p { margin: 6px 0 12px; font: 600 19px/1.4 var(--display); }
.text-box .btn { min-height: 40px; }
.post-sec .ideas { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

.post-cta { margin-top: 64px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 1040px; }
.post-cta.one { grid-template-columns: minmax(0, 640px); }
.cta-box { padding: 28px; border-radius: 22px; background: var(--surface); display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.cta-box h3 { font-size: 24px; line-height: 1.15; }
.cta-box p { margin: 0 0 6px; color: var(--muted); }
.cta-box.red { background: var(--red); color: #fff; }
.cta-box.red p { color: rgba(255,255,255,.88); }
.source { margin-top: 40px; font-size: 13px; color: var(--muted); }
.source a { color: var(--muted); }
.related { margin-top: 80px; }
.related h2 { font-size: 30px; margin-bottom: 22px; }
.notfound { padding: 40px 0; }
.notfound h1 { font-size: 40px; margin-bottom: 10px; }
.notfound p { color: var(--muted); margin: 0 0 20px; }

@media (max-width: 860px) {
  .post-head { grid-template-columns: 1fr; gap: 28px; }
  .post-video { max-width: 420px; }
  .post-video.instagram { height: 600px; }
  .post-cta { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .blog-page, .post-page { padding: 28px 16px 72px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .pcard-title { font-size: 16px; }
  .pcard-short { display: none; }
  .post-sec h2 { font-size: 26px; }
  .steps li { grid-template-columns: 40px minmax(0, 1fr); padding: 14px; }
  .steps li::before { width: 40px; height: 40px; font-size: 17px; }
  .steps li span { padding-top: 8px; }
  .search input { width: 100%; }
  .blog-tools .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; }
  .blog-tools .chip { flex: none; }
}
/* görünürlük düzenlemesi: blog ve detay */
.blog-page .cards, .related .cards { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 28px 20px; }
.pcard-foot { display: none; }
.post-sec h2 { font-size: 34px; font-weight: 800; }
.steps li { font-size: 18px; background: #fff; border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.steps li::before { background: var(--red); }
.text-box { border: 2px solid var(--ink); }
.text-box .btn { background: var(--ink); color: #fff; border: 0; }
.jump-steps { background: var(--ink); color: #fff; min-height: 52px; align-items: center; padding: 0 22px; border-radius: 999px; }
.jump-steps:hover { background: var(--red); }
.post-lead { font-size: 21px; }
@media (max-width: 640px) {
  .blog-page .cards, .related .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
}
.tile-muzik { background: #17171f; color: #fff; }
.tile-viral { background: #ff3d2e; color: #fff; }
.tile-gundem { background: #2a45b8; color: #fff; }
.tile-gunluk { background: #ffb020; color: #17171f; }
.tile { align-items: flex-start; justify-content: space-between; padding: 18px; text-align: left; }
@media (max-width: 640px) { .tile { padding: 12px; } }

/* Instagram görseli gelene kadar arkada başlıklı kapak görünür */
.ig-crop iframe { background: transparent !important; }
.tile-under { z-index: 0; }
.ig-crop { z-index: 1; }

/* ---------- mobil alt menü ---------- */
.bnav { display: none; }
@media (max-width: 760px) {
  .bnav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: repeat(4, 1fr); padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); backdrop-filter: blur(12px); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -20px rgba(23,23,31,.35); }
  .bnav a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 54px; border-radius: 14px; font-size: 12px; font-weight: 600; color: var(--muted); text-decoration: none; }
  .bnav a svg { width: 24px; height: 24px; }
  .bnav a.on { color: var(--ink); background: var(--surface); }
  .bnav a.hot { color: var(--red-text); }
  .bnav-count { position: absolute; top: 4px; right: calc(50% - 22px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--red); color: #fff; font-size: 11px; display: grid; place-items: center; }
  body.has-bnav { padding-bottom: 76px; }
  body.has-bnav #stickyBar { display: none; }
  body.has-bnav .foot-inner { padding-bottom: 24px; }
}

/* toast */
.toast { position: fixed; left: 50%; bottom: 100px; z-index: 60; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; max-width: calc(100vw - 32px); padding: 14px 20px; border-radius: 14px; background: var(--ink); color: #fff; font-weight: 500; font-size: 15px; transition: opacity .2s, transform .2s; box-shadow: 0 16px 40px -16px rgba(0,0,0,.5); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { .toast { transition: none; } }

/* butonlar */
.btn-wa { background: #1fa855; color: #fff; }
.btn-wa:hover { background: #178a45; }
.save[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip-saved { border-style: dashed; }

/* adım takibi */
.steps.check li { padding: 0; }
.steps.check li::before { content: none; }
.steps.check label { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: start; padding: 18px; cursor: pointer; }
.steps.check input { appearance: none; width: 48px; height: 48px; margin: 0; border-radius: 50%; border: 2.5px solid var(--ink); background: #fff; cursor: pointer; display: grid; place-items: center; }
.steps.check input::after { content: ""; width: 14px; height: 24px; border: solid #fff; border-width: 0 4px 4px 0; transform: rotate(45deg) translate(-2px, -2px); opacity: 0; }
.steps.check input:checked { background: #1fa855; border-color: #1fa855; }
.steps.check input:checked::after { opacity: 1; }
.steps.check input:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.steps.check li.done { box-shadow: 4px 4px 0 #1fa855; border-color: #1fa855; }
.steps.check li.done span { text-decoration: line-through; text-decoration-thickness: 1.5px; opacity: .6; }
.steps.check span { padding-top: 11px; }
.progress-line { margin: 14px 0 0; font-weight: 700; color: #178a45; min-height: 24px; }

/* detay: mobilde sabit aksiyon çubuğu */
.post-bar { display: none; }
@media (max-width: 760px) {
  .post-bar { position: fixed; left: 0; right: 0; bottom: calc(66px + env(safe-area-inset-bottom)); z-index: 39; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; padding: 10px 12px; background: rgba(255,255,255,.97); border-top: 1px solid var(--line); }
  .post-bar .btn { min-height: 48px; }
  .post-bar .icon { width: 48px; padding: 0; }
  body.has-postbar { padding-bottom: 150px; }
  .steps.check label { grid-template-columns: 40px minmax(0, 1fr); padding: 14px; }
  .steps.check input { width: 40px; height: 40px; }
  .steps.check input::after { width: 11px; height: 20px; }
  .steps.check span { padding-top: 8px; }
}
.steps.check li { display: block; }

/* ---------- derin detay sayfası ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 36px 0 0; padding: 0; }
.stats div { padding: 16px 18px; border-radius: 16px; background: var(--surface); }
.stats dt { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: none; }
.stats dd { margin: 4px 0 0; font: 700 17px/1.3 var(--display); }
.post-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.post-main .post-sec { max-width: none; }
.post-side { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 16px; margin-top: 56px; }
.editor-note { padding: 22px; border-radius: 18px; background: #fff8e6; border: 1px solid #ffe2a8; }
.en-k { display: block; font-size: 13px; font-weight: 700; color: #8a4b00; margin-bottom: 8px; }
.editor-note p { margin: 0 0 10px; font-size: 16px; line-height: 1.55; }
.en-sig { font: 700 15px var(--display); color: #8a4b00; }
.side-cta { padding: 22px; border-radius: 18px; background: var(--surface); display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.side-cta h3 { font-size: 20px; line-height: 1.15; } .side-cta p { margin: 0 0 6px; color: var(--muted); font-size: 15px; }
.side-cta.red { background: var(--red); color: #fff; } .side-cta.red p { color: rgba(255,255,255,.88); }
.post-sec.fit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.post-sec.fit h3 { font-size: 20px; margin-bottom: 10px; }
.chips-s { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-s { padding: 8px 14px; border-radius: 999px; background: var(--surface); font-size: 15px; font-weight: 600; }
.chip-s.ok { background: #e8f6ee; color: #166534; }
.plain { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 17px; line-height: 1.5; }
.mistakes { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mistakes li { position: relative; padding: 14px 16px 14px 46px; border-radius: 14px; background: #fff0ee; font-size: 17px; line-height: 1.45; }
.mistakes li::before { content: "✕"; position: absolute; left: 16px; top: 13px; font-weight: 800; color: var(--red-text); }
.faq details { border: 1px solid var(--line); border-radius: 14px; padding: 0 18px; margin-bottom: 10px; background: #fff; }
.faq summary { cursor: pointer; padding: 16px 0; font: 700 17px var(--display); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 0 0 16px; color: var(--ink); opacity: .8; }
.ideas-deep { grid-template-columns: 1fr; }
.ideas-deep .idea { max-width: 640px; }
@media (max-width: 960px) { .post-grid { grid-template-columns: 1fr; gap: 0; } .post-side { position: static; } .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .post-sec.fit { grid-template-columns: 1fr; } .stats { margin-top: 24px; } }
