/**
 * Theme Name:     Hello Elementor Child
 * Author:         Feldrise
 * Template:       hello-elementor
 * Text Domain:	   hello-elementor-child
 * Description:    Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
 * Author URI:     https://feldrise.com
 */

/* Optional extra guard; the JS uses body:fixed, but this also hides scrollbars */
html.next-iframe--open,
body.next-iframe--open {
  overflow: hidden;
}


/* Modal container: 99% width on desktop, force bg */
.next-iframe-container {
  position: relative;
  width: 99%;
  max-width: none;            /* no hard cap */
  height: 95vh;
  background: #1a1e28 !important; /* force the dark bg */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}

/* Keep iframe full container */
.next-iframe-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Small screens: still full-bleed */
@media (max-width: 767px) {
  .next-iframe-container {
    width: 100vw;
    height: 90vh;
    max-width: none;
    max-height: none;
    border-radius: 10px;
    margin: 0;
  }

  .next-iframe-close{
    position:absolute !important;
    top:40px !important;
    right:16px !important;
  }
}

@media (max-height: 687px) {
  .next-iframe-close {
    top: 66px !important;
  }
}


/* Close button colors */
.next-iframe-close {
  color: #fff !important;   /* white by default */
  transition: color .15s ease;
}

.next-iframe-close:hover {
  color: #ff3b30 !important; /* red on hover */
}


