.text-diagmed-2 {
    display: flex;
    background-color: white;
    width: 100%;
    padding: 5.5rem 0;
    flex-direction: column;
    align-items: center;
}
.text-diagmed-2 .content-wrapper {
    width: 86.5rem;
    margin-right: 8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6rem;
}
.text-diagmed-2 .content-wrapper .card {
    width: 100%;
    gap: 9.5rem;
    height: auto;
    display: flex;
}
.text-diagmed-2 .content-wrapper .card .funny-handprints-6 {
    display: none;
}
.text-diagmed-2 .content-wrapper .card .image {
    display: flex;
    align-items: center;
    width: 100%;
    height: auto;
}
.text-diagmed-2 .content-wrapper .card .image > img {
    width: 100%;
    height: 100%;
    max-height: 30rem;
    object-fit: cover;
    border-radius: 1rem;
    border: solid 1px #ff0202;
}
.text-diagmed-2 .content-wrapper .card .text-part {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.text-diagmed-2 .content-wrapper .card .text-part .title {
    margin-bottom: 1.5rem;
    color: #343434;
    font-size: 3rem;
    line-height: 2.25rem;
    font-weight: 500;
}
.text-diagmed-2 .content-wrapper .card .text-part > p {
    font-size: 1rem;
    line-height: 1.5rem;
    color: #343434;
    font-weight: 400;
}
.text-diagmed-2 .content-wrapper .right {
    position: relative;
}
.text-diagmed-2 .content-wrapper .right .funny-handprints-6 {
    display: flex;
    position: absolute;
    left: -23rem;
    top: -12rem;
    z-index: 1;
}
.text-diagmed-2 .content-wrapper .right .image {
    order: 1;
}

@media (max-width: 96.5rem) {
    .text-diagmed-2 {
        padding: 6rem;
    }
    .text-diagmed-2 .content-wrapper {
        max-width: 50rem;
        width: 100%;
        margin-right: 0rem;
        gap: 6rem;
    }
    .text-diagmed-2 .content-wrapper .card {
        width: 100%;
        gap: 3rem;
        flex-direction: column;
    }
    .text-diagmed-2 .content-wrapper .card .funny-handprints-6 {
        display: none;
    }
    .text-diagmed-2 .content-wrapper .card .image {
        width: 100%;
        height: 33rem;
    }
    .text-diagmed-2 .content-wrapper .card .image > img {
        width: 100%;
        height: 100%;
        max-height: unset;
        object-fit: cover;
    }
    .text-diagmed-2 .content-wrapper .card .text-part {
        align-items: center;
        gap: 1.5rem;
    }
    .text-diagmed-2 .content-wrapper .card .text-part .title {
        margin-bottom: 0.5rem;
        font-size: 3rem;
        line-height: 3rem;
        font-weight: 500;
        text-align: center;
    }
    .text-diagmed-2 .content-wrapper .card .text-part > p {
        font-size: 1rem;
        line-height: 1.5rem;
        font-weight: 400;
        text-align: center;
    }
    .text-diagmed-2 .content-wrapper .right {
        position: relative;
    }
    .text-diagmed-2 .content-wrapper .right .funny-handprints-6 {
        display: none;
    }
    .text-diagmed-2 .content-wrapper .right .image {
        order: 0;
    }
}
@media (max-width: 43.75rem) {
    .text-diagmed-2 {
        padding: 4rem 1.25rem;
    }
    .text-diagmed-2 .content-wrapper {
        gap: 3rem;
    }
    .text-diagmed-2 .content-wrapper .card .image {
        height: 22rem;
    }
    .text-diagmed-2 .content-wrapper .card .text-part {
        gap: 1.5rem;
    }
    .text-diagmed-2 .content-wrapper .card .text-part .title {
        margin-bottom: 0rem;
        font-size: 1.5rem;
        line-height: 2rem;
        font-weight: 600;
    }
}
