.DocumentDownloadList {
    margin: 0;
    padding: 0;
    list-style: none;
}

.DocumentDownloadList__item {
    display: block;
    border-bottom: 1px solid var(--border-color-light);
}

.DocumentDownloadList__item:last-child {
    border-bottom: none;
}

.DocumentDownloadList__link,
.DocumentDownloadList__link:hover {
    display: block;
    position: relative; /** For correct placement of ::after element (arrow-right) */
    padding: 1em 3em 1em 1em;
    text-decoration: none;
    color: inherit;
}

.DocumentDownloadList__link:hover {
    background-color: #f9f9f9;
}

.DocumentDownloadList__link:hover .DocumentDownloadList__icon {
    filter: grayscale(0);
}

.DocumentDownloadList__link:hover .DocumentDownloadList__title {
    text-decoration: underline;
}

/**
 * Detailed info
 */

.DocumentDownloadList__detailedInfo {
    font-size: .7em;
    color: #888;
}

.DocumentDownloadList__detailedInfoItem + .DocumentDownloadList__detailedInfoItem {
    margin-left: 1em;
}

/**
 * Main info
 */

.DocumentDownloadList__icon {
    display: inline-block;
    margin-right: .5em;
    max-width: 30px;
    vertical-align: text-bottom;
    filter: grayscale(1);
    transition: filter .2s ease-out;
}

.DocumentDownloadList__title .DocumentDownloadList__icon {
    vertical-align: baseline;
}

.DocumentDownloadList__title {
    display: block;
    margin-block: .35em;
    overflow: hidden;
    white-space: normal;
    text-overflow: ellipsis;
    font-size: 1.2em;
    font-weight: 400;
}

.DocumentDownloadList__title:after {
    content: "\2192";
    position: absolute;
    right: 1em;
    color: #ccc;
}

.DocumentDownloadList__link:hover .DocumentDownloadList__title:after {
    color: initial;
}

/**
 * Labels
 */

.DocumentDownloadList__labels {
    font-family: sans-serif;
    font-size: .7em;
    text-transform: uppercase;
}

/**
 * Description
 */

.DocumentDownloadList__description {
    margin-bottom: 0;
}

/**
 * Aside
 */

.aside .DocumentDownloadList:not([data-size="0"]) {
    box-shadow: var(--boxShadow);
    position: relative;
    padding-bottom: 1rem;
}


.aside .DocumentDownloadList:not([data-size="0"])::after {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: auto;
    content: '';
    display: block;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, rgba(126, 53, 85, 1) 0%, rgba(169, 70, 113, 1) 100%);
}

.aside .DocumentDownloadList__link,
.aside .DocumentDownloadList__link:hover {
    padding-left: 1.5em;
}

