/* Blog index (blog.html). Built on the catalog page system (produk.css): hero copy + search field,
   category rail, count line, 1px-hairline card grid, empty state, closing banner. Additions here:
   the hero scene frame (shared .nwh-hero, scene drawn by product.js), the latest-articles strip,
   category groups with their archive link, and article meta (date · author) on the catalog card. */

/* hero: the isometric blog scene (product.js "blog") in the shared .nwh-hero frame; the search
   field stays in the hero copy. Latest articles and category jumps sit in their own strip below. */
.blog-hero .catalog-search{max-width:520px}

/* latest articles strip (moved from the former hero console) */
.blog-latest-section{padding-top:56px;padding-bottom:8px}
.blog-latest-grid{list-style:none;margin:0;padding:0;grid-template-columns:repeat(4,minmax(0,1fr))}
.blog-latest-item{display:flex;min-width:0}
.blog-latest-item>.catalog-card{flex:1;display:flex;flex-direction:column;min-height:208px}
.blog-latest-item.is-lead{grid-column:span 2}
.blog-latest-item.is-lead h3{font-size:28px;line-height:36px;letter-spacing:-.025em;margin-right:40px}
.blog-latest-cats{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:20px}
.blog-latest-cats>.technical{margin-right:8px;font-size:12px;line-height:18px;color:var(--muted)}
.blog-latest-cats a{padding:4px 10px;border:1px solid var(--line);font-size:12px;line-height:18px;color:var(--muted);transition:border-color .2s,color .2s,background .2s}
.blog-latest-cats a:hover,.blog-latest-cats a:focus-visible{border-color:var(--primary);color:var(--primary-text);background:var(--primary-soft);outline:none}

/* article list: one group per category */
.blog-list{min-width:0}
.blog-group{scroll-margin-top:136px}
.blog-group[hidden]{display:none}
.blog-group-head{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:8px 24px;margin-bottom:16px}
:root body .blog-group-head h2{margin:0;font-size:24px;line-height:32px;letter-spacing:-.02em}
.blog-group-head .text-link{font-size:14px;line-height:20px;gap:12px}
.blog-group:not([hidden])~.blog-group:not([hidden]){margin-top:48px}

/* article card = catalog card + meta line */
.catalog-layout-page .blog-card{min-height:208px}
.blog-card[hidden]{display:none}
.catalog-layout-page .blog-card h3{text-wrap:pretty}
.blog-card .blog-meta{display:flex;flex-wrap:wrap;gap:2px 8px;margin-top:auto;padding-top:12px;font-size:12px;line-height:18px;color:var(--muted)}
.blog-card .blog-meta time{color:var(--ink)}
.blog-card:focus-visible{outline:2px solid var(--primary);outline-offset:-2px}

.blog-source{margin:48px 0 0;padding-top:20px;border-top:1px solid var(--line);font-size:13px;line-height:20px;color:var(--muted)}
.blog-source .text-link{display:inline-flex;font-size:13px;gap:8px}

@media(max-width:1150px){
  .blog-latest-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .blog-latest-item.is-lead{grid-column:1/-1}
}
@media(max-width:960px){
  .blog-group{scroll-margin-top:128px}
}
@media(max-width:700px){
  .blog-latest-item.is-lead h3{font-size:22px;line-height:30px}
  .blog-group:not([hidden])~.blog-group:not([hidden]){margin-top:40px}
  :root body .blog-group-head h2{font-size:20px;line-height:28px}
  .catalog-layout-page .blog-card{min-height:0}
  .blog-latest-grid{grid-template-columns:minmax(0,1fr)}
  .blog-latest-item>.catalog-card{min-height:0}
  .blog-latest-section{padding-top:40px}
}
