/* 
Theme Name: acooknamedmatt
Description: Custom WordPress theme for food blog
Version: 1.0
*/

/* 1️⃣ Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #333;
}

/* 2️⃣ Header Styles */
header {
    background-color: #f8f8f8;
    padding: 20px;
    text-align: center;
}

/* 3️⃣ Footer Styles */
footer {
    background-color: #222;
    color: white;
    text-align: center;
    padding: 20px;
}

/* 4️⃣ Responsive Styles */
@media (max-width: 768px) {
    header {
        padding: 10px;
    }

    /* Global mobile styling for all recipe cards to match archive view */
    .recipe-grid {
        grid-template-columns: 1fr !important;
        gap: 24px;
        padding: 0 15px;
    }

    .recipe-card {
        background: #fff;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: none;
        transition: all 0.3s ease;
        position: relative;
        width: 100%;
        max-width: 100%;
    }

    .recipe-card:hover {
        transform: translateY(-4px);
        box-shadow: none;
    }

    .recipe-card a,
    .recipe-link {
        text-decoration: none;
        color: inherit;
        display: block;
        height: 100%;
        position: relative;
    }

    .recipe-image {
        width: 100%;
        height: 200px !important;
        overflow: hidden;
        position: relative;
        border-radius: 12px;
    }

    .recipe-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
        display: block;
    }

    .recipe-card:hover .recipe-image img {
        transform: scale(1.05);
    }

    .recipe-content {
        padding: 16px;
        font-family: 'Roboto', sans-serif;
        text-align: center;
        position: relative;
        color: #333;
    }

    .recipe-content h2,
    .recipe-content h3 {
        font-family: 'Roboto', sans-serif !important;
        text-align: center;
        font-size: 1.1em;
        color: #333333;
        margin: 0;
        font-weight: 600;
        line-height: 1.3;
        letter-spacing: -0.01em;
        text-transform: uppercase;
    }
}
