/**
 * @file
 * White "card" box for the taxonomy term description (taxonomy_term view header).
 */

/* The term name lives inside the card, so drop the duplicate hero H1. */
#hero .page-title,
#hero .section-title {
  display: none;
}

.view-id-taxonomy_term .view-header {
  background-color: #fff;
  border-radius: 16px;
  -webkit-box-shadow: 0 -1px 0 #e0e0e0, 0 0 2px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.24);
  box-shadow: 0 -1px 0 #e0e0e0, 0 0 2px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.24);
  padding: 2rem 2.5rem;
  margin-bottom: 1.5rem;
}

.view-id-taxonomy_term .view-header:empty {
  display: none;
}

.view-id-taxonomy_term .view-header .taxonomy-term {
  margin: 0;
}

.view-id-taxonomy_term .view-header .taxonomy-term__title {
  margin: 0 0 0.75rem;
  color: #222;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
}

@media (max-width: 600px) {
  .view-id-taxonomy_term .view-header .taxonomy-term__title {
    font-size: 1.5rem;
  }
}

.view-id-taxonomy_term .view-header .field--name-description {
  margin: 0;
  color: #4d4d4d;
  font-size: 1rem;
  line-height: 1.6;
}

.view-id-taxonomy_term .view-header .field--name-description > * + * {
  margin-top: 0.75rem;
}

@media (max-width: 600px) {
  .view-id-taxonomy_term .view-header {
    padding: 1.5rem 1.25rem;
    border-radius: 12px;
  }
}
