/* =================================================================ators
   Custom Article Typography Styles (.article)
   ================================================================= */
.article {
    font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    color: #4F5A66;
    font-size: 16px !important;   /* same running-text size as the rest of the site */
    line-height: 24px !important;
    font-weight: 500;
}

/* Paragraphs & Spacing */
.article p {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.article p:last-child {
    margin-bottom: 0;
}

/* Headings */
.article h1,
.article h2,
.article h3,
.article h4,
.article h5,
.article h6 {
    color: #0F171F;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.25;
}

.article h1 { font-size: 2.25rem; }
.article h2 { font-size: 1.875rem; }
.article h3 { font-size: 1.5rem; }
.article h4 { font-size: 1.25rem; }

/* Links */
.article a {
    color: #0F6BB4;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s ease;
}

.article a:hover {
    color: #1B5C90;
}

/* Strong / Bold */
.article strong,
.article b {
    color: #0f172a; /* slate-900 */
    font-weight: 700;
}

/* Lists */
.article ul,
.article ol {
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.article ul {
    list-style-type: disc;
}

.article ol {
    list-style-type: decimal;
}

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

/* Blockquotes */
.article blockquote {
    border-left: 4px solid #0F6BB4;
    padding-left: 1rem;
    margin-left: 0;
    margin-right: 0;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    font-style: italic;
    color: #334155; /* slate-700 */
    background-color: #EEF4FA;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    border-radius: 0 0.5rem 0.5rem 0;
}

/* Code & Pre */
.article code {
    color: #0f172a;
    background-color: #f1f5f9; /* slate-100 */
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
    font-size: 0.875em;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.article pre {
    background-color: #0f172a; /* slate-900 */
    color: #f8fafc;
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    overflow-x: auto;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.article pre code {
    background-color: transparent;
    color: inherit;
    padding: 0;
}

/* Tables & Data Grids */
.article table {
    width: 100%;
    table-layout: auto;
    text-align: left;
    margin-top: 2rem;
    margin-bottom: 2rem;
    border-collapse: collapse;
    font-size: 16px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #e2e8f0; /* slate-200 */
}

.article thead {
    background-color: #f8fafc; /* slate-50 */
    border-bottom: 2px solid #cbd5e1; /* slate-300 */
}

.article th {
    color: #0f172a; /* slate-900 */
    font-weight: 700;
    padding: 0.875rem 1rem;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.article td {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid #e2e8f0; /* slate-200 */
    color: #475569; /* slate-600 */
}

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

.article tbody tr:nth-child(even) {
    background-color: rgba(248, 250, 252, 0.5); /* subtle zebra striping */
}

/* Images */
.article img {
    border-radius: 4px;
    margin-top: 2rem;
    margin-bottom: 2rem;
    max-width: 100%;
    height: auto;
}

/* Horizontal Rule */
.article hr {
    border: 0;
    border-top: 1px solid #e2e8f0; /* slate-200 */
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}