.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project {
    display: flex;
    flex-direction: column; /* stack images + details vertically */
    align-items: center;
    /* background-color: #f9f9f9; */
    padding: 1rem;
    border-radius: 8px;
    /* box-shadow: 0 2px 10px rgba(0,0,0,0.05); */
}

.project-images {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap; /* stacks on small screens */
    justify-content: center; /* center horizontally */
    align-items: center; /* center vertically */
    margin-bottom: 1rem;
}

.project img.project-image {
    width: 100%;
    max-width: 140px; /* adjust image size as needed */
    height: auto;
    border-radius: 8px;
    /* box-shadow: 0 2px 8px rgba(0,0,0,0.1); */
}

.project-details h3 {
    margin-top: 0.5rem;
    font-size: 1.4rem;
    color: #333;
    text-align: center;
}

.project-details p {
    margin: 0.5rem 0;
    text-align: justify;
}


.publication-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem; /* space between columns */
}

.publication-item {
    line-height: 1.5;
    text-align: left;
}