/* Shared typography system for every Herbarium page. */

#collection-overview .collection-overview-total-unit {
  display:block;
  margin:0 0 8px;
  font-size:18px;
  font-weight:500;
  color:#536b5d;
}

:root {
  --herbarium-font-display: 'Cormorant Garamond', Georgia, serif;
  --herbarium-font-body: 'Anuphan', 'Noto Sans Thai', Tahoma, sans-serif;
  --herbarium-type-body: 18px;
  --herbarium-type-body-mobile: 17px;
  --herbarium-type-eyebrow: 13px;
  --herbarium-type-h3: 22px;
}

body,
button,
input,
select,
textarea {
  font-family: var(--herbarium-font-body);
}

main h1 {
  font-family: var(--herbarium-font-display);
  font-weight: 500;
}

main h2,
main h3 {
  font-family: var(--herbarium-font-body);
  font-weight: 600;
}

main p,
main li,
main dd,
main dt,
main figcaption {
  font-family: var(--herbarium-font-body);
}

.header .nav-item strong {
  font-size: 13px;
}

.header .nav-item small {
  font-size: 12px;
  line-height: 1.4;
}

.header .header-portal {
  font-size: 12px;
}

main .eyebrow {
  font-family: var(--herbarium-font-body);
  font-size: var(--herbarium-type-eyebrow);
  font-weight: 600;
  line-height: 1.65;
  letter-spacing: .18em;
}

main .browse small:not(.browse-card-kicker),
main .browse-card-copy small:not(.browse-card-kicker) {
  font-size: 14px;
  line-height: 1.65;
}

main .browse-card-kicker {
  font-size: 12px;
  line-height: 1.55;
}

main .specimen-content > small,
main .sheet-content .eyebrow,
main .collection-heading .eyebrow,
main .layout-badge,
main .layout-note {
  font-size: 12px;
  line-height: 1.55;
}

@media (max-width: 760px) {
  .header .nav-item strong {
    font-size: 13px;
  }

  .header .nav-item small {
    font-size: 12px;
  }

  main .eyebrow {
    font-size: 12px;
  }

  main .browse small:not(.browse-card-kicker),
  main .browse-card-copy small:not(.browse-card-kicker) {
    font-size: 13px;
  }
}
