/* ============================================================
   PROJECTS.CSS — Cards de proyectos tipo producto
   Grid de tarjetas grandes con imagen, descripcion y acciones
   ============================================================ */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.project-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.project-card.featured {
    flex-direction: column;
}

/* .project-card.featured {
    grid-column: 1 / -1;
    flex-direction: row;
} */

/* .project-media {
    position: relative;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, var(--bg-secondary), #0f1c33);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
} */

.project-media {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 250px; /* o el alto que quieras */
}

.project-media-image {
    width: 146px;
    height: 146px;
    object-fit: contain;
}

.project-card.featured .project-media {
    flex: 1 1 45%;
    border-bottom: none;
    border-right: 1px solid var(--border);
    aspect-ratio: auto;
}

.project-media-icon {
    font-size: 2.6rem;
    color: var(--primary-light);
    opacity: 0.85;
}

.project-body {
    padding: 26px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.project-name {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.project-problem {
    font-size: 0.85rem;
    color: var(--primary-light);
    font-weight: 500;
    margin-bottom: 10px;
}

.project-desc {
    font-size: 0.92rem;
    margin-bottom: 18px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.project-tags span {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
}

.project-actions {
    margin-top: auto;
    display: flex;
    gap: 12px;
}

.project-actions .btn {
    padding: 10px 18px;
    font-size: 0.85rem;
}
