.banner {
    width: calc(100% - 285px + 20px);
}

.banner-inner {
    position: relative;
    width: 100%;
    background: #ddd;
}

.image-wrap {
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
    overflow: hidden;

    img {
        width: 100%;
        opacity: 0.7;
    }

    &.in-view {
        img {
            opacity: 1;
        }
    }
}

.change-banner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    font-weight: bold;
    color: #fff;
}

.top_actions {
    position: absolute;
    top: 10px;
    right: 10px;
}

.edit_btn {
    margin-left: 10px !important;

    :global .dashicons {
        margin-top: 3px;
    }
}