/* pmyeni blog list, tag archive and post (plan 03 Task 10). From NT blog.html:14-33 and blog-yazi.html:14-25; the
   excerpt is admin HTML in .pex (was a <p>), the city list holds links, the post page gets a sidebar column, and
   .blog-side, .comment and .entry-nav are new, built on site.css tokens. Tap targets: city links and chips >= 24 px,
   entry-nav links and the comment button >= 44 px. */
.page-head .eyebrow{display:block;color:var(--muted);margin-bottom:12px}
/* list */
.blog-list{padding-top:30px}
.posts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.post{display:flex;flex-direction:column;text-decoration:none;background:var(--surface);border:1px solid var(--line);border-radius:24px;overflow:hidden;transition:border-color .2s}
.post:hover{border-color:var(--accent)}
.pimg{aspect-ratio:16/10;background:var(--surface-2);overflow:hidden}
.pimg img{width:100%;height:100%;object-fit:cover;transition:transform .6s}
.post:hover .pimg img{transform:scale(1.04)}
.pbody{padding:18px;display:flex;flex-direction:column;gap:8px;flex:1;min-width:0}
.pbody h2{margin:0;font-size:22px;letter-spacing:-.015em;line-height:1.15;overflow-wrap:break-word}
.pex{color:var(--muted);font-size:14.5px;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.pex p{margin:0}
.pbody .more{margin-top:auto;font-weight:600;font-size:14px;color:var(--accent)}
.lead-post{grid-column:1/-1;flex-direction:row}
.lead-post .pimg{flex:1.1;aspect-ratio:auto;min-height:320px}
.lead-post .pbody{flex:1;padding:30px;justify-content:center}
.lead-post h2{font-size:clamp(28px,3.4vw,44px)}
.lead-post .more{margin-top:14px}
.cities{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:24px;padding:28px}
.cities h2{margin:8px 0 10px;font-size:clamp(26px,3vw,38px);letter-spacing:-.02em;line-height:1.05}
.cities .eyebrow{color:var(--muted)}
.cities ul{list-style:none;margin:0;padding:0;columns:4 120px;column-gap:16px;font-size:13.5px;color:var(--muted)}
.cities li{break-inside:avoid}
.cities a{display:inline-flex;align-items:center;min-height:26px;text-decoration:none}
.cities a:hover{color:var(--accent);text-decoration:underline}
/* post */
.post-head h1{font-size:clamp(36px,5.6vw,72px);margin-top:12px;overflow-wrap:break-word}
.post-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:40px;align-items:start;padding-top:24px}
.post-main{min-width:0}
.article{display:flex;flex-direction:column;gap:28px}
.cover{width:100%;aspect-ratio:16/8;border-radius:26px;overflow:hidden;background:var(--surface-2)}
.cover img{width:100%;height:100%;object-fit:cover}
.article .prose{width:100%;overflow-wrap:break-word}
.prose a{color:var(--accent);font-weight:600}
/* old-editor inline styles (Times font, white text backgrounds) give way to the theme; the HTML itself stays raw */
.article .prose :is(p,span,div,li,td,th,b,strong,em,i,u,a,h2,h3,h4){font-family:inherit!important;background-color:transparent!important}
/* GAP-AUDIT MISSED-13: inline link colours (style="color:blue", <font color>) and justified paragraphs of the old
   editor give way to the theme; the admin's underline, bold and centred/right-aligned text stay as written */
.article .prose a,.article .prose a :is(span,font,b,strong,em,i,u){color:var(--accent)!important}
.article .prose :is([style*="justify"],[align="justify"]){text-align:start!important}
.prose img,.prose video,.prose iframe{max-width:100%;height:auto}
.prose table{display:block;max-width:100%;overflow-x:auto}
.post-tags{display:flex;flex-wrap:wrap;gap:8px}
.post-tags .chip,.side-tags .chip{text-decoration:none;min-height:32px}
.post-tags .chip:hover,.side-tags .chip:hover{border-color:var(--accent);color:var(--accent)}
.entry-nav{display:grid;grid-template-columns:1fr auto 1fr;gap:10px;align-items:center;margin-top:36px;padding-block:14px;border-block:1px solid var(--line)}
.entry-nav a{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border:1px solid var(--line);border-radius:999px;background:var(--surface);text-decoration:none;font-weight:600;font-size:14px;white-space:nowrap}
.entry-nav a:hover{border-color:var(--fg)}
.entry-nav .prev{justify-self:start}
.entry-nav .all{justify-self:center}
.entry-nav .next{justify-self:end}
.comments{margin-top:40px}
.comments h2{margin:0 0 8px;font-size:clamp(24px,3vw,32px);letter-spacing:-.015em}
.comments h2 .count{display:inline-grid;place-items:center;min-width:30px;height:30px;padding:0 8px;margin-left:6px;border-radius:999px;background:var(--chip);font-size:15px;vertical-align:middle}
.comment{padding:16px 0;border-bottom:1px solid var(--line)}
.comment p{margin:6px 0;overflow-wrap:break-word}
.comment-form{display:flex;flex-direction:column;gap:10px;margin-top:20px}
.comment-form label{font-weight:600;font-size:14px}
.comment-form textarea{width:100%;min-height:120px;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:var(--surface);font:inherit;resize:vertical}
.comment-form .btn{align-self:flex-start}
.comments > .btn{margin-top:20px}
/* sidebar */
.blog-side{display:flex;flex-direction:column;gap:28px}
.side-block h2{margin:0 0 12px;font-size:18px;letter-spacing:-.01em}
.side-recent ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.side-recent a{display:flex;align-items:center;gap:12px;min-height:44px;text-decoration:none;font-weight:600;font-size:14px;line-height:1.3}
.side-recent a:hover span{color:var(--accent)}
.side-recent img{width:64px;height:64px;border-radius:12px;object-fit:cover;flex:none;background:var(--surface-2)}
.side-tags .chips{display:flex;flex-wrap:wrap;gap:8px}
.side-promo{display:flex;flex-direction:column;gap:10px;text-align:center;align-items:center}
.side-promo img{width:100%;height:auto;border-radius:14px}
.side-promo h3{margin:0;font-size:18px}
.side-promo-text{color:var(--muted);font-size:14px}
.side-promo-text p{margin:0}
/* "Diğer yazılar" */
.others{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.opost{display:flex;gap:12px;align-items:center;min-height:76px;text-decoration:none;background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:8px}
.opost:hover{border-color:var(--accent)}
.opost img{width:76px;height:76px;border-radius:12px;object-fit:cover;flex:none;background:var(--surface-2)}
.opost span{display:flex;flex-direction:column;gap:4px;min-width:0}
.opost b{font-size:15px;line-height:1.25;overflow-wrap:break-word}
@media (max-width:960px){.post-layout{grid-template-columns:1fr}}
@media (max-width:860px){.posts{grid-template-columns:1fr}.lead-post{flex-direction:column}.lead-post .pimg{min-height:220px}.lead-post .pbody{padding:18px}.cities{grid-template-columns:1fr;padding:20px}.cities ul{columns:2 120px}.others{grid-template-columns:1fr}.cover{aspect-ratio:4/3;border-radius:20px}}
@media (max-width:560px){.entry-nav{grid-template-columns:1fr 1fr}.entry-nav .all{grid-column:1/-1;grid-row:2}}
@media (prefers-reduced-motion: reduce){.pimg img,.post:hover .pimg img{transition:none;transform:none}}
