#postListBlock {
    display: flex;
    flex-direction: column;
    margin-top: 30px;
}

#postListBlock .postTitleBlock {
    display: flex;
    flex-direction: row;
    align-items: center;
    max-width: 1000px;
    margin-bottom: 30px;
}

#postListBlock .postTitleBlock .postName {
    font-size: 18px;
    font-weight: 300;
    color: black;
    text-decoration: none;
    border-bottom: 1px solid white;
}

#postListBlock .postTitleBlock .postName:hover {
    border-bottom: 1px solid black;
}

#postListBlock .postTitleBlock .line {
    flex: 1;
    height: 1px;
    background-color: black;
    margin-left: 20px;
    margin-right: 20px;
}

#postListBlock .postTitleBlock .postDate {
    font-weight: 300;
    font-size: 20px;
    color: black;
}

#postListBlock #noArticlesLabel {
    font-weight: 300;
    font-size: 24px;
    color: black;
}

#postListBlock .underline {
    display: none;
}

@media screen and (max-width: 769px) {
    #postListBlock .postTitleBlock {
        justify-content: space-between;
        margin-bottom: 0;
    }
    /* to target last article title occurrence (not the invisible underline, which is actually the last element) */
    #postListBlock div:nth-last-child(2) {
        margin-bottom: 30px;
    }
    #postListBlock .postTitleBlock .postName {
        padding-right: 10px;
    }
    #postListBlock .postTitleBlock .postName:hover {
        border-bottom: inherit;
    }
    #postListBlock .postTitleBlock .line {
        display: none;
    }
    #postListBlock .underline {
        display: block;
        height: 1px;
        background-color: #DBDBDB;
        margin: 20px;
    }
    #postListBlock .underline:last-child {
        display: none;
    }
    
}