/*********** Table of Contents ***********
    1.0: Main News Article
*****************************************/

.card .menu-content {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

    .card .menu-content::before,
    .card .menu-content::after {
        content: "";
        display: table;
    }

    .card .menu-content::after {
        clear: both;
    }

    .card .menu-content li {
        display: inline-block;
    }

    .card .menu-content a {
        color: #fff;
    }

    .card .menu-content span {
        position: absolute;
        left: 50%;
        top: 0;
        font-size: var(--font-size-body);
        font-weight: 700;
        font-family: "Open Sans";
        transform: translate(-50%, 0);
    }

.card .wrapper {
    background-color: #fff;
    min-height: 100%;
    position: relative;
    overflow: hidden;
}

    .card .wrapper:hover .data {
        transform: translateY(0);
    }

.card .data {
    position: absolute;
    bottom: 0;
    width: 100%;
    transform: translateY(calc(70px + 1em));
    transition: transform 0.3s;
}

    .card .data .content {
        padding: 1em;
        position: relative;
        z-index: 1;
    }

.card .author {
    font-size: var(--font-size-body);
}

.card .title {
    margin-top: 10px;
}

.card .text {
    height: 70px;
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

.card input[type=checkbox] {
    display: none;
}

    .card input[type=checkbox]:checked + .menu-content {
        transform: translateY(-60px);
    }

.article-container {
    min-height: 400px;
    min-width: 100px;
}
    .article-container img {
        filter: brightness(0.5);
    }

    .article-container .wrapper:hover .menu-content span {
        transform: translate(-50%, -10px);
        opacity: 1;
    }

    .article-container .header {
        color: #fff;
        padding: 1em;
    }

        .article-container .header::before,
        .article-container .header::after {
            content: "";
            display: table;
        }

        .article-container .header::after {
            clear: both;
        }

        .article-container .header .date {
            float: left;
            font-size: var(--font-size-body);
        }

    .article-container .menu-content {
        float: right;
    }

        .article-container .menu-content li {
            margin: 0 5px;
            position: relative;
        }

        .article-container .menu-content span {
            transition: all 0.3s;
            opacity: 0;
        }

    .article-container .data {
        color: #fff;
        transform: translateY(calc(70px + 4em));
    }

    .article-container .title a {
        color: #fff;
    }

    .article-container .button {
        display: block;
        width: 100px;
        margin: 2em auto 1em;
        text-align: center;
        font-size: var(--font-size-body);
        color: #fff;
        line-height: 1;
        position: relative;
        font-weight: 700;
    }

        .article-container .button::after {
            content: "→";
            opacity: 0;
            position: absolute;
            right: 0;
            top: 50%;
            transform: translate(0, -50%);
            transition: all 0.3s;
        }

        .article-container .button:hover::after {
            transform: translate(5px, -50%);
            opacity: 1;
        }
