.gallery-before-after {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    font-size: 16px;
    text-transform: uppercase;
    color: #fff;
    font-weight: 700;
    display: flex;
    flex-wrap: wrap;
    right: 0;
}
.gallery-image-text {
    width: 50%;
    display: inline-block;
    padding: 35px 17px 0;
}
.gallery-category-box {
    border: 1px solid rgb(117 33 36 / 30%);
    height: 100%;
    background: #FDF9F7;
    position: relative;
}
.gallery-category-image img {
    width: 100%;
    height: 250px;
    display: block;
    object-fit: cover;
    object-position: center;
}
.gallery-category-image a {
    position: relative;
}
.gallery-category-count {
    font-family: var(--title--font);
    color: rgba(255,255,255,0.25);
    position: absolute;
    left: 10px;
    z-index: 9;
    font-size: 30px;
    font-weight: 700;
    top: 10px;
    letter-spacing: 2px;
}
.gallery-category-image {
    position: relative;
}
.gallery-content-wraper {
    padding: 20px 15px;
    width: 62%;
    font-size: 14px;
    line-height: 24px;
}
.patient-information-list {
    display: flex;
    font-size: 10px;
    flex-wrap: wrap;
    line-height: 14px;
    margin-bottom: 10px;
}
.patient-information-list:last-child{
    margin-bottom: 0;
}
.patient-information-title {
    width: 50%;
    position: relative;
    padding-right: 15px;
    font-weight: 500;
}
.patient-information-title::after {
    content: ":";
    position: absolute;
    right: 0;
    width: 1px;
    height: 100px;
    top: 0;
}
.patient-information-content {
    width: 50%;
    padding-left: 15px;
}
.patient-information-box {
    background: #752124;
    color: #fff;
    padding: 15px 15px;
    border-radius: 10px 0 0 0;
    position: absolute;
    width: 38%;
    right: 0;
    bottom: 0;
}

@media screen and (max-width: 991px) {
.patient-information-box {
    padding: 20px;
    position: static;
    width: 100%;
    border-radius: 0;
}
.gallery-content-wraper {
    padding: 20px 20px;
    width: 100%;
    font-size: 16px;
    line-height: 26px;
    background: #FDF9F7;
}
.patient-information-list {
    font-size: 14px;
    line-height: 20px;
}
.gallery-category-box {
    background: #752124;
    border-color: rgb(212 184 183);
}
}
@media screen and (max-width: 767px) {
.gallery-category-image img {
    height: 240px;
}
.gallery-image-text {
    padding: 20px 15px 0;
}
.gallery-category-count {
   left: 6px;
    top: 6px;
    line-height: normal;
}
}