/* 删除侧栏后，每篇文章独占一行，封面保持横向比例。 */
.page-wrap {
  /* Let the article column grow past the theme's 1500px wrapper on wide screens. */
  max-width: none;
}

.layout {
  display: block;
  /* Use 84% of wide windows and keep the existing layout on smaller screens. */
  max-width: max(1100px, 84vw);
  margin-inline: auto;
}
.article-grid{grid-template-columns:minmax(0,1fr);gap:16px}
.article-grid > a.article{grid-template-columns:260px minmax(0,1fr);min-height:155px}
.article-grid > a.article img{width:100%;height:155px;min-height:0;max-height:none;object-fit:cover}
.article-info{padding:20px 25px}
@media(max-width:650px){.article-grid > a.article{grid-template-columns:36% minmax(0,1fr);min-height:125px}.article-grid > a.article img{height:100%;min-height:125px;max-height:180px}.article-info{padding:12px}}

/* Enlarge the card as a unit on desktop. Keep the heading aligned with the
   shifted cards, with enough space for the cover and a two-line summary. */
@media (min-width: 900px) {
  .layout {
    position: relative;
    inset-inline-start: 12px;
  }

  .article-grid > a.article {
    grid-template-columns: clamp(300px, 18vw, 400px) minmax(0, 1fr);
    min-height: clamp(180px, 10.5vw, 232px);
  }

  .article-grid > a.article img {
    height: 100%;
  }

  .article-info {
    align-self: center;
    padding: 16px clamp(28px, 2.2vw, 42px);
  }

  .article-info h3 {
    font-size: clamp(22px, 1.4vw, 27px);
    line-height: 1.3;
    margin-block: 6px;
  }

  .article-info p {
    font-size: clamp(14px, .85vw, 16px);
    line-height: 1.5;
  }

  .article-info small,
  .article-info span {
    font-size: 13px;
  }

  .article-info span {
    margin-top: 8px;
  }
}

@media (min-width: 1280px) {
  .page-wrap {
    /* The column occupies 88% of the page, with its left edge at 10%. */
    padding-inline: 10% 2%;
  }

  .layout {
    inset-inline-start: auto;
    max-width: none;
  }
}

/* Halo pagination remains a separate landmark below the live article list. */
.article-info p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.article-image-empty {
  min-height: 125px;
  background: #eee6d2;
}
.ink-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
  margin: 1rem auto 2rem;
}
.ink-pagination a {
  padding: .45rem .75rem;
  border: 1px solid #b79c6f;
  color: #2d6d61;
  background: #faf6ec;
}
