.component-button {
    position: relative;
    display: inline-block;
    padding: 0;

    &::before {
        display: none;
    }

    .button-wrapper {
        display: flex;
        height: 50px;
        padding: 0px 16px;
        justify-content: center;
        align-items: center;
        gap: 10px;
        background: #258CCF;

        .button-text {
            color: #FFF;
            font-family: "League Spartan";
            font-size: 14px;
            font-style: normal;
            font-weight: 800;
            line-height: 110%; /* 15.4px */
            text-transform: uppercase;
        }
    }
}

.component-image {
    display: flex;
    position: relative;
    flex-flow: column;
    margin: 0;
    overflow: hidden;

    &.has-overlay::before {
        content: '';
        display: block;
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        z-index: 1;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.20) 0%, #000 100%);
    }

    picture {
        display: block;
        flex-grow: 1;
        width: 100%;
    }

    .link {
        z-index: 2;
    }

    .img {
        content: unset !important;
        display: block;
        max-width: 100%;
        height: auto;
    }

    .caption {
        flex-shrink: 0;
    }
}