/* ASAY blog/duyuru — makale & liste stilleri (design-03 token'larıyla) */

.socials--mt { margin-top: 1.1rem; }
.credit-link { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* Sayfa başlığı / hero */
.page-hero { padding: clamp(3rem, 7vw, 5rem) 0 1.5rem; }
.page-hero .eyebrow { margin-bottom: .7rem; }
.page-hero h1 {
  font-family: var(--f-head); font-weight: 700; letter-spacing: -.02em;
  font-size: clamp(2rem, 1rem + 4.4vw, 3.4rem); line-height: 1.07; margin: 0 0 .6rem;
}
.page-hero p.lead { color: var(--muted); max-width: 60ch; font-size: 1.05rem; }

/* Breadcrumb */
.crumbs { font-family: var(--f-mono); font-size: .8rem; color: var(--muted-2); margin-bottom: 1rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--cyan); }
.crumbs span { color: var(--line); margin: 0 .35rem; }

/* Arama kutusu */
.blog-search { display: flex; gap: .6rem; margin: 1.6rem 0 2.4rem; flex-wrap: wrap; }
.blog-search input[type=search] {
  flex: 1 1 260px; background: var(--panel); border: 1px solid var(--line); color: var(--text);
  border-radius: var(--radius-sm); padding: .7rem 1rem; font: inherit;
}
.blog-search input[type=search]:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; border-color: var(--cyan); }

/* Liste grid + kart */
.post-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }

.post-card {
  display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.post-card:hover { transform: translateY(-4px); border-color: rgba(34,211,238,.4); box-shadow: var(--glow-cyan); }
.post-card .thumb { aspect-ratio: 16/9; background: var(--ink-2); display: block; overflow: hidden; position: relative; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card .thumb.noimg { display: flex; align-items: center; justify-content: center; background: var(--grad-soft); }
.post-card .thumb.noimg span { font-family: var(--f-mono); color: var(--cyan); font-size: .8rem; }
.post-card .pc-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.post-card .pc-cat { font-family: var(--f-mono); font-size: .72rem; color: var(--cyan); letter-spacing: .04em; }
.post-card h3 { font-family: var(--f-head); font-size: 1.12rem; line-height: 1.25; margin: 0; }
.post-card h3 a { color: var(--text); text-decoration: none; }
.post-card:hover h3 a { color: #fff; }
.post-card p { color: var(--muted); font-size: .92rem; margin: 0; flex: 1; }
.post-card .pc-meta { font-family: var(--f-mono); font-size: .72rem; color: var(--muted-2); display: flex; gap: .8rem; }

/* Sayfalama */
.pager { display: flex; gap: .5rem; justify-content: center; margin: 2.6rem 0 1rem; flex-wrap: wrap; }
.pager a, .pager span {
  min-width: 42px; text-align: center; padding: .55rem .8rem; border-radius: var(--radius-sm);
  border: 1px solid var(--line); color: var(--muted); text-decoration: none; font-family: var(--f-mono); font-size: .85rem;
}
.pager a:hover { border-color: var(--cyan); color: var(--cyan); }
.pager .cur { background: var(--grad); color: #04121e; border-color: transparent; font-weight: 700; }

.empty-state { text-align: center; color: var(--muted); padding: 3rem 1rem; }

/* Tekil makale */
.article { max-width: 760px; margin: 0 auto; }
.article-head { padding: clamp(2.4rem,5vw,3.6rem) 0 1.2rem; }
.article-head h1 {
  font-family: var(--f-head); font-weight: 700; letter-spacing: -.02em;
  font-size: clamp(1.8rem, 1rem + 3.8vw, 3rem); line-height: 1.1; margin: .4rem 0 .8rem;
}
.article-meta { font-family: var(--f-mono); font-size: .8rem; color: var(--muted-2); display: flex; flex-wrap: wrap; gap: 1rem; }
.article-meta .cat { color: var(--cyan); }
.article-cover { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); margin: 1.6rem 0; aspect-ratio: 16/9; object-fit: cover; }

/* Makale gövdesi tipografisi */
.post-body { color: var(--text); font-size: 1.06rem; line-height: 1.8; }
.post-body p { margin: 0 0 1.2rem; }
.post-body h2 { font-family: var(--f-head); font-size: 1.6rem; margin: 2.2rem 0 .9rem; line-height: 1.2; }
.post-body h3 { font-family: var(--f-head); font-size: 1.3rem; margin: 1.8rem 0 .7rem; }
.post-body h4 { font-family: var(--f-head); font-size: 1.1rem; margin: 1.5rem 0 .6rem; }
.post-body a { color: var(--cyan); text-underline-offset: 3px; }
.post-body ul, .post-body ol { margin: 0 0 1.2rem 1.3rem; }
.post-body li { margin: .35rem 0; }
.post-body img { max-width: 100%; height: auto; border-radius: var(--radius-sm); border: 1px solid var(--line); margin: 1.2rem 0; }
.post-body blockquote {
  margin: 1.4rem 0; padding: .8rem 1.2rem; border-left: 3px solid var(--cyan);
  background: var(--grad-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--text);
}
.post-body pre { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem; overflow: auto; font-family: var(--f-mono); font-size: .88rem; margin: 0 0 1.2rem; }
.post-body code { font-family: var(--f-mono); font-size: .9em; background: var(--ink-2); padding: .12em .4em; border-radius: 5px; }
.post-body pre code { background: none; padding: 0; }
.post-body table { width: 100%; border-collapse: collapse; margin: 0 0 1.2rem; font-size: .95rem; }
.post-body th, .post-body td { border: 1px solid var(--line); padding: .55rem .7rem; text-align: left; }
.post-body th { background: var(--panel-2); }
.post-body hr { border: none; border-top: 1px solid var(--line); margin: 2rem 0; }

.tag-row { display: flex; flex-wrap: wrap; gap: .5rem; margin: 2rem 0; }
.tag-row .tag { font-family: var(--f-mono); font-size: .78rem; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: .3rem .8rem; }

/* "Diğer yazılar" */
.more-posts { margin-top: 3rem; border-top: 1px solid var(--line); padding-top: 2rem; }
