/* Limit homepage shortcode width */
.home .feedzy-rss-container {
    max-width: 1200px;
    margin: 300 auto;
    padding: 300 20px;
}

/* Move site title closer to logo */
.site-header .site-branding {
    gap: 10px !important;
}

.site-title {
    margin-top: 0 !important;
    margin-left: -10px !important;
}

:root :where(.wp-block-site-logo){
	padding-right:0 !important;
}

/* CRITICAL FIX - Force images to display */
.article-card img.article-thumbnail {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
    background: #f0f0f0;
}

.article-card .article-thumbnail {
    width: 100% !important;
    min-height: 200px !important;
}

/* Rest of your existing styles below */
.aggregator-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}
	  .aggregator-wrapper {
        max-width: 1400px;
        margin: 0 auto;
        padding: 40px 20px;
    }

    .category-filters {
        display: flex;
        gap: 15px;
        margin-bottom: 40px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .filter-btn {
        padding: 12px 30px;
        background: white;
        border: 3px solid #470A30;
        border-radius: 3px;
        cursor: pointer;
        font-size: 16px;
        font-weight: 600;
        transition: all 0.3s ease;
        text-decoration: none;
        color: #470A30;
        display: inline-block;
    }

    .filter-btn:hover {
        background: #f5f5f5;
    }

    .filter-btn.active {
        background: #470A30;
        color: white;
        border-color: #470A30;
    }

    .start-petition-btn {
        display: inline-block;
        padding: 12px 30px;
        background: #470A30;
        color: white;
        text-decoration: none;
        border-radius: 3px;
        font-weight: 600;
        transition: all 0.3s ease;
    }

    .start-petition-btn:hover {
        background: #5a0d3d;
        color: white;
    }

    .articles-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }

    .article-card {
        background: white;
        border: 1px solid #e0e0e0;
        border-radius: 10px;
        overflow: hidden;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        display: flex;
        flex-direction: column;
    }

    .article-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }

    .article-thumbnail {
        width: 100%;
        height: 200px;
        object-fit: cover;
        display: block;
    }

    .article-content {
        padding: 20px;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }

    .article-title {
        font-size: 18px;
        font-weight: 700;
        margin: 0 0 12px 0;
        line-height: 1.4;
    }

    .article-title a {
        color: #333;
        text-decoration: none;
    }

    .article-title a:hover {
        color: #470A30;
    }

    .article-meta {
        font-size: 13px;
        color: #666;
        margin-top: auto;
    }

    .article-author,
    .article-source {
        text-decoration: none;
        color: #666;
    }

    /* Mobile Responsive */
    @media (max-width: 1200px) {
        .articles-grid {
            grid-template-columns: repeat(3, 1fr);
        }
    }

    @media (max-width: 768px) {
        .articles-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
        }
        
        .aggregator-wrapper {
            padding: 20px 15px;
        }
    }

    @media (max-width: 480px) {
        .articles-grid {
            grid-template-columns: 1fr;
        }
        
        .filter-btn {
            padding: 10px 20px;
            font-size: 14px;
        }
    }

/* Hide archive posts */
.article-card .article-title a[href*="supercategory"],
.article-card .article-title a[href*="archive"],
.article-card:has(.article-title a[href*="supercategory"]),
.article-card:has(.article-title a[href*="archive"]) {
    display: none !important;
}

.article-card .article-title:contains("Archives") {
    display: none !important;
}

@media (max-width: 768px) {
    .category-filters {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        gap: 10px !important;
    }
    
    .filter-btn {
        padding: 10px 15px !important;
        font-size: 14px !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }
}
