@font-face {
  font-family: 'Adobe Caslon Pro';
  src: url('/assets/fonts/ACaslonPro-Regular.woff2') format('woff2'), 
    url('/assets/fonts/ACaslonPro-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Adobe Caslon Pro';
  src: url('/assets/fonts/ACaslonPro-Italic.woff2') format('woff2'), 
    url('/assets/fonts/ACaslonPro-Italic.woff') format('woff');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Initials TFB';
  src: url('/assets/fonts/Initials-TFB.woff2') format('woff2'),
    url('/assets/fonts/Initials-TFB.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'FoulisGreek';
  src: url('/assets/fonts/FoulisGreek.woff2') format('woff2'), 
      url('/assets/fonts/FoulisGreek.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body {
  color: #254A49;
  font-family: 'Adobe Caslon Pro', Georgia, serif;
  font-size: 1.4em;
  font-language-override: normal;
  font-kerning: auto;
  font-feature-settings: 'kern', 'liga', 'dlig', 'hlig', 'cswh';
  font-synthesis: weight style;
  margin: 0;
}

blockquote, em {
  /* font-family: 'Adobe Caslon Pro Italic', Georgia, serif; */
}

article {
  max-width: 720px;
  padding: 30px 20px;
  margin: auto;
}

nav {
  margin-top: 20px;
  font-variant: small-caps;
  font-size: 0.8em;
}

footer {
  font-variant: small-caps;
  text-align: center;
  font-size: 0.7em;
  margin: 30px 0;
}

.interlinear {
  span {
    display: inline-block;
    text-align: center;
    text-indent: 0;
  }

  span::after {
    display: block;
    font-size: 0.6em;
    line-height: 0.3em;
  }

  span:not([data-translation])::after {
    content: '\200B';
  }

  span[data-translation]::after {
    content: attr(data-translation);
    text-align: center;
    opacity: 0.75;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-variant: small-caps;
}

h1,
h2 {
  text-align: center;
}

h2,
h3 {
  margin-top: 1.7em;
}

h1 {
  /* margin-bottom: 1.3em; */
  font-size: 2.6em;
}

h1 .title-1,
h1 .title-2,
h1 .title-3,
h1 .title-4,
h1 .title-7 {
  display: block;
}

h1 .title-1 {
  margin-bottom: 0.2em;
  font-size: 0.7em;
}

h1 .title-2 {
  line-height: 0.7em;
  font-size: 1.2em;
  margin-bottom: 0.4em;
  /* letter-spacing: 0.1em; */
}

h1 .title-3 {
  font-size: 0.5em;
  margin-bottom: 0.6em;
}

h1 .title-4 {
  font-size: 0.5em;
  font-variant: normal;
}

h1 .title-5 {
  font-size: 0.3em;
  font-variant: normal;
}


p, ul, ol {
  line-height: 1.5em;
}

.subtitle {
  text-align: center;
  font-style: italic;
}

article p:not(.subtitle) {
  text-indent: 2em; /* use variable, same in quote-author */
  text-align: justify;
}

.quote-author {
  display: block;
  margin-left: 2em;
}

article p:first-child {
  text-indent: 0;
}

article p:first-child::first-letter {
  margin: 0 6px;
  font-size: 6rem;
  float: left;
  line-height: 1;
  font-family: "Initials TFB", 'Georgia', serif;
}

  .breadcrumb {
    margin-bottom: -15px;
    font-size: 0.9em;
  }

  .list-inline,
  .breadcrumb,
  .navigation {
    list-style: none;
    padding: 0;
  }

  .list-inline > li,
  .breadcrumb > li,
  .navigation > li {
    display: inline;
  }

  .list-middot > li:not(:last-child)::after {
    content: "\00b7";
    margin: 0 .20em;
  }

  .breadcrumb > li:not(:last-child)::after {
    content: "›";
    margin: 0 .25em;
  }

  .navigation > li:not(:last-child)::after {
    content: "|";
    margin: 0 .25em;
  }

  hr {
    border: none;
  }

  hr::before {
    padding: 0.6em 0;
    content: '  ';
    display: block;
    text-align: center;
  }

  a {
    color: #499491;
  }

  a:hover {
    color: #a3dec9;
  }

  img {
    max-width: 100%;
  }

  p img {
    margin-right: 10px;
  }

  p img[src*="#left"] {
    float: left;
  }

  p img[src*="#right"] {
    float: right;
  }

  blockquote {
    margin: 2em 10px;
    text-align: justify;

  }

  /* blockquote {
    font-style: italic;
    border-left: 10px solid #e7c649;
    margin: 1.5em 10px;
    padding: 0.5em 10px;
    quotes: "\201C""\201D""\2018""\2019";
  }

  blockquote:before {
    color: #e7c649;
    content: open-quote;
    font-size: 4em;
    line-height: 0.1em;
    margin-right: 0.25em;
    vertical-align: -0.4em;
  } */

  blockquote p {
    display: inline;
  }

  .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-column-gap: 1.5em;
    justify-items: center;
    margin: 0;
    padding: 0;
  }

  figure {
    font-size: 1.2rem;
    text-align: center;
  }

  figure img {
    height: auto;
    object-fit: cover;
    transition: opacity 0.25s ease-in-out;
  }

  figure img:hover {
    opacity: .7;
  }

  figcaption {
    font-size: 0.6em;
  }

  .greek {
    font-family: 'FoulisGreek', serif;
    font-style: normal;
}
