.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.cta a {
    background: var(--color-primary);
    color: white;
    padding: 15px 65px 15px 35px;
    box-sizing: border-box;
    border-radius: 1000px;
    font-weight: 400;
    display: inline-block;
    border: 1px solid var(--color-primary);
    position: relative;
    transition: ease-out 0.3s;
}

.cta a:after {
    content:"";
    position: absolute;
    right: 15px;
    top: 0;
    height: 100%;
    width: 40px;
    background: url('../images/arrow-right-white.svg') no-repeat center center;
    background-size: 30px auto;
    transition: ease-out 0.3s;
}

.cta a:hover {
    background: transparent;
    border: 1px solid var(--color-primary);
    background: none;
    padding: 15px 70px 15px 30px;
    color: black;
}

.cta a:hover:after {
    right: 10px;
    background: url('../images/arrow-right-blue.svg') no-repeat center center;
    background-size: 30px auto;
}

.cta.cta-secondary a {
    border: 1px solid var(--color-primary);
    background: none;
    color: black;
    box-sizing: border-box;
}

.cta.cta-secondary a:after {
    background: url('../images/arrow-right-blue.svg') no-repeat center center;
    background-size: 30px auto;
}

.cta.cta-secondary a:hover {
    border: 1px solid var(--color-primary);
    background: var(--color-primary);
    color: white;
}

.cta.cta-secondary a:hover:after {
    background: url('../images/arrow-right-white.svg') no-repeat center center;
    background-size: 30px auto;
}

.cta.cta-color-red a {
    background: var(--color-red);
    border-color: var(--color-red);
}

.cta.cta-color-red a:hover {
    background: var(--color-primary);
    color: white;
}

.cta.cta-color-red a:hover:after {
    background: url('../images/arrow-right-white.svg') no-repeat center center;
    background-size: 30px auto;
}

.cta.cta-color-yellow a {
    border-color: var(--color-yellow);
    background: var(--color-yellow);
    color: black;
}

.cta.cta-color-yellow a:after {
    background: url('../images/arrow-right-blue.svg') no-repeat center center;
    background-size: 30px auto;
}

.cta.cta-color-yellow a:hover {
    background: var(--color-primary);
    color: white;
}

.cta.cta-color-yellow a:hover:after {
    background: url('../images/arrow-right-white.svg') no-repeat center center;
    background-size: 30px auto;
}

/* Navigation */


nav li a.button {
    background: var(--color-red);
    color: white;
    padding: 5px 20px;
    border-radius: 100px;
}

nav li a.button:hover {
    background: var(--color-primary);
}

nav li a.button:after {
    display: none;
    content: initial;
}


/* paragraph-cta.css: */

.paragraph--type--cta-button + .paragraph--type--cta-button .cta a {
    border: 1px solid var(--color-primary);
    background: none;
    color: black;
}

.paragraph--type--cta-button + .paragraph--type--cta-button .cta a:hover {
    border: 1px solid var(--color-primary);
    background: var(--color-primary);
    color: white;
}

.paragraph--type--cta-button + .paragraph--type--cta-button .cta a:after {
    background: url('../images/arrow-right-blue.svg') no-repeat center center;
    background-size: 30px auto;
}

.paragraph--type--cta-button + .paragraph--type--cta-button .cta a:hover:after {
    background: url('../images/arrow-right-white.svg') no-repeat center center;
    background-size: 30px auto;
}


@media (max-width: 880px) {
    .cta,
    .cta-buttons {
        width: 100%;
    }

    .cta a {
        width: 100%;
    }
}