/**
 * WordPress News CSS for Apio Theme
 */

 .item-content {
    img {
        object-fit: cover;
    }
 }

.loading-indicator {
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 14px;
    background: #f9f9f9;
    border-radius: 4px;
    margin: 10px 0;
}

.loading-indicator:before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #ddd;
    border-top: 2px solid #0073aa;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Smooth transitions for category filtering */
.theme-items {
    transition: opacity 0.3s ease;
}

.theme-items.loading {
    opacity: 0.6;
}