/*
 * Self-hosted font declarations for the static atlas.
 * Source and version details live in assets/vendor/README.md.
 */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("fonts/cormorant-garamond-v21-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Libre Baskerville";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/libre-baskerville-v24-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Material Icons";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("fonts/material-icons-v145.woff2") format("woff2");
}

.material-icons {
  display: inline-block;
  font-family: "Material Icons";
  font-size: 24px;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-feature-settings: "liga";
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
}

/*
 * Material Icons are authored as ligature words (for example,
 * "account_tree"). During the font's block/swap window, browsers otherwise
 * measure that whole fallback word and briefly stretch the navigation pills.
 * Give every atlas-nav icon its final glyph box up front so loading the font
 * can never change the pill geometry.
 */
.atlas-map-nav .material-icons {
  box-sizing: border-box;
  width: 20px;
  min-width: 20px;
  height: 20px;
  flex: 0 0 20px;
  overflow: hidden;
  font-size: 20px;
  line-height: 20px;
  text-align: center;
}

@font-face {
  font-family: "Material Symbols Outlined";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("fonts/material-symbols-outlined-v367.woff2") format("woff2");
}

.material-symbols-outlined {
  display: inline-block;
  font-family: "Material Symbols Outlined";
  font-size: 24px;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-feature-settings: "liga";
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
}
