/* DATASANJ article styles (series pages and blog posts) */
/* Article-only styles. Site chrome (nav, footer, buttons) comes from styles.css. */
.te-article{max-width:820px;margin:0 auto;padding:48px 0 32px}
.te-kicker{display:inline-block;background:rgba(216,101,42,.12);color:#D8652A;padding:6px 14px;border-radius:4px;font-size:12px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;margin-bottom:18px}
.te-article h1{font-family:'Sora',sans-serif;font-size:40px;line-height:1.15;letter-spacing:-.02em;margin:0 0 16px}
.te-standfirst{font-size:19px;line-height:1.6;color:#4A4A4A;margin:0 0 18px}
.te-meta{font-size:14px;color:#6B6B6B;margin-bottom:36px;padding-bottom:20px;border-bottom:1px solid #E8E6E3}
.te-meta b{color:#1B2733;font-weight:600}
.te-article h2{font-family:'Sora',sans-serif;font-size:27px;line-height:1.25;letter-spacing:-.01em;margin:52px 0 16px}
.te-article h3{font-family:'Sora',sans-serif;font-size:19px;margin:34px 0 12px}
.te-article p,.te-article li{font-size:17px;line-height:1.8;color:#3D3D3D}
.te-article p{margin:0 0 18px}
.te-article ul{margin:0 0 22px 22px}
.te-article li{margin-bottom:10px}
.te-article strong{color:#1B2733}
.te-article code{font-family:'JetBrains Mono',Consolas,monospace;font-size:.88em;background:#F5F4F2;padding:2px 6px;border-radius:4px;color:#2B2B2B}
.te-callout{background:#F5F4F2;border-left:3px solid #D8652A;padding:22px 26px;margin:30px 0;border-radius:0 8px 8px 0}
.te-callout p{margin:0;font-size:16px}
.te-callout h4{font-size:13px;font-weight:600;color:#D8652A;letter-spacing:.1em;text-transform:uppercase;margin:0 0 8px}
.te-video{background:#1A1A1A;border-radius:10px;overflow:hidden;margin:28px 0 8px;box-shadow:0 12px 40px rgba(27,39,51,.15)}
.te-video video{width:100%;display:block}
/* Embedded live Power BI report — same frame treatment as the video it replaced */
.te-embed{position:relative;width:100%;aspect-ratio:600/373.5;background:#1A1A1A;border-radius:10px;overflow:hidden;margin:28px 0 8px;box-shadow:0 12px 40px rgba(27,39,51,.15)}
.te-embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0;display:block}
/* A 16:9 report at phone width is unreadable, so trade ratio for height */
@media (max-width:768px){.te-embed{aspect-ratio:auto;height:72vh;min-height:440px}}
.te-caption{font-size:14px;color:#6B6B6B;text-align:center;font-style:italic;margin:10px 0 30px}
.te-figure{margin:26px 0 30px}
.te-figure img{width:100%;height:auto;display:block;border:1px solid #E8E6E3;border-radius:10px;box-shadow:0 8px 28px rgba(27,39,51,.08)}
.te-figure figcaption{font-size:14px;color:#6B6B6B;margin-top:10px;line-height:1.5}
.te-table{width:100%;border-collapse:collapse;margin:18px 0 30px;font-size:15px;background:#FAFAF8;border:1px solid #E8E6E3;border-radius:8px;overflow:hidden}
.te-table th{background:#F5F4F2;color:#6B6B6B;text-align:left;padding:12px 16px;font-weight:600;font-size:13px;letter-spacing:.04em;text-transform:uppercase}
.te-table td{padding:12px 16px;border-top:1px solid #EEECE9;vertical-align:top;line-height:1.55}
.te-table code{font-size:13px}
.te-band{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0 26px}
.te-band span{padding:8px 16px;border-radius:24px;font-weight:600;font-size:14px}
.te-green{background:#EAF1EC;color:#3E7A56}.te-amber{background:#FBF3E2;color:#C08A2E}.te-red{background:#F7E9E6;color:#A8412F}
.te-flow{display:flex;align-items:stretch;gap:0;margin:20px 0 30px;overflow-x:auto;padding-bottom:6px}
.te-flow .n{flex:1;min-width:120px;background:#FAFAF8;border:1px solid #E8E6E3;border-top:6px solid #D8652A;border-radius:10px;padding:14px 12px;text-align:center}
.te-flow .n b{display:block;font-size:15px;margin-bottom:4px;color:#1B2733}
.te-flow .n span{font-size:13px;color:#6B6B6B;line-height:1.4}
.te-flow .n.dark{background:#1B2733;border-top-color:#D8652A}
.te-flow .n.dark b{color:#FAFAF8}.te-flow .n.dark span{color:#BFC7CE}
.te-flow .a{align-self:center;width:26px;flex:none;height:2px;background:#9A9A9A;position:relative;margin:0 2px}
.te-flow .a:after{content:'';position:absolute;right:-1px;top:-5px;border:6px solid transparent;border-left:8px solid #9A9A9A}
.te-closing{background:#1B2733;color:#FAFAF8;padding:40px 44px;border-radius:12px;margin:48px 0 8px}
.te-closing h2{color:#FAFAF8;margin:0 0 12px;font-size:30px}
.te-closing p{color:#D9D6D2;margin:0 0 10px}
.te-fine{font-size:14px;color:#6B6B6B;font-style:italic;margin-top:28px;padding-top:18px;border-top:1px solid #E8E6E3}
@media (max-width:768px){.te-table td,.te-table code{overflow-wrap:anywhere}.te-table th,.te-table td{padding:10px}.te-article h1{font-size:30px}.te-article h2{font-size:23px}.te-flow{flex-wrap:nowrap}.te-closing{padding:28px 24px}}

/* Shared additions for series pages and migrated posts */
.te-article ul{list-style:disc}.te-article ol{list-style:decimal;margin:0 0 22px 22px}
.te-article ol li{padding-left:4px}
.te-article a:not(.btn){color:#B9531F;text-decoration:underline;text-decoration-color:#F0C9B2;text-underline-offset:3px}
.te-article a.btn{text-decoration:none}
.te-article pre{background:#F5F4F2;border-left:3px solid #D8652A;border-radius:0 8px 8px 0;padding:16px 18px;margin:18px 0 26px;overflow-x:auto}
.te-article pre code{background:none;padding:0;font-size:14px;line-height:1.6;white-space:pre}
.te-article table:not(.te-table){width:100%;border-collapse:collapse;margin:18px 0 30px;font-size:15px;background:#FAFAF8;border:1px solid #E8E6E3}
.te-article table:not(.te-table) th{background:#F5F4F2;color:#6B6B6B;text-align:left;padding:12px 14px;font-weight:600;font-size:13px;letter-spacing:.04em;text-transform:uppercase}
.te-article table:not(.te-table) td{padding:12px 14px;border-top:1px solid #EEECE9;vertical-align:top;line-height:1.55;overflow-wrap:anywhere}
.te-fig{margin:24px 0 30px;padding:18px;background:#FBFAF8;border:1px solid #EEEAE4;border-radius:12px}
.te-fig svg{display:block;width:100%;height:auto}
.te-check{border:1.5px solid #D8652A;border-radius:12px;padding:20px 24px 12px;margin:34px 0;background:#FFFCF9}
.te-check h4{font-size:13px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#B9531F;margin:0 0 12px}
.te-check ul{list-style:none!important;margin:0!important;padding:0}
.te-check li{display:flex;gap:12px;align-items:flex-start;font-size:16px!important}
.te-check li:before{content:'';flex:none;width:15px;height:15px;border:1.6px solid #1B2733;border-radius:3px;margin-top:6px}
.te-tag{display:inline-block;background:#1B2733;color:#FAFAF8;font-size:11px;font-weight:700;padding:1px 8px;border-radius:10px;margin-left:6px;vertical-align:2px;letter-spacing:.03em}
.te-cta{display:grid;grid-template-columns:120px 1fr;gap:24px;align-items:center;background:#1B2733;color:#FAFAF8;border-radius:14px;padding:26px 28px;margin:40px 0 10px}
.te-cta img{width:100%;height:auto;border-radius:4px;box-shadow:0 10px 26px rgba(0,0,0,.35)}
.te-cta h3{color:#FAFAF8!important;margin:0 0 8px!important}
.te-cta p{color:#D9D6D2!important;font-size:15.5px!important;margin:0 0 14px!important}
.te-cta .btn{margin-right:10px;margin-bottom:6px}
.te-series{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:26px 0 8px}
.te-series a{display:block;border:1px solid #E8E6E3;border-radius:10px;padding:14px 16px;text-decoration:none!important;background:#FAFAF8}
.te-series a:hover{border-color:#D8652A}
.te-series small{display:block;font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#D8652A;margin-bottom:4px}
.te-series b{color:#1B2733;font-size:15px;line-height:1.4}
.te-series .next{text-align:right}
.te-crumb{font-size:14px;color:#6B6B6B;margin:0 0 14px}.te-crumb a{color:#6B6B6B}
@media (max-width:768px){.te-cta{grid-template-columns:1fr;padding:22px}.te-cta img{max-width:110px}.te-series{grid-template-columns:1fr}.te-series .next{text-align:left}.te-article pre code{font-size:12.5px}}

/* Deneb case study cards */
.te-article .specs-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:26px 0 34px}
.te-article .spec-card{background:#1B2733;color:#FAFAF8;border-radius:12px;padding:20px 18px;text-align:center}
.te-article .spec-number{font-family:'Sora',sans-serif;font-size:34px;font-weight:700;color:#F0A47A;line-height:1.1}
.te-article .spec-label{font-size:14px;color:#D9D6D2;margin-top:6px}
.te-article .use-cases-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:22px 0 34px}
.te-article .use-case-card{background:#FAFAF8;border:1px solid #E8E6E3;border-top:4px solid #D8652A;border-radius:10px;padding:18px 20px}
.te-article .use-case-card h4{font-family:'Sora',sans-serif;font-size:16px;margin:0 0 6px;color:#1B2733}
.te-article .use-case-card p{font-size:15px!important;margin:0!important;line-height:1.6!important}
.te-article .media{margin:28px 0}
.te-article .media video{width:100%;display:block}
.te-article .media figcaption{font-size:14px;color:#6B6B6B;margin-top:10px}
@media (max-width:640px){.te-article .specs-grid,.te-article .use-cases-grid{grid-template-columns:1fr}}
@media (max-width:480px){.te-article table:not(.te-table){display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}.te-article table:not(.te-table) th{font-size:11.5px;letter-spacing:.02em;padding:10px}.te-article table:not(.te-table) td{padding:10px;font-size:14px}}

/* share buttons */
.te-share{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:-20px 0 32px}
.te-share-l{font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#8A96A0;margin-right:4px}
.te-share a,.te-share button{display:inline-flex;align-items:center;gap:6px;font:600 13px 'DM Sans',sans-serif;color:#1B2733;background:#F4F6F8;border:1px solid #E3E7EB;border-radius:999px;padding:6px 12px;cursor:pointer;text-decoration:none}
.te-share a:hover,.te-share button:hover{border-color:#D9622A;color:#B9531F}
.te-share svg{width:15px;height:15px;fill:currentColor}
.te-share-end{margin:40px 0 8px;padding:22px 24px;border-radius:16px;background:#F6F7F9;justify-content:space-between;gap:16px}
.te-share-end b{display:block;font-size:17px;color:#1B2733}
.te-share-end small{display:block;font-size:14px;color:#52606C;margin-top:4px}
.te-share-end small a{all:unset;color:#B9531F;font-weight:600;cursor:pointer;text-decoration:underline}
.te-share-btns{display:flex;flex-wrap:wrap;gap:8px}
@media (max-width:560px){.te-share span:not(.te-share-l){display:none}.te-share a,.te-share button{padding:8px}.te-share-end .te-share-btns span{display:none}}
.te-share a{color:#1B2733!important;text-decoration:none!important;border-bottom:1px solid #E3E7EB!important}
