/* Extensions use the current CV-derived typography, width and spacing. */
.selected-work-heading { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:baseline; gap:8px 24px; margin:0 0 32px; }
.selected-work-heading h2,.work-category > h2 { font-size:16px; line-height:1.5; text-transform:uppercase; margin:0; }
.selected-work-heading p { margin:0; color:var(--quiet); }
.work-category { margin:0 0 48px; }
.work-category > h2 { margin:0 0 24px; }
.work-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:32px; }
.work-card { min-width:0; }
.work-card h3 { font-size:16px; line-height:1.5; text-transform:uppercase; margin:0 0 8px; }
.work-card p { margin:0 0 8px; }
.work-card .work-status { color:var(--quiet); margin-top:12px; }
.work-card a { text-decoration:none; }
.work-card h3 a { text-decoration:underline; }
.work-card h3 a:hover { text-decoration:underline; }
.work-card img { display:block; width:100%; height:auto; }
.work-card-preview { display:flex; align-items:flex-start; margin-top:16px; background:#fff; }
.work-card-preview.workflow-card-preview { align-items:flex-start; }
.work-card-preview .work-preview-flow { margin:0; padding:0; list-style:none; width:100%; }
.work-preview-flow li { border-bottom:1px solid #ededed; padding:8px 0; }
.work-preview-flow li:first-child { padding-top:0; }
.work-preview-flow li:last-child { border:0; }
.work-nav { display:flex; flex-wrap:wrap; gap:12px 24px; margin:0 0 32px; }
.work-title { margin:0 0 12px; font-size:24px; line-height:1.3; }
.work-subtitle { margin:0 0 12px; }
.work-status { font-size:16px; line-height:1.5; }
.work-intro > .work-status { margin:0 0 32px; color:var(--quiet); }
.work-section { margin:0 0 32px; }
.work-section h2,.work-section h3,.work-related h2 { margin:0 0 12px; font-size:16px; line-height:1.5; font-weight:700; text-transform:uppercase; }
.work-section p { line-height:1.7; margin:0 0 16px; }
.work-section ul { padding-left:23px; margin:12px 0 20px; }
.work-section li { line-height:1.7; margin:6px 0; }
.work-evidence { margin:24px 0 32px; }
.work-evidence img { display:block; width:100%; height:auto; }
.work-evidence figcaption { margin-top:12px; line-height:1.5; }
.work-image-link { display:inline-block; min-height:44px; padding:10px 0; color:var(--quiet); }
.work-evidence-group { margin:32px 0; }
.work-evidence-group .work-evidence { margin-bottom:16px; }
.work-quote { margin:0; }
.work-quote p { font-weight:700; }
.work-disclosure { margin:24px 0; line-height:1.7; color:var(--quiet); }
.work-paired { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; align-items:start; }
.work-text-comparison { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); background:#f8f8f8; border:1px solid #ededed; margin:24px 0; }
.work-text-comparison > div { padding:16px; min-width:0; }
.work-text-comparison > div + div { border-left:1px solid #e5e5e5; }
.work-text-comparison h3 { text-transform:none; }
.work-text-comparison p:last-child { margin-bottom:0; }
.work-terms { margin:24px 0; }
.work-terms dt { font-weight:700; margin:16px 0 4px; }
.work-terms dd { margin:0; line-height:1.7; }
.work-workflow { margin:24px 0 32px; }
.work-flow-steps { list-style:none; margin:0; padding:0; }
.work-flow-steps > li { padding:16px; margin:0; border:1px solid #e5e5e5; border-bottom:0; background:#f8f8f8; }
.work-flow-steps > li:last-child { border-bottom:1px solid #e5e5e5; }
.work-flow-steps p { margin:4px 0 0; }
.work-flow-steps ul { margin-bottom:0; }
.work-flow-branches { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; padding-top:16px; }
.work-flow-branches p { margin:4px 0 0; }
.work-workflow figcaption { margin-top:16px; line-height:1.5; }
.work-related { margin:48px 0 0; }
.work-related ul { list-style:none; margin:0; padding:0; }
.work-related a { display:inline-block; padding:10px 0; min-height:44px; }
@media(max-width:620px) {
 .work-grid,.work-paired,.work-text-comparison,.work-flow-branches { grid-template-columns:minmax(0,1fr); }
 .work-card-preview { min-height:0; }
 .work-text-comparison > div + div { border-left:0; border-top:1px solid #e5e5e5; }
 .work-title { font-size:24px; }
 .work-category { margin-bottom:40px; }
}
