/* CD Fix für Links in Tabelle */
main table.js-dkd-publications-table[id^="dkdPublicationsTable-"] tr:hover td a {
    color: var(--ptb-midnightblue);
}
main table.js-dkd-publications-table tr:not(:has(td[style])):hover :before {
    filter: unset;
}

/* Kopfzeile: nicht umbrechen */
table.js-dkd-publications-table thead th{
    white-space: nowrap;
}

/* Headertext mit … abschneiden */
table.js-dkd-publications-table thead th{
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Feste Spaltenbreiten */
table.js-dkd-publications-table{
    table-layout: fixed;
}
table.js-dkd-publications-table th:nth-child(1){ width: 8rem; } /* DKD-Nummer */
table.js-dkd-publications-table th:nth-child(2){ width: 6rem; } /* Blatt / Teil */
table.js-dkd-publications-table th:nth-child(4){ width: 6rem; } /* DOI */

/* Responsiv Anpassungen */
.table-responsive {
    overflow-x: unset;
    -webkit-overflow-scrolling: touch;
}
table.js-dkd-publications-table{
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}
table.js-dkd-publications-table thead th{
    white-space: nowrap;
}
table.js-dkd-publications-table th,
table.js-dkd-publications-table td{
    vertical-align: top;
}
table.js-dkd-publications-table td:nth-child(3){
    overflow-wrap: anywhere;
    word-break: normal;
}
table.js-dkd-publications-table td:nth-child(4){
    overflow-wrap: anywhere;
    word-break: break-word;
}
@media (max-width: 1050px){
    .table-responsive {
        overflow-x: auto;
    }
    main:not(:has(>*.grid)) table, main:not(:has(>*.grid)) table.contenttable {
        width: unset;
        margin-left: unset;
    }
}
@media (max-width: 576px){
    table.js-dkd-publications-table{
        min-width: 680px;
    }
}