/* Article Page CSS */
.tyso-article-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.tyso-article-breadcrumb {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.tyso-article-breadcrumb a {
    color: #10b981;
    text-decoration: none;
}

.tyso-article-breadcrumb a:hover {
    text-decoration: underline;
}

.tyso-article-breadcrumb .sep {
    color: #cbd5e1;
}

.tyso-article-breadcrumb .current {
    color: #334155;
    font-weight: 500;
}

.tyso-article-header {
    margin-bottom: 24px;
}

.tyso-article-cats {
    margin-bottom: 12px;
}

.tyso-cat-badge {
    display: inline-block;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    text-decoration: none;
    margin-right: 8px;
}

.tyso-cat-badge:hover {
    color: #fff;
    opacity: 0.9;
}

.tyso-article-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.3;
    color: #0f172a;
    margin: 0 0 16px 0;
}

.tyso-article-meta {
    font-size: 13px;
    color: #64748b;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.tyso-article-meta .meta-author {
    font-weight: 600;
    color: #334155;
}

.tyso-article-meta .meta-sep {
    color: #cbd5e1;
}

.tyso-article-excerpt {
    font-size: 16px;
    color: #475569;
    font-style: italic;
    margin-top: 16px;
    border-left: 4px solid #10b981;
    padding-left: 16px;
}

.tyso-article-featured-img {
    margin: 0 0 30px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.tyso-article-featured-img img {
    width: 100%;
    height: auto;
    display: block;
}

.tyso-prediction-match-info {
    margin: 0 0 30px 0;
    background: #0f172a;
    border-radius: 12px;
    padding: 24px;
    color: #fff;
    text-align: center;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.prediction-match-card .match-teams {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.prediction-match-card .team {
    flex: 1;
}

.prediction-match-card .team.home {
    text-align: right;
}

.prediction-match-card .team.away {
    text-align: left;
}

.prediction-match-card .vs {
    font-size: 18px;
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    flex-shrink: 0;
}

.prediction-match-card .match-meta {
    font-size: 14px;
    color: #94a3b8;
}

.tyso-article-body-wrap {
    display: flex;
    gap: 40px;
    position: relative;
    align-items: flex-start;
}

.tyso-article-toc-sidebar {
    width: 220px;
    flex-shrink: 0;
}

.tyso-toc-widget {
    background: #f8faf9;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
}

.tyso-toc-widget.sticky {
    position: fixed;
    top: 80px;
    width: 220px;
    z-index: 10;
}

.tyso-toc-title {
    font-weight: 700;
    font-size: 15px;
    color: #1e293b;
    margin-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 8px;
}

.tyso-toc-list {
    margin: 0;
    padding: 0 0 0 20px;
    font-size: 14px;
    color: #475569;
}

.tyso-toc-list li {
    margin-bottom: 8px;
}

.tyso-toc-list li a {
    color: #475569;
    text-decoration: none;
    transition: color 0.2s;
}

.tyso-toc-list li a:hover {
    color: #10b981;
}

.toc-h3 {
    margin-left: 16px;
    list-style-type: circle;
}

.tyso-article-content {
    flex: 1;
    min-width: 0;
    font-size: 17px;
    line-height: 1.8;
    color: #1e293b;
}

.tyso-article-content p {
    margin-bottom: 20px;
}

.tyso-article-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin: 40px 0 20px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e8f0;
}

.tyso-article-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin: 30px 0 16px 0;
}

.tyso-article-content a {
    color: #10b981;
    text-decoration: none;
}

.tyso-article-content a:hover {
    text-decoration: underline;
}

.tyso-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    display: block;
}

.tyso-article-content ul, 
.tyso-article-content ol {
    margin-bottom: 20px;
    padding-left: 24px;
}

.tyso-article-content li {
    margin-bottom: 8px;
}

.tyso-article-tags {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.tags-label {
    font-weight: 600;
    font-size: 15px;
    color: #475569;
    margin-right: 8px;
}

.tyso-tag-link {
    background: #e8f5e9;
    color: #0f8a4b;
    font-size: 13px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s;
}

.tyso-tag-link:hover {
    background: #10b981;
    color: #fff;
}

.tyso-cat-badge {
    text-transform: uppercase;
    font-size: 11px;
    background: linear-gradient(135deg, #10b981, #059669);
}

.tyso-related-articles {
    margin-top: 50px;
}

.tyso-related-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #0f172a;
}

.tyso-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.tyso-related-card {
    display: block;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.tyso-related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.related-card-img {
    height: 160px;
    overflow: hidden;
}

.related-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-card-body {
    padding: 16px;
}

.card-cats {
    margin-bottom: 8px;
}

.related-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.card-excerpt {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 12px;
    line-height: 1.5;
}

.related-card-date {
    font-size: 12px;
    color: #94a3b8;
}

.tyso-data-crosslinks {
    margin-top: 50px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
}

.crosslinks-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 16px 0;
    text-align: center;
}

.crosslinks-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.crosslink-item {
    background: #fff;
    border: 1px solid #cbd5e1;
    color: #334155;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.2s;
}

.crosslink-item:hover {
    border-color: #10b981;
    color: #10b981;
}

.archive-header {
    margin-bottom: 30px;
    text-align: center;
}

.archive-title {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
}

.tyso-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.tyso-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.tyso-pagination .page-numbers:hover {
    border-color: #10b981;
    color: #10b981;
}

.tyso-pagination .page-numbers.current {
    background: #10b981;
    border-color: #10b981;
    color: #fff;
}

/* Responsive */
@media (max-width: 1024px) {
    .tyso-article-body-wrap {
        flex-direction: column;
    }

    .tyso-article-toc-sidebar {
        width: 100%;
        margin-bottom: 30px;
    }

    .tyso-toc-widget.sticky {
        position: static;
        width: 100%;
    }
    
    .tyso-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .tyso-article-title {
        font-size: 24px;
    }
    
    .prediction-match-card .match-teams {
        font-size: 18px;
        gap: 12px;
    }
    
    .tyso-related-grid {
        grid-template-columns: 1fr;
    }
}
