/* Custom Grid Styles */
.flexi-universal-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 20px; 
    padding: 20px 0; 
}
.flexi-u-card { 
    background: #ffffff; 
    border: 1px solid #eaeaea; 
    border-radius: 8px; 
    overflow: hidden; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); 
    display:flex; 
    flex-direction:column; 
    transition: transform 0.2s ease; 
}
.flexi-u-card:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 6px 15px rgba(0,0,0,0.1); 
}
.flexi-u-img { 
    width: 100%; 
    height: 200px; 
    object-fit: cover; 
    background: #f8f9fa; 
    border-bottom:1px solid #eaeaea; 
}
.flexi-u-content { 
    padding: 20px; 
    flex-grow: 1; 
    display:flex; 
    flex-direction:column; 
}
.flexi-u-title { 
    font-size: 1.2rem; 
    font-weight: 600; 
    color: #333; 
    margin: 0 0 10px 0; 
    line-height: 1.3; 
}
.flexi-u-desc { 
    font-size: 0.95rem; 
    color: #666; 
    margin-bottom: 15px; 
    flex-grow:1; 
    line-height: 1.5; 
}
.flexi-u-meta { 
    display: inline-block; 
    background: #e3f2fd; 
    color: #1976d2; 
    padding: 4px 10px; 
    border-radius: 4px; 
    font-size: 0.8rem; 
    font-weight: 600; 
    align-self: flex-start; 
}
.flexi-debug-title { 
    background: #ffc107; 
    color: #000; 
    padding: 6px 12px; 
    font-weight: bold; 
    display: inline-block; 
    border-radius: 4px; 
    margin-bottom: 10px; 
    font-family: sans-serif; 
    font-size: 12px; 
}
.flexi-debug-box { 
    background: #1e1e1e; 
    color: #4af626; 
    padding: 15px; 
    border-radius: 6px; 
    font-family: monospace; 
    max-height: 400px; 
    overflow-y: auto; 
    font-size: 13px; 
    margin-bottom: 20px; 
}
.flexi-error-box { 
    padding: 15px; 
    background: #f8d7da; 
    color: #721c24; 
    border: 1px solid #f5c6cb; 
    border-radius: 4px; 
}