﻿.article16 {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

    .article16 .article-container {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: center;
        align-items: flex-start;
        margin: 1rem 0;
    }

    .article16 .article-card-item {
        max-height: 600px;
        height: 600px;
        width: 100%;
        display: flex;
        box-shadow: -1px -3px 7px -7px rgb(59 71 81 / 42%);
        padding: 100px;
        position: sticky;
        top: 150px;
        margin-bottom: 80px;
    }

        .article16 .article-card-item.active {
            transform: scale(1.05);
            z-index: 5;
            box-shadow: 0 10px 25px rgba(0,0,0,0.25);
        }

        .article16 .article-card-item .linkContainer {
            height: fit-content;
            position: absolute;
            bottom: 0px;
            right: 0px;
            background: #ecf4fb;
            padding: 13px;
            border-radius: 60% 0 0 0;
        }

            .article16 .article-card-item .linkContainer .link {
                background: #fff;
                padding: 10px;
                display: flex;
                border-radius: 50%;
            }

                .article16 .article-card-item .linkContainer .link:hover {
                    background: var(--formButton_hover);
                }

    .article16 .card-image-content {
        width: 100%;
        max-width: 375px;
        /* width: 500px; */
        height: 100%;
        overflow: hidden;
        border-radius: 32px;
    }

    .article16 .article-image {
        width: 100%;
        height: 100%;
        object-fit: contain;
        transition: all .5s ease-in;
    }

    .article16 .article-card-item:hover .article-image {
        transform: scale(1.1);
    }

    .article16 .card-detail {
        /*        width: 55%;
        height: 100%;*/
        padding: 1rem;
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: space-between;
        position: relative;
    }

    .article16 .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);
    }

    .article16 .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);
    }

    .article16 .card-detail-btn {
        position: absolute;
        bottom: 20px;
    }

    .article16 .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;
    }

        .article16 .showMore-btn:hover {
            opacity: 1
        }


@keyframes borderanimatearticle16 {
    100% {
        box-shadow: 0 0 0 12px transparent;
    }
}


@media (max-width : 1400px ) {
    .article16 .article-container {
        max-width: 80% !important;
    }
}

@media (max-width : 1200px ) {
    .article16 .article-container {
        max-width: 90% !important;
    }
}

@media (max-width : 992px ) {
    .article16 .article-card-item {
        position: relative;
        flex-direction: column-reverse;
        max-height: unset;
        height: auto;
        padding: 30px;
        top:unset
    }

    .article16 .card-image-content {
        align-self: center;
    }

    .article16 .article-image {
        object-fit: cover;
    }

    .article16 .card-detail {
        padding: .5rem;
    }
}

/*@media (max-width : 576px) {
    .article16 {
        height: auto !important;
    }

        .article16 .article-container {
            overflow-x: hidden;
        }

        .article16 .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;
        }


        .article16 .card-image-content {
            width: 100% !important;
            height: 50% !important;
            border-radius: 0 !important
        }

        .article16 .article-image {
            border-radius: 0 !important
        }

        .article16 .card-detail {
            width: 100% !important;
            height: 50% !important;
            padding: 1rem !important;
            position: static;
            border-radius: 0 !important
        }
}
*/