@charset "utf-8";

.download-categories {
    padding: 16px 10px 10px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.download-categories::-webkit-scrollbar { display: none; }
.download-categories__list { display: flex; gap: 8px; width: max-content; min-width: 100%; }
.download-categories__item { flex: 0 0 auto; }
.download-categories__link {
    display: block;
    min-width: 72px;
    padding: 8px 12px;
    border: 1px solid #e4e7ec;
    border-radius: 6px;
    background: #f8fafc;
    color: #475467;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    box-sizing: border-box;
}
.download-categories__link:hover,
.download-categories__link.is-active { border-color: #59c301; background: #59c301; color: #fff; }
.download-categories__link:focus-visible,
.download-card__action:focus-visible,
.download-list__more:focus-visible { outline: 2px solid #358900; outline-offset: 2px; }

.download-list-page { padding-bottom: 20px; background: #fff; }
.download-list { width: 100%; }
.download-list__items { border-top: 1px solid #eaecf0; }
.download-card {
    display: flex;
    align-items: center;
    min-height: 84px;
    padding: 12px 74px 12px 12px;
    border-bottom: 1px solid #eaecf0;
    position: relative;
    box-sizing: border-box;
}
.download-card__cover { flex: 0 0 56px; width: 56px; height: 56px; margin-right: 12px; overflow: hidden; border-radius: 12px; background: #f2f4f7; }
.download-card__cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.download-card__content { min-width: 0; color: inherit; }
.download-card__title { display: block; overflow: hidden; color: #1d2939; font-size: 15px; line-height: 22px; text-overflow: ellipsis; white-space: nowrap; }
.download-card__category { display: block; overflow: hidden; color: #f79009; font-size: 12px; line-height: 18px; text-overflow: ellipsis; white-space: nowrap; }
.download-card__date { display: block; color: #98a2b3; font-size: 12px; line-height: 18px; }
.download-card__action { position: absolute; right: 12px; top: 50%; min-width: 48px; padding: 4px 8px; border: 1px solid #59c301; border-radius: 5px; color: #358900; font-size: 13px; line-height: 20px; text-align: center; transform: translateY(-50%); box-sizing: border-box; }
.download-card__action:hover { background: #59c301; color: #fff; }
.download-list__more { display: block; width: calc(100% - 24px); min-height: 42px; margin: 14px 12px 0; border: 0; border-radius: 6px; background: #f2f4f7; color: #475467; font: inherit; cursor: pointer; }
.download-list__more:hover { background: #e4e7ec; }
.download-list__more.is-loading { cursor: progress; opacity: .72; }
