.project-video { margin:24px auto; max-width:860px; }
.project-video video { display:block; width:100%; height:auto; max-height:520px; background:#111; border-radius:8px; }
.project-video figcaption { color:#bbb; font-size:.9em; line-height:1.5; margin-top:8px; }
.project-toggle-content h3 { color:#eee; font-size:1.1em; margin:30px 0 12px; }
.project-toggle-content .media-note { color:#aaa; font-size:.9em; }
#project-ulf-camera .gallery-item img { object-fit:contain; background:#111; }
.chart-feature { display:block; }
.chart-feature .gallery-item { display:block; width:100%; height:auto; background:#17191d; }
.chart-feature .gallery-item img { display:block; width:100%; height:auto; max-height:none; object-fit:contain; }
#project-eclipse-station .gallery-item img { object-fit:contain; background:#17191d; }
@media(max-width:720px) {
 .project-video { margin:18px 0; }
 .project-video video { max-height:420px; }
}

#project-magi .magi-summary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; margin:6px 0 28px; }
#project-magi .magi-summary h3 { color:#ffaaa4; margin:20px 0 10px; }
#project-magi .magi-summary p { margin:0; }
#project-magi .magi-diagrams { grid-template-columns:minmax(0,1fr); gap:30px; max-width:940px; margin:0 auto; }
#project-magi .magi-diagrams h3 { margin:12px 0; }
#project-magi .magi-diagrams .gallery-item { display:block; width:100%; height:auto; background:#171b24; }
#project-magi .magi-diagrams img { display:block; width:100%; height:auto; max-height:none; object-fit:contain; }
#project-magi .magi-diagrams img:hover { transform:none; }
@media(max-width:720px) { #project-magi .magi-summary { grid-template-columns:1fr; gap:0; } }
