/*
Theme Name: IBE UI
Description: Tema institucional WordPress nativo com editais, países, níveis, menus e conteúdo personalizável. Sem cadastro público.
Version: 2.0.2
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: ibe-ui
*/
[hidden] { display: none !important; }
.screen-reader-text { clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; width: 1px; overflow: hidden; position: absolute; white-space: nowrap; }
.custom-logo-link { display: block; flex-shrink: 0; }
.custom-logo { display: block; width: 195px; height: auto; max-height: 75px; object-fit: contain; }
.ibe-menu,.footer-menu { list-style: none; margin: 0; padding: 0; }
.ibe-menu li { position: relative; }
.ibe-menu .sub-menu { list-style: none; padding-left: 16px; }
.site-footer .ibe-menu a { display: block; }
body.admin-bar .site-header { top: 32px; }
.hero-content > p { max-width: 540px; }
.hero-image { background-color: #142878; }
.ibe-filter-form .filter-tools { width: 100%; flex-wrap: wrap; }
.ibe-filter-form .button { min-height: 42px; }
.ibe-tabs .ibe-tab-panel h3 { margin-top: 16px; }
.ibe-js .ibe-tab-panel h3 { display: none; }
.ibe-reading { max-width: 960px; min-height: 45vh; }
.ibe-reading h1 { font-size: clamp(28px,4vw,44px); line-height: 1.2; margin: 24px 0; overflow-wrap: anywhere; }
.ibe-reading h2 { margin: 24px 0 12px; }
.ibe-meta { color: #65718a; margin: 16px 0; }
.entry-content { line-height: 1.8; overflow-wrap: anywhere; }
.entry-content p,.entry-content ul,.entry-content ol,.entry-content figure { margin: 0 0 1.25em; }
.entry-content a { color: #142878; text-decoration: underline; }
.entry-content img,.ibe-featured { max-width: 100%; height: auto; }
.entry-content iframe { max-width: 100%; }
.entry-content table { display: block; max-width: 100%; overflow-x: auto; }
.ibe-featured { border-radius: 8px; margin-bottom: 24px; }
.alignwide { width: 100%; }.aligncenter { margin-inline: auto; }
.wp-caption { max-width: 100%; }.wp-caption-text,.gallery-caption { color: #65718a; }
.bypostauthor { border-left: 2px solid #142878; padding-left: 12px; }
.ibe-post-summary { padding: 24px 0; border-bottom: 1px solid #dfe5f0; }
.ibe-post-summary p { margin: 12px 0; }
.ibe-facts { padding: 20px; background: #edf3ff; border-radius: 8px; display: flex; flex-wrap: wrap; gap: 24px; margin: 24px 0; }
.ibe-facts dt { font-weight: 700; }.ibe-facts dd { margin: 4px 0 0; }
.ibe-edital-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.ibe-reading .eyebrow { margin-top: 28px; }
.navigation.pagination,.post-navigation { margin: 32px 0; }
.nav-links { display: flex; flex-wrap: wrap; gap: 12px; }
.page-numbers { display: inline-block; padding: 10px 16px; border: 1px solid #dfe5f0; border-radius: 5px; }
.page-numbers.current { background: #142878; color: #fff; }
.ibe-search-form { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.ibe-search-form input,.comment-form input:not([type=checkbox]),.comment-form textarea { border: 1px solid #dfe5f0; border-radius: 5px; padding: 12px; max-width: 100%; }
.comment-form label { display: block; }.comment-form p { margin: 16px 0; }
.ibe-comments { margin-top: 48px; }
@media (min-width: 1024px) {
 .nav-inner .ibe-menu { display: flex; align-items: center; gap: 22px; }
 .ibe-menu .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 200px; padding: 12px; background: white; box-shadow: 0 8px 24px #14287822; }
 .ibe-menu li:hover > .sub-menu,.ibe-menu li:focus-within > .sub-menu { display: block; }
 .custom-logo { width: 228px; }
}
@media (max-width: 1023px) {
 html:not(.ibe-js) .nav-inner { height: auto; flex-wrap: wrap; padding-block: 18px; }
 html:not(.ibe-js) .nav-inner nav { display: block; position: static; width: 100%; padding: 0; box-shadow: none; }
 body.admin-bar .nav-inner nav { top: 136px; }
}
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } body.admin-bar .nav-inner nav { top: 150px; } }
@media (max-width: 600px) { body.admin-bar .site-header { top: 0; } body.admin-bar .nav-inner nav { top: 104px; } }
@media print { .site-header,.government-bar,.site-footer,.ibe-edital-actions,.post-navigation,.skip-link { display: none !important; } .ibe-reading { max-width: none; padding: 0; } }
