/* Specific styles for the all_recipes page */

/* Override the content width for this page only */
/* Changed .recipe-content to .content-wrapper .all-recipes-content to be more specific */
.content-wrapper.all-recipes-content {
    max-width: 1200px; /* Override base.html's 800px */
    /* padding-top, margin, padding-left, padding-right are already set by .content-wrapper,
       but you can re-declare them here if you need to override for *this specific layout* */
    padding-top: 100px; /* Keep this if you need a specific top padding for this wider layout */
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.recipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.recipe-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.recipe-card:hover {
    transform: translateY(-5px);
}

.recipe-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.recipe-link {
    display: block;
    padding: 15px;
    text-align: center;
    color: #d35400;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.1rem;
}

.recipe-title {
    color: #4a2c2a; /* Changed to match header h1 color for consistency */
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem; /* Make it more prominent */
}