/* Blog pages: list, post hero and post layout, built from the site's existing
   tokens and components. The post body itself is styled in post-content.css. */

.page-hero-blog { background:radial-gradient(circle at 80% 14%,#c9f1ff,transparent 34%),linear-gradient(135deg,#e7ffd2,#fff0c4 50%,#ffd3e6); }
html[data-theme="night"] .page-hero-blog { background:radial-gradient(circle at 80% 14%,rgba(110,200,255,.16),transparent 34%),linear-gradient(135deg,#17231c,#2a2418 50%,#2a1824); }

.blog-grid .catalog-image { aspect-ratio:1.9; }
.blog-grid .catalog-copy h2 { margin:38px 0 14px; font-size:clamp(1.6rem,2.8vw,2.6rem); }
.blog-grid .catalog-copy h2 a { text-decoration:none; }
.blog-grid .catalog-copy h2 a::after { content:""; position:absolute; inset:0; }
.blog-grid .catalog-card { position:relative; }
.blog-grid .catalog-card ul { position:relative; z-index:1; }
.blog-tag-link { color:inherit; text-decoration:none; }
.blog-tag-link:hover { text-decoration:underline; text-underline-offset:3px; }
.blog-grid-text .catalog-copy h2 { margin-top:18px; }

.post-hero h1 { font-size:clamp(3rem,7.4vw,7.4rem); line-height:.9; letter-spacing:-.07em; max-width:15ch; }
.post-meta { position:relative; z-index:1; display:flex; flex-wrap:wrap; gap:8px 18px; margin:0; font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:.08em; }
.post-meta a { text-decoration:underline; text-underline-offset:3px; }
.post-meta .nw, .blog-grid .nw { white-space:nowrap; }
.blog-grid .catalog-index { flex-wrap:wrap; row-gap:4px; }
.blog-grid .catalog-index > span:last-child { white-space:nowrap; }
.post-draft-banner { margin:0; padding:12px clamp(24px,5vw,76px); background:var(--acid); color:#252239; font-size:.78rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; }

.post-layout { display:grid; grid-template-columns:minmax(0,1fr); justify-items:center; }
.post-layout .post-body { width:min(720px,100%); }
.post-cover { width:min(1100px,100%); margin:0 0 clamp(40px,6vw,80px); border:1px solid var(--line); overflow:hidden; }
.post-cover img { display:block; width:100%; height:auto; }


.post-footer { width:min(720px,100%); margin-top:clamp(40px,6vw,72px); padding-top:28px; border-top:1px solid var(--line); display:flex; flex-wrap:wrap; justify-content:space-between; gap:18px; align-items:center; }
.post-footer ul { display:flex; flex-wrap:wrap; gap:7px; list-style:none; margin:0; padding:0; }
.post-footer li a { display:inline-block; border:1px solid var(--line); border-radius:99px; padding:6px 9px; font-size:.62rem; text-transform:uppercase; letter-spacing:.06em; }
.post-footer li a:hover { border-color:var(--ink); }

.blog-feed-link { font-size:.72rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; text-decoration:underline; text-underline-offset:4px; }

@media (max-width:740px) {
  .post-hero h1 { font-size:clamp(2.6rem,12vw,4.2rem); }
}
