.post-grid {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
}

.post-item {
    width: calc(100% / 3 - 10px);
    height: calc((min(1280px,96vw)/4 - 10px) * 1.25);
    flex-shrink: 1;
    flex-grow: 0;
    margin: 5px;
    position: relative;
    border-radius: 5px;
    border: 1px solid #fff;
    max-height: 50vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgb(0 0 0 / 10%);
    transition: all 300ms ease-in;
    cursor: none;
}

.post-item a {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.post-item > a > div:last-of-type {
    background-color: rgba(255,255,255,.9);
    color: #222;
    position: absolute;
    width: 100%;
    left: 0%;
    bottom: 0;
    max-height: calc(23px * 4);
    overflow: hidden;
    transition: all 500ms ease-out;
    box-shadow: 0 -5px 10px rgba(0,0,0,.8);
}

.post-item:hover {
    box-shadow: 0 0 1px, 0 1px 10px rgb(0 0 0 / 60%);
    /* transform: scale(1.05); */
    z-index: 100;
    transition: all 300ms ease-in-out;
}

.post-item:hover > a > div:last-of-type {
    width: 100%;
    left: 0%;
    max-height: calc(100% + 20px);
    transition: all 500ms ease-in;
}

.post-item:hover .post-image {
    margin: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
}

.post-item .post-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    border-radius: 5px;
    transition: all 200ms ease-in-out;
    flex-shrink: 1;
    flex-grow: 0;
    position: absolute;
    z-index: 0;
}

.post-item .post-image:before {
    content: "";
    display: block;
    padding-top: 100%;
}

.post-item .post-title {
    width: 100%;
    padding: 0 15px;
    font-size: 21px;
    line-height: 22px;
    min-height: calc(23px * 4);
    font-weight: bolder;
    font-family: 'Quicksand', sans-serif;
    text-align: center;
    display: grid;
    align-items: center;
}

.post-item .post-subtitle {
    padding: 15px;
    padding-bottom: 20px;
    font-size: 14px;
    font-weight: bold;
    font-family: 'Quicksand', sans-serif;
    padding-top: 0;
    height: 100%;
}

.post-item.more {
    align-items: center;
    justify-content: center;
    border: none;
    box-shadow: none;
    height: auto;
    align-self: flex-end;
    font-size: 6vmin;
    width: 100%;
    margin-top: 20px;
}

.post-item.more > a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    text-decoration: none;
    color: var(--color-1);
    text-align: right;
    text-shadow: 2px 2px 1px rgb(0 0 0 / 10%);
    padding: 0;
    font-weight: 100;
    font-family: 'Quicksand', sans-serif;
    transition: all 300ms;
    opacity: .8;
}

.post-item.more > a:after {
    margin: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    content: '\F037B';
    font-family: "Material Design Icons";
    transition: all 200ms;
}

.post-item.more > a span {
    font-size: 4vmin;
    display: block;
}
.post-item.more > a span > span {
    margin-top: -2vmin;
    font-size: 6vmin;
    display: block;
}


.italic {
    font-family: SaolDisplay, serif;
    font-style: italic;
}

.post-item.more > a:hover {
    opacity: 1;
    transform: translate(-2px, -2px);
    text-shadow: 5px 5px 5px rgb(0 0 0 / 10%);
    transition: all 300ms;
}

.persons-grid {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
}

.person-item {
    flex: 0 1 31.3%;
    margin: 0;
    position: relative;
    border-radius: 5px;
    border: 2px solid #fff;
    background-color: #fff;
    max-height: 51.7vh;
    display: flex;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgb(0 0 0 / 10%);
    transition: all 300ms ease-in;
    cursor: none;
}

.person-item .person-image {
    padding-left: 9vw;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    border-radius: 5px;
    max-height: 400px;
    transition: all 100ms ease-in;
    flex-shrink: 0;
    flex-grow: 0;
}

.person-item .person-image:before {
    content: "";
    display: block;
    padding-top: 100%;
}

.person-item .person-title {
    padding: 15px;
    padding-bottom: 0;
    font-size: max(1.5vw, 25px);
    font-weight: bold;
    font-family: 'Quicksand', serif;
    background-color: #fff;
    text-align: left;
    width: 100%;
    white-space: pre-wrap;
    text-overflow: ellipsis;
}

.person-item .person-subtitle {
    padding: 0 15px;
    font-size: max(1.2vw, 20px);
    font-weight: normal;
    font-family: 'Quicksand', sans-serif;
    background-color: #fff;
    color: var(--color-1);
}

.person-item .person-details {
    padding: 15px;
    font-size: max(0.8vw, 14px);
    font-weight: normal;
    font-family: 'Quicksand', sans-serif;
    background-color: #fff;
    height: 100%;
    display: flex;
    align-items: flex-start;
}

@media screen and (max-width: 1024px) {
    .person-item {
        flex-direction: column;
    }

    .person-item .person-image {
        padding-top: 8vw;
        width: 100%;
        height: auto;
    }
}

@media screen and (max-width: 900px) {
    .person-item {
        flex-direction: row;
    }

    .person-item .person-image {
        padding-left: 20vh;
        height: 100%;
        width: auto;
    }

    .post-item {
        width: calc((100% / 1) - 10px);
        height: calc((90vw / 1) - 10px);
    }

    .post-item > div:last-of-type, .post-item:hover > div:last-of-type {
        width: 100%;
        left: 0%;
        max-height: calc((80vw - 6px - max(3vw, 15px)*2)/4 - 10px);
    }
}

@media screen and (max-width: 640px) {
    .persons-grid {
        padding: 0;
    }

    .person-item {
        flex: 1 1 98%;
        margin: 1%;
    }
}

@media screen and (max-width: 500px) {
    .person-item {
        margin-left: 0;
        margin-right: 0;
    }

    .person-item .person-image {
        padding-left: 30vw
    }

    .post-item.more > * {
        margin: 0;
    }

    .post-grid {
        padding: 0;
    }

    .post-item {
        width: calc((100vw - 6px - 20px*2)/1 - 10px);
        height: calc((100vw - 6px - 20px*2)/1.4 - 10px);
        margin: 10px 0;
    }

    .post-item > div:last-of-type,.post-item:hover > div:last-of-type {
        width: 100%;
        left: 0%;
        max-height: 70px;
    }

    .post-item .post-title {
        line-height: 22px;
        font-size: 17px;
    }

    .post-item .post-subtitle {
        line-height: 15px;
        font-size: 12px;
    }

    .post-item.more a span {
        display: block;
        font-size: 4vw;
        font-weight: bold;
        text-align: right;
    }

    .post-item.more a span span {
        display: block !important;
        font-size: 7vw;
        font-weight: normal;
        margin-top: -5px;
    }

    .post-item.more > a:after {
        font-size: 50px;
    }
}
