.chapter-index {
    display: flex;
    flex-flow: column nowrap;
    gap: 24px;
    margin: 70px 0;
    width: 100%;
}

.chapter-index__title {
    color: var(--color-primary-blue);
    font-family: var(--font-family);
    font-size: 32px;
    font-weight: bold;
    width: 100%;
}

.chapter-index__chapter-title {
    color: var(--color-primary-blue);
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: bold;
    width: 100%;
}

.chapter-index__list {
    display: flex;
    flex-flow: row wrap;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.chapter-index__item {
    align-items: center;
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    gap: 16px;
    width: 100%;
}

.chapter-index__link {
    color: var(--color-neutral-600);
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 400;
    text-decoration: underline;
    transition: all 0.3s ease;
}

.chapter-index__link:hover {
    color: var(--color-primary-orange);
}

.chapter-index__item .a-badge {
    height: auto;
    margin-left: auto;
    white-space: nowrap;
}

.chapter-index__item .chapter-index__download {
    display: inline-flex;
    cursor: pointer;
    flex-flow: column nowrap;
    justify-content: center;
}

.chapter-index__item .chapter-index__download svg {
    height: 18px;
    width: 18px;
}

.chapter-index__item .chapter-index__download svg * {
    transition: all 0.3s ease;
}

.chapter-index__item .chapter-index__download:hover svg * {
    fill: var(--color-primary-orange);
}

@media screen and (max-width: 480px) {
    .chapter-index__item {
        flex-flow: row wrap;
    }

    .chapter-index__item .chapter-index__link {
        width: 100%;
    }

    .chapter-index__item .a-badge {
        margin-left: 0;
    }
}
