/* Never enlarge a clip beyond its native size; keep portrait clips within the viewport. */
#content .journal-video {
  margin: 24px 0; position: relative;
  width: min(100%, var(--video-width, 640px), calc(75vh * var(--video-aspect, 1.777777778)));
  width: min(100%, var(--video-width, 640px), calc(75svh * var(--video-aspect, 1.777777778)));
}
#content .journal-video video { display: block; width: 100%; height: auto; margin: 0; aspect-ratio: var(--video-ratio); object-fit: contain; border-radius: 12px; background: #000; }
.journal-video-play {
  display: block; position: absolute; inset: 0; width: 100%; height: 100%;
  padding: 0; overflow: hidden; border: 0; border-radius: 12px;
  background: #000; color: #fff; cursor: pointer; font: inherit; z-index: 2;
}
.journal-video-play[hidden], .journal-video-message[hidden] { display: none; }
#content .journal-video-cover { display: block; width: 100%; height: 100%; object-fit: contain; }
.journal-video-play-label {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  padding: 12px 20px; border: 1px solid #ffffff55; border-radius: 999px;
  white-space: nowrap; background: #111d; font-size: 16px; line-height: 1.5;
  transition: background-color 0.15s ease;
}
.journal-video-play:hover .journal-video-play-label { background: #222; }
.journal-video-play:focus-visible { outline: 2px solid #b9d7ff; outline-offset: 4px; }
.journal-video-message { padding: 12px 0; font-size: 14px; line-height: 1.7; }
