.text-block .text-content::-webkit-scrollbar {
    width: 2px;
    background: var(--stroke);
}
.text-block .text-content::-webkit-scrollbar-thumb {
    background-color: var(--primary);
}
.text-block {
    display: flex;
    gap: 30px;
}
.text-block .text-right-side {
    display: flex;
    flex-direction: column;
    width: 50%;
    padding: 40px 50px;
    border: 1px solid var(--stroke);
    border-radius: 10px;
    background: var(--background-secondary);
    height: 460px;
}
.text-block .text-title {
    font-weight: 600;
    font-size: 36px;
    line-height: 125%;
    margin-bottom: 20px;
}
.text-block .text-content {
    padding-right: 18px;
    height: 315px;
    overflow: auto;
}
.text-block .text-img {
    width: 50%;
    height: 460px;
    border-radius: 10px;
    overflow: hidden;
}
.text-block .text-img img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

@media (max-width: 1200px) {
    .text-block .text-right-side {
        padding: 15px;
        height: 400px;
    }
    .text-block {
        gap: 10px;
    }
    .text-block .text-img {
        height: 400px;
    }
    .text-block .text-title {
        font-size: 24px;
        margin-bottom: 10px;
    }
    .text-block .text-content {
        height: 320px;
    }
}

@media (max-width: 768px) {
    .text-block {
        flex-direction: column;
    }
    .text-block .text-right-side {
        height: 300px;
        width: 100%;
        order: 1;
    }
    .text-block .text-content {
        height: 260px;
    }
    .text-block .text-img {
        height: auto;
        max-height: 400px;
        width: 100%;
        order: 2;
    }
}