.articles-table-header {
    padding: 0 var(--padding);
    border-top: 1px solid #000;
}

.articles-table-header-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
}

.articles-table-header a,
.articles-table-header span {
    position: relative;
    padding: 10px 0;
    display: inline-block;
}
.articles-table-header-cell.active {
    pointer-events: none;
}
.articles-table-header-cell a:after {
    content: '';
    display: block;
    width: 100%;
    transform: scale(0, 1);
    height: 5px;
    background-color: #000;
    position: absolute;
    bottom: 0;
    left: 0;
}
.articles-table-header-cell.active a:after {
    transform: scale(1, 1);
    transition: transform 300ms;
}
.articles-table {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.articles-table-row {
    display: flex;
    flex-direction: column;
}
.articles-table-row.page-content {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: var(--content-gap);
    padding-bottom: var(--content-gap);
    border-top: 1px solid #bbb;
}
.articles-table-row.page-content:first-of-type {
    border-top: none;
}
.articles-table-row.page-content:last-of-type {
    border-bottom: 1px solid #000;
}
.articles-table-cell[data-label="Date"] {
    margin-bottom: 10px;
}
.articles-table-cell[data-label="Author"] {
    font-weight: 700;
}
.articles-table-cell[data-label="Article"]{
    margin-bottom: 10px;
}
.articles-table-cell[data-label="Article"] a {
    text-decoration: none;
}
.articles-table-cell[data-label="Bio"],
.articles-table-cell[data-label="Dek"]{
    font-size: 13px;
}
.articles-table-cell::before {
    display: none;
}
.articles-table-row.page-content.author-repeat,
.articles-table-row.author-repeat {
    border-top: none;
    padding-top: 0px;
}
.articles-table-row.author-repeat .articles-table-cell[data-label="Author"],
.articles-table-row.author-repeat .articles-table-cell[data-label="Bio"] {
    opacity: 0;
    height: 0;
    overflow: hidden;
}
.articles-table-header-cell[data-label="Bio"] {
    opacity: 0;
}
.page-body .articles-table-cell[data-label="Dek"] p {
    margin-top: 0px;
    margin-bottom: 0px;
}
@media screen and (min-width: 768px){
    .articles-table-header a,
    .articles-table-header span{
        padding-top: 15px;
        padding-bottom: 15px;
    }
    .articles-table-header-row,
    .articles-table-row {
        display: flex;
        flex-direction: row;
        gap: var(--padding);
        
    }

    .articles-table-header-cell {
        flex: 1;
    }
    .articles-table-row.page-content {
        padding-top: 15px;
        padding-bottom: 15px;
    }
    .articles-table-row {
        margin-bottom: 0;
    }

    .articles-table-cell {
        flex: 1;
    }
    .articles-table-cell[data-label="Date"],
    .articles-table-cell[data-label="Article"] {
        margin-bottom: 0;
    }
    .articles-table-cell[data-label="Date"],
    .articles-table-header-cell[data-label="Date"]  {
        flex: 0 0 90px;
    }
    .articles-table-cell[data-label="Author"],
    .articles-table-header-cell[data-label="Author"]  {
        flex: 0 0 120px;
    }
    .articles-table-header-cell[data-label="Bio"]  {
        opacity: 1;
    }
}

@media screen and (min-width: 1024px){
    .articles-table-cell[data-label="Bio"],
    .articles-table-cell[data-label="Dek"]{
        font-size: 15px;
    }
}

@media screen and (min-width: 1200px){
    .articles-table-cell[data-label="Bio"],
    .articles-table-cell[data-label="Dek"]{
        font-size: 17px;
    }
    .articles-table-cell[data-label="Article"],
    .articles-table-header-cell[data-label="Article"]{
        flex: 2;
    }
    .articles-table-cell[data-label="Bio"],
    .articles-table-header-cell[data-label="Bio"],
    .articles-table-cell[data-label="Dek"],
    .articles-table-header-cell[data-label="Dek"]{
        flex: 3;
    }
}

@media (hover:hover) {
    .articles-table-header-cell:not(.active) a:hover {
        opacity: 0.5;
    }
}