/* Video feed. Portrait cards (TikTok is 9:16): two across on phones, up to four on desktop.
   Path: /home/designfi/uberfife.com/modules/videos/assets/videos.css */
.block--videos { margin-top: 2.5rem; margin-bottom: 2.5rem; }
.videos__intro { color: var(--muted); max-width: 40rem; margin-bottom: 1.25rem; }
.videos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 0.75rem; }
@media (min-width: 760px) { .videos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem 1rem; } }
@media (min-width: 1100px) { .videos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.vid { display: flex; flex-direction: column; gap: 0.6rem; min-width: 0; scroll-margin-top: 5rem; }
.vid__media { position: relative; aspect-ratio: 9 / 16; border-radius: var(--r-md); overflow: hidden; background: #111; }
.vid__play { position: absolute; inset: 0; display: block; color: #fff; }
.vid__play img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vid__placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.25rem; color: #fff; background: #1a1a1a; }
.vid__button { position: absolute; left: 50%; top: 50%; width: 3.5rem; height: 3.5rem; margin: -1.75rem 0 0 -1.75rem; border-radius: 50%; background: rgba(0, 0, 0, 0.72); }
.vid__button::after { content: ""; position: absolute; left: 1.35rem; top: 1.05rem; border-style: solid; border-width: 0.7rem 0 0.7rem 1.15rem; border-color: transparent transparent transparent #fff; }
.vid__play:hover .vid__button, .vid__play:focus-visible .vid__button { background: #000; transform: scale(1.06); }
.vid__play:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }
.vid__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
/* Playing on a phone: the card takes the full row so the video is a usable size. */
@media (max-width: 759px) {
  .videos { grid-auto-flow: dense; } /* the next video moves up beside the one before the playing card */
  .vid--playing { grid-column: 1 / -1; }
  .vid--playing .vid__media { max-width: 26rem; width: 100%; margin: 0 auto; }
}
.vid--target .vid__media { outline: 3px solid var(--ink); outline-offset: 3px; }
.vid__body { display: flex; flex-direction: column; gap: 0.3rem; min-width: 0; }
.vid__body p { margin: 0; }
.vid__meta { font-size: 0.8rem; font-weight: 700; overflow-wrap: anywhere; }
.vid__platform { color: var(--muted); }
.vid__title { font-weight: 600; font-size: 0.95rem; line-height: 1.35; overflow-wrap: anywhere; }
.vid__note { font-size: 0.9rem; color: #333; background: var(--card); border-radius: var(--r-sm); padding: 0.5rem 0.65rem; }
.vid__foot { font-size: 0.8rem; color: var(--muted); }
.vid__actions { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; align-items: center; font-size: 0.875rem; font-weight: 600; }
.vid__share { font: inherit; font-weight: 600; background: none; border: 0; padding: 0.2rem 0; color: inherit; text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer; }
.videos__more { margin-top: 1.5rem; }
.videos__notice { margin-top: 2rem; font-size: 0.875rem; color: var(--muted); max-width: 44rem; }
@media (pointer: coarse) {
  .vid__actions a, .vid__share { display: inline-flex; align-items: center; min-height: 2.75rem; }
}
@media print { .vid__button, .vid__share { display: none; } .videos { grid-template-columns: repeat(3, 1fr); } }
.vid__fallback { margin: 0 0 0.25rem; font-size: 0.875rem; font-weight: 600; }
