/* Apply border-box sizing throughout the report */
#savingsPDF,
#savingsPDF *,
#savingsPDF *::before,
#savingsPDF *::after {
    box-sizing: border-box;
}

/* Main report page */
#savingsPDF {
    width: 950px;
    min-width: 950px;

    /*
     * 950px × 11 / 8.5 = approximately 1229px.
     * This creates the same portrait page proportion shown in the design.
     */
    min-height: 1229px;

    margin: 0 auto;
    position: relative;
    background: #ffffff;

    display: grid;
    grid-template-rows: 1fr auto;
}

/* All content above the footer */
.savings-pdf-content {
    width: 100%;
    padding: 24px 48px 20px;
}

/* Footer anchored to the bottom row */
.savings-pdf-footer {
    width: 100%;
    margin: 0;
    padding: 24px 48px;

    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;

    background: #54833b;
    color: #ffffff;
}

/* Footer columns */
.savings-pdf-footer__column {
    min-width: 0;
}

.savings-pdf-footer__column:first-child {
    padding-right: 24px;
}

.savings-pdf-footer__column:last-child {
    padding-left: 24px;
    border-left: 1px solid rgba(255, 255, 255, 0.75);
}

/* Footer typography */
.savings-pdf-footer h4 {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
}

.savings-pdf-footer p {
    margin: 0;
    color: #ffffff;
    font-size: 11px;
    line-height: 1.8;
}

.savings-pdf-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.savings-pdf-footer li {
    margin: 0 0 10px;
    padding: 0;
    list-style: none;
}

.savings-pdf-footer li:last-child {
    margin-bottom: 0;
}

.savings-pdf-footer__contact-row {
    display: grid;
    grid-template-columns: 16px minmax(0, 1fr);
    align-items: center;
    column-gap: 12px;

    color: #ffffff;
    font-size: 12px;
}

.savings-pdf-footer__contact-row i {
    width: 16px;
    color: #ffffff;
    text-align: center;
}

.savings-pdf-footer__contact-row span {
    min-width: 0;
    overflow-wrap: anywhere;
    color: #ffffff;
}