/* /videos — native YouTube gallery (replaces the third-party embed the live page used;
   see README for why it could not be ported as-is).
   Everything below is additive; static/css/webflow.css is the original stylesheet and
   is not touched. Colours/typography follow the site's own body rule
   (#1a1b1f on Montserrat). */

.video-gallery {
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 20px 48px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.video-card {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}

.video-card:hover,
.video-card:focus-visible {
  border-color: #d3d3d3;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .10);
  transform: translateY(-2px);
}

.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background-color: #000;
}

.video-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-duration {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 4px 7px;
  border-radius: 4px;
  background-color: rgba(0, 0, 0, .82);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .02em;
}

.video-meta {
  padding: 14px 16px 16px;
}

.video-title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

.video-date {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #6b6b6b;
}

.video-subscribe {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 40px 0 8px;
  text-align: center;
}

.video-subscribe-note {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
}

.video-subscribe-button {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 4px;
  background-color: #1a1b1f;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
  transition: background-color .18s ease;
}

.video-subscribe-button:hover,
.video-subscribe-button:focus-visible {
  background-color: #000;
}

@media screen and (max-width: 767px) {
  .video-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 18px;
  }
  .video-gallery {
    padding: 0 16px 36px;
  }
}
