/* /small-business/website-videos/: vertical videos in a grid, each with a text version. */
.vid-feature {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.vid-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.vid {
  display: grid;
  gap: 0.6rem;
  align-content: start;
  min-width: 0;
  margin: 0;
}

.vid video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  border-radius: 12px;
  background: var(--navy-deep);
}

.vid h3 {
  margin: 0.4rem 0 0;
  font-size: 1.15rem;
}

.vid p {
  margin: 0;
  color: var(--muted);
}

.vid details {
  border-top: 1px solid var(--line);
  padding-top: 0.5rem;
}

.vid summary {
  cursor: pointer;
  color: var(--accent);
  font-weight: 600;
}

.vid details p {
  margin-top: 0.5rem;
  color: var(--ink);
}

@media (max-width: 900px) {
  .vid-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .vid-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
  .vid-feature { grid-template-columns: minmax(0, 1fr); }
  .vid-feature .vid { max-width: 340px; }
}

/* The player's controls take focus inside the video, so ring the video itself. */
.vid video:focus,
.vid video:focus-within {
  outline: 3px solid var(--navy);
  outline-offset: 2px;
}
