/* Scoped Insights styles reuse the existing font, shell and section rhythm. */
.home-insights { background: #fafafa; }
.home-insights .section-label { margin-bottom: 24px; font-size: 16px; font-weight: 400; line-height: 24px; letter-spacing: -.32px; }
.home-insights .section-label::before,
.home-insights .section-label::after { padding-inline: 4px; font-size: 16px; }
.insight-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.insight-grid--featured { display: flex; justify-content: center; flex-wrap: wrap; }
.insight-grid--featured > .insight-card { flex: 0 1 calc((100% - 48px) / 3); }
.insight-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid #e8e8e8; border-radius: 6px; }
.insight-card__image { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: #f3f3f3; }
.insight-card__image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 180ms ease; }
.insight-card__image:hover img { transform: scale(1.025); }
.insight-card__body { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.insight-card__category { margin: 0 0 12px; color: #666; font-size: 12px; line-height: 1.5; }
.insight-card h3 { margin: 0 0 12px; font-size: 22px; font-weight: 500; line-height: 1.3; letter-spacing: -.5px; overflow-wrap: anywhere; }
.insight-card h3 a { color: #111; text-decoration: none; }
.insight-card h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.insight-card__summary { margin: 0 0 24px; color: #666; font-size: 14px; line-height: 1.6; }
.insight-card__footer { display: flex; gap: 12px; justify-content: space-between; align-items: center; flex-wrap: wrap; margin-top: auto; color: #666; font-size: 12px; line-height: 1.6; }
.insight-card__footer a { color: #111; text-decoration: none; }
.home-insights__more { margin-top: 36px; text-align: center; }
.home-insights__more .text-link,
.insight-single__back .text-link { width: fit-content; max-width: 100%; margin: 0 auto; font-size: 20px; line-height: 1.5; overflow-wrap: anywhere; }
.insight-card a:focus-visible,
.insight-breadcrumb a:focus-visible,
.insight-categories a:focus-visible,
.insight-pagination a:focus-visible,
.insight-table-scroll:focus-visible { outline: 2px solid #111; outline-offset: 4px; }
.insights-archive { padding: 64px 0 92px; }
.insight-breadcrumb { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; color: #666; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.insight-breadcrumb a { color: inherit; text-decoration: none; }
.insight-breadcrumb a:hover { text-decoration: underline; }
.insights-eyebrow { margin: 0 0 16px; font-size: 13px; line-height: 1.5; color: #666; }
.insights-eyebrow a { color: inherit; }
.insights-archive h1,
.insight-single h1 { margin: 0; max-width: 960px; font-size: clamp(36px, 4vw, 56px); font-weight: 500; line-height: 1.1; letter-spacing: -.04em; overflow-wrap: anywhere; }
.insights-archive__summary { margin: 20px 0 0; max-width: 620px; color: #666; font-size: 18px; line-height: 1.6; }
.insight-categories { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 36px; padding: 22px 0; border-top: 1px solid #e8e8e8; border-bottom: 1px solid #e8e8e8; }
.insight-categories a { color: #666; font-size: 14px; line-height: 1.6; text-decoration: none; }
.insight-categories a[aria-current] { color: #111; text-decoration: underline; text-underline-offset: 6px; }
.insights-archive__articles { margin-top: 40px; }
.insight-pagination { margin-top: 40px; }
.insight-pagination ul { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; padding: 0; list-style: none; }
.insight-pagination a,
.insight-pagination .current { display: block; min-width: 44px; padding: 10px 14px; border: 1px solid #e8e8e8; color: #111; text-align: center; text-decoration: none; border-radius: 5px; }
.insight-pagination .current { background: #111; color: #fff; }
.insight-single { padding: 64px 0 92px; }
.insight-single__header { max-width: 960px; }
.insight-single__summary { margin: 24px 0; color: #666; font-size: 19px; line-height: 1.6; }
.insight-single__meta { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 24px; color: #666; font-size: 13px; line-height: 1.6; }
.insight-single__cover { max-width: 1100px; margin-top: 40px; margin-bottom: 0; }
.insight-single__cover > img { display: block; width: 100%; height: auto; max-height: 620px; object-fit: contain; background: #fafafa; border-radius: 6px; }
.insight-single__cover figcaption { margin-top: 12px; font-size: 13px; line-height: 1.6; color: #666; }
.insight-single__cover figcaption span { display: block; }
.insight-single__cover figcaption a { color: inherit; }
.insight-prose { max-width: 800px; margin-top: 48px; font-size: 17px; line-height: 1.8; overflow-wrap: anywhere; }
.insight-prose > :first-child { margin-top: 0; }
.insight-prose p,
.insight-prose ul,
.insight-prose ol { margin: 0 0 24px; }
.insight-prose h2 { margin: 44px 0 18px; font-size: 28px; font-weight: 500; line-height: 1.3; letter-spacing: -.5px; }
.insight-prose h3 { margin: 32px 0 14px; font-size: 22px; line-height: 1.4; }
.insight-prose a { color: #111; text-decoration: underline; text-underline-offset: 3px; }
.insight-prose li + li { margin-top: 8px; }
.insight-prose figure { max-width: 100%; margin: 32px 0; }
.insight-prose img { max-width: 100%; height: auto; }
.insight-prose figcaption { margin-top: 10px; color: #666; font-size: 13px; }
.insight-prose .wp-block-table { overflow-x: auto; }
.insight-table-scroll { max-width: 100%; margin: 28px 0; overflow-x: auto; overscroll-behavior-inline: contain; }
.insight-prose table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; line-height: 1.6; }
.insight-prose th,
.insight-prose td { padding: 14px 16px; border: 1px solid #dedede; text-align: left; vertical-align: top; }
.insight-prose th { background: #f3f3f3; font-weight: 600; }
.insight-project-cta { max-width: 800px; margin-top: 56px; padding: 32px; background: #fafafa; border: 1px solid #e8e8e8; border-radius: 6px; }
.insight-project-cta h2 { margin: 0 0 16px; font-size: 28px; font-weight: 500; line-height: 1.25; }
.insight-project-cta > p:not(.insights-eyebrow) { margin: 0 0 24px; color: #666; line-height: 1.6; }
.insight-project-cta .button { white-space: normal; text-align: center; }
.insight-related { margin-top: 64px; }
.insight-related > h2 { margin-bottom: 28px; font-size: 32px; font-weight: 500; }
.insight-single__back { max-width: 800px; margin-top: 40px; }
.insight-single__back .text-link { margin-inline: 0; font-size: 16px; }
@media (max-width: 900px) {
    .insight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .insight-grid--featured > .insight-card { flex-basis: calc((100% - 24px) / 2); }
}
@media (max-width: 640px) {
    .home-insights > .section-shell,
    .insights-archive > .section-shell,
    .insight-single .section-shell { width: calc(100% - 32px); }
    .insight-grid { grid-template-columns: 1fr; gap: 20px; }
    .insight-grid--featured > .insight-card { flex-basis: 100%; }
    .insight-card__body { padding: 20px; }
    .insight-card h3 { font-size: 21px; }
    .insights-archive,
    .insight-single { padding: 40px 0 64px; }
    .insight-breadcrumb { margin-bottom: 28px; font-size: 12px; }
    .insights-archive h1,
    .insight-single h1 { font-size: 34px; }
    .insight-single__summary,
    .insights-archive__summary { font-size: 16px; }
    .insight-categories { gap: 14px 20px; margin-top: 28px; }
    .insight-single__cover { margin-top: 28px; }
    .insight-prose { margin-top: 32px; font-size: 16px; line-height: 1.75; }
    .insight-prose h2 { font-size: 25px; margin-top: 36px; }
    .insight-project-cta { padding: 24px 20px; margin-top: 40px; }
    .insight-project-cta h2 { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) {
    .insight-card__image img { transition: none; }
}
