.cert-summary {
  border: 1px solid var(--line);
  border-left: 3px solid #ab7742;
  background: #edf3eb;
  padding: clamp(22px, 3.4vw, 36px);
  align-self: stretch;
}
.cert-summary h3 { font-size: clamp(19px, 2.1vw, 27px); line-height: 1.4; }
.cert-summary > p:not(.eyebrow) { color: var(--muted); margin: 10px 0 17px; }

.certificates {
  padding-block: clamp(35px, 4.7vw, 69px);
  background: #edf2eb;
  border-top: 1px solid var(--line);
}
.cert-wall + .cert-wall { margin-top: clamp(32px, 4vw, 54px); }
.cert-wall h2 {
  font-size: clamp(24px, 3vw, 36px);
  margin-bottom: 15px;
  padding-left: 12px;
  border-left: 3px solid #ab7742;
}
.cert-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
  gap: clamp(6px, 0.9vw, 12px);
}
.cert-card {
  min-width: 0;
  border: 1px solid #d4dfd5;
  background: white;
  padding: 6px 6px 7px;
  text-align: center;
}
.cert-image {
  display: grid;
  place-items: center;
  height: clamp(93px, 9.2vw, 134px);
  background: #f3f3ed;
  padding: 5px;
}
.cert-image img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.cert-caption {
  display: block;
  padding-top: 5px;
  font-size: 12px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.cert-caption strong { font-weight: 650; }
.cert-caption > span {
  display: block;
  font-size: 10px;
  line-height: 1.35;
  color: var(--muted);
  margin-top: 2px;
}
.cert-note { font-size: 13px; color: var(--muted); margin-top: 15px; }

@media (max-width: 1100px) { .cert-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 790px) { .cert-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 520px) {
  .cert-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cert-card { padding: 4px 4px 5px; }
  .cert-image { height: 83px; padding: 3px; }
  .cert-caption { font-size: 11px; }
}
