.content_section {
    .container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 24px;
        row-gap: 64px;

        @media (max-width:558px) {
            & {
                row-gap: 32px;
                justify-content: center;
            }
        }

        .cardtInvestment {
            width: calc(100% / 4 - 20px);
            max-width: 331px;
            cursor: pointer;
            text-decoration: none;

            &:hover {
                .card_image {
                    box-shadow: 0px 0px 10px 0px #0000006A;
                    box-shadow: 0px 0px 10px 0px #0000004F;
                }
            }

            @media (max-width:1024px) {
                & {
                    width: calc(100% / 3 - 20px);
                }
            }

            @media (max-width:778px) {
                & {
                    width: calc(100% / 2 - 20px);
                }
            }

            @media (max-width:558px) {
                & {
                    width: calc(100% - 20px);
                    max-width: 400px;
                }
            }


            .card_image {
                img {
                    height: 80%;
                    width: 100%;
                    object-fit: contain;
                }

                display: flex;
                justify-content: center;
                align-items: center;
                height: 197px;
                box-shadow: 0px 4px 4px 0px #0000001A;
                box-shadow: 0px 2px 4px 0px #0000000F;
                position: relative;
                background-color: #FFF;
                z-index: 10;
                border-radius: 24px;
                margin-bottom: 24px;
                transition: .5s all ease;
                -webkit-transition: .5s all ease;
                -moz-transition: .5s all ease;
                -ms-transition: .5s all ease;
                -o-transition: .5s all ease;
                overflow: hidden;

                &::before {
                    content: "";
                    position: absolute;
                    top: 0px;
                    right: 0;
                    width: 50%;
                    max-width: 117px;
                    height: 50%;
                    max-height: 117px;
                    border: 4px solid var(--main-yellow);
                    z-index: -10;
                    border-top-right-radius: 24px;
                    border-bottom: transparent;
                    border-left: transparent;
                }
            }

            .card_info {
                h2 {
                    font-size: clamp(20px, 2vw, 26px);
                    font-weight: 700;
                    line-height: 39px;
                    color: var(--main-blue);
                    text-align: center;
                }
            }
        }
    }
}

html[dir="rtl"] .content_section {
    .container {
        .cardtInvestment {
            .card_image {
                &::before {
                    right: initial;
                    left: -4px;
                    border: 4px solid var(--main-yellow);
                    border-top-right-radius: 0;
                    border-top-left-radius: 24px;
                    border-bottom: transparent;
                    border-right: transparent;
                }
            }
        }
    }
}