/* =========================================================
   EDUCATION EDITORIAL V2 — home + archive
   ========================================================= */

html.ediouro-editorial-shell .education-editorial{
  --ee-paper:#FCFBF7;
  --ee-white:#FFF;
  --ee-sage:#DCE6E0;
  --ee-green:#173D35;
  --ee-warm:#E7E3DC;
  --ee-blue:#DDE4F1;
  --ee-ink:#11110F;
  --ee-muted:#67615B;
  --ee-rule:#D7D3CC;
  background:#FFF;
  color:var(--ee-ink);
  font-family:'Inter Tight',Arial,sans-serif;
}
html.ediouro-editorial-shell .education-editorial .wrap{
  width:min(1180px,calc(100% - 64px));
  max-width:1180px;
  margin:0 auto;
}
html.ediouro-editorial-shell .education-editorial-kicker{
  color:#6F6962;
  font:600 8px/1 'Inter Tight',Arial,sans-serif;
  letter-spacing:.24em;
  text-transform:uppercase;
}

/* Home hero */
html.ediouro-editorial-shell .education-editorial-hero{
  background:var(--ee-sage);
}
html.ediouro-editorial-shell .education-editorial-hero-inner{
  min-height:570px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:86px 0 76px;
  text-align:center;
}
html.ediouro-editorial-shell .education-editorial-hero h1{
  max-width:980px;
  margin:22px auto 0;
  color:var(--ee-ink);
  font:450 clamp(46px,5.2vw,72px)/.98 'Inter Tight',Arial,sans-serif;
  letter-spacing:-.048em;
  text-wrap:balance;
}
html.ediouro-editorial-shell .education-editorial-hero p{
  max-width:760px;
  margin:28px auto 0;
  color:#4D4944;
  font:italic 400 clamp(20px,1.9vw,27px)/1.4 'Newsreader',Georgia,serif;
}
html.ediouro-editorial-shell .education-editorial-hero-meta{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:12px 24px;
  margin-top:38px;
  padding-top:16px;
  border-top:1px solid rgba(17,17,15,.25);
}
html.ediouro-editorial-shell .education-editorial-hero-meta span{
  color:#6D6861;
  font:500 8px/1 'Inter Tight',Arial,sans-serif;
  letter-spacing:.14em;
  text-transform:uppercase;
}

/* Shared headings */
html.ediouro-editorial-shell .education-editorial-section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:48px;
  margin-bottom:56px;
}
html.ediouro-editorial-shell .education-editorial-section-head h2{
  max-width:760px;
  margin:13px 0 0;
  color:var(--ee-ink);
  font:450 clamp(34px,3.8vw,52px)/1.03 'Inter Tight',Arial,sans-serif;
  letter-spacing:-.04em;
  text-wrap:balance;
}
html.ediouro-editorial-shell .education-editorial-section-head>p{
  max-width:460px;
  margin:0;
  color:#625D56;
  font:400 13px/1.55 'Inter Tight',Arial,sans-serif;
}
html.ediouro-editorial-shell .education-editorial-section-head>button{
  flex:0 0 auto;
  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:.18em;
  text-transform:uppercase;
  cursor:pointer;
}

/* Stage directory */
html.ediouro-editorial-shell .education-editorial-stages{
  padding:106px 0 118px;
  background:#FFF;
}
html.ediouro-editorial-shell .education-editorial-stage-list{
  display:grid;
  grid-template-columns:1fr 1fr;
  border-top:1px solid var(--ee-ink);
  border-bottom:1px solid var(--ee-ink);
}
html.ediouro-editorial-shell .education-editorial-stage-list button{
  min-height:104px;
  display:grid;
  grid-template-columns:46px minmax(0,1fr) auto;
  grid-template-areas:
    "n title count"
    "n meta count";
  gap:5px 20px;
  align-content:center;
  padding:22px 28px 22px 0;
  border:0;
  border-bottom:1px solid var(--ee-rule);
  background:transparent;
  color:var(--ee-ink);
  text-align:left;
  cursor:pointer;
}
html.ediouro-editorial-shell .education-editorial-stage-list button:nth-child(odd){
  padding-right:34px;
  border-right:1px solid var(--ee-rule);
}
html.ediouro-editorial-shell .education-editorial-stage-list button:nth-child(even){
  padding-left:34px;
}
html.ediouro-editorial-shell .education-editorial-stage-list button:nth-last-child(-n+2){
  border-bottom:0;
}
html.ediouro-editorial-shell .education-editorial-stage-list button>span{
  grid-area:n;
  align-self:start;
  padding-top:4px;
  color:#918B84;
  font:600 8px/1 'Inter Tight',Arial,sans-serif;
  letter-spacing:.13em;
}
html.ediouro-editorial-shell .education-editorial-stage-list button>strong{
  grid-area:title;
  font:450 clamp(22px,2.1vw,30px)/1.05 'Inter Tight',Arial,sans-serif;
  letter-spacing:-.028em;
}
html.ediouro-editorial-shell .education-editorial-stage-list button>small{
  grid-area:meta;
  color:#6D675F;
  font:400 12px/1.35 'Inter Tight',Arial,sans-serif;
}
html.ediouro-editorial-shell .education-editorial-stage-list button>em{
  grid-area:count;
  align-self:center;
  color:#777169;
  font:500 8px/1 'Inter Tight',Arial,sans-serif;
  font-style:normal;
  letter-spacing:.12em;
  text-transform:uppercase;
}
html.ediouro-editorial-shell .education-editorial-stage-list button:hover{
  background:#F7F6F2;
}
html.ediouro-editorial-shell .education-editorial-stage-list .education-editorial-stage-all{
  background:var(--ee-green);
  color:#F6F2EB;
}
html.ediouro-editorial-shell .education-editorial-stage-list .education-editorial-stage-all>span,
html.ediouro-editorial-shell .education-editorial-stage-list .education-editorial-stage-all>small,
html.ediouro-editorial-shell .education-editorial-stage-list .education-editorial-stage-all>em{
  color:#B8C5C0;
}

/* Book showcase / archive cards */
html.ediouro-editorial-shell .education-editorial-showcase{
  padding:100px 0 110px;
  background:var(--ee-warm);
}
html.ediouro-editorial-shell .education-editorial-book-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:62px 36px;
}
html.ediouro-editorial-shell .education-editorial-book{
  min-width:0;
  cursor:pointer;
}
html.ediouro-editorial-shell .education-editorial-book-cover{
  min-height:330px;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  margin-bottom:22px;
}
html.ediouro-editorial-shell .education-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;
  transform:none!important;
}
html.ediouro-editorial-shell .education-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;
  transform:none!important;
}
html.ediouro-editorial-shell .education-editorial-book h3{
  margin:0 0 7px;
  color:var(--ee-ink);
  font:450 18px/1.13 'Inter Tight',Arial,sans-serif;
  letter-spacing:-.02em;
}
html.ediouro-editorial-shell .education-editorial-book p{
  margin:0;
  color:#292620;
  font:italic 400 19px/1.17 'Newsreader',Georgia,serif;
}
html.ediouro-editorial-shell .education-editorial-book small{
  display:block;
  margin-top:9px;
  color:#777169;
  font:500 7px/1.25 'Inter Tight',Arial,sans-serif;
  letter-spacing:.1em;
  text-transform:uppercase;
}

/* Materials */
html.ediouro-editorial-shell .education-editorial-materials{
  padding:102px 0 112px;
  background:#FFF;
}
html.ediouro-editorial-shell .education-editorial-material-list{
  border-bottom:1px solid var(--ee-ink);
}
html.ediouro-editorial-shell .education-editorial-material-list a{
  display:grid;
  grid-template-columns:70px minmax(260px,.9fr) minmax(0,1.1fr) 150px;
  gap:30px;
  align-items:baseline;
  padding:22px 0 24px;
  border-top:1px solid var(--ee-ink);
  color:var(--ee-ink);
  text-decoration:none;
}
html.ediouro-editorial-shell .education-editorial-material-list a>span{
  color:#8A847C;
  font:600 8px/1 'Inter Tight',Arial,sans-serif;
  letter-spacing:.14em;
}
html.ediouro-editorial-shell .education-editorial-material-list a>strong{
  font:450 clamp(22px,2.1vw,30px)/1.06 'Inter Tight',Arial,sans-serif;
  letter-spacing:-.028em;
}
html.ediouro-editorial-shell .education-editorial-material-list a>small{
  color:#625D56;
  font:400 13px/1.45 'Inter Tight',Arial,sans-serif;
}
html.ediouro-editorial-shell .education-editorial-material-list a>em{
  color:#2E2A26;
  font:600 8px/1 'Inter Tight',Arial,sans-serif;
  font-style:normal;
  letter-spacing:.15em;
  text-align:right;
  text-transform:uppercase;
}

/* Educator close */
html.ediouro-editorial-shell .education-editorial-close{
  padding:100px 0 110px;
  background:var(--ee-green);
  color:#F4F0E8;
}
html.ediouro-editorial-shell .education-editorial-close .education-editorial-kicker{
  color:#AABAB4;
}
html.ediouro-editorial-shell .education-editorial-close .education-editorial-section-head h2{
  color:#F4F0E8;
}
html.ediouro-editorial-shell .education-editorial-principles{
  border-bottom:1px solid rgba(255,255,255,.25);
}
html.ediouro-editorial-shell .education-editorial-principles article{
  display:grid;
  grid-template-columns:70px 280px minmax(0,1fr);
  gap:34px;
  align-items:baseline;
  padding:22px 0 24px;
  border-top:1px solid rgba(255,255,255,.25);
}
html.ediouro-editorial-shell .education-editorial-principles span{
  color:#9EB0AA;
  font:600 8px/1 'Inter Tight',Arial,sans-serif;
  letter-spacing:.14em;
}
html.ediouro-editorial-shell .education-editorial-principles h3{
  margin:0;
  color:#F4F0E8;
  font:450 26px/1.05 'Inter Tight',Arial,sans-serif;
  letter-spacing:-.025em;
}
html.ediouro-editorial-shell .education-editorial-principles p{
  max-width:680px;
  margin:0;
  color:#C3CEC9;
  font:400 13px/1.52 'Inter Tight',Arial,sans-serif;
}

/* Archive */
html.ediouro-editorial-shell .education-editorial-archive-hero{
  background:var(--ee-sage);
}
html.ediouro-editorial-shell .education-editorial-archive-hero-inner{
  min-height:500px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:76px 0 66px;
  text-align:center;
}
html.ediouro-editorial-shell .education-editorial-archive-hero-inner>button{
  margin-bottom:28px;
  padding:0 0 4px;
  border:0;
  border-bottom:1px solid currentColor;
  background:transparent;
  color:#3F4C47;
  font:600 8px/1 'Inter Tight',Arial,sans-serif;
  letter-spacing:.16em;
  text-transform:uppercase;
  cursor:pointer;
}
html.ediouro-editorial-shell .education-editorial-archive-hero h1{
  max-width:900px;
  margin:20px auto 0;
  color:var(--ee-ink);
  font:450 clamp(44px,5vw,68px)/.98 'Inter Tight',Arial,sans-serif;
  letter-spacing:-.045em;
}
html.ediouro-editorial-shell .education-editorial-archive-hero p{
  max-width:680px;
  margin:24px auto 0;
  color:#514C46;
  font:italic 400 clamp(19px,1.7vw,25px)/1.4 'Newsreader',Georgia,serif;
}
html.ediouro-editorial-shell .education-editorial-archive-tools{
  padding:48px 0 40px;
  background:#FFF;
}
html.ediouro-editorial-shell .education-editorial-archive-stage-row{
  display:flex;
  gap:8px;
  overflow-x:auto;
  padding:0 0 22px;
  scrollbar-width:none;
}
html.ediouro-editorial-shell .education-editorial-archive-stage-row::-webkit-scrollbar{
  display:none;
}
html.ediouro-editorial-shell .education-editorial-archive-stage-row button{
  flex:0 0 auto;
  padding:9px 0 6px;
  border:0;
  border-bottom:1px solid transparent;
  background:transparent;
  color:#756F67;
  font:600 9px/1 'Inter Tight',Arial,sans-serif;
  white-space:nowrap;
  cursor:pointer;
}
html.ediouro-editorial-shell .education-editorial-archive-stage-row button+button{
  margin-left:20px;
}
html.ediouro-editorial-shell .education-editorial-archive-stage-row button span{
  margin-left:5px;
  opacity:.55;
}
html.ediouro-editorial-shell .education-editorial-archive-stage-row button.active{
  border-bottom-color:#11110F;
  color:#11110F;
}
html.ediouro-editorial-shell .education-editorial-archive-search{
  display:grid;
  grid-template-columns:170px minmax(0,1fr) 110px;
  gap:28px;
  align-items:end;
  padding-top:22px;
  border-top:1px solid var(--ee-rule);
}
html.ediouro-editorial-shell .education-editorial-archive-search label{
  padding-bottom:11px;
  color:#777169;
  font:600 8px/1 'Inter Tight',Arial,sans-serif;
  letter-spacing:.18em;
}
html.ediouro-editorial-shell .education-editorial-archive-search input{
  min-width:0;
  padding:0 0 10px;
  border:0;
  border-bottom:1px solid #716B64;
  outline:0;
  background:transparent;
  color:var(--ee-ink);
  font:450 22px/1.1 'Inter Tight',Arial,sans-serif;
  letter-spacing:-.025em;
}
html.ediouro-editorial-shell .education-editorial-archive-search input::placeholder{
  color:#A29C94;
}
html.ediouro-editorial-shell .education-editorial-archive-search>span{
  padding-bottom:11px;
  color:#777169;
  font:500 8px/1 'Inter Tight',Arial,sans-serif;
  letter-spacing:.12em;
  text-align:right;
  text-transform:uppercase;
}
html.ediouro-editorial-shell .education-editorial-archive-results{
  padding:76px 0 96px;
  background:var(--ee-paper);
}
html.ediouro-editorial-shell .education-editorial-archive-grid{
  gap:64px 36px;
}
html.ediouro-editorial-shell .education-editorial-archive-empty{
  padding:48px 0;
  color:#625D56;
  font:italic 400 26px/1.3 'Newsreader',Georgia,serif;
  text-align:center;
}
html.ediouro-editorial-shell .education-editorial-archive-more{
  margin-top:62px;
  text-align:center;
}
html.ediouro-editorial-shell .education-editorial-archive-more button{
  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:.18em;
  text-transform:uppercase;
  cursor:pointer;
}

/* Canonical source correction */
html.ediouro-editorial-shell .education-editorial-book-cover .cover:has(img[alt*="Romance de João e Maria"]){
  width:min(100%,210px)!important;
  height:auto!important;
  aspect-ratio:746 / 1000!important;
}
html.ediouro-editorial-shell .education-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;
}

@media(max-width:980px) and (min-width:761px){
  html.ediouro-editorial-shell .education-editorial-book-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  html.ediouro-editorial-shell .education-editorial-material-list a{
    grid-template-columns:50px minmax(220px,.9fr) minmax(0,1.1fr) 120px;
    gap:22px;
  }
}

@media(max-width:760px){
  html.ediouro-editorial-shell .education-editorial .wrap{
    width:min(100% - 40px,1180px);
  }
  html.ediouro-editorial-shell .education-editorial-kicker{
    font-size:7px;
    letter-spacing:.22em;
  }
  html.ediouro-editorial-shell .education-editorial-hero-inner{
    min-height:470px;
    padding:64px 0 58px;
  }
  html.ediouro-editorial-shell .education-editorial-hero h1{
    font-size:42px;
  }
  html.ediouro-editorial-shell .education-editorial-hero p{
    font-size:20px;
  }

  html.ediouro-editorial-shell .education-editorial-stages,
  html.ediouro-editorial-shell .education-editorial-showcase,
  html.ediouro-editorial-shell .education-editorial-materials,
  html.ediouro-editorial-shell .education-editorial-close{
    padding:76px 0 84px;
  }
  html.ediouro-editorial-shell .education-editorial-section-head{
    align-items:flex-start;
    flex-direction:column;
    gap:20px;
    margin-bottom:42px;
  }
  html.ediouro-editorial-shell .education-editorial-section-head h2{
    font-size:32px;
  }
  html.ediouro-editorial-shell .education-editorial-stage-list{
    grid-template-columns:1fr;
  }
  html.ediouro-editorial-shell .education-editorial-stage-list button,
  html.ediouro-editorial-shell .education-editorial-stage-list button:nth-child(odd),
  html.ediouro-editorial-shell .education-editorial-stage-list button:nth-child(even){
    min-height:0;
    padding:19px 0 20px;
    border-right:0;
    border-bottom:1px solid var(--ee-rule);
  }
  html.ediouro-editorial-shell .education-editorial-stage-list button:nth-last-child(-n+2){
    border-bottom:1px solid var(--ee-rule);
  }
  html.ediouro-editorial-shell .education-editorial-stage-list button:last-child{
    border-bottom:0;
  }
  html.ediouro-editorial-shell .education-editorial-stage-list button>strong{
    font-size:23px;
  }

  html.ediouro-editorial-shell .education-editorial-book-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:48px 22px;
  }
  html.ediouro-editorial-shell .education-editorial-book-cover{
    min-height:240px;
    margin-bottom:18px;
  }
  html.ediouro-editorial-shell .education-editorial-book-cover .cover{
    width:min(100%,155px)!important;
  }
  html.ediouro-editorial-shell .education-editorial-book-cover .cover img{
    max-height:240px!important;
  }
  html.ediouro-editorial-shell .education-editorial-book h3{
    font-size:17px;
  }
  html.ediouro-editorial-shell .education-editorial-book p{
    font-size:18px;
  }

  html.ediouro-editorial-shell .education-editorial-material-list a{
    grid-template-columns:36px minmax(0,1fr);
    gap:8px 16px;
    align-items:start;
    padding:20px 0 22px;
  }
  html.ediouro-editorial-shell .education-editorial-material-list a>span{
    grid-row:1 / 4;
    padding-top:5px;
  }
  html.ediouro-editorial-shell .education-editorial-material-list a>strong{
    font-size:23px;
  }
  html.ediouro-editorial-shell .education-editorial-material-list a>small{
    font-size:12px;
  }
  html.ediouro-editorial-shell .education-editorial-material-list a>em{
    margin-top:7px;
    text-align:left;
  }

  html.ediouro-editorial-shell .education-editorial-principles article{
    grid-template-columns:38px minmax(0,1fr);
    gap:12px;
  }
  html.ediouro-editorial-shell .education-editorial-principles h3{
    font-size:23px;
  }
  html.ediouro-editorial-shell .education-editorial-principles p{
    grid-column:2;
    margin-top:3px;
  }

  html.ediouro-editorial-shell .education-editorial-archive-hero-inner{
    min-height:430px;
    padding:60px 0 54px;
  }
  html.ediouro-editorial-shell .education-editorial-archive-hero h1{
    font-size:40px;
  }
  html.ediouro-editorial-shell .education-editorial-archive-hero p{
    font-size:19px;
  }
  html.ediouro-editorial-shell .education-editorial-archive-tools{
    padding:36px 0 32px;
  }
  html.ediouro-editorial-shell .education-editorial-archive-stage-row{
    margin-right:-20px;
    padding-right:20px;
  }
  html.ediouro-editorial-shell .education-editorial-archive-search{
    grid-template-columns:1fr auto;
    gap:12px 18px;
  }
  html.ediouro-editorial-shell .education-editorial-archive-search label{
    grid-column:1 / -1;
    padding-bottom:0;
  }
  html.ediouro-editorial-shell .education-editorial-archive-search input{
    font-size:19px;
  }
  html.ediouro-editorial-shell .education-editorial-archive-search>span{
    padding-bottom:10px;
  }
  html.ediouro-editorial-shell .education-editorial-archive-results{
    padding:60px 0 78px;
  }
}
