/* Stile per la pagina delle categorie */
.futur-category-page {
    max-width: 1200px;  
    margin: 0 auto;     
    padding: 10px;      
    display: flex;      
    flex-direction: column; 
    align-items: center; 
    justify-content: flex-start; 
}

.futur-category-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 600px;
    width: 100%;
    margin: 10px auto 10px auto;
    border-radius: 35px 10em 10%;
    color: #fff;
    background: linear-gradient(45deg, #1c73df, #3e26ff, #4a90e2);
}
.futur-category-box-content{
    padding: 20px;
}
.futur-category-title {
    padding: 0;
    margin: 10px 50px -10px;
}
a {
    color: inherit;
}

/* Descrizione della categoria */
.futur-category-header p {
    margin: 20px;
    color: #fff;
}

.futur-post-meta {
    font-size: 16px;
    font-weight: bold;
    color: #3e55ff;
    margin: 10px 0;
}

/* Griglia dei risultati */
.futur-category-results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
    gap: 30px 16px;    
    width: 100%; 
    align-items: stretch; 
}

.futur-category-results {
    margin-top: 10px;  
}
@media (min-width: 1024px) {
    .futur-category-results {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Imposta la stessa altezza per i contenitori degli articoli */
.futur-category-results article a {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex; 
    flex-direction: column; 
    justify-content: flex-start;    
    height: 100%; 
}

.futur-category-results .futur-post-thumbnail {
    border-radius: 6px;
    height: 180px; 
}

.futur-category-results .futur-post-thumbnail img {
    width: 100%; 
    height: 100%;
    object-fit: cover; 
    border-radius: 6px;
}

.futur-entry-title, .futur-entry-title a  {
    color: #000000;
    text-decoration: none;
    margin: 6px auto;
}
.futur-entry-summary {
    margin: 6px auto;
}

/* Stile per articoli in hover */
.futur-category-post a:hover {
    background: linear-gradient(45deg, #1c73df, #3e26ff, #4a90e2);
    color: #fff;  
    border-radius: 8px;  
    transition: background-color 0.3s ease, color 0.3s ease; 
}

/* Stile per il titolo e la descrizione durante hover */
.futur-category-post a:hover .futur-entry-title,
.futur-category-post a:hover .futur-entry-title a,
.futur-category-post a:hover .futur-entry-summary {
    color: #fff;  
    transition: color 0.3s ease; 
}

/* Cambia il colore della data (meta) */
.futur-category-post a:hover .futur-post-meta {
    color: #fff; 
}

