.paragraph-texts--text-types-advertising-unit {
    padding-block: 25px
}

@media (min-width:831px) {
    .paragraph-texts--text-types-advertising-unit {
        padding-block: 50px
    }
}

.paragraph-texts--text-types-advertising-unit .text-block {
    display: grid;
    grid-column-gap: 10px;
    grid-template-columns: 1fr
}

@media (min-width:821px) {
    .paragraph-texts--text-types-advertising-unit .text-block {
        grid-template-columns: repeat(2, 1fr)
    }
}

.paragraph-texts--text-types-advertising-unit .item-text .paragraph {
    padding-inline: 10px;
}

.paragraph-texts--text-types-advertising-unit .item-text:nth-child(2) p span {
    display: block
}

.paragraph-texts--text-types-advertising-unit .item-text:first-child .paragraph--type--text, .paragraph-texts--text-types-advertising-unit .item-text:last-child .paragraph--type--text {
    color: var(--white);
    background-color: var(--blue);
}

.paragraph-texts--text-types-advertising-unit .item-text:nth-child(2) .paragraph, .paragraph-texts--text-types-advertising-unit .item-text:nth-child(3) .paragraph {
    color: var(--blue);
}

@media (max-width: 820px) {
    .paragraph-texts--text-types-advertising-unit .item-text:first-child {
        order: 1
    }

    .paragraph-texts--text-types-advertising-unit .item-text:nth-child(2) {
        order: 3;
    }

    .paragraph-texts--text-types-advertising-unit .item-text:nth-child(2) .paragraph {
        color: #fff;
        background-color: var(--blue);
    }

    .paragraph-texts--text-types-advertising-unit .item-text:nth-child(3) {
        order: 2;
        margin-top: 2px;
        margin-bottom: 10px;
    }

    .paragraph-texts--text-types-advertising-unit .item-text:nth-child(3) .paragraph {
        color: var(--blue);
        background-color: #fff;
    }

    .paragraph-texts--text-types-advertising-unit .item-text:nth-child(4) {
        order: 4;
    }

    .paragraph-texts--text-types-advertising-unit .item-text:nth-child(4) .paragraph {
        background-color: transparent;
        color: var(--blue);
    }
}

@media (max-width:550px) {
    .paragraph-texts--text-types-advertising-unit .text-block .item-text:first-child .paragraph>div span, .paragraph-texts--text-types-advertising-unit .text-block .item-text:nth-child(2) .paragraph>div span, .paragraph-texts--text-types-advertising-unit .text-block .item-text:nth-child(3) .paragraph>div span {
        display: block
    }
}

.paragraph-texts--text-types-advertising-unit .item-text:first-child .paragraph, .paragraph-texts--text-types-advertising-unit .item-text:nth-child(2) .paragraph {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px
}

.paragraph-texts--text-types-advertising-unit .item-text:nth-child(3) .paragraph, .paragraph-texts--text-types-advertising-unit .item-text:nth-child(4) .paragraph {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.paragraph-texts--text-types-advertising-unit .item-text {
    box-sizing: border-box;
    width: 100%;
}

.paragraph-texts--text-types-advertising-unit .item-text .paragraph--type--text {
    border: 2px solid var(--blue);
}

.paragraph-texts--text-types-advertising-unit .item-text:first-child .paragraph--type--text {
    border-bottom-width: 1px;
    border-bottom-color: var(--blue);
}

.paragraph-texts--text-types-advertising-unit .item-text:nth-child(2) .paragraph--type--text {
    border-bottom-width: 1px
}

.paragraph-texts--text-types-advertising-unit .item-text:nth-child(3) .paragraph--type--text {
    border-top-width: 1px;
    border-top-color: var(--blue);
}

.paragraph-texts--text-types-advertising-unit .item-text:nth-child(4) .paragraph--type--text {
    border-top-width: 1px;
}

.paragraph-texts--text-types-advertising-unit .item-text:nth-child(even) {
    color: var(--blue);
}

@media (min-width:431px) {
    .paragraph-texts--text-types-advertising-unit .item-text:nth-child(2) .paragraph>div {
        max-width: 620px
    }

    .paragraph-texts--text-types-advertising-unit .item-text:nth-child(3) .paragraph>div {
        max-width: 419px
    }

    .paragraph-texts--text-types-advertising-unit .item-text:nth-child(4) .paragraph>div {
        max-width: 90%
    }
}

.paragraph-texts--text-types-advertising-unit .paragraph--type--text {
    text-align: center;
    display: flex
}

@media (min-width:821px) {
    .paragraph-texts--text-types-advertising-unit .paragraph--type--text {
        min-height: 190px
    }
}

.paragraph-texts--text-types-advertising-unit .paragraph--type--text>div {
    margin: auto;
    padding-inline: 8px
}

@media (min-width:480px) {
    .paragraph-texts--text-types-advertising-unit .paragraph--type--text>div {
        padding-inline: 0
    }
}

.paragraph-texts--text-types-advertising-unit .paragraph--type--text p {
    font-size: 16px;
    line-height: 1.1
}

@media (min-width:351px) and (max-width:599px) {
    .paragraph-texts--text-types-advertising-unit .paragraph--type--text p {
        font-size: 18px
    }
}

@media (min-width:600px) {
    .paragraph-texts--text-types-advertising-unit .paragraph--type--text p {
        font-size: 24px
    }
}
