/* All feeds page styles */

.page-header {
    margin-bottom: 2rem;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    color: var(--primary-color);
}

.page-description {
    color: var(--secondary-color);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* Filter controls */
.filter-controls {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border: 1px solid var(--border-color);
}

.filter-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.filter-label {
    font-weight: 600;
    color: #000000 !important;
    margin-right: 1rem;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.8);
    padding: 0.25rem 0.5rem;
    border: 1px solid #ddd;
}

.filter-btn {
    background: white;
    border: 2px solid var(--border-color);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-btn:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.filter-btn.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

.post-count {
    font-size: 0.85em;
    opacity: 0.8;
}

/* Posts list */
.posts-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.post-item {
    padding: 1.5rem;
    background: white;
    transition: border-color 0.2s ease;
}

.post-item:hover {
    border-color: var(--accent-color);
}

/* Post feed tag */
.post-feed-tag {
    margin-bottom: 0.75rem;
}

.feed-link {
    display: inline-block;
    background: var(--accent-color);
    color: white !important;
    padding: 0.25rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s ease;
    border: 1px solid var(--accent-color);
}

.feed-link:hover {
    background: var(--primary-color);
}

/* Post header */
.post-header {
    margin-bottom: 1rem;
}

.post-title {
    margin: 0 0 0.75rem 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.post-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.post-title a:hover {
    color: var(--accent-color);
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.post-date {
    font-weight: 500;
}

.post-author {
    position: relative;
}

.post-author::before {
    content: "·";
    position: absolute;
    left: -0.6rem;
}

/* Post image */
.post-image {
    margin: 1.25rem 0;
}

.post-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-image a {
    display: block;
}

/* Post excerpt */
.post-excerpt {
    margin: 1rem 0 1.25rem 0;
}

.post-excerpt p {
    color: var(--secondary-color);
    line-height: 1.6;
    margin: 0;
}

/* Post footer */
.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.read-more {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.read-more:hover {
    color: var(--primary-color);
}

.external-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.external-link:hover {
    color: var(--accent-color);
}

/* Empty states */
.empty-state,
.no-filtered-posts {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--secondary-color);
}

.empty-state h2,
.no-filtered-posts h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feed-links {
    margin-top: 2rem;
}

.feed-links ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 400px;
    margin: 1rem auto 0;
}

.feed-links a {
    color: var(--accent-color);
    text-decoration: none;
    padding: 0.5rem;
    transition: background-color 0.2s ease;
}

.feed-links a:hover {
    background: rgba(245, 0, 87, 0.1);
}

.feed-links .post-count {
    color: var(--secondary-color);
    font-size: 0.9em;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .filter-group {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .filter-label {
        margin-bottom: 0.5rem;
    }
    
    .post-title {
        font-size: 1.25rem;
    }
    
    .post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .post-author::before {
        display: none;
    }
    
    .post-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .post-item {
        padding: 1rem;
    }
}