/* ===================================
   Our Story (/about/) — hero + inline images
   =================================== */

.story-hero {
  max-width: 750px;
  margin-inline: auto;
  margin-bottom: var(--space-xl);
}

.story-hero__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.story-hero__media picture {
  display: block;
}

.story-hero__media img {
  width: 100%;
  height: auto;
}

/* Photo credit — sans label (Source Sans 3 has no italic face; faux italic
   on iOS can read like body serif). */
.story-hero__caption {
  margin: 0;
  padding: var(--space-sm) var(--space-md) 0;
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--color-sage);
  text-align: center;
  line-height: 1.35;
}

@media (max-width: 768px) {
  .story-hero {
    margin-bottom: var(--space-lg);
  }

  .story-hero__caption {
    padding-top: var(--space-xs);
    padding-bottom: var(--space-md);
    font-size: var(--text-xs);
    letter-spacing: 0.08em;
    border-bottom: 1px solid var(--color-border);
  }
}

.story-img {
  margin-block: var(--space-lg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* Participate in layout (reset uses display:contents on <picture> for
   galleries/cards). Ensures border-radius clipping works on mobile Safari. */
.story-img picture {
  display: block;
}

/* Belt-and-suspenders with reset.css img { height: auto }: width is constrained
   by the article column on mobile, but explicit width/height attributes from
   eleventy-img must not leave a fixed pixel height and stretch the photo. */
.story-img img {
  width: 100%;
  height: auto;
}
