/* Navegação e conteúdo público da Secretaria de Educação. */
.education-page .brand-row{flex-wrap:wrap;justify-content:center;padding-block:16px;gap:16px 24px}
.education-page .brand-row>.educacao-brand{flex:1;min-width:160px;color:#fff;font-size:clamp(1.15rem,2vw,1.65rem);font-weight:800;text-align:center;line-height:1.2}
.education-page .educacao-nav .wrap{flex-wrap:wrap;justify-content:center;gap:0 8px}
.education-page .educacao-nav a,.education-page .educacao-nav button{min-height:44px}
.education-page .educacao-nav .nav-sub{max-height:65vh;overflow-y:auto;max-width:min(420px,calc(100vw - 40px))}
.education-page .educacao-nav .nav-sub a{white-space:normal;overflow-wrap:anywhere}
.education-page .educacao-nav .nav-item:last-child>.nav-sub{left:0;right:auto}
.education-page .educacao-titulo{font-size:clamp(1.8rem,3.5vw,2.6rem);line-height:1.2;text-align:center;color:var(--navy);margin:0 0 28px;max-width:none}
.education-page .detail-layout>.prose>h2:first-child{margin-top:0}
.education-page .educacao-publicacoes{padding-block:24px;background:transparent}
.education-page .prose .educacao-section-head h2{margin:0}
.education-page .educacao-section-head{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:24px}
.education-page .educacao-section-head h2{margin:0;color:var(--navy);font-size:clamp(1.6rem,3vw,2.2rem)}
.education-page .educacao-section-head .eyebrow{color:var(--blue);margin-bottom:8px}
.education-page .educacao-lista{display:flex;flex-direction:column;gap:12px}
.education-page .educacao-lista .news-card{display:flex;flex-direction:row;align-items:center;min-width:0;min-height:80px;overflow:hidden;text-decoration:none;border:1px solid var(--line);border-radius:8px;background:#fff}
.education-page .educacao-lista .news-image{flex:0 0 150px;width:150px;height:110px;align-self:stretch;background:#eaf2f7}
.education-page .educacao-lista .news-image img{width:100%;height:100%;object-fit:cover;margin:0;border-radius:0;max-height:none;display:block}
.education-page .educacao-lista .news-copy{flex:1;min-width:0;padding:16px 20px}
.education-page .educacao-lista .news-copy h3{margin:7px 0 0;font-size:1.05rem;line-height:1.45}
.education-page .educacao-lista .news-copy .text-link{display:none}
.education-page .educacao-lista .meta{display:flex;flex-wrap:wrap;gap:8px 12px}
.education-page .educacao-subgrupo{border-top:1px solid var(--line)}
.education-page .educacao-subgrupo summary{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;padding:10px 18px;cursor:pointer;font-size:.85rem;font-weight:700;color:var(--navy)}
.education-page .educacao-subgrupo summary::after{content:'';width:7px;height:7px;flex:0 0 7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin-right:3px}
.education-page .educacao-subgrupo[open]>summary::after{transform:rotate(225deg)}
.education-page .educacao-subgrupo>div{padding-left:12px;border-left:2px solid var(--orange);margin-left:16px}
.education-page .educacao-nav .nav-sub .educacao-subgrupo a{display:flex}
.education-page .detail-layout{grid-template-columns:minmax(0,1fr) minmax(250px,300px);gap:40px}
.education-page .unidades-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.education-page .unidade-card{padding:12px;font-size:.82rem;gap:5px;background:#fff;border:1px solid var(--line);border-radius:10px}
.education-page .unidade-card a{display:inline-flex;align-items:center;min-height:44px}
.education-page .aside{overflow-wrap:anywhere}
.education-page .aside a{display:inline-flex;align-items:center;min-height:44px}
@media(min-width:900px){
 .education-page .brand-row{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}
 .education-page .brand-row>a:first-child{justify-self:start;min-width:0}
 .education-page .brand-row>.educacao-brand{min-width:0;justify-self:center}
 .education-page .brand-row>.busca-topo{justify-self:end;width:100%;max-width:250px}
}
@media(max-width:899px){
 .education-page .brand-row>.educacao-brand{order:4;flex-basis:100%;padding-bottom:4px}
 .education-page .brand-row{justify-content:space-between}
 .education-page .educacao-nav .wrap{flex-wrap:nowrap;justify-content:flex-start}
 .education-page .educacao-nav .nav-sub{position:static;max-width:none}
 .education-page .detail-layout{grid-template-columns:1fr;gap:28px}
 .education-page .unidades-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:539px){
 .education-page .unidades-grid{grid-template-columns:1fr}
 .education-page .educacao-lista .news-copy{padding:12px}
 .education-page .educacao-lista .news-image{flex-basis:88px;width:88px;height:88px;align-self:center}
 .education-page .educacao-lista .news-copy h3{font-size:.95rem}
 .education-page .educacao-section-head{align-items:flex-start;gap:16px}
}

/* Categoria da página ou do post, com prioridade para o assunto em vez de Notícias. */
.education-page .educacao-nav a.is-current,.education-page .educacao-nav .nav-item.is-current>.nav-sub-toggle{color:var(--blue);border-bottom-color:var(--orange);background:#fff7ed;font-weight:750}
.education-page .educacao-subgrupo.is-current>summary{color:var(--blue);background:#fff7ed}
@media(max-width:899px){.education-page .educacao-nav .wrap{gap:0}}
