/* ============================================
   TEMPLATES.CSS
============================================ */
.resume-preview {
  background: white;
  width: 100%;
  min-height: 900px;
  position: relative;
  overflow: visible;   /* NEVER hidden — breaks html2canvas capture */
  font-size: 12px;
  line-height: 1.55;
  box-sizing: border-box;
}

.resume-preview * {
  box-sizing: border-box;
}

.resume-preview ul {
  padding-left: 14px;
  margin: 2px 0;
}

.resume-preview li {
  margin-bottom: 2px;
  line-height: 1.45;
}

.resume-preview p {
  margin: 0 0 2px;
}

/* ── Print / PDF ── */
@media print {
  * { -webkit-print-color-adjust:exact !important; print-color-adjust:exact !important; }
  .site-header, .ad-banner-sticky, .hero, .features-strip,
  .builder-form-col, .ad-sidebar, .preview-header,
  .ad-below-builder, .info-section, .site-footer, .cookie-banner,
  .template-gallery { display:none !important; }
  .builder-section, .builder-layout { display:block !important; padding:0 !important; }
  .preview-panel { position:static !important; border:none !important;
    box-shadow:none !important; height:auto !important; overflow:visible !important; }
  .preview-scale-wrapper { padding:0 !important; background:white !important;
    overflow:visible !important; height:auto !important; }
  .resume-preview { box-shadow:none !important; width:100% !important; overflow:visible !important; }
}
