/**
 * Mãe Atípica UP — Materiais: margens e responsividade
 * Versão de revisão, 18/10/2026.
 * Escopo restrito às sete páginas da biblioteca de materiais.
 */
:root{
  --maeup-material-gutter:clamp(18px,4.2vw,52px);
  --maeup-material-max:1180px;
}
body:is(.page-id-30,.page-id-32,.page-id-33,.page-id-34,.page-id-458,.page-id-459,.page-id-460)
:is(.maeup-content-shell,:is(.wp-site-blocks,.wp-site-blocks>:where(main.maeup-page-main))>.entry-content.wp-block-post-content){
  box-sizing:border-box!important;
  width:min(var(--maeup-material-max),calc(100% - 2 * var(--maeup-material-gutter)))!important;
  max-width:none!important;
  margin-inline:auto!important;
  padding-inline:0!important;
  min-width:0!important;
}
body:is(.page-id-30,.page-id-32,.page-id-33,.page-id-34,.page-id-458,.page-id-459,.page-id-460)
.maeup-content-shell .entry-content.wp-block-post-content{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  padding-inline:0!important;
  overflow-wrap:anywhere;
}
body:is(.page-id-30,.page-id-32,.page-id-33,.page-id-34,.page-id-458,.page-id-459,.page-id-460)
.entry-content.wp-block-post-content > *{
  box-sizing:border-box;
  min-width:0;
}
/* Catálogo: o conteúdo traz seu próprio H1 e sua própria hierarquia. */
body.page-id-30 .maeup-inner-hero,
body.page-id-30 :is(.wp-site-blocks,.wp-site-blocks>:where(main.maeup-page-main))>.maeup-title,
body.page-id-459 .maeup-inner-hero,
body.page-id-459 :is(.wp-site-blocks,.wp-site-blocks>:where(main.maeup-page-main))>.maeup-title,
body.page-id-460 .maeup-inner-hero,
body.page-id-460 :is(.wp-site-blocks,.wp-site-blocks>:where(main.maeup-page-main))>.maeup-title{
  display:none!important;
}
body.page-id-30 .maeup-content-shell,
body.page-id-459 .maeup-content-shell,
body.page-id-460 .maeup-content-shell{
  padding-top:0!important;
}
body.page-id-30 :is(.wp-site-blocks,.wp-site-blocks>:where(main.maeup-page-main))>.entry-content.wp-block-post-content,
body.page-id-459 :is(.wp-site-blocks,.wp-site-blocks>:where(main.maeup-page-main))>.entry-content.wp-block-post-content,
body.page-id-460 :is(.wp-site-blocks,.wp-site-blocks>:where(main.maeup-page-main))>.entry-content.wp-block-post-content{
  padding-top:0!important;
}
/* Biblioteca */
body.page-id-30 .mu-library{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0;
  margin-inline:auto!important;
}
body.page-id-30 .mu-library :is(.mu-top,.mu-controls,.mu-grid,.mu-sectionbar,.mu-bottom){
  min-width:0;
}
body.page-id-30 .mu-library .mu-card{min-width:0;max-width:100%}
body.page-id-30 .mu-library .mu-search-wrap{min-width:0;max-width:100%}
body.page-id-30 .mu-library input[type="search"]{max-width:100%;min-width:0;}
/* Ferramentas de IA: manter um único título, boas margens e CTA utilizável. */
body:is(.page-id-459,.page-id-460) .mu-tool{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:860px!important;
  min-width:0;
  margin-inline:auto!important;
  overflow-wrap:anywhere;
}
body:is(.page-id-459,.page-id-460) .mu-tool :is(.mu-how,.mu-prompt-details,.mu-warning,.mu-actions){
  box-sizing:border-box;
  max-width:100%;
  min-width:0;
}
body:is(.page-id-459,.page-id-460) .mu-tool .mu-prompt-details pre{
  box-sizing:border-box;
  max-width:100%;
  width:100%;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  overflow-x:auto;
  font-size:clamp(12px,1.1vw,14px);
  line-height:1.65;
}
body:is(.page-id-459,.page-id-460) .mu-tool .mu-action{
  min-height:48px;
  max-width:100%;
  text-align:center;
  white-space:normal;
}
/* Guia de vagas: cards e etapas responsivos sem cortar textos. */
body.page-id-458 .maeup-inner-hero,
body.page-id-458 :is(.wp-site-blocks,.wp-site-blocks>:where(main.maeup-page-main))>.maeup-title{
  width:min(1040px,calc(100% - 2 * var(--maeup-material-gutter)))!important;
  max-width:none!important;
  margin-inline:auto!important;
}
body.page-id-458 .up-guide{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:1040px!important;
  min-width:0;
  margin-inline:auto!important;
}
body.page-id-458 .up-guide :is(.up-list,.up-steps,.up-job){min-width:0}
body.page-id-458 .up-guide .up-job > div{min-width:0;overflow-wrap:anywhere}
/* Materiais clássicos: título e texto na mesma coluna de leitura. */
body:is(.page-id-32,.page-id-33,.page-id-34) .maeup-inner-hero,
body:is(.page-id-32,.page-id-33,.page-id-34) :is(.wp-site-blocks,.wp-site-blocks>:where(main.maeup-page-main))>.maeup-title{
  box-sizing:border-box!important;
  width:min(760px,calc(100% - 2 * var(--maeup-material-gutter)))!important;
  max-width:none!important;
  margin-inline:auto!important;
}
body:is(.page-id-32,.page-id-33,.page-id-34) .maeup-content-shell .entry-content.wp-block-post-content,
body:is(.page-id-32,.page-id-33,.page-id-34) :is(.wp-site-blocks,.wp-site-blocks>:where(main.maeup-page-main))>.entry-content.wp-block-post-content{
  max-width:760px!important;
  margin-inline:auto!important;
}
body:is(.page-id-32,.page-id-33,.page-id-34) .entry-content :is(p,li){
  line-height:1.75;
  overflow-wrap:anywhere;
}
body:is(.page-id-32,.page-id-33,.page-id-34) .entry-content :is(pre,.wp-block-preformatted){
  box-sizing:border-box;
  max-width:100%;
  width:100%;
  padding:20px;
  border:1px solid #e8dbcc;
  border-radius:12px;
  background:#f7f1e8;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  overflow-x:auto;
  font:400 14px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace;
}
@media(max-width:900px){
  :root{--maeup-material-gutter:clamp(20px,3.6vw,32px)}
  body.page-id-30 .mu-library .mu-grid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  body.page-id-458 .up-guide .up-steps{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:640px){
  :root{--maeup-material-gutter:18px}
  body.page-id-30 .mu-library{padding-top:34px!important}
  body.page-id-30 .mu-library .mu-top{
    grid-template-columns:1fr!important;
    gap:22px!important;
  }
  body.page-id-30 .mu-library .mu-top-art{min-height:160px}
  body.page-id-30 .mu-library .mu-grid{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:18px!important;
  }
  body.page-id-30 .mu-library .mu-controls{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:16px!important;
  }
  body.page-id-30 .mu-library .mu-tabs{
    display:flex!important;
    flex-wrap:wrap!important;
    gap:8px!important;
    max-width:100%;
  }
  body.page-id-30 .mu-library .mu-tab{
    min-height:42px;
    white-space:normal;
    text-align:center;
  }
  body.page-id-30 .mu-library .mu-search-wrap{
    width:100%!important;
    max-width:none!important;
  }
  body.page-id-30 .mu-library .mu-sectionbar{
    align-items:flex-start!important;
    flex-direction:column!important;
    gap:4px!important;
  }
  body.page-id-30 .mu-library .mu-bottom{
    flex-direction:column!important;
    align-items:stretch!important;
    gap:20px!important;
  }
  body.page-id-30 .mu-library .mu-bottom a{
    display:inline-flex;
    align-self:flex-start;
    white-space:normal;
  }
  body:is(.page-id-459,.page-id-460) .mu-tool{
    padding-top:34px!important;
    padding-bottom:52px!important;
  }
  body:is(.page-id-459,.page-id-460) .mu-tool .mu-crumb{margin-bottom:22px}
  body:is(.page-id-459,.page-id-460) .mu-tool h1{
    font-size:clamp(32px,9vw,44px)!important;
    line-height:1.13!important;
  }
  body:is(.page-id-459,.page-id-460) .mu-tool .mu-actions{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:10px!important;
  }
  body:is(.page-id-459,.page-id-460) .mu-tool .mu-action{
    width:100%!important;
    justify-content:center!important;
  }
  body:is(.page-id-459,.page-id-460) .mu-tool .mu-how{
    padding:20px 18px!important;
    border-radius:12px;
  }
  body:is(.page-id-459,.page-id-460) .mu-tool .mu-prompt-details summary{
    padding:16px!important;
    overflow-wrap:anywhere;
  }
  body.page-id-458 .up-guide .up-list,
  body.page-id-458 .up-guide .up-steps{
    grid-template-columns:minmax(0,1fr)!important;
  }
  body.page-id-458 .up-guide :is(.up-job,.up-step){padding:18px!important}
  body:is(.page-id-32,.page-id-33,.page-id-34) .entry-content :is(pre,.wp-block-preformatted){
    padding:16px;
    font-size:12.5px;
  }
}
@media(max-width:380px){
  :root{--maeup-material-gutter:16px}
  body.page-id-30 .mu-library h1{font-size:clamp(34px,10vw,40px)!important}
  body:is(.page-id-459,.page-id-460) .mu-tool .mu-label{letter-spacing:.08em}
  body.page-id-458 .up-guide .up-job{gap:12px}
}
