.post-container {
    display: grid;
    gap: 1em;
    grid-template-columns: repeat(auto-fill, minmax(256px,calc((100% / 2) - 0.5em)));
    color: var(--darkblue);
    padding-bottom: 3em;
}

.post-container a {
    background-color: var(--brokenwhite);
    justify-content: center;
    vertical-align: center;
    -webkit-transition: opacity 0.2s ease-in-out;
    -moz-transition: opacity 0.2s ease-in-out;
    -ms-transition: opacity 0.2s ease-in-out;
    -o-transition: opacity 0.2s ease-in-out;
    transition: opacity 0.2s ease-in-out;
    opacity: 1;
}

.post-container a h3 {
    color: var(--darkblue);
    text-decoration: none;
    font-size: 18px;
    font-family: hatton-variable;
    padding: 14px 20px 10px 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-transform: uppercase;
}

.post-container a img {
    width: 100%;
}

.post-container a:hover {
    opacity: 0.8;
}

.categories-container {
    display: flex;
    align-items: stretch; /* Default */
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1em;
    padding-bottom: 3em;
}

.categories-container li {
    display: block;
    flex: 0 1 auto; /* Default */
    list-style-type: none;
}

.categories-container a {
    text-decoration: none;
    font-size: 1.5em;
}

.tags-container {
    display: flex;
    gap: 1em;
    flex-wrap: wrap;
}

.tags-container a {
    text-decoration: none;
}


@media only screen and (max-width: 600px) {
    .categories-container a {
        font-size: 1.2em;
    }
}

@media only screen and (max-width: 760px) {
	.post-container {
		grid-template-columns: repeat(auto-fill, minmax(256px, 540px))
	}
}