/*** Base typographic CSS (in progress) ***/
/*** ddelcourt 12.23 ***/
* {
}
p,
li,
b,
i,
/* em, */
strong,
a,
mark {
  font-size: var(--fontSize); /* line-height: var(--lineHeight); */
  letter-spacing: var(--letterSpacing);
  font-feature-settings: normal;
  font-family: SuisseIntl-Medium;
}
p,
li,
mark,
a,
blockquote {
  font-weight: calc(var(--fontWeight) * 1.2);
}
a {
  text-decoration: none;
  border-bottom: 1px dotted rgb(111, 130, 174);
}
p + p {
  margin-top: var(--lineHeight);
}
b {
  font-weight: 400;
}
strong {
  font-weight: 550;
}
i {
  font-weight: calc(var(--fontWeight) * 1.5);
}
em {
  font-style: italic;
  font-weight: calc(var(--fontWeight) * 1.5);
}
u {
  text-decoration-line: underline;
  text-decoration-color: black;
  text-decoration-thickness: 0.02em;
}
del {
  text-decoration-thickness: 0.04em;
}

ul {
  padding: var(--gutter-width);
  list-style: none;
}

li {
  margin-bottom: calc(var(--lineHeight)/2);
}

.redactional ul li:before {
  content: '\2014';
  position: absolute;
  margin-left: -1.25rem;
  opacity: .2;
}

code {
  font-family: "Roboto Mono", monospace;
  font-size: calc(var(--fontSize) * 1);
  line-height: var(--lineHeight);
  letter-spacing: var(--letterSpacing);
  font-weight: calc(var(--fontWeight) * 1.33);
  color: #eb5757;
}
mark {
  background: hsla(217, 58%, 86%, 0.6);
  padding: 0.05vw 0.4vw;
  border-radius: 6px; /* color: #545454; */
  font-size: calc(var(--fontSize) * 1);
  letter-spacing: var(--letterSpacing);
  font-weight: calc(var(--fontWeight) * 1.33);
  word-break: break-word;
}




blockquote {
  background-color: var(--light-green);
  font-size: calc(var(--fontSize) * 1.1);
  line-height: var(--lineHeight);
  letter-spacing: var(--letterSpacing);
  border-left: 1px solid var(--mid-grey);
  /* border-radius: 2px; */
  padding: var(--gutter-width);
  margin: 2%;
  margin-top: calc(var(--lineHeight) * 2);
  margin-bottom: calc(var(--lineHeight) * 2);
}

@media only screen and (max-width: 480px) {
  blockquote {
    /* background-color: var(--light-grey); */
    /* font-size: calc(var(--fontSize) * 1.1);
    line-height: var(--lineHeight); */
    /* letter-spacing: var(--letterSpacing); */
    /* border-left: 1px solid lightgray; */
    /* border-radius: 2px; */
    padding-left: calc(var(--gutter-width)/2);
    padding-right: 0;

    margin-right: 0;
    margin-left: 0;
    margin-top: calc(var(--lineHeight) * 2);
    margin-bottom: calc(var(--lineHeight) * 2);
  }
}





a {
  /* color: #dc143c; */
  text-decoration-skip-ink: none;
}
/* a:focus { outline: 1px dashed #0004b3; }
a:hover { color: #0004b3; }
*/
pre {
  /* background-color: #282c35; */
  color: #abb2bf;
  display: block;
  margin: 0 0 1.5625em;
  border-radius: 4px;
  overflow: auto;
  padding: 2.5vw;
  tab-size: 4;
  -moz-tab-size: 4;
  -o-tab-size: 4;
  white-space: pre-wrap;
  word-break: break-all;
  font-size: calc(var(--fontSize) * 1);
  letter-spacing: var(--letterSpacing);
  line-height: calc(var(--lineHeight) * 1.15);
  font-family: "Roboto Mono", monospace;
}
h1 {
  font-size: calc(var(--fontSize) * 2.2);
  line-height: calc(var(--lineHeight) * 1.8);
  letter-spacing: var(--letterSpacing);
  /* font-weight: calc(var(--fontWeight) * 1); */
  font-family: TheRomanEdition-Regular;
  text-transform: uppercase;
  padding-bottom: var(--lineHeight);
}
h2 {
  font-size: calc(var(--fontSize) * 1.6);
  line-height: calc(var(--lineHeight) * 1.25);
  letter-spacing: var(--letterSpacing); 
  /* font-weight: calc(var(--fontWeight) * 1); */
  font-family: TheRomanEdition-Regular;
  text-transform: uppercase;
  padding-bottom: var(--lineHeight);
}
h3 {
  font-size: calc(var(--fontSize) * 1.5);
  line-height: calc(var(--lineHeight) * 1.25);
  letter-spacing: var(--letterSpacing); 
  /* font-weight: calc(var(--fontWeight) * 1.5); */
  font-family: TheRomanEdition-Regular;
  text-transform: uppercase;
  padding-bottom: var(--lineHeight);
}
h4 {
  font-size: calc(var(--fontSize) * 1.25);
  line-height: calc(var(--lineHeight) * 1.25);
  letter-spacing: var(--letterSpacing); 
  /* font-weight: calc(var(--fontWeight) * 1.667); */
  font-family: TheRomanEdition-Regular;
  text-transform: none;
  padding-bottom: var(--lineHeight);
}
h5 {
  font-size: calc(var(--fontSize) * 1.1);
  line-height: calc(var(--lineHeight) * 1);
  letter-spacing: var(--letterSpacing); 
  /* font-weight: calc(var(--fontWeight) * 1.7); */
  font-family: TheRomanEdition-Regular;
  text-transform: uppercase;
  padding-bottom: var(--lineHeight);
}
h6 {
  /* font-size: calc(var(--fontSize) * .8); */
  line-height: calc(var(--lineHeight) * 0.8);
  letter-spacing: var(--letterSpacing);
  font-weight: calc(var(--fontWeight) * 1.5);
}
#editorial h6,
.cover-legend {
  font-size: calc(var(--fontSize) * 0.8);
  line-height: calc(var(--lineHeight) * 0.9);
  letter-spacing: var(--letterSpacing);
  font-weight: calc(var(--fontWeight) * 1.5);
  color: #282c35; /* background-color: hsl(0, 0%, 98%); */
  /* background-color: white; */
  border-bottom: 1px solid rgb(195, 195, 195);
  padding: 3px;
  padding-left: 6px;
  padding-bottom: 12px;
  margin-bottom: -12px;
  position: relative;
  width: 75%;
  max-width: calc(var(--lineHeight) * 20);
  left: 42px;
  transform: translateY(-12px);
}
.cover-legend p,
.cover-legend a {
  font-size: calc(var(--fontSize) * 0.8);
  letter-spacing: var(--letterSpacing);
  font-weight: calc(var(--fontWeight) * 1.5);
}
#bibliography h6 + p {
  margin-top: 12px;
}
h6 em {
  font-style: normal;
  font-size: calc(var(--fontSize) * 0.8);
}
h6 a {
  font-size: calc(var(--fontSize) * 0.8);
}


/* ****************************** */
/* ****************************** */
/*   Addendum                     */
/* ****************************** */
/* ****************************** */

hr {
  display: block;
  height: var(--lineHeight);
  border: 0;
  border-top: 1px solid hsl(0, 0%, 70%); /* margin: var(--height3) 0 0 0; */
  padding: 0;
}
.title-link {
  font-size: calc(var(--fontSize) * 1.4);
  line-height: calc(var(--lineHeight) * 1.25);
  letter-spacing: var(--letterSpacing);
  font-weight: calc(var(--fontWeight) * 1);
  margin-bottom: var(--lineHeight);
}
sup,
sup a {
  font-size: calc(var(--fontSize) * 0.8);
  padding-left: calc(var(--fontSize) * 0.05);
  padding-right: calc(var(--fontSize) * 0.05);
  line-height: 0;
  position: relative;
  vertical-align: baseline;
  top: -0.1em;
}
.red {
  color: white;
  background-color: #dc143c;
}
.white {
  color: white;
}
.box {
  position: relative;
  display: flex;
  flex-direction: row;
  width: fit-content;
  font-size: var(--fontSize);
  font-weight: calc(var(--fontWeight) * 1.2);
  line-height: var(--lineHeight);
  letter-spacing: var(--letterSpacing);
}
.box + .box {
  margin-top: 2px;
}
.text {
  position: relative;
  padding: 8px 7px 4px;
  /* white-space: nowrap; */
  /* border-bottom: 1px solid black; */
}
/* .text:after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: -1px;
  height: 40%;
  border-left: 1px solid black;
}
.box:after {
  content: "";
  position: absolute;
  bottom: 0;
  right: -1px;
  height: 40%;
  border-left: 1px solid black;
} */
/**---text content-----------------*/
.text-content img {
  display: block;
  margin: auto;
  height: auto;
  max-height: 80vh;
}
.text-content p + p,
.text-content p + blockquote,
.text-content blockquote + p,
.text-content p + ul,
.text-content ul + p,
.text-content p + ol,
.text-content ol + p,
.text-content p + img,
.text-content img + p,
.text-content blockquote + img,
.text-content img + blockquote,
.text-content ul + img,
.text-content img + ul,
.text-content ol + img,
.text-content img + ol {
  margin-top: var(--margin-top1);
}
.text-content p + p {
  /* background-color: #eb5757; */
  margin-top: calc(var(--lineHeight) * 0.75);
}
.text-content a {
  color: var(--primary-color);
}
.text-content h2 + h3,
.text-content h2 + h4,
.text-content h2 + h5,
.text-content h2 + h6,
.text-content h2 + p {
  margin-top: calc(var(--margin-top1) + var(--margin-top1) * 0.5);
}
.text-content h3 + h4,
.text-content h3 + h5,
.text-content h3 + h6,
.text-content h3 + p,
.text-content p + h3 {
  margin-top: calc(var(--margin-top1) + var(--margin-top1) * 0.25);
}
.text-content h4 + h5,
.text-content h4 + h6,
.text-content h4 + p,
.text-content p + h4 {
  margin-top: var(--margin-top1);
}
.text-content h6 + p,
.text-content p + h6 {
  margin-top: var(--margin-top1);
}
.text-content em {
  font-family: "ESFace-BookItalic";
}
/* .text-content blockquote { font-family: 'ESFace-Book'; background-color: transparent; border-left: 1px solid lightgray; margin: 0; padding: 24px 24px 32px 48px; }
*/
.text-content blockquote em {
  font-family: "ESFace-BookItalic";
}
.text-content ol {
  list-style: inside decimal;
}
.text-content .foreword {
  /* background-color: hsl(270, 100%, 95%); */
  padding: calc(var(--lineHeight) / 2);
  border-radius: 5px;
}
@media screen and (width > 1250px) {
  .text-content .foreword {
    padding-right: var(--width2) !important;
  }
}
.text-content .place {
  /* background-color: hsl(270, 0%, 95%); */
  font-size: var(--fontSize);
  border-radius: 5px !important;
  padding: calc(var(--lineHeight) / 2) !important;
}
@media screen and (width > 1250px) {
  .text-content .place {
    padding-right: var(--width2) !important;
  }
}
.anchorTarget {
  padding-top: var(--height5);
  border-top: 1px solid rgb(195, 195, 195);
}
/* plyr tweaks */
.current-time {
  color: white;
  font-size: calc(var(--fontSize) * 0.7);
}



/* Spot page  */


.journal p {
  font-family: 'Times New Roman', Times, serif;
  font-size: calc(var(--fontSize)*1.1);
  padding: 0;
  margin: 0;
}


.poem p {
  font-family: 'Times New Roman', Times, serif;
  font-size: calc(var(--fontSize)*1.1);
  padding: 0;
  margin: 0;
  padding-left: var(--gutter-width);
  text-indent: calc(var(--gutter-width)*-1);
}

.poem .edit {
  padding-left: 0;
  text-align: center;
  margin: var(--lineHeight);
}