.type-downloads .download__content a {
    transition: all 0.3s ease;
    display: inline-block;
}

.type-downloads .download__content a:hover,
.type-downloads .download__content a:active,
.type-downloads .download__content a:focus {
    text-decoration: none;
}

.type-downloads:not(.view-list) .download__content a:hover .download-icon,
.type-downloads:not(.view-list) .download__content a:active .download-icon,
.type-downloads:not(.view-list) .download__content a:focus .download-icon {
    background-color: var(--theme--color--background);
    color: var(--theme--color--primary);
}

.type-downloads.view-teaser .download__content_file,
.type-downloads.view-image .download__content_file {
    position: relative;
    margin-bottom: 1em;
    max-width: 220px;
    display: flex;
    /* margin-left: auto;
    margin-right: auto; */
}

.type-downloads.view-teaser .download__content_file .download-cover {
    box-shadow: var(--theme--card--box-shadow);
}

.type-downloads .download__content_title {
    font-family: var(--theme--font-family--secondary);
    font-weight: 500;
    font-size: var(--theme--font-size--normal);
}

.type-downloads .download__content_filesize  {
    font-size: var(--theme--font-size--small);
}

.type-downloads:not(.view-list) .download__content_file .download-icon {
    height: 44px;
    width: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
    position: absolute;
    right: -20px;
    top: 75%;
    transition: all 0.3s ease;
    background-color: var(--theme--color--primary);
    color: var(--theme--color--background);
    border: 1px solid var(--theme--color--primary);
}

/* no-image */

.type-downloads.view-noimage .download__content_file {
    padding-bottom: var(--theme--gap--small);   
}

.type-downloads.view-noimage .download__content_file .download-icon {
    position: relative;
    margin: 0 auto;
    right: 0;
    top: 0;
}

/* list */
.type-downloads.view-list .download__content a {
    display: flex;
    gap: var(--theme--gap--small);
    color: var(--theme--color--background);
    background: var(--theme--color--thema);
    align-items: center;
    padding: 12px 20px 12px 20px;
    border-radius: var(--theme--card--border-radius);
}

body:not(.single-themen) .type-downloads.view-list .download__content a {
    background: var(--theme--color--primary);
}

.type-downloads.view-list .download__content_filesize {
    width: 120px;
}

.type-downloads.view-list .download__content_file {
    margin-left: auto;
}

.is-post-type-downloads .wp-block-archive__items {
    gap: 10px !important;
}
