/* RBR_PS_V13_P2_20261129 - Story 04 narrative only. No CMS writes. */
.rbr-psv1-root.rbr-psv13-p2-story .rbr-psv13-p2-gallery {
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:start;column-gap:clamp(18px,3vw,36px);row-gap:clamp(26px,3vw,40px);
  margin:20px auto 56px;
}
.rbr-psv1-root.rbr-psv13-p2-story .rbr-psv13-p2-gallery.rbr-psv13-p2-count-1 {
  display:block;width:min(840px,calc(100% - 88px));
}
.rbr-psv1-root.rbr-psv13-p2-story .rbr-psv13-p2-gallery > .rbr-psv1-figure {
  margin:0;min-width:0;width:100%;align-self:start;
}
.rbr-psv1-root.rbr-psv13-p2-story .rbr-psv13-p2-gallery > .rbr-psv1-figure:last-child:nth-child(odd):not(:first-child) {
  grid-column:1 / -1;width:min(800px,100%);justify-self:center;
}
.rbr-psv1-root.rbr-psv13-p2-story .rbr-psv13-p2-gallery .rbr-psv1-img {
  width:auto;max-width:100%;height:auto;max-height:660px;object-fit:contain;
}
.rbr-psv1-root.rbr-psv13-p2-story .rbr-psv13-p2-gallery .rbr-psv1-open,
.rbr-psv1-root.rbr-psv13-p2-story .rbr-psv13-p2-spread .rbr-psv1-open {
  width:100%;height:auto;min-height:0;overflow:visible;background:transparent;
}
.rbr-psv1-root.rbr-psv13-p2-story .rbr-psv13-p2-spread {
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);
  align-items:center;column-gap:clamp(26px,4.5vw,62px);
  padding:48px 0 56px;border-top:1px solid var(--rbr-ps-line,#d2d9d1);
}
.rbr-psv1-root.rbr-psv13-p2-story .rbr-psv13-p2-spread > .rbr-psv1-section {
  min-width:0;width:100%;padding:0;margin:0;border:0;
}
.rbr-psv1-root.rbr-psv13-p2-story .rbr-psv13-p2-spread > .rbr-psv1-figure {
  min-width:0;width:100%;margin:0;
}
.rbr-psv1-root.rbr-psv13-p2-story .rbr-psv13-p2-spread .rbr-psv1-img {
  width:auto;max-width:100%;height:auto;max-height:640px;object-fit:contain;
}
.rbr-psv1-root.rbr-psv13-p2-story .rbr-psv13-p2-multi {
  padding:45px 0 18px;border-top:1px solid var(--rbr-ps-line,#d2d9d1);
}
.rbr-psv1-root.rbr-psv13-p2-story .rbr-psv13-p2-multi > .rbr-psv1-section {
  width:min(790px,100%);padding:0;margin:0 auto 26px;
}
.rbr-psv1-root.rbr-psv13-p2-story .rbr-psv13-p2-multi > .rbr-psv13-p2-gallery {
  width:100%;margin:0 auto 48px;
}
.rbr-psv1-root.rbr-psv13-p2-story .rbr-psv13-p2-multi.rbr-psv13-p2-image-first > .rbr-psv1-section {
  margin:20px auto 20px;
}
.rbr-psv1-root.rbr-psv13-p2-story .rbr-psv13-p2-multi.rbr-psv13-p2-image-first > .rbr-psv13-p2-gallery {
  margin-bottom:22px;
}
.rbr-psv1-root.rbr-psv13-p2-story .rbr-psv13-p2-plain {
  padding:34px 0 52px;margin:0 auto;
}
.rbr-psv1-root.rbr-psv13-p2-story .rbr-psv13-p2-plain > .rbr-psv1-copy {
  width:min(790px,100%);margin:0 auto;
}
.rbr-psv1-root.rbr-psv13-p2-story .rbr-psv13-p2-gallery .rbr-psv1-caption,
.rbr-psv1-root.rbr-psv13-p2-story .rbr-psv13-p2-spread .rbr-psv1-caption {
  display:flex;flex-direction:column;max-width:100%;gap:5px;
}
.rbr-psv1-root.rbr-psv13-p2-story .rbr-psv13-p2-gallery .rbr-psv1-caption strong,
.rbr-psv1-root.rbr-psv13-p2-story .rbr-psv13-p2-spread .rbr-psv1-caption strong {
  font-size:13px;font-weight:650;line-height:1.65;
}
.rbr-psv1-root.rbr-psv13-p2-story .rbr-psv13-p2-gallery .rbr-psv1-caption > span,
.rbr-psv1-root.rbr-psv13-p2-story .rbr-psv13-p2-spread .rbr-psv1-caption > span {
  font-size:12.5px;line-height:1.72;color:#526961;
}
@media(max-width:820px){
  .rbr-psv1-root.rbr-psv13-p2-story .rbr-psv13-p2-gallery.rbr-psv13-p2-count-1 {
    width:calc(100% - 56px);
  }
  .rbr-psv1-root.rbr-psv13-p2-story .rbr-psv13-p2-spread {gap:26px;}
}
@media(max-width:720px){
  .rbr-psv1-root.rbr-psv13-p2-story .rbr-psv13-p2-gallery {
    grid-template-columns:minmax(0,1fr);row-gap:28px;margin:13px auto 42px;
  }
  .rbr-psv1-root.rbr-psv13-p2-story .rbr-psv13-p2-gallery.rbr-psv13-p2-count-1 {
    width:calc(100% - 40px);
  }
  .rbr-psv1-root.rbr-psv13-p2-story .rbr-psv13-p2-gallery > .rbr-psv1-figure:last-child:nth-child(odd):not(:first-child) {
    grid-column:1;width:100%;
  }
  .rbr-psv1-root.rbr-psv13-p2-story .rbr-psv13-p2-spread {
    display:flex;flex-direction:column;align-items:stretch;gap:21px;
    padding:33px 0 40px;
  }
  .rbr-psv1-root.rbr-psv13-p2-story .rbr-psv13-p2-spread > .rbr-psv1-section {order:0;}
  .rbr-psv1-root.rbr-psv13-p2-story .rbr-psv13-p2-spread > .rbr-psv1-figure {order:1;}
  .rbr-psv1-root.rbr-psv13-p2-story .rbr-psv13-p2-multi {padding:34px 0 10px;}
  .rbr-psv1-root.rbr-psv13-p2-story .rbr-psv13-p2-multi > .rbr-psv1-section {margin-bottom:18px;}
  .rbr-psv1-root.rbr-psv13-p2-story .rbr-psv13-p2-multi > .rbr-psv13-p2-gallery {margin-bottom:37px;}
  .rbr-psv1-root.rbr-psv13-p2-story .rbr-psv13-p2-multi.rbr-psv13-p2-image-first > .rbr-psv1-section {order:0;}
  .rbr-psv1-root.rbr-psv13-p2-story .rbr-psv13-p2-gallery .rbr-psv1-img {max-height:600px;}
}

/* RBR_PS_V13_P2C2_20261129 | Preserve existing Heading/Narrative for gallery-type sections.
 * Only the Story04 renderer emits this class; Story01-03 are unaffected. */
.rbr-psv1-root.rbr-psv13-p2-story .rbr-psv13-p2-gallery-intro {
  width:min(790px,calc(100% - 96px));margin:30px auto 22px;
  padding:39px 0 0;border-top:1px solid var(--rbr-ps-line,#d2d9d1);
}
.rbr-psv1-root.rbr-psv13-p2-story .rbr-psv13-p2-gallery-intro > .rbr-psv1-copy {
  max-width:100%;width:100%;
}
.rbr-psv1-root.rbr-psv13-p2-story .rbr-psv13-p2-gallery-intro + .rbr-psv13-p2-gallery {
  margin-top:0;
}
@media(max-width:720px){
  .rbr-psv1-root.rbr-psv13-p2-story .rbr-psv13-p2-gallery-intro {
    width:calc(100% - 40px);padding-top:29px;margin-top:24px;margin-bottom:18px;
  }
}

/* RBR_PS_V13_P3_20261129 | Story04 Research Panel / Section 6.
 * Read-only display of authored Media Library photoRefs. No automatic taxonomy.
 * Scoped to STORY04; preserves prior P1/P2/P2C1/P2C2 editorial behavior. */
.rbr-psv1-root.rbr-psv13-p2-story .rbr-psv1-science.rbr-psv13-p3-photo-panel {
  padding-bottom:clamp(64px,7vw,108px);
}
.rbr-psv1-root.rbr-psv13-p2-story .rbr-psv13-p3-research-photos {
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:start;column-gap:clamp(20px,3vw,40px);row-gap:clamp(32px,4vw,52px);
  max-width:1000px;width:100%;margin:54px auto 0;
}
.rbr-psv1-root.rbr-psv13-p2-story .rbr-psv13-p3-research-photos.rbr-psv13-p3-single {
  grid-template-columns:minmax(0,1fr);max-width:650px;
}
.rbr-psv1-root.rbr-psv13-p2-story .rbr-psv13-p3-research-photos > .rbr-psv1-figure {
  min-width:0;width:100%;margin:0;
}
.rbr-psv1-root.rbr-psv13-p2-story .rbr-psv13-p3-research-photos .rbr-psv1-open {
  display:flex;align-items:center;justify-content:center;width:100%;height:auto;
  min-height:0;padding:0;overflow:visible;background:transparent;
}
.rbr-psv1-root.rbr-psv13-p2-story .rbr-psv13-p3-research-photos .rbr-psv1-img {
  display:block;width:auto;max-width:100%;height:auto;max-height:550px;
  object-fit:contain;margin-inline:auto;
}
.rbr-psv1-root.rbr-psv13-p2-story .rbr-psv13-p3-research-photos .rbr-psv1-figcaption {
  display:block;max-width:100%;padding:11px 1px 0;
}
.rbr-psv1-root.rbr-psv13-p2-story .rbr-psv13-p3-research-photos .rbr-psv1-caption {
  display:flex;flex-direction:column;gap:6px;max-width:100%;
}
.rbr-psv1-root.rbr-psv13-p2-story .rbr-psv13-p3-research-photos .rbr-psv1-caption strong {
  font-size:13px;line-height:1.7;font-weight:650;color:#385c54;
}
.rbr-psv1-root.rbr-psv13-p2-story .rbr-psv13-p3-research-photos .rbr-psv1-caption > span {
  font-size:12.5px;line-height:1.77;color:#4d685e;
}
@media(max-width:720px){
  .rbr-psv1-root.rbr-psv13-p2-story .rbr-psv13-p3-research-photos {
    grid-template-columns:minmax(0,1fr);margin-top:34px;row-gap:31px;
  }
  .rbr-psv1-root.rbr-psv13-p2-story .rbr-psv13-p3-research-photos .rbr-psv1-img {
    max-height:540px;
  }
}
