﻿.pressBlocks {
    --radius: 22px;
}

.mb-20 {
    margin-bottom: 20px;
}

.news-card {
    position: relative;
    background: var(--light-grey-50);
    border-radius: 0px 25px;
    padding: 12px 14px!important;
    isolation: isolate;
    --ribbon-clearance: 32px;
    padding-top: calc(22px + var(--darkest-grey));
    overflow: hidden;
}

.news-card-date {
    position: absolute;
    top: 8px;
    left: 24px;
    background: var(--darkest-grey);
    color: var(--massage-green);
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    padding: 12px 18px 11px;
    border-radius: 0 24px 24px 0;
    box-shadow: 0 2px 6px rgba(var(--darkest-grey-rgb), .18);
    z-index: 3;
}

.news-card a.card-overlay-link {
    position: absolute;
    inset: 0;
    z-index: 100;
}

.news-card-logo {
    background: #fff;
    border-radius: 0px 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 144px;
    padding: 40px;
}

.pressBlocks .news-card:hover {
    background: var(--light-grey);
}

    .news-card-logo img {
        max-width: 80%;
        height: auto;
    }

.pressBlocks h4.news-card-title {
    font-weight: 700;
    font-size: 20px;
}

.news-card-title a {
    text-decoration: none;
    color: var(--darkest-grey);
}

.pressBlocks .row.news-card-row {
    display: flex;
    align-items: center;
}

.news-card-link {
    text-decoration: none;
    color: var(--dark-grey);
    border-bottom: 2px solid var(--massage-green);
    padding-bottom: 0px;
    font-weight: 500;
}

    .news-card-link:hover,
    .news-card-link:focus {
        color: var(--darkest-grey)
    }

.pressBlocks .news-card::before {
    content: none !important;
}

@media (max-width: 640px) {
    .news-card-logo {
        min-height: 100px;
        padding: 20px 10px 10px 10px;
    }

    .news-card-date {
        top: 6px;
        left: 18px;
        padding: 9px 12px;
    }

    .pressBlocks h4.news-card-title {
        font-size: 16px;
    }

    .news-card-logo img {
        max-width: 100%;
    }
}

.pressBlocks .news-card {
    padding-top: 22px;
    position: relative;
    transition: all .5s ease;
}

.pressBlocks .news-card-date {
    position: absolute;
    top: 0px;
    left: 0px;
    display: inline-block;
    background: var(--darkest-grey);
    color: var(--massage-green);
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    padding: 10px 16px 10px 15px;
    border-radius: 0 0px 10px 0 !important;
    box-shadow: 0 2px 6px rgba(var(--darkest-grey-rgb), .18);
    z-index: 3;
}

.pressBlocks .news-card-logo {
    position: relative;
    z-index: 1;
}

.pressBlocks p.learn-more-btn {
    margin-bottom: 0px;
}

@media (min-width: 992px) and (max-width: 1199px) {
    .news-card-logo {
        border-radius: 0px 15px;
        min-height: 130px;
        padding: 5px;
    }

    .pressBlocks .news-card-date {
        font-weight: 600;
        font-size: 16px;
        padding: 7px 13px 7px 12px;
    }

    .pressBlocks h4.news-card-title {
        font-size: 17px;
        line-height: 23px;
        margin-top: 0px;
    }

    .news-card-link {
        font-size: 16px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .pressBlocks .news-card {
        margin-right: 45px;
    }

    .pressBlocks h4.news-card-title {
        font-size: 18px;
        line-height: 23px;
    }

    .news-card-logo {
        border-radius: 0px 15px;
        min-height: 130px;
        padding: 5px;
    }

    .pressBlocks .news-card-date {
        font-weight: 600;
        font-size: 15px;
        padding: 7px 13px 7px 12px;
    }

    .pressBlocks h4.news-card-title {
        font-size: 16px;
        line-height: 21px;
        margin-top: 0px;
    }

    .news-card-link {
        font-size: 15px;
    }
}

@media (max-width: 767px) {
    .pressBlocks .mobile-hide {
        display: none;
    }

    .pressBlocks .news-card-date {
        font-weight: 600;
        font-size: 15px;
        padding: 7px 13px 7px 12px;
    }

    .pressBlocks h4.news-card-title {
        font-size: 16px;
        line-height: 21px;
        margin-top: 0px;
    }

    .pressBlocks .row.news-card-row {
        align-items: flex-start;
    }

    .news-card-link {
        font-size: 15px;
    }

    .news-card {
        padding: 35px 14px 12px !important;
    }
}
