/* Matches terratern.com: Roboto, primary blue #255CC1, navy #00215C, 12px mobile gutter, 16px card radius */
.accreditations-wrap {
  max-width: 1170px;
  margin: 0 auto;
  padding: 30px 12px;
  font-family: Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  color: #343536;
  box-sizing: border-box;
}

.accreditations-wrap *,
.accreditations-wrap *::before,
.accreditations-wrap *::after {
  box-sizing: border-box;
}

.accreditations-header {
  margin-bottom: 40px;
}

.accreditations-header h1 {
  font-size: 44px;
  line-height: 1.1;
  font-weight: 600;
  color: #255CC1;
  margin: 0 0 12px;
}

.accreditations-header p {
  color: #404041;
  margin: 0;
}

.cert-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  padding: 24px;
  margin-bottom: 28px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(37, 92, 193, 0.1);
  align-items: start;
  scroll-margin-top: 120px;
}

.cert-card--text-only {
  grid-template-columns: 1fr;
}

.cert-media {
  margin: 0;
}

.cert-media img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  display: block;
  cursor: zoom-in;
}

.cert-media figcaption {
  font-size: 13px;
  color: #6b7280;
  margin-top: 8px;
}

.cert-details h2 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 600;
  color: #111111;
}

.cert-details p {
  color: #404041;
  margin: 0;
}

.cert-meta {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 8px 16px;
  margin: 16px 0 20px;
}

.cert-meta dt {
  font-weight: 600;
  color: #00215C;
}

.cert-meta dd {
  margin: 0;
  color: #343536;
  overflow-wrap: anywhere;
}

.verify-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  background: #00215C;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  font-size: 16px;
  margin-right: 12px;
}

.verify-btn:hover,
.verify-btn:focus {
  color: #fff !important;
  text-decoration: none !important;
}

.secondary-link {
  color: #255CC1;
  font-weight: 500;
  text-decoration: underline;
}

/* Mobile (terratern.com mobile: 12px side gutter, 45px fixed header, h1 32px, h2 20px) */
@media (max-width: 768px) {
  .accreditations-wrap {
    padding: 24px 12px 40px;
  }

  .accreditations-header {
    margin-bottom: 24px;
  }

  .accreditations-header h1 {
    font-size: 32px;
    line-height: 1.1;
  }

  .accreditations-header p {
    font-size: 16px;
    line-height: 1.3;
  }

  .cert-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 12px;
    margin-bottom: 20px;
    scroll-margin-top: 60px;
  }

  .cert-media figcaption {
    text-align: center;
    font-size: 12px;
  }

  .cert-details h2 {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .cert-details p {
    font-size: 15px;
    line-height: 1.4;
  }

  .cert-meta {
    grid-template-columns: 120px 1fr;
    gap: 8px 12px;
    margin: 14px 0 16px;
    font-size: 14px;
    padding: 12px;
    background: #F4F7FD;
    border-radius: 12px;
  }

  .verify-btn {
    display: flex;
    width: 100%;
    margin: 0 0 12px;
  }

  .secondary-link {
    display: block;
    text-align: center;
    font-size: 14px;
  }
}