.publication-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 96%;
    justify-content: flex-start;
    margin: 2%;
    padding: 2px;
    overflow: hidden;
    gap: 5px;
    border-radius: 0;
}

.publication-card .title {
    font-weight: 550;
}

.publication-card .authors {
    color: rgb(31, 31, 31);
    font-size: 14px;
    font-weight: 400;
}

.publication-card .journal_and_extra {
    font-style: italic;
    font-size: 15px;
}

.publication-card .date {
    color: var(--sml-green);
    font-weight: 500;
    font-size: 15px;
}

.publication-card .additional {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.publication-card .additional .abstract {
    text-align: justify;
    font-size: 14px;
    color: #3b3b3b;
}

.publication-card .additional .illustrations {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-evenly;
}

.publication-card .additional .illustration-item img {
    width: 150px;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    object-fit: cover;
    cursor: pointer;
}

.publication-card .additional .illustration-item img:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    cursor: pointer;
}









.toc {
    background: #f8f9fa;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 10px;
    border: 1px solid #ddd;
}

.toc h2 {
    margin-top: 0;
}

.toc ul {
    list-style: none;
    padding-left: 0;
}

.toc ul li {
    margin: 8px 0;
}

.toc a {
    text-decoration: none;
    font-weight: 600;
    color: #003366;
}

.toc a:hover {
    text-decoration: underline;
}

/* Lightbox (fullscreen zoom) */
.lightbox-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    opacity: 0;
    transition: opacity 200ms ease;
    z-index: 1000;
}

.lightbox-backdrop.show {
    opacity: 1;
}

.lightbox-clone {
    position: fixed;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: left 300ms ease, top 300ms ease, width 300ms ease, height 300ms ease;
    z-index: 1001;
    cursor: zoom-out;
    background: #fff;
    object-fit: contain;
}

body.no-scroll {
    overflow: hidden;
}