.video-library .library-intro { padding-block: clamp(2rem, 4vw, 4rem) 0; }
.library-intro h1 { margin: .6em 0 .35em; }
.library-intro .muted { max-width: 58ch; }
.library-topics { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
.library-topics a {
  display: inline-block;
  border: 1px solid #c2c7c3;
  border-radius: 4px;
  padding: .55rem .75rem;
  color: #26302c;
  background: #f7f6f3;
  text-decoration: none;
}
.library-topics a:is(:hover, :focus-visible) { background: #e8ebe7; text-decoration: underline; }
.library-topic { scroll-margin-top: 1.5rem; }
.library-topic h2 { margin-bottom: 1.1rem; }
.library-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.8rem, 2vw, 1.6rem); }
.library-card .video-cover { aspect-ratio: 16 / 9; }
.library-card .video-cover img { width: 100%; height: 100%; object-fit: cover; }
.library-card-portrait .video-cover img { object-fit: contain; background: #26302c; }
.library-card .meta h3 { font-size: clamp(1rem, 1.45vw, 1.35rem); }
.library-card time, .video-publications time { font-size: .88rem; color: #48534e; }
.library-watch .video-copy { max-width: 65ch; margin: 1.75rem 0 0; }
.library-native-video { display: block; width: min(100%, 60rem); height: auto; background: #202824; }
.library-native-video.library-portrait { width: min(100%, 22rem); height: auto; aspect-ratio: 9 / 16; }
.service-rooflight-video { margin: 1.5rem 0; }
.service-rooflight-video figcaption { max-width: 65ch; margin-top: .8rem; }
.service-rooflight-video a, .video-publications a, .library-watch-links a { text-decoration: underline; text-underline-offset: .2em; }
.library-external-watch { display: grid; justify-items: start; gap: .9rem; width: fit-content; max-width: 100%; }
.library-watch-poster { max-width: 100%; width: min(40rem, 100%); max-height: 33rem; height: auto; object-fit: contain; object-position: left; }
.video-publications { margin: 1.6rem 0; }
.video-publications h2 { font-size: 1.3rem; margin-bottom: .55rem; }
.video-publications ul { margin: 0; padding: 0; list-style: none; display: flex; gap: .65rem 1.25rem; flex-wrap: wrap; }
.video-publications li { display: grid; gap: .2rem; }
.library-watch-links { display: flex; flex-wrap: wrap; gap: .6rem 1rem; }
@media (max-width: 900px) { .library-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .library-grid { grid-template-columns: minmax(0, 1fr); } }
