.root {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    width: 100%;
    min-width: 0;
    max-width: var(--content-max-width);
    display: flex;
    margin: 0 auto;
    gap: 120px;
    padding: 120px;
}

.leftBlock {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 540px;
}

.description {
    line-height: var(--line-height-lg);
    letter-spacing: var(--letter-spacing-negative-md);

    > p:not(:first-child){
        margin-top: 16px;
    }
}

.rightBlock{
    width: 540px;
    height: 674px;
}

.galleryImageOverlay{
    position: relative;
}

.galleryItem{
    border-radius: 24px;
    overflow: hidden;
}

.galleryImageBig{
    width: 480px;
    height: 576px;
    aspect-ratio: 5/6;

}
.galleryImageSmall{
    position: absolute;
    right: 0px;
    bottom: -98px;
    width: 256px;
    height: 320px;
    aspect-ratio: 4/5;
}

.galleryImageBig img,
.galleryImageSmall img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (width <= 1440px) {
    .container{
        align-items: center;
        padding: 64px 20px;
        gap: 40px;
        max-width: 1080px;
    }

    .galleryItem{
        border-radius: 12px;
    }

    .leftBlock{
        width: 100%;
    }

    .label{
        font-size: var(--font-size-heading-xl);
    }

    .rightBlock{
        width: 100%;
    }

    .galleryImageBig{
        width: 440px;
        height: 536px;
    }

    .galleryImageSmall{
        width: 216px;
        height: 280px;
    }
}

@media (width <= 1080px) {
    .container{
        max-width: 768px;
    }

    .rightBlock{
        height: 418px;
    }

    .galleryImageBig{
        width: 300px;
        height: 340px;
    }

    .galleryImageSmall{
        width: 160px;
        height: 200px;
        bottom: -58px;
    }
}

@media (width <= 768px) {
    .container{
        flex-direction: column-reverse;
        width: 100%;
    }

    .rightBlock{
        width: 375px;
    }

    .galleryImageBig{
        height: 360px;
    }

}
