.story-section {
  background: #fffdf6;
  color: #272821;
  padding: 60px 5% 35px;
  border-top: 1px solid #27282130;
}
.story-heading {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 40px;
  margin-bottom: 40px;
}
.story-heading > p {
  font-size: 13px;
  letter-spacing: 0.08em;
  line-height: 1.5;
  padding-top: 8px;
}
.story-heading h2 {
  font:
    400 62px/1 "DM Serif Display",
    Georgia,
    serif;
  letter-spacing: -0.035em;
  width: 50%;
  margin: 0;
}
.story-grid {
  display: grid;
  gap: 18px;
}
.mosaic .story-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.story-text,
.story-photo,
.story-space {
  min-width: 0;
  min-height: 365px;
}
.story-text {
  border: 1px solid #27282170;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 55px;
}
.story-number {
  font-size: 15px;
  line-height: 1.3;
}
.story-text h3 {
  font:
    400 31px/1.08 "DM Serif Display",
    Georgia,
    serif;
  letter-spacing: -0.025em;
  margin: 0 0 22px;
}
.story-text p {
  font-size: 18px;
  line-height: 1.5;
  margin: 0;
}
.story-text.yellow {
  background: #f4e8b3;
  border-color: transparent;
}
.story-photo {
  margin: 0;
  position: relative;
  overflow: hidden;
}
.story-photo img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}
.image-credit {
  font-size: 12px;
  line-height: 1.5;
  margin-top: 22px;
  color: #54554c;
}
.rhythm .story-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.rhythm .story-text,
.rhythm .story-photo {
  min-height: 390px;
}
.rhythm .story-text {
  padding: 25px;
}
.rhythm .story-text h3 {
  font-size: 38px;
  max-width: 300px;
}
.rhythm .story-text p {
  font-size: 19px;
  max-width: 340px;
}
.pairs .story-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.pairs .story-text,
.pairs .story-photo {
  min-height: 380px;
}
.pairs .story-text {
  padding: 35px;
  border: 0;
  border-top: 1px solid #27282170;
}
.pairs .story-text h3 {
  font-size: 46px;
  max-width: 420px;
}
.pairs .story-text p {
  font-size: 20px;
  max-width: 470px;
}
.pairs .story-photo img {
  object-position: center 35%;
}
.pairs .story-heading h2 {
  width: 50%;
}
@media (max-width: 1000px) and (min-width: 701px) {
  .mosaic .story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mosaic .story-space {
    display: none;
  }
  .mosaic .story-grid > .story-photo:last-child {
    grid-column: 2;
  }
  .story-text h3 {
    font-size: 30px;
  }
  .rhythm .story-text {
    padding: 18px;
  }
  .rhythm .story-text h3 {
    font-size: 29px;
  }
  .rhythm .story-text p {
    font-size: 18px;
  }
}
@media (max-width: 700px) {
  .story-section {
    padding: 38px 24px 28px;
  }
  .story-heading {
    display: block;
    margin-bottom: 30px;
  }
  .story-heading > p {
    font-size: 12px;
    letter-spacing: 0.04em;
    padding: 0;
    margin-bottom: 23px;
  }
  .story-heading h2,
  .pairs .story-heading h2 {
    width: 100%;
    font-size: 46px;
  }
  .mosaic .story-grid,
  .rhythm .story-grid,
  .pairs .story-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .story-text,
  .rhythm .story-text,
  .pairs .story-text {
    padding: 25px;
    min-height: 280px;
    gap: 45px;
  }
  .story-text h3,
  .rhythm .story-text h3,
  .pairs .story-text h3 {
    font-size: 34px;
    margin-bottom: 19px;
    max-width: none;
  }
  .story-text p,
  .rhythm .story-text p,
  .pairs .story-text p {
    font-size: 18px;
    max-width: none;
  }
  .story-photo,
  .rhythm .story-photo,
  .pairs .story-photo {
    min-height: 400px;
  }
  .story-space {
    display: none;
  }
  .mosaic .story-grid > .story-text:nth-child(4) {
    order: 6;
  }
  .mosaic .story-grid > .story-photo:nth-child(5) {
    order: 3;
  }
  .mosaic .story-grid > .story-text:nth-child(6) {
    order: 5;
  }
  .mosaic .story-grid > .story-photo:last-child {
    order: 7;
  }
  .pairs .story-grid > .story-photo:nth-child(3) {
    order: 4;
  }
  .pairs .story-grid > .story-text:nth-child(4) {
    order: 3;
  }
  .pairs .story-grid > .story-text:nth-child(5) {
    order: 5;
  }
  .pairs .story-grid > .story-photo:nth-child(6) {
    order: 6;
  }
  .image-credit {
    font-size: 12px;
  }
}
@media(max-width:700px){.mosaic .story-grid>.story-text:nth-child(6){order:8}}
/* In the broad paired layout, keep the children's gestures in the crop. */
@media(min-width:1001px){.pairs .story-text,.pairs .story-photo{min-height:520px}.pairs .story-photo img{object-position:center 55%}}
