.theme-section {
  margin-top: clamp(1.25rem, 4vw, 2.8rem);
}
.theme-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem 1.5rem;
  padding: clamp(1rem, 2.4vw, 1.5rem);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.theme-summary h2 { margin: 0; }
.theme-summary p {
  margin: .45rem 0 0;
  color: var(--muted);
  max-width: 54ch;
}
.theme-actions, .theme-pairs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
}
.theme-actions .button {
  text-align: start;
}
.theme-pairs a {
  display: inline-flex;
  gap: .3rem;
  align-items: center;
  min-height: 44px;
  padding-inline: .65rem;
}
.theme-pairs a:hover {
  background: #d7e5ff;
  text-decoration: underline;
}
.theme-pairs .icon { width: .8rem; height: .8rem; }
.fund-discovery-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1rem;
}
.fund-discovery-actions .button { min-height: 44px; text-align: start; }
.discovery-topic {
  display: grid;
  gap: .45rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.discovery-topic h3 { margin: 0; }
.discovery-topic > .icon-link { min-height: 44px; justify-self: start; }
.discovery-examples {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem .75rem;
  margin-block: .75rem;
  padding: .55rem .75rem;
  background: #eef4ff;
  border-radius: 10px;
}
.discovery-examples > strong { color: var(--deep); font-size: .86rem; }
@media (max-width: 900px) {
  .theme-panel { grid-template-columns: minmax(0, 1fr); }
}
