/* Archive Case studies  */

.post-card.card-case-studies .post-info p.p {
    font-size: var(--small-size);
    font-weight: 400;
}
.post-card.card-case-studies .post-info p.small {
    font-size: var(--smaller-size);
    font-weight: 200;
}
.post-card.card-case-studies.col-4 .post-info {
    top: calc(180px - (var(--small-size) * 2) - var(--column-gap));
}

@media screen and (max-width:1440px) {
    .post-card.card-case-studies.col-4 .post-info {
        top: calc(140px - (var(--small-size) * 2) - var(--column-gap));
    }
}

@media screen and (max-width:1024px) and (orientation:portrait) {
    .post-card.card-case-studies:not(.card-events) .card-content .post-info {
        top: calc(220px - var(--column-gap) - (var(--small-size) * 2));
    }
}

@media screen and (max-width:520px) {

    .post-card.card-case-studies picture.card-img .overlay {
        display: none;
    }
    .post-card.card-case-studies picture.card-img {
        padding-inline: calc(var(--column-gap) * 1.25);
        padding-block: var(--column-gap);
        background-color: var(--grey-dark);
        display: flex;
        flex-wrap: wrap;
        gap:var(--column-gap);
        height: calc(72px + (var(--column-gap) * 2))!important;
    }
    .post-card.card-case-studies picture.card-img img {
        width: 72px;
        height: 72px;
        min-width: unset;
        min-height: unset;
        border-radius: 60px;
    }
    .post-card.card-case-studies picture.card-img .post-info {
        position: initial;
        width: calc(100% - var(--column-gap) - 72px);
        margin-bottom: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .post-card.card-case-studies picture.card-img .post-info p.p {
        font-size: var(--body-size);
    }
    .post-card.card-case-studies picture.card-img .post-info p.small {
        font-size: var(--small-size);
    }
    
}