.designed_cards .card_wrap {
    background: #fff;
    color: #182A51;
    box-shadow: 0px 0px 50px 0px #B6C7FF;
    border-radius: 15px;
    line-height: 1.6;
    font-weight: 300;
}

section.designed_cards {
    padding-top: 101px;
}

@media screen and (max-width: 1200px) {
    section.designed_cards {
        padding-top: 41px;
    }
}

.designed_cards .card_wrap h5 {
    font-weight: 600;
    line-height: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 11px;
    color: #182A51;
}

.card_wrap span svg {
    grid-column: 1;
    grid-row: 1;
    align-items: self-start;
}

.card_wrap {
    display: grid;
    grid-template-columns: max-content 1fr;
    padding: 30px 28px 39px 14px;
}

.rtl .card_wrap {
    padding: 30px 14px 39px 28px;
}

.card_wrap .inner-container {
    display: flex;
    flex-direction: column;
}

h5 {
    grid-column: 2;
}

@media screen and (max-width: 1200px) {
    .card_wrap {
        padding: 27px 18px 23px 14px;
    }

    .rtl .card_wrap {
        padding: 23px 18px 27px 14px;
    }

    .card_wrap .inner-container > p:not(h5) {
        line-height: 1.7;
    }
}

.card_wrap p {
    font-size: 16px;
}

.card_wrap .inner-container {
    padding-left: 18px;
}

.rtl .card_wrap .inner-container {
    padding-right: 18px;
}

.card_wrap h5 p {
    font-size: 22px;
}

@media screen and (max-width: 1200px) {
    .card_wrap h5 p {
        font-size: 18px;
    }

    .card_wrap p {
        font-size: 14px;
    }
}

.designed_cards .card_wrap a {
    color: #2B5CED;
    margin-top: 20px;
}

.designed_cards .card_wrap_team {
    text-align: center;
}

.designed_cards .card_wrap_team div {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    text-align: left;
}

.rtl .designed_cards .card_wrap_team div {
    text-align: right;
}

.card_wrap span {
    margin-right: 0;
    margin-bottom: 0;
    align-items: self-start;
}

.rtl .card_wrap span {
    margin-right: unset;
    margin-left: 0;
}

.designed_cards .card_wrap_team img {
    width: 100%;
    height: 480px;
    object-fit: cover;
}

.designed_cards .card_wrap_team div p {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    height: 100%;
    background: #152546E5;
    padding: 60px 40px;
    transition: all .4s ease-in-out;
    opacity: 0;
}

.rtl .designed_cards .card_wrap_team div p {
    left: unset;
    right: 0;
}

.designed_cards .card_wrap_team:hover div p {
    opacity: 1;
}

.designed_cards .card_wrap_team > p {
    font-weight: 500;
}

.designed_cards .card_wrap_team h5 {
    font-size: 26px;
    line-height: 1;
}

@media screen and (max-width: 576px) {
    .designed_cards .card_wrap_team > p:not(h5) {
        font-weight: 300;
    }

    .designed_cards .card_wrap_team h5 {
        font-size: 23px;
    }
}

.card_wrap span img {
    width: 100%;
    /*height: 100%;*/
}

.card_wrap span:has(img) {
    width: fit-content;
    height: auto;
}

@media screen and (max-width: 1200px) {
    .card_wrap span img {
        width: 35px;
        height: 38px;
        object-fit: contain;
    }
}