/* ant-videos.css — landing video-card chrome. Scoped to .ant-video-* */

.ant-video-card {
  display: block;
  width: 100%;
  border: 0;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.10);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: inherit;
  padding: 0;
  transition: transform 140ms ease, box-shadow 140ms ease;
}
.ant-video-card:hover,
.ant-video-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.16);
  outline: none;
}
.ant-video-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0b5230;
  overflow: hidden;
}
.ant-video-card__thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ant-video-card__thumb--blank {
  background: linear-gradient(135deg, #0B5230 0%, #129B59 100%);
}
.ant-video-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: transform 140ms ease;
}
.ant-video-card:hover .ant-video-card__play {
  transform: scale(1.08);
}
.ant-video-card__duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  padding: 3px 8px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border-radius: 4px;
  letter-spacing: 0.3px;
}
.ant-video-card__meta {
  padding: 14px 16px 16px;
}
.ant-video-card__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.32;
  margin: 0 0 6px;
  color: #1f2937;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ant-video-card__count {
  font-size: 13px;
  color: #6b7280;
  margin: 0;
  font-weight: 500;
  letter-spacing: 0.1px;
}
.ant-video-card--error .ant-video-card__chrome {
  padding: 30px 16px;
  background: #f3f4f6;
  border-radius: 16px;
  color: #6b7280;
  font-size: 14px;
  text-align: center;
}

/* overlay player */
.ant-video-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483640;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ant-video-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  cursor: pointer;
}
.ant-video-overlay__frame {
  position: relative;
  width: min(90vw, 1024px);
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 50px rgba(0,0,0,0.6);
}
.ant-video-overlay__iframe,
.ant-video-overlay__video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}
.ant-video-overlay__close {
  position: absolute;
  top: 8px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  z-index: 1;
}
.ant-video-overlay__close:hover { background: rgba(0,0,0,0.85); }
.ant-video-overlay__msg {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #fff;
  font-size: 14px;
}
