/* Standard Cover Letter Template Styling */
.tpl-cl-standard {
  padding: 3rem;
  box-sizing: border-box;
  color: #1e293b;
  line-height: 1.7;
  font-size: 0.95rem;
}

.tpl-cl-standard .sender-header {
  border-bottom: 2px solid var(--doc-accent);
  padding-bottom: 1.25rem;
  margin-bottom: 2rem;
}

.tpl-cl-standard .sender-name {
  font-size: 1.75rem;
  font-weight: 800;
  color: #0f172a;
}

.tpl-cl-standard .sender-title {
  font-size: 1rem;
  color: var(--doc-accent);
  font-weight: 600;
}

.tpl-cl-standard .sender-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 0.5rem;
}

.tpl-cl-standard .letter-meta-grid {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.tpl-cl-standard .recipient-info {
  font-size: 0.9rem;
}

.tpl-cl-standard .recipient-name {
  font-weight: 700;
  color: #0f172a;
}

.tpl-cl-standard .letter-date {
  font-size: 0.875rem;
  color: #64748b;
}

.tpl-cl-standard .letter-subject {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1.5rem;
  padding: 0.5rem 0.85rem;
  background: #f1f5f9;
  border-left: 4px solid var(--doc-accent);
  border-radius: 4px;
}

html[dir="rtl"] .tpl-cl-standard .letter-subject {
  border-left: none;
  border-right: 4px solid var(--doc-accent);
}

.tpl-cl-standard .letter-body {
  margin-bottom: 2.5rem;
}

.tpl-cl-standard .letter-body p {
  margin-bottom: 1.1rem;
  text-align: justify;
}

.tpl-cl-standard .letter-signature {
  margin-top: 2rem;
}

.tpl-cl-standard .signature-valediction {
  margin-bottom: 2.5rem;
  font-weight: 500;
}

.tpl-cl-standard .signature-name {
  font-weight: 700;
  font-size: 1.1rem;
  color: #0f172a;
}
