﻿.article2 {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

    .article2 .article-container {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: flex-start;
        margin: 1rem 0;
    }

    .article2 .article-card-item:nth-child(even) {
        flex-direction: row-reverse;
    }

    .article2 .article-card-item {
        height: 20rem;
        width: 100%;
        display: flex;
        direction: rtl;
        max-width: 900px;
        margin: 2rem auto;
        position: relative;
        border-radius: 32px;
        border: 1px solid transparent;
        /*background-color: var(--articleContent_bcolor1);*/
        box-shadow: 0px 4px 10px 2px rgba(60,64,67,42%);
    }

    .article2 .card-image-content {
        width: 45%;
        height: 100%;
        overflow: hidden;
        border-radius: 32px;
    }

    .article2 .article-image {
        width: 100%;
        height: 100%;
        object-fit: contain;
        transition: all .5s ease-in;
    }

    .article2 .article-card-item:hover .article-image {
        transform: scale(1.1);
    }

    .article2 .card-detail {
        width: 55%;
        height: 100%;
        padding: 2rem;
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: space-between;
        position: relative;
    }

    .article2 .article-card-title {
        margin: 0;
        padding: 5px;
        direction: rtl;
        font-size: 18px;
        font-weight: 600;
        line-height: 37px;
        text-align: center;
        color: var(--articleContent_fcolor);
    }

    .article2 .card-description {
        margin: 0;
        padding: 10px;
        line-height: 2;
        direction: rtl;
        font-size: 14px;
        text-align: justify;
        white-space: pre-wrap;
        color: var(--workHourContent_fcolor);
    }

    .article2 .card-detail-btn {
        position: absolute;
        bottom: 20px;
    }

    .article2 .showMore-btn {
        border: none;
        margin: 16px;
        font-size: 16px;
        cursor: pointer;
        padding: 8px 16px;
        border-radius: 6px;
        text-decoration: none;
        transition: all 0.3s ease;
        color: var(--formButton_fcolor);
        opacity: .86;
    }

        .article2 .showMore-btn:hover {
            opacity: 1
        }


    .article2 .Playbutton {
        width: 60px;
        height: 60px;
        position: absolute;
        z-index: 999;
        background: var(--formButton_bcolor1);
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        transition: all ease .25s;
        animation: borderanimateArticle2 2s infinite linear;
        box-shadow: 0 0 0 0 var(--formButton_bcolor1);
        opacity: .9;
        bottom: 20px;
        left: 20px;
    }

        .article2 .Playbutton:hover {
            transform: scale(1.1)
        }




@keyframes borderanimateArticle2 {
    100% {
        box-shadow: 0 0 0 12px transparent;
    }
}


@media (max-width : 900px ) {
    .article2 .article-image {
        object-fit: cover;
    }

    .article2 .card-detail {
        padding: .5rem;
    }
}

@media (max-width : 576px) {
    .article2 {
        height: auto !important;
    }

        .article2 .article-container {
            overflow-x: hidden;
        }

        .article2 .article-card-item {
            width: 85% !important;
            width: 90% !important;
            max-width: 90% !important;
            height: fit-content !important;
            flex-direction: column !important;
            margin: 1rem 0 !important;
            overflow: hidden;
        }

        .article2 .card-image-content {
            width: 100% !important;
            height: 50% !important;
            border-radius: 0 !important
        }

        .article2 .article-image {
            border-radius: 0 !important
        }

        .article2 .card-detail {
            width: 100% !important;
            height: 50% !important;
            padding: 1rem !important;
            position: static;
            border-radius: 0 !important
        }
}
