.lego-news-title {
    text-align: center;
    margin: 25px 0 10px;
}

.lego-news-intro {
    max-width: 850px;
    margin: 0 auto 25px;
    text-align: center;
    line-height: 1.6;
}

.lego-feed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
    margin: 25px auto;
    max-width: 1200px;
}

.lego-feed-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,.08);
}

.lego-feed-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
}

.lego-feed-content {
    padding: 16px;
}

.lego-feed-source {
    font-weight: 700;
    font-size: 14px;
    color: #555;
    margin: 0 0 8px;
}

.lego-feed-card h2 {
    font-size: 20px;
    margin: 0 0 10px;
    line-height: 1.25;
}

.lego-feed-card h2 a {
    color: inherit;
    text-decoration: none;
}

.lego-feed-card h2 a:hover {
    text-decoration: underline;
}

.lego-feed-date {
    font-size: 14px;
    color: #777;
    margin-bottom: 10px;
}

.lego-feed-excerpt {
    line-height: 1.5;
}

.lego-feed-read-more {
    display: inline-block;
    margin-top: 10px;
    font-weight: 700;
}
.hidden-feed-item {
    display: none;
}

#loadMoreFeeds {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    font-weight: bold;
    cursor: pointer;
}
.feed-loading {
    text-align: center;
    margin: 30px 0;
}

.feed-loading p {
    margin-top: 10px;
    font-weight: 600;
}

.spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto;
    border: 4px solid #ddd;
    border-top: 4px solid #333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
.feed-loading {
    margin-top: 25px;
}

.feed-loading-text {
    text-align: center;
    font-weight: 700;
    margin-bottom: 18px;
}

.skeleton-card {
    pointer-events: none;
}

.skeleton {
    display: block;
    background: linear-gradient(
        90deg,
        #e8e8e8 25%,
        #f5f5f5 37%,
        #e8e8e8 63%
    );
    background-size: 400% 100%;
    animation: skeleton-loading 1.4s ease infinite;
    border-radius: 8px;
}

.skeleton-img {
    width: 100%;
    height: 180px;
    border-radius: 12px 12px 0 0;
}

.skeleton-source {
    width: 35%;
    height: 14px;
    margin-bottom: 12px;
}

.skeleton-title {
    width: 90%;
    height: 22px;
    margin-bottom: 8px;
}

.skeleton-title.short {
    width: 65%;
}

.skeleton-date {
    width: 45%;
    height: 14px;
    margin: 14px 0;
}

.skeleton-text {
    width: 100%;
    height: 14px;
    margin-bottom: 8px;
}

.skeleton-text.short {
    width: 75%;
}

@keyframes skeleton-loading {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: 0 0;
    }
}