/* Filtri archivio migliorati */
.archive-filters {
    background: #fff;
    padding: 1.5rem 2rem 1rem 2rem;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(16,185,129,0.07);
    margin-bottom: 2.5rem;
    display: flex;
    justify-content: center;
}
.filter-form {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    align-items: center;
}
.filter-form select,
.filter-form input[type="number"],
.filter-form input[type="date"] {
    padding: 0.6rem 1.2rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 7px;
    font-size: 1.08rem;
    background: #f9fafb;
    color: #222;
    min-width: 140px;
}
.filter-form button {
    background: linear-gradient(90deg, #10b981, #06b6d4);
    color: #fff;
    border: none;
    padding: 0.6rem 2rem;
    border-radius: 7px;
    font-weight: 700;
    font-size: 1.08rem;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(16,185,129,0.08);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.filter-form button:hover {
    background: linear-gradient(90deg, #059669, #0ea5e9);
    box-shadow: 0 4px 16px rgba(16,185,129,0.13);
}
.filter-form select:before {
    content: '\f107';
    font-family: dashicons;
    margin-right: 0.5rem;
}

/* Griglia cards */
.archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 2.2rem;
    margin-bottom: 2.5rem;
}
.archive-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(16,185,129,0.07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.22s, transform 0.18s;
    position: relative;
    border: 1.5px solid #f0fdf4;
}
.archive-card:hover {
    box-shadow: 0 8px 32px rgba(16,185,129,0.13);
    transform: translateY(-3px) scale(1.012);
    border-color: #10b98133;
}
.archive-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
    background: #f3f4f6;
    overflow: hidden;
    position: relative;
}
.archive-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s;
}
.archive-card:hover .archive-thumb img {
    transform: scale(1.04);
}
.no-thumb {
    width: 100%;
    height: 180px;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
    font-size: 2rem;
}
.archive-info {
    padding: 1.3rem 1.3rem 1.7rem 1.3rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.archive-title {
    font-size: 1.22rem;
    font-weight: 800;
    margin: 0 0 0.6rem 0;
    color: #222;
    line-height: 1.2;
}
.archive-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}
.archive-title a:hover {
    color: #10b981;
}
.archive-meta {
    display: flex;
    gap: 1.3rem;
    font-size: 1.01rem;
    color: #6b7280;
    margin-top: 0.6rem;
    align-items: center;
    flex-wrap: wrap;
}
.meta-date, .meta-price {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.meta-price {
    color: #10b981;
    font-weight: 700;
    font-size: 1.08rem;
}
/* Badge nuovo/offerta */
.archive-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(90deg, #06b6d4, #10b981);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 700;
    padding: 0.32em 1em;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(16,185,129,0.10);
    letter-spacing: 0.5px;
    z-index: 2;
    text-transform: uppercase;
}
.no-results {
    grid-column: 1/-1;
    text-align: center;
    color: #888;
    font-size: 1.2rem;
    padding: 2rem 0;
}
@media (max-width: 600px) {
    .archive-filters {
        padding: 1rem 0.5rem 0.5rem 0.5rem;
    }
    .archive-grid {
        gap: 1.1rem;
    }
    .archive-info {
        padding: 0.9rem 0.9rem 1.1rem 0.9rem;
    }
} 