@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');


.ur-route-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.ur-route-box {
    flex: 0 0 calc(33.333% - 20px);
    border: 1px solid #ddd;
    box-sizing: border-box;
    background-color: #f9f9f9;
    overflow: hidden;
}
.ur-route-box:hover{
    transform: scale(1.03);
}

    

.ur-route-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.ur-route-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ur-route-content {
    padding: 15px;
}

.ur-route-title {
    margin-top: 0;
    color: #333;
}

.ur-route-description {
    font-style: italic;
    color: #666;
}

.ur-route-details {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #ddd;
}

.ur-route-edit-btn {
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: 5px;
    width: auto;
    height: auto;
    padding: 5px;
    font-size: 15px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    position: absolute;
    top: 5px;
    right: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0);
}
.ur-route-delete-btn {
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: 5px;
    width: auto;
    height: auto;
    padding: 5px;
    font-size: 15px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    position: absolute;
    top: 5px;
    right: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0);
}

.ur-route-edit-btn i ,
.ur-route-delete-btn i {
    width: 1em;
    height: 1em;
    display: inline-block;
}

.ur-route-edit-btn:hover ,
.ur-route-delete-btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}


.ur-route-edit-btn:hover i {
    color: #007bff;
}
.ur-route-delete-btn:hover i {
    color: #ff3e3e;
}


/* Ensure the parent container has a relative position */
.ur-route-title-container {
    position: relative;
}

@media (max-width: 900px) {
    .ur-route-box {
        flex: 0 0 calc(50% - 20px);
    }
}

@media (max-width: 600px) {
    .ur-route-box {
        flex: 0 0 100%;
    
    }
    .ur-route-box:hover{
        transform: translateY(-5px);
    }
}