.journal-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 90px; /* space between journal items */
    margin-bottom: 100px;
}

.journal-item {
    display: flex;
    flex-direction: column; /* image on top, text below */
    align-items: center;
    text-align: center;
    background-color: #fff; /* optional card background */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.journal-item:hover {
    /* transform: scale(1.02); */
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.journal-image {
    width: 100%; /* fills the column */
    height: 200px; /* fixed height */
    object-fit: cover; 
    flex-shrink: 0;
}

.journal-info {
    padding: 15px;
}

.journal-info p {
    margin: 5px 0;
}
