@charset "UTF-8";
/* ==========================================================================
   Technical Insights – article pages (shared by every article)
   Needs global.css (loaded by [hb_header]).
   ========================================================================== */

.page-body { max-width: 1100px; margin: 0 auto; padding: 0 40px; }
.section { padding: 80px 0; }

.section-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 11px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #000;
}
.section-label::after { content: ''; flex: 1 1 0; height: 1px; background: #000; }

.section-title {
    margin-bottom: 8px;
    font-size: clamp(22px, 3.5vw, 36px);
    font-weight: 300;
    line-height: 1.26;
    color: #1a1a1a;
}
.intro-sub { margin-bottom: 4px; font-size: clamp(15px, 1.8vw, 18px); color: #555; }
.divider { width: 48px; height: 3px; margin: 18px 0 24px; background: #000; border-radius: 2px; }

.tagline {
    margin: 8px 0 20px;
    padding-left: 16px;
    font-size: clamp(18px, 2.4vw, 24px);
    font-weight: 400;
    color: #1a1a1a;
    border-left: 3px solid #323232;
}
.lead-text { max-width: 740px; margin-bottom: 12px; font-size: 17px; line-height: 1.7; color: #555; }
.closing-text { margin-top: 28px; font-size: 17px; font-weight: 400; line-height: 1.8; color: #1a1a1a; }

.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }

.infographic {
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    cursor: zoom-in;
    background: none;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .08);
}
.infographic img { display: block; width: 100%; }
.infographic-caption { margin-top: 10px; font-size: 13px; text-align: center; color: #555; }

/* Lightbox */
.tech-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    padding: 20px;
    overflow: auto;
    cursor: zoom-out;
    background: rgba(0, 0, 0, .88);
}
.tech-lightbox[hidden] { display: none; }
.tech-lightbox img { width: 100%; max-width: 1024px; height: auto; margin: auto; }

/* Fade-up */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity: 1; transform: none; }

@media (max-width: 1024px) {
    .intro-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
    .page-body { padding: 0 20px; }
    .section { padding: 56px 0; }
}
@media print {
    .tech-lightbox { display: none !important; }
    .fade-up { opacity: 1; transform: none; }
}

/* ==========================================================================
   Text-only articles (no infographic) – .article
   Re-uses the same look as the infographic articles:
   title = .section-title, headings = .tagline, body = .lead-text.
   ========================================================================== */
.nymainbody .article { max-width: 860px; margin: 0 auto; }

/* Section headings – same as .tagline (left bar, regular weight) */
.nymainbody .article h2 {
    margin: 44px 0 20px;
    padding-left: 16px;
    font-size: clamp(18px, 2.4vw, 24px);
    font-weight: 400;
    line-height: 1.35;
    color: #1a1a1a;
    border-left: 3px solid #323232;
}

/* Body text – same as .lead-text */
.nymainbody .article p,
.nymainbody .article .article-list li,
.nymainbody .article .article-steps > li {
    font-size: 17px;
    line-height: 1.7;
    color: #555;
}
.nymainbody .article p { margin: 0 0 12px; }
.nymainbody .article strong { font-weight: 400; color: #1a1a1a; }

/* Bullet list */
.nymainbody .article .article-list { margin: 0 0 12px; padding-left: 1.4em; }
.nymainbody .article .article-list li { margin-bottom: 12px; list-style: disc outside; }

/* Numbered list */
.nymainbody .article .article-steps { margin: 0 0 12px; padding-left: 1.5em; }
.nymainbody .article .article-steps > li { margin-bottom: 16px; padding-left: .2em; list-style: decimal outside; }
.nymainbody .article .article-steps > li::marker { color: #1a1a1a; }
.nymainbody .article .article-steps p { margin-bottom: 4px; }
.nymainbody .article .article-steps p:last-child { margin-bottom: 0; }
.nymainbody .article .best-choice { color: #1a1a1a; }

/* Closing line – same as .closing-text */
.nymainbody .article p.closing-text { margin-top: 28px; line-height: 1.8; color: #1a1a1a; }

/* Comparison table */
.nymainbody .article .table-wrap { margin: 4px 0 12px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.nymainbody .article .compare-table {
    display: table;
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    border: 1px solid #ddd;
    font-size: 15px;
    line-height: 1.5;
    word-break: normal;
}
.nymainbody .article .compare-table th,
.nymainbody .article .compare-table td {
    padding: 11px 14px;
    text-align: left;
    vertical-align: top;
    font-weight: 400;
    color: #555;
    border: 1px solid #ddd;
}
.nymainbody .article .compare-table thead th { color: #fff; background: #323232; border-color: #323232; }
.nymainbody .article .compare-table tbody th { color: #1a1a1a; background: #f7f7f7; }
.nymainbody .article .table-hint { display: none; margin: 0 0 12px; font-size: 13px; color: #888; }

@media (max-width: 768px) {
    .nymainbody .article p,
    .nymainbody .article .article-list li,
    .nymainbody .article .article-steps > li { font-size: 16px; }
    .nymainbody .article h2 { margin-top: 36px; }
    .nymainbody .article .table-hint { display: block; }
}

/* Video inside an article (e.g. Formaldehyde) */
.nymainbody .article .article-video { margin: 8px 0 12px; }
.nymainbody .article .article-video video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 6px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .08);
}
.nymainbody .article .article-video figcaption {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
    color: #555;
}

/* Links + references block (e.g. Embracing a Healthier Future) */
.nymainbody .article a {
    color: #323232;
    text-decoration: underline;
    text-decoration-color: #bbb;
    text-underline-offset: 3px;
    overflow-wrap: anywhere;
}
.nymainbody .article a:hover { color: #000; text-decoration-color: #000; }
.nymainbody .article .article-refs { margin-top: 44px; padding-top: 20px; border-top: 1px solid #ddd; }
.nymainbody .article .article-refs h3 {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #1a1a1a;
}
.nymainbody .article .article-refs p { font-size: 14px; line-height: 1.7; }

/* Video beside text in .intro-grid (e.g. Hidden Impact) */
.tech-video { margin: 0; }
.tech-video video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 6px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .08);
}

/* Use-case tiles (e.g. Hidden Impact) */
.use-cases {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    margin: 24px 0;
    padding: 0;
    list-style: none;
}
.use-cases li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    font-size: 14px;
    color: #1a1a1a;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    transition: background-color .3s;
}
.use-cases li:hover { background-color: #f5f5f5; }
.use-case-icon { flex-shrink: 0; font-size: 22px; line-height: 1; }
@media (max-width: 768px) { .use-cases { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .use-cases { grid-template-columns: 1fr; } }

/* Tighter gap between sections (Hidden Impact) – .page-body.page-compact */
.page-compact .section { padding: 28px 0; }
.page-compact .section:first-child { padding-top: 64px; }
.page-compact .section:last-child { padding-bottom: 72px; }
@media (max-width: 768px) {
    .page-compact .section { padding: 20px 0; }
    .page-compact .section:first-child { padding-top: 40px; }
    .page-compact .section:last-child { padding-bottom: 48px; }
    .page-compact .intro-grid { gap: 24px; }
}

/* Wider tiles for sentence-length items (Bond Strength comparison) */
.use-cases.is-wide { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.use-cases.is-wide li { align-items: flex-start; font-size: 15px; line-height: 1.6; }
@media (max-width: 768px) { .use-cases.is-wide { grid-template-columns: 1fr; } }