/* Let the outline follow each book's own width, including landscape albums. */
body.ledb-artnouveau #choix-lecture .ledb-reading-grid {
  display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1.4rem clamp(.7rem,1.6vw,1.5rem);align-items:start;
}
body.ledb-artnouveau #choix-lecture .ledb-lecture-card,
body.ledb-artnouveau #choix-lecture .ledb-lecture-card>a,
body.ledb-artnouveau #choix-lecture .ledb-lecture-card-media {
  background:transparent;border:0;box-shadow:none;padding:0;overflow:visible;
}
body.ledb-artnouveau #choix-lecture .ledb-lecture-card-media {display:flex;height:clamp(132px,15vw,180px);align-items:flex-end;justify-content:center}
body.ledb-artnouveau #choix-lecture .atelier-volume {
  display:block;width:max-content;max-width:100%;height:auto;line-height:0;overflow:visible;border:0;border-radius:0;
  box-shadow:0 0 0 1px #9d7948,0 0 0 3px #fbf4df,0 0 0 4px #bb9a65,2px 4px 5px #4b341323;background:transparent;
}
body.ledb-artnouveau #choix-lecture .atelier-volume img {display:block;width:auto;max-width:100%;height:auto;max-height:clamp(132px,15vw,180px);object-fit:contain;transform:none}
body.ledb-artnouveau #choix-lecture .atelier-volume::before,
body.ledb-artnouveau #choix-lecture .atelier-volume::after {
  content:"";position:absolute;width:15px;height:15px;z-index:1;pointer-events:none;background:transparent url("ledb-ateliers-assets/coin-ginkgo.webp") center/contain no-repeat;
}
body.ledb-artnouveau #choix-lecture .atelier-volume::before {inset:-5px auto auto -5px}
body.ledb-artnouveau #choix-lecture .atelier-volume::after {inset:auto -5px -5px auto;transform:rotate(180deg)}
body.ledb-artnouveau #choix-lecture h3 {margin:.72rem .1rem .1rem;font:600 clamp(1rem,1.45vw,1.18rem)/1.2 Georgia,serif}
.pg-invitations {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.2rem;margin:1.4rem 0 2rem}
body.ledb-artnouveau .ledb-lecture-catalogue .pg-invitations>a {
  box-sizing:border-box;display:grid;grid-template-columns:minmax(5rem,.65fr) minmax(0,1.35fr);align-items:center;gap:1rem;min-height:185px;margin:0;
  padding:clamp(.8rem,2vw,1.45rem);border:3px double #aa8955;border-radius:27px 8px;background:#fbf4e6;color:#463326;text-decoration:none;overflow:hidden;
}
.pg-invitations h2 {font:600 clamp(1.25rem,2.2vw,1.8rem)/1.12 Georgia,serif;margin:0 0 .55rem}
.pg-invitations p {font:400 .96rem/1.5 Georgia,serif;margin:0 0 .45rem}
.pg-invitations .ledb-tales-invite>img {width:100%;height:auto;object-fit:contain}
.pg-ouvrir {font:600 .94rem/1.3 Georgia,serif;color:#426255;text-decoration:underline;text-underline-offset:3px}
.pg-pile {display:flex;align-items:center;justify-content:center;padding:.65rem .2rem}
.pg-pile img {display:block;width:44%;height:auto;box-shadow:1px 3px 4px #4b311c3b;transform:rotate(-9deg)}
.pg-pile img+img {margin-left:-14%;transform:translateY(-6px)}
.pg-pile img:last-child {transform:rotate(10deg)}
.pg-carnet {max-width:990px;margin:0 auto;padding:0 clamp(15px,3vw,36px);color:#3a302c;font:400 clamp(1.04rem,1.45vw,1.14rem)/1.68 Georgia,serif;box-sizing:border-box}
.pg-carnet p,.pg-carnet li {font:inherit;color:inherit}
.pg-carnet h2,.pg-carnet h3 {color:#503b32;letter-spacing:normal;text-transform:none}
.pg-carnet h2 {font:500 clamp(1.7rem,3.4vw,2.65rem)/1.12 Georgia,serif;margin:0 0 1rem}
.pg-carnet h3 {font:600 clamp(1.22rem,2.2vw,1.52rem)/1.25 Georgia,serif;margin:1.6rem 0 .45rem}
.pg-carnet p {margin:.45rem 0 1rem}
.pg-carnet a,.pg-retour a {color:#345f53;text-decoration:underline;text-underline-offset:.18em}
.pg-carnet :is(a,summary):focus-visible,.pg-zoom button:focus-visible {outline:2px solid #345f53;outline-offset:3px}
.pg-carnet figure {margin:0}
.pg-carnet figcaption,.pg-zoom figcaption {margin:.55rem .1rem 0;color:#59483e;font:italic .94rem/1.45 Georgia,serif}
.pg-intro {display:grid;grid-template-columns:minmax(0,1fr) minmax(140px,23%);gap:clamp(1.2rem,3.3vw,2.8rem);align-items:center;margin:3rem auto 2rem}
.pg-intro img,.pg-book-head img {display:block;width:100%;height:auto}
.pg-group img,.pg-book-head img {box-shadow:1px 3px 7px #36281740}
.pg-edition,.pg-sommaire,.pg-chapitre {margin:2.6rem auto;scroll-margin-top:7.5rem}
.pg-edition,.pg-sommaire {padding:clamp(1rem,3vw,1.9rem);border:3px double #b89b68;border-radius:19px 5px;background:#faf5e9}
.pg-carnet dl {display:grid;grid-template-columns:max-content minmax(0,1fr);gap:.35rem 1rem;margin:0;font:inherit}
.pg-carnet dl dt {font-weight:bold;color:#574738}.pg-carnet dl dd {margin:0}
.pg-sommaire ol {margin:1rem 0 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem 1.5rem;list-style:none}
.pg-sommaire li {margin:0;padding:.3rem 0;border-bottom:1px solid #c6b28477}
.pg-sommaire small {display:block;font-size:.88rem;color:#655142}
.pg-chapitre {padding-top:2.1rem;border-top:3px double #af9361}
.pg-book-head {display:grid;grid-template-columns:clamp(83px,14vw,135px) minmax(0,1fr);gap:clamp(.8rem,2.7vw,2rem);align-items:center}
.pg-carnet .pg-credits {font-size:.98rem}
.pg-initial {display:flow-root}
.pg-avis {padding:.4rem 0 .1rem clamp(.85rem,2vw,1.5rem);border-left:3px double #ac905f;margin:1.2rem 0}
.pg-avis h3 {margin:.1rem 0 .7rem}
.pg-questions {padding-left:1.6rem}.pg-questions li {padding-left:.15rem;margin:.3rem 0}
.pg-gallery {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.45rem 1.1rem;margin:1.15rem 0}
.pg-photo {position:relative;display:block;padding:3px;border:1px solid #8f713e;outline:1px solid #bc9f68;outline-offset:1px;background:#f8f1df;cursor:zoom-in}
.pg-photo img {display:block;width:100%;height:auto}
.pg-photo::before,.pg-photo::after {content:"";position:absolute;z-index:1;width:25px;height:25px;background:url("ledb-ateliers-assets/coin-ginkgo.webp") center/contain no-repeat;pointer-events:none}
.pg-photo::before {top:-4px;left:-4px}.pg-photo::after {right:-4px;bottom:-4px;transform:rotate(180deg)}
.pg-carnet details {font-size:.95rem;margin:.6rem 0}.pg-carnet summary {cursor:pointer;color:#345f53}
.pg-back,.pg-retour {font-size:.95rem}.pg-retour {padding:1rem 0 2.5rem}
.pg-zoom {width:min(94vw,1180px);padding:1rem;background:#faf5e9;border:3px double #a27a45;color:#44352c;max-height:95vh;box-sizing:border-box;text-align:center}
.pg-zoom::backdrop {background:#201c18c4}.pg-zoom form {display:flex;justify-content:flex-end}
.pg-zoom button {border:1px solid #917447;background:#fcf5e8;color:#3d4235;padding:.35rem .8rem;cursor:pointer;font:500 1rem Georgia,serif;border-radius:5px}
.pg-zoom button:disabled {opacity:.45;cursor:default}.pg-zoom figure {margin:.6rem 0}.pg-zoom img {display:block;max-width:100%;max-height:70vh;margin:auto;object-fit:contain}
.pg-controles {display:flex;justify-content:center;gap:1rem;margin-top:.75rem}
body:has(.pg-masthead) :is(.entry-header,.page-header,.post-navigation) {display:none}
@media(max-width:940px) {
 body.ledb-artnouveau #choix-lecture .ledb-reading-grid {grid-template-columns:repeat(4,minmax(0,1fr))}
 .pg-invitations {gap:.7rem}.pg-invitations p {font-size:.9rem}
}
@media(max-width:730px) {
 body.ledb-artnouveau #choix-lecture .ledb-reading-grid {grid-template-columns:repeat(3,minmax(0,1fr))}
 .pg-invitations{grid-template-columns:1fr}.pg-edition dl{display:block}.pg-edition dd{margin-bottom:.55rem}
}
@media(max-width:570px) {
 body.ledb-artnouveau #choix-lecture .ledb-reading-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:1.2rem .8rem}
 .pg-intro {display:flex;flex-direction:column-reverse;gap:1.1rem}.pg-intro .pg-group{max-width:155px}
 .pg-book-head {align-items:start}.pg-carnet .pg-credits {display:block;font-size:.9rem}.pg-credits dd{margin-bottom:.3em}
 .pg-gallery,.pg-sommaire ol {grid-template-columns:1fr}.pg-carnet {padding:0 14px}
}
body.ledb-artnouveau #choix-lecture .ledb-reading-grid .ledb-lecture-card .ledb-lecture-card-media::before,
body.ledb-artnouveau #choix-lecture .ledb-reading-grid .ledb-lecture-card .ledb-lecture-card-media::after {
  content:none!important;display:none!important;background:none!important;
}
.pg-signature {font-style:italic;color:#665649}

/* Collection notebook */
body.postid-34617 main.site-main {width:100%;max-width:none;padding-inline:0}
body.postid-34617 .pg-masthead {box-sizing:border-box;position:relative;width:100%;max-width:none;margin:0 0 clamp(5.6rem,9vw,7.8rem);padding:0}
.pg-hero {position:relative;isolation:isolate;overflow:hidden;box-sizing:border-box;padding:clamp(1.2rem,3.5vw,2.8rem) 0 clamp(4.2rem,7vw,6.4rem);text-align:center;background:radial-gradient(ellipse at 50% 18%,#fff8e7 0%,#f3e8d6 52%,#dfc9b2 100%);border-top:1px solid #b39a62}
.pg-hero::before {content:"";position:absolute;inset:7px 0 auto;height:3px;border-block:1px solid #ae8e6059}
.pg-rayonnage {display:flex;align-items:end;justify-content:center;gap:clamp(.2rem,1.2vw,1.1rem);padding:.6rem 2vw .8rem}
.pg-rayonnage img {display:block;width:min(8.25vw,108px);height:auto;box-shadow:2px 5px 7px #543b2c40;transform:rotate(-3deg)}
.pg-rayonnage img:nth-child(3n+2) {transform:rotate(2deg) translateY(-3px)}
.pg-rayonnage img:nth-child(3n) {transform:rotate(-1deg)}
body.postid-34617 .pg-hero h1 {position:relative;z-index:1;color:#4d3840;font:500 clamp(1.75rem,4.1vw,3.6rem)/1.07 Georgia,serif;letter-spacing:-.025em;margin:.5rem auto 0;padding:0 .7rem}
.pg-hero h1 span {white-space:nowrap}
.pg-hero .ledb-wave-divider {height:clamp(36px,5vw,76px)}
body.postid-34617 .pg-masthead::after {content:"";position:absolute;inset:auto 0 0;height:3px;border-block:1px solid #b39865;z-index:0}
body.postid-34617 .pg-masthead .ledb-byline {z-index:3}
.pg-carnet {max-width:1080px}
.pg-carnet .pg-intro {max-width:890px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.95fr);align-items:center;gap:clamp(1.3rem,5vw,4rem);margin:0 auto 3rem}
.pg-intro .pg-group {width:100%;max-width:380px;justify-self:end}
.pg-group a {display:block;cursor:zoom-in}
.pg-group img {width:100%;height:auto;border:1px solid #a68a61}
.pg-group figcaption {text-align:center}
.pg-intro p,.pg-avis p,.pg-box p,.pg-lignes dd {text-align:justify;hyphens:auto}
.pg-edition,.pg-sommaire {max-width:960px;margin-inline:auto}
.pg-carnet .pg-edition>h2,.pg-carnet .pg-sommaire>h2 {text-align:center;text-transform:uppercase;letter-spacing:.065em;font-size:clamp(1.35rem,2.6vw,2.05rem);line-height:1.17;margin:.3rem auto 1.45rem;text-wrap:balance}
.pg-carnet .pg-lignes,.pg-carnet .pg-credits {display:block}
.pg-carnet .pg-lignes>div,.pg-carnet .pg-credits>div {display:grid;grid-template-columns:minmax(100px,26%) minmax(0,1fr);gap:1rem;padding:.65rem .9rem;align-items:baseline}
.pg-carnet .pg-lignes>div:nth-child(odd) {background:#f3e9d6}
.pg-carnet .pg-lignes>div:nth-child(even) {background:#e4ebdf}
.pg-carnet .pg-lignes dd,.pg-carnet .pg-credits dd {margin:0}
.pg-carnet .pg-catalogue {text-align:center;font-size:.87rem;margin:1.65rem 0 .1rem}
.pg-sommaire ol {gap:0 1.6rem}
.pg-sommaire .pg-personne {display:flex;align-items:center;gap:.85rem;min-height:62px;text-decoration:none}
.pg-personne:hover>span:last-child {text-decoration:underline;text-underline-offset:.2em}
.pg-personne small {margin-top:.12rem;font-style:italic;line-height:1.2}
.pg-visage {position:relative;display:block;width:52px;height:52px;flex:none;overflow:hidden;border:1px solid #9f855a;border-radius:50%;box-shadow:0 0 0 2px #faf3e2}
.pg-visage img {position:absolute;max-width:none;width:190%;height:auto;left:50%;top:50%;transform:translate(-54%,-45%)}
.pg-visage-agatha-christie img {transform:translate(-55%,-42%)}
.pg-visage-amelia-earhart img {transform:translate(-54%,-53%)}
.pg-visage-elisabeth-ii img {transform:translate(-55%,-51%)}
.pg-visage-marie-curie img,.pg-visage-emmeline-pankhurst img {transform:translate(-55%,-47%)}
.pg-visage-helen-keller img {transform:translate(-53%,-44%)}
.pg-carnet .pg-book-head {display:flex;flex-flow:column;align-items:center;gap:.75rem;margin-bottom:1.65rem}
.pg-carnet .pg-book-head h2 {text-align:center;margin:0;color:#493541}
.pg-carnet .pg-book-head img {width:clamp(115px,14vw,155px);height:auto}
.pg-boxes {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;align-items:start}
.pg-carnet .pg-box {box-sizing:border-box;min-width:0;padding:clamp(.85rem,2vw,1.4rem);border:3px double #b99d70;border-radius:18px 4px;background:#fcf8ef}
.pg-carnet .pg-when {background:#edf1e9}
.pg-carnet .pg-box h3,.pg-carnet .pg-avis h3 {margin:0 0 .65rem}
.pg-carnet .pg-box p:last-child {margin-bottom:0}
.pg-carnet .pg-credits {font-size:.94rem;line-height:1.4}
.pg-carnet .pg-credits>div {padding:.27rem 0;grid-template-columns:minmax(76px,30%) minmax(0,1fr);gap:.6rem}
.pg-carnet .pg-credits>div+div {border-top:1px solid #a58e6533}
.pg-avis {margin:1.6rem 0;padding:1.25rem clamp(1rem,3.3vw,2.25rem) .45rem;border:0;border-inline-start:3px double #af9068;background:#faf4ea}
.pg-avis p {max-width:78ch;margin-inline:auto}
.pg-carnet .pg-aigu {position:relative}
.pg-carnet .pg-aigu::after {content:"´";position:absolute;color:#574b31;font:600 22px/1 Georgia,serif;left:56%;top:-4px}
.pg-res {display:flex;flex-flow:column;align-items:flex-start;justify-content:center;gap:.65rem;padding:.85rem 1.1rem;box-sizing:border-box;border:3px double #b69c70;border-radius:12px 4px;background:#f8f2e4;font-size:.94rem}
.pg-gallery>.pg-res {min-height:145px;align-self:stretch}
.pg-res>.pg-extrait,.pg-res>details {margin:0}
.pg-res ul {margin:.6rem 0 .3rem;padding-left:1.1rem}
.pg-chapitre>.pg-res {width:fit-content;max-width:100%;margin-top:.8rem}
.pg-carnet .pg-back {text-align:center;margin:1.5rem 0 .3rem}
.pg-back a {display:inline-flex;align-items:center;min-height:40px;padding:.24rem 1.05rem;border:3px double #a38758;border-radius:22px 5px;background:#f5ecd8;color:#59452f;text-decoration:none;font:600 .95rem/1.4 Georgia,serif}
.pg-back a:hover {background:#e9debf}
body.ledb-artnouveau #choix-lecture .ledb-reading-filters .ledb-reading-reset {margin:0 0 -.12rem}
body.ledb-artnouveau #choix-lecture .ledb-reading-filters .ledb-reading-reset button {--largeur-visuel:220px;--hauteur-visuel:62px;width:min(220px,88vw);height:62px;font-size:22px}
body.ledb-artnouveau .ledb-lecture-catalogue .pg-invitations>.ledb-tales-invite {position:relative;display:flex;justify-content:flex-end;background:#e8d9eb url("/wp-content/uploads/lectures-petite-grande/contes-violets.webp") center/cover no-repeat;box-shadow:none;padding:1.25rem}
body.ledb-artnouveau .ledb-lecture-catalogue .pg-invitations>.ledb-tales-invite::after,body.ledb-artnouveau .ledb-lecture-catalogue .pg-invitations>.ledb-tales-invite::before {content:none;display:none}
body.ledb-artnouveau .pg-invitations .ledb-tales-invite>div {position:relative;z-index:1;width:58%;padding:0}
body.ledb-artnouveau .pg-invitations .ledb-tales-invite h2 {font:600 clamp(1.18rem,2vw,1.7rem)/1.14 Georgia,serif;color:#453446;margin:0 0 .45rem}
body.ledb-artnouveau .pg-invitations .ledb-tales-invite p {color:#3f3343;font-size:.93rem}
body.ledb-artnouveau .pg-invitations .ledb-tales-invite .pg-ouvrir {font-size:.94rem;color:#5a3f64;display:inline}
@media (max-width:650px) {
 .pg-carnet .pg-intro {display:flex;flex-direction:column;gap:1rem}
 .pg-carnet .pg-intro .pg-group {max-width:340px;width:90%}
 .pg-boxes,.pg-sommaire ol,.pg-gallery {grid-template-columns:1fr}
 .pg-carnet .pg-lignes>div {display:block;padding:.68rem .75rem}
 .pg-lignes dt {margin-bottom:.2rem}
 .pg-gallery>.pg-res {min-height:0}
 .pg-rayonnage {gap:1vw}
 .pg-carnet .pg-credits>div {grid-template-columns:6rem minmax(0,1fr)}
 .pg-carnet .pg-book-head {align-items:center}
 .pg-carnet .pg-avis,.pg-carnet .pg-box {line-height:1.58}
}
body.single-post.postid-34617 main.site-main .ledb-fiche-masthead.pg-masthead::after {
 left:0!important;right:0!important;width:100%!important;max-width:none!important;height:2px;
 background:#ab9161!important;border:0!important;
}
body.ledb-artnouveau .pg-invitations .ledb-tales-invite>div {width:56%}
@media (max-width:650px) {
 body.single-post.postid-34617 main.site-main .pg-masthead {margin-bottom:6.5rem}
}
/* Les ressources de chaque album tiennent dans un cartouche fleuri. */
.pg-carnet .pg-chapitre .pg-res {
  position:relative; width:min(100%,17.65rem); max-width:100%; min-height:5.6rem;
  height:auto; place-self:center; align-items:center; justify-content:center;
  gap:.3rem; padding:.72rem 1rem; text-align:center; margin:0;
  border:3px double #af8a49; border-radius:13px 3px;
  background:transparent; scroll-margin-block-start:clamp(8rem,34vh,18rem);
}
.pg-carnet .pg-chapitre>.pg-res {margin:.8rem 0 0}
.pg-carnet .pg-res::before,.pg-carnet .pg-res::after {
  content:""; position:absolute; width:43px; height:28px;
  background:url('/wp-content/uploads/lectures-petite-grande/sakura-cartouche.webp') center/contain no-repeat; pointer-events:none;
}
.pg-carnet .pg-res::before {left:-12px;top:-12px}
.pg-carnet .pg-res::after {right:-12px;bottom:-12px;transform:rotate(180deg)}
.pg-carnet .pg-res>.pg-extrait,.pg-carnet .pg-res>details {text-align:center; max-width:100%; margin:0; line-height:1.42}
.pg-carnet .pg-res details[open] ul {text-align:start; overflow-wrap:anywhere; margin-bottom:.25rem}
@media (min-width:651px) {
  @supports (grid-template-rows:subgrid) {
    .pg-gallery:has(>.pg-res) {row-gap:0}
    .pg-gallery:has(>.pg-res)>figure:not(:nth-last-child(2)) {margin-bottom:1.45rem}
    .pg-gallery>figure:has(+.pg-res) {display:grid;grid-row:span 2;grid-template-rows:subgrid}
    .pg-gallery>figure:has(+.pg-res)>.pg-photo {align-self:center}
    .pg-gallery>.pg-res {grid-column:2}
  }
}
