/*  general purpose greyscale style */

@font-face {
  font-family: Baskervville;
  src: url("/fonts/Baskervville-Regular.woff2") format("woff2");
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Baskervville;
  src: url("/fonts/Baskervville-Italic.woff2") format("woff2");
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: plex;
  /* src: url("/fonts/IBMPlexSans-LightItalic-Latin1.woff2") format("woff2"); */
  src: url("/fonts/IBMPlexSans-LightItalic.ttf");
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: plex;
  /* src: url("/fonts/IBMPlexSans-BoldItalic-Latin1.woff2") format("woff2"); */
  src: url("/fonts/IBMPlexSans-BoldItalic.ttf");
  font-style: bold;
  font-display: swap;
}

@font-face {
  font-family: plex;
  /* src: url("/fonts/IBMPlexSans-Light-Latin1.woff2") format("woff2"); */
  src: url("/fonts/IBMPlexSans-Light.ttf");
  font-style: normal;
  font-display: swap;
}

span.image-container {
  background-blend-mode: screen;
}

img {
  filter: grayscale(50%);
  width: 100%;
}

table {
  width: 100%;
}

th,
td {
  vertical-align: top;
  border: 1px dotted #ddd;
}

ul.route {
  background-color: transparent;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

ul.route a {
  text-decoration: none;
}

.fleuron {
  text-align: center;
  font-size: 1.4em;
}

#footer {
    bottom: 1em;
    right:  1em;
    position: fixed;
}

[data-theme-preference="grey"] blockquote {
  margin: 3.7em, auto;
  padding: 1.1em;
  border: 0.2em solid transparent;
  box-shadow: 5px 3px 33px 33px rgba(132, 154, 197, 0.1);
  font-size: 1.4em;
  font-family: var(--font-pullquote);
  font-style: italic;
  line-height: 1.3;
}

[data-theme-preference="grey"] .textblock {
  margin: 1.3em;
  padding: 0;
  border: 0.2em transparent;
  // border: 0.2em solid transparent;
  box-shadow: 5px 3px 33px 33px rgba(132, 154, 197, 0.1);
}

[data-theme-preference="grey"] .textblock p {
  margin: 1.3em;
  padding: 0.6em;
  border: 0.2em solid transparent;
  box-shadow: 5px 3px 33px 33px rgba(132, 154, 197, 0.1);
}


html[data-theme-preference="grey"] {
  --main-background-colour: #eee;
  --background-color: #eee;
  --font-text: plex, sans-serif;
  --font-heading: baskervville, serif;
  --font-sidenote: plex, sans-serif;
  --heading-font-style: italic;
  --route-padding: 0.2em 0.8em;
  --route-border-radius: var(--space-xs);
  --route-font-weight: bold;
  --font-author: baskervville, serif;
  --text-author-size: var(--step-0);
  --author-font-style: italic;
  --font-date: plex, sans-serif;
  --date-font-style: italic;
  --text-date-size: var(--step--1);

  /* textblocks */
  --textblock-font: plex, sans-serif;
  --textblock-padding: 1em; /* 0.8rem; */
  --textblock-background-colour: var(--colour-bg);
  --textblock-text-colour: var(--colour-secondary);

  /* quotes. margin and inline? */
  --text-pullquote-size: var(--step-1);
  --font-pullquote: baskervville, serif;
  --pullquote-font-style: italic;
  --pullquote-padding: 0.5rem;

  /* citations */
  --font-cite: baskervville;
  --text-cite-size: var(--step-0);
  --cite-font-weight: normal;
  --cite-font-style: italic;
  --cite-padding: 0;

  /* captions */
  --font-caption: var(--font-sidenote);
  --text-caption-size: var(--step--1);
  --caption-font-weight: normal;
  --caption-font-style: normal;

}
