/* ============================================================
   IsoGentiX Phase 2 — article layout (Knowledge Base)
   Uses the brand tokens from site.css. Load after site.css.
   ============================================================ */

.article-hero { background: var(--navy); color: #fff; padding: clamp(4.5rem, 9vw, 7.5rem) 0 clamp(2.5rem, 5vw, 4rem); position: relative; overflow: hidden; }
.article-hero .hero-bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; }
.article-hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse 60% 70% at 88% 0%, rgba(21,166,10,0.16), transparent 60%), radial-gradient(ellipse 60% 80% at 0% 100%, rgba(27,79,138,0.4), transparent 60%); }
.article-hero.has-image::before { background: linear-gradient(180deg, rgba(10,22,40,0.42) 0%, rgba(10,22,40,0.3) 42%, rgba(10,22,40,0.72) 100%); }
.article-hero.has-image .article-title, .article-hero.has-image .article-standfirst, .article-hero.has-image .article-hub-label, .article-hero.has-image .article-meta { text-shadow: 0 1px 3px rgba(0,0,0,0.6), 0 2px 20px rgba(0,0,0,0.4); }
.article-hero .wrap { position: relative; z-index: 2; }
.article-hub-label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-bright); display: block; margin-bottom: 1.1rem; }
.article-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.2rem, 5vw, 3.6rem); color: #fff; line-height: 1.1; letter-spacing: -0.01em; max-width: 20ch; }
.article-standfirst { color: rgba(255,255,255,0.8); font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 300; line-height: 1.6; max-width: 62ch; margin-top: 1.3rem; }
.article-meta { display: flex; gap: 1.6rem; flex-wrap: wrap; margin-top: 1.8rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,0.14); font-family: var(--font-mono); font-size: 0.72rem; color: rgba(255,255,255,0.5); letter-spacing: 0.04em; }

.article-wrap { max-width: 740px; margin: 0 auto; padding: clamp(3rem, 6vw, 5rem) 1.5rem; }
.article-back { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.9rem; color: var(--blue); text-decoration: none; margin-bottom: 2.5rem; font-weight: 500; }
.article-back:hover { color: var(--blue-strong); }
.article-wrap h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--navy); margin: 2.8rem 0 1rem; line-height: 1.2; }
.article-wrap h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; color: var(--blue); margin: 2rem 0 0.7rem; }
.article-wrap p { color: var(--ink-soft); line-height: 1.75; margin-bottom: 1.1rem; font-size: 1.05rem; }
.article-wrap ul, .article-wrap ol { color: var(--ink-soft); line-height: 1.75; padding-left: 1.4rem; margin-bottom: 1.4rem; }
.article-wrap li { margin-bottom: 0.5rem; }
.article-wrap em { font-style: italic; }
.article-wrap strong { color: var(--navy); font-weight: 600; }

.a-callout { background: var(--pale-blue); border-left: 4px solid var(--blue); border-radius: var(--radius); padding: 1.5rem 1.8rem; margin: 2rem 0; }
.a-callout strong { display: block; color: var(--navy); font-size: 0.95rem; font-weight: 600; margin-bottom: 0.5rem; }
.a-callout p { color: var(--ink-soft); font-size: 0.98rem; margin: 0; line-height: 1.7; }

.a-pullquote { border-left: 4px solid var(--green); padding: 0.6rem 0 0.6rem 1.6rem; margin: 2.4rem 0; font-family: var(--font-display); font-style: italic; font-size: clamp(1.3rem, 2.4vw, 1.9rem); color: var(--navy); line-height: 1.35; }

.a-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1.2rem; background: var(--navy); border-radius: var(--radius); padding: 2rem; margin: 2.2rem 0; }
.a-stats .sn { display: block; font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.6rem); color: #fff; line-height: 1; margin-bottom: 0.4rem; }
.a-stats .sn em { color: var(--green-bright); font-style: normal; }
.a-stats .sl { font-size: 0.8rem; color: rgba(255,255,255,0.68); line-height: 1.45; }

.a-table-wrap { overflow-x: auto; margin: 2rem 0; }
.a-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 540px; }
.a-table th { background: var(--navy); color: #fff; padding: 0.8rem 1rem; text-align: left; font-weight: 600; font-size: 0.72rem; letter-spacing: 0.05em; text-transform: uppercase; }
.a-table td { padding: 0.8rem 1rem; border-bottom: 1px solid var(--line); color: var(--ink-soft); vertical-align: top; line-height: 1.55; }
.a-table tr:last-child td { border-bottom: none; }
.a-table tr:nth-child(even) td { background: var(--cool-grey); }
.a-table tr.hl td { background: var(--pale-blue); color: var(--navy); font-weight: 600; border-left: 3px solid var(--blue); }
.a-source { font-family: var(--font-mono); font-size: 0.76rem; color: var(--ink-faint); margin: -0.6rem 0 1.6rem; }

.a-related { background: var(--navy); padding: clamp(3rem, 6vw, 4.5rem) 0; }
.a-related h2 { font-family: var(--font-display); font-weight: 400; color: #fff; font-size: 1.8rem; margin: 0 0 1.8rem; }
.a-related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.1rem; }
.a-related-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); padding: 1.4rem; text-decoration: none; display: flex; flex-direction: column; gap: 0.5rem; transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease); }
.a-related-card:hover { background: rgba(255,255,255,0.09); border-color: rgba(21,166,10,0.5); transform: translateY(-3px); }
.a-related-label { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-bright); }
.a-related-title { font-family: var(--font-display); font-size: 1.05rem; color: #fff; line-height: 1.35; }
