/* /stories, same look as thesolariagroup.com/stories/ (tools/build-stories.mjs) */
.hst { --hst-ink: #373435; --hst-char: #373635; --hst-light: #f5f2ee; --hst-stone: #e2d7cd; --hst-ease: cubic-bezier(.22, 1, .36, 1);
  color: var(--hst-ink); padding-bottom: clamp(56px, 7vw, 104px); }
.hst-wrap { width: min(1360px, calc(100% - 2 * clamp(16px, 3.4vw, 40px))); margin: 0 auto; }
.hst-intro { width: min(760px, calc(100% - 32px)); margin: 0 auto; padding-top: clamp(48px, 5.6vw, 80px); text-align: center; }
.hst-intro h1 { font-family: KeplerStdDisplay, Georgia, serif; font-weight: 400; text-transform: none; letter-spacing: 0;
  font-size: clamp(32px, 2.8vw, 40px); line-height: 1.2; margin: 0 0 24px; color: var(--hst-ink); }
.hst-intro p { max-width: 700px; margin: 0 auto; font: 400 16px/1.75 Montserrat, sans-serif; color: var(--hst-ink); }
.hst-frame { position: relative; overflow: hidden; background: var(--hst-stone); margin: 0; }
.hst-frame img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--hst-ease); }
.hst-hero { margin-top: clamp(32px, 4vw, 56px); }
.hst-hero .hst-frame { aspect-ratio: 1360 / 520; }
.hst-list { margin-top: clamp(40px, 5vw, 72px); }
.hst-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.hst-pills button { min-height: 38px; margin: 0; padding: 12px 24px; border: 0; border-radius: 999px; background: rgba(55, 54, 53, .05);
  color: var(--hst-ink); font: 500 12px/14px Montserrat, sans-serif; letter-spacing: .02em; text-transform: uppercase; cursor: pointer;
  box-shadow: none; transition: background-color .3s, color .3s; }
.hst-pills button:hover { background: rgba(55, 54, 53, .12); }
.hst-pills button[aria-pressed="true"] { background: var(--hst-char); color: #f4f2ef; }
.hst-pills button:focus-visible { outline: 2px solid var(--hst-char); outline-offset: 2px; }
.hst-count { margin: 28px 0 16px; font: 400 14px/20px Montserrat, sans-serif; color: rgba(55, 54, 53, .6); }
.hst-count b { font-weight: 400; }
.hst-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 8px; }
.hst-card { display: flex; flex-direction: column; height: 518px; background: var(--hst-light); color: var(--hst-ink); text-decoration: none; }
.hst-card[hidden] { display: none; }
.hst-card:hover, .hst-card:focus { color: var(--hst-ink); }
.hst-card:focus-visible { outline: 2px solid var(--hst-char); outline-offset: 3px; }
.hst-card .hst-frame { flex: none; height: 266px; }
.hst-card:hover .hst-frame img { transform: scale(1.1); }
.hst-card__body { flex: 1; display: flex; flex-direction: column; padding: 24px 16px; min-height: 0; }
.hst-card__kind { font: 400 14px/1.4 Montserrat, sans-serif; letter-spacing: .04em; text-transform: uppercase; color: rgba(55, 52, 53, .5); margin: 0; }
.hst-card__title { margin: 4px 0 0; font-family: KeplerStdDisplay, Georgia, serif; font-weight: 400; font-size: 24px; line-height: 1.3; color: var(--hst-ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hst-card__text { margin: 12px 0 0; font: 400 14px/1.6 Montserrat, sans-serif; color: rgba(55, 52, 53, .75);
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 1279px) { .hst-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .hst-grid { grid-template-columns: 1fr; }
  .hst-hero .hst-frame { aspect-ratio: 4 / 3; }
  .hst-pills { justify-content: flex-start; }
  .hst-card { height: 397px; }
  .hst-card .hst-frame { height: 196px; }
  .hst-card__text { -webkit-line-clamp: 3; }
}
@media (prefers-reduced-motion: reduce) { .hst-frame img { transition: none; } .hst-card:hover .hst-frame img { transform: none; } }
