/* Hides gallery items that do not match the selected filter */
.journey-item.hide {
    display: none;
}

/* Card container for each gallery item (image + optional caption) */
.journey-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Hover effect: lifts the card and adds a deeper shadow */
.journey-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Ensures all gallery images have the same size and cover the area neatly */
.journey-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Caption text below images (used in "events" category) */
.journey-caption {
    padding: 12px;
    font-size: 0.9rem;
    color: #333;
    background: #fff;
    text-align: center;
}

/* Spacing between the filter buttons (Events, News, Links, YouTube) */
.filter-gallery {
    margin: 0 4px;
}