/* Item show metadata layout */
body.item.resource.show .article_overview_card .article_metadata,
body.item.resource.show .article_metadata {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    column-gap: 10px;
    row-gap: 4px;
}

body.item.resource.show .article_overview_card .article_metadata > div,
body.item.resource.show .article_metadata > div {
    align-items: center;
    display: inline-flex !important;
    flex: 0 0 auto;
    line-height: 1.25;
    margin: 0 !important;
    min-width: 0;
}

body.item.resource.show .article_overview_card .article_metadata > div i,
body.item.resource.show .article_metadata > div i {
    margin-right: 6px;
}

body.item.resource.show .article_overview_card .article_authors,
body.item.resource.show .article_metadata .article_authors {
    flex: 0 1 auto !important;
}

body.item.resource.show .article_overview_card .article_doi,
body.item.resource.show .article_metadata .article_doi {
    display: block !important;
    flex: 1 1 100% !important;
    margin-right: 0 !important;
    min-width: 0;
    width: 100%;
}

body.item.resource.show .article_overview_card .article_doi .article_doi_value,
body.item.resource.show .article_metadata .article_doi .article_doi_value {
    display: block;
    max-height: calc(1.25em * 2);
    max-width: 100%;
    overflow: hidden;
    overflow-wrap: anywhere;
    white-space: normal;
    word-break: break-all;
}

body.item.resource.show .article_overview_card .article_topics,
body.item.resource.show .article_topics {
    color: inherit;
    line-height: 1.25;
    margin-top: 4px;
    overflow-wrap: anywhere;
    white-space: normal;
    word-break: break-word;
}

/* Item browse metadata layout */
body.item.resource.browse .resource-list .item .article_info {
    align-items: center;
    column-gap: 16px;
    row-gap: 6px;
    margin: 0 0 1.1rem;
}

body.item.resource.browse .resource-list .item .article_info > div {
    align-items: center;
    display: inline-flex !important;
    line-height: 1.25;
    margin: 0 !important;
    max-width: 100%;
    min-width: 0;
}

body.item.resource.browse .resource-list .item .article_info > div i {
    margin-right: 6px;
}

body.item.resource.browse .resource-list .item .article_info > div:not(.publish-date),
body.item.resource.browse .resource-list .item .article_info a {
    overflow-wrap: anywhere;
    white-space: normal;
    word-break: break-word;
}

body.item.resource.browse .resource-list .item .article_info .authors {
    flex-basis: 100%;
}

body.item.resource.browse .resource-list .item .article_info .article_tags {
    display: block !important;
    flex-basis: 100%;
    margin-top: 2px !important;
    overflow-wrap: anywhere;
    white-space: normal;
    word-break: break-word;
}
