/* DataMine Article Styles — Spec v3.0 */

.dm-article-wrap {
    max-width: 780px;
}

.dm-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 18px;
}

.dm-breadcrumb a:hover {
    color: var(--accent-red);
}

.dm-article-header {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.dm-article-title {
    font-family: var(--font-display);
    font-size: 40px;
    line-height: 1.08;
    margin: 14px 0 16px;
    color: var(--text-main);
}

.dm-article-byline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.dm-article-featured {
    margin: 0 0 28px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-card);
}

.dm-article-featured img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center top;
}

.dm-article-featured figcaption {
    padding: 8px 12px;
    border-top: 1px solid var(--border-color);
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
}

.dm-article-body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    color: var(--text-main);
}

.dm-article-body p {
    margin: 0 0 20px;
}

.dm-article-body h2 {
    font-family: var(--font-display);
    font-size: 26px;
    line-height: 1.15;
    margin: 34px 0 14px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    color: var(--text-main);
}

.dm-article-body a {
    color: var(--accent-red);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.dm-article-body ul,
.dm-article-body ol {
    margin: 0 0 20px;
    padding-left: 22px;
}

.dm-article-body li {
    margin-bottom: 8px;
}

.dm-article-body code {
    font-family: var(--font-mono);
    font-size: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2px 6px;
}

/* Mandatory AI-Generated Structured Boxes (Master Execution Spec v3.0) */
.tldr-box {
    background: #14161A;
    border: 1px solid #2A2E35;
    border-left: 4px solid #FF2A3C;
    padding: 20px 24px;
    margin: 24px 0;
}

.tldr-box::before {
    content: "THE TL;DR // QUICK BRIEF";
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 700;
    color: #FF2A3C;
    margin-bottom: 10px;
}

.tldr-box ul {
    margin: 0;
    padding-left: 18px;
}

.tldr-box li:last-child {
    margin-bottom: 0;
}

.action-box {
    background: #14161A;
    border: 1px solid #FACC15;
    border-left: 4px solid #FACC15;
    padding: 20px 24px;
    margin: 28px 0;
}

.action-box h3 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: #FACC15;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 12px;
}

.action-box ol {
    margin: 0;
    padding-left: 20px;
}

.action-box li:last-child {
    margin-bottom: 0;
}

.dm-source-box {
    margin-top: 28px;
    padding: 14px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
}

.dm-source-box a {
    color: var(--text-main);
    text-decoration: underline;
}

.dm-related-incidents {
    margin-top: 28px;
    padding: 20px 22px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--accent-red);
}

.dm-related-incidents h2 {
    font-family: var(--font-mono);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-main);
    margin: 0 0 14px;
}

.dm-related-incidents ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dm-related-incidents li {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    font-size: 15px;
    line-height: 1.4;
}

.dm-related-kind {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--accent-red);
    flex-shrink: 0;
}

.dm-related-incidents a {
    color: var(--text-main);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.dm-byline-author a {
    color: var(--text-main);
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (max-width: 640px) {
    .dm-article-title {
        font-size: 30px;
    }
    .dm-article-byline {
        gap: 6px 12px;
    }
    .dm-byline-sep {
        display: none;
    }
}
