/* Article Styles — shared across AI & Cyber article pages */

/* Article Breadcrumb */
.breadcrumb { max-width: 720px; margin: 80px auto 0; padding: 1rem 1.5rem 0; font-size: 0.8rem; color: var(--text-dim); }
.breadcrumb a { color: var(--text-dim); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold-text); }
.breadcrumb span { margin: 0 0.35rem; }
.breadcrumb .current { color: var(--text-muted); }

/* Article Hero */
.article-hero { max-width: 720px; margin: 0 auto; padding: 2rem 1.5rem 2.5rem; text-align: center; }

.article-badge { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.35rem 0.85rem; border-radius: 20px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; background: rgba(59,130,246,0.06); color: #2563eb; border: 1px solid rgba(59,130,246,0.12); margin-bottom: 1.25rem; }
.article-badge svg { width: 13px; height: 13px; stroke: #2563eb; }

.article-hero h1 { font-family: var(--serif); font-size: 2.4rem; font-weight: 700; line-height: 1.18; margin-bottom: 1rem; max-width: 650px; margin-left: auto; margin-right: auto; }
.article-subtitle { font-size: 1.1rem; color: var(--text-muted); line-height: 1.7; max-width: 560px; margin: 0 auto 1.75rem; }

.article-meta { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }
.article-meta-item { display: flex; align-items: center; gap: 0.35rem; font-size: 0.8rem; color: var(--text-dim); }
.article-meta-item svg { width: 15px; height: 15px; fill: none; stroke: var(--text-dim); stroke-width: 2; }

/* Separator */
.sep { border: none; border-top: 1px solid rgba(10,22,40,0.06); margin: 0; max-width: 720px; margin-left: auto; margin-right: auto; }

/* Article Content */
.article-content { max-width: 720px; margin: 0 auto; padding: 0 1.5rem 2rem; }
.article-section { margin-top: 2.5rem; }
.article-section h2 { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid rgba(10,22,40,0.06); }
.article-section p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 1rem; }
.article-section ul { list-style: none; margin-bottom: 1rem; }
.article-section ul li { position: relative; padding-left: 1.25rem; margin-bottom: 0.6rem; font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; }
.article-section ul li::before { content: ''; position: absolute; left: 0; top: 0.55rem; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }
.article-section ol { list-style: none; padding: 0; counter-reset: step; margin-bottom: 1rem; }
.article-section ol li { position: relative; padding-left: 2.25rem; margin-bottom: 1rem; font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; counter-increment: step; }
.article-section ol li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 22px; height: 22px; background: rgba(192,178,131,0.1); border: 1px solid rgba(192,178,131,0.25); border-radius: 50%; font-size: 0.75rem; font-weight: 700; color: var(--gold-text); display: flex; align-items: center; justify-content: center; line-height: 1; }
.article-section ol li strong { color: var(--text); }

/* Key Stat */
.key-stat { background: var(--glass-bg); border: 1px solid rgba(192,178,131,0.2); border-left: 3px solid var(--gold); border-radius: 0 12px 12px 0; padding: 2rem 2.25rem; margin: 2rem 0; text-align: center; }
.key-stat-value { font-family: var(--serif); font-size: 2.8rem; font-weight: 700; color: var(--gold-text); line-height: 1.1; margin-bottom: 0.5rem; }
.key-stat-label { font-size: 0.95rem; color: var(--text-muted); line-height: 1.5; }
.key-stat-source { font-size: 0.75rem; color: var(--text-dim); margin-top: 0.5rem; }

/* Workshop CTA */
.workshop-cta { background: rgba(192,178,131,0.04); border: 1px solid rgba(192,178,131,0.15); border-radius: 16px; padding: 3rem 2rem; text-align: center; margin-top: 2rem; }
.workshop-cta h2 { font-family: var(--serif); font-size: 1.8rem; font-weight: 600; margin-bottom: 1rem; border: none; padding-bottom: 0; }
.workshop-cta p { font-size: 1rem; color: var(--text-muted); margin-bottom: 2rem; max-width: 550px; margin-left: auto; margin-right: auto; line-height: 1.7; }

/* Buttons */
.btn-gold-fill { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--navy); background: var(--gold); border: 1px solid var(--gold); padding: 0.75rem 1.75rem; border-radius: 8px; font-family: var(--sans); font-size: 0.95rem; font-weight: 600; text-decoration: none; transition: all 0.3s; cursor: pointer; }
.btn-gold-fill:hover { background: #d4c896; }
.btn-gold-fill svg { width: 16px; height: 16px; }

.btn-gold { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--gold-text); border: 1px solid rgba(192,178,131,0.35); padding: 0.75rem 1.75rem; border-radius: 8px; font-family: var(--sans); font-size: 0.95rem; font-weight: 600; text-decoration: none; transition: all 0.3s; background: transparent; cursor: pointer; }
.btn-gold:hover { background: rgba(192,178,131,0.12); border-color: var(--gold); }

/* ─── Related Articles Section ─── */
.ra-section { margin-top: 4rem; padding-top: 3rem; border-top: 1px solid rgba(10,22,40,0.06); }
.ra-heading { font-family: var(--serif); font-size: 1.4rem; color: #0A1628; margin-bottom: 1.5rem; }
.ra-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.ra-card { background: #fff; border: 1px solid rgba(10,22,40,0.06); border-radius: 12px; overflow: hidden; text-decoration: none; color: inherit; transition: transform 0.3s, box-shadow 0.3s; display: block; }
.ra-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.ra-card-icon { padding: 1.5rem; display: flex; align-items: center; justify-content: center; }
.ra-card-icon svg { width: 40px; height: 40px; stroke: #0A1628; opacity: 0.4; fill: none; stroke-width: 1.5; }
.ra-card-body { padding: 0 1.25rem 1.25rem; }
.ra-card-badge { display: inline-block; padding: 0.2rem 0.6rem; border-radius: 4px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.5rem; }
.ra-card-title { font-family: var(--serif); font-size: 1rem; color: #0A1628; margin-bottom: 0.4rem; line-height: 1.3; }
.ra-card-desc { font-size: 0.85rem; color: #5A5A6E; line-height: 1.6; margin: 0; }
.ra-more { text-align: center; margin-top: 1.5rem; }

/* ─── Cross-Cluster Links ─── */
.ccl-box { max-width: 900px; margin: 2rem auto 0; padding: 0 1.5rem; }
.ccl-inner { background: rgba(192,178,131,0.04); border: 1px solid rgba(192,178,131,0.12); border-radius: 12px; padding: 1.5rem 2rem; }
.ccl-heading { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: #0A1628; margin-bottom: 1rem; }
.ccl-list { list-style: none; padding: 0; margin: 0; }

/* ─── Related Resources Detail Cards ─── */
.rr-card-title { font-size: 0.9rem; font-weight: 600; }
.rr-card-desc { font-size: 0.85rem; color: var(--muted); margin-bottom: 0.5rem; }
.rr-stat-value { color: var(--gold-text); font-size: 2rem; font-weight: 700; font-family: var(--serif); }
.rr-stat-label { font-size: 0.75rem; color: var(--muted); }

/* Resource bullet items (article lists) */
.resource-bullet { position: relative; padding-left: 1.5rem; margin-bottom: 0.75rem; font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; }
.gold-dot { position: absolute; left: 0; top: 0.55rem; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; display: inline-block; }

/* Spacing helpers */
.mb-3 { margin-bottom: 3rem; }

/* ─── Related Resources (article variant) ─── */
.rr-section { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; margin-bottom: 1.25rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--glass-border); }
.rr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.rr-card { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 12px; padding: 1.5rem; text-decoration: none; color: inherit; transition: border-color 0.2s; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.rr-card:hover { border-color: var(--gold); }

/* Responsive */
@media (max-width: 768px) {
    .article-hero h1 { font-size: 1.9rem; }
    .article-subtitle { font-size: 1rem; }
    .key-stat-value { font-size: 2.2rem; }
    .workshop-cta { padding: 2.5rem 1.5rem; }
    .workshop-cta h2 { font-size: 1.5rem; }
    .ra-grid, .rr-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .article-hero h1 { font-size: 1.6rem; }
    .article-meta { gap: 1rem; }
    .article-section h2 { font-size: 1.35rem; }
    .key-stat { padding: 1.5rem; }
    .key-stat-value { font-size: 2rem; }
    .workshop-cta h2 { font-size: 1.35rem; }
}

/* DSM-019: Mobile overflow fix — constrain article containers to viewport */
@media (max-width: 600px) {
    .breadcrumb, .article-hero, .article-content, .sep,
    .ccl-box, .ccl-inner { max-width: 100%; }
    .article-hero h1 { max-width: 100%; }
    .ccl-inner { padding: 1.5rem 1rem; }
    .key-stat { padding: 1.25rem 1rem; }
}
