/* =============================================================
   TRILOGIX INSTITUTE WEBSITE
   Phase 20.2 — AutoSEO News-section UI consistency

   Purpose:
   - Keep AutoSEO/RSS articles visually aligned with native News cards.
   - Keep the View All Blogs action in the same bottom-centered position
     and button treatment as the native Load More News control.
   - Do not alter RSS fetching, caching, or canonical article behavior.
   ============================================================= */
.autoseo-feed-section {
    padding: 3rem 0 5rem;
    background: #f7f9fd;
}

.autoseo-feed-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}

.autoseo-feed-heading-copy {
    max-width: 760px;
}

.autoseo-feed-heading .section-subtitle {
    margin-bottom: 0;
}

.autoseo-feed-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

/* The card itself reuses .news-card, .news-card-image,
   .news-card-body, .news-card-date, and native News typography. */
.autoseo-card {
    min-width: 0;
}

.autoseo-card .news-card-category {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.autoseo-feed-status {
    margin-top: 1rem;
    color: #7b8494;
    font-size: .78rem;
    text-align: center;
}

.autoseo-feed-empty {
    padding: 3rem 1rem;
    border: 1px dashed #cbd5e1;
    border-radius: 18px;
    background: #fff;
    color: #667085;
    text-align: center;
}

.autoseo-view-all-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
}

.autoseo-view-all {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    width: max-content;
    text-decoration: none;
}


@media (max-width: 1199.98px) {
    .autoseo-feed-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .autoseo-feed-section {
        padding: 2.25rem 0 4rem;
    }

    .autoseo-feed-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 1rem;
    }

    .autoseo-feed-grid {
        grid-template-columns: 1fr;
    }
}
