﻿.article1 {
    display : flex ;
    flex-direction : column ;
    width : 100% ;
    justify-content : space-evenly ;
    align-items : center ;
    flex-wrap : wrap ;
    background-position : center;
    background-size : cover ;
    background-repeat : no-repeat ;
}
.article1-wrapper {
    width: 100%;
    display: flex;
    direction: rtl;
    flex-wrap: wrap;
    max-width: 1300px;
    align-items: center;
    justify-content: space-between;
}

.article1 .article-card-item {
    width: 25rem;
    height: 29rem;
    position: relative;
}

.article1 .article-header {
    height: 55%;
    width : 100%;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    background-color: var(--articleHeader_bcolor1);
}

.article1 .article-image {
    object-position: top;
    transition: all ease-in-out .4s;
}

.article1 .article-card-item:hover .article-image {
    transform: scale(1.1);
}

.article1 .article-content {
    bottom: 10px;
    z-index: 5;
    width: 85%;
    height: auto;
    padding: 20px;
    min-height: 15rem;
    position: absolute;
    border-radius: 16px 16px;
    transition: all ease-in .4s;
    border: 2px solid transparent;
    box-shadow: rgb(0 0 0 / 24%) 2px 2px 20px 13px;
    background-color: var( --articleContent_bcolor1);
}

.article1 .article-title {
    opacity: .95;
    direction: rtl;
    font-size: 15px;
    line-height: 32px;
    text-align: center;
    transition: all .4s ease-in-out;
    color: var(--articleContent_fcolor);
}

.article1 .article-description {
    margin: 0;
    margin-top: 1rem;
    direction: rtl;
    font-size: 13px;
    line-height: 23px;
    text-align: justify;
    white-space: pre-wrap;
    color: var(--articleContent_fcolor);
}

.article1 .article-btn {
    color: #000;
    bottom: 12px;
    font-size: 15px;
    text-align: center;
    width: fit-content;
    position: absolute;
    text-decoration: none;
    transition: all linear .2s;
    border-bottom: 3px solid transparent;
}

@media(max-width : 1300px) {
    .article1-wrapper {
        width: 100%;
        justify-content: space-around;
    }
}

@media (max-width : 500px) {
    .article1{
        height:auto !important ;
    }
    .article1-wrapper {
        overflow-x: hidden;
    }
    .article1 .article-card-item {
        min-width: 0 !important;
        width: 88% !important;
        margin: 1rem 0 !important;
    }
    .article1 .article-header {
        max-width : 100% ;
    }
}
