.lev-gallery-image__download {
    display: inline-flex;
    align-items: center;
    gap: .42em;
    margin-top: 7px;
    padding: 6px 9px;
    border: 1px solid rgba(155,22,34,.28);
    border-radius: 5px;
    background: #fff;
    color: var(--lev-red, #9B1622) !important;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none !important;
    transition: background-color .12s ease, color .12s ease, border-color .12s ease;
}

.lev-gallery-image__download:hover,
.lev-gallery-image__download:focus-visible {
    border-color: var(--lev-red, #9B1622);
    background: var(--lev-red, #9B1622);
    color: #fff !important;
}

.lev-single-download-host {
    position: relative !important;
}

.lev-external-image-download {
    position: absolute;
    z-index: 8;
    right: 8px;
    top: 8px;
    display: inline-flex;
    align-items: center;
    gap: .35em;
    max-width: calc(100% - 16px);
    min-height: 30px;
    padding: 5px 8px;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 5px;
    background: rgba(35,38,45,.86);
    color: #fff !important;
    box-shadow: 0 3px 10px rgba(0,0,0,.2);
    font-size: 10px;
    font-weight: 800;
    line-height: 1.1;
    text-decoration: none !important;
    opacity: .88;
    transition: opacity .12s ease, transform .12s ease, background-color .12s ease;
}

.lev-external-image-download:hover,
.lev-external-image-download:focus-visible {
    background: var(--lev-red, #9B1622);
    color: #fff !important;
    opacity: 1;
    transform: translateY(-1px);
}

@media (max-width: 620px) {
    .lev-gallery-image__download {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }

    .lev-external-image-download__text {
        display: none;
    }

    .lev-external-image-download {
        min-width: 32px;
        justify-content: center;
        padding: 6px;
    }
}

.lev-gallery-lightbox__download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    color: #fff !important;
    font-size: 21px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none !important;
}

.lev-gallery-lightbox__download:hover,
.lev-gallery-lightbox__download:focus-visible {
    background: var(--lev-red, #9B1622);
    color: #fff !important;
}
