/* =========================================================================
   Tecnovap - consent-gated embed facades (.tv-embed). A branded dark poster
   with a yellow play/pin button; on click embeds.js swaps in the iframe.
   Fills its container (.usecase-video-media 16/9, .kontakt-info-map 4/3 — both
   define a height via aspect-ratio, so height:100% fills them). Distinct from
   the demo gallery's .tv-video* classes (G4).
   ========================================================================= */

.tv-embed {
  -webkit-appearance: none;
  appearance: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 100%;
  min-height: 200px;
  margin: 0;
  padding: 24px;
  border: 0;
  cursor: pointer;
  text-align: center;
  font-family: 'Poppins', system-ui, sans-serif;
  color: #ffffff;
  background:
    radial-gradient(120% 120% at 50% 35%, rgba(255, 240, 0, .10), transparent 60%),
    #1f1f1f;
  transition: background .3s ease;
}
.tv-embed:hover {
  background:
    radial-gradient(120% 120% at 50% 35%, rgba(255, 240, 0, .16), transparent 60%),
    #1a1a1a;
}

.tv-embed-play {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--c-yellow, #fff000);
  color: #1a1a1a;
  box-shadow: 0 10px 26px -10px rgba(0, 0, 0, .6);
  transition: transform .25s ease, background .25s ease;
}
.tv-embed:hover .tv-embed-play {
  transform: scale(1.08);
  background: var(--c-yellow-hover, #f5d800);
}
.tv-embed-play svg { width: 28px; height: 28px; }
.tv-embed--map .tv-embed-play svg { width: 30px; height: 30px; }

.tv-embed-label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .03em;
}
.tv-embed-note {
  font-size: 11.5px;
  line-height: 1.4;
  color: rgba(255, 255, 255, .62);
  max-width: 22ch;
}

.tv-embed:focus-visible {
  outline: 2px solid var(--c-yellow, #fff000);
  outline-offset: -4px;
}

/* Compact variant for the short (160px) footer map slot. */
.footer-map .tv-embed {
  min-height: 0;
  gap: 7px;
  padding: 10px;
}
.footer-map .tv-embed-play { width: 40px; height: 40px; }
.footer-map .tv-embed-play svg { width: 22px; height: 22px; }
.footer-map .tv-embed-label { font-size: 12px; }
.footer-map .tv-embed-note { display: none; }

@media (prefers-reduced-motion: reduce) {
  .tv-embed,
  .tv-embed-play { transition: none; }
  .tv-embed:hover .tv-embed-play { transform: none; }
}
