*, *::before, *::after { box-sizing: border-box; } body { line-height: 1.45; -webkit-font-smoothing: antialiased; } img, picture, video, canvas, svg { display: block; height: auto; max-width: 100%; } input, button, textarea, select { font: inherit; margin: 0; } iframe { border: 0; }
sup, sub {line-height: 0;}



/* ----------------------------------------------- fonts */
@font-face {
  src: url('fonts/franklin/HEX_Franklin_v0.3_Variable.woff2') format('woff2');
  font-family: 'Franklin';
  font-weight: 1 1000;
  font-style: normal;
}
@font-face {
  src: url('fonts/franklin/apos.woff2') format('woff2');
  font-family: 'Apos';
  font-style: normal;
}

@font-face {
    font-family: 'Frame Text';
    src: url('fonts/frame/FrameText-Italic-Web.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Frame Text';
    src: url('fonts/frame/FrameText-Roman-Web.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ----------------------------------------------- vars */
:root {
  --basesize: 1.25rem;
  --baseline: calc(1.4* var(--basesize));
  --color: #154351;
  --color: #3f3f3f;
  --logowidth: 200px;
  --headerheight: calc(2.2rem + var(--logowidth) / 5.55 + 1px);
  --lightgrey: #cacaca;

  --h-spacing: 2rem;
  --v-spacing: 2rem;
  --huge-spacing: 4rem;

  --franklin-condensed: "wdth" 100,"wght" 400;
  --franklin-condensed-bold: "wdth" 100,"wght" 700;
  --franklin-compressed: "wdth" 90,"wght" 300;
  --franklin-extended: "wdth" 120,"wght" 300;
  --franklin-extended-light: "wdth" 120,"wght" 200;
  --franklin-extended-bold: "wdth" 120,"wght" 500;

  --smallsize: calc(var(--basesize) * .8);
  --tinysize: calc(var(--basesize) * .75);

  --fontfamily: "Franklin", sans-serif;
  --altfamily: "Frame Text", serif;

}
@media (max-width: 1280px) {
  :root {
    --basesize: 1.15rem;
    --baseline: calc(1.4* var(--basesize));
    --h-spacing: 1.5em;
    --huge-spacing: 3.25rem;
  }
}

@media (max-width: 800px) {
  :root {
    --basesize: 1.15rem;
    --baseline: calc(1.4* var(--basesize));
    --h-spacing: 1em;
    --huge-spacing: 3rem;
  }
}
@media (max-width: 600px) {
  :root {
    --huge-spacing: 2rem;
  }
}

body {
  margin: 0;
  background-color: white;
  color: var(--color);
  font-family: var(--fontfamily);
  font-variation-settings: var(--franklin-extended);
  font-size: var(--basesize);
  line-height: var(--baseline);
}


/* ----------------------------------------------- common */

[hidden]{display: none;}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap; 
  border: 0;
}


.edit{ text-decoration: none;}
a { color: currentColor; }
ul{ list-style: none; margin: 0; padding: 0;}
figure {margin: 0;}
h1 {
  color: #000;
  font-size: 3.5em;
  font-size: clamp(2rem, 5vw, 6rem);
  margin: .5em auto;
  margin: max(.5em, 5vh) auto;
  text-align: center;
  line-height: 1;
  text-wrap: balance;
  font-weight: 300;
  max-width: 16em;
  padding: 0 var(--h-spacing);
  font-variation-settings: var(--franklin-extended);
  font-feature-settings: "case" off, "ss16" on , "ss15" on;
}
h1 sup {
  vertical-align:baseline;
  position: relative;
  top: -.33em;
  font-variation-settings: "wdth" 120,"wght" 360;
}
h2 { font-variation-settings: var(--franklin-condensed); }
@media (max-width: 500px) {
  h1 { font-size: clamp(2rem, 5vw, 6rem); line-height: 1.1; }
}
/* ----------------------------------------------- helpers */
.signature {
  font-style: italic;
  /* margin-top: calc( var(--baseline) * -1); */
  padding-left: 3em;
  display: block;
  text-wrap: balance;
}
.signature em {
  font-style: normal;
}
.signature::before {
  content: "— ";
  position: absolute;
  transform: translateX(-150%);
}
.visually-hidden {
  position: absolute;
  clip: rect(1px, 1px, 1px, 1px);
  padding: 0;
  border: 0;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.text {
  max-width: 35em;
  font-family: var(--altfamily);
  font-weight: 400;
  --baseline: calc(1.55 * var(--basesize));
  font-size: 90%;
  line-height: var(--baseline);
}
.text p,
.text ul,
.text blockquote {
  margin-bottom: var(--baseline);
}
.text hr {
  /* background: none;
  border: none;
  border-top: 1px solid currentColor;
  margin: var(--baseline) 0; */
}
.text p:first-child {
  margin-top: 0;
}
.text p:last-of-type {
  margin-bottom: 0;
}
.text ul {
  margin-left: 1em;
  text-indent: -1em;
}
.text ul li::before {
  content: "— ";
}
/* ----------------------------------------------- debug */

body:has(.debug) {
  margin: 0;
}
body:has(.debug) #header, body:has(.debug).edit, body:has(.debug).logo {display: none;}
body:has(.debug) h2 {
  padding: 0 1rem;
}
body:has(.debug) .debug {
    border-collapse: collapse;
    text-align: left;
    font-weight: 400;
    font-size: 16px;
    width: 100%;
    margin: 1em 0;
    cursor: pointer;
    
}
.debug .date em { color: #00000040; }
.debug td,th { padding: 3px .5em;}
.debug tbody tr:nth-child(odd){ background: #eee;}
.debug tbody tr:hover{
  background: #000;
  color: white;
}
.debug .noproblemo {
  display: none;
  color: limegreen;
}
.debug .debuggrid {
    font-size: 16px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    padding: 0 1rem;
}
.debug .debuggrid a {text-decoration: none;}
.debug .debuggrid p {margin: 0;}
  
body:has(.debug) th label {
  float: right;
}
body:has(.debug) thead {
    position: sticky;
    top: 0;
    background: white;
    box-shadow: 0px 2px 10px #00000070;
  }
body:has(.debug) .nobio {color: brown;}
body:has(.debug) :has(#displayall:checked) ~ table .noproblemo {display: table-row;}

body:has(.debug) :has(#hideoop:checked) ~ table .oop {display: none !important;}
body:has(.debug) :has(#displayall:checked) ~
body:has(.debug) :has(#hideoop:checked) ~ table tr.oop {display: table-row !important;}
body:has(.debug) :has(#displayall:checked) ~
body:has(.debug) :has(#hideoop:checked) ~ table th.oop,
body:has(.debug) :has(#displayall:checked) ~
body:has(.debug) :has(#hideoop:checked) ~ table td.oop {display: table-cell !important;}



/* ----------------------------------------------- main */

main {
  margin: 0 auto;
}

/* ----------------------------------------------- header */

#header{
  height: var(--headerheight);
  background: white;
  position: sticky;
  top: 0;
  border-bottom: 1px solid var(--lightgrey);
  z-index: 3;
}
[data-template="accueil"] #header {
  /* border-bottom: none; */
}
.logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
}
.logo img {
  width: var(--logowidth);
}

#nav {
  text-transform: uppercase;
  font-variation-settings: var(--franklin-condensed);
  height: var(--headerheight);
  font-size: var(--smallsize);
  align-items: center;
  justify-content: center;
  display: grid;
  grid-template-columns: grid;
  grid-template-columns: 1fr 1fr 2fr 1fr 1fr;
}
#nav a {
  text-decoration: none;
  text-align: center;
}
#nav a.active,
#nav a:hover{
  font-variation-settings: var(--franklin-condensed-bold)
}
#nav-agenda { grid-column: 4;}
#nav-la-maison { grid-column: 5;}


/* Nav Button */
#burger {
	width: 2rem;
  height: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.1s ease-out;
  position: absolute;
  right: 1em;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: none;
}
#burger path {
  stroke-width: 2px;
  stroke: #000;
}
.burger-close {display: none;}
/* Transforming ☰ to × */
#burger.expanded .burger-close {display: block;}
#burger.expanded .burger-bars {display: none;}

@media (min-width: 800px) {
  #burger { display: none;}
  .mobile-shortcut { display: none;}
}
@media (max-width: 800px) {
  .mobile-shortcut-first::before {
    content: "";
    display: block;
    background: url('../img/rose.svg') no-repeat center;
    background-size: .75em;
    height: 1em;
    margin-bottom: var(--baseline);
  }
  :root{
    --logowidth: 160px;
  }
  #header { grid-template-columns: 1fr; }
  .logo { grid-column: 1; }
  #burger + #nav { display: none; }

  /* Show menu */
  #burger.expanded + #nav {
    position: fixed;
    background: white;
    inset: 0;
    height: 100vh;
    width: 100vw;
    flex-direction: column;
    display: flex;
    margin: 0;
    justify-content: center;
    align-items: center;
    /* gap: var(--baseline); */
  }
  #burger.expanded + #nav > * {
    margin: calc(var(--baseline) / 2);
  }
}

/* ----------------------------------------------- subnav (index) */

.subnav{
  padding: var(--v-spacing) var(--h-spacing);
  font-size: var(--smallsize);
  /* border-top: 1px solid var(--lightgrey); */
  border-bottom: 1px solid var(--lightgrey);
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.subnav ul {
  font-weight: 400;
  font-variation-settings: var(--franklin-condensed);
  justify-content: center;
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0 1em;
  flex-wrap: wrap;
}
.subnav a {
  text-decoration: none;
}
.subnav a.active, .subnav a:hover{
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-decoration-thickness: 1px ;
  text-underline-offset: .2em;
}
/* letters links */
.letters {
  text-transform: uppercase;
}

/* ----------------------------------------------- events */


.event{
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  grid-template-rows: 1fr;
  grid-template-areas: "header meta text";
  max-width: 1600px;
  margin: calc(var(--baseline) * 2) auto ;
  padding: 0 var(--h-spacing);
}
.event .place {
  font-family: var(--fontfamily);
  font-variation-settings: var(--franklin-condensed);
  font-size: var(--smallsize);
  text-wrap: balance;
}
.event .place span {display: block;}
.event .place span span {display: none;}

/* home */
.home-events .event { grid-template-areas: ". header text" ". header meta"; }
.home-events .event header { grid-row: span 2;}
.home-events .event .place span {display: inline;}
.home-events .event .place span span {display: inline;}
.home-events .event .place span:last-of-type span {display: none;}

/* book */
.book-events .event { 
  grid-template-columns: 1fr;
  grid-template-areas: "header" "meta" "text" ;
  padding: 0;
  margin: 0;
}
.book-events .event header h2 {display: none;}
.book-events .event .place span {display: inline;}
.book-events .event .place span span {display: inline;}
.book-events .event .place span:last-of-type span {display: none;}

.event header { grid-area: header;}
.event .meta { grid-area: meta;}
.event .text { grid-area: text; }
.event h2,
.event h3,
.event .meta,
.event .date {
  margin: 0;
  font-variation-settings: var(--franklin-condensed);
  font-size: var(--smallsize);
  text-wrap: pretty;
  text-wrap: balance;
  padding-right: var(--h-spacing);
  --baseline: calc(1.55 * var(--basesize));
  line-height: var(--baseline);
}
.event .date {
  font-variation-settings: var(--franklin-condensed-bold);
}

.event .meta  p {margin: 0;}


summary {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
}

summary::marker,
summary::-webkit-details-marker {
  font-size: 1em;
  display: none;
}

summary::after {
  content: "+";
  font-size: 1em;
  margin-left: .5em;
  transition: transform 200ms ease;
}

details[open] summary::after {
  content: "×";
}

@media (max-width: 1000px) {
  .event{
    grid-template-columns: 1fr 3fr;
    grid-template-areas: "header text" "header meta";
  }
  .event header { grid-row: span 2;}
}


@media (max-width: 800px) {
  .event{
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "header meta" "text text";
    gap: calc(var(--baseline) / 2);    
  }
  .event header { grid-row: 1;}
}


/* ----------------------------------------------- book */
main.book {
  max-width: 1600px;
  padding: 0 var(--h-spacing);
}
.edit { display: none; }
.book-content {
  display: grid;
  grid-template-columns: 1fr 3fr;
}
.book-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: var(--huge-spacing) 0;
  grid-column: 1 / -1;
}
.book-header h1 {
  padding: 0;
  margin: .25em auto 0;
  text-align: center;
}
.book-authors {
  text-align: center;
}

.book-wrapper {
  display: grid;
  grid-template-columns:  1fr 2fr;
  grid-column: 2;
  gap: var(--baseline);
}

.book-cover {
  max-width: 260px;
  justify-self: end;
  align-self: self-start;
  grid-column: 1;
  position: sticky;
  align-self: start;
  top: calc(var(--baseline) + var(--headerheight));
  box-shadow: 0 .25em 1em rgba(0,0,0,.05);

}

.book-cover figure {
  margin: 0;
  padding: 0;
  aspect-ratio: var(--ratio);
  width: 100%;
  /* clip-path: inset(2px);   */
  background: var(--bgdark);
}
.book-cover img { opacity: 1;  width: 260px; transition: all 150ms; }
.book-cover a:hover img { opacity: .9;}

.book-data {
  --baseline: calc(1.55 * var(--basesize));
  line-height: var(--baseline);
  letter-spacing: .015em;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: start;
  gap: var(--baseline);
  padding: 0 var(--h-spacing);
  font-size: var(--smallsize);
  font-variation-settings: var(--franklin-condensed);
}
.book-data p {
  text-wrap: balance;
  margin: 0;
}
.book-meta-newprint {
  margin: 0;
  background: var(--c);
  color: white;
  font-family: var(--fontfamily);
  padding: .15em .5em;
  width: fit-content;
}
.book-text {
  grid-column: 2;
}
.book-details,
.book-authors-details,
.book-press,
.book-events {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 1fr 2fr;
  align-items: start;
}

.book-data,
.book-author-title,
.book-press-title,
.book-events-title {
  grid-column: 1;
  margin: 0;
  padding: 0 var(--h-spacing);
  font-size: var(--smallsize);
  line-height: var(--baseline);
  font-variation-settings: var(--franklin-condensed);
  align-self: start;
  top: var(--baseline)
}
.book-events-content,
.book-press-content {
  display: flex;
  flex-direction: column;
  gap: var(--baseline);
}
.book-event .date {
  font-variation-settings: var(--franklin-condensed-bold);
  margin: 0;
  font-size: var(--smallsize);
}
.book-event .place {
  font-variation-settings: var(--franklin-condensed);
  margin-top: 0;
  font-size: var(--smallsize);
}
.book-event .text p:last-child {
  margin-bottom: 0;
}
.rebonds {
  margin-top: var(--huge-spacing);
}
@media (max-width: 1000px) {
  .book-content {
    gap: var(--h-spacing);
  }
  .book-wrapper,
  .book-details, .book-authors-details, .book-press, .book-events {
    grid-template-columns: 1fr;
    padding: 0;
  }
  .book-data, .book-author-title, .book-press-title, .book-events-title {
    padding: 0;
    margin-bottom: var(--v-spacing);
    display: block;
  }
  .book-author-title , .book-press-title , .book-events-title  {
    font-variation-settings: var(--franklin-condensed-bold);
    font-size: 1em;
  }
  .book-meta {
    text-wrap: pretty;
  }
  .book-meta > * { display: inline;}
  .book-meta > *:not(:last-child)::after { content: " ⋅ "; opacity: .4; padding: 0 .15em;}
  .book-text {
    grid-column: 1;
  }
}
@media (max-width: 800px) {
  .book-content { grid-template-columns: 1fr; gap: 0; }
  .book-wrapper {grid-column: 1;}
  .book-cover { position: static; justify-self: center; margin-bottom: var(--baseline);}
  .book-data {
    text-align: center;
    text-wrap: balance;
  }
}


/* ----------------------------------------------- list */
.intro {
  max-width: 38.5em;
  margin: 0 auto;
  padding: 0 var(--h-spacing);
}
.intro h2,
.intro h3{
  font-size: 1.17em;
  font-weight: bold;
  margin-block: var(--baseline);
  font-variation-settings: var(--franklin-extended);
  font-family: var(--fontfamily);
}
.author-books {
  margin-top: var(--huge-spacing);
}
.author-books h2 {
  margin-bottom: var(--huge-spacing);
}
.books-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(400px, 28vw), 1fr));
  align-items: start;
  justify-items: center;
  justify-content: center;
  padding: 0 var(--h-spacing);
  display: flex;
  flex-wrap: wrap;
}
.book-item {
  min-width: min(400px, 28vw);
  flex: 1;
  margin: 2em;
}
@media (max-width:500px) {
 .book-item {
    min-width: none;
    width: 100%;
    flex: unset;
  }
}

@supports (gap: 2em){
  .books-list {gap: var(--huge-spacing);}
  .book-item {margin: 0;}
}

.intro + .books-list {
  margin-top: var(--huge-spacing);
}
.book-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 24em;
  text-wrap: balance;
}
.subpage-title,
.book-title {
  margin: 0 auto;
  font-size: 2em;
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
  text-decoration: underline;
  text-decoration-color: var(--c, white);
  text-decoration-thickness: 3px;
  padding-bottom: 5px;
  text-underline-offset: .2em;
  line-height: 1.2;
  /* font-family: 'Apos', var(--fontfamily); */
  font-feature-settings: "ss08" on;
  font-variation-settings: var(--franklin-extended);
  text-wrap: balance;
}
.book-title.nolink {
  text-decoration-style: dotted;
}
.book-item .is_newprint{
  font-size: var(--smallsize);
  display: block;
  margin: .75em auto -.25em;
  text-transform: uppercase;
  font-variation-settings: var(--franklin-compressed);
  opacity: .75;
}
.following {
  display: block;
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-thickness: 4px;
  text-decoration-color: white;
  text-transform: uppercase;
  font-size: .5em;
  line-height: 1.3;
  margin: 0.25em 0 0.5em;
  transform: translateY(.5em);
  position: relative;
  font-variation-settings: var(--franklin-compressed);
}
.main-author {
  text-align: center;
  text-decoration: none;
  font-size: var(--basesize);
  font-weight: normal;
  font-variation-settings: var(--franklin-extended-light);
  margin: 0;
  line-height: 1.2;
  text-transform: uppercase;
  margin-bottom: -.5em;
  text-wrap: balance;
}
.book-item .main-author {
  font-variation-settings: var(--franklin-compressed);
  margin-bottom: .5em;
}
@media (max-width: 800px) {
  .book-title {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
  }
}
@media (max-width: 600px) {
  .books-list {
    grid-template-columns: 1fr;
    gap: var(--huge-spacing);
  }
}

/* ----------------------------------------------- author page */
.author-portrait {
  padding: 0;
  margin: 1em auto 2em;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.author-portrait figcaption {
  font-style: italic;
  opacity: .7;
  margin-top: .5em;
  font-size: var(--smallsize);
}
.author-books > h2 {
  text-align: center;
  text-transform: uppercase;
  font-size: 1em;
}
.author-book-date {
  margin: 1em 0 0;
}

/* ----------------------------------------------- soon */

/* .soonbook .book-title { margin: .5em 0; display: block; text-align: center;} */
.soonbook .meta {
  margin-top: 1em;
}
.soonbook .meta p {
  margin: 0;
  font-size: var(--smallsize);
  text-align: center;
}
.soonbook .details {
  font-family: var(--altfamily);
  text-align: center;
}

/* ----------------------------------------------- default */
.breadcrumb {
  text-align: center;
  text-transform: uppercase;
  margin-top: 2em;
  font-variation-settings: var(--franklin-condensed);
}
.breadcrumb ol {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.breadcrumb ol li::after {
  content: "↓";
  display: block;
  margin: .5em 0;
}
.breadcrumb a {text-decoration: none;}

.siblings {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1em;
  
}
.siblings a.active, .siblings a:hover { text-decoration: underline; text-underline-offset: .2em;}
.subpages-list {
  display: flex;
  justify-content: center;
  align-items: start;
  flex-wrap: wrap;
  gap: 4em;
  margin: 4em auto;
  padding: 0 var(--h-spacing);
  max-width: 1550px;
}
.subpage-item {
  flex: 1;
  min-width: 12em;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  
}
.subpage-item a {text-decoration: none;}
.page-subtitle{
  margin-top: .5em;
  font-size: var(--smallsize);
  text-wrap: balance;
  max-width: 30em;
}
.page-subtitle a {
  text-decoration: underline;
  text-underline-offset: .2em;
}
.default-text {
  display: grid;
  grid-template-columns: 1fr 3fr;
  max-width: 1600px;
  padding: 0 var(--h-spacing);
  margin: 2em auto;
}
.default-text .text {
  display: grid;
  grid-column: 2 / -1;
  max-width: none;
  grid-template-columns: 1fr 2fr;
  grid-row: 1;
  gap: var(--baseline) 0;
}
.default-text .text > :not(h1, h2, h3, h4),
.default-text ul,
.default-text blockquote {
  grid-column: 2;
  margin: 0;
}
.default-text .text > hr {
  /* grid-column: 1 / -1; */
}
.quote {margin: var(--baseline) 0;}
.quote .blockquote-footer {
  font-style: italic;
  padding-left: 4em;
  display: block;
  text-wrap: balance;
}
.quote .blockquote-footer::before {
  content: "– ";
  position: absolute;
  transform: translateX(-150%);
}
.default-text figure {
  grid-column: 1;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: end;
  margin-bottom: 2em;
}
.default-text .text figure {
  padding: 0 var(--h-spacing);
}
.default-text figcaption{
  font-family: var(--altfamily);
  font-style: italic;
  opacity: .7;
  margin-top: .5em;
  font-size: var(--smallsize);
  max-width: 300px;
}
.default-text h2,
.default-text h3 {
  grid-column: 1;
  font-family: var(--fontfamily);
  margin-top: 0;
  font-variation-settings: var(--franklin-condensed);
  font-size: var(--smallsize);
  padding: 0 var(--h-spacing);
  text-wrap: pretty;
  text-wrap: balance;
  
  text-align: right;
}

@media (max-width:650px) {
  .default-text {
    grid-template-columns: 1fr;
  }
  .default-text figure {
    align-items: center;
  }
  .default-text figcaption { text-align: center; text-wrap: balance;}
  .default-text .text {
    grid-column: 1;
    grid-row: unset;
    grid-template-columns: 1fr;
  }
  .default-text h2, .default-text h3 {
    text-align: left;
    padding: 0;
    margin-bottom: 0;
  }
  .default-text .text > :not(h1, h2, h3, h4), .default-text ul, .default-text blockquote {
    grid-column: 1;
  }
}

/* ----------------------------------------------- form */
.contacts .text {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  max-width: 1600px;
  padding: 0 var(--h-spacing);
  gap: var(--baseline) 0;
  margin: auto;
  
  
}
.contacts .text h2 {
  margin-top: 0;
  grid-column: 2;
  font-size: var(--smallsize);
  font-family: var(--fontfamily);
  line-height: var(--baseline);
  
  text-align: right;
  padding-right: var(--baseline);
}
.contacts .text p { grid-column: 3; margin: 0;}

@media (max-width:450px) {
  .contacts .text {
    grid-template-columns: 1fr;
  }
  .contacts .text h2 {
    text-align: center;
  }
  .contacts .text h2,
  .contacts .text p {
    grid-column: 1;
  }
}


.manuscripts {
  align-items: start;
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1600px;
  padding: 0 var(--h-spacing);
  gap: var(--baseline) 0;
  margin: auto;
  font-variation-settings: var(--franklin-condensed);
}
.manuscripts header {
  grid-column: 1 / -1;
}
.manuscripts.success {
  grid-template-columns: 1fr;
}
.manuscripts .success {
  max-width: 35em;
  font-family: var(--altfamily);
  font-size: 90%;
  font-weight: 400;
  --baseline: calc(1.55 * var(--basesize));
  line-height: var(--baseline);
  margin: auto;
}
.manuscripts .text {
  max-width: 36em;
}
.potdemiel {
  position: absolute;
  left: -9999px;
}
.alert-intro {
  font-size: var(--smallsize);
  margin: 0 0 1em 0;
}
.alert.error {
  color: crimson;
}
.alert.error::before {
  content: "↑ "
}
#contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--baseline);

  padding-right: var(--h-spacing);
}
.field {
  display: flex;
  flex-direction: column;
  align-items: start;
  font-size: var(--smallsize);
}
.field input, .field textarea { font-family: var(--fontfamily); padding: .25em .5em; width: 100%; max-width: 100%; border-radius: 3px; border: 1px solid #a3a3a3; background: none; font-size: var(--smallsize); color: currentColor;}
.field label {
  font-variation-settings: var(--franklin-condensed);
}
.field:has(textarea), .field:has(input[type=file]), .field-submit{
  grid-column: span 2;
}
.field-submit {
  align-items: center;
}
.field-submit input{
  width: auto;
  padding: .25em 1em;
  cursor: pointer;
}
.field-submit input:disabled{
  cursor: default;
  background: #eee;
  color: #848484;
}
.help {
  display: block;
  margin-top: .5em;
  font-size: var(--smallsize);
}
@media (max-width:800px) {
  #contact-form {
    padding-right: 0;
  }
  .manuscripts {
    grid-template-columns: 1fr;
  }
  .manuscripts .form {grid-row: 3;}
  .manuscripts .text {grid-row: 2;}
}
@media (max-width:450px) {
  #contact-form {
    grid-template-columns: 1fr;
  }
  .field:has(textarea), .field:has(input[type="file"]), .field-submit {
    grid-column: 1;
  }
}
/* ----------------------------------------------- home */

.strikethrough {
  margin: 2em 0;
  font-variation-settings: var(--franklin-extended-light);
  text-transform: uppercase;
  text-align: center;
  font-size: 1em;
  position: relative;
  padding: 1em;
}
.strikethrough img {
  margin: auto;
  width: .75em;
  display: inline;
  vertical-align: middle;
}
.strikethrough::before {
  position: absolute;
  content: "";
  border-top: 1px solid var(--lightgrey);
  left: 0;
  width: 100%;
  transform: translateY(calc(var(--baseline) / 2));
}
.strikethrough span {
  background: white;
  position: relative;
  padding: 0 1em;
}

.publications-list {
  display: flex;
  align-items: start;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  --gutter: 3em;
}
.homeh2 {
  margin: 2em 0;
  font-variation-settings: var(--franklin-extended-light);
  text-transform: uppercase;
  text-align: center;
  font-size: 1em;
  position: relative;
  padding: 1em;
}
.homeh2 a {
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}
.next-publications .publications-list {
  --gutter: 1px;
  --maxwidth: calc( (100vw  - var(--gutter) * calc(var(--total) - 1) ) );
  max-width: var(--maxwidth, 100%);
  grid-template-columns: repeat(var(--total), 1fr);
}


/* home carousel */
.publications {
  position: relative;
}
.carousel {
  line-height: 1.45;
  --carousel-basesize: clamp(1.25rem, 0.6875rem + 0.6vw, 1.625rem);
  --b: calc(var(--carousel-basesize) * 1.45);
}
[data-template="home"] #header {
  border-bottom: none;
}
.carousel-item {
  font-size: var(--carousel-basesize);
  width: 100%;
  height: min(900px, calc(100vh - var(--headerheight) - 5 * var(--baseline)));
  background-color: var(--dark);
  display: grid;
  grid-template-columns: 1fr 1fr;
  color: white;
}
@supports (height:100svh){
  .carousel-item {
    height: min(900px, calc(100svh - var(--headerheight) - 5 * var(--baseline)));
  }
}
.carousel-item a {
  text-decoration-thickness: 1px;
  text-decoration-color: #fffa;
  text-underline-offset: .3em;
}
.carousel-item .cover {
  margin: 0;
  padding: 0;
  max-width: 300px;
  transition: all 300ms ease;
  position: relative;
  z-index: 2;

  align-self: center;
  justify-self: center;
  display: flex;
  max-height: 80%;
  overflow: hidden;
  aspect-ratio: var(--ar);
  box-shadow: 0 .25em 1em rgba(0,0,0,.35);  
}
.carousel-item .cover img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}
.carousel-item-content {
  align-self: center;
  padding: var(--b) var(--b) var(--b)  0;
  display: flex;
  gap: var(--b);
  flex-direction: column;
  opacity: .75;
  
}
.carousel-item-title {
  font-size: var(--smallsize);
  font-variation-settings: var(--franklin-condensed);
}

.exergue-item-sentence {
  font-family: var(--altfamily);
  text-wrap: pretty;
}
.exergue-item-sentence p {
  max-width: 40ch;
  margin: 0;
}
.guillemet {
  display: inline-block;
  width: .5em;
  margin-left: -.65em;
}

.flickity-button:hover,
.flickity-prev-next-button {
  --b: calc(var(--carousel-basesize) * 1.45);
  --width: 60px;
  top: var(--b);
  transform: none;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: calc(var(--width) * 2 / 3);
  border-radius: 0;
  width: var(--width);
  height: calc(var(--width) * 0.75);
  mix-blend-mode: lighten;
  opacity: .75;
  z-index: 3;
}
.flickity-button:hover{opacity: 1;}
.flickity-prev-next-button svg {
  display: none;
}

.flickity-prev-next-button.previous {
  left: unset;
  right: var(--b);
  transform: translate(calc( -1 * var(--width)),0);
  background-image: url(../img/prev-white.svg);
}

.flickity-prev-next-button.next {
  right: var(--b);
  background-image: url(../img/next-white.svg);
}

@media (max-width:1000px) {
  .carousel {
    --carousel-basesize: var(--basesize)
  }
  .carousel-item {
    grid-template-columns: 1fr 2fr;
    gap: var(--b);
    padding: var(--b);
  }
  .cover{
    margin: var(--b);
  }
}
@media (max-width:800px) {
  .carousel-item-content  {
    display: none;
  }
  .carousel-item {
    grid-template-columns: 1fr;
  }
  .flickity-button:hover,
  .flickity-prev-next-button {
    top: 50%;
    transform: translate(0,-50%);
  }
  .flickity-prev-next-button.previous {
    left: var(--b);
    right: unset;
    transform: translate(0,-50%);
  }
}
@media (max-width:500px) {
  .flickity-button:hover,
  .flickity-prev-next-button {
    --width: 40px;
    --b: 0;
  }
  .flickity-prev-next-button.previous {
    background-image: url(../img/prev-white-short.svg);
  }
  .flickity-prev-next-button.next {
    background-image: url(../img/next-white-short.svg);
  }  
}

.last-publications-container {
  padding-bottom: 3em;
  border-bottom: 1px solid var(--lightgrey);
  margin-bottom: 2em;
}
#last-publications {
  max-width: 1900px;
  margin: auto;
}

.next-publications .homebook {
  background: white;
  --bottom-edge: rgba(255,255,255, .1);
  --text-fade: white;
}
.next-publications .homebook-content{color: unset;}


@media (max-width:1280px) {
  .publications-list { grid-template-columns: repeat(3, 1fr);}
}

@media (max-width:800px) {
  .publications-list { grid-template-columns: repeat(2, 1fr);}
}
@media (max-width:450px) {
  .publications-list { grid-template-columns: 1fr;}
  .homebook { padding: 8vh;}
  .next-publications .publications-list {
    grid-template-columns: 1fr 1fr;
  }
  .next-publications .homebook { padding: 4vh;}
}

summary,
.button {
  display: block;
  width: fit-content;
  text-align: center;
  font-family: var(--fontfamily);
  font-variation-settings: var(--franklin-extended);
  font-size: .75em;
  border: 1px solid #a4a4a4;
  padding: .4em 1.25em .35em;
  border-radius: 3px;
  text-decoration: none;
  cursor: pointer;
  margin-top: calc(var(--baseline) / 2);
}
summary:hover,
.button:hover {
  font-weight: bold;
  font-variation-settings: var(--franklin-extended-bold);
}
.programme-link a{
  margin: var(--huge-spacing) auto 0;
}
/* ----------------------------------------------- authors (index) */
.index-list {
  margin: 2em 0;
  padding: 0 var(--h-spacing);
}
.index-group-by-letter {
  display: grid;
  grid-template-columns: 100px 1fr;
  font-size: var(--smallsize);
  align-items: start;
  margin-top: var(--baseline);
  scroll-margin-top: calc(var(--baseline) + var(--headerheight));
}

.index-group-by-letter h2 {
  text-transform: uppercase;
  font-size: 2em;
  position: sticky;
  font-variation-settings: var(--franklin-condensed-bold);
  top: .5em;
  top: calc(var(--baseline) + var(--headerheight));
  margin: 0;
}
.index-list a {
  text-decoration: none;
}
.index-list ul {
  display: grid;
  list-style-type: none;
  margin: 0;
  padding: 0;
  gap: 0 2em;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
.index-list li {
  margin-bottom: .5em;
  line-height: 1.4;
}
@media (max-width:800px) {
  .index-group-by-letter {
    grid-template-columns: 3em 1fr;
  }
}
@media (max-width: 620px) {
  .index-group-by-letter {
    display: block;
    font-variation-settings: var(--franklin-condensed);
  }
  .index-group-by-letter h2 {
    text-align: center;
    margin-bottom: var(--v-spacing);
    position: static;
  position: relative;
  top: 0;
  }

  .index-group-by-letter h2::before {
    position: absolute;
    content: "";
    border-top: 1px solid var(--lightgrey);
    left: 0;
    width: 100%;
    transform: translateY(calc(var(--baseline) / 2));
  }
  .index-group-by-letter h2 span {
    background: white;
    position: relative;
    padding: 0 1em;
  }
  .index-list ul {
    display: block;
    columns: 2;
    column-gap: 1em;
  }
}
/* ----------------------------------------------- filters  */

.filters {
  font-weight: 400;
  font-variation-settings: var(--franklin-condensed);
  /* border-top: 1px solid var(--lightgrey); */
  border-bottom: 1px solid var(--lightgrey);
  font-size: var(--smallsize);
  margin-bottom: 4em;
  /* display: grid;
  grid-template-columns: 1fr 1fr; */
}
.filters-search,
.filters-groups {
  padding: var(--h-spacing);
}
.filters-groups {
  /* border-left: 1px solid var(--lightgrey); */
}
.filters-search {
  /* display: flex;
  justify-content: center;
  align-items: center; */
}
.filters-list {
  display: flex;
  justify-content: center;
  gap: 0 1em;
  flex-wrap: wrap;
  max-width: 40em;
  margin: auto;
}
.filters a {
  text-decoration: none;
}
.filters a:hover,
.filters [aria-selected=true],
.filters a.active {
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-decoration-thickness: 2px ;
  text-underline-offset: .2em;
}
[role="tablist"] {
  display: flex;
  margin: 0 auto;
}
[role="tabpanel"] {

  margin: 1em auto 0;
}
[role="tablist"] + * {
  margin-top: 1em;
}
.filters ul {
  justify-content: center;
  gap: 0 1em;
  margin: auto;
}
.years-ranges {
  margin: 0;
}
@media (max-width: 800px) {
  .filters {
    grid-template-columns: 1fr;
  }
  .filters-groups {
    border-left: none;
    border-top: 1px solid var(--lightgrey);
  }
  .filters ul,
  .filters-list {
    justify-content: center;
  }
}


/* ----------------------------------------------- footer */
#footer {
  margin: 4em 0;
  text-align: center;
  font-size: var(--tinysize);
  line-height: 2.2;
}
.networks {
  display: flex;
  gap: 1em;
  justify-content: center;
}
.form-field-combined input,
.form-field-combined .sib-form-block__button {
  background: none;
  border: 1px solid var(--lightgrey);
  padding: .25em .5em;
  font-size: 16px;
  border-radius: 3px 0 0 3px;
  color: currentColor;
  font-variation-settings: inherit;
  width: 100%;
}
.form-field-combined input:focus-within {
  outline: none;
  background: #eee;
}
.form-field-combined input:last-child,
.form-field-combined .sib-form-block__button {
  padding: .25em 1em;
  border-radius: 0 3px 3px 0;
  margin-left: -1px;
  width: fit-content;
}

#rosedesvents {
  margin: 6em auto 0;
  display: flex;
  justify-content: center;
}
#rosedesvents::before {
  position: absolute;
  content: "";
  border-top: 1px solid var(--lightgrey);
  width: 100%;
  transform: translateY(90px);
}
#rosedesvents span {
  background: white;
  position: relative;
}
#rosedesvents img {
  width: 180px;
}
.footer-content p {
  margin: 0 auto;
}
.footer-content a {
  text-underline-offset: .2em;
}

hr {
  border: none;
  background: url(../img/rose.svg) no-repeat center;
  background-size: 1em auto;
  width: 2em;
  height: 2em;
  position: relative;
  width: 100%;
}
hr::before {
  position: absolute;
  content: "";
  z-index: -1;
  border-top: 1px solid var(--lightgrey);
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
}
.big-hr { margin: 2em 0;}

.form-field-combined {
  display: flex;
  gap: 0;
  justify-content: center;
  margin: 0 auto;
  max-width: 25em;
}

.footer-content svg {display: none;}
.footer-content label,
.entry__label {
  display: block;
  margin: 0 0 .5em;
}

.sib-form-message-panel { display: none;}
.sib-form-message-panel--active { display: block;}
.footer-content .entry__error {
  display: block;
  line-height: 1.45;
  margin-top: 1em;
}
.input--hidden {display:none !important}
.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2em;
  padding: 2em;
}
.footer-content > :nth-child(1) { order: 2;}
.footer-content > :nth-child(2) { order: 3;}
.footer-content > :nth-child(3) { order: 1;}
@media (max-width: 1200px) {
  #footer {
    font-variation-settings: var(--franklin-condensed);
  }
}
@media (max-width: 900px) {
  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-content > :nth-child(1) { order: 1;}
  .footer-content > :nth-child(2) { order: 2;}
  .footer-content > :nth-child(3) { order: 3;}
}




/* ----------------------------------------------- lightbox */
@media (min-width:768px) {
  .glightbox-bo .gslide-media {
    box-shadow: 1px 2px 9px 0px rgba(0, 0, 0, 0.65);
    box-shadow: none;
  }
}
.glightbox-bo .goverlay {
  background: var(--bg, black);
}

.glightbox-bo .gdesc-inner {
  padding: 16px 0 20px;
  margin-top: -16px;
}

@media (min-width:768px) {
  .glightbox-bo .gdesc-inner {
    position: absolute;
    height: 100%;
    overflow-y: auto;
  }
}
.glightbox-bo .gslide-title,
.glightbox-bo .gslide-desc {
  margin: .5em 0 0;
  text-decoration: none;
  font-size: var(--smallsize);
  font-weight: 400;
  max-width: 45em;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4em;
}

.glightbox-bo .gslide-desc {
  margin-bottom: 0;
  line-height: 1.4em;
}

.glightbox-bo .gslide-video {
  background: #000;
}

.glightbox-bo .gprev,
.glightbox-bo .gnext,
.glightbox-bo .gclose {
  background-color: rgba(0, 0, 0, 0.75);
  border-radius: 4px;
}
@media (min-width:768px) {
  .glightbox-bo .gprev,
  .glightbox-bo .gnext,
  .glightbox-bo .gclose {
      background-color: rgba(0, 0, 0, 0.32);
  }
  .glightbox-bo .gprev:hover,
  .glightbox-bo .gnext:hover,
  .glightbox-bo .gclose:hover {
    background-color: rgba(0, 0, 0, 0.7);
  }
}

.glightbox-bo path {
  fill: #fff;
}

.glightbox-bo .gprev {
  position: absolute;
  top: -100%;
  left: 30px;
  width: 40px;
  height: 50px;
}
@media (min-width:768px) {
  .glightbox-bo .gprev {
    top: 45%;
  }
}

.glightbox-bo .gnext {
    position: absolute;
    top: -100%;
    right: 30px;
    width: 40px;
    height: 50px;
}
@media (min-width:768px) {
  .glightbox-bo .gnext {
    top: 45%;
  }
}
.glightbox-bo .gclose {
  width: 35px;
  height: 35px;
  top: 15px;
  right: 10px;
  position: absolute;
}
.glightbox-bo .glose svg {
    width: 18px;
    height: auto;
  }

@media (min-width:992px) {
  .glightbox-bo .gclose svg {
    opacity: 0.7;
    right: 20px;
  }
  .glightbox-bo .gclose svg:hover {
    opacity: 1;
  }
}
@supports ( background-color: color-mix(in srgb, red 30%, black)) {
  .glightbox-bo .goverlay {
    background-color: color-mix(in srgb, var(--bg, black) 30%, black) ;
    background: var(--bgdark);
  }
}
