
.pdfev-embed-viewer{
    .archive-grid-style{
        display: flex;
        justify-content:center;
        flex-wrap: wrap;
        gap: 20px;
        @media (min-width:1024px) {
            justify-content: start;
        }
        .grid-item{
            width: 46%;
            border: 1px solid var(--pdfev-light);
            position: relative;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            align-items: center;
            border-radius: 5px;
            box-shadow: 0 0 5px var(--pdfev-light);
            @media (min-width:768px) {
                width: 30%;
            }
            @media (min-width:1024px) {
                width: 23%;
            }
            .date{
                position: absolute;
                top: 16px;
                left: 16px;
                padding:2px 5px;
                border-radius: 4px;
                font-size: 12px;
                color: var(--pdfev-white);
                background-color: var(--pdfev-primary);
                margin: 0;
                z-index: 2;
            }
            .image{
                width: 100%;
                height: 180px;
                img{
                    width: 100%;
                    height: 100%;
                    object-fit: contain;
                    position: relative;
                }
                &::before{
                    content: '';
                    width: 100%;
                    height:inherit;
                    position: absolute;
                    left: 0;
                    right: 0;
                    z-index: 1;
                    background-image: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.468));
                }
            }
            
            h2{
                padding: 10px;
                font-size: 1rem;
                font-weight: bold;
                text-align: left;
                width: 100%;
                box-sizing: border-box;
                a{
                    color: var(--pdfev-dark);
                }
            }
            .action{
                margin: 10px;
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                gap: 10px;
                @media (min-width:580px){
                    flex-direction: row;
                }
            }
        }   
    }
}
