.rapports-pdf-container {
    margin: 20px 0;
}

.rapports-pdf-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.rapport-item {
    margin: 0;
}

.rapport-link {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.rapport-link:hover {
    border-color: #2271b1;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transform: translateY(-2px);
    color: #2271b1;
}

.rapport-item.has-thumbnail .rapport-link {
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    overflow: hidden;
}

.rapport-item.has-thumbnail .rapport-link:hover .rapport-thumbnail img {
    transform: scale(1.05);
}

.rapport-thumbnail {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
}

.rapport-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.rapport-item.has-thumbnail .rapport-title {
    padding: 15px 20px;
    width: 100%;
    margin: 0;
}

.rapport-icon {
    font-size: 24px;
    margin-right: 15px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.rapport-link:hover .rapport-icon {
    color: #2271b1;
}

.rapport-icon svg {
    width: 48px;
    height: 48px;
}

.rapport-title {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .rapports-pdf-list {
        grid-template-columns: 1fr;
    }
}
