/* YouTube lightbox styles — shared across projects/freelance/index pages. */
.lb-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
}
.lb-overlay.is-open { display: flex; }

.lb-dialog {
  position: relative;
  width: min(1100px, 100%);
}
.lb-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.lb-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.lb-soon {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: #fff;
  text-align: center;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 2rem;
}
.lb-soon small {
  font-weight: 500;
  opacity: 0.7;
  letter-spacing: 0;
}
.lb-close {
  position: absolute;
  top: -3rem;
  right: 0;
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.75rem;
  line-height: 1;
  color: #fff;
  background: transparent;
  border: 0;
  cursor: pointer;
  opacity: 0.85;
}
.lb-close:hover { opacity: 1; }

@media (max-width: 700px) {
  .lb-close { top: -2.75rem; }
}
