/* =========================================================
   tech-certification.css — tech_certification_01~03
========================================================= */

/* ---- 證書卡片網格 ---- */
.tech-certification-page .tech-cert-grid {
  margin-top: 8px;
  margin-bottom: var(--title-gap-section, 48px);
}

.tech-certification-page .tech-cert-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  background: #ffffff;
  border-radius: 1rem;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.tech-certification-page .tech-cert-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
  border-color: rgba(25, 167, 184, 0.5);
}

.tech-certification-page .tech-cert-card__thumb {
  display: block;
  width: 100%;
  border-radius: 0.75rem;
  overflow: hidden;
  line-height: 0;
}

.tech-certification-page .tech-cert-card__thumb img {
  display: block;
  width: 100%;
  height: auto;
}

.tech-certification-page .tech-cert-card__title {
  margin: 0.75rem 0 0.5rem;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--tech-primary-deep, #083d4d);
}

.tech-certification-page .tech-cert-card__pdf {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--tech-primary, #0c596f);
  text-decoration: none;
}

.tech-certification-page .tech-cert-card__pdf:hover {
  color: var(--tech-accent, #19a7b8);
}

.tech-certification-page .tech-cert-card__pdf .fa-file-pdf {
  font-size: 1rem;
}

/* ---- 表格小標 ---- */
.tech-certification-page .tech-table-caption {
  margin: var(--title-gap-section, 48px) 0 var(--title-gap-block-after, 16px);
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--tech-primary-deep, #083d4d);
}

.tech-certification-page .tech-table-caption:first-child {
  margin-top: 0;
}

.tech-certification-page .tech-section + .tech-cert-grid,
.tech-certification-page .tech-section + .tech-figure-grid {
  margin-top: 0;
}

.tech-certification-page .tech-patent-intro {
  margin-bottom: var(--title-gap-page, 32px);
}

@media (max-width: 767.98px) {
  .tech-certification-page .tech-cert-card {
    margin-bottom: 0.25rem;
  }
}
