:root{
  --joeri-red:#df0000;
  --joeri-red-dark:#b90000;
  --joeri-black:#050505;
  --joeri-text:#101827;
  --joeri-muted:#667085;
  --joeri-border:#e6e8ee;
  --joeri-bg:#ffffff;
  --joeri-soft:#f5f6f8;
  --joeri-purple:#635bff;
  --joeri-shadow:0 12px 28px rgba(16,24,40,.10);
  --joeri-shadow-hover:0 18px 40px rgba(16,24,40,.16);
  --joeri-radius:14px;
  --joeri-container:1120px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--joeri-text);
  background:#fff;
  font-family:"Segoe UI", Arial, Helvetica, sans-serif;
  font-size:16px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
a{color:inherit;text-decoration:none;transition:.18s ease}
a:hover{color:var(--joeri-red)}
img{max-width:100%;height:auto;display:block}
svg{width:1em;height:1em;fill:currentColor;display:block}
.joeri-container{width:min(var(--joeri-container), calc(100% - 40px));margin:0 auto}
.screen-reader-text,.skip-link{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link:focus{position:fixed!important;top:14px;left:14px;width:auto;height:auto;padding:10px 14px;background:#000;color:#fff;z-index:99999;clip:auto;border-radius:8px}

/* HEADER */
.site-header{background:#fff;position:relative;z-index:50}
.logo-area{
  width:100%;
  background:#fff;
  padding:18px 18px 15px;
  text-align:center;
}
.site-logo-link{display:inline-flex;align-items:center;justify-content:center;max-width:100%}
.site-logo-img{
  width:min(430px, 86vw);
  max-height:120px;
  object-fit:contain;
  margin:0 auto;
}
.primary-nav{background:var(--joeri-red);color:#fff;box-shadow:0 5px 15px rgba(0,0,0,.08)}
.nav-inner{height:54px;display:flex;align-items:center;gap:26px}
.home-button{display:inline-flex;align-items:center;justify-content:center;color:#fff;font-size:32px;min-width:42px}
.home-button:hover{color:#fff;transform:translateY(-1px)}
.menu-wrap{flex:1;min-width:0}
.main-menu{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:0}
.main-menu li{position:relative;margin:0}
.main-menu a{
  color:#fff;
  display:flex;
  align-items:center;
  min-height:54px;
  padding:0 17px;
  font-size:14px;
  font-weight:700;
  white-space:nowrap;
}
.main-menu a:hover{background:rgba(255,255,255,.12);color:#fff}
.main-menu .sub-menu{
  position:absolute;
  top:100%;
  left:0;
  min-width:210px;
  list-style:none;
  margin:0;
  padding:8px;
  opacity:0;
  visibility:hidden;
  transform:translateY(8px);
  background:#fff;
  border-radius:0 0 12px 12px;
  box-shadow:0 18px 38px rgba(0,0,0,.16);
  transition:.18s ease;
  z-index:99;
}
.main-menu li:hover>.sub-menu{opacity:1;visibility:visible;transform:translateY(0)}
.main-menu .sub-menu a{color:#111;min-height:40px;border-radius:8px;padding:8px 12px}
.main-menu .sub-menu a:hover{background:#f6f7f9;color:var(--joeri-red)}
.menu-toggle{display:none;margin-left:auto;background:transparent;border:0;color:#fff;align-items:center;gap:8px;font-weight:800;cursor:pointer}
.menu-toggle span{width:22px;height:2px;background:#fff;border-radius:999px;display:block;margin:4px 0}
.menu-toggle strong{font-size:13px;text-transform:uppercase;letter-spacing:.04em}
.header-social{display:flex;align-items:center;gap:9px;margin-left:auto}
.header-social a,.footer-social a{
  width:26px;height:26px;border-radius:999px;background:#fff;color:var(--joeri-red);
  display:inline-flex;align-items:center;justify-content:center;font-size:16px;
}
.header-social a:hover,.footer-social a:hover{transform:translateY(-2px);color:var(--joeri-red-dark)}

/* BANNER TOPO */
.top-banner-area{padding:13px 0 24px;background:#fff}
.top-banner-area .widget{margin:0}
.joeri-banner-widget img{width:100%;max-height:130px;object-fit:cover;margin:0 auto;border-radius:0}
.banner-placeholder{
  height:108px;
  border:2px dashed #d8dce5;
  background:#f7f8fb;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:#6b7280;
  font-size:14px;
}

/* GRID PADRÃO */
.posts-grid{display:grid;gap:24px}
.posts-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.post-card{
  background:#fff;
  border:1px solid var(--joeri-border);
  border-radius:13px;
  overflow:hidden;
  box-shadow:0 8px 22px rgba(16,24,40,.07);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.post-card:hover{transform:translateY(-4px);box-shadow:var(--joeri-shadow-hover);border-color:#d3d7df}
.post-card-media{display:block;overflow:hidden;background:#f2f2f2;aspect-ratio:16/10}
.post-card-media img,.post-card-media .joeri-no-thumb{width:100%;height:100%;object-fit:cover;transition:transform .25s ease}
.post-card:hover .post-card-media img{transform:scale(1.035)}
.post-card-body{padding:13px 15px 18px}
.card-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:10px;color:#667085;font-size:12px;font-weight:700}
.card-cat{display:inline-flex;align-items:center;gap:6px;color:var(--joeri-purple);background:rgba(99,91,255,.10);border-radius:999px;padding:5px 10px;line-height:1}
.card-cat:before{content:"";width:13px;height:11px;background:currentColor;clip-path:polygon(0 25%,32% 25%,40% 0,100% 0,100% 100%,0 100%)}
.card-date{display:inline-flex;align-items:center;gap:6px;color:#667085;line-height:1}
.card-date:before{content:"";width:13px;height:13px;background:currentColor;clip-path:polygon(18% 0,18% 15%,28% 15%,28% 0,72% 0,72% 15%,82% 15%,82% 0,100% 15%,100% 100%,0 100%,0 15%)}
.post-card-title{font-size:18px;line-height:1.22;margin:0 0 10px;font-weight:700;letter-spacing:-.01em}
.post-card-title a{color:#111827}
.post-card-title a:hover{color:var(--joeri-red)}
.post-card-excerpt{font-size:14px;color:#667085;line-height:1.5;margin:0 0 12px}
.read-more{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:800;color:#111827}
.read-more:hover{color:var(--joeri-red)}
.read-more span{transition:.18s ease}.post-card:hover .read-more span{transform:translateX(3px)}
.joeri-no-thumb{display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#222,#555);color:#fff;text-align:center;padding:20px;font-weight:800}

/* PAGINAÇÃO */
.joeri-pagination{display:flex;justify-content:center;margin:34px 0 0}
.joeri-pagination ul{list-style:none;display:flex;align-items:center;justify-content:center;gap:10px;margin:0;padding:0;flex-wrap:wrap}
.joeri-pagination .page-numbers{
  min-width:40px;height:40px;border:1px solid var(--joeri-border);border-radius:999px;background:#fff;
  display:inline-flex;align-items:center;justify-content:center;padding:0 12px;font-weight:800;color:#111827;box-shadow:0 4px 12px rgba(16,24,40,.05)
}
.joeri-pagination .page-numbers.current,.joeri-pagination .page-numbers:hover{background:#0b1220;color:#fff;border-color:#0b1220}

/* SIDEBAR E FORMULÁRIOS */
.content-with-sidebar{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:28px;align-items:start}
.sidebar-column{background:#f5f5f5;padding:0 0 20px;min-height:640px}
.joeri-sidebar-widget{background:#fff;margin:0 0 13px;border:1px solid var(--joeri-border);border-radius:0;overflow:hidden}
.joeri-sidebar-widget .widget-title{margin:0;background:var(--joeri-red);color:#fff;text-transform:uppercase;font-size:14px;line-height:1.2;padding:9px 12px;font-weight:900}
.joeri-sidebar-widget>div:not(.poll-box),.joeri-sidebar-widget select,.joeri-sidebar-widget ul{margin:12px}
.search-form{display:grid;grid-template-columns:1fr auto;gap:6px;align-items:center;width:100%}
.search-field{width:100%;height:38px;border:1px solid #c8ccd4;padding:0 10px;font-size:14px;outline:0;background:#fff;border-radius:0}
.search-field:focus{border-color:var(--joeri-red);box-shadow:0 0 0 3px rgba(223,0,0,.12)}
.search-submit,.button-link,input[type="submit"],button[type="submit"]{height:38px;background:var(--joeri-red);color:#fff;border:0;padding:0 14px;border-radius:2px;font-weight:800;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}
.search-submit:hover,.button-link:hover,input[type="submit"]:hover,button[type="submit"]:hover{background:var(--joeri-red-dark);color:#fff}
.widget_search_default{padding:0;border:0;background:transparent;margin:0 0 8px}.widget_search_default .search-form{padding:0}.widget_search_default .search-field{height:42px}.widget_search_default .search-submit{height:42px}
.poll-box{padding:20px 18px;text-align:center}.poll-box strong{display:block;margin-bottom:14px}.poll-line{margin:10px 0;text-align:left;font-size:13px}.poll-line span{display:block;margin-bottom:4px}.poll-line i{display:block;height:8px;background:var(--joeri-red);border-radius:999px}
.sidebar-ad-placeholder{height:240px;background:linear-gradient(135deg,#f8fafc,#e5e7eb);display:flex;align-items:center;justify-content:center;text-align:center;color:#64748b;font-weight:800;padding:18px}
.widget_archive_default select{width:calc(100% - 24px);height:38px;border:1px solid #c8ccd4;padding:0 8px;background:#fff}

/* FOOTER */
.site-footer{margin-top:42px;background:#000;color:#fff;text-align:center;padding:24px 18px 26px}
.footer-social{display:flex;align-items:center;justify-content:center;gap:8px;margin-bottom:10px}
.footer-copy{font-size:12px;color:#fff}.footer-copy a{color:#ff1e1e;font-weight:900}.footer-copy a:hover{color:#fff}

.archive-page-wrap,.page-layout{padding:18px 0 10px}.archive-header{margin:0 0 22px}.archive-header h1,.empty-state h1{font-size:34px;line-height:1.15;margin:0;color:#111827}.archive-description{color:#667085}.empty-state{background:#fff;border:1px solid var(--joeri-border);border-radius:14px;padding:34px;text-align:center;box-shadow:var(--joeri-shadow)}.button-link{margin-top:14px;text-decoration:none}

/* WordPress content defaults */
.alignwide{max-width:1180px}.alignfull{width:100vw;margin-left:calc(50% - 50vw);max-width:100vw}.wp-caption{max-width:100%}.wp-caption-text{color:#667085;font-size:13px;margin-top:6px}.sticky{outline:2px solid rgba(223,0,0,.12)}.bypostauthor{border-left:3px solid var(--joeri-red)}


/* ===== Ajustes solicitados - tipografia e responsividade ===== */
body,
button,
input,
select,
textarea{
  font-family:"Segoe UI", Arial, Helvetica, sans-serif;
}

h1,h2,h3,h4,h5,h6,
.single-title,
.post-card-title,
.featured-main-overlay h1,
.featured-side-body h2,
.archive-header h1,
.empty-state h1{
  font-family:"Segoe UI", Arial, Helvetica, sans-serif;
  font-weight:700;
}

.post-card-title{font-weight:700}
.post-card-excerpt{font-size:15px;line-height:1.55}

/* ==========================================================
   AJUSTE REFINADO 1.0.2 - CARDS E PAGINAÇÃO
   ========================================================== */
.posts-grid{
  align-items:stretch;
}
.posts-grid-3{
  grid-auto-rows:1fr;
}
.post-card{
  height:100%;
  display:flex;
  flex-direction:column;
  min-width:0;
}
.post-card-media{
  flex:0 0 auto;
  aspect-ratio:16/10;
  height:auto;
}
.post-card-media img,
.post-card-media .joeri-no-thumb{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}
.post-card-body{
  flex:1;
  display:flex;
  flex-direction:column;
}
.post-card-title{
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.post-card-excerpt{
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.read-more{
  margin-top:auto;
}

/* Paginação moderna e proporcional */
.joeri-pagination{
  display:flex;
  justify-content:center;
  align-items:center;
  margin:38px 0 4px;
}
.joeri-pagination ul.page-numbers{
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin:0;
  padding:8px;
  flex-wrap:wrap;
  background:#fff;
  border:1px solid #e6e8ee;
  border-radius:999px;
  box-shadow:0 16px 34px rgba(16,24,40,.10);
}
.joeri-pagination ul.page-numbers li{
  margin:0;
  padding:0;
  display:flex;
}
.joeri-pagination a.page-numbers,
.joeri-pagination span.page-numbers{
  min-width:42px;
  height:42px;
  padding:0 14px;
  border:1px solid transparent;
  border-radius:999px;
  background:transparent;
  color:#0f172a;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:14px;
  font-weight:800;
  line-height:1;
  box-shadow:none;
  transition:background .18s ease,color .18s ease,border-color .18s ease,transform .18s ease;
}
.joeri-pagination span.page-numbers.current{
  background:var(--joeri-red);
  color:#fff;
  border-color:var(--joeri-red);
  box-shadow:0 10px 22px rgba(223,0,0,.24);
}
.joeri-pagination a.page-numbers:hover{
  background:#0b1220;
  color:#fff;
  border-color:#0b1220;
  transform:translateY(-1px);
}
.joeri-pagination span.page-numbers.dots{
  min-width:34px;
  padding:0 8px;
  color:#64748b;
}
.joeri-pagination a.prev,
.joeri-pagination a.next{
  padding:0 18px;
  background:#f8fafc;
  border-color:#edf0f4;
}
.joeri-pagination ul.page-numbers:hover{
  background:#fff;
  color:inherit;
  border-color:#e6e8ee;
  box-shadow:0 16px 34px rgba(16,24,40,.10);
  transform:none;
}
.joeri-pagination span.page-numbers.dots:hover{
  background:transparent;
  color:#64748b;
  border-color:transparent;
  transform:none;
}
