.blog-item {
    height: 380px;
    box-shadow: 0 3px 5px 0 rgba(0,0,0,0.2);
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    background-color: #cccccc;
}

.item-content > p {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
    height: 0;
    padding: 0 20px;
    margin: 0;
    color: white !important;
    background-color: rgba(0, 0, 0, 0.9);
    transition: all 370ms ease;
    transform: translateY(100%);
    box-sizing: border-box;
    width: 100%;
    z-index: 3; 
}

.item-content > p:first-of-type {
    position: relative !important;
    opacity: 1 !important;
    height: auto !important;
    transform: none !important;
    color: inherit !important;
    background-color: transparent !important;
    padding: 10px 0 !important;
    z-index: 1000 !important;
}

.item-content > p a {
    color: #ffffff !important;
}

.blog-item:hover .item-content > p {
    opacity: 1;
    height: 54%;
    padding: 20px;
    transform: translateY(0);
    background-color: rgba(0, 0, 0, 0.9);
    color: #ffffff !important;
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.blog-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: filter 370ms ease;
}

.blog-item:hover .blog-image {
    filter: brightness(0.7);
}

.item-content {
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hover-reveal-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.9);
    color: #fff;
    height: 0;
    overflow: hidden;
    padding: 0 20px;
    opacity: 0;
    transition: all 400ms ease;
    z-index: 3;
}

.blog-item:hover .hover-reveal-body {
    height: 54%;
    padding: 20px;
    opacity: 1;
}

.hover-reveal-body a {
    text-decoration: underline;
    color: #fff !important;
}

.blog-category {
    color: #31708f;
    background-color: #d9edf7;
    border-color: #bce8f1;
    padding: 1px;
    border: 1px solid transparent;
    border-radius: 4px;
    text-decoration: none;
    line-height: 2;
    margin: 2px;
}