.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.project-img {
    height: 200px;
    background-color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
}

.project-content {
    padding: 25px;
}

.project-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.project-description {
    margin-bottom: 20px;
    opacity: 0.8;
}

.project-features {
    margin-top: 15px;
}

.project-features li {
    margin-bottom: 8px;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
}

.project-features li::before {
    content: "•";
    color: var(--primary);
    margin-right: 8px;
}

.project-highlights {
    margin: 10px 0;
    padding-left: 20px;
    list-style-type: disc;
    color: #1779ba;
    font-size: 0.9rem;
}

.project-highlights li {
    margin-bottom: 5px;
}

.community-favorites {
    margin-top: 0.5rem;
    padding-left: 1.5rem;
    list-style-type: circle;
}

.community-favorites a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.2s;
}

.community-favorites a:hover {
    color: #1d6fa5;
    text-decoration: underline;
}