/* =====================================================================
   pdf.css
   - pdf.js iframe wrapper + responsive heights
====================================================================== */

.pdf-embed { margin: 1rem 0 1.25rem; }
.pdf-embed .pdfjs-frame {
  width: 100%;
  height: 82vh;           /* comfortable default */
  min-height: 480px;      /* usable on short viewports */
  border: 0;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(0,0,0,.25);
  background: #0b2239;    /* hides load flashes */
}

/* Small screens */
@media (max-width: 759px) {
  .pdf-embed .pdfjs-frame { height: 70vh; min-height: 360px; border-radius: 8px; }
}

/* Large desktop */
@media (min-width: 1100px) {
  .pdf-embed .pdfjs-frame { height: 86vh; }
}

/* Trim outer spacing when the PDF is the only/edge element */
.content-wrap > .pdf-embed:first-child { margin-top: .5rem; }
.content-wrap > .pdf-embed:last-child  { margin-bottom: .5rem; }