/* Video embed — fatada cu thumbnail, iframe incarcat la click */
.cog-video {
  margin: 0.75em 0;
  max-width: 100%;
}
.cog-video--16-9 .cog-video__fatada,
.cog-video--16-9 .cog-video__iframe { aspect-ratio: 16 / 9; }
.cog-video--4-3 .cog-video__fatada,
.cog-video--4-3 .cog-video__iframe { aspect-ratio: 4 / 3; }
.cog-video--9-16 .cog-video__fatada,
.cog-video--9-16 .cog-video__iframe { aspect-ratio: 9 / 16; max-width: 420px; margin: 0 auto; }
.cog-video__fatada {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: #10151a;
}
.cog-video__thumbnail {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.85;
  transition: opacity 0.2s ease-out, transform 0.3s ease-out;
}
.cog-video__fatada:hover .cog-video__thumbnail,
.cog-video__fatada:focus-visible .cog-video__thumbnail { opacity: 1; transform: scale(1.02); }
.cog-video__fatada:focus-visible { outline: 3px solid var(--cog-accent, #2E7D32); outline-offset: 2px; }
.cog-video__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 4em; height: 4em;
  border-radius: 50%;
  background: var(--cog-accent, #2E7D32);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease-out;
}
.cog-video__fatada:hover .cog-video__play { transform: translate(-50%, -50%) scale(1.08); }
.cog-video__play svg { width: 2em; height: 2em; fill: #fff; margin-left: 0.2em; }
.cog-video__iframe {
  width: 100%;
  border: 0;
  border-radius: 8px;
  display: block;
}
.cog-video__titlu {
  font-size: 0.9em;
  color: #555;
  margin-top: 0.5em;
  text-align: center;
}
.cog-video--invalid {
  padding: 1em 1.25em;
  border: 1px dashed #c0392b;
  border-radius: 8px;
  color: #c0392b;
  font-size: 0.95em;
}
@media (prefers-reduced-motion: reduce) {
  .cog-video__thumbnail, .cog-video__play { transition: none; }
}
