@import url("breadcrumb.84603afb37e4.css");
@import url("related-guides.dde2b0fe4f11.css");

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

body {
    font-family: "Roboto", sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #fff;
}

.article-wrapper {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    gap: 2rem;
    padding-top: 6rem;
}

.article-container {
    flex: 1;
    max-width: 900px;
}

/* Article Metadata */
.article-metadata {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e0e0e0;
    font-size: 0.9rem;
    color: #666;
}

.article-metadata span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-metadata .tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.article-metadata .tag {
    background-color: #f0f0f0;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
}

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

.article-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #001327;
}

.article-intro {
    font-size: 1.25rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Author Section */
.author-section {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    border-left: 4px solid #001327;
}

.author-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #001327;
    margin-bottom: 0.5rem;
}

.author-section .author-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #001327;
    margin-bottom: 0.25rem;
}

.author-section .author-title {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 0.75rem;
}

.author-section .author-bio {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.author-social {
    display: flex;
    gap: 1rem;
}

.author-social a {
    display: flex;
    align-items: center;
    color: #001327;
    text-decoration: none;
    font-size: 0.9rem;
}

.author-social a:hover {
    color: #002a4a;
}

.author-social img {
    width: 20px;
    height: 20px;
    margin-right: 0.5rem;
}

/* Table of Contents */
.toc-sidebar {
    width: 250px;
    position: sticky;
    top: 2rem;
    align-self: flex-start;
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
}

.toc-sidebar h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #001327;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e0e0e0;
}

.toc-sidebar ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.toc-sidebar li {
    margin-bottom: 0.5rem;
}

.toc-sidebar a {
    display: block;
    padding: 0.5rem 0.75rem;
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: 4px;
    transition: all 0.2s;
}

.toc-sidebar a:hover,
.toc-sidebar a.active {
    background-color: #f0f0f0;
    color: #001327;
    font-weight: 600;
}

/* Article Content */
.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: #001327;
    padding-top: 1rem;
    scroll-margin-top: 2rem;
}

.article-content section[id] {
    scroll-margin-top: 2rem;
}

.article-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #001327;
}

.article-content p {
    margin-bottom: 1.5rem;
    color: #444;
}

.article-content ul,
.article-content ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.article-content li {
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* Quick answer step styling */
.article-content .quick-steps {
    list-style: none;
    counter-reset: quick-step;
    margin: 1rem 0 1.5rem;
    padding: 0;
}

.article-content .quick-steps > li {
    counter-increment: quick-step;
    position: relative;
    margin: 0 0 0.9rem;
    padding: 1rem 1rem 1rem 3.35rem;
    border: 1px solid #dbe7f3;
    border-radius: 12px;
    background: #f7fbff;
}

.article-content .quick-steps > li::before {
    content: counter(quick-step);
    position: absolute;
    left: 0.95rem;
    top: 1rem;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 999px;
    background: #39ff12;
    color: #001327;
    font-weight: 800;
    font-size: 0.95rem;
    line-height: 1.8rem;
    text-align: center;
    box-shadow: 0 0 0 3px rgba(57, 255, 18, 0.2);
}

.article-content .quick-steps > li > strong {
    display: block;
    margin-bottom: 0.45rem;
    color: #001327;
}

.article-content .quick-steps > li > p {
    margin-bottom: 0.8rem;
}

.article-content .quick-steps > li > p:last-child {
    margin-bottom: 0;
}

.article-content .quick-steps > li ul,
.article-content .quick-steps > li ol {
    margin: 0 0 0.8rem 1.25rem;
}

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

.article-content a {
    color: #0066cc;
    text-decoration: underline;
}

.article-content a:hover {
    color: #0052a3;
}

/* Callout Boxes */
.callout {
    margin: 2rem 0;
    padding: 1.25rem 1.5rem;
    border-radius: 6px;
    border-left: 4px solid;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.callout-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin-top: 0.25rem;
}

.callout-content {
    flex: 1;
}

.callout-content strong {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.callout-warning {
    background-color: rgba(255, 193, 7, 0.1);
    border-left-color: #ffc107;
    color: #856404;
}

.callout-tip {
    background-color: rgba(40, 167, 69, 0.1);
    border-left-color: #28a745;
    color: #155724;
}

.callout-info {
    background-color: rgba(0, 123, 255, 0.1);
    border-left-color: #007bff;
    color: #004085;
}

/* Visual Cards */
.cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
    max-width: 100%;
}

/* Ensure 2 columns on all medium and larger screens - prevent auto-fit */
@media (min-width: 768px) {
    .cards-grid {
        grid-template-columns: 1fr 1fr !important;
        grid-auto-flow: row;
    }
}

.card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

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

.card-number {
    display: inline-block;
    width: 32px;
    height: 32px;
    background-color: #001327;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 32px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.card h3 {
    font-size: 1.25rem;
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.card p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* FAQ Cards */
.faq-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.faq-card h3 {
    font-size: 1.1rem;
    margin-top: 0;
    margin-bottom: 0.75rem;
    color: #001327;
}

.faq-card p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Article Images */
.article-image {
    margin: 1.5rem 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.article-image.float-right {
    float: right;
    margin-left: 2rem;
    margin-right: 0;
    max-width: 400px;
    width: 100%;
}

.article-image.float-left {
    float: left;
    margin-right: 2rem;
    margin-left: 0;
    max-width: 350px;
    width: 100%;
}

.article-image.full-width {
    width: 100%;
    max-width: 100%;
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.article-image figcaption {
    font-size: 0.85rem;
    color: #666;
    text-align: center;
    margin-top: 0.5rem;
    font-style: italic;
    padding: 0 0.5rem;
}

/* Article image placeholder (inside figure.article-image) */
.article-image-placeholder {
    min-height: 120px;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border: 2px dashed #ccc;
    border-radius: 8px;
    color: #666;
    font-size: 0.9rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-image.full-width .article-image-placeholder {
    min-height: 180px;
}

/* Placeholder Images (for other images that aren't ready yet) */
.image-placeholder {
    background-color: #f0f0f0;
    border: 2px dashed #ccc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.9rem;
    text-align: center;
    margin: 1.5rem 0;
}

.image-placeholder.float-right {
    float: right;
    margin-left: 2rem;
    margin-right: 0;
    width: 400px;
    max-width: 100%;
    min-height: 250px;
}

.image-placeholder.float-left {
    float: left;
    margin-right: 2rem;
    margin-left: 0;
    width: 350px;
    max-width: 100%;
    min-height: 200px;
}

.image-placeholder.full-width {
    width: 100%;
    min-height: 300px;
}

.image-caption {
    font-size: 0.85rem;
    color: #666;
    text-align: center;
    margin-top: 0.5rem;
    font-style: italic;
}

/* Related Guides / Related Topics cards live in related-guides.css,
   @imported at the top of this file. */

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #001327 0%, #002a4a 100%);
    padding: 3rem 2rem;
    border-radius: 12px;
    margin: 4rem 0;
    text-align: center;
    color: #fff;
}

.cta-section h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff !important;
    margin-bottom: 1rem;
    color: #fff;
    margin-top: 0;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9) !important;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section a {
    display: inline-block;
    background-color: #39FF12;
    color: #001327;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
}

.cta-section a:hover {
    background-color: #2ee00f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(57, 255, 18, 0.3);
}

.cta-section a.secondary {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.cta-section a.secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* In-article tool CTA.
   Deliberately lighter than .cta-section: a mid-article block styled like the
   dark end-of-article CTA reads as "the article is over" and loses the reader
   it was meant to keep.
   The colours carry !important for the same reason .cta-section does. The
   schema-cluster wrapper classes set rules like
   `.schema-guide-page .article-content p { color: #374151 }` at specificity
   (0,2,1), which beats a plain `.cta-box p` at (0,1,1). */
.cta-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #39FF12;
    border-radius: 10px;
    padding: 1.75rem 2rem;
    margin: 3rem 0;
}

.cta-box h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #001327 !important;
    margin: 0 0 0.6rem;
}

.cta-box p {
    font-size: 1.02rem;
    line-height: 1.6;
    color: #374151 !important;
    margin: 0 0 1.25rem;
}

.cta-box a {
    display: inline-block;
    background-color: #001327;
    color: #ffffff !important;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
}

.cta-box a:hover {
    background-color: #002a4a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 19, 39, 0.2);
}

/* Mobile TOC */
.toc-mobile {
    display: none;
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.toc-mobile-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: #001327;
}

.toc-mobile-content {
    display: none;
    margin-top: 1rem;
}

.toc-mobile-content.active {
    display: block;
}

.toc-mobile ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.toc-mobile li {
    margin-bottom: 0.5rem;
}

.toc-mobile a {
    display: block;
    padding: 0.5rem 0.75rem;
    color: #666;
    text-decoration: none;
    border-radius: 4px;
}

.toc-mobile a:hover {
    background-color: #e0e0e0;
    color: #001327;
}

/* Responsive */
@media (max-width: 968px) {
    .article-wrapper {
        flex-direction: column;
        padding-top: 5rem;
    }

    .toc-sidebar {
        display: none;
    }

    .toc-mobile {
        display: block;
    }

            .image-placeholder.float-right,
            .image-placeholder.float-left,
            .article-image.float-right,
            .article-image.float-left {
                float: none;
                width: 100%;
                max-width: 100%;
                margin: 1.5rem 0;
            }
}

@media (max-width: 768px) {
    .article-wrapper {
        padding: 1rem;
        padding-top: 4rem;
    }

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

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

    .article-content {
        font-size: 1rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .cta-section {
        padding: 2rem 1.5rem;
    }

    .cta-section h3 {
        font-size: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-section a {
        width: 100%;
    }

    .cta-box {
        padding: 1.5rem 1.25rem;
        margin: 2.5rem 0;
    }

    .cta-box h3 {
        font-size: 1.2rem;
    }

    .cta-box a {
        display: block;
        text-align: center;
    }

    .article-content .quick-steps > li {
        padding: 0.9rem 0.9rem 0.9rem 3rem;
    }

    .article-content .quick-steps > li::before {
        left: 0.8rem;
        top: 0.9rem;
        width: 1.7rem;
        height: 1.7rem;
        line-height: 1.7rem;
    }
}

/* Redirect Mapping Example Table */
.redirect-mapping-example {
    margin: 2rem 0;
    overflow-x: auto;
}

.redirect-example-table {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    border-collapse: collapse;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.redirect-example-table thead {
    background-color: #f8f9fa;
}

.redirect-example-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
    color: #001327;
    border-bottom: 2px solid #e0e0e0;
}

.redirect-example-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f0f0f0;
    color: #444;
    font-size: 0.9rem;
    font-family: 'Courier New', monospace;
}

.redirect-example-table tbody tr:last-child td {
    border-bottom: none;
}

.redirect-example-table tbody tr:hover {
    background-color: #f8f9fa;
}

@media (max-width: 768px) {
    .redirect-example-table {
        max-width: 100%;
    }
    
    .redirect-example-table th,
    .redirect-example-table td {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }
}

/* Every article table has full cell borders, so readers can see where each
   cell starts and ends. Scoped to .article-content so it outranks the older
   per-class rules (.article-table and friends) without editing each page. */
.article-content table {
    border-collapse: collapse;
}

.article-content table th,
.article-content table td,
.article-content table tbody tr:last-child td {
    border: 1px solid #d9dee5;
}

/* Article tables (caption + thead/tbody, accessibility) */
.article-table {
    width: 100%;
    margin: 2rem 0;
    border-collapse: collapse;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.article-table caption {
    padding: 0.75rem 1rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: #001327;
    text-align: left;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.article-table thead {
    background-color: #f8f9fa;
}

.article-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
    color: #001327;
    border-bottom: 2px solid #e0e0e0;
}

.article-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f0f0f0;
    color: #444;
    font-size: 0.9rem;
}

.article-table tbody tr:last-child td {
    border-bottom: none;
}

.article-table tbody tr:hover {
    background-color: #f8f9fa;
}

@media (max-width: 768px) {
    .article-table {
        font-size: 0.85rem;
    }
    .article-table th,
    .article-table td {
        padding: 0.5rem 0.75rem;
    }
}

/* Article code blocks */
.article-content pre {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow-x: auto;
    font-size: 0.9rem;
    line-height: 1.5;
}

.article-content pre code {
    font-family: 'Courier New', Courier, monospace;
    color: #333;
    background: none;
    padding: 0;
}

/* ============================================
  SCHEMA AT SCALE: READABILITY ENHANCEMENTS
  ============================================ */
.schema-scale-article .article-content {
    max-width: 76ch;
}

.schema-scale-article .article-header {
    margin-bottom: 2.25rem;
}

.schema-scale-article .article-intro {
    font-size: 1.17rem;
    line-height: 1.85;
    color: #4b5563;
    max-width: 70ch;
}

.schema-scale-article .article-content h2 {
    margin-top: 3.25rem;
    margin-bottom: 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e8edf2;
    line-height: 1.25;
}

.schema-scale-article .article-content h2:first-of-type {
    border-top: none;
    padding-top: 0;
}

.schema-scale-article .article-content h3 {
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.schema-scale-article .article-content p,
.schema-scale-article .article-content li {
    color: #374151;
}

.schema-scale-article .article-content ul,
.schema-scale-article .article-content ol {
    margin-left: 1.35rem;
}

.schema-scale-article .article-content li {
    margin-bottom: 0.7rem;
    padding-left: 0.2rem;
}

.schema-scale-article .article-content ul li::marker {
    color: #22c55e;
}

.schema-scale-article .article-content ol li::marker {
    font-weight: 700;
    color: #001327;
}

.schema-scale-article .article-table {
    border-color: #dfe7ef;
    box-shadow: 0 6px 16px rgba(0, 19, 39, 0.05);
}

.schema-scale-article .article-table caption {
    font-size: 0.9rem;
    letter-spacing: 0.02em;
}

.schema-scale-article .article-table th {
    font-size: 0.9rem;
}

.schema-scale-article .article-content pre {
    background: #f8fafc;
    border: 1px solid #dbe7f3;
    border-left: 4px solid #39ff12;
    border-radius: 10px;
}

.schema-scale-article .faq-card {
    border-radius: 10px;
    border-color: #e2e8f0;
    box-shadow: 0 2px 10px rgba(0, 19, 39, 0.04);
}

.schema-scale-article .faq-card h3 {
    font-size: 1.02rem;
    line-height: 1.35;
}

@media (max-width: 968px) {
    .schema-scale-article .article-content {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .schema-scale-article .article-header {
        margin-bottom: 1.75rem;
        padding-bottom: 1.5rem;
    }

    .schema-scale-article .article-intro {
        font-size: 1.05rem;
        line-height: 1.75;
    }

    .schema-scale-article .article-content h2 {
        font-size: 1.55rem;
        margin-top: 2.3rem;
        padding-top: 1rem;
    }

    .schema-scale-article .article-content h3 {
        font-size: 1.15rem;
    }

    .schema-scale-article .article-content p,
    .schema-scale-article .article-content li {
        font-size: 0.98rem;
        line-height: 1.72;
    }

    .schema-scale-article .article-content ul,
    .schema-scale-article .article-content ol {
        margin-left: 1.1rem;
    }
}

/* ------------------------------------------------------------------
   Reading blocks (kb-*). Opt-in components for long guides: key facts,
   titled notes, comparisons, steps, timelines, checklists, figures and
   a bottom line. Every rule is scoped under .article-content so it beats
   the plain `.article-content p` and list rules without !important.
   ------------------------------------------------------------------ */
.article-content {
    --kb-navy: #001327;
    --kb-navy-2: #0b2a4a;
    --kb-green: #39FF12;
    --kb-green-ink: #157a2c;
    --kb-ink: #1f2937;
    --kb-muted: #5b6676;
    --kb-line: #e2e8f0;
    --kb-soft: #f6f8fb;
    --kb-amber: #b45309;
    --kb-amber-soft: #fff7e8;
}

/* Lead paragraph */
.article-content .kb-lead {
    font-size: 1.22rem;
    line-height: 1.7;
    color: var(--kb-ink);
}

/* Key facts strip */
.article-content .kb-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.75rem;
    margin: 2rem 0 2.5rem;
    padding: 0;
    list-style: none;
}
.article-content .kb-facts li {
    margin: 0;
    padding: 1rem 1.1rem;
    background: var(--kb-soft);
    border: 1px solid var(--kb-line);
    border-top: 3px solid var(--kb-navy);
    border-radius: 8px;
}
.article-content .kb-facts a { text-decoration: none; color: inherit; display: block; }
.article-content .kb-facts a:hover .kb-facts__value { text-decoration: underline; }
.article-content .kb-facts__value {
    display: block;
    font-family: "Raleway", sans-serif;
    font-weight: 800;
    font-size: 1.6rem;
    line-height: 1.15;
    color: var(--kb-navy);
}
.article-content .kb-facts__label {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.88rem;
    line-height: 1.45;
    color: var(--kb-muted);
}

/* Titled notes */
.article-content .kb-note {
    margin: 2rem 0;
    padding: 1.15rem 1.35rem;
    background: var(--kb-soft);
    border: 1px solid var(--kb-line);
    border-left: 4px solid var(--kb-navy);
    border-radius: 8px;
}
.article-content .kb-note__title {
    display: block;
    margin-bottom: 0.35rem;
    font-family: "Raleway", sans-serif;
    font-weight: 800;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--kb-navy);
}
.article-content .kb-note p,
.article-content .kb-note li { font-size: 1rem; line-height: 1.65; color: var(--kb-ink); }
.article-content .kb-note p:last-child,
.article-content .kb-note ul:last-child { margin-bottom: 0; }
.article-content .kb-note--warn { background: var(--kb-amber-soft); border-color: #f4dfb6; border-left-color: #f59e0b; }
.article-content .kb-note--warn .kb-note__title { color: var(--kb-amber); }
.article-content .kb-note--tip { border-left-color: var(--kb-green); }
.article-content .kb-note--tip .kb-note__title { color: var(--kb-green-ink); }
.article-content .kb-note--example { background: #fff; border-left-color: var(--kb-navy-2); }
.article-content .kb-note--example code { font-size: 0.92rem; }

/* Side-by-side comparison */
.article-content .kb-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 2rem 0;
}
.article-content .kb-compare__col {
    padding: 1.15rem 1.25rem;
    border: 1px solid var(--kb-line);
    border-radius: 8px;
    background: #fff;
}
.article-content .kb-compare__col h4 {
    margin: 0 0 0.6rem;
    font-family: "Raleway", sans-serif;
    font-size: 1rem;
    font-weight: 800;
    color: var(--kb-navy);
}
.article-content .kb-compare__col--good { border-top: 3px solid var(--kb-green); }
.article-content .kb-compare__col--bad { border-top: 3px solid #f59e0b; }
.article-content .kb-compare__col--neutral { border-top: 3px solid var(--kb-navy); }
.article-content .kb-compare__col p,
.article-content .kb-compare__col li { font-size: 0.98rem; line-height: 1.6; color: var(--kb-ink); }
.article-content .kb-compare__col ul { margin: 0; padding-left: 1.1rem; }
.article-content .kb-compare__col li { margin-bottom: 0.4rem; }
.article-content .kb-compare__col p:last-child { margin-bottom: 0; }
.article-content .kb-compare__big {
    display: block;
    font-family: "Raleway", sans-serif;
    font-weight: 800;
    font-size: 2rem;
    line-height: 1.1;
    color: var(--kb-navy);
    margin-bottom: 0.3rem;
}

/* Numbered steps */
.article-content .kb-steps {
    counter-reset: kb-step;
    list-style: none;
    margin: 2rem 0;
    padding: 0;
}
.article-content .kb-steps > li {
    counter-increment: kb-step;
    position: relative;
    margin: 0 0 1rem;
    padding: 1rem 1.25rem 1rem 4rem;
    background: #fff;
    border: 1px solid var(--kb-line);
    border-radius: 8px;
}
.article-content .kb-steps > li::before {
    content: counter(kb-step);
    position: absolute;
    left: 1.1rem;
    top: 1rem;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--kb-navy);
    color: var(--kb-green);
    font-family: "Raleway", sans-serif;
    font-weight: 800;
    font-size: 1rem;
    line-height: 2rem;
    text-align: center;
}
.article-content .kb-steps > li > strong:first-child {
    display: block;
    margin-bottom: 0.2rem;
    font-family: "Raleway", sans-serif;
    font-size: 1.05rem;
    color: var(--kb-navy);
}
.article-content .kb-steps p,
.article-content .kb-steps li { font-size: 1rem; line-height: 1.6; color: var(--kb-ink); }
.article-content .kb-steps p { margin: 0; }

/* Timeline */
.article-content .kb-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 0;
    margin: 2rem 0;
    padding: 0;
    list-style: none;
    border: 1px solid var(--kb-line);
    border-radius: 8px;
    overflow: hidden;
}
.article-content .kb-timeline > li {
    margin: 0;
    padding: 1.1rem 1.2rem;
    background: #fff;
    border-right: 1px solid var(--kb-line);
}
.article-content .kb-timeline > li:last-child { border-right: 0; }
.article-content .kb-timeline__when {
    display: inline-block;
    margin-bottom: 0.6rem;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    background: var(--kb-navy);
    color: var(--kb-green);
    font-family: "Raleway", sans-serif;
    font-weight: 800;
    font-size: 0.85rem;
}
.article-content .kb-timeline h4 { margin: 0 0 0.4rem; font-size: 1rem; color: var(--kb-navy); }
.article-content .kb-timeline ul { margin: 0; padding-left: 1.05rem; }
.article-content .kb-timeline li li,
.article-content .kb-timeline p { font-size: 0.95rem; line-height: 1.55; color: var(--kb-ink); margin-bottom: 0.35rem; }

/* Checklist */
.article-content .kb-checklist { list-style: none; margin: 1.25rem 0 2rem; padding: 0; }
.article-content .kb-checklist > li {
    position: relative;
    margin: 0 0 0.6rem;
    padding: 0.1rem 0 0 2rem;
    color: var(--kb-ink);
}
.article-content .kb-checklist > li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.35rem;
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 4px;
    background: var(--kb-navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%2339FF12' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
}

/* Chips */
.article-content .kb-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0 1.75rem; padding: 0; list-style: none; }
.article-content .kb-chips li {
    margin: 0;
    padding: 0.3rem 0.75rem;
    border: 1px solid var(--kb-line);
    border-radius: 999px;
    background: var(--kb-soft);
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--kb-navy);
}

/* Cards (two or three across) */
.article-content .kb-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; margin: 2rem 0; }
.article-content .kb-card { padding: 1.15rem 1.25rem; border: 1px solid var(--kb-line); border-radius: 8px; background: #fff; }
.article-content .kb-card__tag {
    display: inline-block;
    margin-bottom: 0.5rem;
    font-family: "Courier New", monospace;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--kb-green-ink);
}
.article-content .kb-card h4 { margin: 0 0 0.4rem; font-size: 1.05rem; color: var(--kb-navy); }
.article-content .kb-card p { margin: 0; font-size: 0.97rem; line-height: 1.6; color: var(--kb-ink); }

/* Figures: inline SVG diagrams and charts */
.article-content .kb-figure {
    margin: 2.25rem 0;
    padding: 1.25rem;
    background: #fff;
    border: 1px solid var(--kb-line);
    border-radius: 10px;
}
.article-content .kb-figure svg { display: block; width: 100%; height: auto; }
.article-content .kb-figure figcaption {
    margin-top: 0.85rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--kb-muted);
}
.article-content .kb-figure figcaption strong { color: var(--kb-ink); }
.article-content .kb-figure svg text { font-family: "Roboto", sans-serif; }
.article-content .kb-figure svg .kb-h { font-family: "Raleway", sans-serif; font-weight: 800; }
.article-content .kb-figure svg rect[data-tip]:hover,
.article-content .kb-figure svg g[data-tip]:hover rect { opacity: 0.85; }

/* Tables inside guides get a quiet header */
.article-content .kb-table { width: 100%; margin: 1.5rem 0 2rem; font-size: 0.97rem; }
.article-content .kb-table th { background: var(--kb-navy); color: #fff; text-align: left; padding: 0.65rem 0.8rem; font-weight: 600; }
.article-content .kb-table td { padding: 0.65rem 0.8rem; vertical-align: top; color: var(--kb-ink); line-height: 1.55; }
.article-content .kb-table tbody tr:nth-child(even) td { background: var(--kb-soft); }
.article-content .kb-table-wrap { overflow-x: auto; }

/* Bottom line */
.article-content .kb-bottomline {
    margin: 2.5rem 0;
    padding: 1.5rem 1.75rem;
    border-radius: 10px;
    background: var(--kb-navy);
    color: #e6edf5;
}
.article-content .kb-bottomline .kb-note__title { color: var(--kb-green); }
.article-content .kb-bottomline p,
.article-content .kb-bottomline li { color: #e6edf5; font-size: 1.02rem; line-height: 1.65; }
.article-content .kb-bottomline p:last-child { margin-bottom: 0; }
.article-content .kb-bottomline a { color: var(--kb-green); }
.article-content .kb-bottomline strong { color: #fff; }

@media (max-width: 768px) {
    .article-content .kb-compare { grid-template-columns: 1fr; }
    .article-content .kb-timeline > li { border-right: 0; border-bottom: 1px solid var(--kb-line); }
    .article-content .kb-timeline > li:last-child { border-bottom: 0; }
    .article-content .kb-facts__value { font-size: 1.35rem; }
    .article-content .kb-steps > li { padding-left: 3.5rem; }
    .article-content .kb-figure { padding: 0.85rem; }
}
.article-content .kb-sym { font-family: "Roboto", sans-serif; font-weight: 700; }
/* Wide diagrams keep readable labels on phones by scrolling sideways
   instead of shrinking; charts are drawn narrow enough not to need it. */
.article-content .kb-figure--wide { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 600px) {
    .article-content .kb-figure--wide svg { min-width: 540px; }
}
.article-content .kb-figure--chart svg { max-width: 560px; }
