/* ==========================================================================
   Traca Site News - Article Page Styles
   ========================================================================== */

/* Breadcrumb */
.traca-article-breadcrumb {
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
}

.traca-article-breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    padding: 0;
    margin: 0;
}

.traca-article-breadcrumb li {
    display: flex;
    align-items: center;
}

.traca-article-breadcrumb li:not(:last-child)::after {
    content: '>';
    margin-left: 0.5rem;
    color: #999;
}

.traca-article-breadcrumb a {
    color: #0066cc;
    text-decoration: none;
}

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

/* Article Header */
.traca-article-header {
    margin-bottom: 2rem;
    padding: 1rem 1.25rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #0066cc;
}

.traca-article-update-date {
    font-size: 0.85rem;
    color: #666;
    margin: 0 0 0.5rem;
}

.traca-article-summary {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Table of Contents */
.traca-article-toc {
    margin-bottom: 2rem;
    padding: 1rem 1.25rem;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.traca-article-toc h2 {
    font-size: 1rem;
    margin: 0 0 0.75rem;
    padding: 0;
}

.traca-article-toc ol {
    margin: 0;
    padding-left: 1.5rem;
}

.traca-article-toc li {
    margin-bottom: 0.4rem;
    line-height: 1.5;
}

.traca-article-toc a {
    color: #0066cc;
    text-decoration: none;
}

.traca-article-toc a:hover {
    text-decoration: underline;
}

/* Stats Table */
.traca-article-stats {
    margin-bottom: 1rem;
}

.traca-article-stats-table {
    width: 100%;
    max-width: 400px;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.traca-article-stats-table th,
.traca-article-stats-table td {
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #e0e0e0;
    text-align: left;
}

.traca-article-stats-table th {
    font-weight: 600;
    color: #555;
    width: 40%;
}

/* Related Articles */
.traca-article-related {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid #e0e0e0;
}

.traca-article-related ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.traca-article-related li {
    padding: 0.75rem 1rem;
    background: #f8f9fa;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.traca-article-related li:hover {
    background: #e9ecef;
}

.traca-article-related a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
}

.traca-article-related a:hover {
    color: #0066cc;
}

/* Responsive */
@media (max-width: 768px) {
    .traca-article-related ul {
        grid-template-columns: 1fr;
    }
}
