.media-with-text.type1 .right-block {
    max-width: 50rem;
}

.media-with-text.type1 .left-block {
    max-width: 91.7rem;
    flex-grow: 1;
    flex-basis: 0;
}

.media-with-text .btn {
    margin: 1.575em 1.6rem 0 0;
}

.media-with-text .html_content h2 {
    margin: 0 0 2.4rem;
}

/* .media-with-text .left-block,
.media-with-text .right-block {
    width: 50%;
} */
.media-with-text .container {
    display: flex;
}
.media-with-text.reverse .container {
    flex-direction: row-reverse;
}
.media-with-text .left-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 8rem;
}
.media-with-text.reverse .left-block {
    padding-left: 8rem;
    padding-right: 0;
}

.link-arrow {
    transform-origin: center;
    transform: scale(1);
    transition: var(--animtime1);
}

.link-arrow rect {
    transition: var(--animtime1);
}

@media screen and (min-width: 1001px) {
    .link-arrow:hover {
        transform: scale(1.14);
    }

    .link-arrow:hover rect {
        fill: var(--clr7);
    }
}

.link-arrow svg {
    height: 4.8rem;
    width: 4.8rem;
}

.media-with-text.type2 .left-block .cat-tag,
.media-with-text.type3 .left-block .cat-tag {
    position: absolute;
    top: 1.6rem;
    left: 0;
    z-index: 2;
    color: #fff;
}
.media-with-text > .container {
    position: relative;
}

.media-with-text.type2 .media-container::after {
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(
        239deg,
        rgba(0, 0, 0, 0) 15.37%,
        rgba(0, 0, 0, 0.4) 53.01%
    );
}

.media-with-text.type2 .link-arrow,
.media-with-text.type3 .link-arrow {
    margin-top: 1.8rem;
    display: inline-block;
}

.media-with-text.type2 {
    color: #fff;
}
@media screen and (min-width: 1001px) {
    .type2 .container-inner {
        position: relative;
        min-height: 86.4rem;
        width: 100%;
    }

    .media-with-text.type2 .right-block {
        position: absolute;
        height: 100%;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 0;
    }

    .media-with-text.type2 .left-block {
        z-index: 1;
        padding: 12.8rem 8rem 8rem;
        height: 100%;
        position: relative;
        display: block;
        max-width: 64rem;
    }

    .media-with-text.type2 .left-block .html_content,
    .media-with-text.type3 .left-block .html_content {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: flex-start;
        height: 100%;
    }

    .media-with-text.type2 .left-block .html_content h2,
    .media-with-text.type3 .left-block .html_content h2 {
        margin-top: 0;
        margin-bottom: auto;
    }

    .media-with-text.type3 .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .media-with-text.type3 .right-block,
    .media-with-text.type3 .left-block {
        width: 100%;
        height: 100%;
    }

    .media-with-text.type3 .right-block {
        height: 100%;
    }

    .media-with-text.type3 .left-block {
        min-height: 68.4rem;
        position: relative;
        padding: 12.8rem 8rem 8rem;
    }

    .media-with-text.type3 .media,
    .media-with-text.type3 .media figure {
        width: 100%;
        height: 100%;
    }

    .media-with-text.type3 .media figure video,
    .media-with-text.type3 .media figure img {
        width: 100%;
        height: 100%;
        z-index: 1;
        object-fit: cover;
        object-position: center;
    }
    .media-with-text .left-block {
        overflow: hidden;
    }
    .media-with-text .tag {
        transform: translateX(-100%);
        transition: var(--animtime2);
    }
    .media-with-text .tag.visible {
        transform: translateX(0);
    }
}

@media screen and (max-width: 1000px) {
    .media-with-text .container {
        flex-direction: column;
        row-gap: 4rem;
    }
    .media-with-text.reverse .container {
        flex-direction: column;
    }
    .media-with-text .left-block,
    .media-with-text .right-block {
        width: 100%;
    }
    .media-with-text .left-block,
    .media-with-text.reverse .left-block {
        order: 2;
        padding: 0;
    }
    .media-with-text .right-block {
        order: 1;
    }

    .media-with-text.type2,
    .media-with-text.type3 {
        padding-top: 0;
    }

    .media-with-text.type3 {
        padding-bottom: 0;
    }

    .type2 .container-inner {
        display: flex;
        flex-direction: column;
        row-gap: 4rem;
    }
    .media-with-text.type2 .right-block,
    .media-with-text.type3 .right-block {
        margin-left: -2.4rem;
        margin-right: -2.4rem;
        width: auto;
    }

    .media-with-text.type3 .container {
        row-gap: 0;
    }

    .media-with-text.type3 .left-block {
        padding: 4rem 2.4rem;
        margin-left: -2.4rem;
        margin-right: -2.4rem;
        width: auto;
    }

    .media-with-text.type2 {
        color: #000;
    }
}
