.romex-single-post{background:#fff}.rmx-article,.rmx-article *{box-sizing:border-box}.rmx-article{background:#fff;color:var(--rmx-text);font-family:"Urbanist",Arial,sans-serif}.rmx-article :where(h1,h2,h3,p){margin-top:0}.rmx-article :where(h1,h2,h3,.rmx-eyebrow,.rmx-btn){font-family:"Urbanist",Arial,sans-serif;word-break:normal;overflow-wrap:normal;hyphens:none}.rmx-article a{transition:color .2s ease,background-color .2s ease,border-color .2s ease,transform .2s ease}.rmx-article-hero{position:relative;padding:clamp(70px,7vw,104px) 0 clamp(80px,8vw,116px);background:#111513;color:#fff;overflow:hidden}.rmx-article-hero::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 82% 18%,rgba(185,193,123,.17),transparent 28%),linear-gradient(135deg,#101612 0%,#151d16 58%,#101511 100%)}.rmx-article-hero::after{content:"";position:absolute;right:-12%;bottom:-48%;width:680px;height:680px;border-radius:50%;border:1px solid rgba(185,193,123,.08);box-shadow:0 0 0 80px rgba(185,193,123,.018),0 0 0 160px rgba(185,193,123,.012)}.rmx-article-hero>.rmx-shell{position:relative;z-index:1}.rmx-article-back{display:inline-flex;align-items:center;gap:8px;margin-bottom:34px;color:rgba(255,255,255,.55)!important;font-size:12px;font-weight:750;text-decoration:none;text-transform:uppercase;letter-spacing:.08em}.rmx-article-back:hover{color:var(--rmx-green-2)!important}.rmx-article-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(390px,.72fr);gap:clamp(54px,7vw,100px);align-items:center}.rmx-article-hero .rmx-eyebrow{color:var(--rmx-green-2)}.rmx-article-hero h1{max-width:900px;margin-bottom:24px;color:#fff;font-size:clamp(46px,5vw,74px);font-weight:800;line-height:.98;letter-spacing:-.05em}.rmx-article-deck{max-width:720px;margin-bottom:24px;color:rgba(255,255,255,.72);font-size:19px;line-height:1.62}.rmx-article-meta{display:flex;gap:18px;flex-wrap:wrap;color:rgba(255,255,255,.46);font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.09em}.rmx-article-cover{position:relative;margin:0;min-height:410px;border:1px solid rgba(255,255,255,.12);border-radius:30px;overflow:hidden;background:#1b211c;box-shadow:0 26px 60px rgba(0,0,0,.28)}.rmx-article-cover img{width:100%;height:100%;min-height:410px;display:block;object-fit:cover}.rmx-article-cover.is-fallback{display:grid;place-items:center;padding:34px;background:radial-gradient(circle at 70% 25%,rgba(185,193,123,.16),transparent 30%),linear-gradient(145deg,#1a211b,#111713)}.rmx-article-cover.is-fallback img{width:min(84%,390px);height:auto;min-height:0;max-height:300px;object-fit:contain;filter:drop-shadow(0 20px 34px rgba(0,0,0,.28))}.rmx-article-cover figcaption{position:absolute;left:26px;right:26px;bottom:22px;display:grid;gap:4px}.rmx-article-cover figcaption small{color:var(--rmx-green-2);font-size:10px;font-weight:900;letter-spacing:.14em}.rmx-article-cover figcaption strong{color:#fff;font-size:16px;line-height:1.25}.rmx-article-body-section{padding:clamp(74px,7vw,108px) 0;background:#fff}.rmx-article-layout{display:grid;grid-template-columns:minmax(0,760px) minmax(280px,.48fr);gap:clamp(56px,8vw,112px);align-items:start}.rmx-article-body{max-width:760px;color:#3d453a;font-size:18px;line-height:1.8}.rmx-article-body-intro{display:grid;grid-template-columns:90px 1fr;gap:24px;align-items:start;margin-bottom:34px;padding-bottom:28px;border-bottom:1px solid rgba(38,38,38,.1)}.rmx-article-body-intro span{color:var(--rmx-green-text);font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.12em}.rmx-article-body-intro p{margin:0;color:#4f594d;font-size:17px;line-height:1.55}.rmx-article-body>*:first-child{margin-top:0}.rmx-article-body h2{margin:52px 0 18px;color:var(--rmx-text);font-size:clamp(30px,3vw,42px);font-weight:800;line-height:1.08;letter-spacing:-.035em}.rmx-article-body h3{margin:38px 0 14px;color:var(--rmx-text);font-size:26px;font-weight:800;line-height:1.14}.rmx-article-body p{margin:0 0 24px}.rmx-article-body ul,.rmx-article-body ol{margin:0 0 28px;padding-left:24px}.rmx-article-body li+li{margin-top:8px}.rmx-article-body a{color:var(--rmx-green-text);font-weight:800}.rmx-article-side{position:sticky;top:120px}.rmx-article-side-card{padding:30px;border:1px solid rgba(38,38,38,.09);border-radius:24px;background:linear-gradient(145deg,#f4f6eb,#eef2df);box-shadow:0 18px 40px rgba(55,64,47,.06)}.rmx-article-side-card .rmx-eyebrow{color:var(--rmx-green-text)}.rmx-article-side-card h2{margin:0 0 14px;font-size:30px;font-weight:800;line-height:1.08;letter-spacing:-.03em}.rmx-article-side-card p:not(.rmx-eyebrow){color:var(--rmx-muted);font-size:15px;line-height:1.58}.rmx-article-side-card .rmx-btn{width:100%;margin-top:14px}.rmx-article-related{padding:clamp(74px,7vw,104px) 0;background:#f3f5ea}.rmx-article-related-head{display:flex;align-items:end;justify-content:space-between;gap:40px;margin-bottom:38px}.rmx-article-related-head h2{max-width:720px;margin:0;font-size:clamp(34px,3.8vw,52px);font-weight:800;line-height:1.04;letter-spacing:-.04em}.rmx-article-related-head>a{color:var(--rmx-green-text)!important;font-weight:800;text-decoration:none}.rmx-article-related-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.rmx-article-related-grid article{display:grid;grid-template-columns:260px 1fr;min-height:230px;overflow:hidden;border:1px solid rgba(38,38,38,.1);border-radius:22px;background:#fff}.rmx-article-related-media{display:grid;min-height:230px;place-items:center;overflow:hidden;text-decoration:none}.rmx-article-related-media img{width:100%;height:100%;object-fit:cover}.rmx-article-related-media.is-fallback{background:radial-gradient(circle at 75% 22%,rgba(185,193,123,.22),transparent 25%),linear-gradient(145deg,#1a211b,#111713)}.rmx-article-related-media.is-fallback span{display:grid;gap:18px;padding:24px;color:#fff}.rmx-article-related-media.is-fallback small{color:var(--rmx-green-2);font-size:10px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.rmx-article-related-media.is-fallback strong{font-size:28px;letter-spacing:.15em}.rmx-article-related-grid article>div{display:flex;flex-direction:column;padding:24px}.rmx-article-related-grid article>div>p{margin:0 0 12px;color:var(--rmx-green-text);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.rmx-article-related-grid h3{margin:0 0 20px;font-size:22px;font-weight:800;line-height:1.16}.rmx-article-related-grid h3 a{color:var(--rmx-text)!important;text-decoration:none}.rmx-article-related-read{margin-top:auto;width:max-content;color:var(--rmx-green-text)!important;font-weight:800;text-decoration:none}.rmx-article-footer{padding:clamp(66px,6vw,90px) 0;background:#f3f5ea}.rmx-article-footer-inner{display:flex;align-items:center;justify-content:space-between;gap:42px}.rmx-article-footer-inner h2{margin:0;font-size:clamp(32px,3.5vw,48px);font-weight:800;line-height:1.04}.rmx-article-footer .is-ghost{border-color:rgba(38,38,38,.18);color:var(--rmx-text)!important}.rmx-article :focus-visible{outline:3px solid var(--rmx-green-text);outline-offset:3px}
@media(max-width:1100px){.rmx-article-related-grid article{grid-template-columns:210px 1fr}.rmx-article-layout{grid-template-columns:minmax(0,1fr) 300px;gap:50px}}
@media(max-width:900px){.rmx-article-hero-grid,.rmx-article-layout{grid-template-columns:1fr}.rmx-article-hero-copy{text-align:center}.rmx-article-meta{justify-content:center}.rmx-article-deck{margin-left:auto;margin-right:auto}.rmx-article-cover{width:min(100%,680px);margin:auto}.rmx-article-side{position:static}.rmx-article-side-card{width:min(100%,680px);margin:auto}.rmx-article-related-head{align-items:flex-start;flex-direction:column}.rmx-article-related-grid{grid-template-columns:1fr}.rmx-article-related-grid article{grid-template-columns:240px 1fr}.rmx-article-footer-inner{align-items:flex-start;flex-direction:column}}
@media(max-width:620px){.rmx-article-hero{padding:58px 0 68px}.rmx-article-back{margin-bottom:26px}.rmx-article-hero h1{font-size:clamp(38px,11.5vw,49px);line-height:.99}.rmx-article-deck{font-size:16px}.rmx-article-meta{gap:10px 14px}.rmx-article-cover{min-height:270px;border-radius:24px}.rmx-article-cover img{min-height:270px}.rmx-article-cover.is-fallback{padding:22px}.rmx-article-cover.is-fallback img{width:min(90%,280px);max-height:220px;min-height:0}.rmx-article-cover figcaption{left:18px;right:18px;bottom:16px}.rmx-article-body-section{padding:62px 0}.rmx-article-body{font-size:17px;line-height:1.72}.rmx-article-body-intro{grid-template-columns:1fr;gap:8px;margin-bottom:28px}.rmx-article-body h2{margin-top:40px;font-size:32px}.rmx-article-body h3{font-size:24px}.rmx-article-side-card{padding:24px;text-align:center}.rmx-article-related{padding:62px 0}.rmx-article-related-head{text-align:center;align-items:center}.rmx-article-related-grid article{grid-template-columns:1fr}.rmx-article-related-media{min-height:190px}.rmx-article-related-grid article>div{padding:22px}.rmx-article-related-grid h3{font-size:21px}.rmx-article-footer{padding:62px 0}.rmx-article-footer-inner{text-align:center;align-items:stretch}.rmx-article-footer .rmx-btn{width:100%}}
@media(prefers-reduced-motion:reduce){.rmx-article *,.rmx-article *::before,.rmx-article *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* ==========================================================
   SINGLE POST V2 — contrato Romex + hero editorial refinado
   A página dinâmica passa a usar o mesmo shell/tokens das
   páginas institucionais e deixa de renderizar em full width.
   ========================================================== */
.romex-single-post .rmx-article{
  width:100%;
  max-width:100%;
  overflow-x:clip;
}

.rmx-article-hero{
  padding-top:clamp(64px,6vw,88px);
}

.rmx-article-hero-grid{
  grid-template-columns:minmax(0,1.08fr) minmax(360px,.72fr);
}

.rmx-article-hero-copy{
  padding-right:clamp(0px,2vw,24px);
}

.rmx-article-back{
  margin-bottom:28px;
}

.rmx-article-cover{
  min-height:390px;
}

.rmx-article-cover.is-fallback{
  background:
    radial-gradient(circle at 72% 22%,rgba(185,193,123,.18),transparent 28%),
    linear-gradient(155deg,#1a211b 0%,#101612 100%);
}

.rmx-article-cover.is-fallback::before{
  content:"";
  position:absolute;
  inset:18px;
  border:1px solid rgba(255,255,255,.06);
  border-radius:22px;
  pointer-events:none;
}

.rmx-article-cover.is-fallback figcaption{
  left:30px;
  right:30px;
  bottom:24px;
}

.rmx-article-body-section{
  position:relative;
}

.rmx-article-body-section::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:1px;
  background:rgba(38,38,38,.06);
}

@media(max-width:1120px){
  body.romex-single-post > header[data-elementor-id="3444"]{
    height:72px!important;
    min-height:72px!important;
    margin:0!important;
    padding:0!important;
    background:transparent!important;
    overflow:visible!important;
  }
}

@media(max-width:767px){
  body.romex-single-post > header[data-elementor-id="3444"]{
    height:68px!important;
    min-height:68px!important;
  }
}

@media(max-width:480px){
  body.romex-single-post > header[data-elementor-id="3444"]{
    height:64px!important;
    min-height:64px!important;
  }
}

@media(max-width:900px){
  .rmx-article-hero-grid{
    grid-template-columns:1fr;
    gap:42px;
  }
  .rmx-article-hero-copy{
    padding-right:0;
  }
}

@media(max-width:620px){
  .rmx-article-hero{
    padding-top:52px;
  }
  .rmx-article-back{
    justify-content:center;
    width:100%;
  }
  .rmx-article-cover{
    min-height:250px;
  }
  .rmx-article-cover.is-fallback figcaption{
    left:18px;
    right:18px;
    bottom:16px;
  }
}


/* ==========================================================
   SINGLE POST V3 — hero com identidade editorial própria
   Mantém o shell Romex e adiciona profundidade sem repetir
   o hero do hub de Conteúdo.
   ========================================================== */
.rmx-article-hero{
  isolation:isolate;
  background:#101612!important;
}
.rmx-article-hero::before{
  z-index:-2;
  background:
    linear-gradient(90deg,rgba(14,19,15,.97) 0%,rgba(14,19,15,.90) 48%,rgba(14,19,15,.58) 100%),
    var(--rmx-article-hero-bg) center/cover no-repeat!important;
  opacity:.96;
}
.rmx-article-hero::after{
  z-index:-1;
  right:-10%;
  bottom:-55%;
  width:720px;
  height:720px;
  border:0;
  background:
    radial-gradient(circle,rgba(185,193,123,.16) 0%,rgba(185,193,123,.07) 28%,transparent 67%);
  box-shadow:none;
}
.rmx-article-hero>.rmx-shell::before{
  content:"";
  position:absolute;
  left:0;
  top:34px;
  width:120px;
  height:1px;
  background:linear-gradient(90deg,var(--rmx-green-2),transparent);
  opacity:.72;
  pointer-events:none;
}
.rmx-article-hero>.rmx-shell::after{
  content:"";
  position:absolute;
  right:8%;
  top:14%;
  width:180px;
  height:180px;
  border:1px solid rgba(185,193,123,.08);
  border-radius:50%;
  pointer-events:none;
}
.rmx-article-cover{
  backdrop-filter:blur(6px);
  background:linear-gradient(145deg,rgba(28,35,29,.92),rgba(15,20,16,.88));
}
.rmx-article-cover.is-fallback{
  background:
    linear-gradient(180deg,rgba(16,22,17,.10),rgba(16,22,17,.28)),
    radial-gradient(circle at 72% 22%,rgba(185,193,123,.18),transparent 28%),
    linear-gradient(155deg,rgba(28,36,29,.96),rgba(15,20,16,.96));
}
.rmx-article-cover.is-fallback::after{
  content:"";
  position:absolute;
  inset:auto 24px 22px auto;
  width:54px;
  height:54px;
  border:1px solid rgba(185,193,123,.16);
  border-radius:50%;
  box-shadow:
    0 0 0 18px rgba(185,193,123,.025),
    0 0 0 36px rgba(185,193,123,.015);
  pointer-events:none;
}
.rmx-article-hero-copy::after{
  content:"";
  display:block;
  width:86px;
  height:4px;
  margin-top:30px;
  border-radius:99px;
  background:linear-gradient(90deg,var(--rmx-green),var(--rmx-green-2));
  opacity:.8;
}
@media(max-width:900px){
  .rmx-article-hero>.rmx-shell::before,
  .rmx-article-hero>.rmx-shell::after{
    display:none;
  }
  .rmx-article-hero::before{
    background:
      linear-gradient(180deg,rgba(14,19,15,.96) 0%,rgba(14,19,15,.88) 58%,rgba(14,19,15,.72) 100%),
      var(--rmx-article-hero-bg) center/cover no-repeat!important;
  }
  .rmx-article-hero-copy::after{
    margin-left:auto;
    margin-right:auto;
  }
}
@media(max-width:620px){
  .rmx-article-hero::after{
    width:420px;
    height:420px;
    right:-45%;
    bottom:-28%;
  }
}


/* ==========================================================
   SINGLE POST V4 — CTA editorial dinâmico
   O CTA é renderizado pelo template em todos os posts e usa
   o título atual para contextualizar a conversa no WhatsApp.
   ========================================================== */
.rmx-article-body a[href*="wa.me"],
.rmx-article-body a[href*="api.whatsapp.com"]{
  color:inherit;
  text-decoration:none;
  font-weight:800;
}
.rmx-article-body a[href*="wa.me"]:hover,
.rmx-article-body a[href*="api.whatsapp.com"]:hover{
  color:var(--rmx-green-text);
}
.rmx-article-inline-cta{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:28px;
  align-items:center;
  margin-top:56px;
  padding:30px;
  border:1px solid rgba(38,38,38,.09);
  border-radius:24px;
  background:linear-gradient(145deg,#f4f6eb,#eef2df);
  box-shadow:0 18px 40px rgba(55,64,47,.06);
}
.rmx-article-inline-cta .rmx-eyebrow{
  margin-bottom:8px;
  color:var(--rmx-green-text);
}
.rmx-article-inline-cta h2{
  margin:0 0 10px;
  font-size:clamp(26px,2.6vw,34px);
  line-height:1.08;
}
.rmx-article-inline-cta-copy>p:last-child{
  margin:0;
  color:var(--rmx-muted);
  font-size:15px;
  line-height:1.58;
}
.rmx-article-inline-cta-link{
  min-width:190px;
  justify-content:center;
  text-decoration:none!important;
}
@media(max-width:620px){
  .rmx-article-inline-cta{
    grid-template-columns:1fr;
    margin-top:42px;
    padding:24px;
    text-align:center;
  }
  .rmx-article-inline-cta-link{
    width:100%;
  }
}
