/* eJobs Social Share — front-end. Sizes match the former Sassy Social Share setup on WeAreHR. */

.ess {
    display: flex;
    flex-wrap: wrap;
    line-height: 0;
}

.ess .ess-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    background: var(--ess-bg, #555);
    color: #fff;
    text-decoration: none;
    box-shadow: none;
    border: 0;
    transition: opacity .15s ease;
}

.ess .ess-link:hover,
.ess .ess-link:focus-visible {
    opacity: .85;
    color: #fff;
}

.ess .ess-link::before,
.ess .ess-link::after {
    display: none;
}

.ess .ess-icon {
    display: block;
    width: 100%;
    height: 100%;
}

/* Inline bar: 65×22 brand-coloured rectangles, 3px apart */
.ess--inline {
    gap: 3px;
}

.ess--inline .ess-link {
    width: 65px;
    height: 22px;
}

.ess--inline .ess-icon {
    width: 22px;
}

/* Floating column: 40×40 squares, no gap, sticks while the article scrolls, desktop only */
.ess--floating {
    flex-direction: column;
    width: 40px;
    position: sticky;
    top: 100px;
}

.ess--floating .ess-link {
    width: 40px;
    height: 40px;
}

@media screen and (max-width: 783px) {
    .ess--floating {
        display: none;
    }
}
