/* PUBLICATIONS SECTION */
.publications-wrapper {
    padding: 50px 30px;
    background: #f4f8fc;
}

/* GRID – 4 CARDS PER ROW */
.publications-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* FORCE 4 */
    gap: 16px; /* slightly smaller gap */
    max-width: 1100px; /* KEY: limits width so 4 cards fit */
    margin: 0 auto;
}


/* CARD */
.publication-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 14px; /* reduced */
    display: flex;
    flex-direction: column;
    min-height: 230px; /* reduced */
    box-shadow: 0 5px 14px rgba(0,0,0,0.08);
}


/* FEATURED CARD */
.publication-card.featured {
    background: #1f3a5f;
    color: #ffffff;
}

/* TEXT */
.publication-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.publication-card p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 14px;
}

/* BUTTONS */
.actions {
    margin-top: auto;
    display: flex;
    gap: 10px;
}

/* LINKS BELOW */
.publication-links {
    max-width: 400px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.publication-links a {
    background: #ffffff;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 14px;
    color: #1f3a5f;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.publication-links a:hover {
    background: #e6eef7;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .publications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .publications-grid {
        grid-template-columns: 1fr;
    }
}
