.automation-project-group { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.automation-project-group > h3 { font-size: clamp(1.7rem,3vw,2.5rem); }
.automation-scenarios { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; margin-top: 28px; }
.service-example { min-width: 0; background: white; border: 1px solid var(--line); padding: 28px; }
.service-example figure { margin: 0 0 24px; }
.service-example img { width: 100%; height: 300px; object-fit: contain; display: block; background: #edf2f3; }
.service-example figcaption { margin-top: 10px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.service-example h4 { font-size: 26px; line-height: 1.3; margin-bottom: 16px; }
.service-example p { color: var(--muted); line-height: 1.7; }
@media(max-width:700px) { .automation-scenarios { grid-template-columns: 1fr; } .service-example { padding: 22px; } .service-example img { height: auto; max-height: 350px; } }

/* Related robot projects share one row on wider screens. */
.robot-project-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; margin-top:28px; }
.robot-project-grid .project-case { min-width:0; margin-top:0; padding:28px; display:flex; flex-direction:column; }
.robot-project-grid .project-case h3 { font-size:clamp(1.5rem,2.4vw,2rem); }
.robot-project-grid .project-gallery { display:block; margin-top:auto; padding-top:20px; }
.robot-project-grid .project-gallery img { width:100%; height:340px; object-fit:contain; background:white; }
@media(max-width:760px) { .robot-project-grid { grid-template-columns:1fr; } .robot-project-grid .project-case { padding:22px; } .robot-project-grid .project-gallery img { height:auto; max-height:380px; } }
