.certificate-listing-page {
  width: min(1630px, calc(100% - 48px));
  max-width: 1630px;
  margin: 20px auto 32px;
  overflow: hidden;
  border: 1px solid #d8e4f0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(13, 44, 82, .10);
}

.certificate-listing-hero {
  min-height: 236px;
  padding: 32px 38px 36px;
  background: linear-gradient(110deg, #f7fbff, #eaf4ff);
  border-bottom: 1px solid #d9e6f2;
}

.certificate-listing-hero .eyebrow {
  display: block;
  margin-bottom: 20px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.certificate-listing-hero h1 {
  margin: 0;
  color: #061c43;
  font-size: clamp(40px, 4vw, 58px);
  line-height: 1.08;
}

.certificate-listing-hero p {
  max-width: 760px;
  margin: 18px 0 0;
  color: #60728b;
  font-size: 18px;
  line-height: 1.55;
}

.certificate-listing-section {
  padding: 34px 36px 36px;
}

.certificate-page-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.certificate-page-card {
  display: flex;
  min-width: 0;
  min-height: 188px;
  padding: 24px 16px 22px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  border: 1px solid #cfdeed;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(18, 56, 94, .06);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.certificate-page-card:hover {
  transform: translateY(-3px);
  border-color: #8ab8df;
  box-shadow: 0 16px 34px rgba(18, 56, 94, .11);
}

.certificate-page-icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 9px;
  place-items: center;
  color: var(--primary);
}

.certificate-page-icon svg {
  width: 38px;
  height: 38px;
  stroke-width: 1.9;
}

.certificate-page-card > strong {
  color: #071e45;
  font-size: 17px;
  line-height: 1.25;
}

.certificate-page-subtitle {
  min-height: 34px;
  margin-top: 8px;
  color: #667892;
  font-size: 12px;
  line-height: 1.45;
}

.certificate-page-card > a,
.certificate-page-link {
  margin-top: 8px;
  color: var(--primary);
  font-size: 15px;
  font-weight: 800;
}

.certificate-page-card > a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.certificate-page-link.is-disabled {
  cursor: default;
}

@media (max-width: 1100px) {
  .certificate-page-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .certificate-listing-page {
    width: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .certificate-listing-hero { min-height: 0; padding: 32px 20px; }
  .certificate-listing-hero .eyebrow { margin-bottom: 14px; }
  .certificate-listing-hero h1 { font-size: 38px; }
  .certificate-listing-hero p { font-size: 16px; }
  .certificate-listing-section { padding: 26px 18px 34px; }
  .certificate-page-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .certificate-page-card { min-height: 180px; padding: 20px 12px; }
}

@media (max-width: 480px) {
  .certificate-listing-hero h1 { font-size: 34px; }
  .certificate-page-grid { grid-template-columns: 1fr; }
  .certificate-page-card { min-height: 170px; }
}
