.video-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.video-modal-content {
    background-color: transparent;
    margin: 10% auto;
    padding: 0;
    border: none;
    width: 90%;
    max-width: 600px;
    position: relative;
}

.video-modal-close {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}


/* Estilos para exibição do vídeo no mobile */
@media (max-width: 768px) {
  .custom-video-overlay {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.8) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 9999 !important;
  }

  .custom-video-overlay video,
  .custom-video-overlay iframe {
    max-width: 95vw !important;
    max-height: 80vh !important;
    box-shadow: none !important;
    border: none !important;
  }

  .custom-video-close {
    position: absolute !important;
    top: 10px;
    right: 15px;
    font-size: 28px;
    color: white;
    background: transparent;
    border: none;
    z-index: 10000;
    cursor: pointer;
  }
}

.custom-video-close-btn {
    position: fixed;
    top: 10px;
    right: 15px;
    font-size: 32px;
    color: white;
    background: transparent;
    border: none;
    z-index: 10000;
    cursor: pointer;
}


/* Botão X visível no mobile */
@media (max-width: 768px) {
  .custom-video-close-btn {
    position: fixed;
    top: 12px;
    right: 16px;
    font-size: 32px;
    color: white;
    background: transparent;
    border: none;
    z-index: 10001;
    cursor: pointer;
  }
}
