/* =========================================================
   tech-kema.css — tech_kema.aspx
========================================================= */

.tech-kema-page .tech-page .accord-body p {
  margin-bottom: var(--title-gap-para, 16px);
}

.tech-kema-page .tech-kema-block + .tech-kema-block,
.tech-kema-page hr.section-separator + .tech-kema-block {
  margin-top: 0;
}

.tech-kema-page .tech-kema-meta {
  text-align: center;
  color: #6b7280;
  font-size: 0.9rem;
  margin: 0 0 24px;
}

/* ---- 里程碑列表 ---- */
.tech-kema-page .tech-kema-milestones {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tech-kema-page .tech-kema-milestones li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 0.75rem;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.tech-kema-page .tech-kema-milestones__year {
  flex-shrink: 0;
  min-width: 3.5rem;
  padding: 4px 10px;
  text-align: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: #ffffff;
  background: linear-gradient(135deg, var(--tech-primary, #0c596f), var(--tech-accent, #19a7b8));
  border-radius: 999px;
}

.tech-kema-page .tech-kema-milestones__text {
  color: #334155;
  line-height: 1.65;
}

.tech-kema-page .tech-kema-gallery {
  margin-top: 8px;
}

/* ---- 參考資料 ---- */
.tech-kema-page .tech-kema-refs {
  margin-top: 32px;
  padding: 20px 24px;
  background: #f8fafc;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 0.75rem;
}

.tech-kema-page .tech-kema-refs__title {
  margin: 0 0 12px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--tech-primary-deep, #083d4d);
}

.tech-kema-page .tech-kema-refs__list {
  margin: 0;
  padding-left: 1.25rem;
  color: #4b5563;
  font-size: 0.9rem;
  line-height: 1.7;
}

.tech-kema-page .tech-kema-refs__list li + li {
  margin-top: 6px;
}

@media (max-width: 767.98px) {
  .tech-kema-page .tech-kema-milestones li {
    flex-direction: column;
    gap: 8px;
  }

  .tech-kema-page .tech-kema-milestones__year {
    align-self: flex-start;
  }
}
