/* Blog article layout, one copy shared by every article page (Task 582). Loaded after site.css;
   a page keeps only its own unique styles in its extra.css. Table styles apply to plain tables only;
   tables with their own class (spec, cost-table, data, article-table) keep their page's design. */
.section-header { margin-bottom: 56px; }
.btn-white:hover { background: var(--blue-light); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }
.nav-logo { display: flex; align-items: center; }
#hero { background: var(--blue-dark); background-image: linear-gradient(135deg, #0d1f6e 0%, #1836ab 40%, #3061FB 100%); padding: 96px 24px 80px; position: relative; overflow: hidden; }
#hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 70% 40%, rgba(48,97,251,0.3) 0%, transparent 60%), radial-gradient(circle at 20% 80%, rgba(35,164,85,0.1) 0%, transparent 40%); pointer-events: none; }
.hero-inner { max-width: 760px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #93BBFF; background: rgba(48,97,251,0.25); padding: 5px 14px; border-radius: 100px; margin-bottom: 24px; }
.hero-dot { width: 6px; height: 6px; border-radius: 50%; background: #93BBFF; }
.hero-title { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; color: #fff; margin-bottom: 20px; }
.hero-sub { font-size: 1.15rem; color: rgba(255,255,255,0.72); line-height: 1.75; max-width: 600px; margin: 0 auto 36px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
#article { padding: 72px 0; background: #fff; }
.article-body { max-width: 760px; margin: 0 auto; }
.article-body h2.section-title { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 8px; }
.article-body h2.section-title:not(:first-child) { margin-top: 48px; }
.article-body h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.02em; color: var(--gray-900); margin: 32px 0 12px; }
.article-body p { font-size: 1.05rem; color: var(--gray-700); margin-bottom: 18px; line-height: 1.8; }
.article-body ul, .article-body ol { margin: 0 0 20px 22px; }
.article-body li { font-size: 1.05rem; color: var(--gray-700); margin-bottom: 8px; line-height: 1.75; }
#cta { background: var(--blue-dark); background-image: linear-gradient(135deg, #0d1f6e 0%, #1836ab 50%, #3061FB 100%); padding: 80px 24px; text-align: center; }
.cta-inner { max-width: 600px; margin: 0 auto; }
.cta-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #93BBFF; background: rgba(48,97,251,0.25); padding: 5px 14px; border-radius: 100px; margin-bottom: 24px; }
.cta-title { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -0.03em; color: #fff; margin-bottom: 14px; }
.cta-sub { font-size: 1rem; color: rgba(255,255,255,0.65); line-height: 1.75; margin-bottom: 32px; }
.cta-note { margin-top: 20px; font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.article-body blockquote { border-left: 3px solid var(--blue); background: var(--blue-light); padding: 18px 22px; margin: 0 0 24px; border-radius: 0 var(--r) var(--r) 0; font-size: 1.1rem; color: var(--gray-700); font-style: italic; line-height: 1.7; }
.article-body h2 { margin: 44px 0 16px; }
.article-body strong { color: var(--gray-900); }
.article-body table:not([class]) { border-collapse: collapse; width: 100%; font-size: 0.95rem; margin: 8px 0 26px; }
.article-body table:not([class]) td { color: var(--gray-700); }
.article-body table:not([class]) th { background: var(--gray-50); font-weight: 700; color: var(--gray-900); }
.article-body table:not([class]) th, .article-body table:not([class]) td { border: 1px solid var(--gray-200); padding: 12px 14px; text-align: left; vertical-align: top; }
.article-meta { font-size: 0.85rem; color: var(--gray-400); margin-bottom: 40px; }
/* Wide tables scroll inside their own box on small screens, never the page */
.table-scroll { overflow-x: auto; margin: 8px 0 26px; }
.table-scroll table { min-width: 680px; margin: 0; }
/* Inline SVG diagrams: a wide layout, and a narrow one for phones so text stays readable */
.article-figure { margin: 8px 0 28px; }
.dg { display: block; width: 100%; height: auto; }
.dg-narrow { display: none; }
@media (max-width: 680px) { .dg-wide { display: none; } .dg-narrow { display: block; } }
.dg text { font-family: var(--font); }
.dg-title { fill: var(--gray-900); }
.dg-label { fill: var(--gray-600); }
.dg-panel { fill: var(--gray-50); stroke: var(--gray-200); }
.dg-box { fill: #fff; stroke: var(--gray-300); }
.dg-box-text { fill: var(--gray-700); }
.dg-accent { fill: var(--blue); }
.dg-accent-text, .dg-accent-sub { fill: #fff; }
.dg-arrow { stroke: var(--gray-400); stroke-width: 1.5; }
.dg-arrowhead { fill: var(--gray-400); }
