body.article-template-page {
    background:
        radial-gradient(circle at 8% 8%, rgba(91, 33, 182, 0.24), transparent 34%),
        radial-gradient(circle at 84% 14%, rgba(250, 204, 21, 0.09), transparent 28%),
        #111827;
    color: #f8fafc;
}

.article-shell {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
}

.article-header-shell {
    padding: 1.5rem 0 1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.article-brand-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.article-brand {
    display: inline-flex;
    flex-direction: column;
    gap: 0.25rem;
    text-decoration: none;
    color: inherit;
}

.article-brand-mark {
    color: #facc15;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
    font-weight: 900;
}

.article-brand-sub {
    color: #e2e8f0;
    font-size: 0.95rem;
    opacity: 0.92;
}

.article-template-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: rgba(250, 204, 21, 0.1);
    border: 1px solid rgba(250, 204, 21, 0.32);
    color: #facc15;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.article-brand-tagline {
    margin: 0.85rem 0 0;
    color: #cbd5e1;
    font-size: 1rem;
}

.article-nav {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    padding: 0;
    margin: 1.25rem 0 0;
}

.article-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 52px;
    padding: 0.85rem 1rem;
    border-radius: 0.95rem;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.18);
    color: #e5e7eb;
    text-decoration: none;
    font-weight: 800;
    transition: transform 0.18s ease, border-color 0.18s ease, color 0.18s ease, background-color 0.18s ease;
}

.article-nav a:hover,
.article-nav a[aria-current="page"] {
    transform: translateY(-1px);
    color: #facc15;
    border-color: rgba(250, 204, 21, 0.42);
    background: rgba(30, 41, 59, 0.88);
}

.article-main {
    padding: 1.5rem 0 4rem;
}

.article-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 1.25rem;
    color: #94a3b8;
    font-size: 0.88rem;
}

.article-breadcrumbs a {
    color: #cbd5e1;
    text-decoration: none;
}

.article-breadcrumbs a:hover {
    color: #facc15;
}

.article-layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.article-hero {
    padding: clamp(1.25rem, 3vw, 2rem);
    border-radius: 1.5rem;
    background: rgba(15, 23, 42, 0.74);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 24px 60px rgba(2, 6, 23, 0.36);
}

.article-eyebrow-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.article-kicker {
    margin: 0;
    color: #facc15;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.8rem;
    font-weight: 900;
}

.article-back-link {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 700;
}

.article-back-link:hover {
    color: #facc15;
}

.article-hero h1 {
    margin: 0.75rem 0;
    color: #ffffff;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.04;
}

.article-dek {
    max-width: 65ch;
    margin: 0;
    color: #cbd5e1;
    font-size: clamp(1rem, 2vw, 1.22rem);
    line-height: 1.68;
}

.article-meta-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.article-meta-pill {
    min-width: 140px;
    padding: 0.85rem 1rem;
    border-radius: 1rem;
    background: rgba(2, 6, 23, 0.56);
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.article-meta-pill span {
    display: block;
    margin-bottom: 0.28rem;
    color: #94a3b8;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.article-meta-pill strong {
    color: #ffffff;
    font-size: 0.96rem;
}

.article-language-box {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.25rem;
    padding: 1rem 1.15rem;
    border-radius: 1rem;
    background: rgba(88, 28, 135, 0.2);
    border: 1px solid rgba(250, 204, 21, 0.24);
}

.article-language-label {
    margin: 0;
    color: #facc15;
    font-size: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.article-language-copy {
    max-width: 62ch;
    margin: 0.35rem 0 0;
    color: #cbd5e1;
    line-height: 1.7;
}

.article-language-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.article-language-pills a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    padding: 0.72rem 1rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.88);
    border: 1px solid rgba(250, 204, 21, 0.18);
    color: #ffffff;
    text-decoration: none;
    font-weight: 900;
}

.article-language-pills a:hover,
.article-language-pills a[aria-current="page"] {
    background: #facc15;
    color: #111827;
    border-color: #facc15;
}

.article-hero-card {
    margin-top: 1.5rem;
}

.article-hero-placeholder {
    display: flex;
    align-items: flex-end;
    padding: clamp(1rem, 3vw, 1.75rem);
    aspect-ratio: 16 / 9;
    border-radius: 1.3rem;
    border: 1px solid rgba(250, 204, 21, 0.18);
    background:
        linear-gradient(135deg, rgba(76, 29, 149, 0.86), rgba(15, 23, 42, 0.94)),
        radial-gradient(circle at top left, rgba(250, 204, 21, 0.18), transparent 35%);
}

.article-hero-placeholder > div {
    max-width: 36rem;
}

.article-hero-label {
    display: inline-flex;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #f8fafc;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.article-hero-copy {
    margin: 0.85rem 0 0;
    color: #ffffff;
    font-size: clamp(1.1rem, 2.8vw, 1.85rem);
    line-height: 1.28;
    font-weight: 800;
}

.article-hero-card figcaption {
    margin-top: 0.8rem;
    color: #94a3b8;
    font-size: 0.92rem;
    line-height: 1.65;
}

.article-stage {
    display: grid;
    gap: 1.5rem;
    align-items: start;
}

.article-prose-wrap {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.article-template-note,
.article-callout,
.article-checklist,
.article-cta-card,
.article-taxonomy,
.article-related,
.article-prose,
.article-sidebar-card {
    background: rgba(15, 23, 42, 0.74);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 1.5rem;
    box-shadow: 0 18px 50px rgba(2, 6, 23, 0.24);
}

.article-template-note,
.article-callout,
.article-checklist,
.article-cta-card,
.article-taxonomy,
.article-related,
.article-sidebar-card {
    padding: 1.15rem 1.25rem;
}

.article-template-note {
    background: rgba(250, 204, 21, 0.08);
    border-color: rgba(250, 204, 21, 0.34);
}

.article-template-note strong {
    color: #facc15;
}

.article-prose {
    padding: clamp(1.25rem, 3vw, 2rem);
}

.article-prose h2,
.article-prose h3 {
    scroll-margin-top: 1.25rem;
}

.article-prose h2 {
    margin: 2rem 0 1rem;
    color: #ffffff;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 900;
}

.article-prose h2:first-child {
    margin-top: 0;
}

.article-prose h3,
.article-checklist h3,
.article-callout h3,
.article-cta-card h3,
.article-related-card h3 {
    margin: 1.6rem 0 0.75rem;
    color: #facc15;
    font-size: 1.15rem;
    font-weight: 800;
}

.article-checklist h3,
.article-callout h3,
.article-cta-card h3,
.article-related-card h3 {
    margin-top: 0;
}

.article-prose p,
.article-prose li,
.article-checklist li,
.article-callout p,
.article-cta-card p,
.article-related-card p,
.article-template-note,
.article-sidebar-tip {
    color: #e2e8f0;
    line-height: 1.85;
    font-size: 1rem;
}

.article-prose p + p {
    margin-top: 1rem;
}

.article-prose ul,
.article-prose ol,
.article-checklist ul,
.article-callout ul {
    margin: 1rem 0 1.25rem 1.35rem;
}

.article-prose a,
.article-cta-actions a,
.article-section-head a,
.article-footer a,
.article-sidebar-head a {
    text-underline-offset: 3px;
}

.article-prose a {
    color: #facc15;
    text-decoration: underline;
}

.article-prose strong {
    color: #ffffff;
}

.article-pullquote {
    margin: 1.75rem 0;
    padding: 1.25rem 1.5rem;
    border-left: 4px solid #facc15;
    border-radius: 1rem;
    background: rgba(30, 41, 59, 0.82);
    color: #ffffff;
    font-size: 1.1rem;
    line-height: 1.75;
}

.article-pullquote cite {
    display: block;
    margin-top: 0.8rem;
    color: #cbd5e1;
    font-size: 0.94rem;
    font-style: normal;
}

.article-callout {
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.25);
}

.article-cta-card {
    background: linear-gradient(135deg, rgba(76, 29, 149, 0.36), rgba(15, 23, 42, 0.92));
    border-color: rgba(250, 204, 21, 0.24);
}

.article-cta-card p {
    margin: 0;
    color: #cbd5e1;
}

.article-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.article-cta-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.85rem 1rem;
    border-radius: 0.95rem;
    text-decoration: none;
    font-weight: 800;
}

.article-cta-primary {
    background: #7c3aed;
    color: #ffffff;
}

.article-cta-primary:hover {
    background: #6d28d9;
}

.article-cta-secondary {
    background: rgba(15, 23, 42, 0.84);
    border: 1px solid rgba(148, 163, 184, 0.18);
    color: #ffffff;
}

.article-cta-secondary:hover {
    border-color: rgba(250, 204, 21, 0.34);
    color: #facc15;
}

.article-section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.article-section-head h2 {
    margin: 0;
    color: #ffffff;
    font-size: 1.2rem;
}

.article-section-head a {
    color: #facc15;
    text-decoration: none;
    font-weight: 800;
}

.article-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.article-tag-list a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.62rem 0.9rem;
    border-radius: 999px;
    background: rgba(30, 41, 59, 0.95);
    border: 1px solid rgba(148, 163, 184, 0.18);
    color: #f8fafc;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 700;
}

.article-tag-list a:hover {
    border-color: rgba(250, 204, 21, 0.44);
    color: #facc15;
}

.article-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 999px;
    background: rgba(30, 41, 59, 0.94);
    color: #ffffff;
    font-weight: 800;
    cursor: pointer;
    transition: border-color 0.18s ease, color 0.18s ease, background-color 0.18s ease;
}

.article-share-btn:hover,
.article-share-btn:focus-visible {
    outline: none;
    color: #facc15;
    border-color: rgba(250, 204, 21, 0.44);
}

.article-share-btn.is-copied {
    background: #facc15;
    color: #111827;
    border-color: #facc15;
}

.article-related-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.article-related-card {
    display: block;
    padding: 1.15rem;
    border-radius: 1.25rem;
    background: rgba(2, 6, 23, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.18);
    color: inherit;
    text-decoration: none;
    transition: transform 0.18s ease, border-color 0.18s ease;
}

.article-related-card:hover {
    transform: translateY(-2px);
    border-color: rgba(250, 204, 21, 0.42);
}

.article-related-kicker {
    margin: 0;
    color: #94a3b8;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.article-related-card h3 {
    margin-top: 0.45rem;
    color: #ffffff;
    font-size: 1.05rem;
}

.article-related-card p {
    margin: 0;
    color: #cbd5e1;
    font-size: 0.96rem;
}

.article-sidebar-card {
    position: sticky;
    top: 1.5rem;
}

.article-sidebar-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.article-sidebar-head h2 {
    margin: 0;
    color: #facc15;
    font-size: 0.84rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.article-sidebar-head a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
}

.article-sidebar-card nav {
    margin-top: 0.9rem;
}

.article-sidebar-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.42rem;
}

.article-sidebar-card li {
    margin: 0;
}

.article-sidebar-card a {
    display: block;
    padding: 0.62rem 0.75rem;
    border-radius: 0.82rem;
    background: rgba(30, 41, 59, 0.66);
    border: 1px solid transparent;
    color: #e2e8f0;
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.5;
}

.article-sidebar-card a[data-level="3"] {
    margin-left: 0.85rem;
    color: #cbd5e1;
    font-size: 0.9rem;
}

.article-sidebar-card a:hover,
.article-sidebar-card a.is-active {
    border-color: rgba(250, 204, 21, 0.4);
    color: #facc15;
    background: rgba(51, 65, 85, 0.92);
}

.article-sidebar-tip {
    margin: 1rem 0 0;
    color: #94a3b8;
    font-size: 0.88rem;
}

.article-sidebar-card.is-empty {
    display: none;
}

.article-footer-shell {
    padding: 1.5rem 0 2.5rem;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    color: #94a3b8;
    font-size: 0.94rem;
}

.article-footer a {
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 700;
}

.article-footer a:hover {
    color: #facc15;
}
/* =====================
   SOCIAL SHARE BAR
   ===================== */

.article-share-section-label {
    display: block;
    margin-bottom: 0.75rem;
    color: #94a3b8;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.article-share-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
    margin-top: 0;
    padding: 1rem 0 0.5rem;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.article-share-bar a,
.article-share-bar button {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 42px;
    padding: 0.6rem 1rem;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: opacity 0.18s ease, transform 0.15s ease;
    white-space: nowrap;
}

.article-share-bar a:hover,
.article-share-bar button:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

.share-btn-whatsapp {
    background: #25D366;
    color: #fff;
}

.share-btn-facebook {
    background: #1877F2;
    color: #fff;
}

.share-btn-x {
    background: #000;
    color: #fff;
    border-color: rgba(255,255,255,0.15) !important;
}

.share-btn-linkedin {
    background: #0A66C2;
    color: #fff;
}

.share-btn-copy {
    background: rgba(30, 41, 59, 0.95);
    color: #ffffff;
    border-color: rgba(148, 163, 184, 0.28) !important;
}

.share-btn-copy.is-copied {
    background: #facc15;
    color: #111827;
    border-color: #facc15 !important;
}

/* Legacy copy-link button (old-style articles) */
.article-copy-btn,
.article-copy-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 40px;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: rgba(30, 41, 59, 0.95);
    border: 1px solid rgba(148, 163, 184, 0.28);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 800;
    cursor: pointer;
    transition: border-color 0.18s ease, color 0.18s ease;
}

.article-copy-btn:hover,
.article-copy-link-btn:hover {
    border-color: rgba(250, 204, 21, 0.44);
    color: #facc15;
}

@media (min-width: 700px) {
    .article-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 820px) {
    .article-nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1100px) {
    .article-stage {
        grid-template-columns: minmax(0, 1fr) 300px;
    }
}

@media (max-width: 767px) {
    .article-shell {
        width: min(100% - 1rem, 1180px);
    }

    .article-header-shell {
        padding-top: 1rem;
    }

    .article-brand-tagline {
        font-size: 0.95rem;
    }
}
