/* --- ESTILOS PÁGINA DE INICIO --- */

.content-card {
    background: white;
    padding: 40px 60px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #eee;
}

h2 {
    color: var(--secundario);
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
    font-size: 1.8rem;
    margin-top: 0;
}

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

.card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    border: 1px solid #eee;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.card-img {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4em;
}

.img-tarta { background: #fff3cd; }
.img-mar { background: #d1f2fb; }
.img-salsa { background: #e2fbd7; }

.card-info {
    padding: 20px;
    text-align: center;
}

.card-info h3 {
    margin: 0;
    font-size: 1.2em;
    color: var(--secundario);
}

@media (max-width: 768px) {
    .content-card { padding: 30px; }
}