@import url("./style_paginas_central.css");

.central-help-page--help .video-help {
  width: min(920px, 100%);
  margin-inline: auto;
  padding: clamp(2.4rem, 4vw, 3.6rem);
  border: 1px solid rgba(187, 247, 208, 0.95);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 255, 251, 0.98));
  box-shadow: var(--shadow-md);
}

.video-help__header {
  max-width: 68rem;
}

.video-help__eyebrow {
  display: inline-flex;
  margin-bottom: 0.8rem;
  color: var(--color-primary-hover);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.video-help__header h3 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
}

.video-help__header p {
  margin-top: 1rem;
  color: var(--color-text-muted);
  font-size: clamp(1.6rem, 2vw, 1.8rem);
  font-weight: 700;
}

.video-help__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 28rem), 1fr));
  gap: 1.6rem;
  margin-top: clamp(2.4rem, 4vw, 3.2rem);
}

.video-help__grid[hidden],
.video-help__empty[hidden] {
  display: none;
}

.video-card {
  min-width: 0;
}

.video-card__link {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(34, 197, 94, 0.14);
  border-radius: 22px;
  background: var(--color-primary-soft);
  transition: var(--transition);
}

.video-card__link:hover {
  transform: translateY(-2px);
  border-color: rgba(34, 197, 94, 0.34);
  box-shadow: var(--shadow-md);
}

.video-card__media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(134, 239, 172, 0.34), transparent 32%),
    linear-gradient(135deg, #ecfdf5, #dcfce7);
}

.video-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-card__play {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 5.6rem;
  height: 5.6rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, var(--color-primary-hover), var(--color-primary));
  box-shadow: 0 16px 30px -18px rgba(5, 46, 22, 0.58);
}

.video-card__play::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 0.4rem;
  border-top: 0.9rem solid transparent;
  border-bottom: 0.9rem solid transparent;
  border-left: 1.4rem solid #ffffff;
}

.video-card__body {
  display: grid;
  gap: 0.8rem;
  padding: 1.8rem;
}

.video-card__body h4 {
  font-size: 1.8rem;
}

.video-card__body p {
  color: var(--color-text-muted);
  font-size: 1.45rem;
  font-weight: 600;
}

.video-help__empty {
  margin-top: clamp(2.4rem, 4vw, 3.2rem);
  padding: clamp(2rem, 4vw, 2.8rem);
  border: 1px dashed rgba(34, 197, 94, 0.34);
  border-radius: 22px;
  background: var(--color-primary-soft);
  color: var(--color-text-main);
  text-align: center;
  font-weight: 800;
}

html.theme-dark .central-help-page--help .video-help {
  border-color: rgba(134, 239, 172, 0.18);
  background: linear-gradient(180deg, rgba(12, 33, 23, 0.98), rgba(8, 26, 17, 0.98));
}

html.theme-dark .video-card__link,
html.theme-dark .video-help__empty {
  border-color: rgba(134, 239, 172, 0.18);
  background: rgba(22, 101, 52, 0.22);
}

html.theme-dark .video-card__link:hover {
  border-color: rgba(134, 239, 172, 0.36);
  background: rgba(34, 197, 94, 0.18);
}

html.theme-dark .video-card__media {
  background:
    radial-gradient(circle at 18% 18%, rgba(134, 239, 172, 0.22), transparent 32%),
    linear-gradient(135deg, rgba(20, 83, 45, 0.42), rgba(6, 20, 13, 0.92));
}

@media (max-width: 620px) {
  .central-help-page--help .video-help {
    border-radius: 22px;
  }

  .video-help__empty {
    border-radius: 18px;
    text-align: left;
  }
}
