/* ===== Blog: kartlar, liste sayfası, yazı sayfası ===== */
.section-white { background: #fff; color: var(--text-dark); }
.section-white .eyebrow, .section-white .accent { color: var(--orange-ink); }
.section-white .section-head p { color: var(--gray-ink); }
.container--narrow { width: min(780px, 100% - 32px); }

/* İç sayfalarda üst menü baştan koyu zeminde */
.inner-page .site-header:not(.is-scrolled) { background: var(--night); }

/* Sayfa başlık bandı */
.page-hero {
  position: relative; overflow: hidden; color: #fff; background: var(--night);
  padding: calc(var(--header-h) + 44px) 0 40px;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px circle at 85% 0%, rgba(255, 106, 0, .14), transparent 60%),
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 56px 56px;
  -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent);
  mask-image: linear-gradient(180deg, #000 40%, transparent);
}
.page-hero > .container { position: relative; }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: 12px; }
.page-hero-text { max-width: 70ch; color: var(--gray); }
.page-hero-text a { color: var(--orange); }
.page-hero--small { padding-bottom: 32px; }

.cat-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.cat-filter a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: .5rem 1rem; border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: .88rem; color: #D3D6DA;
  border: 1px solid rgba(255, 255, 255, .18); transition: background-color .2s, border-color .2s, color .2s;
}
.cat-filter a span { font-size: .75rem; color: var(--gray); }
.cat-filter a:hover { border-color: var(--orange); }
.cat-filter a[aria-current] { background: var(--orange); border-color: var(--orange); color: var(--night); }
.cat-filter a[aria-current] span { color: rgba(11, 13, 16, .7); }

/* Kart ızgarası */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line-light); border-radius: 20px;
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), border-color .3s, box-shadow .3s;
}
.post-card:hover { transform: translateY(-4px); border-color: rgba(255, 106, 0, .5); box-shadow: 0 22px 44px -26px rgba(11, 13, 16, .45); }
.section-white .post-card { background: var(--offwhite); }

/* Görselsiz yazılarda kategoriye göre desenli kapak */
.post-cover {
  position: relative; aspect-ratio: 16 / 8; overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px) 0 0 / 28px 28px,
    var(--cover, linear-gradient(135deg, #202328, #0B0D10));
}
.post-cover::after {
  content: ""; position: absolute; right: -30px; bottom: -60px; width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 106, 0, .55), transparent 65%);
}
.post-cover.has-img::after { display: none; }
.post-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat-sosyal-medya { --cover: linear-gradient(135deg, #3A1F0D, #0B0D10 70%); }
.cat-seo-arama { --cover: linear-gradient(135deg, #1B2430, #0B0D10 70%); }
.cat-web-teknoloji { --cover: linear-gradient(135deg, #24262B, #0B0D10 70%); }
.cat-dijital-reklam { --cover: linear-gradient(135deg, #4A2508, #0B0D10 70%); }
.post-cat {
  position: absolute; left: 14px; top: 14px; z-index: 1;
  padding: .3rem .7rem; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em; color: #fff;
  background: rgba(11, 13, 16, .55); border: 1px solid rgba(255, 255, 255, .2);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}

.post-body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: .8rem; color: var(--gray-ink); }
.verify {
  display: inline-flex; align-items: center; gap: 5px;
  padding: .18rem .55rem; border-radius: 999px; font-size: .74rem; font-weight: 700;
  background: var(--offwhite); color: var(--gray-ink);
}
.section-white .post-card .verify { background: #fff; }
.verify .icon { width: 13px; height: 13px; stroke-width: 2.2; }
.verify--ok { background: rgba(34, 160, 90, .12) !important; color: #157346; }
.verify--editor { background: rgba(255, 106, 0, .12) !important; color: var(--orange-ink); }
.post-title { font-size: 1.12rem; line-height: 1.35; }
.post-title a { text-decoration: none; color: var(--text-dark); }
.post-title a::after { content: ""; position: absolute; inset: 0; } /* tüm kart tıklanabilir */
.post-card:hover .post-title a { color: var(--orange-ink); }
.post-excerpt { flex: 1; font-size: .92rem; color: var(--gray-ink); }
.post-sources { font-size: .78rem; color: #8A9097; }

.blog-list { padding-top: 48px; }
.pager { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 40px; font-weight: 600; }
.pager a { color: var(--orange-ink); text-decoration: none; }
.pager span { color: var(--gray-ink); font-size: .9rem; }

.empty-state { text-align: center; padding: 40px 0; }
.empty-state h2 { margin-bottom: 8px; }
.empty-state p { color: var(--gray-ink); }
.empty-state a { color: var(--orange-ink); }

.blog-note {
  display: flex; gap: 14px; align-items: flex-start;
  max-width: 820px; margin: 48px auto 0; padding: 18px 20px;
  background: #fff; border: 1px solid var(--line-light); border-radius: 16px;
  font-size: .9rem; color: var(--gray-ink);
}
.blog-note .icon { flex: none; color: var(--orange-ink); margin-top: 2px; }
.blog-note strong { color: var(--text-dark); }

/* ===== Yazı sayfası ===== */
.preview-bar {
  position: relative; z-index: 1; margin-top: var(--header-h);
  padding: 10px 16px; text-align: center; font-size: .9rem; font-weight: 600;
  background: #FFF3E8; color: var(--orange-ink); border-bottom: 1px solid #FFD9BF;
}
.preview-bar a { color: inherit; }
.preview-bar + .article .article-head { padding-top: 40px; }

.article { background: #fff; color: var(--text-dark); }
.article-head { background: var(--night); color: #fff; padding: calc(var(--header-h) + 40px) 0 36px; }
.crumbs { font-size: .85rem; color: var(--gray); margin-bottom: 14px; }
.crumbs a { color: var(--gray); text-decoration: none; }
.crumbs a:hover { color: var(--orange); }
.article-head h1 { font-size: clamp(1.8rem, 4vw, 2.7rem); line-height: 1.15; margin-bottom: 16px; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: .88rem; color: var(--gray); }
.article-meta > span:not(.verify) { display: inline-flex; align-items: center; gap: 6px; }
.article-meta .icon { width: 15px; height: 15px; }
.article-meta .verify { background: rgba(255, 255, 255, .08); color: #D3D6DA; }
.article-meta .verify--ok { background: rgba(74, 222, 128, .14) !important; color: #8BE5AE; }
.article-meta .verify--editor { background: rgba(255, 106, 0, .16) !important; color: #FFB27A; }

.article-body { padding: 40px 0 72px; }
.article-cover { width: 100%; border-radius: 18px; margin-bottom: 28px; }
.article-lead { font-size: 1.15rem; line-height: 1.7; color: #2A2D33; margin-bottom: 24px; }
.prose { font-size: 1.04rem; line-height: 1.8; color: #2A2D33; }
.prose h2 { font-size: 1.5rem; margin: 36px 0 12px; }
.prose h3 { font-size: 1.2rem; margin: 28px 0 10px; }
.prose p { margin-bottom: 16px; }
.prose ul { list-style: disc; padding-left: 1.3em; margin-bottom: 16px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--orange-ink); }

.sources { margin-top: 36px; padding: 26px; border-radius: 18px; background: var(--offwhite); border: 1px solid var(--line-light); }
.sources h2 { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; margin-bottom: 8px; }
.sources h2 span { padding: .1rem .55rem; border-radius: 999px; font-size: .8rem; background: var(--night); color: #fff; }
.sources-note { font-size: .9rem; color: var(--gray-ink); margin-bottom: 16px; }
.sources ol { display: grid; gap: 10px; margin-bottom: 20px; }
.sources li a {
  display: grid; gap: 2px; padding: 14px 16px; border-radius: 12px; text-decoration: none;
  background: #fff; border: 1px solid var(--line-light); color: var(--text-dark); transition: border-color .2s;
}
.sources li a:hover { border-color: var(--orange); }
.src-name { font-size: .76rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--orange-ink); }
.src-title { font-weight: 600; line-height: 1.4; }
.src-meta { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; color: #8A9097; }
.src-meta .icon { width: 13px; height: 13px; }

.article-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  margin-top: 36px; padding: 26px; border-radius: 18px; background: var(--night); color: #fff;
}
.article-cta h2 { font-size: 1.25rem; margin-bottom: 4px; }
.article-cta p { color: var(--gray); font-size: .95rem; }

.related-title { font-size: 1.6rem; margin-bottom: 24px; }

@media (max-width: 960px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .post-grid { grid-template-columns: 1fr; }
  .article-body { padding-top: 28px; }
  .sources, .article-cta { padding: 20px; }
}
