﻿.article12 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content : flex-start ;
    width: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

    .article12 .article-wrapper {
        display: flex;
        max-width: 100%;
        flex-wrap: wrap;
        z-index : 50 ;
        justify-content: center;
        align-items: center;
        direction: rtl;
    }

    .article12 .article-card-item {
        width: 370px;
        height: 340px;
        position: relative;
        padding: 20px;
        transition: all .4s ease-in-out;
        background-color: transparent;
        border: 2px solid transparent;
        box-shadow: rgb(0 0 0 / 24%) 2px 2px 20px 13px;
        display : flex ;
        flex-direction : column ;
        justify-content : center ;
        align-items : center ;
    }
    .article12 .article-card-item:hover {
        transform: translateY(-20px);
    }

    .article12 .article-header {
        height: 40%;
        width: auto;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
    }


    .article12 .article-image {
        transition: all ease-in-out .4s;
        height: 84px;
        object-fit: cover;
        border-radius : 50% ;
        padding : 10px ;
    }

    .article12 .article-content {
        z-index: 5;
        width: 100%;
        height: 60%;
        transition: all ease-in .4s;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
        padding:10px;
    }

    .article12 .article-title {
        direction: rtl;
        font-size: 23px;
        line-height: 32px;
        text-align: center;
        transition: all .4s ease-in-out;
        color: #fff;
        margin: 0;
    }

    .article12 .article-description {
        margin: 0;
        margin-top: 1rem;
        direction: rtl;
        font-size: 15px;
        line-height: 28px;
        text-align: justify;
        color: #fff;
        white-space :pre-wrap ;
        margin: 10px 0;
        overflow :hidden
    }

@media(max-width : 1300px) {
    .article12 .article-wrapper {
        width: 100%;
    }
}

@media (max-width : 500px) {
    .article12 {
        height: auto !important
    }
        .article12 .article-wrapper {
            overflow-x: hidden;
        }
    .article12 .article-card-item {
        min-width: 0 !important;
        max-width: 90% !important;
        margin: 1rem 0 !important;
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        height : auto !important ;
       
    }
}
