.text-media.bg-primary {
    background-color: var(--primary);
}

.text-media.bg-secondary {
    background-color: var(--quaternary);
}

.text-media.bg-accent {
    background-color: var(--accent-color);
}

.text-media.tag-h1 {
    background-color: var(--accent-color) !important;
}

.text-media .boxed {
    display: flex;
    gap: 80px;
}

.text-media.bg-primary .boxed .content div h2 {
    max-width: 80%;
    color: var(--white);
}

.text-media.bg-primary .boxed .content div * {
    color: var(--secondary);
}

.text-media .boxed.image-left {
    flex-direction: row;
}

.text-media .boxed.image-right {
    flex-direction: row-reverse;
}

.text-media .boxed > div {
    flex: 1;
}

.text-media .boxed .media img {
    max-width: fit-content;
    max-height: 490px;
    border-radius: 16px;
    object-fit: contain;
}

.text-media .boxed.image-left .media {
    text-align: right;
}

.text-media .boxed.image-right .media {
    text-align: left;
}


.text-media .boxed .content {
    display: flex;
    flex-direction: column;
}

.text-media .boxed .content .list-line {
    margin-bottom: 40px;
}

.text-media .boxed .content .list-line ul {
    position: relative;
    margin-left: 20px;
    list-style: none;
}

.text-media .boxed .content .list-line ul li {
    position: relative;
    margin-bottom: 22px;
    padding-left: 20px;
}

.text-media .boxed .content .list-line ul li::before {
    position: absolute;
    top: 10px;
    left: -20px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    content: '';
}

.text-media.bg-secondary .boxed .content .list-line ul li::before, .text-media.bg-secondary .boxed .content .list-line ul li::after {
    background-color: var(--primary);
}

.text-media.bg-primary .boxed .content .list-line ul li::before, .text-media.bg-primary .boxed .content .list-line ul li::after {
    background-color: var(--white);
}

.text-media .boxed .content .list-line ul li::after {
    position: absolute;
    top: 20px;
    left: -14px;
    width: 2px;
    height: calc(100% - -15px);
    content: '';
}


.text-media .boxed .content .list-line ul li:last-child::after {
    content: '';
    background-color: transparent;
}

.text-media.bg-primary .boxed .content div .btn-group .btn.btn-primary {
    background-color: var(--pink);
    color: var(--primary);
}

.text-media.bg-primary .boxed .content div .btn-group .btn.btn-secondary {
    color: var(--primary);
}


.text-media .button-subtitle em {
    font-size: .8em;
}

.text-media .boxed .content div ul {
    margin-left: 25px;
}

.text-media.bg-primary .boxed .content.list-style-secondary div ul {
    list-style: none;
}

.text-media.bg-primary .boxed .content.list-style-secondary div ul li {
    position: relative;
    right: -25px;
    width: 95%;
    margin-bottom: 12px;
}

.text-media.bg-primary .boxed .content.list-style-secondary div ul li::before {
    position: absolute;
    left: -50px;
    width: 30px;
    height: 30px;
    content: "";
    background-image: url("../../images/custom-list.svg") !important;
}

@media (max-width: 1550px) {
    .text-media .boxed {
        padding-top: 10vw;
        padding-bottom: 10vw;
        gap: 4vw;
    }
}

@media (max-width: 992px) {
    .text-media .boxed.image-left,
    .text-media .boxed.image-right {
        flex-direction: column;
    }

    .text-media .boxed.image-left .media,
    .text-media .boxed.image-right .media {
        text-align: left;
    }
}

@media only screen and (max-width: 660px) {
    .text-media .boxed {
        gap: 25px;
    }
}