/* Documenti Scaricabili - a2216896 */

.ds-a2216896-wrapper {
    width: 100%;
}

.ds-a2216896-header {
    margin-bottom: 40px;
}

.ds-a2216896-title {
    margin: 0 0 8px 0;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
}

.ds-a2216896-subtitle {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
}

/* Grid */
.ds-a2216896-grid {
    display: grid;
    gap: 24px;
}

.ds-a2216896-cols-1 { grid-template-columns: 1fr; }
.ds-a2216896-cols-2 { grid-template-columns: repeat(2, 1fr); }
.ds-a2216896-cols-3 { grid-template-columns: repeat(3, 1fr); }
.ds-a2216896-cols-4 { grid-template-columns: repeat(4, 1fr); }

/* Card */
.ds-a2216896-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 28px 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ds-a2216896-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.ds-a2216896-card:hover::before {
    transform: scaleX(1);
}

.ds-a2216896-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.12);
    transform: translateY(-2px);
}

.ds-a2216896-card-top {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

/* Icon */
.ds-a2216896-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    min-width: 64px;
    border-radius: 12px;
    background-color: #eff6ff;
    color: #3b82f6;
    font-size: 32px;
    transition: all 0.3s ease;
}

.ds-a2216896-card:hover .ds-a2216896-icon {
    background-color: #3b82f6;
    color: #ffffff;
}

.ds-a2216896-card:hover .ds-a2216896-icon svg {
    fill: #ffffff;
}

.ds-a2216896-icon svg {
    width: 32px;
    height: 32px;
    transition: fill 0.3s ease;
}

/* Doc Info */
.ds-a2216896-doc-info {
    flex: 1;
    min-width: 0;
}

.ds-a2216896-doc-title {
    margin: 0 0 6px 0;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
    color: #1f2937;
}

.ds-a2216896-doc-desc {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #6b7280;
}

/* Button */
.ds-a2216896-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: #eff6ff;
    color: #3b82f6;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    width: 100%;
    box-sizing: border-box;
}

.ds-a2216896-btn:hover {
    background-color: #3b82f6;
    color: #ffffff;
}

.ds-a2216896-btn:hover svg {
    stroke: #ffffff;
}

.ds-a2216896-btn svg {
    flex-shrink: 0;
    stroke: currentColor;
    transition: stroke 0.3s ease;
}

/* No File Message */
.ds-a2216896-nofile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: #f9fafb;
    color: #9ca3af;
    font-size: 13px;
    font-weight: 500;
    font-style: italic;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
    border: 1px dashed #d1d5db;
}

.ds-a2216896-nofile svg {
    flex-shrink: 0;
    stroke: #9ca3af;
    width: 16px;
    height: 16px;
}

/* Responsive */
@media (max-width: 1024px) {
    .ds-a2216896-cols-3,
    .ds-a2216896-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .ds-a2216896-cols-2,
    .ds-a2216896-cols-3,
    .ds-a2216896-cols-4 {
        grid-template-columns: 1fr;
    }

    .ds-a2216896-title {
        font-size: 24px;
    }

    .ds-a2216896-card-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .ds-a2216896-doc-info {
        text-align: center;
    }
}
