/* Silent neighbourhood video loops */
.ecr-video {
  margin: 0;
  position: relative;
  overflow: hidden;
  background: #1d2a1f;
}

.ecr-video__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.ecr-video__poster,
.ecr-video__media {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ecr-video__media {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.ecr-video__media.is-playing { opacity: 1; }

.ecr-video__caption {
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 13px;
  color: var(--ecr-slate, #4a5568);
  padding: 10px 2px 0;
  background: transparent;
}

.ecr-video-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) clamp(16px, 4vw, 40px);
}

.ecr-video-section__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  font-size: clamp(24px, 3vw, 32px);
  color: var(--ecr-forest, #2c3e2d);
  margin: 0 0 20px;
}

.ecr-video-section__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 20px;
}

.ecr-video-section__grid .ecr-video {
  border-radius: 4px;
  background: transparent;
}

.ecr-video-section__grid .ecr-video__frame {
  border-radius: 4px;
}
