.fh-featured-video {
  margin-bottom: calc(1.5 * var(--spacing--block));
  --plyr-color-main: var(--color--primary);
  --plyr-font-family: var(--font-family--body, 'Cabin', sans-serif);
}

.fh-featured-video__player {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 14px;
  background: #000;
}

.fh-featured-video .fh-featured-video__poster {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: #000;
  color: #fff;
  cursor: pointer;
  overflow: hidden;
}

.fh-featured-video__poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fh-featured-video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: clamp(54px, 10vw, 72px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--color--primary);
  box-shadow: 0 2px 14px #0006;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}

.fh-featured-video__play::before {
  content: '';
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 17px solid #fff;
}

.fh-featured-video__poster:hover .fh-featured-video__play {
  transform: translate(-50%, -50%) scale(1.06);
}

.fh-featured-video .fh-featured-video__poster:focus-visible {
  outline: 3px solid var(--color--primary);
  outline-offset: -3px;
}

@media (prefers-reduced-motion: reduce) {
  .fh-featured-video__play { transition: none; }
}

.fh-featured-video__embed,
.fh-featured-video__player > .plyr,
.fh-featured-video__player > .plyr__video-embed {
  width: 100%;
  height: 100%;
}

.fh-featured-video__player iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* A főoldal általános button/input szabályai ne alakítsák át a Plyr vezérlőit. */
.fh-featured-video .plyr .plyr__control {
  margin: 0;
  border: 0;
  line-height: 1;
  text-transform: none;
}

.fh-featured-video .plyr input[type='range'] {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.fh-featured-video .plyr__video-wrapper {
  border-radius: inherit;
}

.fh-featured-video__details {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin-top: 0.65rem;
  font-size: var(--font-size--tiny);
  overflow-wrap: anywhere;
}

.fh-featured-video__details strong {
  color: var(--color--foreground);
}

.fh-featured-video__details a {
  font-size: 0.85em;
}
