.back-to-top {
    align-items: center;
    border-radius: var(--post-space-rounded-corners-4) 0 0 var(--post-space-rounded-corners-4);
    display: inline-flex;
    flex-direction: row;
    gap: 0;
    justify-content: center;
    padding: var(--post-space-8) var(--post-space-20);
    transition: all .3s ease-in-out;
    width: -moz-fit-content;
    width: fit-content;
    z-index: var(--post-zindex-over)
}

.back-to-top#back-to-top {
    color: var(--post-white);
    font-family: var(--post-ff-francois);
    font-size: 1rem;
    letter-spacing: .09375rem;
    line-height: 1.375rem;
    -webkit-text-decoration: none;
    text-decoration: none;
    text-transform: uppercase
}

.back-to-top#back-to-top:focus-visible,
.back-to-top#back-to-top:hover {
    -webkit-text-decoration: none;
    text-decoration: none
}

.back-to-top#back-to-top:focus-visible .btn-text,
.back-to-top#back-to-top:hover .btn-text {
    background-size: 100% .0625rem
}

.back-to-top#back-to-top .btn-text {
    background: linear-gradient(var(--post-white), var(--post-white)) 0 100% no-repeat;
    background-size: 0 .0625rem;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    position: relative;
    transition: background-size .3s ease
}

.back-to-top#back-to-top svg path {
    fill: var(--post-light-blue) !important
}

.back-to-top icon {
    width: 0
}

.back-to-top.final-placement {
    gap: var(--post-space-content-8);
    padding: var(--post-space-12) var(--post-space-28) var(--post-space-12) var(--post-space-20);
    z-index: calc(var(--post-zindex-over) - 1);
}

@media (max-width:767.98px) {
    .back-to-top.final-placement {
        border-radius: var(--post-space-rounded-corners-4)
    }
}

.back-to-top.final-placement:focus,
.back-to-top.final-placement:hover {
    gap: 1rem
}

.back-to-top.final-placement icon {
    align-items: center;
    display: flex;
    height: 2rem;
    justify-content: center;
    width: 2rem
}

.back-to-top.final-placement icon svg {
    max-height: 100%;
    max-width: 100%
}

.back-to-top {
    opacity: 0;
    pointer-events: none;
    position: fixed;
    right: 1.5rem;
    transform: translateY(10px)
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0)
}

.back-to-top.hidden {
    pointer-events: none;
    transform: translateY(10px)
}
