.image-container {
    width: 100%;
    margin-bottom: 16px;
    position: relative;
}

.image-layer {
    content: '';
    display: block;
    position: absolute;
    height: 100%;
    width: 100%;
    bottom: 0;
    overflow: hidden;
    transition: height 0.5s ease-out;
    border: 1px solid #ccc;
}

.image-container:after {
    content: "";
    display: block;
}
#heading-page.image-container:after{
    min-height: 80vh;
}
#post-related .image-container:after{
    min-height: clamp(250px, 80vh, 300px);
}
.article-info {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 32px 16px;
    color: #FFF;
    width: 100%;
    font-weight: 600;
    display: block;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5));
    overflow: hidden;
}
.article-info>.page-parent a{color: #FFF;}
.article-desc {
    max-height: 0;
    opacity: 0;
    display: block;
    transition:
        max-height 0.5s ease,
        opacity 0.3s ease;
    overflow: hidden;
}

.image-container:hover .article-info .article-desc {
    max-height: 200px;
    opacity: 1;
}

.article-categories-tag {
    font-size: 10px;
    font-weight: 400;
    line-height: 1em;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: inline-block;
    padding: 8px 8px;
    background-color: var(--color-secondary);
}

.article-title {
    color: #FFF;
    font-weight: 500;
    font-size: 18px;
    font-family: var(--headingfont);
}
