/**
 * Menu List Widget Styles
 * File: /assets/css/widget-styles.css
 */

.mlw-wrapper {
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.mlw-header {
    background: linear-gradient(90deg, #1e90ff 0%, #00bfff 100%);
    color: #ffffff;
    padding: 12px 20px;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
}

.mlw-container {
    background-color: #1a1a1a;
    padding: 20px;
}

.mlw-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.mlw-item {
    padding: 10px 15px;
    text-align: center;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.mlw-item a {
    text-decoration: none;
    color: #ffffff;
    display: block;
    transition: color 0.3s ease;
}



.mlw-item:hover a {
    color: #ffd700;
}

.mlw-no-posts {
    text-align: center;
    padding: 40px;
    color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mlw-grid {
        grid-template-columns: 1fr;
    }
}

/* Additional hover effects */
.mlw-item {
    position: relative;
    overflow: hidden;
}

.mlw-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
   
   
}

.mlw-item:hover::before {
    left: 100%;
}

/* Dark theme optimization */
.elementor-editor-active .mlw-container {
    min-height: 200px;
}

/* Ensure proper text contrast */
.mlw-item a:focus {
    outline: 2px solid #ffd700;
    outline-offset: 2px;
}