.main-page-main-image-wrapper {
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    margin-right: -50vw;

    .main-image-content {
        width: 100%;
    }

    .main-image-image {
        display: block;
        width: 100%;
        height: auto;
        max-height: 700px;
        max-width: none;
        object-fit: cover;
    }

    .main-page-text-wrapper {
        position: absolute;
        bottom: 120px;
        left: 0;
        width: 100%;
        z-index: 2;
        pointer-events: none;

        .main-page-text-inner {
            width: calc(100% - 40px);
            max-width: 1300px;
            margin: 0 auto;
            box-sizing: border-box;

            display: flex;
            flex-direction: column;
            align-items: flex-end;
            text-align: right;
        }

        .first-title,
        .second-title {
            color: #fff;
            font-size: 60px;
            text-transform: uppercase;
            line-height: 1.2;
        }
    }
}

.main-page-content-wrapper {
    .page-content-title {
        color: #952828;
        font-size: 16px;
        margin-top: 35px;
        margin-bottom: 30px;
        font-weight: bold;
    }

    .page-content-description {
        p {
            font-size: 16px;
        }
    }
}

.page-content-sections-wrapper {
    display: flex;
    gap: 20px;
    width: 100%;

    .section-image {
        width: 100%;
        margin-bottom: 15px;
    }

    .section-image img {
        display: block;
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .section-text {
        width: 100%;
        font-size: 14px;
    }
}

.page-content-sections-wrapper > div {
    flex: 1;
    min-width: 0;
    padding: 30px 50px 0px 50px;
    box-sizing: border-box;
    background-color: #ced2c3;
    margin-bottom: 35px;
}

@media (max-width: 1085px) {
    .main-page-main-image-wrapper {
        .main-page-text-wrapper {
            .first-title,
            .second-title {
                font-size: 50px;
            }
        }
    }
}

@media (max-width: 922px) {
    .main-page-main-image-wrapper {
        .main-page-text-wrapper {
            .first-title,
            .second-title {
                font-size: 40px;
            }
        }
    }

    .page-content-sections-wrapper > div {
        padding: 20px 40px 0px 40px;
    }
}

@media (max-width: 768px) {
    .main-page-main-image-wrapper {
        .main-page-text-wrapper {
            .main-page-text-inner {
                width: calc(100% - 30px);
            }

            .first-title,
            .second-title {
                font-size: 24px;
            }
        }
    }
}

@media (max-width: 768px) {
    .page-content-sections-wrapper {
        flex-direction: column;
    }

    .page-content-sections-wrapper > div {
        padding: 40px 70px 0px 70px;
    }
}

@media (max-width: 600px) {
    .main-page-main-image-wrapper {
        .main-page-text-wrapper {
            bottom: 65px;
            
            .main-page-text-inner {
                width: calc(100% - 30px);
            }

            .first-title,
            .second-title {
                font-size: 20px;
            }
        }
    }
}
