.demo-section {
  margin-bottom: var(--spacing-lg);
}

.section-desc {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.text-flow-area {
  font-size: 1.1rem;
  line-height: 1.8;
  height: auto;
  min-height: 200px;
}

.highlight-target {
  background-color: var(--accent);
  color: var(--text-primary);
  font-weight: bold;
  padding: 0px 8px; /* padding affects visual inline size but not line height unless block/inline-block */
  border-radius: 4px;
  border: 2px solid var(--primary);
  transition: all 0.3s ease;
  
  /* Initial default */
  display: inline;
}

.display-inline { display: inline; }
.display-block { display: block; margin: 10px 0; }
.display-inline-block { display: inline-block; margin: 4px 0; }

.flex-boxes {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
  justify-content: center;
  height: 200px;
}

.box {
  width: 120px;
  height: 120px;
  background-color: var(--text-secondary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.hide-target {
  background-color: var(--secondary);
}

.is-hidden {
  visibility: hidden;
}

.is-none {
  display: none;
}
