/* A paired photograph and reading lens for each People & Communities topic.
   The photograph remains complete and credited; the regional interpretation
   becomes its editorial companion instead of a second full-width card. */
@media (min-width: 1180px) {
  .editorial-reader.web-edition #article-content .people-umbrella-page[data-people-umbrella] .people-umbrella-topic-body {
    display: grid;
    grid-template-columns: minmax(0, .91fr) minmax(0, 1.09fr);
    column-gap: clamp(20px, 2.8vw, 34px);
    align-items: start;
  }

  .editorial-reader.web-edition #article-content .people-umbrella-page[data-people-umbrella] .people-umbrella-topic-body > :not(.people-topic-photo):not(.people-topic-story) {
    grid-column: 1 / -1;
  }

  .editorial-reader.web-edition #article-content .people-umbrella-page[data-people-umbrella] .people-umbrella-topic-body > .people-topic-photo {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    margin-bottom: 22px !important;
  }

  .editorial-reader.web-edition #article-content .people-umbrella-page[data-people-umbrella] .people-umbrella-topic-body > .people-topic-story {
    display: contents !important;
  }

  .editorial-reader.web-edition #article-content .people-umbrella-page[data-people-umbrella] .people-umbrella-topic-body > .people-topic-story > .people-topic-story-main {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    margin-bottom: 22px;
    padding: clamp(23px, 2.8vw, 35px);
    border: 1px solid #e6dce5;
    border-top: 5px solid var(--people-story-accent);
    border-radius: 18px 4px 18px 4px;
    background: linear-gradient(145deg, #fff 14%, var(--people-story-tint));
    box-shadow: 0 18px 34px rgba(40, 47, 69, .055);
  }

  .editorial-reader.web-edition #article-content .people-umbrella-page[data-people-umbrella] .people-umbrella-topic-body > .people-topic-story > .people-topic-story-notes {
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: 0 0 clamp(30px, 4vw, 50px);
    border: 1px solid #e4dce3;
    border-top: 4px solid var(--people-story-accent);
    border-radius: 3px 3px 16px 16px;
    background: linear-gradient(110deg, #fffaf8, var(--people-story-tint));
    box-shadow: 0 12px 27px rgba(40, 47, 69, .05);
  }

  .editorial-reader.web-edition #article-content .people-umbrella-page[data-people-umbrella] .people-umbrella-topic-body > .people-topic-story > .people-topic-story-notes > div {
    padding: clamp(18px, 2.1vw, 26px);
  }

  .editorial-reader.web-edition #article-content .people-umbrella-page[data-people-umbrella] .people-umbrella-topic-body > .people-topic-story > .people-topic-story-notes > div + div {
    margin-top: 0;
    border-top: 0;
    border-left: 1px solid #e4dce3;
  }

}

/* The image is framed like an editorial feature, with its provenance in a
   separate legible caption rather than overprinted across the photograph. */
.editorial-reader.web-edition #article-content .people-umbrella-page[data-people-umbrella] .people-umbrella-topic-body > .people-topic-photo {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0 0 clamp(30px, 4vw, 50px) !important;
  padding: 10px;
  border: 1px solid color-mix(in srgb, var(--people-story-accent) 25%, #fff);
  border-left: 5px solid var(--people-story-accent);
  border-radius: 4px 18px 18px 4px;
  background: linear-gradient(145deg, var(--people-story-tint), #f9f6f5 67%);
  box-shadow: 0 18px 34px rgba(40, 47, 69, .09);
}

.editorial-reader.web-edition #article-content .people-umbrella-page[data-people-umbrella] .people-umbrella-topic-body > .people-topic-photo img,
.editorial-reader.web-edition #article-content .people-umbrella-page[data-people-umbrella] [data-article="top-occupations-by-industry"] .people-topic-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto 4 / 3;
  max-height: 410px;
  min-height: 0;
  border-radius: 2px 10px 2px 2px;
  background: transparent;
  object-fit: contain;
  object-position: center;
}

.editorial-reader.web-edition #article-content .people-umbrella-page[data-people-umbrella] .people-umbrella-topic-body > .people-topic-photo figcaption,
.editorial-reader.web-edition #article-content .people-umbrella-page[data-people-umbrella] [data-article="top-occupations-by-industry"] .people-topic-photo figcaption {
  display: block;
  min-height: 0;
  margin: 0;
  padding: 14px 9px 8px;
  border: 0;
  background: transparent;
  color: #394960;
  font-size: .79rem;
  line-height: 1.55;
}

.editorial-reader.web-edition #article-content .people-umbrella-page[data-people-umbrella] .people-topic-photo figcaption > span {
  display: block;
  color: #2e3b55;
  font-weight: 750;
}

.editorial-reader.web-edition #article-content .people-umbrella-page[data-people-umbrella] .people-topic-photo figcaption small {
  display: block;
  margin-top: 7px;
  color: #566174;
  font-size: .7rem;
  line-height: 1.5;
}

/* At split width the lens reads as one purposeful column. The two concise
   reading notes follow the lead paragraph instead of squeezing beside it. */
.editorial-reader.web-edition #article-content .people-umbrella-page[data-people-umbrella] .people-umbrella-topic-body > .people-topic-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  min-width: 0;
  margin: 0 0 clamp(30px, 4vw, 50px);
  padding: clamp(23px, 2.8vw, 35px);
  border: 1px solid #e6dce5;
  border-top: 5px solid var(--people-story-accent);
  border-left: 0;
  border-radius: 18px 4px 18px 4px;
  background: linear-gradient(145deg, #fff 14%, var(--people-story-tint));
  box-shadow: 0 18px 34px rgba(40, 47, 69, .055);
}

.editorial-reader.web-edition #article-content .people-umbrella-page[data-people-umbrella] .people-topic-story h3 {
  max-width: none;
  margin: 0 0 15px;
  font-size: clamp(1.55rem, 2vw, 2.15rem);
  line-height: 1.18;
}

.editorial-reader.web-edition #article-content .people-umbrella-page[data-people-umbrella] .people-topic-story-main > p:last-child {
  max-width: none;
  color: #344157;
  font-size: clamp(.94rem, 1.08vw, 1.03rem);
  line-height: 1.66;
}

.editorial-reader.web-edition #article-content .people-umbrella-page[data-people-umbrella] .people-topic-story-notes {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin-top: clamp(20px, 2.6vw, 29px);
  border-top: 1px solid #d9cdd8;
}

.editorial-reader.web-edition #article-content .people-umbrella-page[data-people-umbrella] .people-topic-story-notes > div {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  column-gap: 9px;
  padding: 16px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.editorial-reader.web-edition #article-content .people-umbrella-page[data-people-umbrella] .people-topic-story-notes > div + div {
  margin-top: 14px;
  border-top: 1px solid #e4dce3;
}

.editorial-reader.web-edition #article-content .people-umbrella-page[data-people-umbrella] .people-topic-story-notes > div > span {
  grid-row: 1 / 3;
  margin: 2px 0 0;
  font-variant-numeric: tabular-nums;
}

.editorial-reader.web-edition #article-content .people-umbrella-page[data-people-umbrella] .people-topic-story-notes h4 {
  margin: 0 0 4px;
}

.editorial-reader.web-edition #article-content .people-umbrella-page[data-people-umbrella] .people-topic-story-notes p {
  font-size: .82rem;
  line-height: 1.56;
}

/* The Artesia rig is a portrait source. Keep its full frame in the same
   editorial treatment, rather than the older split-caption variant. */
.editorial-reader.web-edition #article-content .people-umbrella-page[data-people-umbrella] [data-article="top-occupations-by-industry"] .people-topic-photo {
  display: flex;
  grid-template-columns: none;
}

.editorial-reader.web-edition #article-content .people-umbrella-page[data-people-umbrella] [data-article="top-occupations-by-industry"] .people-topic-photo img {
  aspect-ratio: auto 3 / 4;
}

.editorial-reader.web-edition #article-content .people-umbrella-page[data-people-umbrella] [data-article="top-occupations-by-industry"] .people-topic-photo figcaption > span {
  font-size: .79rem;
  line-height: 1.55;
}

@media (max-width: 1179px) {
  .editorial-reader.web-edition #article-content .people-umbrella-page[data-people-umbrella] .people-umbrella-topic-body > .people-topic-photo img,
  .editorial-reader.web-edition #article-content .people-umbrella-page[data-people-umbrella] [data-article="top-occupations-by-industry"] .people-topic-photo img {
    max-height: 430px;
  }
}

@media (max-width: 640px) {
  .editorial-reader.web-edition #article-content .people-umbrella-page[data-people-umbrella] .people-umbrella-topic-body > .people-topic-photo {
    padding: 7px;
    border-left-width: 4px;
    border-radius: 4px 13px 13px 4px;
  }

  .editorial-reader.web-edition #article-content .people-umbrella-page[data-people-umbrella] .people-umbrella-topic-body > .people-topic-photo img,
  .editorial-reader.web-edition #article-content .people-umbrella-page[data-people-umbrella] [data-article="top-occupations-by-industry"] .people-topic-photo img {
    height: auto;
    max-height: 320px;
  }

  .editorial-reader.web-edition #article-content .people-umbrella-page[data-people-umbrella] .people-umbrella-topic-body > .people-topic-story {
    padding: 23px 20px;
  }
}

@media (min-width: 1180px) {
  .editorial-reader.web-edition #article-content .people-umbrella-page[data-people-umbrella] [data-article="top-occupations-by-industry"] .people-topic-photo img {
    height: 280px;
    max-height: 280px;
  }
}
