/* =========================
   Document Library Grid
========================= */

.document-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}


/* =========================
   Document Card
========================= */

.document-card {
    background: #ffffff;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    transition: .3s;
}


.document-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,.12);
}


/* =========================
   PDF Icon
========================= */

.document-icon {

    font-size: 35px;
    margin-bottom: 10px;

}



/* =========================
   Document Title
========================= */

.document-title {

    font-size: 16px;
    line-height: 1.4;
    margin: 10px 0;
    min-height: 45px;

}



/* =========================
   Document Information
========================= */

.document-meta {

    text-align:left;
    background:#f7f7f7;
    padding:10px;
    margin:12px 0;
    border-radius:5px;

}



.document-meta p {

    margin:5px 0;
    font-size:13px;

}



/* =========================
   Download Button
========================= */

.download-btn {

    display:inline-block;
    background:#294a70;
    color:#fff;
    padding:8px 15px;
    border-radius:5px;
    text-decoration:none;
    font-size:14px;

}



.download-btn:hover {

    background:#ffab1f;
    color:#fff;

}



/* =========================
   Search Box
========================= */

.document-search {

    display:flex;
    gap:10px;
    margin-bottom:30px;

}



.document-search input[type="text"] {

    flex:1;
    padding:10px;
    border:1px solid #ddd;
    border-radius:5px;
    font-size:15px;

}



.document-search button {

    background:#294a70;
    color:white;
    border:none;
    padding:10px 20px;
    border-radius:5px;
    cursor:pointer;

}



.document-search button:hover {

    background:#ffab1f;

}



/* =========================
   Single Document Page
========================= */

.single-document {

    background:#fff;
    padding:30px;
    border-radius:8px;

}



.single-document iframe {

    border:1px solid #ddd;
    margin-top:20px;

}



.single-document .entry-title {

    margin-bottom:20px;

}




/* =========================
   Responsive Design
========================= */


/* Laptop / Tablet */

@media(max-width:1200px){

    .document-grid {

        grid-template-columns:repeat(3,1fr);

    }

}



/* Tablet */

@media(max-width:900px){

    .document-grid {

        grid-template-columns:repeat(2,1fr);

    }

}



/* Mobile */

@media(max-width:600px){

    .document-grid {

        grid-template-columns:1fr;

    }


    .document-search {

        flex-direction:column;

    }

}




/* =========================
   Category Filter
========================= */

.document-filter{
    margin:20px 0 30px;
}

.document-filter select{
    width:300px;
    max-width:100%;
    padding:10px;
    border:1px solid #ddd;
    border-radius:5px;
    font-size:15px;
    background:#fff;
}






/* =========================
   Sort Dropdown
========================= */

.document-sort{
    margin:20px 0;
}

.document-sort select{
    width:250px;
    max-width:100%;
    padding:10px;
    border:1px solid #ddd;
    border-radius:5px;
    font-size:15px;
    background:#fff;
}