.teach-block .wrapper {
    display: flex;
    gap: 30px;
}
.teach-block {
    padding-bottom: 60px;
}
.teach-block .text-holder {
    width: 40.5%;
}
.teach-block .block-img {
    width: 58%;
    display: flex;
    border-radius: 30px;
    overflow: hidden;
    height: auto;
    max-height: 430px;
}
.teach-block .block-img img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}


@media (max-width: 1200px) {
    .teach-block {
        padding-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .teach-block .wrapper {
        flex-direction: column;
        gap: 10px;
    }
    .teach-block .text-holder {
        width: 100%;
    }
    .teach-block .block-img {
        width: 100%;
        max-height: 300px;
    }
}