/* Video es hanganyag a Sajto / Press oldalon (media-player.js nyitja meg) */
.media-link {
  display: inline-flex;
  align-items: center;
  gap: 0.8em;
}
.media-thumb {
  position: relative;
  flex: 0 0 auto;
  width: 112px;
  aspect-ratio: 16 / 9;
  border: 1px solid #444;
  overflow: hidden;
}
.media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.media-play,
.media-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8em;
  color: #fff;
}
.media-play {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}
.media-icon {
  flex: 0 0 auto;
  width: 1.9em;
  height: 1.9em;
  border: 1px solid #888;
  border-radius: 50%;
}
#media-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.88);
  align-items: center;
  justify-content: center;
  padding: 1em;
}
#media-overlay.open {
  display: flex;
}
#media-box {
  position: relative;
  width: 100%;
  max-width: 960px;
  color: #fff;
}
#media-box video {
  width: 100%;
  max-height: 80vh;
  background: #000;
  display: block;
}
#media-box audio {
  width: 100%;
}
#media-title {
  margin: 0 2.5em 0.6em 0;
  font-weight: bold;
}
#media-close {
  position: absolute;
  top: -0.3em;
  right: 0;
  background: none;
  border: 0;
  color: #fff;
  font-size: 1.8em;
  line-height: 1;
  cursor: pointer;
}
