/* Extra styles for long-form articles that use the insights layout
   (art-hero / art-body / art-content). Adds tables, numbered lists,
   checklists, FAQ blocks and the closing call-to-action box. */

.art-content table.art-table {
    font-size: 15px;
    margin: 0;
}
.art-content .table-responsive {
    margin: 20px 0 28px;
}
.art-content table.art-table thead th {
    background: #1a1a2e;
    color: #fff;
    border-color: #1a1a2e;
    font-weight: 600;
    vertical-align: middle;
}
.art-content table.art-table td {
    vertical-align: top;
}
.art-content table.art-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.art-content ol {
    padding-left: 22px;
    margin-bottom: 20px;
}
.art-content ol li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.art-content ul.md-checklist {
    list-style: none;
    padding-left: 0;
}
.art-content ul.md-checklist li {
    position: relative;
    padding-left: 30px;
}
.art-content ul.md-checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 16px;
    height: 16px;
    border: 2px solid #f1b621;
    border-radius: 3px;
}

.art-content h4 {
    font-size: 18px;
    font-weight: 700;
    margin: 24px 0 10px;
}

.art-content code {
    background: #f1f3f5;
    padding: 1px 6px;
    border-radius: 3px;
    font-size: 90%;
}

.art-content .faq-item {
    border-left: 3px solid #f1b621;
    padding: 4px 0 4px 16px;
    margin: 0 0 18px;
}
.art-content .faq-item h3 {
    font-size: 18px;
    margin: 0 0 6px;
}
.art-content .faq-item p {
    margin: 0;
}

.art-content .art-cta {
    background: #1a1a2e;
    color: #fff;
    border-radius: 8px;
    padding: 24px 28px;
    margin: 36px 0 10px;
}
.art-content .art-cta p {
    color: #fff;
    margin: 0;
}
.art-content .art-cta a {
    color: #f1b621;
    font-weight: 600;
}

.art-content figure.art-figure {
    margin: 0 0 24px;
}
.art-content figure.art-figure img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Keep headings clear of the sticky header when jumping from "In this article" */
.art-content h2[id] {
    scroll-margin-top: 110px;
}
