.ppdf-wrap {
    margin: 0 0 1em;
}

.ppdf-button {
    display: inline-flex;
    align-items: center;
    gap: .5em;
    padding: .6em 1.2em;
    border: 2px solid currentColor;
    border-radius: 4px;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
}

.ppdf-button::before {
    content: "";
    width: 1em;
    height: 1em;
    background: currentColor;
    /* printer icon */
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 2h12v6H6zM4 9h16a2 2 0 0 1 2 2v7h-4v4H6v-4H2v-7a2 2 0 0 1 2-2zm4 7v4h8v-4z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 2h12v6H6zM4 9h16a2 2 0 0 1 2 2v7h-4v4H6v-4H2v-7a2 2 0 0 1 2-2zm4 7v4h8v-4z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.ppdf-button:hover {
    opacity: .8;
}

.ppdf-button[disabled] {
    opacity: .6;
    cursor: progress;
}

/* ---- Rendering fixes applied to the cloned page while the PDF is built ---- */

/* Divi hides animated modules until they scroll into view; show everything. */
.ppdf-render .et_animated,
.ppdf-render .et-waypoint,
.ppdf-render [class*="et_pb_animation_"] {
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
}

.ppdf-render .ppdf-unlinked {
    color: inherit;
    text-decoration: none;
}

.ppdf-render,
.ppdf-render * {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}
