/* ===== Article Page - Clean Documentation Style ===== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background: #ffffff;
    color: #1a1a1a;
    line-height: 1.8;
    font-size: 16px;
}

/* ===== Container ===== */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
    font-size: 0.875rem;
    color: #666;
    padding: 1rem 0;
    margin-bottom: 0.5rem;
}

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

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

.breadcrumb-separator {
    margin: 0 0.5rem;
    color: #999;
}

.breadcrumb-current {
    color: #333;
}

/* ===== Article Header ===== */
.article-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.article-header h1 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #111;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.article-meta {
    font-size: 0.8125rem;
    color: #888;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.article-meta span {
    display: inline-flex;
    align-items: center;
}

/* ===== Article Content ===== */
.article-content {
    color: #333;
}

.article-content h2 {
    font-size: 1.375rem;
    font-weight: 700;
    color: #111;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.article-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #222;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}

.article-content p {
    margin-bottom: 1rem;
    color: #333;
}

.article-content strong {
    color: #111;
    font-weight: 600;
}

.article-content ul,
.article-content ol {
    margin: 1rem 0 1rem 1.5rem;
    color: #333;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content li strong {
    color: #111;
}

/* ===== Feature List ===== */
.feature-list {
    list-style: none;
    margin: 1rem 0;
    padding: 0;
}

.feature-list li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    margin-bottom: 0.25rem;
}

.feature-list li::before {
    content: "•";
    color: #0066cc;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0.5rem;
}

/* ===== Highlight Box ===== */
.highlight-box {
    background: #f7f9fc;
    border-left: 4px solid #0066cc;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    border-radius: 0 0.5rem 0.5rem 0;
}

.highlight-box p {
    margin: 0;
    color: #444;
}

/* ===== Info Grid (key-value pairs) ===== */
.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    margin: 1rem 0;
    padding: 1rem 1.25rem;
    background: #f7f9fc;
    border-radius: 0.5rem;
}

.info-grid p {
    margin: 0;
    color: #333;
}

.info-grid p strong {
    color: #111;
    display: inline-block;
    min-width: 100px;
}

/* ===== Images ===== */
.article-content img {
    width: 100%;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
    display: block;
}

/* ===== Tables ===== */
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9375rem;
}

.article-content th {
    background: #f5f5f5;
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 600;
    color: #111;
    border: 1px solid #e0e0e0;
}

.article-content td {
    padding: 0.75rem 1rem;
    border: 1px solid #e0e0e0;
    color: #333;
}

.article-content tr:nth-child(even) td {
    background: #fafafa;
}

/* ===== CTA Button ===== */
.cta-button {
    display: inline-block;
    background: #0066cc;
    color: #fff;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.2s ease;
    margin-top: 1.5rem;
}

.cta-button:hover {
    background: #0052a3;
}

.cta-section {
    text-align: center;
    margin: 2.5rem 0 1.5rem;
    padding: 2rem;
    background: #f7f9fc;
    border-radius: 0.75rem;
}

.cta-section p {
    color: #555;
    margin-bottom: 1rem;
}

/* ===== Back Button ===== */
.back-button {
    display: inline-block;
    color: #0066cc;
    text-decoration: none;
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
}

.back-button:hover {
    text-decoration: underline;
}

/* ===== FAQ Section ===== */
.faq-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.faq-section h2 {
    font-size: 1.375rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 1.5rem;
    border-bottom: none;
    padding-bottom: 0;
}

.faq-item {
    margin-bottom: 1.5rem;
}

.faq-item h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.faq-item p {
    color: #555;
    margin: 0;
}

/* ===== Related Articles ===== */
.related-articles {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.related-articles h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 1rem;
    border-bottom: none;
    padding-bottom: 0;
}

.related-articles ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.related-articles li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.related-articles li:last-child {
    border-bottom: none;
}

.related-articles a {
    color: #0066cc;
    text-decoration: none;
    font-size: 0.9375rem;
}

.related-articles a:hover {
    text-decoration: underline;
}

/* ===== Footer ===== */
.article-footer {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.footer-links a {
    color: #0066cc;
    text-decoration: none;
    font-size: 0.875rem;
}

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

.footer-copyright {
    font-size: 0.8125rem;
    color: #999;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .container {
        padding: 1rem 1rem 3rem;
    }

    .article-header h1 {
        font-size: 1.5rem;
    }

    .article-content h2 {
        font-size: 1.25rem;
    }

    .article-content h3 {
        font-size: 1.0625rem;
    }

    .article-content table {
        font-size: 0.8125rem;
    }

    .article-content th,
    .article-content td {
        padding: 0.5rem 0.625rem;
    }

    .footer-links {
        gap: 1rem;
    }
}
