/* Home-page article cards: image-led with a quiet, readable bottom overlay. */
#cz_40777 .cz_grid_item > div {
    border: 0 !important;
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .14);
}

#cz_40777 .cz_grid_link {
    position: relative;
    display: block;
    overflow: hidden;
    border: 0 !important;
    border-radius: 12px !important;
}

#cz_40777 .cz_grid_link > img {
    display: block;
    width: 100% !important;
    height: 290px !important;
    object-fit: cover;
    transition: transform .35s ease;
}

#cz_40777 .cz_grid_link:hover > img {
    transform: scale(1.035);
}

#cz_40777 .cz_grid_details {
    position: absolute !important;
    inset: 0 !important;
    width: auto !important;
    height: auto !important;
    transform: none !important;
    display: flex !important;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    padding: 54px 20px 18px;
    color: #fff;
    background: linear-gradient(to bottom, transparent 35%, rgba(0, 0, 0, .78) 100%);
}

#cz_40777 .cz_grid_details > * {
    transform: none !important;
    opacity: 1 !important;
}

#cz_40777 .cz_grid_icon {
    display: none !important;
}

#cz_40777 .cz_grid_details h3 {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    margin: 0 !important;
    padding: 0 !important;
    color: #fff !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 18px !important;
    font-weight: 700;
    line-height: 1.55 !important;
    text-align: right;
    white-space: normal !important;
    overflow: visible !important;
    overflow-wrap: anywhere;
    word-break: normal;
}

#cz_40777 .cz_grid_details small,
#cz_40777 .cz_grid_details .cz_post_data,
#cz_40777 .cz_grid_details .cz_data_sub_prefix {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 5px 0 0 !important;
    color: rgba(255, 255, 255, .9) !important;
    font-size: 12px !important;
    font-weight: 400;
}

@media (max-width: 768px) {
    #cz_40777 .cz_grid_link > img { height: 250px !important; }
    #cz_40777 .cz_grid_details { padding: 48px 16px 14px; }
    #cz_40777 .cz_grid_details h3 { font-size: 16px !important; }
}
