/*
 * Less Lethal AF — Launcher Video Section Styles
 * Styles for .llp-video-section and All-in-One Video Gallery (aiovg) overrides.
 * Loaded site-wide via the rhythm-blog-child theme.
 */

/* ── Hand-coded video card grid (llp-vid-card) ─────────────────────────── */

.llp-video-section {
  margin: 0 0 28px;
}
.llp-video-section h3 {
  font-size: 1.1em;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid #e84040;
}
.llp-video-category {
  margin: 16px 0 8px;
  font-size: 0.82em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #888;
  border-bottom: 1px solid #e8e8e8;
  padding-bottom: 4px;
}
.llp-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
  margin: 0 0 16px;
}
.llp-vid-card {
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.15s;
}
.llp-vid-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.13);
}
.llp-vid-thumb {
  position: relative;
  display: block;
  width: 100%;
  padding-top: 56.25%;
  background: #111;
  overflow: hidden;
}
.llp-vid-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s;
}
.llp-vid-card:hover .llp-vid-thumb img {
  opacity: 0.85;
}
.llp-vid-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  background: rgba(0, 0, 0, 0.72);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.llp-vid-play svg {
  width: 20px;
  height: 20px;
  fill: #fff;
  margin-left: 3px;
}
.llp-vid-info {
  padding: 10px 12px;
}
.llp-vid-title {
  font-size: 0.85em;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 4px;
  line-height: 1.4;
}
.llp-vid-title a {
  color: #1a1a1a;
  text-decoration: none;
}
.llp-vid-title a:hover {
  color: #c0392b;
}
.llp-vid-meta {
  font-size: 0.78em;
  color: #888;
}

/* ── All-in-One Video Gallery (aiovg) overrides ─────────────────────────── */

.llp-video-section .aiovg-videos {
  margin-top: 14px;
}
.llp-video-section .aiovg-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin: 0;
}
.llp-video-section .aiovg-col {
  width: auto;
  max-width: none;
  padding: 0;
  float: none;
}
.llp-video-section .aiovg-item-video {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.07);
  display: flex;
  flex-direction: column;
}
.llp-video-section .aiovg-item-video:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
}
.llp-video-section .aiovg-thumbnail {
  position: relative;
  overflow: hidden;
  background: #111;
}
.llp-video-section .aiovg-responsive-container {
  display: block;
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
.llp-video-section .aiovg-responsive-element {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.llp-video-section .aiovg-svg-icon-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  color: #fff;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.6));
  pointer-events: none;
}
.llp-video-section .aiovg-caption {
  padding: 11px 13px 13px;
  flex: 1;
  background: #fff;
}
.llp-video-section .aiovg-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  margin: 0;
}
.llp-video-section .aiovg-link-title {
  color: #1a1a1a;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}
.llp-video-section .aiovg-link-title:hover {
  color: #e87722;
}
