.cta {
    position: relative;
}

.cta:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 50%;
}

.cta::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 50%;
}

.cta.next-bg-white:before {
    background: var(--white);
}

.cta.next-bg-blue:before {
    background: var(--light-blue);
}

.cta.next-bg-light-red:before {
    background: rgba(240, 51, 55, 0.05);    
}

.cta.next-bg-navy:before {
    background: var(--dark-blue);
}

.cta.next-bg-soft-blue:before {
    background: var(--soft-blue);
}

.cta.next-page-footer {
    margin-bottom: -15%;
}

.bg-blue + .cta .cta__content.bg-blue {
    box-shadow: 0px 4px 10px 5px rgba(23, 37, 73, 0.1);
}

.cta:after {
    background: #FEF5F5;
}

.bg-blue+.cta:after {
    background: var(--light-blue);
}

.bg-soft-blue+.cta:after {
    background: var(--soft-blue);
}

.bg-soft-blue-highlight-text-content + .cta:after {
    background: var(--soft-blue);
}

.bg-light-red+.cta:after {
    background: rgba(240, 51, 55, 0.05);
}

.bg-light-red-highlight-text-content + .cta:after {
    background: rgba(240, 51, 55, 0.05);
}

.bg-navy+.cta:after {
    background: var(--dark-blue);
}

.bg-navy-highlight-text-content + .cta:after {
    background: var(--dark-blue);
}

.bg-white+.cta:after {
    background: var(--white);
}

.bg-white-highlight-text-content + .cta:after {
    background: var(--white);
}

.bg-red+.cta:after {
    background: var(--red);
}

.cta__content {
    padding: 40px 15px;
    border-radius: 20px 80px 20px 40px;
    position: relative;
    z-index: 2;
}

.cta__content img {
    border-radius: 20px 40px 40px 20px;
}

.next-bg-blue .cta__content.bg-blue {
    box-shadow: 0px 4px 10px 5px rgba(23, 37, 73, 0.1);
}

.cta__content h2 {
    font-size: 28px;
    line-height: 1.5em;
}

.cta__content h2 span {
    font-size: 28px;
    color: var(--text);
    -webkit-text-stroke-color: var(--text);
}

.location-search-wrap {
    position: relative;
    width: 100%;
}

.location-search-wrap label {
    padding: 0 0 8px 0;
    color: var(--text);
    font-size: 16px;
    line-height: 1.8em;
    font-weight: bold;
    text-align: center;
}

.location-search-col {
    position: relative;
    width: 100%;
    height: 59px;
    background: var(--white);
    box-shadow: 0px 4px 20px 10px rgba(57, 86, 163, 0.15);
    border-radius: 40px;
}

.location-search-col input {
    padding: 5px 64px 0 20px;
    color: var(--text);
    font-size: 20px;
    line-height: 1.4em;
    font-weight: bold;
    font-family: 'Spartan';
    border: none;
    height: 100%;
    width: 100%;
    background: transparent;
    border-radius: 40px;
    box-shadow: none;
}

.location-search-col input::placeholder {
    opacity: 0.45;
    color: var(--text);
}

.location-search-col button {
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translate(0, -50%);
    background: none;
    border: none;
    font-size: 27px;
    color: var(--blue);
    padding: 8px 0 0;
    background: transparent;
}

@media(min-width: 768px) {
    .cta__content {
        padding: 60px 20px;
    }

    .cta__content h2,
    .cta__content h2 span {
        font-size: 34px;
    }

    .cta__content h2 {
        margin-bottom: 20px;
    }

    .location-search-wrap {
        max-width: 475px;
        margin: 0 auto;
    }

    .location-search-col input {
        padding: 5px 75px 0 30px;
    }

    .location-search-col button {
        right: 28px;
        padding: 8px 0 0;
    }
}

@media(min-width: 1200px) {
    .cta__content {
        padding: 80px 108px;
    }

    .cta__content h2,
    .cta__content h2 span {
        font-size: 45px;
    }

    .cta__content h2 {
        margin-bottom: 15px;
    }

    .location-search-col button:hover {
        color: var(--twilight-hover);
    }
}