/*
 * CSS for related artworks section
 */
.wp-art-routes-related-artworks {
    margin: 2em 0;
}

.wp-art-routes-related-artworks h2 {
    font-size: 1.3em;
    margin-bottom: 1em;
    color: #333;
}

.related-artworks-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5em;
    margin-bottom: 40px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.related-artwork-item {
    background: #fff;
    border: 1px solid #eee;
    overflow: hidden;
    width: 260px;
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.related-artwork-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
}

.related-artwork-link {
    color: inherit;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.related-artwork-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    margin-bottom: 0 !important;
}

.related-artwork-info {
    padding: 1em;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.related-artwork-title {
    font-size: 1.1em;
    margin: 0 0 0.5em 0;
    padding-bottom: 0 !important;
}

.related-artwork-excerpt {
    font-size: 0.97em;
    color: #555;
    margin-bottom: 0.7em;
}

.related-artwork-more {
    color: #0073aa;
    font-weight: 500;
    font-size: 0.98em;
    margin-top: auto;
}

@media (max-width: 700px) {
    .related-artworks-list {
        flex-direction: column;
        gap: 1em;
    }

    .related-artwork-item {
        width: 100%;
    }
}

@media (max-width: 700px) {
    .related-artworks-list {
        flex-direction: column;
        gap: 1em;
    }

    .related-artwork-item {
        width: 100%;
    }
}