{% extends "_base.html" %} {# Vituity Letterhead Template Matches: Vituity Letterhead Template.docx Page: US Letter (8.5" x 11"), 1" margins Logo: Top-right, 1.09" x 0.52" Footer: Centered "vituity" text #} {% block extra_styles %} /* Letterhead-specific styles */ .letterhead { font-family: var(--vds-font-docx-body); line-height: 1.6; } .letterhead-header { display: flex; justify-content: flex-end; margin-bottom: var(--vds-space-3xl); padding-bottom: var(--vds-space-lg); } .letterhead-logo { width: 1.09in; height: 0.52in; object-fit: contain; } .letterhead-date { margin-bottom: var(--vds-space-xl); color: var(--vds-neutral-600); } .letterhead-recipient { margin-bottom: var(--vds-space-xl); } .letterhead-recipient p { margin-bottom: 0; line-height: 1.4; } .letterhead-salutation { margin-bottom: var(--vds-space-xl); } .letterhead-body { margin-bottom: var(--vds-space-2xl); } .letterhead-body p { margin-bottom: var(--vds-space-lg); text-align: justify; } .letterhead-closing { margin-bottom: var(--vds-space-4xl); } .letterhead-signature { margin-bottom: var(--vds-space-sm); } .letterhead-signature-name { font-weight: var(--vds-font-semibold); color: var(--vds-neutral-800); } .letterhead-signature-title { color: var(--vds-neutral-600); } .letterhead-footer { position: fixed; bottom: var(--vds-page-margin); left: 0; right: 0; text-align: center; } .letterhead-footer-text { font-family: var(--vds-font-docx-heading); font-size: var(--vds-text-lg); font-weight: var(--vds-font-semibold); letter-spacing: 0.15em; color: var(--vds-docx-primary); text-transform: lowercase; } /* Print-specific adjustments */ @media print { .letterhead-footer { position: fixed; bottom: 0.5in; } } @page { size: letter portrait; margin: 1in; @bottom-center { content: none; } } {% endblock %} {% block header %} {# Override default header with letterhead-specific header #} {% endblock %} {% block content %}
{% if date %}
{{ date }}
{% endif %} {% if recipient_name or recipient_address %}
{% if recipient_name %}

{{ recipient_name }}

{% endif %} {% if recipient_title %}

{{ recipient_title }}

{% endif %} {% if recipient_company %}

{{ recipient_company }}

{% endif %} {% if recipient_address %} {% for line in recipient_address %}

{{ line }}

{% endfor %} {% endif %}
{% endif %} {% if salutation %}
{{ salutation }}
{% endif %} {% if subject %}
RE: {{ subject }}
{% endif %}
{{ body | safe }}
{% if closing %}
{{ closing }}
{% endif %}
{% if signature_name %}

{{ signature_name }}

{% endif %} {% if signature_title %}

{{ signature_title }}

{% endif %} {% if signature_credentials %}

{{ signature_credentials }}

{% endif %}
{% if cc %}

CC:

{% for person in cc %}

{{ person }}

{% endfor %}
{% endif %} {% if enclosures %}

Enclosures:

{% for enclosure in enclosures %}

{{ enclosure }}

{% endfor %}
{% endif %}
{% endblock %} {% block footer %} {# Override default footer - letterhead uses custom footer above #} {% endblock %}