/* ============================================
   index.css - Homepage-specific styles
   ============================================ */

.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
    list-style: none; /* semantic list, no bullets */
    padding-left: 0;
}

.example-card {
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 2px solid #e1e4e8;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.example-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border-color: #4356a8;
}

.example-card h3 {
    color: #4356a8;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.example-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.difficulty {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: bold;
    margin-top: 10px;
}

.difficulty.context {
    background: #d4d9ed;
    color: #155724;
}


.difficulty.beginner {
    background: #d4edda;
    color: #155724;
}

.difficulty.intermediate {
    background: #fff3cd;
    color: #856404;
}

.difficulty.advanced {
    background: #f8d7da;
    color: #721c24;
}
