/* Sports Wire v2.2 — Complete Styles */

/* Container */
.swv2-container {
    max-width: 800px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    color: #1a1a1a;
    background: #fff;
}

/* Remove Astra/theme chrome */
.page .entry-title,
.page .entry-header,
.page .page-header,
.page .ast-archive-description {
    display: none !important;
}

.page .site-content > .ast-container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    max-width: 100% !important;
}

.page .entry-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Kill any remaining Astra spacing */
.page #primary {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.page .site-content {
    padding-top: 0 !important;
}

.ast-separate-container .ast-article-single {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.ast-separate-container .entry-content {
    margin-top: 0 !important;
}

.ast-separate-container .ast-article-post,
.ast-separate-container .ast-article-single {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* Site Name Bar */
.swv2-site-bar {
    background: #1a1a1a;
    padding: 14px 20px;
    text-align: center;
    border-bottom: 3px solid #cc0000;
}

.swv2-site-name {
    color: #ffffff !important;
    text-decoration: none !important;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 32px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    line-height: 1;
}

.swv2-site-name:hover {
    color: #cccccc !important;
}

/* Header */
.swv2-header {
    color: #fff !important;
    padding: 0;
    margin-bottom: 0;
}

.swv2-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px 8px;
}

.swv2-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.swv2-sport-badge {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 3px 8px;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 3px;
    text-transform: uppercase;
    color: #ffffff !important;
}

.swv2-team-name {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    padding: 0;
    line-height: 1.2;
    color: #ffffff !important;
}

.swv2-header-right {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: rgba(255,255,255,0.85) !important;
    align-items: center;
}

.swv2-header-meta {
    color: rgba(255,255,255,0.85) !important;
}

/* "X new today" badge in header */
.swv2-header-today {
    background: rgba(255,255,255,0.2);
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    color: #fff !important;
    letter-spacing: 0.3px;
}

/* Team navigation */
.swv2-team-nav {
    display: flex;
    gap: 0;
    padding: 0 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    background: rgba(0,0,0,0.15);
}

.swv2-team-nav::-webkit-scrollbar { display: none; }

.swv2-nav-link {
    color: rgba(255,255,255,0.7) !important;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 600;
    padding: 8px 12px;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: all 0.15s;
}

.swv2-nav-link:hover {
    color: #fff !important;
    background: rgba(255,255,255,0.08);
}

.swv2-nav-link.active {
    color: #fff !important;
    border-bottom-color: #fff;
}

/* Breadcrumbs */
.swv2-breadcrumbs {
    padding: 8px 16px;
    font-size: 12px;
    color: #999;
    background: #f8f8f8;
    border-bottom: 1px solid #eee;
}

.swv2-breadcrumbs a {
    color: #666;
    text-decoration: none;
}

.swv2-breadcrumbs a:hover {
    text-decoration: underline;
}

.swv2-bc-sep {
    margin: 0 6px;
    color: #ccc;
}

.swv2-bc-current {
    color: #333;
    font-weight: 500;
}

/* Affiliate disclosure */
.swv2-disclosure {
    font-size: 11px;
    color: #999;
    padding: 6px 16px;
    background: #fafafa;
    border-bottom: 1px solid #eee;
}

.swv2-disclosure a {
    color: #666;
    text-decoration: underline;
}

/* Utility bar — Tickets, Shop, Schedule, Watch, RSS */
.swv2-utility-bar {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0 12px;
    background: #fafafa;
    border-bottom: 2px solid #333;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.swv2-utility-bar::-webkit-scrollbar { display: none; }

.swv2-util-link {
    font-size: 12px;
    font-weight: 600;
    color: #444 !important;
    text-decoration: none !important;
    padding: 8px 14px;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
}

.swv2-util-link:hover {
    background: #eee;
    color: #000 !important;
}

/* Feed */
.swv2-feed {
    border: 1px solid #e0e0e0;
    border-top: none;
}

/* Date headers */
.swv2-date-header {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 8px 16px;
    text-transform: capitalize;
}

/* Article rows */
.swv2-article {
    padding: 10px 16px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.1s;
}

.swv2-article:hover {
    background: #f8f9fa;
}

.swv2-article-meta {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 2px;
}

.swv2-time {
    font-size: 12px;
    font-weight: 700;
    color: #c00;
}

.swv2-dot {
    color: #999;
}

.swv2-badge {
    font-size: 9px;
    font-weight: 800;
    color: #fff;
    padding: 1px 5px;
    border-radius: 2px;
    letter-spacing: 0.5px;
}

.swv2-source {
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
    margin-left: auto;
}

/* Source reputation badges */
.swv2-source-type {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.3px;
    padding: 1px 6px;
    border-radius: 2px;
    white-space: nowrap;
}

.swv2-src-official {
    background: #e8f5e9;
    color: #2e7d32;
}

.swv2-src-beat {
    background: #e3f2fd;
    color: #1565c0;
}

.swv2-src-fan {
    background: #f3e5f5;
    color: #7b1fa2;
}

.swv2-src-rumors {
    background: #fff3e0;
    color: #e65100;
}

.swv2-src-analysis {
    background: #fce4ec;
    color: #c62828;
}

.swv2-link {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;
    display: block;
}

.swv2-link:hover {
    text-decoration: underline;
}

/* Article snippet — the SEO goldmine */
.swv2-snippet {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
    margin: 3px 0 0;
    padding: 0;
}

.swv2-article.swv2-new {
    background: #fffdf5;
}

.swv2-article.swv2-new:hover {
    background: #fffbe6;
}

/* Ad banners */
.swv2-ad {
    padding: 10px 16px;
    border-bottom: 1px solid #f0f0f0;
}

.swv2-banner {
    display: flex;
    text-decoration: none !important;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.15s, box-shadow 0.15s;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.swv2-banner:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.swv2-banner-left {
    flex: 0 0 35%;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 2px;
}

.swv2-banner-sport-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    opacity: 0.7;
}

.swv2-banner-team {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 36px;
    line-height: 1;
    letter-spacing: 2px;
}

.swv2-banner-action {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    opacity: 0.7;
    margin-top: 4px;
}

.swv2-banner-right {
    flex: 1;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.swv2-banner-cta-text {
    font-size: 18px;
    font-weight: 700;
}

.swv2-banner-cta-sub {
    font-size: 13px;
    opacity: 0.7;
}

.swv2-banner-cta-btn {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 10px 24px;
    border-radius: 4px;
    margin-top: 8px;
    align-self: flex-start;
    text-transform: uppercase;
}

.swv2-banner-disclosure {
    position: absolute;
    bottom: 4px;
    right: 8px;
    font-size: 8px;
    opacity: 0.4;
    color: inherit;
}

.swv2-banner-ad-label {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #fff;
    background: rgba(0,0,0,0.6);
    padding: 3px 8px;
    border-radius: 0 0 4px 0;
    z-index: 1;
}

/* Empty state */
.swv2-error {
    padding: 20px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 4px;
    color: #856404;
}

.swv2-empty {
    padding: 40px 20px;
    text-align: center;
    color: #666;
}

/* Load More */
.swv2-load-more-wrap {
    padding: 16px;
    text-align: center;
    border: 1px solid #e0e0e0;
    border-top: none;
}

.swv2-load-more {
    display: inline-block;
    padding: 12px 32px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.15s;
}

.swv2-load-more:hover {
    background: #e8e8e8;
    border-color: #ccc;
}

.swv2-load-more:disabled {
    opacity: 0.6;
    cursor: wait;
}

.swv2-end-of-feed {
    font-size: 13px;
    color: #999;
    margin: 0;
}

.swv2-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    font-size: 14px;
}

.swv2-pagination a {
    color: #c00;
    text-decoration: none;
    font-weight: 600;
}

.swv2-pagination a:hover {
    text-decoration: underline;
}

/* Footer */
.swv2-footer {
    padding: 16px 20px;
    text-align: center;
    font-size: 13px;
    color: #666;
}

.swv2-footer p {
    margin: 4px 0;
}

.swv2-footer-small {
    font-size: 11px;
    color: #999;
}

.swv2-footer-links {
    font-size: 11px;
    margin-top: 8px !important;
}

.swv2-footer-links a {
    color: #666;
    text-decoration: none;
}

.swv2-footer-links a:hover {
    text-decoration: underline;
}

/* ── Homepage ────────────────────────────────────────── */

.swv2-home-intro {
    text-align: center;
    padding: 28px 24px 8px;
}

.swv2-home-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 10px;
}

.swv2-home-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    max-width: 580px;
    margin: 0 auto 12px;
    text-align: justify;
}

.swv2-home-stats {
    font-size: 13px;
    color: #999;
}

.swv2-home-stats strong {
    color: #333;
}

.swv2-home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    max-width: 780px;
    gap: 12px;
    padding: 16px 24px 24px;
    margin: 0 auto;
}

.swv2-home-card {
    display: flex;
    text-decoration: none !important;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.15s, box-shadow 0.15s;
}

.swv2-home-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.swv2-home-card-accent {
    width: 6px;
    flex-shrink: 0;
}

.swv2-home-card-body {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.swv2-home-sport {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #999;
    text-transform: uppercase;
}

.swv2-home-team {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
}

.swv2-home-count {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}

.swv2-home-count strong {
    color: #c00;
}

/* SEO text block on homepage */
.swv2-home-seo-text {
    padding: 20px 24px;
    border-top: 1px solid #eee;
    max-width: 640px;
    margin: 0 auto;
}

.swv2-home-seo-text h2 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px;
    text-align: center;
}

.swv2-home-seo-text p {
    font-size: 13px;
    color: #888;
    line-height: 1.7;
    margin: 0 0 10px;
    text-align: justify;
}

/* ── Responsive ──────────────────────────────────────── */

@media (max-width: 600px) {
    .swv2-container {
        margin: 0;
    }

    .swv2-site-bar {
        padding: 10px 14px;
    }

    .swv2-site-name {
        font-size: 24px;
        letter-spacing: 2px;
    }

    .swv2-header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 12px 14px 6px;
    }

    .swv2-header-right {
        font-size: 11px;
        flex-wrap: wrap;
        gap: 8px;
    }

    .swv2-team-name {
        font-size: 18px;
    }

    .swv2-breadcrumbs {
        padding: 6px 12px;
        font-size: 11px;
    }

    .swv2-article {
        padding: 8px 12px;
    }

    .swv2-link {
        font-size: 14px;
    }

    .swv2-snippet {
        font-size: 12px;
    }

    .swv2-time {
        font-size: 11px;
    }

    .swv2-nav-link {
        font-size: 11px;
        padding: 6px 8px;
    }

    .swv2-banner {
        flex-direction: column;
    }

    .swv2-banner-left {
        flex: none;
        padding: 16px;
    }

    .swv2-banner-team {
        font-size: 30px;
    }

    .swv2-banner-right {
        padding: 14px 16px;
    }

    .swv2-banner-cta-btn {
        align-self: center;
        text-align: center;
        width: 100%;
    }

    .swv2-home-grid {
        grid-template-columns: 1fr 1fr;
        padding: 12px 12px 20px;
    }

    .swv2-home-title {
        font-size: 17px;
    }
}
