/* EXP Tube embedded homepage video billboards - click fixed */
.exp-video-wall-layer {
  position: absolute;
  inset: 0;
  z-index: 70; /* above portals/front visuals so clicks hit videos, not portals */
  pointer-events: none;
  overflow: hidden;
}

.exp-video-wall-card {
  position: absolute;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(2, 6, 23, 0.78);
  box-shadow: 0 24px 45px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.06);
  cursor: pointer;
  pointer-events: auto;
  padding: 0;
  color: #fff;
  transform-origin: center center;
  transition: filter 140ms ease, box-shadow 140ms ease;
  user-select: none;
  -webkit-user-select: none;
}

.exp-video-wall-card * {
  pointer-events: none;
}

.exp-video-wall-card:hover,
.exp-video-wall-card:focus-visible {
  filter: brightness(1.12) saturate(1.1);
  box-shadow: 0 30px 70px rgba(0,0,0,0.58), 0 0 28px rgba(59,130,246,0.3);
  outline: none;
}

.exp-video-wall-card.is-active {
  border-color: rgba(96,165,250,0.95);
  box-shadow: 0 30px 75px rgba(0,0,0,0.62), 0 0 36px rgba(59,130,246,0.48);
}

.exp-video-wall-thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: rgba(0,0,0,0.35);
}

.exp-video-wall-shade {
  position: absolute;
  inset: auto 0 0 0;
  min-height: 46%;
  background: linear-gradient(180deg, rgba(2,6,23,0), rgba(2,6,23,0.82));
}

.exp-video-wall-title {
  position: absolute;
  left: 12px;
  right: 42px;
  bottom: 12px;
  font-size: 20px;
  line-height: 0.95;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  text-align: left;
  text-shadow: 0 3px 10px rgba(0,0,0,0.75);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.exp-video-wall-meta {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.exp-video-wall-pill,
.exp-video-wall-duration {
  display: inline-flex;
  align-items: center;
  max-width: 72%;
  border-radius: 999px;
  padding: 5px 8px;
  background: rgba(0,0,0,0.62);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.92);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  backdrop-filter: blur(8px);
}

.exp-video-wall-duration {
  margin-left: auto;
  max-width: none;
  font-size: 12px;
  letter-spacing: 0;
}

.exp-video-wall-empty {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  padding: 12px 16px;
  background: rgba(2,6,23,0.72);
  border: 1px solid rgba(255,255,255,0.13);
  color: rgba(255,255,255,0.72);
  font-size: 13px;
  font-weight: 800;
}

.exp-bg-embed-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.exp-bg-embed-frame.is-playing {
  opacity: 0.74;
}

body.exp-video-wall-ready .exp-video-panel {
  display: none !important;
}

body.exp-video-wall-ready .hq-bg-layer--shade {
  background: linear-gradient(180deg, rgba(2,6,23,0.16), rgba(2,6,23,0.72));
}

body.exp-video-wall-ready .exp-bg-video.is-playing {
  opacity: 0.72;
}


/* EXP Tube selected-video mode: hide the clickable thumbnails and let the video play clean. */
body.exp-video-playing .exp-video-wall-layer {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 160ms ease, visibility 160ms ease;
}
body.exp-video-playing .hq-bg-layer--image {
  opacity: 0 !important;
}
body.exp-video-playing .hq-bg-layer--shade {
  display: none !important;
}
body.exp-video-playing .exp-bg-video.is-playing,
body.exp-video-playing .exp-bg-embed-frame.is-playing {
  opacity: 1 !important;
  filter: none !important;
}
body.exp-video-playing .exp-bg-video {
  object-fit: cover;
  background: #fff;
}
body.exp-video-playing .hq-ground {
  background: linear-gradient(to bottom, rgba(255,255,255,0.08), rgba(255,255,255,0.20));
  border-top-color: rgba(25, 184, 170, 0.28);
  box-shadow: none;
}
.exp-video-return-btn {
  position: absolute;
  right: 18px;
  bottom: 70px;
  z-index: 130;
  border: 2px solid rgba(38, 218, 122, 0.85);
  background: rgba(255,255,255,0.92);
  color: #075f6d;
  border-radius: 999px;
  padding: 10px 15px;
  font-weight: 1000;
  box-shadow: 0 12px 32px rgba(14, 165, 180, 0.20);
  cursor: pointer;
  backdrop-filter: blur(12px);
}
body:not(.exp-video-playing) .exp-video-return-btn { display:none; }
