.certifications { list-style: none; padding: 0; margin: 0; }
.certifications .certification-row { display: grid; grid-template-columns: minmax(0, 1fr) 156px; align-items: center; gap: 20px; padding: 16px 0; margin: 0; border-bottom: 1px solid var(--line); }
.certifications .certification-row:last-child { border-bottom: 0; }
.certification-image { display: block; width: 156px; height: 120px; object-fit: contain; padding: 4px; background: #fff; border: 1px solid var(--line); }
.certification-picture { position: relative; width: 156px; }
.image-zoom { display: grid; place-items: center; position: absolute; right: 6px; bottom: 6px; width: 32px; height: 32px; padding: 6px; border: 1px solid var(--ink); color: var(--ink); background: var(--surface); cursor: zoom-in; box-shadow: 2px 2px 0 rgb(0 0 0 / 15%); }
.image-zoom:hover { background: var(--soft); }
.image-zoom svg { display: block; width: 18px; height: 18px; }
.honors-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 50%; gap: 7px; margin: 18px 0; }
.honors-gallery[data-count="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.honors-gallery[data-count="1"] { grid-template-columns: minmax(0, 1fr); max-width: 360px; }
.honor-picture { position: relative; margin: 0; min-width: 0; border: 1px solid var(--line); background: var(--soft); }
.honor-image { display: block; width: 100%; height: 130px; object-fit: contain; }
.honors-gallery[data-count="1"] .honor-image { height: auto; }
.architecture-dialog.is-media > .diagram-help { display: none; }
.project-figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.project-figure { margin: 0; min-width: 0; }
.project-figure figcaption { margin-top: 10px; color: var(--ink); font-size: 14px; line-height: 1.7; }
.project-image-button { display: block; width: 100%; padding: 0; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: zoom-in; text-align: left; font: 14px var(--body-font); }
.project-image-button:hover { border-color: var(--ink); }
.project-image-button img { display: block; width: 100%; height: 240px; object-fit: contain; padding: 12px; background: #fff; }
.project-image-button span { display: block; padding: 10px 12px; border-top: 1px solid var(--line); }
@media (max-width: 600px) {
  .certifications .certification-row { grid-template-columns: minmax(0, 1fr) 96px; gap: 12px; }
  .certification-image { width: 96px; height: 78px; padding: 2px; }
  .certification-picture { width: 96px; }
  .honors-gallery, .honors-gallery[data-count="3"] { grid-template-columns: minmax(0, 1fr); }
  .honor-image { height: auto; max-height: 180px; }
  .project-figures { grid-template-columns: 1fr; }
  .project-image-button img { height: 220px; }
}
