.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.video-card { display: block; min-width: 0; background: #fff; border: 3px solid #fff; color: #333; }
.video-card:focus-visible { outline: 3px solid #35872f; outline-offset: 3px; }
.video-cover { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #263238; }
.video-cover img { width: 100%; height: 100%; object-fit: cover; }
.video-play { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; border-radius: 50%; background: rgb(0 0 0 / 55%); transform: translate(-50%, -50%); }
.video-play::after { content: ''; position: absolute; left: 23px; top: 16px; border-left: 20px solid #fff; border-top: 13px solid transparent; border-bottom: 13px solid transparent; }
.video-card-text { padding: 12px; }
.video-card h1, .video-card h2 { margin: 0 0 14px; color: inherit; font-size: 17px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.video-card p { display: -webkit-box; margin: 0; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-height: 1.6; font-size: 14px; color: #555; }
.video-card-featured { position: relative; grid-column: span 2; }
.video-card-featured .video-card-text { position: absolute; right: 0; bottom: 0; left: 0; padding: 12px; background: rgb(0 0 0 / 75%); color: #fff; }
.video-card-featured p { color: #fff; -webkit-line-clamp: 1; }
.video-card-featured h1 { margin-bottom: 6px; font-size: 21px; }
.resource-video { display: block; width: 100%; aspect-ratio: 16 / 9; margin-top: 18px; background: #000; }
.video-summary { white-space: pre-line; overflow-wrap: anywhere; }
.page-video-detail .article_content { min-height: 0; }
.video-return { margin-top: 24px; }
#video-error { padding: 12px; color: #a12622; }
@media (max-width: 767px) {
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .video-card-featured { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .video-grid { grid-template-columns: minmax(0, 1fr); }
  .page-video-detail .article_content .abstract { display: block; }
}
