/* The REDKEYS blog (redkeys-license docs/26): the post body (classes rk-*, made by the central's
   blog-blocos.js) and the blog's pages, in the site's style (ESTILO.md): flat #1C1C1E cards, radius 8,
   one red action colour, Inter, the same uppercase buttons.
   The post, as the Sunday Sounds blog lays it out (measured 2026-10-29 on its last 10 posts): a full-width
   banner with the title in a translucent dark box, then the text on a WHITE sheet (dark text, ~800 px
   column, 28 px between paragraphs). The brand blocks (call-out, product, capture, video) stay dark
   rounded cards on that sheet. The author, 2026-10-29: the editor shows the same colours that go live.
   Two homes: the site (after site.css) and the central's post editor, which loads this file inside a
   Shadow DOM — so the tokens are set on :host too, and every body style lives under .rk-corpo and
   stands on its own (buttons included). */
:host, :root {
  --fundo: #000; --sup: #1c1c1e; --sup2: #262628; --linha: rgba(255, 255, 255, 0.09); --linha2: rgba(255, 255, 255, 0.16);
  --texto: #f2f2f4; --forte: #fff; --suave: #b6b6c0; --apagado: #80808c;
  --acao: #e0294a; --acao2: #f0335a; --rosa: #ff7c96; --magenta: #c2259b;
  --coluna: 780px; /* the page gutter (--lado) is the site's: 20 px, 32 px from 720 px */
}
/* the white sheet of a post: the same tokens, light — every rk-* block follows */
.blog-folha {
  --fundo: #fff; --sup: #f3f3f5; --sup2: #e8e8ec; --linha: rgba(0, 0, 0, 0.09); --linha2: rgba(0, 0, 0, 0.18);
  --texto: #26262c; --forte: #0b0b0e; --suave: #4d4d56; --apagado: #6e6e78; --rosa: #c81e3e; --acao2: #c81e3e;
  background: #fff; color: var(--texto); color-scheme: light; /* the form controls light, as on paper */
}
/* the brand blocks keep the site's dark card on the sheet */
.blog-folha .rk-chamada, .blog-folha .rk-produto-cheio, .blog-folha .rk-video {
  --fundo: #000; --sup: #1c1c1e; --sup2: #262628; --linha: rgba(255, 255, 255, 0.09); --linha2: rgba(255, 255, 255, 0.16);
  --texto: #f2f2f4; --forte: #fff; --suave: #b6b6c0; --apagado: #80808c; --rosa: #ff7c96; --acao2: #f0335a;
  color: var(--texto); color-scheme: dark;
}

/* ══ 1. THE POST BODY ════════════════════════════════════════════════════ */

.rk-corpo { color: var(--texto); font: 400 1.075rem/1.75 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; overflow-wrap: break-word; }
.rk-corpo *, .rk-corpo *::before, .rk-corpo *::after { box-sizing: border-box; }
.rk-corpo > * { margin-top: 0; margin-bottom: 28px; }
.rk-corpo > :last-child { margin-bottom: 0; }
.rk-corpo a:not(.botao) { color: var(--forte); text-decoration: underline; text-decoration-color: var(--acao2); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.blog-folha .rk-corpo a:not(.botao) { color: var(--acao2); }
.rk-corpo a:not(.botao):hover { text-decoration-color: var(--forte); }
.rk-corpo strong { color: var(--forte); font-weight: 700; }
.rk-corpo code { font: 0.88em/1.4 ui-monospace, "Cascadia Code", Consolas, monospace; padding: 2px 6px; border-radius: 5px; background: var(--sup); color: var(--texto); }
.rk-corpo img { max-width: 100%; height: auto; display: block; }

.rk-corpo .rk-p { color: var(--texto); }
.rk-corpo .rk-h2, .rk-corpo .rk-h3 { color: var(--forte); font-weight: 700; letter-spacing: -0.02em; scroll-margin-top: 84px; }
.rk-corpo .rk-h2 { font-size: clamp(1.65rem, 3.4vw, 2.1rem); line-height: 1.15; margin: 52px 0 18px; }
.rk-corpo .rk-h3 { font-size: clamp(1.2rem, 2.4vw, 1.4rem); line-height: 1.3; margin: 34px 0 12px; letter-spacing: -0.01em; }
.rk-corpo > .rk-h2:first-child, .rk-corpo > .rk-h3:first-child { margin-top: 0; }

.rk-corpo .rk-lista { padding-left: 1.4em; }
.rk-corpo .rk-lista li { margin: 0 0 10px; padding-left: 4px; }
.rk-corpo ul.rk-lista li::marker { color: var(--acao2); }
.rk-corpo ol.rk-lista li::marker { color: var(--rosa); font-weight: 700; }

.rk-corpo .rk-citacao { margin-left: 0; margin-right: 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--acao); }
.rk-corpo .rk-citacao p { margin: 0; color: var(--forte); font-size: 1.3rem; line-height: 1.55; font-weight: 700; letter-spacing: 0.01em; }
.rk-corpo .rk-citacao cite { display: block; margin-top: 10px; color: var(--apagado); font-size: 0.9rem; font-style: normal; font-weight: 600; }
.rk-corpo .rk-citacao cite::before { content: "— "; }

.rk-corpo .rk-aviso { display: grid; gap: 4px; padding: 18px 22px; border-radius: 8px; background: var(--sup); border-left: 3px solid var(--rosa); }
.rk-corpo .rk-aviso strong { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rosa); }
.rk-corpo .rk-aviso p { margin: 0; color: var(--texto); font-size: 1rem; line-height: 1.65; }
.rk-corpo .rk-aviso-atencao { border-left-color: #f2b33d; }
.rk-corpo .rk-aviso-atencao strong { color: #f2b33d; }
.blog-folha .rk-aviso-atencao strong { color: #9a6200; }
.blog-folha .rk-aviso-importante strong { color: #c81e3e; }
.rk-corpo .rk-aviso-importante { border-left-color: var(--acao); background: linear-gradient(110deg, rgba(224, 41, 74, 0.16), var(--sup) 60%); }
.rk-corpo .rk-aviso-importante strong { color: #ff9aae; }

.rk-corpo .rk-tabela { overflow-x: auto; border-radius: 8px; background: var(--sup); -webkit-overflow-scrolling: touch; }
.rk-corpo .rk-tabela table { width: 100%; border-collapse: collapse; font-size: 0.95rem; line-height: 1.5; }
.rk-corpo .rk-tabela th, .rk-corpo .rk-tabela td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--linha); }
.rk-corpo .rk-tabela th { background: var(--sup2); color: var(--forte); font-weight: 700; white-space: nowrap; }
.rk-corpo .rk-tabela td { color: var(--suave); }
.rk-corpo .rk-tabela tr:last-child td { border-bottom: 0; }

.rk-corpo .rk-perguntas { display: grid; gap: 10px; }
.rk-corpo .rk-perguntas details { background: var(--sup); border-radius: 8px; }
.rk-corpo .rk-perguntas summary { position: relative; cursor: pointer; list-style: none; padding: 20px 60px 20px 22px; color: var(--forte); font-weight: 700; line-height: 1.4; }
.rk-corpo .rk-perguntas summary::-webkit-details-marker { display: none; }
.rk-corpo .rk-perguntas summary::after { content: "+"; position: absolute; right: 18px; top: 50%; margin-top: -13px; width: 26px; height: 26px; border-radius: 50%; background: var(--acao); color: #fff; font-size: 1.1rem; font-weight: 700; line-height: 26px; text-align: center; }
.rk-corpo .rk-perguntas details[open] summary::after { content: "−"; }
.rk-corpo .rk-perguntas details p { margin: 0; padding: 0 22px 22px; color: var(--suave); font-size: 1rem; }

.rk-corpo .rk-figura { margin-left: 0; margin-right: 0; }
.rk-corpo .rk-figura img { width: 100%; border-radius: 8px; background: var(--sup); }
.rk-corpo figcaption { margin-top: 10px; color: var(--apagado); font-size: 0.88rem; line-height: 1.5; text-align: center; }
.rk-corpo .rk-galeria { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.rk-corpo .rk-galeria figure { margin: 0; }
.rk-corpo .rk-galeria img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; background: var(--sup); }
.rk-corpo .rk-vazio { aspect-ratio: 16 / 9; border-radius: 8px; border: 1px dashed var(--linha2); background: var(--sup); }

/* the video: the still and a play button; the player only after a click (site.js) */
.rk-corpo .rk-video { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; background: #0b0b0d; cursor: pointer; margin-bottom: 44px; }
.rk-corpo .rk-video img, .rk-corpo .rk-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; border-radius: 8px; }
.rk-corpo .rk-video-play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border: 0; border-radius: 50%; background: var(--acao); cursor: pointer; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); transition: opacity 0.3s ease-out; }
.rk-corpo .rk-video-play::after { content: ""; position: absolute; left: 29px; top: 23px; border: 13px solid transparent; border-left: 20px solid #fff; border-right: 0; }
.rk-corpo .rk-video:hover .rk-video-play { opacity: 0.85; }
.rk-corpo .rk-video-link { position: absolute; left: 0; right: 0; top: 100%; padding-top: 10px; color: var(--apagado) !important; font-size: 0.88rem; text-align: center; text-decoration: none !important; }
.rk-corpo .rk-video-tocando { cursor: default; }

/* the app screen: the site puts the real screen in its device frame (site.css .mk); empty in the editor */
.rk-corpo .rk-tela { margin-left: 0; margin-right: 0; }
.rk-corpo .rk-tela-cheia { padding: 8px 4% 4px; }
.rk-corpo .rk-tela:not(.rk-tela-cheia)::before { content: attr(data-rk-tela); display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; border-radius: 8px; border: 1px dashed var(--linha2); background: var(--sup); color: var(--apagado); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }

/* the buttons, as the site's (they stand alone in the editor) */
.rk-corpo .botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 44px;
  background: var(--acao); color: #fff; font: 700 0.875rem/1.2 "Inter", system-ui, sans-serif; letter-spacing: 0.02em; text-transform: uppercase; text-decoration: none;
  border: 0; border-radius: 8px; cursor: pointer; transition: opacity 0.3s ease-out;
}
.rk-corpo .botao:hover { opacity: 0.82; }
.rk-corpo .botao.fantasma { background: rgba(255, 255, 255, 0.06); border: 1px solid var(--linha2); padding: 0 26px; }
.blog-folha .rk-corpo > .rk-botoes .botao.fantasma { background: transparent; border-color: var(--acao); color: var(--acao); }
.rk-corpo .rk-botoes { display: flex; flex-wrap: wrap; gap: 12px; }
.rk-corpo .rk-botoes.rk-centro { justify-content: center; }

/* the call-out strip: the site's light behind it */
.rk-corpo .rk-chamada { position: relative; max-width: none; margin-left: 0; margin-right: 0; padding: 34px 26px; border-radius: 12px; overflow: hidden; text-align: center; isolation: isolate;
  background: radial-gradient(70% 90% at 15% 0%, rgba(226, 34, 74, 0.45), transparent 70%), radial-gradient(70% 90% at 90% 100%, rgba(194, 37, 155, 0.5), transparent 70%), var(--sup); }
.rk-corpo .rk-chamada h2 { margin: 0 0 10px; color: var(--forte); font-size: clamp(1.4rem, 3vw, 1.8rem); line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; }
.rk-corpo .rk-chamada p { margin: 0 auto 20px; max-width: 520px; color: #ececf0; }
.rk-corpo .rk-chamada .botao { margin-top: 4px; }

/* the product card: filled by the site with the panel's price; a marker in the editor */
.rk-corpo .rk-produto:empty { min-height: 120px; border-radius: 8px; border: 1px dashed var(--linha2); background: var(--sup); }
.rk-corpo .rk-produto:empty::before { content: "REDKEYS · " attr(data-rk-produto); display: flex; align-items: center; justify-content: center; min-height: 120px; color: var(--apagado); font-size: 0.85rem; letter-spacing: 0.08em; }
.rk-corpo .rk-produto-cheio { display: grid; gap: 16px; padding: 26px; border-radius: 12px; background: var(--sup); border: 0.8px solid var(--acao); box-shadow: 0 30px 70px -30px rgba(224, 41, 74, 0.45); }
.rk-corpo .rk-produto-topo { display: flex; align-items: center; gap: 14px; }
.rk-corpo .rk-produto-topo img { width: 44px; height: 44px; border-radius: 10px; }
.rk-corpo .rk-produto-topo p { margin: 0; display: grid; line-height: 1.3; }
.rk-corpo .rk-produto-topo strong { font-size: 1.15rem; }
.rk-corpo .rk-produto-topo span { color: var(--rosa); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.rk-corpo .rk-produto-itens { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rk-corpo .rk-produto-itens li { position: relative; padding-left: 26px; color: var(--suave); font-size: 0.95rem; line-height: 1.5; }
.rk-corpo .rk-produto-itens li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--acao); }
.rk-corpo .rk-produto-itens li::after { content: ""; position: absolute; left: 5px; top: 8.5px; width: 6px; height: 3px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.rk-corpo .rk-produto-valor { margin: 0; display: flex; align-items: baseline; gap: 12px; }
.rk-corpo .rk-produto-valor strong { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.03em; }
.rk-corpo .rk-produto-valor s { color: var(--apagado); font-size: 1.05rem; }
.rk-corpo .rk-produto-acoes { display: flex; flex-wrap: wrap; gap: 10px; }
.rk-corpo .rk-produto-acoes .botao { flex: 1 1 200px; padding: 0 20px; }
.rk-corpo a.rk-produto-outra { color: var(--suave); font-size: 0.9rem; text-decoration: none; }

/* the capture form: any capture of the central — a newsletter (there will be several), a free download, a
   lead magnet. The author, 2026-10-30: closer to the newsletter that closes every page, but light, so it
   stands out without shocking the post. So the same build as that section — centred, the REDKEYS icon, the
   red label with its drawing, a big title, the line under it, underlined fields in a narrow column, the red
   button across. Then (same day): "contrast, but less flat colours" — the card is a visible soft gradient
   (rose to lilac) with the brand's lights over it, and the fields are white boxes, so they stand out. */
.rk-corpo .rk-captura { position: relative; isolation: isolate; overflow: hidden; max-width: none; margin: 40px 0; padding: 34px 22px 28px; border-radius: 8px; text-align: center;
  background: linear-gradient(140deg, #fff0f3 0%, #fbe9f5 50%, #efe8ff 100%); border: 1px solid rgba(194, 37, 155, 0.24);
  box-shadow: 0 26px 50px -34px rgba(194, 37, 155, 0.5); }
.rk-corpo .rk-captura::before { content: ""; position: absolute; inset: 0 -30%; z-index: -1; pointer-events: none;
  background: radial-gradient(30% 60% at 18% 18%, rgba(224, 41, 74, 0.16), transparent 70%), radial-gradient(30% 60% at 84% 82%, rgba(130, 30, 170, 0.14), transparent 70%), radial-gradient(24% 40% at 50% 100%, rgba(194, 37, 155, 0.10), transparent 70%); }
/* the REDKEYS icon on top, as on the newsletter section (relative to this file: /assets/redkeys-icon.svg) */
.rk-corpo .rk-captura > .rk-captura-selo { display: block; max-width: none; margin: 0 auto 12px; padding: 0; background: none; color: #c81e3e; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.rk-corpo .rk-captura > .rk-captura-selo::before, .rk-corpo .rk-captura > h2:first-child::before { content: ""; display: block; width: 44px; height: 44px; margin: 0 auto 16px; border-radius: 10px; background: url("redkeys-icon.svg") center / contain no-repeat; }
.rk-corpo .rk-captura > .rk-captura-selo svg { width: 15px; height: 15px; margin: 0 6px 0 0; vertical-align: -2px; }
.rk-corpo .rk-captura h2 { margin: 0 0 10px; color: #0b0b0e; font-size: clamp(1.6rem, 3.4vw, 2.1rem); line-height: 1.12; font-weight: 800; letter-spacing: -0.03em; }
.rk-corpo .rk-captura > p { max-width: 520px; margin: 0 auto 24px; color: #3d3d46; font-size: 1rem; line-height: 1.55; }
.rk-corpo .rk-captura-form { display: grid; gap: 14px; width: 100%; max-width: 480px; margin: 0 auto; text-align: left; }
.rk-corpo .rk-captura-form label { display: grid; gap: 6px; font-size: 0.84rem; font-weight: 600; color: #3d3d46; }
.rk-corpo .rk-captura-form input[type="email"], .rk-corpo .rk-captura-form input:not([type]) { width: 100%; min-height: 48px; padding: 0 14px; background: #fff; border: 1px solid rgba(11, 11, 14, 0.14); border-radius: 8px; color: #0b0b0e; font: inherit; font-size: 1rem; font-weight: 400; box-shadow: 0 1px 2px rgba(11, 11, 14, 0.04); }
.rk-corpo .rk-captura-form input:focus { outline: none; border-color: var(--acao); box-shadow: 0 0 0 3px rgba(224, 41, 74, 0.16); }
.rk-corpo .rk-captura-form .aceite { grid-template-columns: auto 1fr; align-items: start; gap: 10px; font-size: 0.84rem; font-weight: 400; line-height: 1.5; color: #3d3d46; }
.rk-corpo .rk-captura-form .aceite input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--acao); }
.rk-corpo .rk-captura-form .aceite a { color: #c81e3e; }
.rk-corpo .rk-captura-form .botao { width: 100%; min-height: 52px; margin-top: 4px; }
.rk-corpo .rk-captura-form .retorno:empty { display: none; }
.rk-corpo .rk-captura-form .retorno.ok { color: #1f8a43; }
.rk-corpo .rk-captura-form .retorno.erro { color: #c81e3e; }
.rk-corpo .armadilha { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rk-corpo .retorno { min-height: 1.6em; margin: 0; color: var(--suave); font-size: 0.95rem; }
.rk-corpo .retorno.ok { color: #46d369; }
.rk-corpo .retorno.erro { color: #e87c86; }

.rk-corpo .rk-divisor { height: 0; margin: 44px auto; border: 0; border-top: 1px solid var(--linha2); width: 120px; }

@media (min-width: 720px) {
  .rk-corpo .rk-galeria { grid-template-columns: repeat(3, 1fr); }
  .rk-corpo .rk-chamada { padding: 44px 48px; }
  .rk-corpo .rk-captura { padding: 48px 56px 40px; }
  .rk-corpo .rk-produto-cheio { padding: 32px; }
}
/* the wide picture leaves the column on large screens */
@media (min-width: 1000px) {
  .rk-corpo .rk-larga { margin-left: -120px; margin-right: -120px; }
}

/* ══ 2. THE BLOG'S PAGES (on the site, after site.css) ═══════════════════ */

.blog-pagina { padding-bottom: 24px; }
.blog .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.blog-pagina > header, .blog-abas, .blog-topo-destaque, .blog-grade, .blog-vazio, .blog-paginas, .blog-relacionados, .blog-aviso-previa { max-width: var(--largura, 1200px); margin-left: auto; margin-right: auto; padding-left: var(--lado, 20px); padding-right: var(--lado, 20px); }
.blog-rotulo { margin: 0 0 12px; color: var(--rosa); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }

/* breadcrumb */
.blog-trilha ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0 0 22px; padding: 0; font-size: 0.85rem; color: var(--apagado); }
.blog-trilha li { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.blog-trilha li + li::before { content: "›"; color: var(--apagado); }
.blog-trilha a { color: var(--suave); text-decoration: none; }
.blog-trilha a:hover { color: var(--forte); }
.blog-trilha [aria-current] { color: var(--apagado); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; }

/* the list head */
.blog-cabeca { position: relative; padding-top: 40px; padding-bottom: 10px; }
.blog-cabeca::before { content: ""; position: absolute; inset: -80px -30% 0; z-index: -1; pointer-events: none; background: radial-gradient(40% 70% at 80% 20%, rgba(226, 34, 74, 0.32), transparent 70%), radial-gradient(36% 60% at 100% 60%, rgba(194, 37, 155, 0.3), transparent 70%); }
.blog-cabeca h1 { font-size: clamp(2.3rem, 5.4vw, 3.8rem); margin-bottom: 14px; }
.blog-cabeca .sub { margin-bottom: 0; }
.blog-cabeca-autor { display: grid; justify-items: start; }
.blog-autor-foto { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.blog-autor-foto.grande { width: 96px; height: 96px; margin-bottom: 18px; box-shadow: 0 0 0 3px var(--sup), 0 0 0 4px var(--acao2); }
.blog-autor-links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; }
.blog-autor-links a { display: inline-block; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--linha2); color: var(--texto); font-size: 0.85rem; text-decoration: none; }

/* search */
.blog-busca { display: flex; gap: 10px; margin-top: 26px; max-width: 520px; }
.blog-busca-campo { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 0 14px; min-height: 44px; border-radius: 8px; background: var(--sup); border: 1px solid var(--linha); color: var(--apagado); }
.blog-busca-campo:focus-within { border-color: var(--acao2); }
.blog-busca input { flex: 1; min-width: 0; height: 42px; border: 0; background: none; color: var(--forte); font: inherit; font-size: 1rem; }
.blog-busca input:focus { outline: none; }
.blog-busca .botao.pequeno { min-height: 44px; }

/* category tabs: a row that scrolls sideways on phones */
.blog-abas { display: flex; gap: 8px; margin-top: 26px; margin-bottom: 8px; overflow-x: auto; scrollbar-width: none; }
.blog-abas::-webkit-scrollbar { display: none; }
.blog-abas a { flex: none; padding: 9px 16px; border-radius: 999px; border: 0.8px solid rgba(255, 255, 255, 0.4); color: var(--texto); font-size: 0.88rem; font-weight: 600; text-decoration: none; white-space: nowrap; transition: opacity 0.3s ease-out; }
.blog-abas a:hover { opacity: 0.8; }
.blog-abas a[aria-current] { border-color: var(--acao2); background: rgba(224, 41, 74, 0.16); color: #fff; }

/* cards */
.blog-grade { display: grid; gap: 18px; margin-top: 26px; }
.blog-cartao { display: flex; flex-direction: column; background: var(--sup); border-radius: 8px; overflow: hidden; transition: opacity 0.3s ease-out; min-width: 0; }
.blog-cartao:hover { opacity: 0.92; }
.blog-cartao-capa { display: block; aspect-ratio: 16 / 9; background: #0b0b0d; overflow: hidden; }
.blog-cartao-capa img { width: 100%; height: 100%; object-fit: cover; }
.blog-capa-vazia { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: radial-gradient(60% 80% at 30% 20%, rgba(226, 34, 74, 0.35), transparent 70%), radial-gradient(60% 80% at 90% 100%, rgba(194, 37, 155, 0.35), transparent 70%), #0b0b0d; }
.blog-capa-vazia img { width: 48px; height: 48px; border-radius: 11px; opacity: 0.9; }
.blog-cartao-texto { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.blog-cartao-texto .selo { margin: 0; }
.blog-cartao h2, .blog-cartao h3 { margin: 0; font-size: 1.3rem; line-height: 1.25; font-weight: 700; letter-spacing: -0.02em; }
.blog-cartao h2 a, .blog-cartao h3 a { color: var(--forte); text-decoration: none; }
.blog-cartao h2 a:hover, .blog-cartao h3 a:hover { text-decoration: underline; text-decoration-color: var(--acao2); text-underline-offset: 3px; }
.blog-resumo { margin: 0; color: var(--suave); font-size: 0.95rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-categoria { display: inline-block; color: var(--rosa); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; }
.blog-categoria:hover { color: #ffb0c0; }
/* no separator marks: on a phone a wrapped line would start with one */
.blog-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: auto 0 0; color: var(--apagado); font-size: 0.85rem; }
.blog-meta time { color: inherit; }
.blog-topo-destaque { margin-top: 26px; }
.blog-destaque h2 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); line-height: 1.15; letter-spacing: -0.02em; }
.blog-destaque .blog-resumo { font-size: 1.02rem; -webkit-line-clamp: 4; }
.blog-vazio { margin-top: 40px; margin-bottom: 40px; color: var(--suave); font-size: 1.05rem; }

/* pagination */
.blog-paginas { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin-top: 40px; margin-bottom: 20px; }
.blog-paginas ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.blog-paginas a, .blog-paginas span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 8px; color: var(--texto); font-weight: 600; text-decoration: none; }
.blog-paginas ol a { border: 0.8px solid var(--linha2); }
.blog-paginas a:hover { opacity: 0.8; }
.blog-paginas [aria-current] { background: var(--acao); color: #fff; }
.blog-paginas .blog-passo { color: var(--suave); }
.blog-reticencias { display: inline-flex; align-items: center; color: var(--apagado); padding: 0 4px; }

/* the post: the banner (the cover behind, the title in a translucent box), then the white sheet */
.blog-post { margin: 0; padding: 0; }
.blog-heroi { container-type: inline-size; position: relative; isolation: isolate; display: flex; align-items: center; justify-content: center; min-height: 340px; padding: 56px var(--lado, 20px); overflow: hidden;
  background: radial-gradient(40% 70% at 70% 30%, rgba(226, 34, 74, 0.55), transparent 70%), radial-gradient(40% 70% at 20% 90%, rgba(194, 37, 155, 0.45), transparent 70%), #000; }
.blog-heroi-foto { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.blog-heroi-caixa { width: 100%; max-width: 1016px; padding: 28px 22px; border-radius: 8px; border: 0.8px solid rgba(255, 255, 255, 0.7);
  background: rgba(0, 0, 0, 0.62); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: #fff; }
.blog-heroi .blog-trilha ol { margin-bottom: 18px; }
.blog-heroi .blog-trilha a, .blog-heroi .blog-trilha [aria-current], .blog-heroi .blog-trilha li + li::before { color: rgba(255, 255, 255, 0.72); }
.blog-heroi .blog-categoria { display: inline-block; margin-bottom: 14px; padding: 6px 12px; border-radius: 999px; background: var(--acao); color: #fff; font-size: 0.72rem; }
.blog-heroi .blog-categoria:hover { color: #fff; opacity: 0.85; }
.blog-heroi h1 { margin: 0 0 14px; color: #fff; font: 700 clamp(2rem, 4.6cqi, 3.75rem)/1.15 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: -0.02em; }
.blog-heroi h1:last-child { margin-bottom: 0; }
.blog-post-resumo { margin: 0 0 18px; max-width: 720px; color: rgba(255, 255, 255, 0.85); font-size: 1.15rem; line-height: 1.55; font-weight: 400; }
.blog-autor-linha { display: flex; align-items: center; gap: 12px; margin: 18px 0 10px; }
.blog-autor-linha p { margin: 0; display: block; line-height: 1.35; color: rgba(255, 255, 255, 0.72); }
.blog-autor-linha a { color: #fff; font-weight: 700; text-decoration: none; }
.blog-autor-linha a:hover { text-decoration: underline; text-decoration-color: var(--acao2); }
.blog-autor-linha small { display: block; color: rgba(255, 255, 255, 0.6); font-size: 0.85rem; }
.blog-por { color: inherit; }
.blog-heroi .blog-meta { margin: 0; color: rgba(255, 255, 255, 0.72); }
.blog-folha { padding: 44px var(--lado, 20px) 56px; }
.blog-folha-coluna { max-width: var(--coluna); margin: 0 auto; }
.blog-indice { margin: 0 0 34px; padding: 20px 22px; border-radius: 8px; background: var(--sup); }
.blog-indice ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; counter-reset: indice; }
/* only the H2s count; an H3 hangs under its H2 */
.blog-indice li.nivel-2 { counter-increment: indice; }
.blog-indice li.nivel-2::before { content: counter(indice) "."; display: inline-block; min-width: 24px; color: var(--apagado); }
.blog-indice li.nivel-3 { padding-left: 24px; }
.blog-indice li.nivel-3::before { content: "–"; display: inline-block; min-width: 18px; color: var(--apagado); }
.blog-indice a { color: var(--suave); text-decoration: none; }
.blog-indice a:hover { color: var(--forte); }
.blog-post .rk-corpo { margin-top: 0; }
.blog-post-fim { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--linha); display: grid; gap: 28px; }
.blog-etiquetas { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.blog-etiquetas li { padding: 5px 12px; border-radius: 999px; background: var(--sup); color: var(--texto); font-size: 0.8rem; font-weight: 500; }
.blog-compartilhar ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.blog-compartilhar a, .blog-compartilhar button { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 8px; border: 1px solid var(--linha2); background: transparent; color: var(--texto); font: 600 0.88rem/1 "Inter", system-ui, sans-serif; text-decoration: none; cursor: pointer; transition: opacity 0.3s ease-out; }
.blog-compartilhar a:hover, .blog-compartilhar button:hover { opacity: 0.8; }
.blog-caixa-autor { max-width: none; margin: 0; padding: 26px; display: grid; gap: 18px; border-radius: 8px; background: var(--sup); }
.blog-caixa-autor .blog-autor-foto.grande { width: 88px; height: 88px; margin: 0; }
.blog-caixa-autor h2 { font-size: 1.35rem; letter-spacing: -0.01em; margin: 0 0 4px; }
.blog-caixa-autor h2 { color: var(--forte); }
.blog-caixa-autor h2 a { color: var(--forte); text-decoration: none; }
.blog-caixa-autor .blog-rotulo { margin-bottom: 6px; }
.blog-funcao { color: var(--apagado); font-size: 0.9rem; margin: 0 0 12px; }
.blog-caixa-autor p { color: var(--suave); }
.blog-mais { color: var(--forte); font-weight: 600; text-decoration: underline; text-decoration-color: var(--acao2); text-underline-offset: 3px; }
.blog-relacionados { margin-top: 64px; padding-top: 0; padding-bottom: 0; }
.blog-relacionados .blog-grade { padding-left: 0; padding-right: 0; }
.blog-relacionados h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin-bottom: 0; }
.blog-aviso-previa { margin-top: 18px; margin-bottom: 18px; }
.blog-aviso-previa { display: block; width: fit-content; max-width: calc(100% - 2 * var(--lado, 20px)); padding: 8px 16px; border-radius: 999px; background: rgba(242, 179, 61, 0.14); border: 1px solid rgba(242, 179, 61, 0.5); color: #ffd98a; font-size: 0.85rem; font-weight: 700; }
.blog .news { margin-top: 40px; }

/* the comments, on the sheet: quiet, like the rest of the text */
.blog-comentarios { max-width: none; margin: 44px 0 0; padding: 32px 0 0; border-top: 1px solid var(--linha); }
.blog-comentarios h2 { margin: 0 0 18px; color: var(--forte); font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; }
.blog-comentarios h2 span { color: var(--apagado); font-weight: 600; }
.blog-comentarios-lista { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 18px; }
.blog-comentario { padding: 0 0 18px; border-bottom: 1px solid var(--linha); }
.blog-comentario p { margin: 0; color: var(--texto); line-height: 1.6; overflow-wrap: anywhere; }
.blog-comentario-quem { margin-bottom: 6px !important; }
.blog-comentario-quem strong { color: var(--forte); }
.blog-comentario-quem span { margin-left: 8px; color: var(--apagado); font-size: 0.85rem; }
.blog-comentario-resposta { margin: 14px 0 0 18px; padding: 12px 16px; border-left: 4px solid var(--acao); border-radius: 0 8px 8px 0; background: var(--sup); }
.blog-comentarios-nota { margin: 0 0 14px; color: var(--apagado); font-size: 0.88rem; }
.blog-comentar { display: grid; gap: 12px; margin-top: 8px; }
.blog-comentar h3 { margin: 0; color: var(--forte); font-size: 1.1rem; font-weight: 700; }
.blog-comentar-linha { display: grid; gap: 12px; }
.blog-comentar label { display: grid; align-content: start; gap: 4px; color: var(--apagado); font-size: 0.8rem; font-weight: 600; }
.blog-comentar label small { font-weight: 400; }
.blog-comentar input:not([type="hidden"]), .blog-comentar textarea { width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--linha2); border-radius: 8px; background: var(--fundo); color: var(--forte); font: 400 1rem/1.5 "Inter", system-ui, sans-serif; }
.blog-comentar textarea { resize: vertical; min-height: 120px; }
.blog-comentar input:focus, .blog-comentar textarea:focus { outline: none; border-color: var(--acao); }
.blog-comentar .botao { justify-self: start; min-height: 46px; padding: 0 28px; }
.blog-comentar .blog-comentarios-nota { margin: 0; }
.blog-comentar .armadilha { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.blog-comentar .retorno { margin: 0; color: var(--suave); }
.blog-comentar .retorno:empty { display: none; }
.blog-comentar .retorno.ok { color: #1f8a43; }
.blog-comentar .retorno.erro { color: #c81e3e; }

/* the previous and the next post */
.blog-vizinhos { display: grid; gap: 12px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--linha); }
.blog-vizinhos a { display: grid; gap: 4px; padding: 14px 18px; border: 1px solid var(--linha2); border-radius: 8px; color: var(--forte); text-decoration: none; transition: border-color 0.3s ease-out; }
.blog-vizinhos a:hover { border-color: var(--acao); }
.blog-vizinhos small { color: var(--apagado); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.blog-vizinhos span { font-weight: 600; line-height: 1.35; }
.blog-vizinhos .proximo { text-align: right; }

/* REDKEYS after the post: a dark card over the app's own screen */
.blog-produto { position: relative; isolation: isolate; overflow: hidden; max-width: none; margin: 0; padding: 64px var(--lado, 20px); background: #000; }
.blog-produto-fundo { position: absolute; inset: -12px; z-index: -1; width: calc(100% + 24px); height: calc(100% + 24px); object-fit: cover; opacity: 0.32; filter: blur(6px); }
.blog-relacionados + .blog-produto { margin-top: 72px; }
.blog-produto::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 80% at 85% 20%, rgba(226, 34, 74, 0.45), transparent 70%), radial-gradient(50% 80% at 10% 100%, rgba(194, 37, 155, 0.4), transparent 70%); }
.blog-produto-caixa { max-width: 1016px; margin: 0 auto; display: grid; gap: 22px; padding: 30px 24px; border-radius: 8px; border: 0.8px solid rgba(255, 255, 255, 0.7); background: rgba(0, 0, 0, 0.66); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: #fff; }
.blog-produto-selo { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-weight: 800; letter-spacing: 0.06em; }
.blog-produto-selo img { border-radius: 7px; }
.blog-produto h2 { margin: 0; color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.4rem); line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }
.blog-produto-caixa p { color: #e6e6ea; line-height: 1.6; margin: 0 0 18px; }
.blog-produto-acoes { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 !important; }
.blog-produto .botao { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 8px; background: var(--acao); color: #fff; font: 700 0.875rem/1.2 "Inter", system-ui, sans-serif; letter-spacing: 0.02em; text-transform: uppercase; text-decoration: none; }
.blog-produto .botao.fantasma { background: transparent; border: 1px solid rgba(255, 255, 255, 0.6); }

@media (min-width: 720px) {
  .blog-grade { grid-template-columns: repeat(2, 1fr); }
  .blog-caixa-autor { grid-template-columns: auto 1fr; align-items: start; padding: 30px; }
  .blog-cabeca { padding-top: 60px; }
  .blog-heroi { min-height: 420px; padding: 80px 32px; }
  .blog-comentar-linha { grid-template-columns: 1fr 1fr; }
  .blog-vizinhos { grid-template-columns: 1fr 1fr; }
  .blog-produto { padding: 90px 32px; }
  .blog-produto-caixa { grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; padding: 48px 56px; }
  .blog-heroi-caixa { padding: 48px 56px; }
  .blog-folha { padding-top: 56px; padding-bottom: 72px; }
}
@media (min-width: 1000px) {
  .blog-grade { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .blog-destaque { display: grid; grid-template-columns: 1.25fr 1fr; }
  .blog-destaque .blog-cartao-capa { aspect-ratio: auto; min-height: 100%; }
  .blog-destaque .blog-cartao-texto { padding: 36px 40px; justify-content: center; gap: 14px; }
  .blog-destaque .blog-meta { margin-top: 6px; }
  .blog-heroi { min-height: 490px; padding: 100px 32px; }
  .blog-heroi-caixa { padding: 64px 80px; }
  .blog-cabeca { padding-top: 76px; }
}
@media (prefers-reduced-motion: reduce) {
  .blog-cartao, .blog-abas a, .blog-compartilhar a, .rk-corpo .botao, .rk-corpo .rk-video-play { transition: none; }
}
