
    
  
/* Elenco download: stessi elementi grafici delle categorie galleria_bootstrap. */
.download-list-page { --download-list-accent: #6366f1; }

.download-list-breadcrumb {
    font-size: .83rem;
    --bs-breadcrumb-divider: '›';
}
.download-list-breadcrumb a {
    color: var(--bs-secondary-color);
    text-decoration: none;
}
.download-list-breadcrumb a:hover { color: var(--download-list-accent); }

.download-list-page-title {
    font-size: clamp(1.55rem, 2.5vw, 1.95rem);
    font-weight: 700;
    letter-spacing: -.035em;
}
.download-list-heading p { font-size: .89rem; }

.download-list-item {
    overflow: hidden;
    border: 1px solid var(--bs-border-color);
    border-radius: 12px;
    background: var(--bs-body-bg);
    color: var(--bs-body-color);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.download-list-item:hover {
    border-color: rgba(99, 102, 241, .45);
    box-shadow: 0 5px 20px rgba(0, 0, 0, .06);
}
/* La copertina ritaglia lo zoom entro i bordi della card */
.download-list-cover {
    background: var(--bs-tertiary-bg);
    overflow: hidden;
}
.download-list-cover img {
    display: block;
    min-height: 175px;
    aspect-ratio: 1;
    object-fit: cover;
    transition: transform .45s ease;
    transform: scale(1);
    transform-origin: center center;
}

/* L'immagine si anima al passaggio su tutta la card */
@media (hover: hover) and (pointer: fine) {
    .download-list-item:hover .download-list-cover .download-list-image {
        transform: scale(1.08);
    }
}
.download-list-placeholder {
    min-height: 175px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-secondary-color);
    font-size: 2.4rem;
}
.download-list-item .card-body { padding: 17px 18px; }
.download-list-title {
    color: var(--bs-heading-color);
    font-size: 1.02rem;
    line-height: 1.35;
    font-weight: 650;
    overflow-wrap: anywhere;
}
.download-list-description {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    font-size: .83rem;
    line-height: 1.5;
}
.download-list-button {
    background-color: var(--download-list-accent);
    border-color: var(--download-list-accent);
    border-radius: 8px;
    font-size: .8rem;
    padding: 7px 13px;
}
.download-list-button:hover { background-color: #4f46e5; border-color: #4f46e5; }
.download-list-button:focus-visible { outline: 2px solid var(--download-list-accent); outline-offset: 3px; }

@media (max-width: 575.98px) {
    .download-list-cover img { min-height: 0; aspect-ratio: 16 / 9; }
    .download-list-placeholder { min-height: 105px; }
    .download-list-item .card-body { padding: 15px 16px; }
    .download-list-description { -webkit-line-clamp: 4; }
}
@media (prefers-reduced-motion: reduce) {
    .download-list-item,
    .download-list-cover .download-list-image { transition: none; }
    .download-list-item:hover .download-list-cover .download-list-image { transform: none; }
}


/* Navigazione tra categorie download: stessa logica delle gallerie. */
.download-list-page .download-categories-strip {
    width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}
.download-list-page .download-categories-strip-inner {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    width: max-content;
    min-width: 100%;
    padding: 2px 0 8px;
}
.download-list-page .download-categories-strip-item {
    display: inline-block;
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 7px 12px;
    border-radius: 8px;
    color: var(--bs-body-color);
    background: var(--bs-tertiary-bg);
    font-size: .82rem;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
}
.download-list-page .download-categories-strip-item:hover {
    color: var(--download-list-accent);
}
.download-list-page .download-categories-strip-item.is-current {
    color: #fff;
    background: var(--download-list-accent);
}
.download-list-page .download-categories-strip-item:focus-visible {
    outline: 2px solid var(--download-list-accent);
    outline-offset: 2px;
}
