/* Keep the physical direction of each arrow consistent in RTL and LTR scroll rows. */
.resume-profile .profile-scroll-hint {
    position: relative;
    min-width: 0;
    min-height: 44px;
}

.resume-profile .profile-scroll-hint > .profile-skills-row,
.resume-profile .profile-scroll-hint > .profile-activity-chips {
    scroll-padding-inline: 56px;
}

.resume-profile .profile-scroll-hint-button {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 56px;
    height: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: var(--profile-primary-text);
    cursor: pointer;
}

.resume-profile .profile-scroll-hint-button[hidden] {
    display: none;
}

.resume-profile .profile-scroll-hint-left {
    left: 0;
    background: linear-gradient(to right, var(--profile-card) 60%, transparent);
}

.resume-profile .profile-scroll-hint-right {
    right: 0;
    background: linear-gradient(to left, var(--profile-card) 60%, transparent);
}

.resume-profile .profile-scroll-hint-button > span {
    position: absolute;
    top: 50%;
    margin-top: -4px;
    width: 8px;
    height: 8px;
    border: 0;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    border-radius: 0;
    font-size: 0;
}

.resume-profile .profile-scroll-hint-left > span {
    left: 13px;
    transform: rotate(45deg);
}

.resume-profile .profile-scroll-hint-right > span {
    right: 13px;
    transform: rotate(225deg);
}

.resume-profile .profile-scroll-hint-button::before {
    content: "";
    position: absolute;
    top: 4px;
    bottom: 4px;
    width: 30px;
    background: var(--profile-primary-soft);
    opacity: .35;
    pointer-events: none;
}

.resume-profile .profile-scroll-hint-left::before {
    left: 0;
    box-shadow: 6px 0 12px -8px rgba(34, 41, 47, .16);
}

.resume-profile .profile-scroll-hint-right::before {
    right: 0;
    box-shadow: -6px 0 12px -8px rgba(34, 41, 47, .16);
}

.resume-profile .profile-scroll-hint-button:focus-visible {
    outline: 2px solid var(--profile-primary);
    outline-offset: -2px;
}

@media (max-width: 991.98px) {
    /* Share the card edge with the filter row instead of insetting the skills controls. */
    .resume-profile .profile-skills-mobile-card > .card-body {
        padding: 0;
    }

    .resume-profile .profile-scroll-hint > .profile-skills-row {
        padding: 8px var(--profile-card-padding);
        min-height: 60px;
        align-items: center;
    }
}

@media (max-width: 767.98px) {
    .resume-profile .profile-scroll-hint > .profile-activity-chips {
        padding: 8px var(--profile-card-padding);
        min-height: 60px;
    }
}
