/* Semantic cluster pages: topic nav, FAQ, related links */

.cluster-topic-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  padding: 14px 16px;
  margin-bottom: 22px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow-soft);
  font-size: 0.92rem;
  line-height: 1.45;
}

.cluster-topic-label {
  font-weight: 600;
  color: var(--text-secondary);
  margin-right: 4px;
}

.cluster-topic-nav a {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.cluster-topic-nav a:hover {
  background: rgba(232, 180, 160, 0.18);
  border-color: rgba(232, 180, 160, 0.35);
}

.cluster-topic-nav a.is-current {
  background: rgba(232, 180, 160, 0.28);
  border-color: rgba(232, 180, 160, 0.45);
  color: var(--text-primary);
}

.cluster-topic-nav a.cluster-hub {
  margin-left: auto;
  font-weight: 650;
  color: var(--text-secondary);
}

.cluster-topic-nav a.cluster-hub:hover {
  color: var(--text-primary);
}

@media (max-width: 720px) {
  .cluster-topic-nav a.cluster-hub {
    margin-left: 0;
    width: 100%;
    text-align: center;
  }
}

.cluster-intro .text:first-of-type {
  font-size: 1.06rem;
}

.cluster-faq .faq-list {
  margin-top: 12px;
}

.cluster-faq .faq-item {
  padding: 14px 16px;
  margin-bottom: 12px;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.55);
}

.cluster-faq .faq-q {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--text-primary);
  line-height: 1.4;
}

.cluster-faq .faq-item .text {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.85;
  max-width: 68ch;
}

.cluster-related .cluster-link-list {
  margin: 0;
  padding-left: 1.2rem;
  line-height: 1.85;
  max-width: 68ch;
}

.cluster-related .cluster-link-list a {
  color: var(--text-primary);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(232, 180, 160, 0.65);
  text-underline-offset: 3px;
}

.cluster-related .cluster-link-list a:hover {
  text-decoration-color: var(--primary-color);
}
