.cr-post-view{
  padding:20px 0 48px;
  background:
    radial-gradient(circle at top left, rgba(25,118,210,.05), transparent 28%),
    radial-gradient(circle at top right, rgba(46,125,50,.05), transparent 22%),
    #f7f9fc;
}

.cr-post-shell{
  max-width:1380px;
  margin:0 auto;
}

.cr-post-breadcrumb{
  list-style:none;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  background:transparent;
  padding:0;
  margin:0 0 18px;
}

.cr-post-breadcrumb li{
  list-style:none;
  display:flex;
  align-items:center;
  font-size:.92rem;
  color:#64748b;
}

.cr-post-breadcrumb li + li::before{
  content:"/";
  margin-right:8px;
  color:#94a3b8;
}

.cr-post-breadcrumb a{
  color:#2563eb;
  text-decoration:none;
}

.cr-post-breadcrumb .active{
  color:#0f172a;
  font-weight:700;
}

.cr-post-hero-layout{
  display:grid;
  grid-template-columns:minmax(0, 1.8fr) minmax(280px, .9fr);
  gap:24px;
  align-items:stretch;
  margin-bottom:28px;
}

.cr-post-hero-editorial{
  background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%);
  border:1px solid rgba(15,23,42,.07);
  border-radius:28px;
  box-shadow:0 24px 60px rgba(15,23,42,.08);
  padding:32px;
  min-height:100%;
}

.cognitive-card{
  position:relative;
  z-index:1;
  clear:both;
  margin:34px 0 34px;
  padding:30px;
  border-radius:28px;
  background:
    radial-gradient(circle at 85% 10%, rgba(20,184,166,.35), transparent 28%),
    linear-gradient(135deg,#08111f 0%,#0f2a35 48%,#0f766e 100%);
  color:#fff;
  box-shadow:0 24px 70px rgba(15,23,42,.22);
  border:1px solid rgba(255,255,255,.14);
  overflow:hidden;
}

.cognitive-card__top{
  display:grid;
  grid-template-columns:minmax(0,1fr) 120px;
  gap:24px;
  align-items:start;
}

.cognitive-card__label{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  font-weight:900;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:#a7f3d0;
  margin-bottom:14px;
}

.cognitive-card__summary{
  font-size:16px;
  line-height:1.65;
  color:rgba(255,255,255,.86);
  max-width:850px;
  margin:0;
}

.cognitive-card__power{
  width:120px;
  height:120px;
  border-radius:28px;
  background:rgba(255,255,255,.13);
  border:1px solid rgba(255,255,255,.22);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12);
}

.cognitive-card__power span{
  font-size:42px;
  font-weight:950;
  line-height:1;
}

.cognitive-card__power small{
  margin-top:7px;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.14em;
  color:rgba(255,255,255,.70);
}

.cognitive-card__badges,
.cognitive-card__powers{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:22px 0 0;
}

.cognitive-card__badges span,
.cognitive-card__powers a,
.cognitive-power{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:9px 13px;
  border-radius:999px;
  background:rgba(255,255,255,.11);
  border:1px solid rgba(255,255,255,.16);
  color:#fff;
  font-size:13px;
  font-weight:800;
  text-decoration:none;
}

.cognitive-card__powers a{
  background:rgba(167,243,208,.13);
  border-color:rgba(167,243,208,.24);
  color:#ecfdf5;
}

.cognitive-card__powers a:hover{
  background:rgba(167,243,208,.24);
  color:#fff;
  text-decoration:none;
  transform:translateY(-1px);
}

.cognitive-card__stats{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:12px;
  margin-top:24px;
}

.cognitive-card__stats div{
  min-width:0;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.14);
  border-radius:18px;
  padding:14px;
  min-height:96px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

.cognitive-card__stats i{
  color:#a7f3d0;
  font-size:18px;
}

.cognitive-card__stats span{
  color:rgba(255,255,255,.68);
  font-size:12px;
}

.cognitive-card__stats strong{
  color:#fff;
  font-size:26px;
  line-height:1;
}

.cognitive-card__footer{
  margin-top:24px;
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,.15);
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
}

.cognitive-card__button{
  border:0;
  border-radius:999px;
  padding:12px 18px;
  background:#fff;
  color:#0f172a;
  font-weight:900;
  box-shadow:0 12px 28px rgba(0,0,0,.18);
}

.cognitive-card__button:hover{
  background:#a7f3d0;
  transform:translateY(-1px);
}

@media(max-width:1100px){
  .cognitive-card__stats{
    grid-template-columns:repeat(3,1fr);
  }
}

@media(max-width:760px){
  .cognitive-card{
    padding:22px;
    border-radius:24px;
  }

  .cognitive-card__top{
    grid-template-columns:1fr;
  }

  .cognitive-card__power{
    width:100%;
    height:auto;
    min-height:96px;
  }

  .cognitive-card__stats{
    grid-template-columns:repeat(2,1fr);
  }

  .cognitive-card__footer{
    align-items:stretch;
    flex-direction:column;
  }

  .cognitive-card__button{
    width:100%;
  }
}

@media (max-width: 900px) {
  .cognitive-card__top,
  .cognitive-card__footer {
    flex-direction: column;
  }

  .cognitive-card__power {
    width: 100%;
  }

  .cognitive-card__stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

.cr-post-hero-badges{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:16px;
}

.cr-badge{
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  padding:6px 12px;
  font-size:.8rem;
  font-weight:700;
  line-height:1;
  border:1px solid rgba(15,23,42,.06);
  color:#0f172a;
  background:#fff;
}

.cr-badge-type{ background:#eef6ff; }
.cr-badge-status{ background:#ecfdf3; }
.cr-badge-intelligence{ background:#fff7ed; }
.cr-badge-maturity{ background:#f5f3ff; }

.cr-post-hero-title{
  margin:0 0 14px;
  font-size:clamp(2rem, 3vw, 3.25rem);
  line-height:1.02;
  font-weight:850;
  letter-spacing:-.03em;
  color:#0f172a;
}

.cr-post-hero-lead{
  font-size:1.08rem;
  line-height:1.8;
  color:#334155;
  max-width:860px;
}

.cr-post-hero-lead p:last-child{
  margin-bottom:0;
}

.cr-post-hero-meta{
  margin-top:18px;
  color:#64748b;
  font-size:.98rem;
}

.cr-post-hero-actions{
  margin-top:22px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.cr-density-panel{
  height:100%;
}

.cr-density-card{
  height:100%;
  background:#0f172a;
  color:#fff;
  border-radius:28px;
  box-shadow:0 24px 60px rgba(15,23,42,.16);
  padding:26px;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
}

.cr-density-label{
  font-size:.9rem;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:rgba(255,255,255,.72);
  margin-bottom:14px;
}

.cr-density-score-wrap{
  display:flex;
  align-items:flex-end;
  gap:6px;
  margin-bottom:14px;
}

.cr-density-score{
  font-size:4rem;
  font-weight:900;
  line-height:.95;
}

.cr-density-score-meta{
  font-size:1rem;
  color:rgba(255,255,255,.7);
  padding-bottom:8px;
}

.cr-density-statuses{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:18px;
}

.cr-density-pill{
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  padding:7px 12px;
  font-size:.8rem;
  font-weight:700;
  background:rgba(255,255,255,.1);
  color:#fff;
}

.cr-density-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-bottom:18px;
}

.cr-density-item{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
  padding:14px;
}

.cr-density-item-k{
  font-size:.82rem;
  color:rgba(255,255,255,.7);
  margin-bottom:4px;
}

.cr-density-item-v{
  font-size:1.15rem;
  font-weight:800;
}

.cr-density-rating{
  margin-top:auto;
  padding-top:6px;
}

.cr-post-body-layout{
  display:grid;
  grid-template-columns:minmax(0, 1.65fr) minmax(290px, .95fr);
  gap:28px;
  align-items:start;
}

.cr-post-reading{
  min-width:0;
}

.cr-post-context{
  min-width:0;
  position:sticky;
  top:84px;
}

.cr-post-main .card{
  margin:0 0 20px;
}

.cr-post-main .card,
.cr-post-view .card{
  border:1px solid rgba(15,23,42,.06);
  border-radius:22px;
  box-shadow:0 14px 38px rgba(15,23,42,.05);
  background:#fff;
  overflow:hidden;
}

.cr-post-view .card-header{
  background:#fff;
  border-bottom:1px solid rgba(15,23,42,.06);
  padding:18px 24px;
  font-size:1.05rem;
  font-weight:800;
  color:#0f172a;
}

.cr-post-view .card-block{
  padding:24px;
}

.cr-post-cover{
  width:100%;
  border-radius:18px;
  display:block;
}

.cr-simple-block{
  white-space:normal;
  word-break:break-word;
  overflow-wrap:anywhere;
  color:#1e293b;
  line-height:1.85;
  font-size:1.04rem;
}

.cr-simple-block p:last-child{
  margin-bottom:0;
}

.cr-reading-section{
  border:none !important;
  box-shadow:none !important;
  border-radius:0 !important;
  background:transparent !important;
  margin-bottom:30px !important;
}

.cr-reading-section .card-header{
  padding:0 0 10px !important;
  border:0 !important;
  background:transparent !important;
  font-size:1.35rem !important;
}

.cr-reading-section .card-block{
  padding:0 !important;
}

.cr-resource-group + .cr-resource-group{
  margin-top:20px;
}

.cr-resource-list{
  margin:10px 0 0;
  padding-left:18px;
}

.cr-resource-list li + li{
  margin-top:8px;
}

.cr-media-title{
  margin:0 0 10px;
  font-weight:800;
  color:#0f172a;
}

.cr-context-panel{
  background:#fff;
  border:1px solid rgba(15,23,42,.06);
  border-radius:24px;
  box-shadow:0 14px 38px rgba(15,23,42,.05);
  overflow:hidden;
}

.cr-context-block{
  padding:22px;
  border-bottom:1px solid rgba(15,23,42,.06);
}

.cr-context-block:last-child{
  border-bottom:0;
}

.cr-context-title{
  margin:0 0 14px;
  font-size:1rem;
  font-weight:800;
  color:#0f172a;
}

.cr-context-author{
  display:flex;
  gap:14px;
  align-items:center;
}

.cr-context-avatar{
  width:72px;
  height:72px;
  border-radius:50%;
  object-fit:cover;
}

.cr-context-author-name{
  font-weight:800;
  color:#0f172a;
  text-decoration:none;
}

.cr-context-line{
  margin-top:4px;
  color:#64748b;
  font-size:.92rem;
}

.cr-context-institution{
  margin-top:16px;
}

.cr-context-institution a{
  display:flex;
  gap:10px;
  align-items:center;
  color:#0f172a;
  text-decoration:none;
  font-weight:700;
}

.cr-context-institution-logo{
  width:40px;
  height:40px;
  object-fit:contain;
  border-radius:10px;
}

.cr-context-list{
  display:flex;
  flex-direction:column;
  gap:10px;
  color:#334155;
  font-size:.96rem;
}

.cr-context-row strong{
  color:#0f172a;
}

.cr-context-tags{
  margin:8px 0 0;
  padding-left:18px;
}

.cr-context-tags li + li{
  margin-top:6px;
}

.cr-context-license{
  margin-bottom:14px;
}

.cr-context-public-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  text-decoration:none;
  font-weight:700;
}

.cr-dialectic-intro{
  padding:16px 18px;
  border:1px solid rgba(15,23,42,.08);
  border-radius:16px;
  background:#f8fafc;
  margin-bottom:18px;
}

.cr-dialectic-steps{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:10px;
}

.cr-dialectic-steps span{
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  padding:6px 12px;
  font-size:.82rem;
  font-weight:700;
  background:#fff;
  border:1px solid rgba(15,23,42,.08);
}

.cr-subsection-title{
  margin:0 0 12px;
  font-size:1rem;
  font-weight:800;
  color:#0f172a;
}

.cr-meta-fold{
  margin-top:30px;
}

.cr-meta-fold details{
  background:#fff;
  border:1px solid rgba(15,23,42,.06);
  border-radius:18px;
  padding:16px 18px;
}

.cr-meta-fold summary{
  cursor:pointer;
  font-weight:800;
  color:#0f172a;
  outline:none;
}

.cr-meta-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin-top:16px;
  color:#334155;
  font-size:.95rem;
}

.cr-meta-wide{
  grid-column:1 / -1;
}

.contentBlockScope img,
#mediaDescriptionBlock img,
#citationBlock img{
  max-width:100%;
  height:auto;
  border-radius:14px;
}

.contentBlockScope table,
#mediaDescriptionBlock table,
#citationBlock table{
  width:100%;
}

.cr-post-view .btn-rounded{
  border-radius:999px;
}

@media (max-width: 1199.98px){
  .cr-post-body-layout{
    grid-template-columns:1fr;
  }

  .cr-post-context{
    position:static;
  }
}

@media (max-width: 991.98px){
  .cr-post-hero-layout{
    grid-template-columns:1fr;
  }

  .cr-post-hero-editorial,
  .cr-density-card{
    border-radius:24px;
  }

  .cr-density-grid{
    grid-template-columns:1fr 1fr;
  }

  .cr-post-view{
    padding-bottom:34px;
  }
}

@media (max-width: 767.98px){
  .cr-post-hero-editorial{
    padding:24px;
  }

  .cr-density-card{
    padding:22px;
  }

  .cr-post-hero-title{
    font-size:2rem;
  }

  .cr-density-score{
    font-size:3.2rem;
  }

  .cr-density-grid,
  .cr-meta-grid{
    grid-template-columns:1fr;
  }

  .cr-context-author{
    align-items:flex-start;
  }
}

.cr-post-hero-subtitle{
  margin:0 0 14px;
  font-size:1.08rem;
  font-weight:700;
  line-height:1.5;
  color:#2563eb;
}

.cr-density-band-title{
  margin:2px 0 8px;
  font-size:1.15rem;
  font-weight:800;
  color:#fff;
}

.cr-density-band-desc{
  font-size:.96rem;
  line-height:1.65;
  color:rgba(255,255,255,.78);
  margin-bottom:16px;
}

.cr-density-card--initial{
  background:#334155;
}

.cr-density-card--building{
  background:#1d4ed8;
}

.cr-density-card--solid{
  background:#0f766e;
}

.cr-density-card--high{
  background:#166534;
}

.cr-post-view{
  padding: 20px 0 48px;
  background:
    radial-gradient(circle at top left, rgba(25,118,210,.05), transparent 28%),
    radial-gradient(circle at top right, rgba(46,125,50,.05), transparent 22%),
    #f7f9fc;
}

.cr-post-reading .card{
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(2,6,23,.05);
  overflow: hidden;
  background: #fff;
}

.cr-post-reading .card-block{
  padding: 18px;
}

.cr-post-reading h4{
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
}

.cr-post-reading ul{
  padding-left: 18px;
}

.cr-post-reading li{
  margin-bottom: 8px;
}

.cr-post-reading .contentBlockScope img{
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

/* =======================================
   POST EDITOR PAGE
======================================= */

.post-editor-page{
  background:
    radial-gradient(circle at top left, rgba(99,102,241,.06), transparent 30%),
    radial-gradient(circle at bottom right, rgba(34,197,94,.06), transparent 30%),
    #f8fafc;
}

/* container principal */

.post-editor-page .card{
  border-radius:20px;
  border:1px solid rgba(15,23,42,.06);
  box-shadow:0 12px 40px rgba(15,23,42,.06);
}

/* título */

.post-editor-page h1,
.post-editor-page h2{
  font-weight:900;
  letter-spacing:-0.02em;
  color:#0f172a;
}

/* inputs */

.post-editor-page input,
.post-editor-page textarea,
.post-editor-page select{

  border-radius:12px;
  border:1px solid rgba(15,23,42,.12);

  padding:10px 12px;

  transition:all .15s ease;
}

.post-editor-page input:focus,
.post-editor-page textarea:focus,
.post-editor-page select:focus{

  border-color:#6366f1;
  box-shadow:0 0 0 3px rgba(99,102,241,.12);
}

/* actions top */

.editor-top-actions{

  display:flex;
  align-items:center;
  gap:10px;

  margin-bottom:20px;

  padding:12px 16px;

  background:#fff;

  border-radius:14px;

  border:1px solid rgba(15,23,42,.06);

  box-shadow:0 10px 24px rgba(2,6,23,.05);

}

/* botões */

.editor-top-actions .btn{

  border-radius:999px;

  font-weight:700;

  padding:8px 16px;
}

/* hover premium */

.editor-top-actions .btn-primary{
  background:linear-gradient(135deg,#6366f1,#4f46e5);
  border:none;
}

.editor-top-actions .btn-primary:hover{
  transform:translateY(-1px);
  box-shadow:0 8px 18px rgba(99,102,241,.25);
}

/* upload cards */

.post-editor-page .upload-card{

  border:2px dashed rgba(15,23,42,.12);

  border-radius:16px;

  padding:20px;

  background:#fafafa;

  transition:all .2s ease;
}

.post-editor-page .upload-card:hover{

  border-color:#6366f1;

  background:#f8faff;

}

/* evidências */

.post-editor-page .evidence-block{

  border-radius:16px;

  border:1px solid rgba(15,23,42,.08);

  background:#fff;

  padding:16px;

  box-shadow:0 8px 24px rgba(2,6,23,.05);

}

.cognitive-card__powers{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin: 0 0 22px;
}

.cognitive-card__powers span{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 13px;
  border-radius:14px;
  background:rgba(167,243,208,.14);
  border:1px solid rgba(167,243,208,.25);
  color:#ecfdf5;
  font-size:13px;
  font-weight:800;
}

.cognitive-card__powers i{
  color:#a7f3d0;
}

.cognitive-card__powers span,
.cognitive-card__powers a,
.cognitive-power{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 13px;
  border-radius:14px;
  background:rgba(167,243,208,.14);
  border:1px solid rgba(167,243,208,.25);
  color:#ecfdf5;
  font-size:13px;
  font-weight:800;
  text-decoration:none;
}

.cognitive-card__powers a:hover,
.cognitive-power:hover{
  background:rgba(167,243,208,.25);
  color:#fff;
  text-decoration:none;
}