.branch-laboratory, .branch-news {
  width: min(100% - clamp(28px, 9vw, 140px), 1170px);
  margin: clamp(64px, 9vw, 140px) auto;
}
.lab-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: clamp(18px, 4vw, 52px);
  padding-bottom: clamp(24px, 4vw, 48px);
  border-bottom: 1px solid #ffffff42;
}
.lab-intro h2, .news-masthead h2 {
  font-size: clamp(2.6rem, 7.5vw, 6.4rem);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: 1;
}
.lab-intro p {
  max-width: 50ch;
  margin-top: 15px;
  color: #dfded9;
  font-size: clamp(1rem, 2vw, 1.25rem);
}
.lab-intro img { flex: none; width: clamp(64px, 10vw, 116px); height: auto; }
.lab-posts {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(14px, 3vw, 40px);
  row-gap: clamp(25px, 4vw, 60px);
  padding-top: clamp(20px, 3vw, 40px);
}
.lab-post { grid-column: span 4; min-width: 0; }
.lab-post:first-child { grid-column: span 7; }
.lab-post:nth-child(2) { grid-column: span 5; }
.lab-media {
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #121212;
  aspect-ratio: 4 / 3;
}
.lab-post:nth-child(-n + 2) .lab-media {
  height: clamp(235px, 33vw, 420px);
  aspect-ratio: auto;
}
.lab-media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  transition: transform .45s ease;
}
.lab-post:hover img { transform: scale(1.025); }
.lab-copy { padding-top: 18px; }
.lab-copy time { color: #d1c29e; font-size: .8rem; }
.lab-copy h3 {
  margin: 5px 0 8px;
  font-size: clamp(1.23rem, 2.5vw, 2.05rem);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.13;
}
.lab-copy p { max-width: 52ch; color: #dddcd6; line-height: 1.52; }
.editorial-source {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  min-height: 44px;
  width: fit-content;
  font-size: .86rem;
  text-underline-offset: .24em;
  text-decoration: underline;
}
.branch-news {
  box-sizing: border-box;
  background: #f5f1e8;
  color: #242119;
  padding: clamp(18px, 4.5vw, 62px);
  box-shadow: 0 10px 36px #0005;
}
.news-masthead {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 15px;
  border-bottom: 4px double #292721;
}
.news-masthead p, .news-category {
  font-size: .77rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.news-masthead p { text-align: right; }
.news-story {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  grid-template-areas: 'photos title' 'photos copy';
  grid-template-rows: auto 1fr;
  align-items: start;
  column-gap: clamp(18px, 4vw, 50px);
  padding-block: clamp(22px, 4.5vw, 60px);
  border-bottom: 1px solid #29272155;
}
.news-story[hidden] { display: none; }
.news-story header { grid-area: title; }
.news-category { color: #634d23; margin-bottom: 7px; }
.news-story time { display: block; color: #5e574e; font-size: .85rem; }
.news-story h3 {
  margin: 11px 0 12px;
  font-family: Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 3.55rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.news-story-copy { grid-area: copy; font-size: clamp(1rem, 1.5vw, 1.13rem); line-height: 1.57; }
.news-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 0 18px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.news-photos { grid-area: photos; min-width: 0; }
.news-photo-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  margin: 0;
  padding: 0;
  list-style: none;
}
.news-photo-track li {
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: start;
}
.news-photo-track img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: contain;
  background: #e7e1d6;
}
.news-photo-controls:not([hidden]), .news-pages:not([hidden]) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
}
.news-photo-controls button, .news-pages button {
  color: inherit;
  font: inherit;
  min-width: 44px;
  min-height: 44px;
  padding: 5px 10px;
  background: transparent;
  border: 1px solid #746e63;
  cursor: pointer;
}
.news-photo-controls button:hover, .news-pages button:hover { background: #e6dfd1; }
.news-photo-controls [data-photo-play] { margin-left: auto; font-size: .82rem; }
.news-pages p, .news-photo-controls > span { white-space: nowrap; font-size: .82rem; }
.news-pages { padding-bottom: 10px; border-bottom: 1px solid #29272155; }
.branch-news :is(button, a, .news-photo-track):focus-visible { outline: 2px solid #594819; outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) {
  .news-story.page-enter { animation: news-page-in .3s ease-out; }
  @keyframes news-page-in {
    from { opacity: .4; transform: translateX(var(--page-entry, 10px)); }
    to { opacity: 1; transform: translateX(0); }
  }
}
@media (prefers-reduced-motion: reduce) { .lab-media img { transition: none; transform: none; } }
@media (max-width: 800px) {
  .lab-post, .lab-post:first-child, .lab-post:nth-child(2) { grid-column: span 6; }
  .lab-post:nth-child(-n + 2) .lab-media { height: auto; aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) {
  .lab-intro { align-items: start; }
  .news-story { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'title' 'photos' 'copy'; row-gap: 12px; }
  .news-story h3 { margin-bottom: 3px; text-wrap: pretty; }
  .news-pages button { font-size: .83rem; }
}
@media (max-width: 430px) {
  .lab-post, .lab-post:first-child, .lab-post:nth-child(2) { grid-column: 1 / -1; }
}
@media (max-width: 350px) {
  .news-pages button span { display: none; }
}
