/* YouTube videos on the site's pages (Page Videos plugin, usersc/plugins/asar_videos). Scoped to .asar-videos.
   Each video is 16:9 and as wide as the page allows, so it fits a phone. */
.asar-videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: 1.25rem; margin: 1.5rem auto; max-width: 60rem; text-align: center; }
.asar-videos .av-video { margin: 0; }
.asar-videos .av-frame {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #000;
  border: 2px solid var(--asar-purple, rgb(140, 68, 173)); border-radius: 12px;
}
.asar-videos .av-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.asar-videos .av-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.asar-videos .av-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 72px; height: 50px;
  display: flex; align-items: center; justify-content: center; border-radius: 14px; font-size: 24px;
  color: #fff; background: var(--asar-red, rgb(250, 50, 50)); opacity: 0.9; transition: opacity 0.2s;
}
.asar-videos .av-frame:hover .av-play, .asar-videos .av-frame:focus-visible .av-play { opacity: 1; }
.asar-videos .av-frame:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.asar-videos figcaption { margin-top: 0.5rem; color: whitesmoke; font-weight: 600; }
.asar-videos .av-note { grid-column: 1 / -1; margin: 0; font-size: 0.85rem; color: #c9c4d4; }
/* Category headings (update 00002): each category is its own grid under a heading. */
.av-cat { text-align: center; color: #fff; font-size: 1.3rem; margin: 1.75rem 0 -0.5rem; }
