.page-head {
  padding: 24px 0 26px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.page-head h1 {
  margin-top: 6px;
  font-size: 34px;
  letter-spacing: -.7px;
}

.page-head .intro {
  max-width: 700px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.cat-layout {
  display: grid;
  grid-template-columns: 232px 1fr;
  gap: 28px;
  align-items: start;
  padding-top: 26px;
}

.cat-layout > * {
  min-width: 0;
}

.side-card {
  position: sticky;
  top: 20px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.side-title {
  margin-bottom: 10px;
  color: #8b7f70;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.side-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.side-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 9px;
  border-radius: 7px;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
}

.side-nav a:hover {
  background: var(--sand);
  text-decoration: none;
}

.side-nav a.is-active {
  background: var(--teal);
  color: #fff;
}

.side-nav .count {
  color: inherit;
  font-size: 11.5px;
  opacity: .62;
}

.side-note {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}

.list-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 14px;
}

.list-head h2 {
  font-size: 24px;
}

.list-head span {
  color: var(--muted);
  font-size: 13px;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.post-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  transition: transform .18s ease, box-shadow .18s ease;
}

.post-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  text-decoration: none;
}

.post-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: 14px 15px 15px;
}

.post-body h3 {
  margin-top: 6px;
  font-size: 20px;
  line-height: 1.28;
  color: var(--ink);
}

.post-body p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.post-body .meta {
  margin-top: auto;
  padding-top: 12px;
  font-size: 12.5px;
}

.chip-row {
  display: none;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 20px;
  scrollbar-width: none;
}

.chip-row::-webkit-scrollbar {
  display: none;
}

.chip {
  flex: 0 0 auto;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}

.chip.is-active {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
}

@media (max-width: 960px) {
  .cat-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .side-card {
    display: none;
  }

  .chip-row {
    display: flex;
  }
}

@media (max-width: 720px) {
  .page-head {
    padding: 22px 0 24px;
  }

  .page-head h1 {
    font-size: 29px;
    letter-spacing: -.5px;
  }

  .page-head .intro {
    font-size: 14.5px;
  }

  .cat-layout {
    padding-top: 20px;
  }

  .post-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .post-body h3 {
    font-size: 18px;
  }
}