/* Articles: explainers built on others' documents and reporting. Burgundy is the Article color
   (Notes are blue, Analysis is gold). Loaded after analysis.css, which supplies the report layout. */

/* Listing page */
.articles-hero .hero-label { color:#E3A3B4; }
.articles-hero .hero-label::before { background:#E3A3B4; }
.articles-hero.page-hero { background:linear-gradient(135deg, var(--purple-dark) 0%, #3E1027 100%); }
.articles-hero.page-hero::before { border-color:rgba(227,163,180,0.18); }
.article-card-b .card-accent { background:linear-gradient(to right, var(--article), #B54A66); }
.article-card-b .article-tag { color:var(--article); background:rgba(123,30,58,0.08); }
.article-card-b .read-link { color:var(--article); }
.article-card-b:hover { box-shadow:0 16px 48px rgba(92,18,41,0.14); }

/* Single article */
.article-page { padding-top:8rem; }
.article-page .back-btn { color:var(--article); }
.article-tags { display:flex; flex-wrap:wrap; align-items:center; gap:0.5rem; margin-bottom:1.25rem; }
.article-tags .full-tag { margin-bottom:0; color:var(--article); background:rgba(123,30,58,0.08); text-decoration:none; }
.article-kind { display:inline-block; font-size:0.7rem; font-weight:500; letter-spacing:0.14em; text-transform:uppercase; color:white; background:var(--article); padding:0.3rem 0.75rem; }
.article-dek { font-family:'DM Sans',sans-serif; font-weight:400; font-size:1.08rem; line-height:1.6; letter-spacing:0.01em; color:var(--mid); margin:0.1rem 0 1rem; padding-left:0.9rem; border-left:2px solid var(--article); max-width:640px; }
.article-page .full-meta { margin-bottom:2.25rem; }

.tldr { background:white; border:1px solid var(--warm-gray); border-top:3px solid var(--article); padding:1.4rem 1.6rem 1rem; margin:0 0 3rem; }
.tldr-title { font-size:0.72rem; font-weight:500; letter-spacing:0.16em; text-transform:uppercase; color:var(--article); margin-bottom:0.6rem; }
.tldr ul { padding-left:1.1rem; }
.tldr li { font-size:0.95rem; line-height:1.65; color:var(--mid); margin:0.45rem 0; }
.tldr li strong { color:var(--dark); font-weight:500; }

.article-page .report-section h3 { color:var(--article); }
.article-page .report-section ul { padding-left:1.4rem; margin:0 0 1.1rem; }
.article-page .report-section li { font-size:1rem; line-height:1.8; color:var(--mid); margin:0.35rem 0; }
.article-page .report-section strong { color:var(--dark); font-weight:500; }
.article-page .callout { background:rgba(123,30,58,0.06); border-left-color:var(--article); font-style:italic; }
.article-page sup a, .article-page .footnotes-section a { color:var(--article); }
.article-page sup a:hover, .article-page .footnotes-section a:hover { color:var(--article-dark); }
.article-page .report-intro a { color:var(--article); }
.article-note { font-size:0.85rem; line-height:1.7; color:#8a827c; border-top:1px solid var(--warm-gray); padding-top:1.5rem; margin-top:2.5rem; }
.article-note a { color:var(--article); }

@media (max-width: 768px) {
  .article-page { padding-top:6rem; }
  .tldr { padding:1.1rem 1.1rem 0.8rem; }
}
.article-page .report-intro + .report-intro { margin-top:-1.75rem; }
.articles-hero h1 em { color:#E3A3B4; }
/* Footnote jumps: clear the fixed nav, keep images from shifting the page, and flash the target */
.article-page .report-figure img { height:auto; }
.article-page .footnotes-section li { scroll-margin-top:6rem; }
.article-page .footnotes-section li:target { background:rgba(123,30,58,0.08); outline:6px solid rgba(123,30,58,0.08); }
