/* Shared page hero matches the Collection template. */
.site-custom .video-library-heading {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 20px;
}
.site-custom .video-library-heading h2 {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
}
.site-custom .video-library-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-body);
}
.site-custom .video-library-more .icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
  stroke-width: 0;
}
.site-custom .video-library-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 24px;
}
.site-custom .video-card { min-width: 0; }
.site-custom .video-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--color-burgundy-deep);
}
.site-custom .video-card-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.site-custom .video-card-play:focus-visible {
  outline-offset: -4px;
  z-index: 2;
}
.site-custom .video-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}
.site-custom .video-card-play:hover .video-card-image { transform: scale(1.035); }
.site-custom .video-card-play-icon {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 42px;
  border-radius: 10px;
  background: #f46b24;
  color: #fff;
  box-shadow: 0 3px 18px rgba(0, 0, 0, .18);
  transition: background .2s, transform .2s;
}
.site-custom .video-card-play-icon .icon { width: 25px; height: 25px; fill: currentColor; stroke-width: 0; }
.site-custom .video-card-play:hover .video-card-play-icon { background: #d95010; transform: scale(1.05); }
.site-custom .video-card-player {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  background: #000;
  object-fit: contain;
}
.site-custom .video-card.has-player .video-card-play { visibility: hidden; }
.site-custom .video-card.has-player:not([data-video-type="file"]) .video-card-media { min-height: 200px; }
.site-custom .video-card-title {
  margin: 12px 0 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.site-custom .video-card-status {
  margin: 8px 0 0;
  font-size: var(--text-small);
  color: var(--color-muted);
}
.site-custom .video-card-status[hidden] { display: none; }
.site-custom .video-card-status a { text-decoration: underline; }
.site-custom .video-library-empty { color: var(--color-muted); }
@media (max-width: 1023px) {
  .site-custom .video-library-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .site-custom .video-library-grid { grid-template-columns: 1fr; gap: 28px; }
  .site-custom .video-library-heading { margin-bottom: 16px; }
}
