.richard-images {
    padding: 50px 0;
    position: relative;
}

/* Header styling met titel en beschrijving */
.richard-images-header {
    display: flex;
    margin-bottom: 50px;
    justify-content: space-between;
}

.richard-images-column {
    align-items: center;
    display: flex;
    width: 50%;
}

.richard-images-column.title-column {
    width: 23%;
}

/* Grid voor afbeeldingen */
.richard-images-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap:30px;
}

.richard-images-item {
    flex: 0 0 auto;
    max-width: 400px;
    max-height: 330px;
    border-radius: 40px;
    overflow: hidden;
}

.richard-images-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Decoratieve afbeelding styling */
.richard-decorative-image {
    position: absolute;
    top: 0;
    bottom: 0;
    transform: none;
    z-index: 0;
    width: 800px;
    height: 100%;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.richard-decorative-image.left {
    left: -230px;
}

.richard-decorative-image.right {
    right: -265px;
}

.richard-decorative-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media screen and (max-width: 1338px) {
    .richard-images-column.title-column {
        width: 50%;
    }
}
/* Responsive aanpassingen */
@media screen and (max-width: 992px) {
    .richard-images-header {
        flex-direction: column;
        gap: 30px;
    }
    .richard-images-column {
        width: 100%;
    }
    .richard-images-column.title-column {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .richard-decorative-image {
        opacity: 0.2;
    }

    .richard-images-item {
        flex: 0 0 100%;
    }
} 