/*---FONTS---*/
@font-face {
  font-family: Inter-Variable;
  font-style: normal;
  font-weight: 100 900; /*Include full possible weight range to avoid unintended synthesis of variable fonts with a weight axis*/
  font-display: fallback;
  font-feature-settings: "calt" 1, "dlig" 1, "ss01" 1, "ss02" 1, "ss03" 1, "cv10" 1;
  src: url("/fonts/InterVariable.woff2") format("woff2");
}

@font-face {
  font-family: Inter-Variable-Italic;
  font-style: italic;
  font-weight: 100 900; /*Include full possible weight range to avoid unintended synthesis of variable fonts with a weight axis*/
  font-display: swap;
  font-variation-settings: "opsz" 14;
  font-feature-settings: "calt" 1, "case" 1, "dlig" 1, "ss01" 1, "ss02" 1, "ss03" 1, "cv10" 1;
  src: url("/fonts/InterVariable-Italic.woff2") format("woff2");
}

@font-face {
  font-family: BricolageGrotesque;
  font-style: normal;
  font-weight: 200 800; /*Include full possible weight range to avoid unintended synthesis of variable fonts with a weight axis*/
  font-stretch: 75% 100%; /*Include full possible stretch range to avoid unintended synthesis of variable fonts with a width axis*/
  font-feature-settings: "onum";
  src: url("/fonts/BricolageGrotesque.woff2") format("woff2");
  font-display: fallback;
}

/*---VARIABLES---*/
:root {
  --step-3: clamp(1.728rem, 1.4799rem + 1.2407vw, 2.4414rem);
  --step-2: clamp(1.44rem, 1.2615rem + 0.8924vw, 1.9531rem);
  --step-1: clamp(1.2rem, 1.0739rem + 0.6304vw, 1.5625rem);
  --step-0: clamp(1rem, 0.913rem + 0.4348vw, 1.25rem);
  --step--1: clamp(0.8333rem, 0.7754rem + 0.2899vw, 1rem);
  --step--2: clamp(0.6944rem, 0.6577rem + 0.1836vw, 0.8rem);
  /*--bg: oklch(.98 .01 80);*/
  --bg: FloralWhite;
  --bg-90: rgba(255, 250, 240, 0.9);
  /*--txt: oklch(.25 .04 38);*/
  --txt: DarkSlateGray;
  --theke: RoyalBlue;
  /*--accent: oklch(.7 .15 60);*/
  --accent: Chocolate;
  --shadow: oklch(10% 0 0 / 0.2);
  --rubrique: Brown;
}

html {
  padding: 0 0.7rem;
}

body {
  font-size: 1rem;
  background-color: var(--bg);
  color: var(--txt);
  font-family: Inter-Variable, Helvetica, sans-serif;
  font-variant-numeric: oldstyle-nums;
  font-kerning: normal;

  line-height: 1.5;
  margin: 1rem;

  max-width: 80em;
  margin: var(--step-3) auto;
}

/* Header */
#site-header {
  border-bottom: 1px solid #222;

  text-align: center;

  a {
    color: inherit;
    padding: 0 0.4em;
    border-top: solid 2px transparent;
    border-bottom: solid 2px transparent;

    transition: border 0.4s;
  }

  a:hover {
    border-top-color: var(--txt);
    border-bottom-color: var(--txt);
  }

  p {
    font-style: italic;
  }
}

/* Breadcrumbs */
#breadcrumbs {
  line-height: var(--step-2);

  li:first-child a {
    font-weight: bold;
  }

  li:not(:first-child) a {
    color: gray;
  }

  li:not(:first-child) a:hover {
    color: lightgray
  }

  ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;

    color: gray;
  }

  li:not(:last-child)::after {
    display: inline-block;
    margin: 0 .25rem;
    content: ">";
  }

}

/* Content */

/* Titles */
h1, h2, h3, h4, h5 {
  font-family: BricolageGrotesque, sans-serif;
  font-variant-numeric: oldstyle-nums;
}

h1 {
  font-size: var(--step-3);
  font-variation-settings: "opsz" 32, "wght" 800;
}

main > h1 {
  font-size: var(--step-2);
  font-variation-settings: "opsz" 32, "wght" 800;

  border-bottom: solid 3px var(--txt);
  padding-left: 0.2em;
}

h2 {
  font-size: var(--step-2);
  font-variation-settings: "opsz" 32, "wght" 700;
}

h3 {
  font-size: var(--step-1);
  font-variation-settings: "opsz" 32, "wght" 700;
}

h4 {
  font-size: var(--step-0);
  font-variation-settings: "opsz" 32, "wght" 700;
}

h5 {
  font-size: var(--step-0);
  font-variation-settings: "opsz" 32, "wght" 700;
}

h6 {
  font-size: var(--step-0);
  font-variation-settings: "wght" 400;
}

/* h1>em, h2>em, h3>em, h4>em, h5>em, h6>em {
  display: block;
  font-size: 0.6em;
  font-style: normal;
  margin-bottom: -0.5em;
} */

h1>strong, h2>strong, h3>strong, h4>strong, h5>strong, h6>strong {
  display: block;
  font-size: 0.6em;
  font-style: italic;
  font-variation-settings: "wght" 400;
  margin-bottom: -0.5em;
}

h1>sub {
  display: block;
  font-size: 0.6em;
  font-style: italic;
  font-variation-settings: "wght" 400;
  margin-top: -0.5em;
}

a {
  color: var(--accent);
  text-decoration: none;
}

em {
  font-family: Inter-Variable-Italic;
}

.bible-ref {
  display: inline-block;
  color: var(--theke);
}

.bible-ref:hover {
  text-decoration: underline;
}

a.theke-ref {
  color: var(--theke);
}

a.theke-ref:hover {
  text-decoration: underline;
}

/* Macarons */
.macaron {
  padding: 0.2em 0.5em;
  border-radius: 50%;
  vertical-align: center;
  font-size: var(--step--2);
  font-weight: bold;
  color: var(--bg);
  background-color: var(--accent);
  opacity: 0.8;
}

.macaron:hover {
  opacity: 0.6;
}

/* Metadata */
.metadata {
  padding: 0.5em 2em;
  border: solid 2px var(--shadow);
}

/* Tables */
.documents-table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  table-layout: fixed;

  th, td {
    padding: 0.2em 1em;
    vertical-align: top;
  }

  td {
    border-top: solid 1px gray;
  }

  ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }
}

/* Separator */
hr {
  border-top: solid 1 #222;
  border-bottom: none;
}

.separator {
  text-align: center;
  color: var(--accent);
  font-size: var(--step-1);
}

/* Footer */

footer {
  border-top: 1px solid #222;
  margin-top: 1rem;

  text-align: center;
}
.bible .bible-anchor {
    color: brown;
}
.doc {
    main header {
        text-align: left;
        margin-bottom: 2em;
    }

    details summary {
        font-weight: bold;
    }

    details {
        padding: 1em;
        background-color: ghostwhite;
        border: solid 2px var(--shadow)
    }

    .footnote-ref {
        margin-left: 0.2em;
    }

    .document-anchor {
        color: brown;
    }

    .lect-pre {
        font-family: inherit;
    }

    .lect-rubrique-right {
        color: var(--rubrique);
        text-align: right;
    }

    .lect-red {
        color: var(--rubrique);
    }

    /* Blocks */
    .block {
        margin: 0.5em 0;
        padding: 0.1em 1.5em;
        border-radius: 0.5em;
    }
    
    .block-blue {
        background-color: aliceblue;
    }
}
﻿.sortable { /* Dumb css rule that will be ignore (bug) */
  color: inherit;
}
.sortable thead th:not(.no-sort) {
  cursor: pointer;
}
.sortable thead th:not(.no-sort)::after, .sortable thead th:not(.no-sort)::before {
  transition: color 0.2s ease-in-out;
  font-size: 1.2em;
  color: transparent;
}
.sortable thead th:not(.no-sort)::after {
  margin-left: 3px;
  content: " ▸";
}
.sortable thead th:not(.no-sort):hover::after {
  color: inherit;
}
.sortable thead th:not(.no-sort)[aria-sort=descending]::after {
  color: inherit;
  content: " ▾";
}
.sortable thead th:not(.no-sort)[aria-sort=ascending]::after {
  color: inherit;
  content: " ▴";
}
.sortable thead th:not(.no-sort).indicator-left::after {
  content: "";
}
.sortable thead th:not(.no-sort).indicator-left::before {
  margin-right: 3px;
  content: " ▸";
}
.sortable thead th:not(.no-sort).indicator-left:hover::before {
  color: inherit;
}
.sortable thead th:not(.no-sort).indicator-left[aria-sort=descending]::before {
  color: inherit;
  content: " ▾";
}
.sortable thead th:not(.no-sort).indicator-left[aria-sort=ascending]::before {
  color: inherit;
  content: " ▴";
}
.sortable.sticky thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background-color: var(--bg-90);
}
