/* =========================================================
   COLLECTIONS — editorial index + collection dossier
   ========================================================= */

html.ediouro-editorial-shell .collections-editorial,
html.ediouro-editorial-shell .collection-editorial-page{
  --co-paper:#FCFBF7;
  --co-white:#FFF;
  --co-cool:#EEF1F2;
  --co-warm:#E4E3DF;
  --co-ink:#11110F;
  --co-muted:#6B665F;
  --co-rule:#DAD7D1;
  background:#FFF;
  color:var(--co-ink);
  font-family:'Inter Tight',Arial,sans-serif;
}
html.ediouro-editorial-shell .collections-editorial .wrap,
html.ediouro-editorial-shell .collection-editorial-page .wrap{
  width:min(1180px,calc(100% - 64px));
  max-width:1180px;
  margin-left:auto;
  margin-right:auto;
}
html.ediouro-editorial-shell .collections-editorial-kicker,
html.ediouro-editorial-shell .collection-editorial-kicker{
  color:#777169;
  font:600 8px/1 'Inter Tight',Arial,sans-serif;
  letter-spacing:.24em;
  text-transform:uppercase;
}

/* Index hero */
html.ediouro-editorial-shell .collections-editorial-hero{
  background:var(--co-cool);
}
html.ediouro-editorial-shell .collections-editorial-hero-inner{
  min-height:540px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:80px 0 74px;
  text-align:center;
}
html.ediouro-editorial-shell .collections-editorial-hero h1{
  margin:25px 0 0;
  color:var(--co-ink);
  font:400 clamp(42px,5vw,68px)/1 'Inter Tight',Arial,sans-serif;
  letter-spacing:.18em;
  text-transform:uppercase;
}
html.ediouro-editorial-shell .collections-editorial-hero p{
  max-width:720px;
  margin:25px auto 0;
  color:#49453F;
  font:italic 400 clamp(20px,1.9vw,27px)/1.35 'Newsreader',Georgia,serif;
}
html.ediouro-editorial-shell .collections-editorial-count{
  display:flex;
  gap:24px;
  margin-top:42px;
  padding-top:16px;
  border-top:1px solid rgba(17,17,15,.28);
  color:#736E67;
  font:500 8px/1 'Inter Tight',Arial,sans-serif;
  letter-spacing:.14em;
  text-transform:uppercase;
}

/* Index shelves */
html.ediouro-editorial-shell .collections-editorial-index{
  padding:104px 0 0;
  background:#FFF;
}
html.ediouro-editorial-shell .collections-editorial-index-head{
  max-width:760px;
  margin:0 auto 78px;
  text-align:center;
}
html.ediouro-editorial-shell .collections-editorial-index-head h2{
  margin:14px 0 0;
  color:var(--co-ink);
  font:400 clamp(34px,3.7vw,52px)/1.02 'Inter Tight',Arial,sans-serif;
  letter-spacing:-.035em;
}
html.ediouro-editorial-shell .collections-editorial-list{
  display:flex;
  flex-direction:column;
  gap:30px;
  background:#FFF;
}
html.ediouro-editorial-shell .collections-editorial-row{
  background:var(--collection-row-bg);
  color:var(--collection-row-ink);
}
html.ediouro-editorial-shell .collections-editorial-row-inner{
  padding-top:92px;
  padding-bottom:104px;
}
html.ediouro-editorial-shell .collections-editorial-row-copy{
  max-width:850px;
  margin:0 auto 66px;
  text-align:center;
}
html.ediouro-editorial-shell .collections-editorial-row-meta{
  display:flex;
  justify-content:center;
  gap:18px;
  color:inherit;
  opacity:.62;
  font:600 8px/1.15 'Inter Tight',Arial,sans-serif;
  letter-spacing:.18em;
  text-transform:uppercase;
}
html.ediouro-editorial-shell .collections-editorial-row h3{
  max-width:900px;
  margin:26px auto 0;
  color:inherit;
  font:450 clamp(34px,3.6vw,50px)/1.06 'Inter Tight',Arial,sans-serif;
  letter-spacing:.105em;
  text-transform:uppercase;
  text-wrap:balance;
}
html.ediouro-editorial-shell .collections-editorial-row-copy>p{
  max-width:730px;
  margin:28px auto 0;
  color:inherit;
  opacity:.78;
  font:italic 400 clamp(20px,1.8vw,27px)/1.38 'Newsreader',Georgia,serif;
}
html.ediouro-editorial-shell .collections-editorial-row-copy>button{
  margin-top:27px;
  padding:0 0 5px;
  border:0;
  border-bottom:1px solid currentColor;
  background:transparent;
  color:inherit;
  font:600 8px/1 'Inter Tight',Arial,sans-serif;
  letter-spacing:.2em;
  text-transform:uppercase;
  cursor:pointer;
}
html.ediouro-editorial-shell .collections-editorial-row-books{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:36px;
}
html.ediouro-editorial-shell .collections-editorial-row-book{
  min-width:0;
  cursor:pointer;
}
html.ediouro-editorial-shell .collections-editorial-row-book-cover{
  min-height:340px;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  margin-bottom:23px;
}
html.ediouro-editorial-shell .collections-editorial-row-book .cover{
  width:min(100%,210px)!important;
  height:auto!important;
  aspect-ratio:auto!important;
  display:flex!important;
  align-items:flex-end!important;
  justify-content:center!important;
  overflow:visible!important;
  background:transparent!important;
}
html.ediouro-editorial-shell .collections-editorial-row-book .cover img{
  width:auto!important;
  height:auto!important;
  max-width:100%!important;
  max-height:340px!important;
  object-fit:contain!important;
  box-shadow:-6px 13px 20px rgba(0,0,0,.14)!important;
  filter:none!important;
}
html.ediouro-editorial-shell .collections-editorial-row-book h4{
  margin:0 0 7px;
  color:inherit;
  font:450 19px/1.12 'Inter Tight',Arial,sans-serif;
  letter-spacing:-.02em;
}
html.ediouro-editorial-shell .collections-editorial-row-book>p{
  margin:0;
  color:inherit;
  opacity:.88;
  font:italic 400 20px/1.16 'Newsreader',Georgia,serif;
}

/* Detail hero */
html.ediouro-editorial-shell .collection-editorial-hero{
  background:var(--co-warm);
}
html.ediouro-editorial-shell .collection-editorial-hero-inner{
  min-height:540px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:84px 0 76px;
  text-align:center;
}
html.ediouro-editorial-shell .collection-editorial-hero h1{
  max-width:980px;
  margin:20px auto 0;
  color:var(--co-ink);
  font:450 clamp(48px,6vw,82px)/.96 'Inter Tight',Arial,sans-serif;
  letter-spacing:-.048em;
  text-wrap:balance;
}
html.ediouro-editorial-shell .collection-editorial-hero p{
  max-width:760px;
  margin:28px auto 0;
  color:#49443F;
  font:italic 400 clamp(21px,2vw,29px)/1.36 'Newsreader',Georgia,serif;
}
html.ediouro-editorial-shell .collection-editorial-facts{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:14px 24px;
  margin-top:38px;
  padding-top:16px;
  border-top:1px solid rgba(17,17,15,.25);
}
html.ediouro-editorial-shell .collection-editorial-facts span{
  color:#6D6861;
  font:500 8px/1 'Inter Tight',Arial,sans-serif;
  letter-spacing:.14em;
  text-transform:uppercase;
}

/* Cover field */
html.ediouro-editorial-shell .collection-editorial-stage{
  padding:92px 0 100px;
  background:var(--collection-bg);
  color:var(--collection-ink);
}
html.ediouro-editorial-shell .collection-editorial-stage-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:36px;
}
html.ediouro-editorial-shell .collection-editorial-stage-grid article{
  min-width:0;
  cursor:pointer;
}
html.ediouro-editorial-shell .collection-editorial-stage-grid article>div{
  min-height:360px;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  margin-bottom:23px;
}
html.ediouro-editorial-shell .collection-editorial-stage-grid .cover{
  width:min(100%,220px)!important;
  height:auto!important;
  aspect-ratio:auto!important;
  display:flex!important;
  align-items:flex-end!important;
  justify-content:center!important;
  overflow:visible!important;
  background:transparent!important;
}
html.ediouro-editorial-shell .collection-editorial-stage-grid .cover img{
  width:auto!important;
  height:auto!important;
  max-width:100%!important;
  max-height:360px!important;
  object-fit:contain!important;
  box-shadow:-7px 15px 23px rgba(0,0,0,.16)!important;
  filter:none!important;
}
html.ediouro-editorial-shell .collection-editorial-stage-grid h2{
  margin:0 0 7px;
  color:inherit;
  font:450 19px/1.12 'Inter Tight',Arial,sans-serif;
  letter-spacing:-.02em;
}
html.ediouro-editorial-shell .collection-editorial-stage-grid p{
  margin:0;
  color:inherit;
  opacity:.86;
  font:italic 400 20px/1.16 'Newsreader',Georgia,serif;
}

/* All books */
html.ediouro-editorial-shell .collection-editorial-books{
  padding:108px 0 120px;
  background:var(--co-paper);
}
html.ediouro-editorial-shell .collection-editorial-section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:28px;
  margin:0 0 58px;
  padding:0 0 18px;
  border-bottom:1px solid var(--co-ink);
}
html.ediouro-editorial-shell .collection-editorial-section-head h2{
  margin:12px 0 0;
  color:var(--co-ink);
  font:400 clamp(31px,3.2vw,46px)/1.04 'Inter Tight',Arial,sans-serif;
  letter-spacing:-.025em;
}
html.ediouro-editorial-shell .collection-editorial-section-head>span{
  color:#777169;
  font:500 8px/1 'Inter Tight',Arial,sans-serif;
  letter-spacing:.14em;
  text-transform:uppercase;
}
html.ediouro-editorial-shell .collection-editorial-book-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:64px 36px;
}
html.ediouro-editorial-shell .collections-editorial-book{
  min-width:0;
  cursor:pointer;
}
html.ediouro-editorial-shell .collections-editorial-book-cover{
  min-height:330px;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  margin-bottom:23px;
}
html.ediouro-editorial-shell .collections-editorial-book-cover .cover{
  width:min(100%,210px)!important;
  height:auto!important;
  aspect-ratio:auto!important;
  display:flex!important;
  align-items:flex-end!important;
  justify-content:center!important;
  overflow:visible!important;
  background:transparent!important;
}
html.ediouro-editorial-shell .collections-editorial-book-cover .cover img{
  width:auto!important;
  height:auto!important;
  max-width:100%!important;
  max-height:330px!important;
  object-fit:contain!important;
  box-shadow:-7px 15px 23px rgba(0,0,0,.14)!important;
  filter:none!important;
}
html.ediouro-editorial-shell .collections-editorial-book h3{
  margin:0 0 7px;
  color:var(--co-ink);
  font:450 19px/1.12 'Inter Tight',Arial,sans-serif;
  letter-spacing:-.02em;
}
html.ediouro-editorial-shell .collections-editorial-book>p{
  margin:0;
  color:#25231F;
  font:italic 400 20px/1.16 'Newsreader',Georgia,serif;
}

/* Canonical source exception already used elsewhere in the catalogue */
html.ediouro-editorial-shell .collections-editorial :is(.collections-editorial-row-book,.collection-editorial-stage-grid article,.collections-editorial-book-cover) .cover:has(img[alt*="Romance de João e Maria"]){
  width:min(100%,220px)!important;
  height:auto!important;
  aspect-ratio:746 / 1000!important;
}
html.ediouro-editorial-shell .collections-editorial :is(.collections-editorial-row-book,.collection-editorial-stage-grid article,.collections-editorial-book-cover) .cover:has(img[alt*="Romance de João e Maria"]) img{
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:fill!important;
}

/* Author bridge */
html.ediouro-editorial-shell .collection-editorial-author{
  padding:104px 0 112px;
  background:#FFF;
}
html.ediouro-editorial-shell .collection-editorial-author-grid{
  display:grid;
  grid-template-columns:minmax(220px,.55fr) minmax(0,1.45fr);
  gap:68px;
  align-items:center;
}
html.ediouro-editorial-shell .collection-editorial-author-photo{
  width:min(100%,300px);
  aspect-ratio:4/5;
  overflow:hidden;
  background:#E9E8E3;
}
html.ediouro-editorial-shell .collection-editorial-author-photo img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center top;
}
html.ediouro-editorial-shell .collection-editorial-author h2{
  margin:14px 0 16px;
  color:var(--co-ink);
  font:450 clamp(38px,4vw,58px)/.98 'Inter Tight',Arial,sans-serif;
  letter-spacing:-.04em;
}
html.ediouro-editorial-shell .collection-editorial-author p{
  max-width:720px;
  margin:0;
  color:#5D5852;
  font:400 15px/1.62 'Inter Tight',Arial,sans-serif;
}
html.ediouro-editorial-shell .collection-editorial-author button{
  margin-top:24px;
  padding:0 0 5px;
  border:0;
  border-bottom:1px solid currentColor;
  background:transparent;
  color:#292622;
  font:600 8px/1 'Inter Tight',Arial,sans-serif;
  letter-spacing:.2em;
  text-transform:uppercase;
  cursor:pointer;
}

/* Other collections */
html.ediouro-editorial-shell .collection-editorial-other{
  padding:104px 0 116px;
  background:var(--co-cool);
}
html.ediouro-editorial-shell .collection-editorial-other-list{
  border-bottom:1px solid var(--co-ink);
}
html.ediouro-editorial-shell .collection-editorial-other-list button{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:20px 0;
  border:0;
  border-top:1px solid var(--co-ink);
  background:transparent;
  color:var(--co-ink);
  text-align:left;
  cursor:pointer;
}
html.ediouro-editorial-shell .collection-editorial-other-list button span{
  font:450 clamp(22px,2.2vw,31px)/1.05 'Inter Tight',Arial,sans-serif;
  letter-spacing:-.025em;
}
html.ediouro-editorial-shell .collection-editorial-other-list button small{
  flex:0 0 auto;
  color:#706B64;
  font:500 8px/1 'Inter Tight',Arial,sans-serif;
  letter-spacing:.14em;
  text-transform:uppercase;
}

@media(max-width:980px) and (min-width:761px){
  html.ediouro-editorial-shell .collections-editorial-row-books{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:28px;
  }
  html.ediouro-editorial-shell .collection-editorial-stage-grid,
  html.ediouro-editorial-shell .collection-editorial-book-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media(max-width:760px){
  html.ediouro-editorial-shell .collections-editorial .wrap,
  html.ediouro-editorial-shell .collection-editorial-page .wrap{
    width:min(100% - 40px,1180px);
  }
  html.ediouro-editorial-shell .collections-editorial-kicker,
  html.ediouro-editorial-shell .collection-editorial-kicker{
    font-size:7px;
    letter-spacing:.22em;
  }
  html.ediouro-editorial-shell .collections-editorial-hero-inner{
    min-height:430px;
    padding:60px 0 54px;
  }
  html.ediouro-editorial-shell .collections-editorial-hero h1{
    margin-top:20px;
    font-size:34px;
  }
  html.ediouro-editorial-shell .collections-editorial-hero p{
    max-width:320px;
    margin-top:20px;
    font-size:20px;
  }
  html.ediouro-editorial-shell .collections-editorial-count{
    gap:12px;
    margin-top:34px;
  }
  html.ediouro-editorial-shell .collections-editorial-index{
    padding:76px 0 0;
  }
  html.ediouro-editorial-shell .collections-editorial-list{
    gap:18px;
  }
  html.ediouro-editorial-shell .collections-editorial-index-head{
    margin-bottom:52px;
  }
  html.ediouro-editorial-shell .collections-editorial-index-head h2{
    font-size:32px;
  }
  html.ediouro-editorial-shell .collections-editorial-row-inner{
    padding-top:72px;
    padding-bottom:82px;
  }
  html.ediouro-editorial-shell .collections-editorial-row-copy{
    margin-bottom:52px;
  }
  html.ediouro-editorial-shell .collections-editorial-row-meta{
    gap:10px;
    flex-wrap:wrap;
  }
  html.ediouro-editorial-shell .collections-editorial-row h3{
    margin-top:22px;
    font-size:30px;
    line-height:1.14;
    letter-spacing:.09em;
  }
  html.ediouro-editorial-shell .collections-editorial-row-copy>p{
    margin-top:26px;
    font-size:20px;
  }
  html.ediouro-editorial-shell .collections-editorial-row-books{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:48px 22px;
  }
  html.ediouro-editorial-shell .collections-editorial-row-book-cover{
    min-height:240px;
    margin-bottom:18px;
  }
  html.ediouro-editorial-shell .collections-editorial-row-book .cover{
    width:min(100%,155px)!important;
  }
  html.ediouro-editorial-shell .collections-editorial-row-book .cover img{
    max-height:240px!important;
  }
  html.ediouro-editorial-shell .collections-editorial-row-book h4{
    font-size:17px;
  }
  html.ediouro-editorial-shell .collections-editorial-row-book>p{
    font-size:18px;
  }

  html.ediouro-editorial-shell .collection-editorial-hero-inner{
    min-height:460px;
    padding:66px 0 60px;
  }
  html.ediouro-editorial-shell .collection-editorial-hero h1{
    font-size:46px;
  }
  html.ediouro-editorial-shell .collection-editorial-hero p{
    font-size:21px;
  }
  html.ediouro-editorial-shell .collection-editorial-stage{
    padding:76px 0 84px;
  }
  html.ediouro-editorial-shell .collection-editorial-stage-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:48px 22px;
  }
  html.ediouro-editorial-shell .collection-editorial-stage-grid article>div{
    min-height:250px;
    margin-bottom:18px;
  }
  html.ediouro-editorial-shell .collection-editorial-stage-grid .cover{
    width:min(100%,160px)!important;
  }
  html.ediouro-editorial-shell .collection-editorial-stage-grid .cover img{
    max-height:250px!important;
  }
  html.ediouro-editorial-shell .collection-editorial-stage-grid h2{
    font-size:17px;
  }
  html.ediouro-editorial-shell .collection-editorial-stage-grid p{
    font-size:18px;
  }

  html.ediouro-editorial-shell .collection-editorial-books{
    padding:78px 0 90px;
  }
  html.ediouro-editorial-shell .collection-editorial-section-head{
    align-items:flex-start;
    margin-bottom:42px;
  }
  html.ediouro-editorial-shell .collection-editorial-section-head h2{
    font-size:30px;
  }
  html.ediouro-editorial-shell .collection-editorial-book-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:48px 22px;
  }
  html.ediouro-editorial-shell .collections-editorial-book-cover{
    min-height:240px;
    margin-bottom:18px;
  }
  html.ediouro-editorial-shell .collections-editorial-book-cover .cover{
    width:min(100%,155px)!important;
  }
  html.ediouro-editorial-shell .collections-editorial-book-cover .cover img{
    max-height:240px!important;
  }
  html.ediouro-editorial-shell .collections-editorial-book h3{
    font-size:17px;
  }
  html.ediouro-editorial-shell .collections-editorial-book>p{
    font-size:18px;
  }

  html.ediouro-editorial-shell .collection-editorial-author{
    padding:76px 0 84px;
  }
  html.ediouro-editorial-shell .collection-editorial-author-grid{
    grid-template-columns:1fr;
    gap:32px;
  }
  html.ediouro-editorial-shell .collection-editorial-author-photo{
    width:min(70%,260px);
  }
  html.ediouro-editorial-shell .collection-editorial-author h2{
    font-size:38px;
  }

  html.ediouro-editorial-shell .collection-editorial-other{
    padding:76px 0 84px;
  }
  html.ediouro-editorial-shell .collection-editorial-other-list button span{
    font-size:22px;
  }
}
