/* Work page · post-feed styles, layered on top of /styles.css */

.posts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.post {
  border: 1px solid var(--rule);
  background: var(--paper);
  transition: border-color var(--t-med);
}
.post:hover { border-color: var(--ink); }

.post__link {
  display: block;
  padding: clamp(24px, 3vw, 36px) clamp(20px, 3vw, 36px);
  color: var(--ink);
}

.post__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.post__type {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.post__type::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brat);
  flex-shrink: 0;
}
.post__type--research::before { background: var(--ink); }

.post__date {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: -0.005em;
  font-variant-numeric: tabular-nums;
}

.post__title {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
  font-size: clamp(24px, 3.2vw, 36px);
  margin: 0 0 16px;
  max-width: 28ch;
}

.post__lede {
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0 0 22px;
}

.post__byline {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.post__byline-rule {
  display: inline-block;
  width: 22px;
  height: 1px;
  background: var(--ink-mute);
}

@media (max-width: 640px) {
  .post__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}
