.headline-wrapper {
  max-width: 720px;
  margin: 0 auto 30px auto;
  border: 1px solid #444;
}

.headline-title {
  font-size: 1.1em;
  font-weight: 600;
  color: #ccc;
  margin: 10px 0 12px;
  border-bottom: 1px solid #333;
  padding-bottom: 4px;
}

.headline-cards {
  margin: 20px auto; /* center the group */
  padding: 0 12px;
  overflow: auto;
  max-height: 200px;
}

.headline-card {
  border: 1px solid #444;
  border-left: 4px solid transparent;
  padding: 10px 14px;
  margin-bottom: 10px;
  border-radius: 6px;
  display: flex;
  align-items: flex-start;
  font-size: 0.75em;
  background: transparent;
  width: 100%;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.headline-card .tone {
  font-size: 1.2em;
  flex-shrink: 0;
  margin-right: 10px;
}

.headline-text {
  flex: 1;
  color: #ddd;
  line-height: 1.4;
  align-self: center;
}

.headline-text a {
  color: inherit;
  text-decoration: none;
  font-weight: inherit;
}

#summary {
  font-size: 1em;
  color: #ccc;
  background: rgba(255,255,255,0.02);
  padding: 10px 14px;
  border: 1px solid #333;
  border-radius: 6px;
  max-width: 720px;
  margin: 0 auto 20px auto;
  line-height: 1.5;
}

.tooltip-icon {
  cursor: help;
  font-size: 0.85em;
  margin-left: 6px;
  color: #888;
}

.legend-row {
  display: flex;
  justify-content: space-around;
  text-align: center;
  font-size: 0.75em;
  color: #888;
}

.legend-row div span {
  display: block;
  margin-bottom: 2px;
}