/* Standalone homepage domain caption; intentionally independent of legacy CSS. */
#hcode-homepage-redesign .hhome-domain-meaning {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 14px;
  max-width: 100%;
  margin: 4px auto 0;
  color: #f4faff;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  text-align: center;
  text-shadow: 0 1px 4px rgba(0, 55, 110, .18);
}
#hcode-homepage-redesign .hhome-domain-meaning .hhome-domain-piece {
  white-space: nowrap;
}
#hcode-homepage-redesign .hhome-domain-meaning strong {
  color: inherit;
  font-family: Consolas, "SFMono-Regular", "Liberation Mono", monospace;
  font-size: 1.06em;
  font-weight: 700;
}
#hcode-homepage-redesign .hhome-domain-meaning .hhome-domain-divider {
  opacity: .55;
}
@media (max-width: 620px) {
  #hcode-homepage-redesign .hhome-domain-meaning {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
    font-size: 13px;
  }
  #hcode-homepage-redesign .hhome-domain-meaning .hhome-domain-divider {
    display: none;
  }
}


/* ==========================================================================
   CBTI / CPTI Right Sidebar Widget (Stacked Deck Card Design)
   ========================================================================== */
.hhome-cbti-widget-wrap {
  position: relative;
  width: 100%;
  padding-right: 14px;
  box-sizing: border-box;
  margin-bottom: 4px;
}

.hhome-cbti-layer {
  position: absolute;
  top: 6px;
  bottom: 6px;
  border-radius: 20px;
  border: 1px solid rgba(226, 232, 240, 0.85);
  background: #ffffff;
  pointer-events: none;
}

.hhome-cbti-layer-2 {
  right: 0px;
  width: 28px;
  opacity: 0.55;
  transform: scaleY(0.92);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.hhome-cbti-layer-1 {
  right: 7px;
  width: 28px;
  opacity: 0.85;
  transform: scaleY(0.96);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.hhome-cbti-card {
  position: relative;
  z-index: 3;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #eef2f6;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  padding: 20px 22px 20px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
}

.hhome-cbti-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(16, 185, 129, 0.12);
  border-color: #a7f3d0;
}

.hhome-cbti-watermark { display: none !important; }

.hhome-cbti-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.hhome-cbti-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 13px;
  border-radius: 14px;
  background: #e6f4ea;
  color: #1b5e20;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.hhome-cbti-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  transition: all 0.2s ease;
}

.hhome-cbti-card:hover .hhome-cbti-arrow {
  background: #e6fbf0;
  color: #047857;
  border-color: #a7f3d0;
  transform: translateX(2px);
}

.hhome-cbti-title {
  position: relative;
  z-index: 2;
  margin: 0 0 14px 0;
  font-size: 21px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.2px;
}

.hhome-cbti-body {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 4px 0 16px;
}

.hhome-cbti-sub {
  font-size: 13.5px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 8px;
}

.hhome-cbti-highlight {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin-bottom: 6px;
}

.hhome-cbti-num {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 38px;
  font-weight: 900;
  color: #047857;
  line-height: 1;
}

.hhome-cbti-unit {
  font-size: 20px;
  font-weight: 800;
  color: #064e3b;
  letter-spacing: 0.3px;
}

.hhome-cbti-desc {
  font-size: 12.5px;
  color: #475569;
  letter-spacing: 0.2px;
}

.hhome-cbti-btn {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 44px;
  border-radius: 12px;
  background: #e6fbf0;
  border: 1.5px solid #a7f3d0;
  color: #047857;
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
  font-family: inherit;
}

.hhome-cbti-btn:hover {
  background: #d1fae5;
  border-color: #6ee7b7;
  color: #064e3b;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.18);
  transform: translateY(-1px);
}

.hhome-cbti-btn:active {
  transform: translateY(0);
}
