/* Latest projects: one complete project per slide, with explicit controls. */
#recent-customer-project.latest-projects { padding-bottom:32px; }
.latest-project-track { display:flex; gap:18px; width:100%; min-width:0; overflow-x:auto; scroll-snap-type:x mandatory; overscroll-behavior-inline:contain; scrollbar-width:none; border-radius:20px; }
.latest-project-track::-webkit-scrollbar { display:none; }
#recent-customer-project .latest-project-card { flex:0 0 100%; min-width:0; box-sizing:border-box; scroll-snap-align:start; scroll-snap-stop:always; grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr); box-shadow:none; align-items:center; }
#recent-customer-project .latest-project-card .recent-customer-proof-preview { margin:0; }
#recent-customer-project .latest-project-card .recent-customer-proof-preview img { width:100%; aspect-ratio:16/10; object-fit:cover; }
#recent-customer-project .latest-project-card .recent-customer-project-name { margin:8px 0 12px; color:#101b30; font-size:clamp(24px,2.5vw,32px); line-height:1.2; letter-spacing:-.025em; text-transform:none; }
.latest-project-kicker { color:#087f9d; font-size:11px; font-weight:800; line-height:1.4; letter-spacing:.12em; text-transform:uppercase; }
#recent-customer-project .latest-project-card p { font-size:15px; line-height:1.65; margin:0 0 18px; }
.latest-project-controls { display:flex; align-items:center; justify-content:space-between; gap:20px; padding-top:18px; }
.latest-project-navigation { display:flex; align-items:center; gap:12px; flex:none; }
.latest-project-arrow { display:grid; place-items:center; width:46px; height:46px; border:1px solid #c2d0e1; border-radius:50%; background:#fff; color:#14243b; font:700 20px/1 system-ui,sans-serif; cursor:pointer; }
.latest-project-arrow:hover:not(:disabled) { background:#e9e2ff; border-color:#a88be9; }
.latest-project-arrow:disabled { opacity:.35; cursor:default; }
.latest-project-status { min-width:42px; color:#52627a; font-size:12px; font-weight:700; text-align:center; }
.latest-project-track:focus-visible,.latest-project-arrow:focus-visible { outline:3px solid #6344c8; outline-offset:3px; }
.case-related-projects { display:flex; flex-wrap:wrap; gap:16px 32px; }
@media(max-width:760px) { .latest-project-controls { flex-direction:column; align-items:stretch; gap:14px; } .latest-project-navigation { justify-content:center; } }
@container(max-width:640px) {
 #recent-customer-project .latest-project-card { display:flex; flex-direction:column; gap:18px; align-items:stretch; padding:18px; }
 #recent-customer-project .latest-project-card .recent-customer-proof-preview { width:100%; }
 #recent-customer-project .latest-project-card .recent-customer-project-name { font-size:24px; }
 #recent-customer-project .latest-project-card p { font-size:14px; margin-bottom:16px; }
 #recent-customer-project .latest-project-card .recent-customer-proof-actions { display:flex; gap:10px; }
 #recent-customer-project .latest-project-card .recent-customer-proof-actions a { flex:1 1 150px; padding:10px 12px; }
}
@media(prefers-reduced-motion:reduce) { .latest-project-track { scroll-behavior:auto; } }

/* Compact project cards with arrow-only navigation and one-row mobile actions. */
#recent-customer-project.latest-projects { padding-top:26px; padding-bottom:22px; }
#recent-customer-project .recent-customer-proof-intro { margin-bottom:16px; }
#recent-customer-project .latest-project-card { padding:18px; gap:20px; }
#recent-customer-project .latest-project-card p { margin-bottom:12px; }
#recent-customer-project .latest-project-controls { justify-content:center; padding-top:12px; }
#recent-customer-project .latest-project-navigation { justify-content:center; gap:12px; }
@container(max-width:640px) {
 #recent-customer-project .latest-project-card { padding:16px; gap:12px; }
 #recent-customer-project .latest-project-card .recent-customer-proof-preview img { aspect-ratio:16/9; }
 #recent-customer-project .latest-project-card .recent-customer-project-name { margin:6px 0 8px; font-size:22px; }
 #recent-customer-project .latest-project-card p { margin-bottom:12px; line-height:1.5; }
 #recent-customer-project .latest-project-card .recent-customer-proof-actions { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:8px; }
 #recent-customer-project .latest-project-card .recent-customer-proof-actions a { min-width:0; min-height:44px; padding:8px; font-size:12px; white-space:nowrap; }
}
