/* ================================================
   SECTION: IMAGE TEXT COMPACT (//)
   ================================================ */
.section-image-text-compact {
    margin-top: 87px;
}

.section-image-text-compact__row {
    display: flex;
    gap: 93px;
    align-items: center;
}

.section-image-text-compact__row--right {
    flex-direction: row-reverse;
}

.section-image-text-compact__image {
    flex-shrink: 0;
    width: 647px;
    height: 353px;
    position: relative;
}

.section-image-text-compact__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.section-image-text-compact__content {
    flex: 1;
}

.section-image-text-compact__title {
    font-family: var(--aniro-font-heading);
    font-size: 40px;
    font-weight: 900;
    color: var(--aniro-color-black);
    text-transform: uppercase;
    line-height: 1.2;
    position: absolute;
    right: -15px;
    top: 28%;
    transform: translateY(-50%);
    white-space: nowrap;
    padding: 10px;
}

.section-image-text-compact__title h3{
    background-color: white;
}

.section-image-text-compact__title svg{
    right: -60px;
    position: absolute;
    top: 28%;
    transform: translateY(-50%);
}

.section-image-text-compact__text {
    font-family: var(--aniro-font-body);
    font-size: 15px;
    font-weight: 400;
    line-height: 22px;
    color: var(--aniro-color-dark);
}

.section-image-text-compact__row--right .section-image-text-compact__text {
    text-align: right;
}

@media (max-width: 1024px) {
    .section-image-text-compact__row {
        gap: 40px;
    }
    .section-image-text-compact__image {
        width: 400px;
        height: 260px;
    }
    .section-image-text-compact__title {
        font-size: 30px;
        top: 10px;
    }
}

@media (max-width: 768px) {
    .section-image-text-compact {
        margin-top: 50px;
    }
    .section-image-text-compact__row,
    .section-image-text-compact__row--right {
        display: block;
    }
    .section-image-text-compact__image {
        width: 100%;
        height: auto;
        position: static;
    }
    .section-image-text-compact__image img {
        width: 100%;
        height: auto;
    }
    .section-image-text-compact__title h3{
        margin: 10px 0;
    }
    .section-image-text-compact__title {
        font-size: 24px;
        position: static;
        padding: 0;
        transform: none;
    }
    .section-image-text-compact__title svg {
        display: none;
    }
    .section-image-text-compact__content {
        margin-top: 16px;
    }
    .section-image-text-compact__row--right .section-image-text-compact__text {
        text-align: left;
    }
}

