/* ============================================================
   Mind Theory — Category/Topic pages stylesheet (topics.css)
   Loads after home.css/article.css. Breadcrumbs and content cards reuse
   article.css's .mtart-breadcrumb/.mtart-related-card directly — this
   file only styles what's genuinely new: the category hero, the grid
   layout, and the related-categories chip row.
   ============================================================ */

.mtt-main{ max-width:1040px; margin:0 auto; padding:28px 20px 72px; }

.mtt-banner{
  border-radius:var(--radius-lg); overflow:hidden; margin-bottom:24px;
  box-shadow:var(--shadow-sm); aspect-ratio:1600/500; background:var(--bg-soft);
}
.mtt-banner img{ width:100%; height:100%; object-fit:cover; display:block; }

.mtt-hero{ margin-bottom:36px; max-width:720px; }
.mtt-hero h1{
  font-family:var(--font-head); font-weight:600; font-size:clamp(1.8rem, 1.4rem + 1.8vw, 2.6rem);
  line-height:1.15; color:var(--text-head); margin:12px 0 12px;
}
.mtt-description{ color:var(--text-body); font-size:1.05rem; line-height:1.7; margin:0 0 10px; }
.mtt-count{ font-size:.85rem; color:var(--text-meta); font-weight:700; margin:0; }

.mtt-featured, .mtt-latest, .mtt-related-categories{ margin-bottom:44px; }
.mtt-featured h2, .mtt-latest h2, .mtt-related-categories h2{
  font-family:var(--font-head); font-weight:600; font-size:1.35rem; color:var(--text-head); margin:0 0 18px;
}

.mtt-grid{ display:grid; grid-template-columns:repeat(auto-fill, minmax(240px, 1fr)); gap:16px; }

/* A card with no link (Quotes/Resources have no individual page) still
   needs to look intentional, not like a broken/disabled version of the
   linked cards next to it — same border/shadow, just no hover-lift and
   default cursor, since there's nowhere to go. */
.mtt-card--static{ cursor:default; }
.mtt-card--static:hover{ transform:none; box-shadow:var(--shadow-xs); }

.mtt-more{ margin-top:20px; }
.mtt-more a{ font-weight:700; color:var(--blue-deep); text-decoration:none; }
.mtt-more a:hover{ text-decoration:underline; }

.mtt-chip-row{ display:flex; flex-wrap:wrap; gap:10px; }
.mtt-chip{
  display:inline-flex; align-items:center; font-weight:700; font-size:.88rem;
  color:var(--text-head); background:var(--bg-soft); border:1px solid var(--border-soft);
  border-radius:999px; padding:9px 18px; text-decoration:none;
  transition:transform .2s var(--ease-out), box-shadow .2s var(--ease-out), color .2s ease;
}
.mtt-chip:hover{ transform:translateY(-2px); box-shadow:var(--shadow-xs); color:var(--blue-deep); }

@media (max-width:600px){
  .mtt-main{ padding:20px 16px 56px; }
  .mtt-grid{ grid-template-columns:1fr; }
}

@media (prefers-reduced-motion: reduce){
  .mtt-chip{ transition:none; }
}
