.highlight-text-content {
    position: relative;
}

.highlight-text-content.next-bg-white:before {
    background: var(--white);
}

.highlight-text-content.next-bg-blue:before {
    background: var(--light-blue);
}

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

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

.highlight-text-content.next-bg-soft-blue:before {
    background: var(--soft-blue);
}

.highlight-text-content__wrapper {
    box-shadow: 0px 4px 20px 5px rgba(23, 37, 73, 0.1);
    border-radius: 10px;
    padding: 40px 25px;
    z-index: 2;
    position: relative;
}

.highlight-text-content__text img {
    border-radius: 20px 40px 40px 20px;
}

.highlight-text-content__text h2 {
    font-size: 25px;
}

.highlight-text-content__info {
    padding: 25px 15px;
    border: 1.5px solid #DDE7F2;
    border-radius: 10px;
    margin: 30px 0 0;
}

.highlight-text-content__info ul {
    padding: 0;
    margin: 0;
}

.highlight-text-content__info ul li h4 {
    font-family: "Nothing You Could Do", cursive;
    font-weight: 700;
    font-size: 24px;
    color: var(--blue);
    margin: 0 0 10px;
    -webkit-text-stroke-width: 0.5px;
    -webkit-text-stroke-color: var(--blue);
}

.bg-periwinkle .highlight-text-content__info ul li h4 {
    color: var(--white);
    -webkit-text-stroke-color: var(--white);
}

.bg-red .highlight-text-content__info ul li h4 {
    color: var(--text);
    -webkit-text-stroke-color: var(--text);
}

.highlight-text-content__info ul li p {
    margin-left: -38px;
}

.highlight-text-content__info ul li {
    z-index: 1;
    margin-bottom: 20px;
}

.highlight-text-content__info ul li:last-child {
    margin-bottom: 0px;
}

.highlight-text-content__info ul li:after {
    content: "";
    background: var(--coral);
    position: absolute;
    width: 22px;
    height: 22px;
    left: 0;
    top: 3px;
    border-radius: 50px;
    z-index: -1;
    opacity: 0.5;
}

.bg-periwinkle .highlight-text-content__info ul li::after {
    opacity: 1;
}

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

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

.highlight-text-content--homepage:after {
    background: #FEF5F5;
}

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

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

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

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

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

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

.bg-red .highlight-text-content__info {
    border-color: var(--text);
}

@media(min-width: 768px) {
    .highlight-text-content__text h2 {
        font-size: 30px;
        padding-right: 40px;
    }

    .highlight-text-content__wrapper {
        padding: 60px 26px;
    }

    .highlight-text-content__info {
        padding: 40px;
    }

    .highlight-text-content__info ul li:after {
        width: 28px;
        height: 28px;
    }

    .highlight-text-content__info ul li p {
        margin-left: 0;
        font-size: 16px;
    }

    .highlight-text-content__info ul li h4 {
        margin: 0 0 6px;
    }
}


@media(min-width: 1200px) {
    .highlight-text-content__wrapper {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 80px 107px 80px 74px;
        position: relative;
    }

    .highlight-text-content__text {
        width: calc(52% - 22px);
        margin: 0;
    }

    .highlight-text-content__info {
        width: calc(48% - 10px);
        padding: 40px 39px 40px 40px;
        margin: 0;
    }

    .highlight-text-content__text h2 {
        font-size: 40px;
        padding-right: 0;
    }

    .highlight-text-content__wrapper:after {
        content: "";
        position: absolute;
        right: -106px;
        bottom: -100px;
        width: 239px;
        z-index: -1;
        height: 239px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.4);
        opacity: 0;
    }
}