/* ====================================================
   animation fade in on title and description in header
   ==================================================== */
.featured-header-content {
    opacity: 0;
    animation: fadeIn 1.5s ease-in-out forwards;
    font-family: var(--font-family-featured-header-title);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px); /* Optional: adds slight upward movement */
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading Indicator */
.widget .loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid var(--loading-spinner-track);
    border-radius: 50%;
    border-top-color: var(--loading-spinner);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.entry-content {
    animation: fadeIn 0.5s ease-in;
    font-family: var(--font-family-entry-content);
}