    @media print {
      .no-print { display: none !important; }
      .validade-alerta-topo { display: none !important; }
      body { margin: 0; padding: 0; }
      .certidao-container { 
        border: none !important; 
        box-shadow: none !important;
        max-width: 100% !important;
        padding: 20px !important;
      }
      .certidao-header { border-bottom: 2px solid #000 !important; }
      .certidao-footer { border-top: 2px solid #000 !important; }
    }
    @media screen {
      .certidao-container {
        max-width: 800px;
        margin: 30px auto;
        border: 1px solid #ccc;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
      }
    }
    .certidao-header {
      border-bottom: 3px solid #003366;
      padding-bottom: 15px;
      margin-bottom: 20px;
    }
    .certidao-header img { height: 60px; }
    .certidao-largura { max-width: 800px; }
    .certidao-titulo-institucional { font-size: 0.95rem; }
    .certidao-titulo {
      font-size: 1.1rem;
      font-weight: bold;
      text-transform: uppercase;
      letter-spacing: 1px;
      color: #003366;
    }
    .certidao-subtitulo {
      font-size: 0.85rem;
      color: #555;
    }
    .certidao-body { font-size: 0.95rem; line-height: 1.8; }
    .certidao-body .campo-label { font-weight: 600; color: #333; }
    .certidao-body .campo-valor { color: #000; }
    .certidao-footer {
      border-top: 2px solid #003366;
      padding-top: 15px;
      margin-top: 30px;
      font-size: 0.8rem;
      color: #666;
    }
    .certidao-validade-status {
      margin: 8px auto;
      padding: 8px 12px;
      border-radius: 6px;
      display: inline-block;
    }
    .certidao-footer .certidao-validade-expirada {
      background: #fde7e9 !important;
      border: 2px solid #d9534f !important;
      color: #b02a37 !important;
      display: block;
      max-width: 520px;
      margin: 10px auto;
      -webkit-print-color-adjust: exact;
      print-color-adjust: exact;
    }
    .dados-table th { 
      background-color: #f0f4f8; 
      width: 35%; 
      font-weight: 600;
      color: #003366;
    }
    .dados-table td { color: #222; }
    .certidao-container.pdf-exportando {
      margin: 0 auto !important;
      max-width: 186mm !important;
      min-height: auto !important;
      padding: 8mm 8mm !important;
      box-shadow: none !important;
      border: none !important;
    }
    .certidao-container.pdf-exportando .certidao-header {
      padding-bottom: 8px !important;
      margin-bottom: 10px !important;
    }
    .certidao-container.pdf-exportando .certidao-header img {
      height: 48px !important;
    }
    .certidao-container.pdf-exportando .certidao-body {
      font-size: 0.84rem !important;
      line-height: 1.42 !important;
    }
    .certidao-container.pdf-exportando .certidao-body p {
      margin-bottom: 0.7rem !important;
    }
    .certidao-container.pdf-exportando .certidao-footer {
      margin-top: 14px !important;
      padding-top: 8px !important;
      font-size: 0.74rem !important;
    }
    .certidao-container.pdf-exportando .mt-4,
    .certidao-container.pdf-exportando .mt-5 {
      margin-top: 1rem !important;
    }
.texto-justificado {
text-align: justify !important;
text-justify: inter-word;
hyphens: auto;
-webkit-hyphens: auto;
display: block;
width: 100%;
}