.mediainfo {
    display: flex;
    flex-wrap: wrap;
    font-size: 14px;
    column-gap: 40px;
}

.mediainfo h3 {
    display: block;
    font-family: inherit;
    color: #bbb;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: left;
    margin: 6px 0;
    padding: 0;
}

.mediainfo h4 {
    display: none;
}

.mediainfo dl {
    display: grid;
    grid-template-columns: auto 1fr;
}

.mediainfo dt {
    text-align: right;
    padding-right: 12px;
}

.mediainfo dd {
    margin-left: 0;
}

.mediainfo__filename {
    font-weight: bold;
    padding-bottom: 20px;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    flex-basis: 100%;
}

.mediainfo__filename h3 {
    display: none;
}

.mediainfo__general {
    width: max-content;
    max-width: 100%;
}

.mediainfo__video {
    max-width: max-content;
    max-width: 100%;
}

.mediainfo__audio {
    width: max-content;
    max-width: 100%;
}

.mediainfo__subtitles {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    flex-basis: 100%;
}

.mediainfo__subtitles h3 {
    padding-right: 16px;
}

.mediainfo__subtitles ul {
    display: flex;
    flex-wrap: wrap;
    list-style-type: none;
    gap: 6px;
    margin: 0;
    padding: 0;
}

.mediainfo__encode-settings {
    flex-basis: 100%;
}

.mediainfo__encode-settings pre,
.torrent-mediainfo-dump pre {
    padding: 12px;
    background-color: var(--bbcode-rendered-neutral-muted);
    color: var(--bbcode-rendered-fg-default);
    border-radius: 6px;
    font-size: 12px;
    white-space: pre-wrap;
    word-break: break-word;
    overflow-wrap: anywhere;
}
