/* Stili per il widget e lo shortcode EduNews24 Latest News */

.edunews24-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    margin: 0 0 20px;
    padding: 0;
    max-width: 100%;
}

.edunews24-title {
    font-size: 1.2em;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #0073aa;
    color: #23282d;
}

.edunews24-news-list {
    margin: 0;
    padding: 0;
}

.edunews24-news-item {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.edunews24-news-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.edunews24-news-image {
    flex: 0 0 80px;
    margin-right: 15px;
}

.edunews24-news-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.edunews24-news-content {
    flex: 1;
}

.edunews24-news-title {
    font-size: 1em;
    margin: 0 0 5px;
    line-height: 1.3;
}

.edunews24-news-title a {
    color: #0073aa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.edunews24-news-title a:hover {
    color: #00a0d2;
    text-decoration: underline;
}

.edunews24-news-date {
    font-size: 0.8em;
    color: #72777c;
    margin-bottom: 5px;
}

.edunews24-news-excerpt {
    font-size: 0.9em;
    color: #444;
    line-height: 1.4;
    margin-top: 5px;
}

/* Stile responsive */
@media (max-width: 480px) {
    .edunews24-news-item {
        flex-direction: column;
    }
    
    .edunews24-news-image {
        margin-right: 0;
        margin-bottom: 10px;
        flex: 0 0 100%;
    }
    
    .edunews24-news-image img {
        max-width: 100%;
    }
}
