/* Stili moderni per la pagina Funzionalità con Gutenberg */

/* Layout generale */
.features-page .wp-block-columns {
    margin-bottom: 3rem;
}

/* Effetto glow */
.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    pointer-events: none;
}

/* Stili per le card delle funzionalità */
.feature-card {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Titolo della feature card */
.feature-card h2 {
    font-size: 1.2em;
}

/* Icona della feature */
.feature-card .feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
}

.feature-card .feature-icon i {
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon i {
    transform: scale(1.1);
}

/* Immagine della feature */
.feature-card figure {
    margin: -1.5rem -1.5rem 1.5rem -1.5rem;
    text-align: center;
    height: 200px;
    overflow: hidden;
}

.feature-card figure img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.feature-card:hover figure img {
    transform: scale(1.05);
}

/* Testo della feature */
.feature-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* Stili per il titolo della sezione */
.features-page .feature-section-title {
    margin-bottom: 2.5rem;
    text-align: center;
}

.features-page .feature-section-title h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.features-page .feature-section-title p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Card con sfondo più scuro */
.feature-card.dark {
    background-color: rgba(0, 0, 0, 0.4);
}

/* Card con sfondo sfumato */
.feature-card.gradient {
    background: linear-gradient(145deg, rgba(30, 10, 46, 0.8) 0%, rgba(0, 0, 0, 0.2) 100%);
}

/* Layout per dispositivi mobili */
@media (max-width: 768px) {
    .features-page .wp-block-columns {
        flex-wrap: wrap;
    }
    
    .features-page .wp-block-column {
        flex-basis: 100% !important;
        margin-bottom: 1.5rem;
    }
}