.eema-project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    width: 100%;
}

.eema-project-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 18px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.eema-project-image-link {
    display: block;
    overflow: hidden;
}

.eema-project-image {
    display: block;
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.eema-project-content {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.eema-project-title {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.25;
}

.eema-project-title a {
    text-decoration: none;
    color: inherit;
}

.eema-project-excerpt {
    margin-bottom: 20px;
    line-height: 1.6;
}

.eema-project-view-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    margin-top: auto;
    padding: 12px 22px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    background: #005b7a;
    color: #fff;
}

.eema-project-view-button:hover {
    color: #fff;
    opacity: .9;
}

.eema-no-projects {
    margin: 0;
}

@media (max-width: 1024px) {
    .eema-project-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .eema-project-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .eema-project-image {
        height: 210px;
    }
}
