/* Document list for the zivag/downloads content element.
   Replaces the collapsible tiles on Kunden-Service: every document is visible
   at once and one click opens the PDF. Spacing follows .section-accordion so
   the two sections sit together on the same page. */

.section-downloads {
    padding-top: 4vw;
    padding-bottom: 4vw;
}

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

.download-item {
    border-bottom: 1px solid #000;
}

.download-item:first-child {
    border-top: 1px solid #000;
}

.download-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 0;
    color: #000;
    font-weight: 300;
    text-decoration: none;
    transition: color .2s ease-in-out;
}

.download-link:hover,
.download-link:focus {
    color: #e73531;
}

/* The icon carries the brand colour on its own, so it stays red while the
   label is black, and both go red together on hover. */
.download-icon {
    flex: 0 0 auto;
    display: inline-flex;
    color: #e73531;
}

.download-icon svg {
    display: block;
}

.download-label {
    flex: 1 1 auto;
}

@media screen and (max-width: 991.9px) {
    .section-downloads {
        padding-top: 15vw;
        padding-bottom: 15vw;
    }
    .section-downloads.normal,
    .section-downloads.bck-grey-set {
        padding-left: 15px;
        padding-right: 15px;
    }
    .section-downloads h2 {
        -o-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
    .download-link {
        padding: .9rem 0;
        gap: .75rem;
    }
}
