/*
Theme Name: Processo em Foco V5
Description: Portal jurídico moderno para concursos, com menu e destaque configurados automaticamente.
Version: 5.0.0
Author: Processo em Foco
*/
:root{--y:#f2b400;--k:#111;--t:#242424;--m:#777;--l:#e7e7e7;--s:#f7f7f7;--max:1220px}
*{box-sizing:border-box}body{margin:0;color:var(--t);font:15px/1.65 Arial,Helvetica,sans-serif;background:#fff}a{text-decoration:none;color:inherit}a:hover{color:#b57f00}img{max-width:100%;height:auto;display:block}.wrap{width:min(var(--max),calc(100% - 40px));margin:auto}
.top{background:var(--y);height:36px;font-size:11px;font-weight:700}.top .wrap{height:100%;display:flex;justify-content:space-between;align-items:center}
.header{background:#fff;border-bottom:1px solid var(--l);position:sticky;top:0;z-index:50}.head{height:82px;display:flex;align-items:center;gap:38px}.logo{display:flex;align-items:center;gap:10px;min-width:220px}.logo-mark{width:38px;height:38px;border:6px solid var(--y);border-radius:10px 18px 8px 10px;position:relative}.logo-mark:after{content:"";position:absolute;width:14px;height:9px;border-left:6px solid var(--y);bottom:-9px;left:6px}.logo strong{font-size:17px;line-height:.9;letter-spacing:-.4px;color:#111}.logo strong span{display:block}
.menu{display:flex;align-items:center;gap:25px;flex:1}.menu a{font-size:13px;font-weight:700;padding:31px 0;position:relative}.menu a.active:after{content:"";position:absolute;left:0;right:0;bottom:22px;height:3px;background:var(--y)}.menu a:hover{color:#111}.search{width:40px;height:40px;border-radius:50%;background:var(--y);display:grid;place-items:center;font-size:18px;font-weight:900}
.hero{background:#161616;color:#fff;min-height:500px;position:relative;overflow:hidden}.hero-bg{position:absolute;inset:0;background-size:cover;background-position:center;opacity:.62}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,#111 0%,rgba(17,17,17,.9) 42%,rgba(17,17,17,.18) 100%)}.hero .wrap{position:relative;min-height:500px;display:flex;align-items:center}.hero-copy{max-width:650px;padding:60px 0}.eyebrow{color:var(--y);text-transform:uppercase;font-size:11px;font-weight:900;letter-spacing:.13em}.hero h1{font-size:47px;line-height:1.08;letter-spacing:-1.3px;margin:14px 0}.hero p{color:#ddd;font-size:16px;max-width:610px}.meta{font-size:11px;color:#ccc;display:flex;gap:18px}.btn{display:inline-block;background:var(--y);color:#111;padding:12px 18px;margin-top:22px;font-size:11px;font-weight:900;text-transform:uppercase}.btn:hover{background:#fff;color:#111}
.main{padding:50px 0}.grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:50px}.headline{font-size:14px;text-transform:uppercase;font-weight:900;letter-spacing:.05em;border-left:4px solid var(--y);padding-left:10px;margin:0 0 25px}.post{display:grid;grid-template-columns:190px 1fr 25px;gap:22px;border-bottom:1px solid var(--l);padding-bottom:24px;margin-bottom:24px}.thumb{height:135px;overflow:hidden;background:#eee}.thumb img{width:100%;height:100%;object-fit:cover}.cat{font-size:10px;color:#b57f00;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.post h2{font-size:21px;line-height:1.25;margin:6px 0}.post p{font-size:13px;color:#666;margin:6px 0}.post-meta{font-size:10px;color:#888}.save{font-size:19px;color:#888}
.side{margin-bottom:28px}.searchbox{display:flex;border:1px solid var(--l)}.searchbox input{border:0;padding:12px;flex:1}.searchbox button{border:0;background:var(--y);width:50px}.side ul{list-style:none;margin:0;padding:0}.side li{padding:8px 0;border-bottom:1px solid var(--l);font-size:13px;display:flex;justify-content:space-between}.download{background:#111;color:#fff;padding:24px;border-top:4px solid var(--y)}.download h3{margin:0 0 6px}.download p{color:#bbb;font-size:12px}
.pagination{display:flex;justify-content:center;gap:7px;margin:40px 0}.pagination a,.pagination span{min-width:38px;height:38px;padding:9px 12px;text-align:center;border:1px solid var(--l);font-size:12px}.pagination .current{background:var(--y);border-color:var(--y);color:#111;font-weight:900}
.entry-wrap{padding:55px 0}.article-title{font-size:48px;line-height:1.1;margin:8px 0 15px}.entry{font:18px/1.85 Georgia,serif}.entry h2,.entry h3{font-family:Arial,sans-serif}.entry img{border-radius:6px}.archive-title{font-size:38px;margin:0 0 28px}
.features{display:grid;grid-template-columns:repeat(4,1fr);gap:25px;padding:10px 0 55px}.feature{display:flex;gap:12px}.ico{width:42px;height:42px;border:1px solid var(--y);border-radius:50%;display:grid;place-items:center;color:#b57f00;font-weight:900;flex:none}.feature h3{font-size:13px;margin:0}.feature p{font-size:11px;color:#777;margin:3px 0}
.footer{background:#111;color:#aaa;border-top:5px solid var(--y);padding-top:40px}.footergrid{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:40px}.footer h3{font-size:11px;color:#fff;text-transform:uppercase}.footer p,.footer a{font-size:12px}.bottom{border-top:1px solid #292929;margin-top:35px;padding:16px 0;font-size:10px;display:flex;justify-content:space-between}
@media(max-width:900px){.menu{gap:12px}.grid{grid-template-columns:1fr}.features{grid-template-columns:1fr 1fr}.footergrid{grid-template-columns:1fr 1fr}}@media(max-width:650px){.wrap{width:calc(100% - 28px)}.menu{display:none}.head{height:70px}.hero h1{font-size:36px}.hero,.hero .wrap{min-height:540px}.post{grid-template-columns:105px 1fr}.thumb{height:95px}.save{display:none}.features,.footergrid{grid-template-columns:1fr}.bottom{display:block}.bottom span{display:block;margin:5px 0}}

/* V6: identidade e menu principal */
.brand{display:flex;align-items:center;gap:10px;min-width:205px;flex:none;color:#111}
.brand img{width:42px;height:42px;object-fit:contain;display:block}
.brand span{display:flex;flex-direction:column;line-height:.95;white-space:nowrap}
.brand strong{font-size:15px;letter-spacing:-.2px;color:#111}
.main-menu{display:flex!important;align-items:center;justify-content:flex-start;gap:21px;flex:1;min-width:0}
.main-menu a{display:block!important;color:#111;font-size:12px;font-weight:800;padding:31px 0 30px;white-space:nowrap;border:0;position:relative}
.main-menu a:hover{color:#a87800}
.main-menu a:nth-child(1):hover:after,.main-menu a:nth-child(2):hover:after,.main-menu a:nth-child(3):hover:after,.main-menu a:nth-child(4):hover:after,.main-menu a:nth-child(5):hover:after,.main-menu a:nth-child(6):hover:after,.main-menu a:nth-child(7):hover:after{content:"";position:absolute;left:0;right:0;bottom:20px;height:3px;background:var(--y)}
@media(max-width:1050px){.main-menu{gap:12px}.main-menu a{font-size:11px}.brand{min-width:190px}}
@media(max-width:800px){.main-menu{display:none!important}.head{justify-content:space-between}.brand{min-width:0}.brand img{width:38px;height:38px}}

.main-menu a.active:after{content:"";position:absolute;left:0;right:0;bottom:20px;height:3px;background:var(--y)}
.pagination ul.page-numbers{display:flex;justify-content:center;gap:7px;list-style:none;margin:40px 0;padding:0;flex-wrap:wrap}
.pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;padding:8px 11px;border:1px solid var(--l);font-size:12px;background:#fff}
.pagination .page-numbers.current{background:var(--y);border-color:var(--y);color:#111;font-weight:900}
.pagination .page-numbers:hover{background:var(--s)}

.menu-empty{font-size:11px;color:#777;font-style:italic}
.menu-empty span{padding:8px 0}

.footer-logo{display:inline-flex;align-items:center;width:190px;height:76px;overflow:visible}
.footer-logo img{width:100%;height:100%;object-fit:contain;object-position:left center}

.searchbox{width:100%;display:flex;align-items:stretch;border:1px solid #d9d9d9;background:#fff;border-radius:3px;overflow:hidden;box-shadow:0 1px 3px rgba(0,0,0,.04)}
.searchbox:focus-within{border-color:var(--y);box-shadow:0 0 0 2px rgba(242,180,0,.15)}
.searchbox input{min-width:0;width:100%;height:46px;border:0!important;outline:0;padding:0 13px;font-size:13px;color:#222;background:#fff}
.searchbox input::placeholder{color:#888}
.searchbox button{flex:0 0 52px;height:46px;border:0;background:var(--y);color:#111;cursor:pointer;font-size:20px;font-weight:700}
.searchbox button:hover{background:#111;color:#fff}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Página de resultados da busca: fundo branco */
body.search{background:#fff!important}
body.search .entry-wrap{background:#fff!important}
body.search .entry-wrap .wrap{background:#fff!important}
body.search .grid{background:#fff!important}
body.search section,body.search aside{background:#fff!important}
body.search .post{background:#fff}
