/* Category 2-column layout ≥1200px */
.cat-layout{
  margin-top: 28px;
}
.cat-layout__main{
  min-width: 0;
}
.cat-layout__side{
  display: none;
}
.cat-side{
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cat-side__card{
  background: var(--c-bg-soft, #f4f8f5);
  border: 1px solid var(--c-border, #dde6e0);
  border-radius: 12px;
  padding: 14px 16px;
}
.cat-side__card h2{
  margin: 0 0 10px;
  font-size: 1rem;
  line-height: 1.3;
  color: var(--c-text, #1c2b23);
}
.cat-side__list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.cat-side__list a{
  display: block;
  text-decoration: none;
  color: var(--c-text, #1c2b23);
  font-weight: 600;
  font-size: .92rem;
  padding: .35em .2em;
  border-radius: 8px;
}
.cat-side__list a:hover{
  color: var(--c-primary, #0d6e3f);
  background: #fff;
}
.cat-side__hot{
  display: grid;
  gap: 10px;
}
.cat-side__hot-item{
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--c-border, #dde6e0);
  border-radius: 10px;
  padding: 8px;
}
.cat-side__hot-item img{
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  background: #fff;
}
.cat-side__hot-item span{
  font-size: .86rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--c-text, #1c2b23);
}
.cat-side__hot-item:hover span{
  color: var(--c-primary, #0d6e3f);
}
.cat-side__cta{
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cat-side__cta .cta-quote,
.cat-side__cta a.cta-quote{
  width: 100%;
  text-align: center;
  justify-content: center;
}
.cat-side__note{
  margin: 0;
  font-size: .85rem;
  color: var(--c-muted, #5b6b62);
  line-height: 1.4;
}

@media (min-width: 1200px){
  .cat-layout{
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    align-items: start;
  }
  .cat-layout__side{
    display: block;
  }
  .cat-side{
    position: sticky;
    top: 88px;
  }
  /* SEO prose can use full left column width */
  .cat-layout__main .catdesc.prose,
  .cat-layout__main .prose.catdesc{
    max-width: none;
  }
}

@media (max-width: 1199.98px){
  /* Keep full-width mobile/tablet — sidebar hidden */
  .cat-layout__side{ display: none !important; }
  .cat-layout{ display: block; }
}
