/* =====================================================
   Insights section (/insights/) - loaded on Insights pages only.
   No hover effects by design: rows and cards stay identical on hover.
   ===================================================== */

.insight-hero .page-hero-subtitle { max-width: 720px; margin-left: auto; margin-right: auto; }

/* Lead image: explicit width + aspect-ratio so WebKit never collapses it */
.insight-figure {
    width: 100%;
    max-width: 860px;
    margin: 0 auto 48px;
}
.insight-figure img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: var(--radius);
    background: var(--bg-grey);
}
.insight-figure figcaption {
    margin-top: 10px;
    font-size: 0.8125rem;
    color: var(--text-muted);
}
.insight-figure figcaption a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* Article body: comfortable reading width */
.insight-article { padding-top: 56px; }
.insight-body {
    max-width: 760px;
    margin: 0 auto;
}
.insight-body h2 { margin: 44px 0 14px; font-size: clamp(1.375rem, 2.4vw, 1.75rem); line-height: 1.25; }
.insight-body h3 { margin: 30px 0 10px; font-size: 1.1875rem; line-height: 1.3; }
.insight-body p { margin: 0 0 18px; line-height: 1.75; }
.insight-body ul,
.insight-body ol { margin: 0 0 20px 1.25em; line-height: 1.7; }
.insight-body li { margin-bottom: 8px; }
.insight-body a { color: var(--steel-text); text-decoration: underline; text-underline-offset: 3px; }
.insight-body blockquote {
    margin: 28px 0;
    padding: 4px 0 4px 20px;
    border-left: 3px solid var(--steel);
    color: var(--text-dark);
}
.insight-body > *:first-child { margin-top: 0; }

/* Related cards: match the column count to the number of cards (no empty slots) */
.service-hub-grid.insight-related-2 { grid-template-columns: repeat(2, 1fr); max-width: 880px; margin-left: auto; margin-right: auto; }
.service-hub-grid.insight-related-1 { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }

/* Index: one post per row, image left - never leaves gaps whatever the count */
.insight-index { padding-top: 32px; }
.insight-list {
    max-width: 1000px;
    margin: 0 auto;
    border-top: 1px solid var(--border);
}
.insight-row {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 36px;
    align-items: center;
    padding: 32px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-dark);
    text-decoration: none;
}
.insight-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-grey);
}
.insight-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.insight-row-text { display: block; }
.insight-label {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--steel-text);
}
.insight-row h2 { margin: 0 0 10px; font-size: clamp(1.25rem, 2.2vw, 1.5rem); line-height: 1.3; }
.insight-row p { margin: 0 0 12px; color: var(--text-muted); line-height: 1.6; }

@media (max-width: 760px) {
    .insight-row { grid-template-columns: 1fr; gap: 18px; padding: 28px 0; }
    .service-hub-grid.insight-related-2 { grid-template-columns: 1fr; }
    .insight-figure { margin-bottom: 32px; }
    .insight-article { padding-top: 40px; }
}

/* Visible date - update posts only */
.insight-date { margin: -4px 0 14px; font-size: 0.9375rem; color: var(--text-muted); }
.insight-row-date { display: inline-block; margin: 0 0 8px 12px; font-size: 0.8125rem; color: var(--text-muted); }
