/* Shared LLS honor certificate, optimized compact dimensions (width -20% cumulative, height -30% cumulative) */
.badge-honor-box, #certificateBox, .certificate-container {
  max-width: 696px;
  margin: 10px auto 0;
}

.badge-honor-box {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #ffffff;
  border-radius: 18px;
  padding: 14px 18px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.28);
  border: 2px solid rgba(255, 255, 255, 0.22);
}

.badge-honor-title {
  font-size: clamp(1.1rem, 0.95rem + 0.5vw, 1.4rem);
  font-weight: 900;
  letter-spacing: 0.6px;
  margin-bottom: 2px;
}

.badge-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 8px 0;
  background: rgba(255, 255, 255, 0.16);
  padding: 8px 12px;
  border-radius: 10px;
}

.b-stat-num {
  font-size: clamp(1.0rem, 0.9rem + 0.4vw, 1.3rem);
  font-weight: 900;
  color: #fde047;
}

.b-stat-lbl {
  font-size: 0.72rem;
  color: #f1f5f9;
  margin-top: 1px;
  font-weight: 700;
}

.cert-motto-box {
  margin: 8px auto !important;
  padding: 6px 12px !important;
  border-radius: 9px !important;
  max-width: 560px !important;
}

.cert-motto-box #certMottoEn {
  font-size: 0.82rem !important;
}

.cert-motto-box #certMottoZh {
  font-size: 0.72rem !important;
  margin-top: 1px !important;
}

/* Specific styling for LLS shell wrapper */
.cert-card-shell {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #ffffff;
  border-radius: 18px;
  padding: 14px 18px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.28);
  border: 2px solid rgba(255, 255, 255, 0.22);
}

.cert-card-shell .cert-title {
  font-size: clamp(1.1rem, 0.95rem + 0.5vw, 1.4rem);
  margin: 2px 0;
  color: #ffffff;
}

.cert-card-shell .cert-subtitle {
  font-size: 0.80rem;
  color: #e0e7ff;
  margin-bottom: 6px;
}

.cert-card-shell .cert-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 8px 0;
  background: rgba(255, 255, 255, 0.16);
  padding: 8px 12px;
  border-radius: 10px;
}

.cert-card-shell .cert-motto-row {
  margin: 8px auto;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 9px;
}

.cert-card-shell .motto-en {
  color: #fef08a;
  font-size: 0.82rem;
  font-style: italic;
  font-weight: 700;
}

.cert-card-shell .motto-zh {
  color: #e0e7ff;
  font-size: 0.72rem;
  margin-top: 1px;
}
