/* Blog index — the filter pills and the post grid, moved verbatim from
   page-resources.css when the blog got its own page. (Not blog.css: that is the
   shared engine for individual posts.) The featured post is the global
   .feat-post in styles.css. */

/* Filter pills */
.topic-bar { display: flex; gap: 8px; flex-wrap: wrap; margin: 56px 0 32px; }
.topic-pill { padding: 8px 16px; font-size: 13px; border-radius: var(--r-pill); border: 1px solid var(--rule); background: var(--white); color: var(--ink-2); transition: all 0.15s; cursor: pointer; }
.topic-pill:hover { border-color: var(--ink); }
.topic-pill.active { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* Articles */
.articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article { text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 14px; transition: transform 0.15s; }
.article:hover { transform: translateY(-3px); }
.article:hover h4 { color: var(--blue); }
.art-illust {
  min-height: 248px;
  border-radius: var(--r-md);
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 24px;
  display: flex; flex-direction: column; justify-content: space-between;
  font-family: var(--mono);
  font-size: var(--t-micro); color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
  overflow: hidden;
}
.art-illust .wash {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.4;
  z-index: 1;
}
.art-illust .row { position: relative; z-index: 2; display: flex; justify-content: space-between; }
.art-illust .ttl {
  position: relative; z-index: 2;
  font-family: var(--sans); font-size: 22px;
  letter-spacing: -0.012em;
  color: var(--ink); line-height: 1.1;
  text-transform: none;
  font-weight: 600;
  margin: auto 0;
}
.article .meta { font-family: var(--mono); font-size: var(--t-micro); color: var(--ink-3); letter-spacing: 0.04em; display: flex; gap: 10px; align-items: center; }
.article .meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-4); }
.article h4 { font-size: 20px; letter-spacing: -0.012em; line-height: 1.2; transition: color 0.15s; }
.article p { font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.article .art-author { font-family: var(--mono); font-size: var(--t-micro); letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); margin-top: 2px; }

/* New with the split: the note shown under the pills for Company news. */
.topic-note { font-size: var(--t-small); color: var(--ink-3); margin: 0 0 24px; }

/* The featured post opens this page, directly under the hero, so it needs
   neither the section's top padding nor its own top margin. */
.blog-index { padding-top: 0; }
.blog-index .feat-post { margin-top: 0; }

@media (max-width: 1100px) {
  .articles { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .articles { grid-template-columns: 1fr; }
}
