/* Full source frame and user-approved fill remain; captions now float over video. */
.rc-video-hero {
  --rc-video-viewport: 100vh;
  --rc-video-header-height: 88px;
  --rc-video-footer-height: 0px;
  --rc-video-available-height: max(0px, calc(var(--rc-video-viewport) - var(--rc-video-header-height)));
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
  background: #081328;
  color: #fff;
}
@supports (height: 100svh) {
  .rc-video-hero { --rc-video-viewport: 100svh; }
}
.rc-video-background {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  height: min(56.25vw, var(--rc-video-available-height));
  overflow: hidden;
}
.rc-video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center;
  transition: opacity .4s ease;
}
.rc-video-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity .4s ease;
}
.rc-video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  border: 0;
  object-fit: fill;
  object-position: center;
  pointer-events: none;
}
.rc-video-hero[data-ready="true"] .rc-video-frame { opacity: 1; }
.rc-video-hero[data-ready="true"] .rc-video-poster { opacity: 0; }
/* No panel, blur or image-wide shade: only soft shadows immediately around text. */
.rc-video-shade { display: none; }
.rc-page .rc-video-hero .rc-video-footer {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  min-width: 0;
  padding: 0 0 calc(24px + env(safe-area-inset-bottom, 0px));
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  pointer-events: none;
  text-shadow: 0 1px 3px rgba(0,0,0,.9), 0 3px 14px rgba(0,0,0,.5);
}
.rc-page .rc-video-hero .rc-video-caption {
  min-width: 0;
  max-width: calc(100% - 85px);
}
.rc-page .rc-video-hero .rc-video-caption p {
  margin: 0 0 4px;
  max-width: 100%;
  color: rgba(255,255,255,.94);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.rc-video-discover {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  min-height: 44px;
  color: #fff !important;
  font-family: Manrope, Arial, sans-serif;
  font-size: clamp(18px, 1.6vw, 25px);
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  pointer-events: auto;
}
.rc-video-discover span { font-size: .85em; }
.rc-video-discover:hover { text-decoration: underline; text-underline-offset: .22em; }
.rc-page .rc-video-hero .rc-video-scene {
  flex: 0 0 auto;
  padding-bottom: 9px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: .1em;
  white-space: nowrap;
}
.rc-video-notice[hidden] { display: none !important; }
.rc-video-hero a:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }
.rc-video-notice { position: absolute; top: 25px; left: max(20px, calc((100% - 1200px) / 2)); max-width: min(450px, calc(100% - 40px)); padding: 16px 20px; border: 1px solid rgba(255,255,255,.2); background: rgba(8,19,40,.88); font-size: 13px; line-height: 1.6; }
.rc-video-notice p { margin: 0 0 8px; }
.rc-video-notice a, .rc-video-noscript a { color: #fff; text-decoration: underline; }
.rc-video-noscript { position: absolute; top: 20px; left: 20px; padding: 14px; background: #081328; }
.rc-video-sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media(max-width: 760px) {
  .rc-page .rc-video-hero .rc-video-footer { padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); gap: 10px; }
  .rc-page .rc-video-hero .rc-video-caption { max-width: calc(100% - 60px); }
  .rc-page .rc-video-hero .rc-video-caption p { font-size: 9px; letter-spacing: .07em; line-height: 1.45; }
  .rc-video-discover { font-size: 18px; gap: 10px; }
  .rc-page .rc-video-hero .rc-video-scene { font-size: 9px; letter-spacing: .08em; padding-bottom: 12px; }
  .rc-video-notice { top: 12px; padding: 10px 14px; font-size: 11px; }
}
@media(prefers-reduced-motion: reduce) {
  .rc-video-poster, .rc-video-frame { transition: none; }
}
