.alp-story-gallery{
  --alp-gallery-gap:10px;
  --alp-gallery-row:4px;
  display:grid;
  columns:auto;
  grid-template-columns:repeat(4,minmax(0,1fr));
  grid-auto-flow:dense;
  grid-auto-rows:var(--alp-gallery-row);
  gap:var(--alp-gallery-gap);
}
.alp-story-intro,
.alp-story-intro:not(:has(.alp-story-description)){
  padding-top:28px;
  padding-bottom:28px;
}
.alp-story-intro .alp-story-kicker{margin:0}
.alp-story-gallery figure,
.alp-story-gallery .alp-gallery-tall,
.alp-story-gallery .alp-gallery-wide,
.alp-story-gallery figure:has(+.alp-gallery-tall),
.alp-story-gallery .alp-gallery-tall+figure,
.alp-story-gallery figure:nth-child(6n+3),
.alp-story-gallery figure:nth-child(8n+5){
  display:block;
  grid-column:span 1!important;
  width:100%;
  height:100%;
  min-width:0;
  margin:0;
  aspect-ratio:auto;
}
.alp-story-gallery img{
  display:block;
  width:100%;
  height:100%;
  min-height:0;
  max-height:none;
  object-fit:cover;
  object-position:center;
  cursor:zoom-in;
}
@media(max-width:760px){
  .alp-story-gallery{
    --alp-gallery-gap:6px;
    --alp-gallery-row:3px;
    grid-template-columns:repeat(2,minmax(0,1fr));
    width:calc(100% - 12px);
  }
  .alp-story-gallery figure,
  .alp-story-gallery .alp-gallery-wide,
  .alp-story-gallery .alp-gallery-tall{border-radius:9px}
  .alp-story-intro,
  .alp-story-intro:not(:has(.alp-story-description)){padding:22px 14px}
  .alp-story-footer{
    flex-direction:row;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    padding:42px 0 64px;
  }
  .alp-story-footer a{white-space:nowrap;font-size:13px}
  .alp-story-footer .alp-story-book{padding:12px 17px}
}
