.projects__grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    width: 100%;
}

.projects__grid-article {
    border: 4px solid var(--black);
    display: block;
    width: 100%;
    border-radius: 10px;
}

.projects__grid-article-link {
    display: flex;
    filter: grayscale(100%);
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    width: 100%;
}

.projects__grid-article-link img {
    border-radius: 5px 5px 0 0;
}

.projects__grid-article-link:hover {
    filter: none;
}

.projects__grid-article-link:hover .projects__grid-article-text {
    background: rgb(42,40,45);
    color: var(--white);
}

.projects__grid-article-draft {
    position: absolute;
    background: red;
    padding: 0.5rem;
    border: 4px solid var(--black);
    z-index: 50;
}

.projects__grid-article-text {
    display: flex;
    justify-content: center;
    margin-top: auto;
    padding: 0.5rem;
    font-size: 1rem;
}

.project__content {
    margin-bottom: 1rem;
}

.project__heading {
    border: 4px solid var(--black);
    box-shadow: 8px 8px 0 var(--black);
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
    width: calc(100% - 8px);
    border-radius: 15px;
}

.project__heading-date {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;
    padding: 0.5rem 0;
}

.project__heading-url {
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: underline;
}


.project__image {
    border-radius: 10px 10px 0 0;
}

@media (min-width: 640px) {
    .project__heading {
        flex-direction: row;
    }

    .project__image {
        max-width: 300px;
        border-radius: 10px 0 0 10px;
    }
}

.project__heading-inner {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.project__nav-list {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.project__nav-list-item {
    font-size: 0.8rem;
    line-height: 0.8rem;
    border-bottom: 1px solid var(--black);
}

@media (max-width: 640px) {
    .project__nav-list-item {
        font-size: 0.7rem;
    }
}

.project__nav-list-item-active {
    border-bottom: 2px solid var(--blue);
}

.project__nav-list-item-active a {
    color: var(--blue);
}

.project__nav-list-item:hover {
    border-bottom: 2px solid var(--grey);
}

.tool_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: 1rem 0;
    margin-top: auto;
}

.tool_tag {
    border: 1px solid var(--black);
    padding: 5px;
    font-size: 0.675rem;
    padding: 0 0.5rem;
    color: var(--black)
}
