/*
 Theme Name:   Finovate Child
 Theme URI:    https://tuosito.it
 Description:  Child theme per Finovate
 Author:       Il Tuo Nome
 Author URI:   https://tuosito.it
 Template:     finovate
 Version:      1.0.0
*/

/* Importa lo stile del tema genitore */
@import url("../finovate/style.css");

/* Qui puoi aggiungere le tue personalizzazioni */

.downloads-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top:50px;
    justify-content: center;
}

.download-box {
    width: calc(33.333% - 20px) !important;
    background: #f7f7f7;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
}

@media (max-width: 768px) {
    .download-box {
        width: 100%;
    }
}

.download-cover {
    width: 100%;
    height: 300px;
    margin-bottom: 10px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
}

.download-cover img {
    width: auto;
    max-width: unset !important;
    height: 300px !important;
}

.download-title {
    font-weight: 600;
    margin-bottom: 10px;
}

.download-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 14px;
    background: #0073aa;
    color: #fff !important;
    border-radius: 4px;
    text-decoration: none;
    transition: background .2s ease;
}

.download-link:hover {
    background: #005f8a;
}

/* Icone basate sulla classe file-EXT */
.download-link:before {
    font-family: "Arial", sans-serif;
    font-weight: bold;
    display: inline-block;
    margin-right: 4px;
}
.download-link.file-pdf:before {
    content: "📄"; /* puoi sostituire con icona svg */
}
.download-link.file-doc:before,
.download-link.file-docx:before {
    content: "📝";
}
.download-link.file-zip:before,
.download-link.file-rar:before {
    content: "🗜️";
}
.download-link.file-jpg:before,
.download-link.file-jpeg:before,
.download-link.file-png:before,
.download-link.file-webp:before {
    content: "🖼️";
}
.download-link:before {
    content: "⬇️";
}