/* Keep the homepage cards aligned without stretching or cropping their covers. */
body #accueil .new-books .cover-stage .cover-picture{
 position:absolute;inset:9% 5%;display:flex;align-items:center;justify-content:center
}
body #accueil .new-books .cover-stage img{
 height:100%!important;min-height:0!important;max-height:100%!important;
 width:auto!important;min-width:0!important;max-width:100%!important;object-fit:contain
}
body #accueil .question-discovery>h2{
 font-size:clamp(28px,3vw,38px);line-height:1.12;max-width:none
}

/* The desktop opening gives equal height to the book and its author's drawing. */
body #home-hero.audit-hero .hero-author-portrait{display:none}
@media(min-width:900px){
 body #home-hero.audit-hero.hero-with-author-portrait{
  --hero-image-height:clamp(190px,19.4vw,280px);
  grid-template-columns:minmax(0,1fr) var(--hero-portrait-height,var(--hero-image-height)) calc(var(--hero-image-height) * var(--hero-cover-ratio));
  grid-template-areas:'title portrait cover' 'question portrait cover' 'author portrait cover' 'buy portrait cover' 'links portrait cover';
  column-gap:clamp(16px,2vw,28px)
 }
 body #home-hero.audit-hero.hero-with-author-portrait h1{font-size:clamp(42px,4.45vw,64px)!important}
 body #home-hero.audit-hero.hero-with-author-portrait .hero-author img{display:none}
 body #home-hero.audit-hero.hero-with-author-portrait .hero-author-portrait{
  grid-area:portrait;display:block;align-self:center;justify-self:center;
  width:var(--hero-portrait-height,var(--hero-image-height));height:var(--hero-portrait-height,var(--hero-image-height));margin:0 0 24px;
  background:#fff
 }
 body #home-hero.audit-hero.hero-with-author-portrait .hero-large-portrait-picture{display:block;width:100%;height:100%}
 body #home-hero.audit-hero.hero-with-author-portrait .hero-author-portrait img{
  display:block;width:100%;height:100%;object-fit:contain;border-radius:0;mix-blend-mode:normal
 }
 body #home-hero.audit-hero.hero-with-author-portrait .hero-book-link{
  width:calc(var(--hero-image-height) * var(--hero-cover-ratio));max-width:100%;margin:0 0 24px
 }
 body #accueil .home-authors-section .audit-portraits{
  display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:22px 18px;align-items:start
 }
 body #accueil .home-authors-section .audit-person{padding:0;min-width:0}
 body #accueil .home-authors-section .audit-person strong{font-size:18px;line-height:1.3}
 body #accueil .home-authors-section .published-book{font-size:16px;line-height:1.35}
 body #accueil .home-authors-section .home-authors-all{
  display:block;grid-column:1/-1;justify-self:end;margin:0;padding:0;border:0;
  font:500 17px/1.4 var(--sans);text-decoration:underline;text-underline-offset:4px
 }
}
@media(max-width:899px){
 body #accueil .home-authors-section .audit-portraits{display:flex!important;flex-wrap:nowrap!important}
 body #accueil .home-authors-section .home-authors-all{flex:0 0 145px}
}
