.rss-feed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.rss-feed-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column; /* Makes the content stack vertically */
    justify-content: space-between; /* Ensures spacing between content and footer */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.rss-feed-image {
    position: relative;
}

.rss-feed-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.rss-feed-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Fills available space to push the button to the bottom */
}

.rss-feed-link {
    margin-top: auto; /* Pushes the button to the bottom of the card */
}

.rss-feed-source-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #fd0;
    color: black;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 5px;
    z-index: 10;
}

.rss-feed-title {
    font-size: 18px;
    margin: 10px 0;
}

.rss-feed-title a {
    text-decoration: none !important;
    color: #000;
    transition: color 0.3s ease;
}

.rss-feed-title a:hover {
    color: black;
    text-decoration: underline !important;
}

.rss-feed-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.rss-feed-excerpt {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 15px;
}
