/* ---------------------------------------------------------------------
 * [rc_video_gallery] — grid of video thumbnails with a gold play-icon
 * overlay; click loads an embedded player inline. Self-contained (does
 * not depend on the landing-page templates' stylesheet being loaded).
 * ------------------------------------------------------------------- */

.rc-video-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  background: #23201b;
  padding: 0;
}
.rc-video-tile {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  cursor: pointer;
  background: #1b1815;
}
.rc-video-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.rc-video-tile:hover img {
  transform: scale(1.06);
}
.rc-video-tile .rc-play-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.rc-video-tile .rc-play-icon svg {
  width: 15%;
  min-width: 48px;
  max-width: 72px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.5));
  transition: transform .3s ease;
}
.rc-video-tile:hover .rc-play-icon svg {
  transform: scale(1.1);
}
.rc-video-tile iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
@media (max-width: 720px) {
  .rc-video-gallery { grid-template-columns: repeat(1, 1fr); }
}

.rc-vg-empty {
	text-align: center;
	color: #e9dfc7;
	opacity: 0.6;
	padding: 40px 0;
	background: #23201b;
}

/* --- Featured hero video (featured="1" on the shortcode) ----------------
 * One large 16:9 video above the grid, same click-to-embed interaction as
 * the tiles (shared .rc-video-tile markup/JS). The same video also stays
 * in the grid below — that's the old site's real pattern, not a bug. */
.rc-video-featured {
  margin: 0 0 3px;
  background: #23201b;
}
.rc-video-featured .rc-video-tile {
  aspect-ratio: 16 / 9;
}
.rc-video-featured .rc-play-icon svg {
  width: 10%;
  min-width: 64px;
  max-width: 104px;
}

/* Infinite-scroll sentinel — zero-height trigger for the IntersectionObserver
 * in video-gallery.js. Never visible. */
.rc-vg-sentinel {
	height: 1px;
}

/* Status row while a batch is appended — plain text, deliberately not an
 * animated reveal (it's a status message, not decoration). */
.rc-vg-loading,
.rc-vg-count {
	text-align: center;
	font-family: monospace;
	font-size: 11px;
	letter-spacing: 0.06em;
	color: rgba(233, 223, 199, 0.55);
	margin: 12px 0 0;
}
.rc-vg-loading {
	text-transform: uppercase;
	font-size: 12px;
	color: rgba(233, 223, 199, 0.7);
}
.rc-vg-loading[hidden] {
	display: none;
}
