/* WordPress'e özgü sayfalar: blog, araştırmalar, genel sayfalar, peptit özeti */

.listpage { padding-block: 24px 64px; }

/* Blog listesi */
.plist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pitem { display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.pitem__img { display: block; margin: -20px -20px 4px; border-radius: var(--r-lg) var(--r-lg) 0 0; overflow: hidden; aspect-ratio: 16 / 9; background: var(--surface-2); }
.pitem__img img { width: 100%; height: 100%; object-fit: cover; }
.pitem__meta { font-size: .8125rem; font-weight: 700; color: var(--ink-3); }
.pitem__title { font-size: 1.1875rem; font-weight: 800; line-height: 1.3; letter-spacing: -.015em; }
.pitem__title a { text-decoration: none; }
.pitem__title a:hover { color: var(--blue-ink); }
.pitem__text { font-size: .9375rem; color: var(--ink-2); }

/* Araştırma listesi */
.rlist { display: grid; gap: 12px; max-width: 860px; }
.rcard { display: grid; gap: 6px; padding: 20px 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.rcard__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: .875rem; color: var(--ink-3); }
.rcard__title { font-size: 1.1875rem; font-weight: 800; line-height: 1.35; letter-spacing: -.01em; }
.rcard__title a { text-decoration: none; }
.rcard__title a:hover { color: var(--blue-ink); }
.rcard__text { font-size: .9375rem; color: var(--ink-2); }
.rcard__peps { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .875rem; color: var(--ink-3); }

/* Makale (blog yazısı, araştırma, genel sayfa) */
.article { max-width: 780px; padding-bottom: 64px; }
.article__head { padding-top: 18px; }
.article__head h1 { margin-top: 10px; font-size: clamp(2rem, 1.6rem + 1.4vw, 2.75rem); font-weight: 800; line-height: 1.12; letter-spacing: -.03em; }
.article__meta { margin-top: 10px; font-size: .9375rem; color: var(--ink-3); }
.article__img { margin-top: 24px; border-radius: var(--r-lg); overflow: hidden; }
.article .tech { margin-top: 20px; }

.entry-content { margin-top: 24px; color: var(--ink-2); }
.entry-content > * + * { margin-top: 1em; }
.entry-content h2 { margin-top: 1.8em; font-size: 1.625rem; font-weight: 800; line-height: 1.25; letter-spacing: -.02em; color: var(--ink); }
.entry-content h3 { margin-top: 1.5em; font-size: 1.25rem; font-weight: 800; color: var(--ink); }
.entry-content a { color: var(--blue-ink); font-weight: 650; text-underline-offset: 3px; }
.entry-content strong { color: var(--ink); }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li + li { margin-top: .4em; }
.entry-content blockquote { margin: 1.4em 0; padding: 14px 18px; border-left: 4px solid var(--blue); border-radius: 0 var(--r-sm) var(--r-sm) 0; background: var(--surface); font-weight: 600; color: var(--ink); }
.entry-content img, .entry-content figure { max-width: 100%; height: auto; border-radius: var(--r); }
.entry-content figcaption { margin-top: 6px; font-size: .875rem; color: var(--ink-3); }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.entry-content th, .entry-content td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }

/* Ayrıntı sayfası olmayan peptit */
.psummary { max-width: 780px; padding-bottom: 64px; }
.psummary .sheet__facts { margin-top: 24px; }
.psummary__pending { margin-top: 16px; font-weight: 650; color: var(--ink-3); }
.psummary .psec { margin-top: 40px; }

/* Sayfalama */
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.nav-links .page-numbers { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); font-weight: 700; text-decoration: none; }
.nav-links .current { background: var(--ink); border-color: var(--ink); color: #fff; }

/* WordPress hizalama sınıfları */
.alignleft { float: left; margin: 0 1.2em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.2em; }
.aligncenter { margin-inline: auto; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Yönetici çubuğu açıkken yapışkan öğeler altında kalmasın */
.admin-bar .pagebar { top: 32px; }
@media (max-width: 782px) { .admin-bar .pagebar { top: 46px; } }

@media (max-width: 960px) { .plist { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .plist { grid-template-columns: minmax(0, 1fr); } }
