/* Single post, case-study layout — values from the 2026 "Case Study Template" design. Builds on article.css. */

.lgx-wrap { max-width: 1240px; margin: 0 auto; }

/* ---------- hero ---------- */
.lgx-cs-hero { padding: 56px 36px 64px; background: var(--lgx-navy); color: #fff; }
.lgx-cs-hero .lgx-crumbs { margin-bottom: 28px; color: #9FCFFF; }
.lgx-art.lgx-cs .lgx-cs-hero .lgx-crumbs a { color: #9FCFFF; }
.lgx-cs-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.lgx-cs-hero-grid--solo { grid-template-columns: minmax(0, 1fr); max-width: 900px; }
.lgx-cs-pill { display: inline-flex; margin: 0 0 20px; padding: 6px 12px; border-radius: 999px; background: rgba(159, 207, 255, .14); color: #9FCFFF; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; line-height: 1.4; }
.lgx-cs-hero h1 { font-size: clamp(36px, 4.4vw, 56px); font-weight: 800; line-height: 1.05; letter-spacing: -.035em; color: #fff; margin: 0 0 20px; text-wrap: balance; }
.lgx-cs-sub { margin: 0; font-size: 19px; line-height: 1.6; color: #DCE6F0; font-weight: 600; }
.lgx-cs-media { border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 9; background: #0F2A47; }
.lgx-cs-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lgx-cs-facts { margin: 44px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; background: rgba(255, 255, 255, .14); border-radius: 16px; overflow: hidden; }
.lgx-cs-facts > div { background: var(--lgx-navy); padding: 20px 22px; }
.lgx-cs-facts dt { margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #9FCFFF; }
.lgx-cs-facts dd { margin: 0; font-size: 16px; font-weight: 700; color: #fff; line-height: 1.45; }

/* ---------- story columns ---------- */
.lgx-cs-body { padding: 72px 36px 88px; }
.lgx-cs-cols { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 64px; align-items: start; }
.lgx-cs-rail { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 32px; }
.lgx-cs-rail nav { display: flex; flex-direction: column; gap: 0; }
.lgx-cs-rail-title { margin: 0 0 10px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--lgx-mute); }
.lgx-art.lgx-cs .lgx-cs-rail nav a { padding: 8px 0; font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--lgx-navy); border-top: 1px solid #EDEFF1; }
.lgx-art.lgx-cs .lgx-cs-rail nav a:last-child { border-bottom: 1px solid #EDEFF1; }
.lgx-art.lgx-cs .lgx-cs-rail nav a:hover, .lgx-art.lgx-cs .lgx-cs-rail nav a.is-active { color: var(--lgx-blue); }
.lgx-cs-people { display: flex; flex-direction: column; gap: 12px; }
.lgx-cs-people p { margin: 0; }
.lgx-cs-person { font-size: 15px; font-weight: 800; color: var(--lgx-navy); }
.lgx-cs-role { font-size: 13.5px; line-height: 1.5; color: var(--lgx-mute); }

.lgx-cs-story { max-width: 760px; }
.lgx-a p.lgx-cs-lead { font-size: 21px; line-height: 1.65; margin: 0 0 56px; color: var(--lgx-navy); font-weight: 500; }
.lgx-cs-sec { scroll-margin-top: 100px; margin-top: 64px; padding-top: 40px; border-top: 1px solid #EDEFF1; }
.lgx-cs-lead + .lgx-cs-sec, .lgx-cs-story > .lgx-cs-sec:first-child { margin-top: 0; }
.lgx-a p.lgx-cs-eyebrow, .lgx-cs-eyebrow { margin: 0 0 14px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--lgx-blue); line-height: 1.4; }
.lgx-cs .lgx-a h2 { font-size: 32px; margin: 0 0 16px; }
.lgx-cs .lgx-a h3 { font-size: 20px; margin: 28px 0 10px; }

/* Numbered rows (benefits). */
.lgx-cs-item { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding: 28px 0; border-top: 1px solid #EDEFF1; }
.lgx-cs-item + :not(.lgx-cs-item) { border-top: 1px solid #EDEFF1; padding-top: 28px; }
.lgx-cs-num { font-size: 14px; font-weight: 800; color: var(--lgx-blue); padding-top: 6px; }
.lgx-cs .lgx-a .lgx-cs-item h3 { margin: 0 0 10px; font-size: 22px; letter-spacing: -.02em; }
.lgx-a .lgx-cs-item p, .lgx-a .lgx-cs-item li { font-size: 16.5px; line-height: 1.7; }
.lgx-cs-item > div > :last-child { margin-bottom: 0; }

/* Pull quote. */
.lgx-a .lgx-pq { margin: 36px 0; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 8px; }
.lgx-pq-mark { font-size: 88px; line-height: .7; font-weight: 800; color: var(--lgx-blue); letter-spacing: -.05em; }
.lgx-pq blockquote { margin: 0 0 14px; padding: 0; border: 0; background: none; font-size: 23px; font-weight: 700; line-height: 1.45; letter-spacing: -.015em; color: var(--lgx-navy); font-style: normal; text-wrap: pretty; }
.lgx-a .lgx-pq blockquote p { margin: 0; font-size: inherit; line-height: inherit; color: inherit; text-align: left; }
.lgx-a .lgx-pq figcaption { margin: 0; font-size: 15px; color: var(--lgx-mute); display: flex; gap: 12px; align-items: center; }
.lgx-a .lgx-pq figcaption::before { content: ""; flex: 0 0 auto; width: 22px; height: 2px; background: var(--lgx-blue); }
.lgx-a .lgx-pq figcaption b, .lgx-a .lgx-pq figcaption strong { font-weight: 800; color: var(--lgx-navy); }
.lgx-a img.lgx-pq-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.lgx-cs-sec--sec_lead .lgx-pq blockquote { font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; line-height: 1.25; letter-spacing: -.025em; }
.lgx-cs-sec--sec_lead { background: var(--lgx-sky); border-top: 0; border-radius: 24px; padding: 40px 36px 12px; }

/* Closing CTA. */
.lgx-cs-cta { margin-top: 56px; padding: 32px 34px; border-radius: 20px; background: var(--lgx-sky); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; }
.lgx-cs-cta > div:first-child { flex: 1 1 320px; }
.lgx-a .lgx-cs-cta p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--lgx-ink); }
.lgx-a .lgx-cs-cta p.lgx-cs-cta-title { margin: 0 0 6px; font-size: 21px; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; color: var(--lgx-navy); }

/* ---------- suggested reading + band ---------- */
.lgx-cs-reading { padding: 72px 36px 88px; background: #F9FAFB; }
.lgx-cs-reading .lgx-related-head { margin-bottom: 28px; }
.lgx-cs-reading h2 { margin: 0; font-size: 32px; font-weight: 800; letter-spacing: -.03em; color: var(--lgx-navy); line-height: 1.15; }
.lgx-art a.lgx-card--img { padding: 0; gap: 0; overflow: hidden; }
.lgx-card-img { display: block; aspect-ratio: 16 / 9; background: var(--lgx-sky); overflow: hidden; }
.lgx-card-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lgx-card-body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.lgx-card--img .lgx-card-meta { color: var(--lgx-red); }
.lgx-cs-band { background: var(--lgx-navy); padding: 64px 36px; }
.lgx-cs-band .lgx-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.lgx-cs-band p { margin: 0; font-size: clamp(22px, 2.2vw, 30px); font-weight: 800; line-height: 1.2; letter-spacing: -.03em; color: #fff; text-wrap: balance; }

@media (max-width: 960px) {
	.lgx-cs-hero, .lgx-cs-body, .lgx-cs-reading, .lgx-cs-band { padding-left: 20px; padding-right: 20px; }
	.lgx-cs-hero-grid, .lgx-cs-cols { grid-template-columns: minmax(0, 1fr); }
	.lgx-cs-hero h1 { font-size: 36px; }
	.lgx-cs-rail { position: static; }
	.lgx-cs-rail nav { display: none; }
	.lgx-cs .lgx-a h2 { font-size: 26px; }
	.lgx-cs-sec--sec_lead { padding: 28px 20px 4px; }
}
