/* calc/assets/css/article.css */

.article-container {
    max-width: 840px;
    margin: 40px auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    padding: 40px 60px;
}

@media (max-width: 768px) {
    .article-container {
        padding: 24px 20px;
        margin: 20px auto;
        border-radius: 12px;
    }
}

.breadcrumbs {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.breadcrumbs a {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.2s;
}
.breadcrumbs a:hover {
    color: #2563eb;
    text-decoration: underline;
}
.breadcrumbs .separator {
    color: #cbd5e1;
}

.article-header {
    margin-bottom: 40px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 24px;
}
.article-h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin: 0 0 16px 0;
    letter-spacing: -0.02em;
}
@media (max-width: 768px) {
    .article-h1 { font-size: 2rem; }
}

.article-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #64748b;
    align-items: center;
}
.article-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-content {
    font-size: 1.125rem;
    line-height: 1.75;
    color: #334155;
}
.article-content p {
    margin-bottom: 1.5em;
}
.article-content h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #0f172a;
    margin: 2em 0 1em 0;
    line-height: 1.3;
}
.article-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin: 1.5em 0 0.8em 0;
}

.article-list {
    margin: 0 0 1.5em 0;
    padding-left: 24px;
}
.article-list li {
    margin-bottom: 0.5em;
}

.article-quote {
    margin: 2em 0;
    padding: 24px;
    background: #f8fafc;
    border-left: 4px solid #3b82f6;
    border-radius: 0 12px 12px 0;
    font-style: italic;
}
.article-quote p {
    margin: 0;
    font-size: 1.25rem;
    color: #1e293b;
}
.article-quote cite {
    display: block;
    margin-top: 12px;
    font-size: 1rem;
    color: #64748b;
    font-style: normal;
    font-weight: 600;
}

.table-responsive {
    overflow-x: auto;
    margin: 2em 0;
}
.article-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
}
.article-table th, .article-table td {
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    text-align: left;
}
.article-table th {
    background: #f8fafc;
    font-weight: 600;
    color: #0f172a;
}

.article-image {
    margin: 2em 0;
    text-align: center;
}
.article-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    margin: 0 auto;
}
.article-image.img-border img {
    border: 1px solid #e2e8f0;
}
.article-image.img-bg {
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
}
.article-image.img-stretched img {
    width: 100%;
}
.article-image figcaption {
    margin-top: 12px;
    font-size: 0.875rem;
    color: #64748b;
}