.news-list {
    min-height: 12rem;
}

.news-list-status {
    align-items: center;
    color: #4b5563;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    justify-content: center;
    min-height: 12rem;
    padding: 2rem 1.25rem;
    text-align: center;
    width: 100%;
}

.news-list-status[hidden] {
    display: none !important;
}

.news-list-status__spinner {
    animation: news-list-spin 0.8s linear infinite;
    border: 3px solid #d8e6eb;
    border-radius: 50%;
    border-top-color: #2c9fa5;
    height: 2rem;
    width: 2rem;
}

.news-list-status:not(.news-list-status--loading) .news-list-status__spinner {
    display: none;
}

.news-list-status--error {
    color: #8c2f39;
}

.news-list-retry {
    background: #2c9fa5;
    border: 1px solid #2c9fa5;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    font: inherit;
    padding: 0.55rem 1.1rem;
}

.news-list-retry:hover,
.news-list-retry:focus {
    background: #247f84;
    border-color: #247f84;
}

@keyframes news-list-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .news-list-status__spinner {
        animation: none;
    }
}
