﻿.document-preview-widget-container {
    padding: 100px 0;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    max-width: 1200px;
    margin: 28px auto 0;
    text-align: center;
}
    .document-preview-widget-container h2.title {
        letter-spacing: 3px;
        color: #dab657;
        margin-bottom: 50px;
        text-transform: uppercase;
        font-weight: 400;
        font-size: 2vw;
    }

    /* Cards Layout */
    .document-preview-widget-container .cards {
        display: flex;
        justify-content: center;
       /* flex-wrap: wrap;*/
        gap: 45px;
    }

        /* Card Style */
        .document-preview-widget-container .cards .documment-card {
            /* background-color: #fff; */
            /* border-radius: 10px; */
           /* max-width: 297px;
            width: 100%;*/
           /* overflow: hidden;*/
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
            transition: transform 0.3s ease;
        }

            .document-preview-widget-container .cards .documment-card:hover {
                /*transform: translateY(-5px);*/
            }

            .document-preview-widget-container .cards .documment-card a {
                text-decoration: none;
                color: inherit;
                display: block;
            }

            .document-preview-widget-container .cards .documment-card img {
                width: 100%;
                height: auto;
                display: block;
                max-width: 276px;
            }

            .document-preview-widget-container .cards .documment-card .caption {
                background-color: #000;
                color: #dab657;
                font-size: 17px;
                font-weight: 600;
                text-transform: uppercase;
                padding-right: 20px;
                padding-top: 30px;
                margin-bottom: 0;
                line-height: 30px;
            }
            .document-preview-widget-container .cards .documment-card h4.captionBottomText {
                background-color: #000;
                color: #dab657;
                font-size: 17px;
                font-weight: 600;
                text-transform: uppercase;
                padding-right: 20px;
                line-height: 30px;
            }

/* -------------------
   Responsive Breakpoints
------------------- */

/* Tablets */
@media (max-width: 992px) {
    .document-preview-widget-container h2.title {
        font-size: 28px;
    }
    .document-preview-widget-container .cards .documment-card img {
        max-width: 285px;
    }
    .document-preview-widget-container .cards {
        gap: 20px;
        padding: 0 27px;
    }
        .document-preview-widget-container .cards .documment-card {
            max-width: 45%;
        }
}

/* Mobile Devices */
@media (max-width: 600px) {
    .document-preview-widget-container h2.title {
        font-size: 20px;
        margin-bottom: 30px;
    }
    .document-preview-widget-container .cards {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
        .document-preview-widget-container .cards .documment-card {
            max-width: 100%; 
            padding-left: 24px;
        }
            .document-preview-widget-container .cards .documment-card .caption {
                font-size: 16px;
                padding: 12px 0 0 0;
            }
    .document-preview-widget-container {
        margin: -28px auto 0;
    }
}
