.three-images-title {
    display: flex;
    width: 1440px;
    padding: 40px 50px;
    align-items: flex-start;
    gap: 20px;
    margin: 0 auto;
}

@media (max-width: 767px) {
    .three-images-title {
        flex-direction: column;
        width: 100%;
        padding: 8px 0 28px 0;
        gap: 20px;
        overflow: visible;
    }
}

.three-images-title__container {
    display: flex;
    gap: 20px;
    width: 100%;
}

@media (max-width: 767px) {
    .three-images-title__container {
        flex-direction: column;
        gap: 20px;
        width: 100%;
        overflow: visible;
        padding: 20px;
        padding-bottom: 0;
    }
}

.three-images-title__tile:first-child {
    display: flex;
    width: 660px;
    height: 660px;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
    border-radius: 8px;
}

@media (max-width: 767px) {
    .three-images-title__tile:first-child {
        min-width: 335px;
        width: auto;
        height: 335px;

        flex-direction: column;
        justify-content: flex-end;
        align-items: flex-start;
        gap: 20px;
        aspect-ratio: 1/1;
    }
}

.three-images-title__right-column .three-images-title__tile {
    display: flex;
    width: 660px;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    flex: 1 0 0;
    border-radius: 8px;
}

@media (max-width: 767px) {
    .three-images-title__right-column .three-images-title__tile {
        display: flex;
        min-width: 280px;
        width: 280px;
        height: 200px;
        padding: 0;
        flex-direction: column;
        justify-content: flex-end;
        align-items: flex-start;
        gap: 20px;
        flex-shrink: 0;
    }
}

.three-images-title__tile {
    position: relative;
    overflow: hidden;
    text-decoration: none;
    font-family: 'oswald', sans-serif;
    text-transform: unset;
    font-size: 34px;
    font-style: normal;
    font-weight: 600;
}

.three-images-title__right-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

@media (max-width: 767px) {
    .three-images-title__right-column {
        flex-direction: row;
        overflow-x: scroll;
        overflow-y: hidden;
        gap: 20px;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 20px;

    }

    @supports (-webkit-appearance: none) {
        .three-images-title__right-column::-webkit-scrollbar {
            width: 107px;
        }

        .three-images-title__right-column::-webkit-scrollbar-track {
            background: #F3F3F3;
           border-radius: 10px;
        }

        .three-images-title__right-column::-webkit-scrollbar-thumb {
            background: #002E5E;
            transition: 5s;
            border-radius: 3rem;
        }

        .three-images-title__right-column::-webkit-scrollbar-button {
            display: none;
        }

        .three-images-title__right-column::-webkit-scrollbar {
            -webkit-appearance: none;
            height: 2px;
        }
    }
}

.three-images-title__link {
    display: block;
    position: relative;
    text-decoration: none;
    color: inherit;
    height: 100%;
    width: 100%;
}

.three-images-title__image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.three-images-title__title {
    position: absolute;
    z-index: 1;
    margin: 0;
    text-align: center;
    padding: 0 40px;
    transition: text-decoration 0.3s ease;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    font-size: 34px;
    font-style: normal;
    font-weight: 600;
}

@media (max-width: 767px) {
    .three-images-title__title {
        font-size: 28px;
        padding: 0 20px;
        bottom: 20px;
        width: 100%;
        text-align: left;
    }
}

.three-images-title__link:hover .three-images-title__image-wrapper {
    transform: scale(1.05);
}

.three-images-title__link:hover .three-images-title__title {
    text-decoration: underline;
}

@media (max-width: 767px) {
    .three-images-title__link:hover .three-images-title__title {
        text-decoration: none;
    }

    .three-images-title__link:active .three-images-title__title {
        text-decoration: underline;
    }

    .three-images-title__link:hover .three-images-title__image-wrapper {
        transform: none;
    }

    .three-images-title__link:active .three-images-title__image-wrapper {
        transform: scale(1.05);
    }
}
