/* Responsive Grid */
.recipe-grid-8288a541 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
}

@media (max-width: 1024px) {
    .recipe-grid-8288a541 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .recipe-grid-8288a541 {
        grid-template-columns: 1fr;
    }
}

/* Card Design */
.recipe-card-8288a541 {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.recipe-card-8288a541:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.recipe-link-8288a541 {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* 4:3 Aspect Ratio for Image */
.recipe-image-wrap-8288a541 {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 Aspect ratio */
    overflow: hidden;
}

.recipe-image-wrap-8288a541 img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-bottom: 1px solid #f0f0f0;
}

/* Typography & Layout */
.recipe-content-8288a541 {
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}

.recipe-title-8288a541 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: #111111;
}
