body {
    margin: 10px;
    padding-left: 0em;
    overflow-x: auto;
}

.numberlist {
    width: auto;
}

.numberlist ol {
    display: flex;
    flex-direction: column;
    gap: 1.0em;
    counter-reset: section;
    list-style: none;
    font: 15px 'Trebuchet MS', 'Lucida Sans';
    padding-left: 0;
    margin-bottom: 4em;
}

.numberlist li {
    position: relative;
    margin: .5em 0 0;
    padding: 0em 1em 0.1em 3.5em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: calc(100% - 20px);
    max-width: calc(100% - 20px);
    box-sizing: border-box;
    border-radius: .5em;
    transition: background-color 0.3s ease;
    z-index: 0;
}

.numberlist li:hover {
    background-color: hsla(203, 100%, 85%, 1);
}

.numberlist li::after {
    content: "";
    position: absolute;
    top: -0.35em;
    bottom: -0.35em;
    left: 0;
    right: 0;
    border-radius: inherit;
    background-color: transparent;
    transition: background-color 0.3s ease;
    z-index: -1;
    pointer-events: none;
}

.numberlist li:hover::after {
    background-color: hsla(203, 100%, 85%, 1);
}

.numberlist .link-group {
    display: inline-flex;
    align-items: center;
    gap: 0.0em;
    max-width: 70%;
    overflow-wrap: break-word;
}

.numberlist .link-group > a {
    display: inline-block;
    width: auto;
    padding: 0 0.4em;
    color: #444;
    text-decoration: none;
    border-radius: .3em;
    transition: background-color 0.3s ease;
}

.numberlist .link-group > a:first-child {
    flex: 1;
}

.numberlist .link-group > a:hover {
    text-decoration: underline;
}

.numberlist .details, .extlist .details {
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 30%;
}

.numberlist .acceptatie_link {
    color: #888;
    text-decoration: none;
    padding: 0;
    background: none;
    width: 60px; /* Vaste breedte */
    flex: none;
}

.numberlist .acceptatie_link:hover {
    text-decoration: underline;
}

.numberlist .moddate {
    width: 80px; /* Vaste breedte voor datum */
    flex: none;
    color: #888;
}

.numberlist .filesize, .extlist .filesize {
    width: 70px; /* Vaste breedte voor bestandsgrootte */
    flex: none;
    color: #888;
    text-align: right; /* Rechts uitlijnen voor getallen */
    margin-right: 15px;
}

.numberlist li::before {
    content: counter(section);
    counter-increment: section;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: #f9e11e;
    height: 2em;
    width: 2em;
    line-height: 2em;
    border: .3em solid #fff;
    text-align: center;
    font-weight: bold;
    border-radius: 2em;
    color: #000000;
    overflow: hidden;
    z-index: 1;
}


h1 {
    color: #164272;
    font-family: 'RijksoverheidSansTextRegular', sans-serif;
    font-size: 1.55em;
}

.extlist {
    width: auto;
}

.extlist ol {
    list-style: none;
    font: 15px 'Trebuchet MS', 'Lucida Sans';
    padding-left: 0;
    margin-bottom: 4em;
}

.extlist li {
    position: relative;
    margin: .5em 0 0;
    padding: 0.6em 1em 0.6em 3.5em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: calc(100% - 20px);
    max-width: calc(100% - 20px);
    box-sizing: border-box;
    border-radius: .5em;
    transition: background-color 0.3s ease;
}

.extlist li:hover {
    background-color: hsla(203, 100%, 85%, 1);
}

.extlist .link-group {
    display: inline-flex;
    align-items: center;
    gap: 0.0em;
    max-width: 70%;
    overflow-wrap: break-word;
}

.extlist .link-group > a {
    display: inline-block;
    width: auto;
    padding: 0 0.4em;
    color: #444;
    text-decoration: none;
    border-radius: .3em;
    transition: background-color 0.3s ease;
}

.extlist .link-group > a:first-child {
    flex: 1;
}

.extlist .link-group > a:hover {
    text-decoration: underline;
}

.numberlist li[data-extension="+"] > a,
.extlist li[data-extension="+"] > a {
    color: #000;
    text-decoration: none;
}

.numberlist li[data-extension="+"] > a:hover,
.extlist li[data-extension="+"] > a:hover {
    text-decoration: underline;
}

.extlist li::before {
    content: attr(data-extension);
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: #f9e11e;
    height: 2em;
    width: 2em;
    line-height: 2em;
    border: .3em solid #fff;
    text-align: center;
    font-weight: regular;
    border-radius: 2em;
    color: #000000;
    overflow: hidden;
}
