.story-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
  gap: clamp(.9rem, 2.5vw, 1.35rem);
  margin: 1.3rem 0;
  padding: 0;
  list-style: none;
}
.story-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d4d4c6;
  border-radius: .55rem;
  background: #fffdf7;
}
.story-card:focus-within { outline: 2px solid #59715f; outline-offset: 2px; }
.story-card-cover { display: block; background: #e8e9df; }
.story-card-cover img { display: block; width: 100%; height: 10rem; object-fit: contain; }
.story-card-content { padding: 1.05rem 1.15rem 1.2rem; }
.story-card h2, .story-card h3 { margin: .28rem 0 .5rem; font-size: 1.38rem; line-height: 1.3; overflow-wrap: anywhere; }
.story-card h2 a, .story-card h3 a { color: #253029; text-decoration-thickness: 1px; text-underline-offset: .16em; }
.story-card-category, .story-card-byline { color: #4e5b51; font-size: .9rem; }
.story-card-byline, .story-card-excerpt { margin: .5rem 0 0; overflow-wrap: anywhere; }
.story-card-excerpt { color: #374339; }
.story-filters { display: flex; flex-wrap: wrap; justify-content: start; gap: .45rem; }
.story-filters a {
  border: 1px solid #a5ada0;
  border-radius: .25rem;
  padding: .25rem .65rem;
  text-decoration: none;
}
.story-filters a[aria-current="page"] { background: #234b3b; color: #fff; border-color: #234b3b; }
#home-stories { padding-top: clamp(.65rem, 2vw, 1.2rem); }
.home-category { padding-block: clamp(1.35rem, 3.4vw, 2.35rem); border-block-end: 1px solid #d4d4c6; }
.home-category > h2 { margin: 0; font-family: "Songti SC", SimSun, serif; font-size: clamp(1.55rem, 3.8vw, 2.2rem); line-height: 1.25; }
.home-category > h2 a { color: #263b2d; text-decoration: none; }
.home-category > h2 a:hover, .home-category > h2 a:focus-visible { text-decoration: underline; text-underline-offset: .17em; }
.home-category > h2 a::after {
  content: "";
  display: inline-block;
  width: .24em;
  height: .24em;
  margin-left: .52em;
  border-top: 1.5px solid;
  border-right: 1.5px solid;
  vertical-align: .19em;
  color: #59715f;
  transform: rotate(45deg);
}
.home-category-intro { max-width: 38em; margin: .7rem 0 0; color: #374839; }
.home-category-message { margin: .85rem 0 0; color: #4e5b51; font-size: .91rem; }
.home-category .story-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 1.05rem 0 0; }
.home-category .story-cards:empty { display: none; }
.home-category .story-card-cover img { height: clamp(6.25rem, 13vw, 8rem); object-fit: contain; }
.home-category .story-card-cover img.story-card-illustration { object-fit: cover; object-position: 50% 64%; }
.home-category[data-category="photos"] .story-card-illustration { object-position: 44% 48%; }
.home-category[data-category="genealogy"] .story-card-illustration { object-position: 63% 38%; }
.home-category[data-category="places"] .story-card-illustration { object-position: 55% 78%; }
.home-category .story-card-content { padding: .8rem .95rem .95rem; }
.home-category .story-card h3 { font-size: clamp(1.05rem, 2.2vw, 1.28rem); }
.home-category .story-card-excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: .93rem;
}
.home-author-nav { margin-inline-start: auto; justify-content: flex-end; }
.home-house {
  display: grid;
  grid-template-columns: minmax(10rem, .65fr) minmax(0, 2fr);
  gap: .65rem clamp(1rem, 5vw, 4rem);
  padding: clamp(1.65rem, 4vw, 3.5rem) 0;
  border-bottom: 1px solid #d4d4c6;
  color: #374839;
}
.home-house h2 { margin: 0; font-family: "Songti SC", SimSun, serif; font-size: clamp(1.45rem, 3.6vw, 2rem); color: #263b2d; }
.home-place-copy { max-width: 39em; }
.home-place-copy > :first-child { margin-top: 0; }
.home-place-copy blockquote { margin: 1.15rem 0 0; padding-inline-start: .9rem; border-inline-start: 2px solid #7b8d76; }
.home-place-copy blockquote p { margin: 0 0 .25rem; }
@media (max-width: 660px) {
  .home-house { grid-template-columns: 1fr; }
  .home-author-nav { column-gap: .85rem; }
}
@media (max-width: 850px) {
  .home-category .story-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .home-category .story-cards { grid-template-columns: minmax(0, 1fr); }
}
