
h1.page-title {
    font-size: 36px;
    font-family: var(--all-round-gothic), serif;
    line-height: 1;
    color: var(--brand-grey);
    text-align: center;
    margin: 20px auto;
}

h1.page-title span {
    font-size: 24px;
}

ul.news-list {
    margin: 0 auto 40px;
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

.post-item {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.post-item > a {
    position: relative;
}

.post-item > a:hover {
    text-decoration: none;
}

.post-item > a:hover .post-item-cta {
    opacity: 1;
}

.post-item-content {
    position: relative;
    /*background-color: var(--color-website-bg);*/
    margin: 0;
    padding: 16px 0;
    /*box-shadow: 0 0 14px 3px #0000002e;*/

    min-height: 180px;
}

.post-item-image {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    aspect-ratio: 1.35;
    overflow: hidden;
    height: 230px;
    /*box-shadow: 0 0 14px 3px #0000002e;*/
}

.post-item-image img {
    object-fit: cover;
}

.post-item > a:hover .img-overlay {
    background-color: rgba(0, 0, 0, 0.3);
}

.post-item-title {
    font: 400 20px/1.4 var(--Lexend);
    position: relative;
    z-index: 3;
    background: var(--green-light-3);
    background: var(--brand-grey);
    width: 90%;
    text-align: center;
    margin: -20px auto 0;
    padding: 6px 12px;
    color: var(--color-website-bg);

    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
}

.date-and-more {
    margin-top: auto;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
}

p.post-item-desc {
    font: 300 18px / 1.5 var(--Lexend);
    color: var(--text-main);

    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
}

.post-date {
    color: var(--brand-grey);
}

.post-item-cta {
    position: relative;
    font: 600 18px / 1.5 var(--Lexend);
    color: var(--brand-grey);
    align-items: center;
    gap: 8px;
    width: max-content;
    /*margin-top: auto;*/

    z-index: 5;
}

.post-item-cta.hover-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    color: var(--color-website-bg);
}

.post-item-cta.hover-center::after {
    background: var(--color-website-bg);
}

.post-item-cta svg {
    height: 16px;
    width: auto;
    margin-top: 2px;
}

.post-item-cta::after {
/*.date-and-more::after {*/
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 2px;
    width: 0;
    background: var(--brand-grey);
    transform-origin: left;
    transition: all 0.5s cubic-bezier(0.4,0,0.2,1);
}

.post-item > a:hover .post-item-cta::after {
/*.post-item > a:hover .date-and-more::after {*/
    width: calc(100%);
}

@media (min-width: 768px) {

    ul.news-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 991px) {
    ul.news-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 70px 3%;
    }

    h1.page-title {
        font-size: 52px;
    }

    h1.page-title span {
        font-size: 32px;
    }
}


