/*
Theme Name: Juche Digital Archive WordPress Completo
Theme URI: https://juchedigital.local
Author: OpenAI conversion from Base44 export
Description: Frontend React/Vite integrado ao WordPress CMS via REST API.
Version: 4.14.33
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: juche-digital-archive
*/

/* Visualizador amplo das páginas individuais de Biblioteca/Publicações. */
.ceij-publication-viewer {
  display: block;
  width: 100% !important;
  height: 88vh !important;
  min-height: 820px !important;
  border: 0;
  background: #fff;
}

@media (max-width: 767px) {
  .ceij-publication-viewer {
    height: 72vh !important;
    min-height: 560px !important;
  }
}

@media (min-width: 1280px) {
  .ceij-featured-video-card {
    transform: translateX(-9rem);
  }
}
@media (min-width: 1600px) {
  .ceij-featured-video-card {
    transform: translateX(-18rem);
  }
}

/* Verbete editorial e interativo do Dicionário Filosófico. */
.ceij-dictionary-entry {
  position: relative;
  box-shadow: 0 8px 28px rgba(65, 18, 18, 0.04);
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.ceij-dictionary-entry:hover {
  border-color: rgba(153, 0, 0, .28);
  box-shadow: 0 14px 36px rgba(65, 18, 18, 0.08);
  transform: translateY(-1px);
}
.ceij-dictionary-entry.is-open {
  border-color: rgba(153, 0, 0, .32);
  box-shadow: 0 18px 48px rgba(65, 18, 18, 0.1);
}
.ceij-entry-accent {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: #990000;
  opacity: .22;
  transition: opacity .25s ease;
}
.ceij-dictionary-entry.is-open .ceij-entry-accent {
  opacity: 1;
}
.ceij-entry-initial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(153, 0, 0, .08);
  border: 1px solid rgba(153, 0, 0, .15);
  color: #990000;
  font: 700 1.15rem/1 "Libre Baskerville", Georgia, serif;
}
.ceij-entry-original {
  color: #8b6b6b;
  font: italic .82rem/1.4 "Libre Baskerville", Georgia, serif;
}
.ceij-entry-toggle {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  flex: 0 0 auto;
  color: #990000;
  font: 600 .72rem/1 "Inter", sans-serif;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.ceij-entry-reading {
  background: linear-gradient(180deg, rgba(153, 0, 0, .025), transparent 110px);
}
.ceij-entry-content {
  max-width: 76ch;
  font-size: 1.04rem;
  line-height: 1.85;
}
.ceij-entry-content p {
  display: block;
  margin: 0 0 1.35em !important;
}
.ceij-entry-content p:last-child {
  margin-bottom: 0 !important;
}
.ceij-entry-content strong {
  color: #3c1010;
  font-weight: 700;
}
.ceij-entry-content ul,
.ceij-entry-content ol {
  margin: 0 0 1.35em 1.4em;
}
.ceij-entry-content ul {
  list-style: disc;
}
.ceij-entry-content ol {
  list-style: decimal;
}
.ceij-entry-source {
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(153, 0, 0, .12);
  color: #806666;
  font: italic .78rem/1.5 "Inter", sans-serif;
}

/* Notas: preserva tamanho e alinhamento definidos no editor do WordPress. */
.ceij-note-content figure.wp-block-image,
.ceij-note-content .wp-block-image {
  max-width: 100%;
}
.ceij-note-content img {
  height: auto;
  max-width: 100%;
}
.ceij-note-content figure.aligncenter,
.ceij-note-content img.aligncenter {
  display: block;
  margin-left: auto !important;
  margin-right: auto !important;
}
.ceij-note-content figure.alignleft,
.ceij-note-content img.alignleft {
  float: left;
  margin: .4rem 1.5rem 1rem 0 !important;
}
.ceij-note-content figure.alignright,
.ceij-note-content img.alignright {
  float: right;
  margin: .4rem 0 1rem 1.5rem !important;
}
.ceij-note-content::after {
  content: "";
  display: table;
  clear: both;
}

/* Cards de livros: restringe o fallback do PDF à primeira página/capa.
   No Windows/Chrome o visualizador nativo de PDF pode desenhar barras de rolagem
   dentro do iframe mesmo com scrollbar=0. Aumentamos discretamente o iframe
   e deixamos o contêiner do card recortar as bordas direita/inferior, ocultando
   essas barras sem alterar a proporção visual da capa. */
.ceij-book-cover-frame {
  display: block;
  width: calc(100% + 24px) !important;
  height: calc(100% + 24px) !important;
  max-width: none !important;
  margin-right: -24px;
  margin-bottom: -24px;
  overflow: hidden !important;
  scrollbar-width: none;
}
.ceij-book-cover-frame::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* Correção consolidada: remover a faixa branca da página inicial */
body.home main.flex-1,
body.blog main.flex-1 {
  padding-top: 5rem !important;
}

/* Página individual da Biblioteca: padrão editorial das demais seções */
#ceij-library-detail {
  background: #fff;
  color: #3f2929;
}
#ceij-library-detail .ceij-library-hero {
  background: #990000;
  padding: 3rem 1.5rem;
}
#ceij-library-detail .ceij-library-hero-inner,
#ceij-library-detail .ceij-library-main {
  width: min(100% - 2rem, 1120px);
  margin-inline: auto;
}
#ceij-library-detail .ceij-library-back {
  display: inline-block;
  margin-bottom: 1.25rem;
  color: rgba(255,255,255,.72);
  text-decoration: none;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
#ceij-library-detail .ceij-library-title {
  margin: 0;
  color: #fff;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.15;
  font-weight: 700;
}
#ceij-library-detail .ceij-library-author {
  margin-top: 1rem;
  color: rgba(255,255,255,.7);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
#ceij-library-detail .ceij-library-main {
  padding-block: 3rem 5rem;
}
#ceij-library-detail .ceij-library-cover {
  display: block;
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  margin: 0 auto 2.5rem;
  border-radius: .55rem;
  background: #f5f1f1;
}
#ceij-library-detail .ceij-library-copy {
  max-width: 900px;
  margin-inline: auto;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.08rem;
  line-height: 1.85;
  color: #4a3535;
}
#ceij-library-detail .ceij-library-copy p {
  margin: 0 0 1.5rem !important;
  font: inherit !important;
  line-height: inherit !important;
}
#ceij-library-detail .ceij-library-copy h1,
#ceij-library-detail .ceij-library-copy h2,
#ceij-library-detail .ceij-library-copy h3 {
  font-family: "Libre Baskerville", Georgia, serif;
  line-height: 1.3;
  margin: 2.25rem 0 1rem;
}
#ceij-library-detail .ceij-library-copy img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 2rem auto;
  border-radius: .5rem;
}
#ceij-library-detail .ceij-library-viewer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e3d7d7;
}
#ceij-library-detail .ceij-library-viewer h2 {
  margin: 0 0 1.25rem;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.6rem;
  color: #341c1c;
}
#ceij-library-detail .ceij-library-frame {
  width: 100%;
  height: min(78vh, 900px);
  min-height: 640px;
  border: 1px solid #d9cccc;
  border-radius: .55rem;
  background: #f3efef;
}
#ceij-library-detail .ceij-library-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.1rem;
}
#ceij-library-detail .ceij-library-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .8rem 1.15rem;
  border-radius: .4rem;
  border: 1px solid #990000;
  color: #990000;
  background: #fff;
  text-decoration: none;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 600;
}
#ceij-library-detail .ceij-library-button.primary {
  color: #fff;
  background: #990000;
}
@media (max-width: 767px) {
  #ceij-library-detail .ceij-library-frame {
    min-height: 520px;
    height: 70vh;
  }
  #ceij-library-detail .ceij-library-copy {
    font-size: 1rem;
  }
}

/* ==============================================================
   PÁGINA INICIAL — ÁREA DE NOTÍCIAS MAIS LARGA
   Amplia apenas os contêineres que ficam dentro de <main> na home.
   O cabeçalho, o menu e as páginas internas permanecem inalterados.
   ============================================================== */
@media (min-width: 1024px) {
  body.home #root main.flex-1 .max-w-7xl,
  body.blog #root main.flex-1 .max-w-7xl {
    width: calc(100vw - 4rem) !important;
    max-width: 96rem !important; /* 1536 px */
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* As colunas e os cards aproveitam integralmente a nova largura. */
  body.home #root main.flex-1 .grid,
  body.blog #root main.flex-1 .grid {
    width: 100% !important;
    max-width: none !important;
  }

  body.home #root main.flex-1 article,
  body.home #root main.flex-1 article img,
  body.blog #root main.flex-1 article,
  body.blog #root main.flex-1 article img {
    max-width: none !important;
  }

  body.home #root main.flex-1 article img,
  body.blog #root main.flex-1 article img {
    width: 100% !important;
  }
}

@media (min-width: 1600px) {
  body.home #root main.flex-1 .max-w-7xl,
  body.blog #root main.flex-1 .max-w-7xl {
    width: calc(100vw - 5rem) !important;
    max-width: 103rem !important; /* 1648 px */
  }
}

@media (max-width: 1023px) {
  body.home #root main.flex-1 .max-w-7xl,
  body.blog #root main.flex-1 .max-w-7xl {
    width: calc(100% - 2rem) !important;
  }
}

/* ============================================================
   CEIJ-BR — Nova arte da capa principal (v4.3.0)
   ============================================================ */
body.home main section.relative.min-h-\[75vh\],
body.blog main section.relative.min-h-\[75vh\] {
  min-height: 80vh !important;
  isolation: isolate;
}

/* Imagem e sobreposições combinadas: gradiente horizontal + vertical. */
body.home main section.relative.min-h-\[75vh\] > .absolute.inset-0 > .absolute.inset-0,
body.blog main section.relative.min-h-\[75vh\] > .absolute.inset-0 > .absolute.inset-0 {
  background:
    linear-gradient(180deg, rgba(0,0,0,.10) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,.70) 100%),
    linear-gradient(90deg, rgba(139,26,26,.95) 0%, rgba(139,26,26,.75) 50%, rgba(139,26,26,.30) 100%) !important;
}

/* Grid da capa. */
body.home main section.relative.min-h-\[75vh\] > .relative.w-full,
body.blog main section.relative.min-h-\[75vh\] > .relative.w-full {
  padding-top: 5.5rem !important;
  padding-bottom: 5rem !important;
}
body.home main section.relative.min-h-\[75vh\] > .relative.w-full > div,
body.blog main section.relative.min-h-\[75vh\] > .relative.w-full > div {
  width: min(1180px, calc(100% - 3rem));
  margin-inline: auto;
  gap: 4rem !important;
}

/* Coluna esquerda: tudo centralizado. */
body.home main section.relative.min-h-\[75vh\] .lg\:col-span-3,
body.blog main section.relative.min-h-\[75vh\] .lg\:col-span-3 {
  align-items: center !important;
  text-align: center !important;
}

/* Logo isolado e ampliado. */
body.home main section.relative.min-h-\[75vh\] .lg\:col-span-3 > img,
body.blog main section.relative.min-h-\[75vh\] .lg\:col-span-3 > img {
  width: 176px !important;
  height: 176px !important;
  margin: 0 auto 2rem !important;
  filter: drop-shadow(0 22px 30px rgba(0,0,0,.45)) drop-shadow(0 7px 12px rgba(0,0,0,.35));
}

/* Descrição. */
body.home main section.relative.min-h-\[75vh\] .lg\:col-span-3 > p,
body.blog main section.relative.min-h-\[75vh\] .lg\:col-span-3 > p {
  max-width: 36rem !important;
  margin: 0 auto 2.5rem !important;
  color: rgba(255,255,255,.75) !important;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 1rem !important;
  line-height: 1.8 !important;
  text-align: center !important;
}

/* Botões colados, retilíneos e centralizados. */
body.home main section.relative.min-h-\[75vh\] .lg\:col-span-3 > div.flex,
body.blog main section.relative.min-h-\[75vh\] .lg\:col-span-3 > div.flex {
  gap: 0 !important;
  justify-content: center !important;
}
body.home main section.relative.min-h-\[75vh\] .lg\:col-span-3 a[href="/sobre"],
body.home main section.relative.min-h-\[75vh\] .lg\:col-span-3 a[href="/biblioteca"],
body.blog main section.relative.min-h-\[75vh\] .lg\:col-span-3 a[href="/sobre"],
body.blog main section.relative.min-h-\[75vh\] .lg\:col-span-3 a[href="/biblioteca"] {
  height: 56px !important;
  border-radius: 0 !important;
  padding-inline: 24px !important;
  gap: .65rem !important;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: .78rem !important;
  font-weight: 800 !important;
  letter-spacing: .10em !important;
  text-transform: uppercase !important;
}
body.home main section.relative.min-h-\[75vh\] .lg\:col-span-3 a[href="/sobre"],
body.blog main section.relative.min-h-\[75vh\] .lg\:col-span-3 a[href="/sobre"] {
  background: #fff !important;
  border: 1px solid #fff !important;
  color: #8b1a1a !important;
}
body.home main section.relative.min-h-\[75vh\] .lg\:col-span-3 a[href="/sobre"]:hover,
body.blog main section.relative.min-h-\[75vh\] .lg\:col-span-3 a[href="/sobre"]:hover {
  background: rgba(255,255,255,.90) !important;
}
body.home main section.relative.min-h-\[75vh\] .lg\:col-span-3 a[href="/biblioteca"],
body.blog main section.relative.min-h-\[75vh\] .lg\:col-span-3 a[href="/biblioteca"] {
  background: #8b1a1a !important;
  border: 1px solid rgba(255,255,255,.95) !important;
  color: #fff !important;
}
body.home main section.relative.min-h-\[75vh\] .lg\:col-span-3 a[href="/biblioteca"]:hover,
body.blog main section.relative.min-h-\[75vh\] .lg\:col-span-3 a[href="/biblioteca"]:hover {
  background: #a31919 !important;
}

/* Card NOTAS. */
body.home main section.relative.min-h-\[75vh\] .lg\:col-span-2 > div,
body.blog main section.relative.min-h-\[75vh\] .lg\:col-span-2 > div {
  background: rgba(0,0,0,.40) !important;
  border: 1px solid rgba(255,255,255,.30) !important;
  border-radius: 0 !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  overflow: hidden;
  padding-top: 0 !important;
}
body.home main section.relative.min-h-\[75vh\] .lg\:col-span-2 h3,
body.blog main section.relative.min-h-\[75vh\] .lg\:col-span-2 h3 {
  min-height: 48px;
  margin: 0 -1.5rem 0 !important;
  padding: 0 1.25rem !important;
  background: #fff !important;
  color: #8b1a1a !important;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: .82rem !important;
  font-weight: 800 !important;
  letter-spacing: .12em !important;
  display: flex !important;
  align-items: center !important;
}
body.home main section.relative.min-h-\[75vh\] .lg\:col-span-2 h3 > div,
body.blog main section.relative.min-h-\[75vh\] .lg\:col-span-2 h3 > div {
  background: #8b1a1a !important;
}
body.home main section.relative.min-h-\[75vh\] .lg\:col-span-2 h3 + div,
body.blog main section.relative.min-h-\[75vh\] .lg\:col-span-2 h3 + div {
  margin-top: 0 !important;
  padding-top: .15rem;
}
body.home main section.relative.min-h-\[75vh\] .lg\:col-span-2 h3 + div > *,
body.blog main section.relative.min-h-\[75vh\] .lg\:col-span-2 h3 + div > * {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
  border-color: rgba(255,255,255,.10) !important;
}
body.home main section.relative.min-h-\[75vh\] .lg\:col-span-2 p,
body.blog main section.relative.min-h-\[75vh\] .lg\:col-span-2 p {
  color: rgba(255,255,255,.85) !important;
}
body.home main section.relative.min-h-\[75vh\] .lg\:col-span-2 .group:hover p,
body.blog main section.relative.min-h-\[75vh\] .lg\:col-span-2 .group:hover p {
  color: #fff !important;
}
body.home main section.relative.min-h-\[75vh\] .lg\:col-span-2 span.text-xs,
body.blog main section.relative.min-h-\[75vh\] .lg\:col-span-2 span.text-xs {
  color: rgba(255,255,255,.70) !important;
}

/* Faixa acadêmica inferior inserida logo após a capa. */
.ceij-portal-strip{background:#18181b;color:#fff;}
.ceij-portal-strip-inner{width:min(1180px,calc(100% - 3rem));min-height:96px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:2rem;padding:1.25rem 0;}
.ceij-portal-identity{display:flex;align-items:center;gap:1rem;}
.ceij-portal-bar{display:block;width:4px;height:48px;background:#b91c1c;}
.ceij-portal-kicker{color:#d4d4d8;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:.72rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;}
.ceij-portal-name{margin-top:.2rem;color:#fff;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:1rem;font-weight:700;}
.ceij-portal-markers{display:flex;align-items:center;justify-content:flex-end;gap:1.8rem;flex-wrap:wrap;}
.ceij-portal-marker{display:inline-flex;align-items:center;gap:.55rem;color:#d4d4d8;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:.7rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;}
.ceij-portal-marker i{width:6px;height:6px;background:#b91c1c;border-radius:50%;display:inline-block;}

@media (min-width:1024px){
  body.home main section.relative.min-h-\[75vh\] .lg\:col-span-3 > img,
  body.blog main section.relative.min-h-\[75vh\] .lg\:col-span-3 > img {width:224px!important;height:224px!important;}
  body.home main section.relative.min-h-\[75vh\] .lg\:col-span-3 > p,
  body.blog main section.relative.min-h-\[75vh\] .lg\:col-span-3 > p {font-size:1.125rem!important;}
}
@media (max-width:1023px){
  .ceij-portal-strip-inner{align-items:flex-start;flex-direction:column;}
  .ceij-portal-markers{justify-content:flex-start;gap:1rem 1.4rem;}
}
@media (max-width:640px){
  body.home main section.relative.min-h-\[75vh\] > .relative.w-full > div,
  body.blog main section.relative.min-h-\[75vh\] > .relative.w-full > div {width:min(100% - 2rem,1180px);}
  body.home main section.relative.min-h-\[75vh\] .lg\:col-span-3 > div.flex,
  body.blog main section.relative.min-h-\[75vh\] .lg\:col-span-3 > div.flex {width:100%;}
  body.home main section.relative.min-h-\[75vh\] .lg\:col-span-3 a[href="/sobre"],
  body.home main section.relative.min-h-\[75vh\] .lg\:col-span-3 a[href="/biblioteca"],
  body.blog main section.relative.min-h-\[75vh\] .lg\:col-span-3 a[href="/sobre"],
  body.blog main section.relative.min-h-\[75vh\] .lg\:col-span-3 a[href="/biblioteca"] {flex:1 1 100%;width:100%;}
  .ceij-portal-strip-inner{width:min(100% - 2rem,1180px);}
}

/* CEIJ-BR — capa final 2026-08 */
.ceij-final-hero .ceij-hero-gradient-h{background:linear-gradient(90deg,rgba(139,26,26,.95) 0%,rgba(139,26,26,.75) 50%,rgba(139,26,26,.30) 100%)}
.ceij-final-hero .ceij-hero-gradient-v{background:linear-gradient(180deg,rgba(0,0,0,.10) 0%,rgba(0,0,0,0) 50%,rgba(0,0,0,.70) 100%)}
.ceij-final-hero .ceij-hero-diagonal{height:.6rem;background:#fff;clip-path:polygon(0 0,100% 0,100% .32rem,0 .6rem);z-index:2;pointer-events:none}
.ceij-final-hero .ceij-hero-btn{border-radius:0!important;min-width:230px}
.ceij-final-hero .ceij-hero-btn-light{border:1px solid #fff}
.ceij-notes-card{box-shadow:0 20px 50px rgba(0,0,0,.25)}
.ceij-notes-head>div{background:#8b1a1a!important}
.ceij-notes-list>a,.ceij-notes-list>div{padding-top:1rem!important;padding-bottom:1rem!important}
.ceij-academic-strip{position:relative;z-index:10}
@media (max-width:1023px){.ceij-final-hero .ceij-hero-btn{min-width:0;flex:1 1 220px}.ceij-final-hero{min-height:80vh}}

/* CEIJ-BR — ajuste visual da capa conforme referência final */
@media (min-width:1024px){
  .ceij-final-hero{min-height:calc(100vh - 5rem)!important;}
  .ceij-final-hero > .relative.w-full{padding-top:5.5rem!important;padding-bottom:5.5rem!important;}
  .ceij-final-hero > .relative.w-full > div{max-width:1280px!important;margin-left:auto!important;margin-right:auto!important;gap:6rem!important;}
  .ceij-final-hero .lg\:col-span-3{align-items:center!important;}
  .ceij-final-hero .lg\:col-span-3 > img{width:256px!important;height:256px!important;margin-bottom:3rem!important;}
  .ceij-final-hero .lg\:col-span-2{width:100%!important;}
  .ceij-notes-card{max-width:470px!important;margin-left:auto!important;}
}
.ceij-final-hero .ceij-hero-btn{height:56px!important;}
.ceij-final-hero .ceij-hero-btn-light{min-width:290px!important;}
.ceij-final-hero .ceij-hero-btn-dark{min-width:290px!important;}

/* ============================================================
   CAPA CEIJ-BR — valores finais exatos fornecidos pelo usuário
   NÃO ALTERAR cores, tamanhos ou espaçamentos deste bloco.
   ============================================================ */
.ceij-final-hero {
  position: relative !important;
  min-height: 80vh !important;
  display: flex !important;
  align-items: center !important;
  overflow: hidden !important;
}
.ceij-final-hero > .absolute.inset-0 { position:absolute!important; inset:0!important; }
.ceij-final-hero > .absolute.inset-0 > img { width:100%!important; height:100%!important; object-fit:cover!important; }
.ceij-final-hero .ceij-hero-gradient-h {
  position:absolute!important; inset:0!important;
  background: linear-gradient(to right,
    rgba(138, 0, 0, 0.95) 0%,
    rgba(138, 0, 0, 0.75) 50%,
    rgba(138, 0, 0, 0.30) 100%) !important;
}
.ceij-final-hero .ceij-hero-gradient-v {
  position:absolute!important; inset:0!important;
  background: linear-gradient(to top,
    rgba(0,0,0,0.70) 0%,
    transparent 50%,
    rgba(0,0,0,0.10) 100%) !important;
}
.ceij-final-hero .ceij-hero-diagonal {
  position:absolute!important; top:0!important; left:0!important; right:0!important; z-index:10!important;
  pointer-events:none!important; background:#ffffff!important; height:1px!important;
  clip-path: polygon(0 0, 100% 0, 100% 5.12px, 0 9.6px) !important;
}
.ceij-final-hero > .relative.w-full {
  position:relative!important;
  width:100%!important;
  padding-top:80px!important;
  padding-bottom:80px!important;
}
.ceij-final-hero > .relative.w-full > div {
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
  display:flex!important;
  flex-direction:column!important;
  gap:48px!important;
  align-items:center!important;
  justify-content:center!important;
  padding-left:16px!important;
  padding-right:16px!important;
}
@media (min-width:1024px) {
  .ceij-final-hero > .relative.w-full > div {
    display:grid!important;
    grid-template-columns:3fr 2fr!important;
    gap:48px!important;
    padding-left:24px!important;
    padding-right:24px!important;
  }
}
.ceij-final-hero .lg\:col-span-3 {
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  text-align:center!important;
}
.ceij-final-hero .lg\:col-span-3 > img {
  width:208px!important;
  height:208px!important;
  object-fit:contain!important;
  filter:drop-shadow(0 25px 50px rgba(0,0,0,0.6))!important;
  flex-shrink:0!important;
  margin-bottom:48px!important;
}
@media (min-width:1024px) {
  .ceij-final-hero .lg\:col-span-3 > img { width:256px!important; height:256px!important; }
}
.ceij-final-hero .lg\:col-span-3 > div.flex {
  display:flex!important;
  flex-wrap:wrap!important;
  gap:0!important;
  justify-content:center!important;
}
.ceij-final-hero .ceij-hero-btn {
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  height:56px!important;
  min-width:0!important;
  padding:0 24px!important;
  font-family:'Inter',sans-serif!important;
  font-weight:700!important;
  font-size:14px!important;
  text-transform:uppercase!important;
  letter-spacing:.05em!important;
  transition:background-color .2s!important;
  text-decoration:none!important;
  border-radius:0!important;
}
.ceij-final-hero .ceij-hero-btn-light {
  background:#ffffff!important;
  color:#8A0000!important;
  border:0!important;
  box-shadow:none!important;
}
.ceij-final-hero .ceij-hero-btn-light:hover { background:rgba(255,255,255,.90)!important; }
.ceij-final-hero .ceij-hero-btn-dark {
  background:#8A0000!important;
  color:#ffffff!important;
  border:0!important;
  box-shadow:inset 0 0 0 1px #ffffff!important;
}
.ceij-final-hero .ceij-hero-btn-dark:hover { background:#B30000!important; }
.ceij-final-hero .ceij-notes-card {
  display:none!important;
  backdrop-filter:blur(16px)!important;
  -webkit-backdrop-filter:blur(16px)!important;
  background:rgba(0,0,0,.40)!important;
  border:1px solid rgba(255,255,255,.30)!important;
  border-radius:0!important;
  box-shadow:none!important;
  padding:0!important;
  overflow:hidden!important;
  max-width:none!important;
  margin-left:0!important;
}
@media (min-width:1024px) { .ceij-final-hero .ceij-notes-card { display:block!important; } }
.ceij-final-hero .ceij-notes-head {
  background:#ffffff!important;
  color:#8A0000!important;
  padding:8px 20px!important;
  min-height:0!important;
  margin:0!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  font-family:'Inter',sans-serif!important;
  font-weight:700!important;
  font-size:12px!important;
  text-transform:uppercase!important;
  letter-spacing:.05em!important;
}
.ceij-final-hero .ceij-notes-head > div {
  width:6px!important; height:6px!important; border-radius:50%!important; background:#8A0000!important;
}
.ceij-final-hero .ceij-notes-list {
  padding:16px 20px!important;
  display:flex!important;
  flex-direction:column!important;
  gap:12px!important;
}
.ceij-final-hero .ceij-notes-list > a,
.ceij-final-hero .ceij-notes-list > div {
  display:block!important;
  padding-top:0!important;
  padding-bottom:12px!important;
  border-bottom:1px solid rgba(255,255,255,.10)!important;
  text-decoration:none!important;
  margin:0!important;
}
.ceij-final-hero .ceij-notes-list > :last-child { border-bottom:0!important; padding-bottom:0!important; }
.ceij-final-hero .ceij-notes-list p {
  font-family:'Inter',sans-serif!important;
  font-size:14px!important;
  color:rgba(255,255,255,.85)!important;
  line-height:1.3!important;
  margin:0!important;
  transition:color .2s!important;
}
.ceij-final-hero .ceij-notes-list > a:hover p,
.ceij-final-hero .ceij-notes-list > div:hover p { color:#ffffff!important; }
.ceij-final-hero .ceij-notes-list span {
  display:block!important;
  margin-top:4px!important;
  font-family:'Inter',sans-serif!important;
  font-weight:600!important;
  font-size:12px!important;
  color:rgba(255,255,255,.70)!important;
}
.ceij-final-hero > .absolute.bottom-0 {
  position:absolute!important; bottom:0!important; left:0!important; right:0!important;
  height:96px!important;
  background:linear-gradient(to top,rgba(0,0,0,.60),transparent)!important;
}
.ceij-academic-strip {
  background:#18181b!important;
  padding:24px 16px!important;
}
@media (min-width:640px) { .ceij-academic-strip { padding:24px 24px!important; } }
.ceij-academic-strip > div {
  max-width:1280px!important;
  margin:0 auto!important;
  padding:0!important;
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:16px!important;
}
.ceij-academic-strip > div > div:first-child { display:flex!important; align-items:center!important; gap:12px!important; }
.ceij-academic-strip > div > div:first-child > div:first-child {
  width:4px!important; height:32px!important; background:#8A0000!important; border-radius:9999px!important;
}
.ceij-academic-strip > div > div:first-child > div:last-child > div:first-child {
  font-family:'Inter',sans-serif!important; font-size:12px!important; color:rgba(255,255,255,.50)!important;
  text-transform:uppercase!important; letter-spacing:.1em!important; margin:0!important; font-weight:400!important;
}
.ceij-academic-strip > div > div:first-child > div:last-child > div:last-child {
  font-family:'Libre Baskerville',Georgia,serif!important; font-size:14px!important; font-weight:700!important; color:#ffffff!important; margin:0!important;
}
.ceij-academic-strip > div > div:last-child {
  display:flex!important; align-items:center!important; gap:24px!important;
  font-family:'Inter',sans-serif!important; font-size:12px!important; color:rgba(255,255,255,.40)!important;
  text-transform:uppercase!important; letter-spacing:.05em!important;
}
.ceij-academic-strip > div > div:last-child > span { display:flex!important; align-items:center!important; gap:6px!important; color:rgba(255,255,255,.40)!important; }
.ceij-academic-strip > div > div:last-child > span > span {
  display:inline-block!important; width:6px!important; height:6px!important; border-radius:50%!important; background:rgba(138,0,0,.60)!important;
}

/* CEIJ-BR — correção definitiva da posição do card NOTAS (desktop)
   Mantém todos os valores visuais da capa; altera apenas o posicionamento. */
@media (min-width:1024px) {
  .ceij-final-hero > .relative.w-full {
    position: relative !important;
  }
  .ceij-final-hero > .relative.w-full > div {
    position: relative !important;
    display: block !important;
    min-height: 560px !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
  .ceij-final-hero .lg\:col-span-3 {
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 60% !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
  .ceij-final-hero .lg\:col-span-2 {
    display: block !important;
    position: absolute !important;
    right: 24px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: calc(40% - 48px) !important;
    max-width: 570px !important;
    margin: 0 !important;
  }
  .ceij-final-hero .ceij-notes-card {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }
}

/* CEIJ-BR — layout editorial mais contido em telas largas
   Cria margens laterais brancas maiores e reduz discretamente a escala visual
   do conteúdo, sem alterar a capa principal. */
@media (min-width: 1280px) {
  /* Contêineres principais do site */
  .max-w-7xl {
    max-width: 1180px !important;
  }

  /* Mais respiro nas laterais em desktops largos */
  .max-w-7xl.mx-auto.px-4,
  .max-w-7xl.mx-auto.px-4.sm\:px-6 {
    padding-left: 32px !important;
    padding-right: 32px !important;
  }

  /* Destaque principal de notícias da home: ligeiramente mais compacto */
  section.bg-white.py-14 .grid.lg\:grid-cols-2 {
    column-gap: 0 !important;
  }
  section.bg-white.py-14 h2.font-heading {
    font-size: 1.75rem !important;
    line-height: 1.18 !important;
  }
  section.bg-white.py-14 h4.font-heading {
    font-size: 0.95rem !important;
    line-height: 1.28 !important;
  }
  section.bg-white.py-14 .lg\:pr-10 {
    padding-right: 32px !important;
  }
  section.bg-white.py-14 .lg\:pl-10 {
    padding-left: 32px !important;
  }
}

/* Em monitores muito largos, reforça a sensação de página editorial centralizada. */
@media (min-width: 1600px) {
  .max-w-7xl {
    max-width: 1160px !important;
  }
}

/* CEIJ-BR — ajuste fino do card NOTAS na capa (2026-08-17)
   Move discretamente o bloco para a esquerda em desktop, sem alterar seu tamanho. */
@media (min-width: 1024px) {
  .ceij-final-hero .lg\:col-span-2 {
    right: 48px !important;
  }
}
@media (min-width: 1280px) {
  .ceij-final-hero .lg\:col-span-2 {
    right: 72px !important;
  }
}

/* CEIJ-BR v4.11.9 — tipografia serifada para conteúdo de leitura.
   Elementos de interface (menus, botões, datas, badges, busca etc.) permanecem inalterados. */
.ceij-entry-content,
#ceij-library-detail .ceij-library-copy,
.ceij-article-body,
.entry-content,
.post-content,
.wp-block-post-content {
  font-family: "Libre Baskerville", Georgia, serif !important;
}


/* CEIJ-BR v4.11.10 — correção efetiva da tipografia dos conteúdos renderizados.
   O componente React de conteúdo usa .wp-content; esta regra atua somente sobre
   elementos de leitura e não altera menu, botões, datas, badges, busca ou sidebar. */
.wp-content > p,
.wp-content p,
.wp-content ul,
.wp-content ol,
.wp-content li,
.wp-content blockquote,
.wp-content figcaption,
.wp-content table,
.wp-content td,
.wp-content th,
.ceij-entry-content p,
.ceij-entry-content ul,
.ceij-entry-content ol,
.ceij-entry-content li,
.ceij-note-content p,
.ceij-note-content ul,
.ceij-note-content ol,
.ceij-note-content li {
  font-family: "Libre Baskerville", Georgia, "Times New Roman", serif !important;
}


/* CEIJ-BR v4.11.29 — exibe o card NOTAS também na capa mobile/tablet.
   No desktop, o posicionamento permanece exatamente como antes. */
@media (max-width: 1023px) {
  /* O componente React usa `hidden lg:block`; esta regra libera a coluna no mobile. */
  .ceij-final-hero .lg\:col-span-2.hidden {
    display: block !important;
    position: static !important;
    width: 100% !important;
    max-width: 620px !important;
    transform: none !important;
    margin: 1.75rem auto 0 !important;
  }

  .ceij-final-hero .ceij-notes-card {
    display: block !important;
    width: 100% !important;
    max-width: 620px !important;
    margin: 0 auto !important;
  }

  .ceij-final-hero .ceij-notes-head {
    padding: 11px 16px !important;
    font-size: 12px !important;
  }

  .ceij-final-hero .ceij-notes-list {
    padding: 14px 16px !important;
    gap: 10px !important;
  }

  .ceij-final-hero .ceij-notes-list p {
    font-size: 13px !important;
    line-height: 1.38 !important;
  }

  .ceij-final-hero .ceij-notes-list span {
    font-size: 11px !important;
  }
}

@media (max-width: 640px) {
  .ceij-final-hero > .relative.w-full {
    padding-top: 4.5rem !important;
    padding-bottom: 4.5rem !important;
  }

  .ceij-final-hero .lg\:col-span-2.hidden {
    margin-top: 1.5rem !important;
  }

  .ceij-final-hero .ceij-notes-card {
    max-width: none !important;
  }
}


/* CEIJ-BR v4.11.30 — padronização do espaçamento do corpo das Notas.
   Usa a mesma cadência editorial das demais áreas de leitura do Tema. */
.ceij-note-content p {
  display: block;
  margin-top: 0 !important;
  margin-bottom: 1.35em !important;
}
.ceij-note-content p:last-child {
  margin-bottom: 0 !important;
}
.ceij-note-content p:empty {
  display: none !important;
  margin: 0 !important;
}
/* Parágrafos vazios exportados pelo editor como apenas <br> não devem criar vãos extras. */
@supports selector(p:has(> br:only-child)) {
  .ceij-note-content p:has(> br:only-child) {
    display: none !important;
    margin: 0 !important;
  }
}
.ceij-note-content ul,
.ceij-note-content ol {
  margin-top: 0 !important;
  margin-bottom: 1.35em !important;
}
.ceij-note-content blockquote {
  margin-top: 1.35em !important;
  margin-bottom: 1.35em !important;
}


/* CEIJ-BR v4.12.1 — Home: remove o vazio excessivo abaixo da notícia principal.
   A coluna de recentes deixa de forçar a altura da coluna de destaque. */
@media (min-width:1024px){
  .ceij-home-news-grid{align-items:start!important;}
  .ceij-home-news-main{align-self:start!important;}
  .ceij-home-news-latest{height:auto!important;}
  .ceij-home-news-latest-list{height:auto!important;}
  .ceij-home-news-latest-item{flex:none!important;}
}


/* CEIJ-BR v4.12.2 — Home: balanceamento real das duas colunas de notícias em desktop.
   A coluna "Mais recentes" passa a ocupar exatamente a altura visual do destaque,
   eliminando o grande vazio abaixo da notícia principal em zoom 100% do Chrome. */
@media (min-width:1024px){
  .ceij-home-news-grid{
    align-items:stretch!important;
  }
  .ceij-home-news-main{
    align-self:stretch!important;
  }
  .ceij-home-news-latest{
    align-self:stretch!important;
    min-height:0!important;
    overflow:hidden!important;
  }
  .ceij-home-news-latest-list{
    height:100%!important;
    min-height:0!important;
    display:flex!important;
    flex-direction:column!important;
  }
  .ceij-home-news-latest-item{
    flex:1 1 0!important;
    min-height:0!important;
    overflow:hidden!important;
    padding-top:.75rem!important;
    padding-bottom:.75rem!important;
  }
  .ceij-home-news-latest-item:first-child{
    padding-top:0!important;
  }
  .ceij-home-news-latest-item > div:first-child{
    max-height:96px!important;
  }
  .ceij-home-news-latest-item p{
    -webkit-line-clamp:1!important;
  }
  /* reduz a folga inferior da própria seção; as seções seguintes já têm padding próprio */
  .ceij-home-news-section{
    padding-bottom:1.5rem!important;
  }
}


/* =========================================================
   CEIJ-BR 4.14.0 — Matérias em destaque / capa editorial
   ========================================================= */
.ceij-featured-editorial {
  background: #fff;
  padding: 54px 0 14px;
}
.ceij-featured-editorial-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.ceij-featured-editorial-heading {
  display: flex;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 22px;
}
.ceij-featured-editorial-heading > div {
  flex: 0 0 auto;
}
.ceij-featured-kicker {
  display: block;
  margin-bottom: 3px;
  font-family: Inter, Arial, sans-serif;
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
  color: #8A0000;
}
.ceij-featured-editorial-heading h2 {
  margin: 0;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 27px;
  line-height: 1.2;
  font-weight: 700;
  color: #211414;
}
.ceij-featured-rule {
  height: 1px;
  background: #d9cece;
  flex: 1 1 auto;
  margin-bottom: 7px;
}
.ceij-featured-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(300px, .85fr);
  min-height: 470px;
  border: 1px solid #ded4d4;
  background: #210303;
}
.ceij-featured-layout.only-main {
  grid-template-columns: 1fr;
  min-height: 470px;
}
.ceij-featured-main {
  position: relative;
  display: block;
  min-height: 470px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background: #300505;
}
.ceij-featured-main-media,
.ceij-featured-main-shade {
  position: absolute;
  inset: 0;
}
.ceij-featured-main-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
}
.ceij-featured-main:hover .ceij-featured-main-media img {
  transform: scale(1.025);
}
.ceij-featured-main-shade {
  background:
    linear-gradient(90deg, rgba(25,0,0,.94) 0%, rgba(40,0,0,.74) 42%, rgba(25,0,0,.18) 78%),
    linear-gradient(0deg, rgba(15,0,0,.82) 0%, rgba(15,0,0,.06) 62%);
}
.ceij-featured-main-copy {
  position: absolute;
  z-index: 2;
  left: 42px;
  right: 42px;
  bottom: 38px;
  max-width: 780px;
}
.ceij-featured-meta {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 13px;
  font-family: Inter, Arial, sans-serif;
  font-size: 10px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
}
.ceij-featured-badge {
  display: inline-block;
  padding: 7px 10px 6px;
  background: #8A0000;
  color: #fff;
  font-weight: 700;
}
.ceij-featured-main h3 {
  margin: 0;
  max-width: 760px;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(29px, 3vw, 45px);
  line-height: 1.12;
  font-weight: 700;
  color: #fff;
}
.ceij-featured-main-copy p {
  max-width: 700px;
  margin: 15px 0 0;
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.58;
  color: rgba(255,255,255,.79);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ceij-featured-read {
  display: inline-block;
  margin-top: 21px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(255,255,255,.8);
  font-family: Inter, Arial, sans-serif;
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-weight: 700;
  color: #fff;
}
.ceij-featured-read b {
  margin-left: 5px;
  font-size: 13px;
}
.ceij-featured-secondary-list {
  display: grid;
  grid-template-rows: repeat(2, minmax(0,1fr));
  border-left: 1px solid rgba(255,255,255,.18);
  background: #310707;
}
.ceij-featured-secondary {
  min-height: 0;
  display: grid;
  grid-template-columns: 42% 58%;
  text-decoration: none;
  color: #fff;
  overflow: hidden;
}
.ceij-featured-secondary + .ceij-featured-secondary {
  border-top: 1px solid rgba(255,255,255,.18);
}
.ceij-featured-secondary-media {
  min-height: 100%;
  background: #230303;
  overflow: hidden;
}
.ceij-featured-secondary-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.ceij-featured-secondary:hover .ceij-featured-secondary-media img {
  transform: scale(1.035);
}
.ceij-featured-secondary-copy {
  padding: 25px 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ceij-featured-type {
  margin-bottom: 7px;
  font-family: Inter, Arial, sans-serif;
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 700;
  color: #e2a9a9;
}
.ceij-featured-secondary h4 {
  margin: 0;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 17px;
  line-height: 1.28;
  font-weight: 700;
  color: #fff;
}
.ceij-featured-secondary-copy p {
  margin: 9px 0 0;
  font-family: Inter, Arial, sans-serif;
  font-size: 11px;
  line-height: 1.45;
  color: rgba(255,255,255,.65);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ceij-featured-secondary-read {
  margin-top: 13px;
  font-family: Inter, Arial, sans-serif;
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
}
.ceij-featured-placeholder {
  width: 100%;
  height: 100%;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 19px;
  color: rgba(255,255,255,.45);
  background: linear-gradient(135deg,#430808,#180101);
}

@media (max-width: 900px) {
  .ceij-featured-editorial {
    padding-top: 38px;
  }
  .ceij-featured-layout,
  .ceij-featured-layout.only-main {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .ceij-featured-main {
    min-height: 440px;
  }
  .ceij-featured-secondary-list {
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.18);
    grid-template-columns: repeat(2,minmax(0,1fr));
    grid-template-rows: auto;
  }
  .ceij-featured-secondary {
    display: block;
  }
  .ceij-featured-secondary + .ceij-featured-secondary {
    border-top: 0;
    border-left: 1px solid rgba(255,255,255,.18);
  }
  .ceij-featured-secondary-media {
    height: 170px;
  }
}
@media (max-width: 640px) {
  .ceij-featured-editorial-inner {
    padding: 0 16px;
  }
  .ceij-featured-editorial-heading h2 {
    font-size: 23px;
  }
  .ceij-featured-main {
    min-height: 420px;
  }
  .ceij-featured-main-copy {
    left: 22px;
    right: 22px;
    bottom: 25px;
  }
  .ceij-featured-main h3 {
    font-size: 28px;
  }
  .ceij-featured-main-copy p {
    font-size: 13px;
  }
  .ceij-featured-secondary-list {
    grid-template-columns: 1fr;
  }
  .ceij-featured-secondary {
    display: grid;
    grid-template-columns: 40% 60%;
  }
  .ceij-featured-secondary + .ceij-featured-secondary {
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.18);
  }
  .ceij-featured-secondary-media {
    height: auto;
    min-height: 190px;
  }
}


/* =========================================================
   CEIJ-BR 4.14.1 — Matérias em destaque: versão editorial clara
   ========================================================= */
.ceij-featured-editorial {
  background: #ffffff !important;
}
.ceij-featured-layout,
.ceij-featured-layout.only-main {
  background: #ffffff !important;
  border: 0 !important;
  min-height: 0;
}
.ceij-featured-main {
  background: #ffffff !important;
  color: #211414 !important;
  min-height: 0;
  overflow: visible;
}
.ceij-featured-main-media {
  position: relative !important;
  inset: auto !important;
  height: 350px;
  overflow: hidden;
  background: #f5f1f1;
}
.ceij-featured-main-shade {
  display: none !important;
}
.ceij-featured-main-copy {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  max-width: none;
  padding: 16px 0 0;
}
.ceij-featured-meta {
  color: #6e6262 !important;
  margin-bottom: 8px;
}
.ceij-featured-badge {
  background: #8A0000 !important;
  color: #fff !important;
}
.ceij-featured-main h3 {
  color: #211414 !important;
  font-size: clamp(27px, 2.5vw, 39px);
  line-height: 1.16;
}
.ceij-featured-main-copy p {
  color: #514747 !important;
  margin-top: 11px;
  font-size: 13px;
  line-height: 1.55;
}
.ceij-featured-read {
  color: #8A0000 !important;
  border-bottom-color: #8A0000 !important;
  margin-top: 15px;
}
.ceij-featured-secondary-list {
  background: #ffffff !important;
  border-left: 0 !important;
  padding-left: 30px;
  gap: 18px;
}
.ceij-featured-secondary {
  display: block;
  color: #211414 !important;
  background: #fff;
  overflow: visible;
}
.ceij-featured-secondary + .ceij-featured-secondary {
  border-top: 1px solid #ddd2d2 !important;
  border-left: 0 !important;
  padding-top: 18px;
}
.ceij-featured-secondary-media {
  height: 135px;
  min-height: 0;
  background: #f5f1f1;
}
.ceij-featured-secondary-copy {
  padding: 10px 0 0;
  display: block;
}
.ceij-featured-type {
  display: inline-block;
  margin: 0 0 7px;
  padding: 4px 7px 3px;
  background: #8A0000;
  color: #fff !important;
  font-size: 8px;
}
.ceij-featured-secondary h4 {
  color: #211414 !important;
  font-size: 16px;
  line-height: 1.28;
}
.ceij-featured-secondary-copy p {
  color: #625757 !important;
  margin-top: 7px;
  font-size: 11px;
}
.ceij-featured-secondary-read {
  display: inline-block;
  color: #8A0000 !important;
  border-bottom: 1px solid #8A0000;
  padding-bottom: 3px;
  margin-top: 10px;
}
.ceij-featured-placeholder {
  color: #8A0000 !important;
  background: #f5f1f1 !important;
}
@media (max-width: 900px) {
  .ceij-featured-secondary-list {
    padding-left: 0;
    padding-top: 24px;
    border-top: 1px solid #ddd2d2 !important;
  }
  .ceij-featured-secondary + .ceij-featured-secondary {
    border-left: 1px solid #ddd2d2 !important;
    border-top: 0 !important;
    padding-top: 0;
    padding-left: 18px;
  }
}
@media (max-width: 640px) {
  .ceij-featured-main-media { height: 290px; }
  .ceij-featured-secondary-list { gap: 0; }
  .ceij-featured-secondary + .ceij-featured-secondary {
    border-left: 0 !important;
    border-top: 1px solid #ddd2d2 !important;
    padding-left: 0;
    padding-top: 18px;
    margin-top: 18px;
  }
}


/* =========================================================
   CEIJ-BR 4.14.4 — elimina vazio sob o destaque principal
   =========================================================
   A coluna principal acompanha a altura dos destaques laterais.
   O espaço antes vazio é absorvido pela fotografia principal,
   preservando o bloco de texto em sua altura natural.
*/
.ceij-featured-layout:not(.only-main) {
  align-items: stretch !important;
}
.ceij-featured-layout:not(.only-main) .ceij-featured-main {
  align-self: stretch !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}
.ceij-featured-layout:not(.only-main) .ceij-featured-main-media {
  flex: 1 1 auto !important;
  height: auto !important;
  min-height: 350px !important;
}
.ceij-featured-layout:not(.only-main) .ceij-featured-main-media img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}
.ceij-featured-layout:not(.only-main) .ceij-featured-main-copy {
  flex: 0 0 auto !important;
}
@media (max-width: 900px) {
  .ceij-featured-layout:not(.only-main) .ceij-featured-main {
    height: auto !important;
  }
  .ceij-featured-layout:not(.only-main) .ceij-featured-main-media {
    flex: none !important;
    height: 390px !important;
    min-height: 0 !important;
  }
}
@media (max-width: 640px) {
  .ceij-featured-layout:not(.only-main) .ceij-featured-main-media {
    height: 300px !important;
  }
}


/* =========================================================
   CEIJ-BR 4.14.5 — Matérias em destaque
   Versão editorial clara, modernizada
   ========================================================= */
.ceij-featured-editorial {
  position: relative !important;
  background: #ffffff !important;
  border: 0 !important;
  padding: 50px 0 42px !important;
  overflow: hidden;
}
.ceij-featured-editorial::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #8A0000;
  z-index: 2;
}
.ceij-featured-editorial::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 0;
  width: 160px;
  height: 160px;
  background: rgba(138,0,0,.04);
  border-radius: 0 0 0 120px;
  pointer-events: none;
  z-index: 0;
}
.ceij-featured-editorial-inner {
  position: relative;
  z-index: 1;
}

/* Cabeçalho */
.ceij-featured-editorial-heading {
  display: flex !important;
  align-items: flex-end !important;
  gap: 14px !important;
  margin-bottom: 24px !important;
}
.ceij-featured-kicker {
  display: none !important;
}
.ceij-featured-title-bar {
  flex: 0 0 6px;
  width: 6px;
  height: 28px;
  background: #8A0000;
  margin-bottom: 2px;
}
.ceij-featured-editorial-heading h2 {
  margin: 0 !important;
  font-family: "Libre Baskerville", Georgia, serif !important;
  font-size: 27px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  color: #211414 !important;
}
.ceij-featured-rule {
  flex: 1 1 auto !important;
  height: 1px !important;
  background: #d9cece !important;
  margin: 0 0 7px 8px !important;
  opacity: 1 !important;
}

/* Layout */
.ceij-featured-layout,
.ceij-featured-layout.only-main {
  background: #fff !important;
  border: 0 !important;
  gap: 30px !important;
  min-height: 0 !important;
}
.ceij-featured-layout.has-secondary {
  grid-template-columns: minmax(0,1.72fr) minmax(300px,.82fr) !important;
}
.ceij-featured-layout.only-main {
  grid-template-columns: 1fr !important;
}

/* Capa principal */
.ceij-featured-main {
  background: #fff !important;
  color: #211414 !important;
  border: 0 !important;
  box-shadow: none !important;
  min-height: 0 !important;
  overflow: visible !important;
}
.ceij-featured-main::before {
  display: none !important;
}
.ceij-featured-main-media {
  position: relative !important;
  inset: auto !important;
  height: clamp(340px,42vw,480px) !important;
  overflow: hidden !important;
  background: #f4eeee !important;
}
.ceij-featured-main-media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transform: scale(1);
  transition: transform 700ms ease !important;
}
.ceij-featured-main:hover .ceij-featured-main-media img {
  transform: scale(1.03) !important;
}
.ceij-featured-image-rule {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #8A0000;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 500ms ease;
  z-index: 2;
  pointer-events: none;
}
.ceij-featured-main:hover .ceij-featured-image-rule,
.ceij-featured-secondary:hover .ceij-featured-image-rule {
  transform: scaleX(1);
}
.ceij-featured-main-shade {
  display: none !important;
}
.ceij-featured-main-copy {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  max-width: none !important;
  padding: 16px 0 0 !important;
  background: transparent !important;
}
.ceij-featured-meta,
.ceij-featured-secondary-meta {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap;
  gap: 9px !important;
  margin-bottom: 8px !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 10px !important;
  letter-spacing: .06em !important;
  text-transform: uppercase;
  color: #6e6262 !important;
}
.ceij-featured-badge {
  display: inline-block !important;
  padding: 6px 9px 5px !important;
  background: #8A0000 !important;
  color: #fff !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: .13em !important;
  text-transform: uppercase !important;
}
.ceij-featured-date {
  color: #6e6262 !important;
  white-space: nowrap;
}
.ceij-featured-main h3 {
  margin: 0 !important;
  max-width: 820px !important;
  font-family: "Libre Baskerville", Georgia, serif !important;
  font-size: clamp(25px,2.4vw,37px) !important;
  line-height: 1.16 !important;
  font-weight: 700 !important;
  color: #211414 !important;
  transition: color 220ms ease;
}
.ceij-featured-main:hover h3 {
  color: #8A0000 !important;
}
.ceij-featured-main-copy p {
  max-width: 760px !important;
  margin: 11px 0 0 !important;
  color: #514747 !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}
.ceij-featured-read {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  margin-top: 15px !important;
  padding-bottom: 4px !important;
  border-bottom: 1px solid #8A0000 !important;
  color: #8A0000 !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 10px !important;
  letter-spacing: .15em !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
  transition: gap 220ms ease;
}
.ceij-featured-main:hover .ceij-featured-read {
  gap: 10px;
}
.ceij-featured-read b,
.ceij-featured-secondary-read b,
.ceij-featured-view-all b {
  font-weight: 700;
}

/* Secundários */
.ceij-featured-secondary-list {
  display: flex !important;
  flex-direction: column !important;
  background: #fff !important;
  border: 0 !important;
  padding: 0 0 0 0 !important;
  gap: 0 !important;
  box-shadow: none !important;
}
.ceij-featured-secondary {
  display: block !important;
  background: #fff !important;
  color: #211414 !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 0 18px !important;
  overflow: visible !important;
  text-decoration: none !important;
}
.ceij-featured-secondary + .ceij-featured-secondary {
  margin-top: 18px !important;
  padding-top: 18px !important;
  border-top: 1px solid #ddd2d2 !important;
}
.ceij-featured-secondary-media {
  position: relative !important;
  height: 140px !important;
  min-height: 140px !important;
  overflow: hidden !important;
  background: #f4eeee !important;
}
.ceij-featured-secondary-media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transform: scale(1);
  transition: transform 700ms ease !important;
}
.ceij-featured-secondary:hover .ceij-featured-secondary-media img {
  transform: scale(1.04) !important;
}
.ceij-featured-secondary-copy {
  padding: 10px 0 0 !important;
  display: block !important;
}
.ceij-featured-secondary-meta {
  margin-bottom: 7px !important;
  font-size: 9px !important;
}
.ceij-featured-type {
  display: inline-block !important;
  margin: 0 !important;
  padding: 4px 7px 3px !important;
  background: #8A0000 !important;
  color: #fff !important;
  font-size: 9px !important;
  line-height: 1 !important;
  letter-spacing: .11em !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
}
.ceij-featured-secondary h4 {
  margin: 0 !important;
  font-family: "Libre Baskerville", Georgia, serif !important;
  font-size: 16px !important;
  line-height: 1.28 !important;
  font-weight: 700 !important;
  color: #211414 !important;
  transition: color 220ms ease;
}
.ceij-featured-secondary:hover h4 {
  color: #8A0000 !important;
}
.ceij-featured-secondary-copy p {
  margin: 7px 0 0 !important;
  color: #625757 !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 11px !important;
  line-height: 1.45 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}
.ceij-featured-secondary-read {
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
  margin-top: 10px !important;
  padding-bottom: 3px !important;
  border-bottom: 1px solid #8A0000 !important;
  color: #8A0000 !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 9px !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
  transition: gap 220ms ease;
}
.ceij-featured-secondary:hover .ceij-featured-secondary-read {
  gap: 9px;
}

/* Ver todas */
.ceij-featured-view-all {
  display: inline-flex !important;
  align-items: center;
  align-self: flex-end;
  gap: 6px;
  margin-top: auto !important;
  padding-top: 16px !important;
  color: #6e6262 !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
  letter-spacing: .15em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  transition: color 220ms ease, gap 220ms ease;
}
.ceij-featured-view-all:hover {
  color: #8A0000 !important;
  gap: 10px;
}

/* Responsivo */
@media (max-width: 900px) {
  .ceij-featured-layout.has-secondary,
  .ceij-featured-layout.only-main {
    grid-template-columns: 1fr !important;
  }
  .ceij-featured-main-media {
    height: clamp(340px,58vw,460px) !important;
  }
  .ceij-featured-secondary-list {
    display: grid !important;
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    margin-top: 26px !important;
    padding-top: 0 !important;
    border-top: 0 !important;
  }
  .ceij-featured-secondary {
    padding: 0 18px 0 0 !important;
  }
  .ceij-featured-secondary + .ceij-featured-secondary {
    margin-top: 0 !important;
    padding: 0 0 0 18px !important;
    border-top: 0 !important;
    border-left: 1px solid #ddd2d2 !important;
  }
  .ceij-featured-secondary-media {
    height: 160px !important;
  }
  .ceij-featured-view-all {
    grid-column: 1 / -1;
    justify-self: end;
    margin-top: 16px !important;
  }
}
@media (max-width: 640px) {
  .ceij-featured-editorial {
    padding: 36px 0 30px !important;
  }
  .ceij-featured-editorial::after {
    width: 110px;
    height: 110px;
    border-radius: 0 0 0 82px;
  }
  .ceij-featured-editorial-heading {
    gap: 11px !important;
  }
  .ceij-featured-title-bar {
    height: 25px;
  }
  .ceij-featured-editorial-heading h2 {
    font-size: 23px !important;
  }
  .ceij-featured-main-media {
    height: 290px !important;
  }
  .ceij-featured-secondary-list {
    display: block !important;
    margin-top: 24px !important;
  }
  .ceij-featured-secondary {
    padding: 0 0 18px !important;
  }
  .ceij-featured-secondary + .ceij-featured-secondary {
    margin-top: 18px !important;
    padding: 18px 0 0 !important;
    border-left: 0 !important;
    border-top: 1px solid #ddd2d2 !important;
  }
  .ceij-featured-secondary-media {
    height: 140px !important;
  }
  .ceij-featured-view-all {
    display: inline-flex !important;
    margin-top: 18px !important;
  }
}


/* =========================================================
   CEIJ-BR 4.14.6 — destaque editorial do autor
   ========================================================= */
.ceij-featured-author {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 10px;
  font-family: Inter, Arial, sans-serif;
  font-size: 12px;
  line-height: 1.35;
  color: #6e6262;
}
.ceij-featured-author span {
  color: #8A0000;
  font-weight: 500;
}
.ceij-featured-author strong {
  color: #8A0000;
  font-weight: 700;
}
.ceij-featured-author-secondary {
  margin-top: 7px;
  font-size: 10.5px;
}
.ceij-featured-main:hover .ceij-featured-author strong,
.ceij-featured-secondary:hover .ceij-featured-author strong {
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 640px) {
  .ceij-featured-author {
    font-size: 11.5px;
  }
  .ceij-featured-author-secondary {
    font-size: 10px;
  }
}


/* =========================================================
   CEIJ-BR 4.14.7 — Notas da home sem conteúdo fictício no carregamento
   ========================================================= */
.ceij-notes-loading {
  padding: 14px 0 12px;
  display: grid;
  gap: 18px;
}
.ceij-notes-loading span {
  display: block;
  height: 42px;
  border-bottom: 1px solid rgba(255,255,255,.10);
  position: relative;
}
.ceij-notes-loading span::before,
.ceij-notes-loading span::after {
  content: "";
  position: absolute;
  left: 0;
  border-radius: 2px;
  background: rgba(255,255,255,.10);
}
.ceij-notes-loading span::before {
  top: 3px;
  width: 72%;
  height: 9px;
}
.ceij-notes-loading span::after {
  top: 21px;
  width: 34%;
  height: 7px;
}


/* =========================================================
   CEIJ-BR 4.14.8 — transição limpa entre Destaques e Notícias
   ========================================================= */

/* Nenhuma divisória visual entre "Matérias em destaque" e a seção de Notícias. */
.ceij-featured-editorial {
  margin-bottom: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}
.ceij-featured-editorial::before {
  /* preserva apenas o filete superior já existente */
}
.ceij-featured-editorial::after {
  /* preserva o bloco decorativo de canto superior direito */
}

/* Remove qualquer ornamento/separador residual inserido no fim da seção de destaques
   ou no início da seção seguinte. */
.ceij-featured-editorial > .ceij-featured-divider,
.ceij-featured-editorial + .ceij-featured-divider,
.ceij-featured-editorial + .ceij-section-divider,
.ceij-featured-editorial + .ceij-news-divider,
.ceij-featured-transition,
.ceij-news-transition,
.ceij-home-divider,
.ceij-transition-divider {
  display: none !important;
}

/* A seção de notícias começa imediatamente depois da anterior.
   O respiro fica exclusivamente a cargo do padding interno das próprias seções. */
.ceij-home-news-section {
  margin-top: 0 !important;
  border-top: 0 !important;
  box-shadow: none !important;
}

.ceij-featured-editorial + .ceij-home-news-section::before,
.ceij-featured-editorial + .ceij-home-news-section::after {
  content: none !important;
  display: none !important;
  background: none !important;
  animation: none !important;
}

/* =========================================================
   CEIJ-BR 4.14.9 — Matérias em destaque: fundo preto sólido
   ========================================================= */
.ceij-featured-editorial {
  background: #000000 !important;
}
.ceij-featured-editorial::after {
  display: none !important;
  content: none !important;
  background: none !important;
}
.ceij-featured-editorial-heading h2 {
  color: #ffffff !important;
}
.ceij-featured-rule {
  background: rgba(255,255,255,.28) !important;
}
.ceij-featured-layout,
.ceij-featured-layout.only-main,
.ceij-featured-main,
.ceij-featured-secondary-list,
.ceij-featured-secondary {
  background: #000000 !important;
}
.ceij-featured-main,
.ceij-featured-secondary {
  color: #ffffff !important;
}
.ceij-featured-meta,
.ceij-featured-secondary-meta,
.ceij-featured-date {
  color: #bcb5b5 !important;
}
.ceij-featured-main h3,
.ceij-featured-secondary h4 {
  color: #ffffff !important;
}
.ceij-featured-main:hover h3,
.ceij-featured-secondary:hover h4 {
  color: #d6a3a3 !important;
}
.ceij-featured-main-copy p {
  color: #d2cccc !important;
}
.ceij-featured-secondary-copy p {
  color: #c5bebe !important;
}
.ceij-featured-author {
  color: #c3bbbb !important;
}
.ceij-featured-author span,
.ceij-featured-author strong {
  color: #c94b4b !important;
}
.ceij-featured-secondary + .ceij-featured-secondary {
  border-color: rgba(255,255,255,.20) !important;
}
.ceij-featured-view-all {
  color: #c5bebe !important;
}
.ceij-featured-view-all:hover {
  color: #ffffff !important;
}
@media (max-width: 900px) {
  .ceij-featured-secondary + .ceij-featured-secondary {
    border-left-color: rgba(255,255,255,.20) !important;
  }
}
@media (max-width: 640px) {
  .ceij-featured-secondary + .ceij-featured-secondary {
    border-top-color: rgba(255,255,255,.20) !important;
  }
}


/* =========================================================
   CEIJ-BR 4.14.10 — transição fluida Capa → Destaques
   =========================================================
   A própria capa termina em preto, encontrando diretamente o
   fundo preto sólido de "Matérias em destaque". A seção de
   destaques continua sem gradiente ou imagem de fundo.
*/
.ceij-final-hero > .absolute.bottom-0 {
  height: 190px !important;
  background: linear-gradient(
    to top,
    #000000 0%,
    rgba(0,0,0,.92) 18%,
    rgba(0,0,0,.62) 48%,
    rgba(0,0,0,0) 100%
  ) !important;
  pointer-events: none !important;
}

/* Remove o filete vermelho que criava uma quebra rígida entre
   a capa e o bloco preto. */
.ceij-featured-editorial::before {
  display: none !important;
  content: none !important;
}

/* As duas áreas se encostam sem margem, borda ou faixa intermediária. */
.ceij-final-hero {
  margin-bottom: 0 !important;
  border-bottom: 0 !important;
}
.ceij-featured-editorial {
  margin-top: 0 !important;
  border-top: 0 !important;
}


/* =========================================================
   CEIJ-BR 4.14.11 — título Últimas atualizações
   ========================================================= */
.ceij-latest-updates-heading {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin: 0 0 30px;
}
.ceij-latest-updates-bar {
  flex: 0 0 6px;
  width: 6px;
  height: 28px;
  background: #8A0000;
  margin-bottom: 2px;
}
.ceij-latest-updates-heading h2 {
  margin: 0;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 27px;
  line-height: 1.2;
  font-weight: 700;
  color: #211414;
}
.ceij-latest-updates-rule {
  flex: 1 1 auto;
  height: 1px;
  background: #d9cece;
  margin: 0 0 7px 8px;
}
@media (max-width: 640px) {
  .ceij-latest-updates-heading { gap: 11px; margin-bottom: 24px; }
  .ceij-latest-updates-bar { height: 25px; }
  .ceij-latest-updates-heading h2 { font-size: 23px; }
}

/* CEIJ-BR 4.14.17 — Últimos Artigos: composição acadêmica sem imagens */
.ceij-academic-article{position:relative}
.ceij-academic-article--lead{padding:.25rem 0 .35rem 1.15rem;border-left:3px solid #8A0000}
.ceij-academic-article--compact{padding-right:2rem}
.ceij-academic-article--compact .ceij-academic-arrow{position:absolute;right:0;top:50%;transform:translateY(-50%);transition:transform .2s ease}
.ceij-academic-article--compact:hover .ceij-academic-arrow{transform:translate(4px,-50%)}
@media(max-width:767px){
 .ceij-academic-lead{padding-right:0!important;padding-bottom:1.5rem;border-right:0!important;border-bottom:1px solid hsl(var(--border))}
 .ceij-academic-article--lead{padding-left:1rem}
}


/* CEIJ-BR 4.14.18 — Últimos Artigos: diagramação editorial real
   As classes grid arbitrárias adicionadas no bundle não existem no CSS Tailwind
   compilado; por isso a estrutura é definida explicitamente aqui. */
.ceij-academic-articles{
  display:grid!important;
  grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr)!important;
  column-gap:30px!important;
  align-items:stretch!important;
}
.ceij-academic-lead{
  min-width:0!important;
  padding-right:30px!important;
  border-right:1px solid rgba(138,0,0,.18)!important;
}
.ceij-academic-list{min-width:0!important;display:flex!important;flex-direction:column!important;}
.ceij-academic-article--lead{
  height:100%!important;
  padding:4px 0 4px 18px!important;
  border-left:3px solid #8A0000!important;
}
.ceij-academic-article--lead h3{
  font-size:clamp(27px,2.05vw,38px)!important;
  line-height:1.11!important;
  color:#241515!important;
  max-width:100%!important;
}
.ceij-academic-article--lead:hover h3{color:#8A0000!important;}
.ceij-academic-article--lead > p:not(:last-of-type){max-width:94%!important;}
.ceij-academic-article--compact{
  flex:1 1 auto!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  min-height:0!important;
  padding:16px 34px 16px 0!important;
  border-bottom:1px solid rgba(138,0,0,.16)!important;
}
.ceij-academic-article--compact:last-child{border-bottom:0!important;}
.ceij-academic-article--compact h3{
  font-size:clamp(19px,1.35vw,25px)!important;
  line-height:1.16!important;
  color:#241515!important;
  margin-bottom:7px!important;
}
.ceij-academic-article--compact:hover h3{color:#8A0000!important;}
.ceij-academic-article--compact .ceij-academic-arrow{right:2px!important;}
@media(max-width:1050px){
 .ceij-academic-articles{grid-template-columns:1fr!important;row-gap:18px!important;}
 .ceij-academic-lead{padding-right:0!important;padding-bottom:22px!important;border-right:0!important;border-bottom:1px solid rgba(138,0,0,.18)!important;}
 .ceij-academic-article--lead h3{font-size:clamp(26px,4vw,34px)!important;}
 .ceij-academic-article--compact{min-height:116px!important;}
}
@media(max-width:640px){
 .ceij-academic-article--lead{padding-left:13px!important;}
 .ceij-academic-article--lead h3{font-size:26px!important;}
 .ceij-academic-article--compact h3{font-size:20px!important;}
}


/* CEIJ-BR 4.14.19 — fluxo vertical sem espaço morto
   A sidebar da seção editorial contém apenas o módulo relacionado
   (Textos & Discursos). Redes Sociais/Contato deixam de alongar
   artificialmente a altura de "Últimos Artigos". */
.ceij-academic-articles { align-items: start; }


/* CEIJ-BR 4.14.20 — Últimos Artigos mais compacto
   Mantém o fluxo independente da sidebar para não recriar espaços vazios. */
.ceij-academic-articles{
  gap: 1.35rem !important;
  align-items: start !important;
}
.ceij-academic-lead{
  padding-right: 1.35rem !important;
}
.ceij-academic-article--lead{
  padding-top: .1rem !important;
  padding-left: 1rem !important;
  padding-bottom: .15rem !important;
}
.ceij-academic-article--lead h3{
  font-size: clamp(1.72rem, 2.15vw, 2.45rem) !important;
  line-height: 1.08 !important;
  margin-bottom: .9rem !important;
}
.ceij-academic-article--lead p{
  line-height: 1.55 !important;
}
.ceij-academic-article--lead > p:last-of-type{
  margin-bottom: 1rem !important;
}
.ceij-academic-article--lead > span:last-child{
  padding: .58rem 1.15rem !important;
}
.ceij-academic-article--compact{
  padding-top: .72rem !important;
  padding-bottom: .72rem !important;
}
.ceij-academic-article--compact > div:first-child{
  margin-bottom: .55rem !important;
}
.ceij-academic-article--compact h3{
  font-size: clamp(1.12rem, 1.45vw, 1.55rem) !important;
  line-height: 1.12 !important;
  margin-bottom: .42rem !important;
}
.ceij-academic-article--compact p{
  font-size: .88rem !important;
  line-height: 1.35 !important;
}
@media(max-width:767px){
  .ceij-academic-articles{gap:1rem!important}
  .ceij-academic-lead{padding-right:0!important;padding-bottom:1rem!important}
  .ceij-academic-article--lead h3{font-size:clamp(1.55rem,7vw,2rem)!important}
  .ceij-academic-article--compact{padding-top:.85rem!important;padding-bottom:.85rem!important}
}


/* CEIJ-BR 4.14.21 — escala tipográfica realmente reduzida em Últimos Artigos */
.ceij-academic-article--lead h3{
  font-size:clamp(1.38rem,1.62vw,1.82rem)!important;
  line-height:1.12!important;
  letter-spacing:-.012em!important;
  margin-bottom:.72rem!important;
}
.ceij-academic-article--lead > p{
  font-size:.91rem!important;
}
.ceij-academic-article--lead > p:last-of-type{
  font-size:.91rem!important;
  line-height:1.5!important;
  margin-bottom:.85rem!important;
  max-width:42rem!important;
}
.ceij-academic-article--lead > div:first-child{
  margin-bottom:.62rem!important;
}
.ceij-academic-article--compact h3{
  font-size:clamp(1rem,1.12vw,1.22rem)!important;
  line-height:1.16!important;
  letter-spacing:-.006em!important;
  margin-bottom:.32rem!important;
}
.ceij-academic-article--compact p{
  font-size:.82rem!important;
  line-height:1.3!important;
}
.ceij-academic-article--compact{
  padding-top:.58rem!important;
  padding-bottom:.58rem!important;
}
.ceij-academic-article--compact > div:first-child{
  margin-bottom:.42rem!important;
}
.ceij-academic-article--lead > span:last-child{
  font-size:.72rem!important;
  padding:.5rem 1rem!important;
}
@media(max-width:767px){
 .ceij-academic-article--lead h3{font-size:clamp(1.3rem,5.7vw,1.7rem)!important}
 .ceij-academic-article--compact h3{font-size:1.05rem!important}
}

/* CEIJ-BR 4.14.22 — Últimos Artigos: editorial compacto */
.ceij-academic-articles{grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr)!important;gap:2rem!important;align-items:start!important}
.ceij-academic-lead{padding-right:2rem!important;border-right:1px solid rgba(138,0,0,.20)!important}
.ceij-academic-article--lead{border-left:0!important;padding:.15rem 0 .1rem!important}
.ceij-academic-article--lead:before{content:"";display:block;width:3.25rem;height:3px;background:#8A0000;margin:0 0 .8rem}
.ceij-academic-article--lead>div:first-child{margin-bottom:.65rem!important}
.ceij-academic-article--lead h3{font-size:clamp(1.48rem,1.72vw,1.95rem)!important;line-height:1.12!important;letter-spacing:-.012em!important;color:#251818!important;margin-bottom:.72rem!important}
.ceij-academic-article--lead>p{font-size:.9rem!important}
.ceij-academic-article--lead>p:last-of-type{font-size:.9rem!important;line-height:1.48!important;margin-bottom:.8rem!important;max-width:42rem!important;display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;overflow:hidden!important}
.ceij-academic-article--lead>span:last-child{border:0!important;border-radius:0!important;padding:.35rem 0 .28rem!important;font-size:.72rem!important;border-bottom:1px solid #8A0000!important;background:transparent!important}
.ceij-academic-article--lead:hover>span:last-child{background:transparent!important;color:#8A0000!important}
.ceij-academic-list{padding-top:.05rem!important}
.ceij-academic-article--compact{padding:.68rem 2rem .68rem 0!important;border-bottom:1px solid rgba(138,0,0,.18)!important}
.ceij-academic-article--compact:first-child{padding-top:.1rem!important}
.ceij-academic-article--compact:last-child{border-bottom:0!important}
.ceij-academic-article--compact>div:first-child{margin-bottom:.38rem!important;gap:.55rem!important}
.ceij-academic-article--compact>div:first-child span:first-child{background:transparent!important;color:#8A0000!important;padding:0!important;border-radius:0!important}
.ceij-academic-article--compact>div:first-child span:first-child:after{content:"";display:inline-block;height:.85rem;width:1px;background:rgba(138,0,0,.45);margin-left:.65rem;vertical-align:-.12rem}
.ceij-academic-article--compact h3{font-size:clamp(1rem,1.08vw,1.18rem)!important;line-height:1.15!important;letter-spacing:-.005em!important;color:#251818!important;margin-bottom:.28rem!important}
.ceij-academic-article--compact:hover h3{color:#8A0000!important}
.ceij-academic-article--compact p{font-size:.8rem!important;line-height:1.28!important}
.ceij-academic-article--compact .ceij-academic-arrow{right:.15rem!important}
@media(max-width:767px){.ceij-academic-articles{grid-template-columns:1fr!important;gap:1rem!important}.ceij-academic-lead{padding-right:0!important;padding-bottom:1rem!important;border-right:0!important;border-bottom:1px solid rgba(138,0,0,.18)!important}.ceij-academic-article--lead h3{font-size:clamp(1.35rem,5.6vw,1.72rem)!important}.ceij-academic-article--compact{padding-top:.72rem!important;padding-bottom:.72rem!important}}


/* CEIJ-BR 4.14.23 — Últimos Artigos: grade acadêmica 2x2 sem destaque principal */
.ceij-academic-grid-2x2{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:0!important;
  align-items:stretch!important;
}
.ceij-academic-grid-2x2 .ceij-academic-article--compact{
  position:relative!important;
  padding:1rem 2.4rem 1rem 0!important;
  border-bottom:1px solid rgba(138,0,0,.18)!important;
  min-height:0!important;
}
.ceij-academic-grid-2x2 .ceij-academic-article--compact:nth-child(odd){
  padding-right:2.25rem!important;
  border-right:1px solid rgba(138,0,0,.18)!important;
}
.ceij-academic-grid-2x2 .ceij-academic-article--compact:nth-child(even){
  padding-left:2.25rem!important;
}
.ceij-academic-grid-2x2 .ceij-academic-article--compact:nth-child(n+3){
  border-bottom:0!important;
}
.ceij-academic-grid-2x2 .ceij-academic-article--compact > div:first-child{
  margin-bottom:.48rem!important;
  gap:.55rem!important;
}
.ceij-academic-grid-2x2 .ceij-academic-article--compact > div:first-child span:first-child{
  background:transparent!important;
  color:#8A0000!important;
  padding:0!important;
  border-radius:0!important;
  font-size:.69rem!important;
  letter-spacing:.08em!important;
}
.ceij-academic-grid-2x2 .ceij-academic-article--compact > div:first-child span:first-child:after{
  content:"";
  display:inline-block;
  width:1px;
  height:.78rem;
  margin-left:.65rem;
  background:rgba(138,0,0,.4);
  vertical-align:-.1rem;
}
.ceij-academic-grid-2x2 .ceij-academic-article--compact > div:first-child span:last-child{
  font-size:.68rem!important;
  letter-spacing:.04em!important;
}
.ceij-academic-grid-2x2 .ceij-academic-article--compact h3{
  color:#251818!important;
  font-size:clamp(1.12rem,1.28vw,1.38rem)!important;
  line-height:1.14!important;
  letter-spacing:-.006em!important;
  margin:0 0 .42rem!important;
}
.ceij-academic-grid-2x2 .ceij-academic-article--compact:hover h3{
  color:#8A0000!important;
}
.ceij-academic-grid-2x2 .ceij-academic-article--compact p{
  font-size:.82rem!important;
  line-height:1.3!important;
  margin-bottom:.48rem!important;
}
.ceij-academic-grid-2x2 .ceij-academic-article--compact .ceij-academic-arrow{
  position:static!important;
  transform:none!important;
  display:none!important;
}
.ceij-academic-grid-2x2 .ceij-academic-article--compact:after{
  content:"LER ARTIGO  →";
  display:inline-block;
  color:#8A0000;
  font-family:Inter,Arial,sans-serif;
  font-size:.7rem;
  font-weight:700;
  letter-spacing:.08em;
  line-height:1.2;
  padding-bottom:.2rem;
  border-bottom:1px solid #8A0000;
}
@media(max-width:767px){
  .ceij-academic-grid-2x2{
    grid-template-columns:1fr!important;
  }
  .ceij-academic-grid-2x2 .ceij-academic-article--compact,
  .ceij-academic-grid-2x2 .ceij-academic-article--compact:nth-child(odd),
  .ceij-academic-grid-2x2 .ceij-academic-article--compact:nth-child(even){
    padding:1rem 1.8rem 1rem 0!important;
    border-right:0!important;
    border-bottom:1px solid rgba(138,0,0,.18)!important;
  }
  .ceij-academic-grid-2x2 .ceij-academic-article--compact:last-child{
    border-bottom:0!important;
  }
  .ceij-academic-grid-2x2 .ceij-academic-article--compact h3{
    font-size:1.12rem!important;
  }
}

/* CEIJ-BR 4.14.24 — Últimos Artigos reconstruído do zero: índice de revista */
.ceij-journal-index{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  column-gap:2.4rem;
  row-gap:0;
  align-items:stretch;
}
.ceij-journal-entry{
  position:relative;
  display:flex!important;
  flex-direction:column;
  min-width:0;
  padding:1.15rem 0 1.05rem;
  border-bottom:1px solid rgba(138,0,0,.18);
}
.ceij-journal-entry:nth-child(odd){
  padding-right:2.4rem;
  border-right:1px solid rgba(138,0,0,.18);
}
.ceij-journal-entry:nth-child(even){padding-left:0}
.ceij-journal-entry:nth-child(n+3){border-bottom:0}
.ceij-journal-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  margin-bottom:.55rem;
  font-family:Inter,Arial,sans-serif;
  line-height:1;
}
.ceij-journal-category{
  color:#8A0000;
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.075em;
  text-transform:uppercase;
}
.ceij-journal-date{
  color:#786767;
  font-size:.7rem;
  font-weight:500;
  letter-spacing:.035em;
  white-space:nowrap;
}
.ceij-journal-title{
  margin:0 0 .75rem!important;
  color:#251818!important;
  font-family:"Libre Baskerville",Georgia,serif!important;
  font-size:clamp(1.08rem,1.25vw,1.34rem)!important;
  font-weight:700!important;
  line-height:1.2!important;
  letter-spacing:-.008em!important;
  transition:color .2s ease;
}
.ceij-journal-entry:hover .ceij-journal-title{color:#8A0000!important}
.ceij-journal-footer{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:1rem;
  margin-top:auto;
  font-family:Inter,Arial,sans-serif;
}
.ceij-journal-author{
  color:#8A0000;
  font-size:.82rem;
  font-weight:650;
  line-height:1.25;
}
.ceij-journal-read{
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  flex:0 0 auto;
  color:#8A0000;
  font-size:.68rem;
  font-weight:750;
  letter-spacing:.08em;
  text-transform:uppercase;
  padding-bottom:.18rem;
  border-bottom:1px solid #8A0000;
}
.ceij-journal-entry:hover .ceij-journal-read svg{transform:translateX(3px)}
.ceij-journal-read svg{transition:transform .2s ease}
@media(max-width:767px){
 .ceij-journal-index{grid-template-columns:1fr;column-gap:0}
 .ceij-journal-entry,
 .ceij-journal-entry:nth-child(odd),
 .ceij-journal-entry:nth-child(even){
   padding:1rem 0!important;
   border-right:0!important;
   border-bottom:1px solid rgba(138,0,0,.18)!important;
 }
 .ceij-journal-entry:last-child{border-bottom:0!important}
 .ceij-journal-title{font-size:1.08rem!important}
}

/* CEIJ-BR 4.14.25 — Redes Sociais restauradas como seção independente */
.ceij-social-section{
  padding:0 0 2.5rem;
  background:rgba(245,242,238,.4);
}
.ceij-social-section > div > div{
  max-width:28rem;
}
@media(max-width:767px){
  .ceij-social-section{padding-bottom:2rem}
  .ceij-social-section > div > div{max-width:none}
}

/* CEIJ-BR 4.14.26 — sidebar editorial restaurada */
.ceij-social-section{display:none!important}


/* CEIJ-BR 4.14.31 — grid editorial estável, sem spans herdados */
.ceij-editorial-shell{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:1.5rem!important;align-items:start!important;position:static!important}
.ceij-editorial-main,.ceij-editorial-sidebar{grid-column:auto!important;grid-row:auto!important;min-width:0!important;width:auto!important;position:static!important;max-width:100%!important}
.ceij-editorial-sidebar img{max-width:100%;height:auto}
.ceij-social-horizontal{width:100%;position:static!important;margin-top:1.5rem;clear:both}
@media(min-width:1024px){
.ceij-editorial-shell{grid-template-columns:minmax(0,2fr) minmax(300px,1fr)!important;gap:2rem!important}
.ceij-editorial-main{grid-column:1!important;grid-row:1!important}
.ceij-editorial-sidebar{grid-column:2!important;grid-row:1!important}
}
@media(max-width:1023px){.ceij-editorial-main,.ceij-editorial-sidebar{grid-column:1!important;grid-row:auto!important}}
.ceij-social-horizontal>div{max-width:none!important;width:100%!important}
.ceij-social-horizontal>div>div{display:grid!important;grid-template-columns:190px minmax(0,1fr)!important;align-items:center!important;gap:1.4rem!important;padding:1.15rem 1.4rem!important}
.ceij-social-horizontal>div>div>div:first-child{margin:0!important;padding-right:1.4rem;border-right:1px solid rgba(138,0,0,.18)}
.ceij-social-horizontal>div>div>div:last-child{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:.75rem!important}
.ceij-social-horizontal a{margin:0!important;min-height:52px!important;padding:.7rem 1rem!important}
@media(max-width:767px){.ceij-social-horizontal>div>div{grid-template-columns:1fr!important}.ceij-social-horizontal>div>div>div:first-child{padding-right:0;padding-bottom:.8rem;border-right:0;border-bottom:1px solid rgba(138,0,0,.18)}.ceij-social-horizontal>div>div>div:last-child{grid-template-columns:1fr!important}}

/* v4.14.32: identificação permanente dos textos de Kim Jong Un */
.ceij-kju-speeches{min-width:0}
.ceij-kju-speeches-heading{margin:0 0 14px;padding:0 0 12px;border-bottom:1px solid rgba(138,0,0,.2)}
.ceij-kju-speeches-heading h2{font-family:"Libre Baskerville",Georgia,serif;font-size:clamp(1.05rem,1.4vw,1.35rem);font-weight:700;line-height:1.3;color:#321d1d;margin:0 0 6px}
.ceij-kju-speeches-heading p{font-family:Inter,Arial,sans-serif;font-size:.79rem;line-height:1.5;color:#7a5555;margin:0}

/* v4.14.33: exibir a arte completa do destaque principal, sem recortes. */
.ceij-featured-editorial .ceij-featured-main-media,
.ceij-featured-editorial .ceij-featured-layout:not(.only-main) .ceij-featured-main-media {
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  overflow: visible !important;
  background: transparent !important;
}
.ceij-featured-editorial .ceij-featured-main-media img,
.ceij-featured-editorial .ceij-featured-layout:not(.only-main) .ceij-featured-main-media img {
  display: block !important;
  position: static !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
}
.ceij-featured-editorial .ceij-featured-main:hover .ceij-featured-main-media img {
  transform: none !important;
}
