/* Hide header/footer in print-view mode */
body.print-view header,
body.print-view nav,
body.print-view footer,
body.print-view .site-header,
body.print-view .site-footer,
body.print-view #uicore-tb-footer,
body.print-view .uicore-top-bar,
body.print-view .elementor-location-header, body.print-view .casestudy_cta,
body.print-view .elementor-location-footer {
  display: none !important;
}

body.print-view * {
  border-top: none !important;
  box-shadow: none !important;
}

/* Modal overlay */
.pdf-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.9);
  backdrop-filter: blur(2px);
}

/* Modal box */
.pdf-modal-content {
  margin: 2% auto;
  padding: 0;
  width: 95%;
  height: 95%;
  max-width: 1400px;
  background-color: #fff;
  position: relative;
  border-radius: 8px;
  box-shadow: 0 0 25px rgba(187, 76, 240, 0.4);
  border: 3px solid #bb4cf0;
}

/* PDF frame */
.pdf-modal-content iframe {
  width: 100%;
  height: 100%;
  border: none !important;
  outline: none !important;
  border-radius: 6px;
}

/* Close button */
.pdf-modal-close {
  position: absolute;
  top: 10px;
  right: 20px;
  color: #bb4cf0 !important;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
}

.pdf-modal-close:hover {
  color: #a23cc0 !important;
  background: transparent;
}

/* Hide cookie consent pop-up */
.cky-btn-revisit-wrapper.cky-revisit-bottom-left {
  display: none !important;
}