/*
 * tech-storefront — small shared classes (Balanced + Regular + Light only).
 *
 * Single file for cross-cutting bits: breadcrumb, feature strip, trending chips,
 * chip, soft, eyebrow, mono, muted. Anything that's reused across more than one
 * surface and doesn't deserve its own stylesheet lives here.
 */

/* ------------------------------------------------------------------
 * Utility text classes
 * ------------------------------------------------------------------ */

.soft    { color: var(--ink-3); }
.muted   { color: var(--ink-3); }
.mono    { font-family: var(--font-mono); }
.eyebrow {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--ink-3);
}

/* ------------------------------------------------------------------
 * Breadcrumb
 * ------------------------------------------------------------------ */

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  color: var(--ink-3);
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 1rem 0;
  font-family: var(--font-sans);
}
.breadcrumb a {
  color: var(--ink-2);
  text-decoration: none;
  transition: color 160ms ease;
}
.breadcrumb a:hover { color: var(--brand); text-decoration: none; }
.breadcrumb [aria-current="page"] { color: var(--ink); font-weight: 500; }

/* ------------------------------------------------------------------
 * Feature strip (trust row)
 * ------------------------------------------------------------------ */

.feat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 1280px;
  margin: 1.5rem auto;
  padding: 0 1rem;
  font-family: var(--font-sans);
}

.feat-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.feat-item:hover { border-color: var(--line-2); box-shadow: var(--shadow); }

.feat-ico {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}
.feat-ico.tone-brand    { background: var(--brand-soft);    color: var(--brand); }
.feat-ico.tone-accent   { background: var(--accent-soft);   color: var(--accent); }
.feat-ico.tone-accent-2 { background: var(--accent-2-soft); color: var(--accent-2); }

.feat-title {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--ink);
  line-height: 1.3;
}
.feat-sub {
  font-size: 0.8125rem;
  color: var(--ink-3);
  line-height: 1.3;
}

@media (max-width: 900px) {
  .feat-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .feat-strip { grid-template-columns: 1fr; }
}

/* T-208: feat-strip stays 2-col on mobile — never collapses to 1 */

.feat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 16px auto;
  max-width: 1280px;
  width: 100%;
}

@media (max-width: 1100px) {
  .feat-strip {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }
}

@media (max-width: 760px) {
  .feat-strip {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px;
  }
}

@media (max-width: 440px) {
  .feat-strip {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px;
  }
}

/* Tighten each feat-item so 2 columns fit comfortably at 360-440px viewports */
@media (max-width: 760px) {
  .feat-strip .feat-item {
    padding: 10px;
    gap: 8px;
  }

  .feat-strip .feat-ico {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
  }

  .feat-strip .feat-title {
    font-size: 12px;
    line-height: 1.25;
  }

  .feat-strip .feat-sub {
    font-size: 11px;
    line-height: 1.3;
  }
}

/* ------------------------------------------------------------------
 * Trending chips
 * ------------------------------------------------------------------ */

.trending-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  font-family: var(--font-sans);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}
.chip:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
  text-decoration: none;
}
.chip.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--paper);
}

/* ==================================================================
 * T-106 — Wishlist / Contact / Services / Categories / Brands /
 *         Search / Blog
 *
 * All helper classes (.btn, .lede, .page-head, .pill, .small) are scoped
 * to their owning wrap so they don't leak across surfaces — matches the
 * convention in cart.css. .wrap is shared, but bedded in the surface
 * selector via `.<surface>-wrap.wrap`.
 * ================================================================== */

/* ------------------------------------------------------------------
 * Shared wrap + page-head used by all T-106 surfaces
 * ------------------------------------------------------------------ */

.wishlist-wrap.wrap,
.contact-wrap.wrap,
.services-wrap.wrap,
.dir-wrap.wrap,
.brands-wrap.wrap,
.search-wrap.wrap,
.blog-wrap.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem 3rem;
  font-family: var(--font-sans);
  color: var(--ink);
}

.wishlist-wrap .page-head,
.contact-wrap .page-head,
.services-wrap .page-head,
.dir-wrap .page-head,
.brands-wrap .page-head,
.search-wrap .page-head,
.blog-wrap .page-head {
  padding: 1.5rem 0 1.25rem;
  margin: 0 0 1.5rem;
  border-bottom: 1px solid var(--line);
}
.wishlist-wrap .page-head h1,
.contact-wrap .page-head h1,
.services-wrap .page-head h1,
.dir-wrap .page-head h1,
.brands-wrap .page-head h1,
.search-wrap .page-head h1,
.blog-wrap .page-head h1 {
  font-size: 2rem;
  margin: 0.25rem 0 0.5rem;
}
.wishlist-wrap .page-head .lede,
.contact-wrap .page-head .lede,
.services-wrap .page-head .lede,
.dir-wrap .page-head .lede,
.brands-wrap .page-head .lede,
.search-wrap .page-head .lede,
.blog-wrap .page-head .lede {
  color: var(--ink-2);
  font-size: 1.0625rem;
  line-height: 1.5;
  margin: 0;
  max-width: 60ch;
}
.wishlist-wrap .page-head .eyebrow,
.contact-wrap .page-head .eyebrow,
.services-wrap .page-head .eyebrow,
.dir-wrap .page-head .eyebrow,
.brands-wrap .page-head .eyebrow,
.blog-wrap .page-head .eyebrow {
  margin-bottom: 0.4rem;
}

/* Scoped .btn helpers — same shape as cart/checkout. */
.wishlist-wrap .btn,
.contact-wrap .btn,
.services-wrap .btn,
.blog-wrap .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
.wishlist-wrap .btn.primary,
.contact-wrap .btn.primary,
.services-wrap .btn.primary,
.blog-wrap .btn.primary {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--paper);
}
.wishlist-wrap .btn.primary:hover,
.contact-wrap .btn.primary:hover,
.services-wrap .btn.primary:hover,
.blog-wrap .btn.primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--paper);
  text-decoration: none;
}
.wishlist-wrap .btn.ghost,
.contact-wrap .btn.ghost,
.services-wrap .btn.ghost,
.blog-wrap .btn.ghost {
  background: var(--paper);
  border-color: var(--line);
  color: var(--ink-2);
}
.wishlist-wrap .btn.ghost:hover,
.contact-wrap .btn.ghost:hover,
.services-wrap .btn.ghost:hover,
.blog-wrap .btn.ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
}
.blog-wrap .btn.primary.sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.875rem;
}

/* Scoped .small + .pill shared across blog/search */
.blog-wrap .small,
.search-wrap .small { font-size: 0.8125rem; }

.blog-wrap .pill,
.search-wrap .pill {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.blog-wrap .pill.outline,
.search-wrap .pill.outline {
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink-2);
  text-transform: none;
  letter-spacing: normal;
  font-weight: 500;
}

/* Empty-state fallback for non-product search results (shop.css doesn't
 * load on those pages). Mirrors the .archive-empty in shop.css. */
.search-wrap .archive-empty,
.dir-wrap .archive-empty,
.brands-wrap .archive-empty,
.blog-wrap .archive-empty {
  padding: 2.5rem 1rem;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
}
.search-wrap .archive-empty p,
.dir-wrap .archive-empty p,
.brands-wrap .archive-empty p,
.blog-wrap .archive-empty p {
  font-size: 1rem;
  color: var(--ink-2);
  margin: 0 0 1rem;
}

/* ------------------------------------------------------------------
 * Wishlist
 * ------------------------------------------------------------------ */

.wishlist-head {
  padding: 1.5rem 0 1.25rem;
  margin: 0 0 1.5rem;
  border-bottom: 1px solid var(--line);
}
.wishlist-head h1 { font-size: 2rem; margin: 0 0 0.25rem; }
.wishlist-head .muted { margin: 0; font-size: 0.875rem; }

.wishlist-empty {
  text-align: center;
  padding: 3rem 1rem;
  background: var(--paper-2);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--ink-2);
}
.wishlist-empty .tech-icon { margin: 0 auto 0.75rem; color: var(--ink-3); }
.wishlist-empty h2 { font-size: 1.25rem; margin: 0 0 0.5rem; color: var(--ink); }
.wishlist-empty p { margin: 0 0 1rem; }

/* ------------------------------------------------------------------
 * Contact
 * ------------------------------------------------------------------ */

.contact-flash {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.9375rem;
  margin: 0 0 1.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  margin-bottom: 3rem;
}

.contact-cards {
  display: grid;
  gap: 1rem;
}
.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.contact-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  color: var(--ink);
}
.contact-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}
.contact-card li {
  font-size: 0.9375rem;
  color: var(--ink-2);
}
.contact-card a { color: var(--ink-2); }
.contact-card a:hover { color: var(--accent); }
.contact-card .btn.primary { width: 100%; }
.social-chips {
  display: flex !important;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.social-chips li { margin: 0; }

.contact-form-wrap {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.contact-form-wrap h3 {
  margin: 0 0 1rem;
  font-size: 1.0625rem;
}
.contact-form {
  display: grid;
  gap: 1rem;
}
.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-2);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink);
  font-size: 0.9375rem;
  font-family: inherit;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.contact-form textarea { resize: vertical; min-height: 8rem; }
.contact-form button[type="submit"] { justify-self: start; }

.faq-section {
  border-top: 1px solid var(--line);
  padding-top: 2rem;
}
.faq-section h2 {
  font-size: 1.5rem;
  margin: 0 0 1rem;
}
.faq-section details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  margin: 0 0 0.5rem;
  background: var(--paper);
}
.faq-section details[open] { border-color: var(--line-2); }
.faq-section summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
}
.faq-section summary::-webkit-details-marker { display: none; }
.faq-section summary::after {
  content: '+';
  float: right;
  color: var(--ink-3);
  font-weight: 400;
  transition: transform 160ms ease;
}
.faq-section details[open] summary::after { content: '−'; }
.faq-section details > *:not(summary) {
  margin-top: 0.75rem;
  color: var(--ink-2);
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 1.25rem; }
}

/* ------------------------------------------------------------------
 * Services
 * ------------------------------------------------------------------ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-bottom: 3rem;
}
.svc-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.svc-card:hover {
  border-color: var(--line-2);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.svc-ico {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}
.svc-card h3 { margin: 0; font-size: 1.0625rem; }
.svc-card .more {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--brand);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  padding-top: 0.5rem;
}
.svc-card .more:hover { color: var(--accent); text-decoration: none; }

.svc-cta {
  text-align: center;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
}
.svc-cta h2 { font-size: 1.5rem; margin: 0 0 0.5rem; }
.svc-cta p { margin: 0 0 1.25rem; max-width: 50ch; margin-left: auto; margin-right: auto; }
.svc-cta-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* ------------------------------------------------------------------
 * Categories directory
 * ------------------------------------------------------------------ */

.dir-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1.5rem;
}

.dept-grid-full {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.dept-tile {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  scroll-margin-top: 80px; /* offset for sticky header anchor jumps */
}
.dept-tile > header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
}
.dept-tile .glyph {
  font-size: 1.5rem;
  line-height: 1;
}
.dept-tile h3 {
  margin: 0;
  font-size: 1.0625rem;
}
.dept-tile h3 a { color: var(--ink); text-decoration: none; }
.dept-tile h3 a:hover { color: var(--brand); text-decoration: none; }
.dept-tile .more {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--brand);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
}
.dept-tile .more:hover { color: var(--accent); text-decoration: none; }
.dept-tile > p.muted { margin: 0; font-size: 0.8125rem; }
.dept-tile ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.25rem;
}
.dept-tile ul li a {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0.5rem;
  border-radius: var(--radius-sm);
  color: var(--ink-2);
  font-size: 0.875rem;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}
.dept-tile ul li a:hover {
  background: var(--paper-2);
  color: var(--ink);
  text-decoration: none;
}
.dept-tile .ct {
  color: var(--ink-3);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}

/* ------------------------------------------------------------------
 * Brands A-Z
 * ------------------------------------------------------------------ */

.brand-search-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.85rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin: 0 0 1rem;
  color: var(--ink-3);
}
.brand-search-bar input {
  flex: 1 1 auto;
  border: 0;
  outline: none;
  background: transparent;
  font: inherit;
  color: var(--ink);
  font-size: 0.9375rem;
}

.brand-az {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding: 0.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin: 0 0 1.5rem;
  position: sticky;
  top: 0;
  z-index: 5;
}
.brand-az-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.75rem;
  height: 1.75rem;
  padding: 0 0.4rem;
  border-radius: var(--radius-sm);
  color: var(--ink-2);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}
.brand-az-link:hover {
  background: var(--brand-soft);
  color: var(--brand);
  text-decoration: none;
}
.brand-az-link.is-disabled {
  color: var(--line-2);
  pointer-events: none;
}

.brand-letters {
  display: grid;
  gap: 2rem;
}
.brand-letter {
  scroll-margin-top: 80px;
}
.brand-letter h3 {
  font-size: 1.5rem;
  color: var(--ink-3);
  margin: 0 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
}

.row-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.75rem;
}
.brand-tile {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  padding: 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink-2);
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.brand-tile:hover {
  border-color: var(--line-2);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  text-decoration: none;
}
.brand-tile img {
  max-height: 50px;
  width: auto;
  object-fit: contain;
}
.brand-tile-name {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--ink);
  text-align: center;
}
.brand-tile .ct {
  position: absolute;
  top: 0.4rem;
  right: 0.5rem;
  font-size: 0.6875rem;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}

/* ------------------------------------------------------------------
 * Search results
 * ------------------------------------------------------------------ */

.search-wrap .prod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.post-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.post-card:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.post-card-thumb {
  display: block;
  aspect-ratio: 16 / 9;
  background: var(--paper-2);
  overflow: hidden;
}
.post-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-card-thumb-fallback {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, var(--paper-2) 0%, var(--line) 100%);
}
.post-card-body {
  padding: 1rem;
  display: grid;
  gap: 0.35rem;
}
.post-card-body h3 {
  margin: 0;
  font-size: 1rem;
}
.post-card-body h3 a { color: var(--ink); text-decoration: none; }
.post-card-body h3 a:hover { color: var(--brand); text-decoration: none; }
.post-card-body p { margin: 0; font-size: 0.875rem; }
.post-card-body p.small { font-size: 0.75rem; }

/* ------------------------------------------------------------------
 * Blog index
 * ------------------------------------------------------------------ */

.blog-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1.5rem;
  margin: 0 0 2.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.blog-featured-banner {
  display: block;
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(135deg, var(--brand-soft) 0%, var(--accent-soft) 100%);
  overflow: hidden;
}
.blog-featured-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-featured-content {
  padding: 1.5rem;
  display: grid;
  gap: 0.75rem;
  align-content: center;
}
.blog-featured-content .pill { justify-self: start; }
.blog-featured-content h2 {
  font-size: 1.625rem;
  margin: 0;
  line-height: 1.2;
}
.blog-featured-content h2 a { color: var(--ink); text-decoration: none; }
.blog-featured-content h2 a:hover { color: var(--brand); text-decoration: none; }
.blog-featured-content .soft { margin: 0; font-size: 0.9375rem; }
.blog-featured-content .btn { justify-self: start; }

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.article-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.article-card:hover {
  border-color: var(--line-2);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.article-thumb {
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--paper-2);
  overflow: hidden;
}
.article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-thumb-fallback {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, var(--paper-2) 0%, var(--line) 100%);
}
.article-body {
  padding: 1rem 1.25rem 1.25rem;
  display: grid;
  gap: 0.4rem;
}
.article-body .pill { justify-self: start; }
.article-body h3 {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.3;
}
.article-body h3 a { color: var(--ink); text-decoration: none; }
.article-body h3 a:hover { color: var(--brand); text-decoration: none; }
.article-body p { margin: 0; }

@media (max-width: 760px) {
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-content h2 { font-size: 1.375rem; }
}
