/* A compact, readable home page. This file is loaded on the post listing only. */
.hero {
  min-height: 0;
  display: block;
  padding-block: 26px 20px;
  border-bottom: 1px solid var(--line);
  overflow: visible;
}
.hero::before,
.hero__topline,
.hero__bottomline,
.hero__art { display: none; }
.hero__content { display: block; padding: 0; }
.hero__identity { animation: none; }
.hero__eyebrow { margin-bottom: 8px; letter-spacing: .09em; }
.hero__identity h1 {
  max-width: 760px;
  margin: 0 0 8px;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 680;
  letter-spacing: -.055em;
  line-height: 1.08;
}
.hero__description {
  max-width: 690px;
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
}

.feed-section { padding-block: 24px 76px; scroll-margin-top: 82px; }
.feed-intro { align-items: center; gap: 24px; margin-bottom: 20px; }
.feed-intro .eyebrow { margin-bottom: 7px; letter-spacing: .09em; }
.feed-intro h2 {
  font-family: var(--sans);
  font-size: clamp(27px, 3.6vw, 38px);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.15;
}
.feed-intro__text { max-width: 330px; margin: 0; font-size: 13px; }

.category-tabs {
  flex-wrap: wrap;
  gap: 7px;
  overflow: visible;
  padding: 0 0 13px;
}
.category-tab {
  min-height: 36px;
  gap: 8px;
  padding-inline: 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 580;
}
.category-tab:hover { border-color: var(--line-dark); background: #fff; }
.category-tab.is-active { border-color: var(--ink); background: var(--ink); color: #fff; }
.category-tab__count { color: inherit; font-size: 10px; opacity: .68; }
.category-tab__arrow { display: none; }

.feed-search {
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 9px 14px;
  padding-block: 12px 16px;
}
.feed-search__label {
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
}
.feed-search input { min-height: 44px; border-radius: 7px; background: #fff; }
.feed-search__controls button { min-height: 44px; border-radius: 7px; }

.post-grid { gap: 14px; padding-top: 16px; }
.post-card {
  min-height: 290px;
  padding: 20px;
  border-radius: 9px;
  background: #fff;
  opacity: 1;
  animation: none;
}
.post-card__art { margin-top: 12px; border-radius: 6px; }
.post-card__title {
  margin: 17px 0 9px;
  font-family: var(--sans);
  font-size: clamp(22px, 2.4vw, 29px);
  font-weight: 680;
  letter-spacing: -.035em;
  line-height: 1.22;
}
.post-card__excerpt {
  margin-bottom: 18px;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.62;
}
.post-card__bottom { padding-top: 12px; }

.post-card--feature {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.08fr) minmax(240px, .82fr);
  grid-template-rows: auto auto minmax(48px, 1fr) auto;
  align-items: start;
  gap: 8px 24px;
  min-height: 270px;
  padding: 22px;
}
.post-card--feature .post-card__top { grid-column: 1 / -1; grid-row: 1; }
.post-card--feature .post-card__art {
  grid-column: 2;
  grid-row: 2 / 5;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  align-self: stretch;
  margin: 0;
}
.post-card--feature .post-card__title {
  grid-column: 1;
  grid-row: 2;
  margin: 2px 0 0;
  font-size: clamp(26px, 3.1vw, 37px);
  line-height: 1.16;
}
.post-card--feature .post-card__excerpt {
  grid-column: 1;
  grid-row: 3;
  margin: 0 0 8px;
  font-size: 13px;
}
.post-card--feature .post-card__bottom {
  grid-column: 1;
  grid-row: 4;
  align-self: end;
  margin-top: 0;
}

@media (max-width: 650px) {
  .hero { padding-block: 19px 15px; }
  .hero__identity h1 { max-width: 520px; font-size: clamp(32px, 9vw, 43px); }
  .hero__description { max-width: 520px; font-size: 13px; line-height: 1.55; }
  .feed-section { padding-block: 14px 52px; }
  .feed-intro { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
  .feed-intro h2 { font-size: 27px; }
  .feed-intro__text { max-width: 155px; padding-top: 14px; font-size: 11px; line-height: 1.45; }
  .category-tabs { flex-wrap: nowrap; gap: 6px; overflow-x: auto; padding-bottom: 11px; }
  .category-tab { min-height: 34px; padding-inline: 12px; font-size: 11px; }
  .feed-search { grid-template-columns: 1fr; gap: 7px; padding-block: 11px 14px; }
  .feed-search__controls { gap: 7px; }
  .feed-search__controls button { padding-inline: 12px; }
  .feed-search__summary { grid-column: 1; }
  .post-grid { grid-template-columns: 1fr; gap: 10px; padding-top: 12px; }
  .post-card,
  .post-card--feature {
    display: flex;
    grid-column: auto;
    min-height: 0;
    flex-direction: column;
    padding: 16px;
  }
  .post-card__art,
  .post-card--feature .post-card__art {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 8.5;
    margin: 11px 0 0;
  }
  .post-card__title,
  .post-card--feature .post-card__title {
    margin: 14px 0 7px;
    font-size: 22px;
    line-height: 1.22;
  }
  .post-card__excerpt,
  .post-card--feature .post-card__excerpt {
    margin: 0 0 16px;
    font-size: 13px;
  }
  .post-card__bottom,
  .post-card--feature .post-card__bottom { margin-top: auto; }
}
