/* static/css/publications.css */

.publication-list .publication-card {
    margin-bottom: 1rem; /* Reduced vertical gap */
    border-left: 4px solid gray;
    transition: box-shadow 0.2s ease-in-out;
}

.publication-list .publication-card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1) !important;
}

.publication-title {
    font-weight: 600;
    color: #212529;
    font-size: 1.1rem; /* Reduced font size */
    margin-bottom: 0.25rem; /* Reduced vertical gap */
}

.publication-authors {
    font-size: 0.9rem; /* Reduced font size */
    color: #495057;
    margin-bottom: 0.5rem; /* Reduced vertical gap */
}

.publication-source {
    font-size: 0.9rem; /* Reduced font size */
    color: #6c757d;
    margin-bottom: 1rem; /* Reduced vertical gap */
}

.publication-actions {
    display: flex;
    gap: 0.5rem; /* Reduced gap between buttons */
}

/* Modal styling for better readability */
.modal-body {
    font-size: 0.95rem; /* Reduced font size */
    line-height: 1.6; /* Adjusted line height for better readability */
    text-align: justify;
}
.pdf-modal-body {
    height: calc(100vh - 58px); /* Full viewport height minus the header height */
    overflow: hidden;
}
.publication-badge {
    width: 130px; /* Adjust this value to your desired width */
    font-size: 0.8rem; /* Optional: Adjust font size if needed */
    padding-top: 0.5em; /* Optional: Adjust vertical padding for better look */
    padding-bottom: 0.5em;
}