/* User-first layer: prioritize common intents and quick paths */
.intent-hub {
  border: 1px solid rgba(189, 214, 255, 0.3);
  border-radius: 18px;
  padding: 0.95rem;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02) 32%, rgba(8, 14, 27, 0.78)),
    rgba(10, 17, 34, 0.9);
  box-shadow: 0 18px 36px rgba(1, 6, 18, 0.42);
}

.intent-hub__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.intent-hub__title {
  margin: 0;
  font-size: clamp(1.02rem, 1.6vw, 1.22rem);
  color: #f4f8ff;
}

.intent-hub__subtitle {
  margin: 0.25rem 0 0;
  color: #b9cceb;
  font-size: 0.92rem;
}

.intent-hub__market {
  margin-top: 0.65rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.intent-chip {
  border: 1px solid rgba(187, 211, 252, 0.34);
  border-radius: 999px;
  background: rgba(15, 28, 54, 0.78);
  color: #dce9ff;
  padding: 0.28rem 0.58rem;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
}

.intent-hub__context {
  margin: 0;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffd8a3;
  border: 1px solid rgba(255, 210, 130, 0.5);
  border-radius: 999px;
  padding: 0.36rem 0.7rem;
  background: rgba(59, 43, 14, 0.32);
}

.intent-hub__grid {
  margin-top: 0.78rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.65rem;
}

.intent-card {
  display: grid;
  gap: 0.36rem;
  border-radius: 14px;
  border: 1px solid rgba(181, 208, 255, 0.28);
  background: rgba(12, 22, 45, 0.8);
  text-decoration: none;
  color: #edf4ff;
  padding: 0.78rem 0.8rem;
}

.intent-card strong {
  color: #f7fbff;
  line-height: 1.2;
}

.intent-card span {
  color: #b8ccea;
  font-size: 0.86rem;
  line-height: 1.3;
}

.intent-card:hover {
  border-color: rgba(255, 204, 124, 0.76);
  box-shadow: 0 14px 32px rgba(3, 8, 18, 0.44);
}

.intent-card--action {
  cursor: pointer;
}

.intent-path {
  margin-top: 0.72rem;
  display: grid;
  gap: 0.44rem;
}

.intent-path__line {
  margin: 0;
  border-radius: 12px;
  border: 1px dashed rgba(255, 211, 133, 0.56);
  background: rgba(48, 33, 6, 0.22);
  color: #ffe3b0;
  padding: 0.58rem 0.66rem;
  font-size: 0.86rem;
}

.intent-path__line b {
  color: #fff2d3;
}

/* Improve readability on long editorial pages */
body.cc-neo .content-box > section,
body.cc-neo .content-box > article,
body.cc-neo .content-box > aside {
  scroll-margin-top: 82px;
}

body.cc-neo .tab-panel p {
  max-width: 84ch;
}

@media (max-width: 900px) {
  .intent-hub {
    padding: 0.82rem;
  }

  .intent-hub__grid {
    grid-template-columns: 1fr;
  }
}
