/* ==========================================================================
   ARTIGO / POST — Felipe Sertanejo (template de materia + video)
   ========================================================================== */
.nk-article-page { background: #f8fafc; color: #1e293b; }

/* Sem margin-top: o header é sticky e já ocupa a própria altura no fluxo.
   Compensar de novo criaria uma faixa vazia da altura exata do menu. */
.nk-article-header {
  background: #1E50A2; color: #fff; padding: 40px 0 35px; border-bottom: 4px solid #FFCC00;
}

.nk-article-wrap { max-width: 1000px; margin: 0 auto; padding: 0 24px; }
.nk-article-wrap--wide { max-width: 1440px; }

.nk-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #cbd5e1; margin-bottom: 16px; flex-wrap: wrap; }
.nk-breadcrumb a { color: #FFCC00; text-decoration: none; font-weight: 600; }
.nk-breadcrumb a:hover { text-decoration: underline; }

.nk-article-badges { display: flex; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }

.nk-article-title { font-size: clamp(24px, 4vw, 32px); font-weight: 800; line-height: 1.25; color: #fff; margin: 12px 0 16px; font-family: var(--nk-font); }

.nk-article-meta-bar {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.15); font-size: 13.5px; color: #e2e8f0;
}
.nk-article-meta-left { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.nk-article-yt-link { color: #FFCC00; text-decoration: none; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.nk-article-yt-link:hover { text-decoration: underline; }

/* Layout corpo: coluna principal + sidebar */
.nk-article-body-layout { display: grid; grid-template-columns: 1fr 340px; gap: 36px; padding: 40px 0 70px; }
.nk-article-body-layout--full { grid-template-columns: 1fr; max-width: 820px; margin: 0 auto; }

/* Player do YouTube responsivo */
.nk-video-player-wrap {
  position: relative; width: 100%; padding-bottom: 56.25%; height: 0; background: #000;
  border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(30, 80, 162, 0.18); margin-bottom: 24px;
}
.nk-video-player-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

.nk-video-actions {
  display: flex; align-items: center; justify-content: space-between; background: #fff; padding: 16px 24px;
  border-radius: 12px; border: 1px solid #e2e8f0; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04); margin-bottom: 32px; flex-wrap: wrap; gap: 14px;
}
.nk-channel-author { display: flex; align-items: center; gap: 12px; }
.nk-channel-avatar { width: 44px; height: 44px; border-radius: 50%; background: #1E50A2; color: #FFCC00; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; border: 2px solid #FFCC00; }
.nk-channel-name { font-weight: 800; color: #1E50A2; font-size: 15px; }
.nk-channel-sub { font-size: 12px; color: #64748b; }
.nk-sub-btn-yt { background: #ff0000; color: #fff; font-weight: 700; padding: 10px 20px; border-radius: 30px; text-decoration: none; font-size: 13.5px; display: inline-flex; align-items: center; gap: 8px; transition: background 0.2s; }
.nk-sub-btn-yt:hover { background: #cc0000; }

/* Conteudo do artigo (corpo em markdown) */
.nk-article-content { background: #fff; padding: 36px 40px; border-radius: 16px; border: 1px solid #e2e8f0; box-shadow: 0 4px 16px rgba(30, 80, 162, 0.04); }
.nk-article-content > p:first-of-type,
.nk-article-lead { font-size: 17px; line-height: 1.65; color: #334155; font-weight: 500; }
.nk-article-lead { padding-bottom: 20px; border-bottom: 2px solid #f1f5f9; margin-bottom: 28px; }
.nk-article-content h2 { font-size: 24px; font-weight: 800; color: #1E50A2; margin: 32px 0 16px; font-family: var(--nk-font); }
.nk-article-content h2 { scroll-margin-top: 96px; }
.nk-article-content h3 { font-size: 19px; font-weight: 700; color: #1E50A2; margin: 28px 0 12px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; scroll-margin-top: 96px; }
.nk-article-content p { font-size: 15.5px; line-height: 1.7; color: #334155; margin-bottom: 18px; }
.nk-article-content a { color: #1E50A2; font-weight: 600; }
.nk-article-content ul, .nk-article-content ol { margin: 0 0 18px; padding-left: 22px; }
.nk-article-content li { font-size: 15.5px; line-height: 1.7; color: #334155; margin-bottom: 8px; list-style: disc; }
.nk-article-content ol li { list-style: decimal; }
.nk-article-content img { border-radius: 12px; margin: 8px 0 20px; }

/* ==========================================================================
   RESUMO DO ARTIGO / TABLE OF CONTENTS (TOC) COM FUNDO AZUL
   ========================================================================== */
.nk-toc {
  background: #1E50A2;
  color: #ffffff;
  border-radius: 14px;
  border: 1px solid rgba(255, 204, 0, 0.4);
  border-left: 5px solid #FFCC00;
  box-shadow: 0 8px 24px rgba(30, 80, 162, 0.16);
  margin: 28px 0 32px;
  padding: 18px 22px;
  width: 100%;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.nk-toc__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  user-select: none;
}

.nk-toc__title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #FFCC00;
}

.nk-toc__title-wrap .nk-ico {
  color: #FFCC00;
  flex-shrink: 0;
}

.nk-toc__title {
  font-size: 15.5px;
  font-weight: 800;
  color: #FFCC00;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.nk-toc__toggle {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nk-toc__toggle:hover {
  background: #FFCC00;
  color: #1E50A2;
  border-color: #FFCC00;
}

.nk-toc__chevron {
  transition: transform 0.25s ease;
}

.nk-toc.is-collapsed .nk-toc__chevron {
  transform: rotate(-90deg);
}

.nk-toc__body {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  transition: max-height 0.3s ease, opacity 0.2s ease;
}

.nk-toc.is-collapsed .nk-toc__body {
  display: none;
}

.nk-toc__list {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.nk-toc__item {
  font-size: 14.5px;
  line-height: 1.45;
  color: #f1f5f9;
  list-style: none !important;
  margin-bottom: 0 !important;
  display: flex;
  align-items: flex-start;
}

.nk-toc__item a {
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: 600;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.nk-toc__item a:hover {
  color: #FFCC00 !important;
  text-decoration: underline !important;
  transform: translateX(3px);
}

.nk-toc__item--h3 {
  padding-left: 22px;
  font-size: 13.5px;
  opacity: 0.94;
}

.nk-toc__num {
  color: #FFCC00;
  font-weight: 800;
  margin-right: 8px;
  flex-shrink: 0;
}
.nk-article-content blockquote {
  background: #1E50A2;
  color: #ffffff;
  border-left: 5px solid #FFCC00;
  padding: 18px 24px;
  margin: 24px 0;
  font-style: normal;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(30, 80, 162, 0.15);
}
.nk-article-content blockquote p {
  color: #ffffff !important;
  font-size: 16px;
  line-height: 1.68;
  margin-bottom: 8px;
}
.nk-article-content blockquote p:last-child {
  margin-bottom: 0;
}
.nk-article-content blockquote strong {
  color: #FFCC00 !important;
  font-weight: 800;
}
.nk-article-content blockquote a {
  color: #FFCC00 !important;
  font-weight: 800;
  text-decoration: underline;
  transition: opacity 0.2s ease;
}
.nk-article-content blockquote a:hover {
  opacity: 0.85;
}
.nk-article-content blockquote em {
  color: #f1f5f9;
}

/* Palavras Relacionadas / Tags no próprio layout sem borda */
.nk-related-tags {
  margin: 36px 0 20px;
  padding: 18px 0 0;
  border-top: 1px solid #e2e8f0;
  background: transparent;
}
.nk-related-tags__title {
  font-size: 14.5px;
  font-weight: 800;
  color: #1E50A2;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.nk-related-tags__list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}
.nk-tag-balloon {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: #1E50A2 !important;
  font-size: 14.5px;
  font-weight: 800;
  padding: 0;
  border-radius: 0;
  text-decoration: none !important;
  box-shadow: none;
  border: none;
  transition: color 0.2s ease;
}
.nk-tag-balloon:hover {
  background: transparent;
  color: #00A859 !important;
  text-decoration: underline !important;
  transform: none;
  box-shadow: none;
}

/* ==========================================================================
   CAIXA DE DOAÇÃO PARA A CAMPANHA (2 COLUNAS: TEXTO + DADOS BANCÁRIOS COPIA E COLA)
   ========================================================================== */
.nk-donation-box {
  background: linear-gradient(135deg, #00A859 0%, #008044 100%);
  color: #ffffff !important;
  border-radius: 16px;
  padding: 28px;
  margin: 36px 0 32px;
  box-shadow: 0 10px 30px rgba(0, 168, 89, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-sizing: border-box;
}

.nk-donation-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
  align-items: start;
}
@media (max-width: 860px) {
  .nk-donation-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

.nk-donation-badge {
  display: inline-block;
  background: #FFCC00;
  color: #1E50A2;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.nk-donation-title {
  color: #FFCC00 !important;
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 12px !important;
  line-height: 1.25;
}

.nk-donation-col-txt p {
  color: #ffffff !important;
  font-size: 14.5px;
  line-height: 1.65;
  margin-bottom: 12px;
}
.nk-donation-col-txt p:last-child {
  margin-bottom: 0;
}
.nk-donation-col-txt p strong {
  color: #FFCC00 !important;
}

.nk-donation-card-inner {
  background: rgba(0, 0, 0, 0.28);
  border: 1px dashed rgba(255, 204, 0, 0.8);
  border-radius: 14px;
  padding: 20px;
}

.nk-donation-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 6px;
}

.nk-donation-bank-name {
  color: #FFCC00;
  font-weight: 800;
  font-size: 15px;
}

.nk-donation-account-type {
  font-size: 12px;
  color: #e2e8f0;
  font-weight: 600;
}

.nk-copy-group {
  margin-bottom: 12px;
}
.nk-copy-group:last-child {
  margin-bottom: 0;
}

.nk-copy-label {
  font-size: 11px;
  color: #FFCC00;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.nk-copy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 8px;
  padding: 6px 10px;
  gap: 10px;
}

.nk-copy-code {
  font-family: monospace, sans-serif;
  font-size: 13.5px;
  color: #ffffff;
  font-weight: 700;
  word-break: break-all;
  user-select: all;
}

.nk-copy-btn {
  background: #FFCC00;
  color: #1E50A2;
  border: none;
  font-size: 11.5px;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.nk-copy-btn:hover {
  background: #ffffff;
  color: #00A859;
}
.nk-copy-btn.is-copied {
  background: #ffffff;
  color: #00A859;
}

.nk-copy-sub {
  display: block;
  font-size: 10.5px;
  color: #d1fae5;
  margin-top: 4px;
  line-height: 1.35;
}

.nk-copy-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 480px) {
  .nk-copy-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* ========================================================================== 
   CARDS DE REDES SOCIAIS COLORIDAS & DADOS OFICIAIS DO GABINETE
   ========================================================================== */
.nk-official-channels-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  gap: 22px;
  align-items: stretch;
  margin: 20px 0 32px;
}
.nk-social-channels-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  align-content: start;
}

.nk-social-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  text-decoration: none !important;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
}
.nk-social-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.nk-social-card__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nk-social-card__icon svg {
  width: 20px;
  height: 20px;
}

.nk-social-card__info {
  display: flex;
  flex-direction: column;
}
.nk-social-card__info strong {
  font-size: 13px;
  color: #1E50A2;
  font-weight: 700;
}
.nk-social-card__info span {
  font-size: 11.5px;
  color: #64748b;
}

/* Cores específicas de cada rede social */
.nk-social-card--yt .nk-social-card__icon { background: #fee2e2; color: #ef4444; }
.nk-social-card--ig .nk-social-card__icon { background: #fce7f3; color: #ec4899; }
.nk-social-card--x .nk-social-card__icon { background: #f1f5f9; color: #0f172a; }
.nk-social-card--tg .nk-social-card__icon { background: #e0f2fe; color: #0284c7; }
.nk-social-card--tk .nk-social-card__icon { background: #f1f5f9; color: #000000; }
.nk-social-card--fb .nk-social-card__icon { background: #dbeafe; color: #1d4ed8; }
.nk-social-card--kw .nk-social-card__icon { background: #ffedd5; color: #ea580c; }

/* Box Dados Oficiais do Gabinete */
.nk-gabinete-box {
  background: #1E50A2;
  color: #fff;
  border: 0;
  border-top: 5px solid #FFCC00;
  border-radius: 14px;
  padding: 22px 24px;
  margin: 0;
  box-shadow: 0 10px 24px rgba(30, 80, 162, .20);
}
.nk-gabinete-header {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #FFCC00;
  margin-bottom: 4px;
}
.nk-gabinete-header h3 {
  font-size: 17px !important;
  font-weight: 800 !important;
  color: #fff !important;
  margin: 0 !important;
}
.nk-gabinete-sub {
  font-size: 12.5px !important;
  color: rgba(255,255,255,.74) !important;
  margin: 0 0 16px !important;
}
.nk-gabinete-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
}
@media (max-width: 600px) {
  .nk-gabinete-grid {
    grid-template-columns: 1fr;
  }
}
.nk-gabinete-item {
  font-size: 13.5px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nk-gabinete-item--full {
  grid-column: 1 / -1;
}
.nk-gabinete-lbl {
  font-size: 11px;
  text-transform: uppercase;
  color: #FFCC00;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.nk-gabinete-item a {
  color: #fff !important;
  text-decoration: underline !important;
}
.nk-gabinete-action {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.2);
}
.nk-gabinete-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFCC00;
  color: #1E50A2 !important;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 8px;
  text-decoration: none !important;
  transition: all 0.2s ease;
}
.nk-gabinete-btn:hover {
  background: #fff;
  color: #1E50A2 !important;
}

@media (max-width: 900px) {
  .nk-official-channels-layout { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .nk-social-channels-grid { grid-template-columns: 1fr; }
}

.nk-timestamp-tag { background: #f1f5f9; color: #1E50A2; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 6px; border: 1px solid #cbd5e1; }
.nk-article-note-box { background: #fffbe6; border-left: 4px solid #FFCC00; padding: 20px 24px; border-radius: 8px; margin: 36px 0 20px; font-size: 14.5px; color: #78350f; line-height: 1.6; }
.nk-article-note-box strong { color: #92400e; }

/* Sidebar direita */
.nk-article-sidebar { display: flex; flex-direction: column; gap: 24px; }
.nk-sidebar-widget { background: #fff; padding: 24px; border-radius: 16px; border: 1px solid #e2e8f0; box-shadow: 0 4px 14px rgba(30, 80, 162, 0.04); }
.nk-sidebar-widget-title { font-size: 17px; font-weight: 800; color: #1E50A2; margin: 0 0 16px; padding-bottom: 10px; border-bottom: 2px solid #FFCC00; }
.nk-sidebar-list { display: flex; flex-direction: column; gap: 16px; }
.nk-sidebar-item { display: flex; gap: 12px; text-decoration: none; color: inherit; }
.nk-sidebar-item img { width: 100px; height: 62px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.nk-sidebar-item h5 { font-size: 13px; font-weight: 700; color: #1E50A2; margin: 0 0 4px; line-height: 1.3; }
.nk-sidebar-item span { font-size: 11px; color: #64748b; }
.nk-sidebar-item:hover h5 { color: #1E50A2; }
.nk-sidebar-cta { background: linear-gradient(135deg, #1E50A2 0%, #1E50A2 100%); color: #fff; }
.nk-sidebar-cta h4 { font-size: 18px; font-weight: 800; color: #FFCC00; margin: 0 0 10px; }
.nk-sidebar-cta p { font-size: 13px; color: #e2e8f0; line-height: 1.5; margin-bottom: 16px; }
.nk-sidebar-cta a { display: block; text-align: center; background: #FFCC00; color: #1E50A2; font-weight: 800; font-size: 13.5px; padding: 12px; border-radius: 30px; text-decoration: none; }

@media (max-width: 1024px) {
  .nk-article-body-layout { grid-template-columns: 1fr; }
  .nk-article-content { padding: 24px 20px; }
}

/* ==========================================================================
   CAPA NO TOPO DO POST
   ========================================================================== */
.nk-article-cover {
  margin: 0 0 22px; border-radius: 0; overflow: hidden;
  box-shadow: 0 10px 30px rgba(30, 80, 162, 0.14); background: #cbd5e1;
}
.nk-article-cover img { width: 100%; height: auto; display: block; aspect-ratio: 16 / 8; object-fit: cover; }
.nk-article-credit {
  display: flex; align-items: center; gap: 6px; font-size: 12px; color: #64748b;
  background: #f1f5f9; padding: 8px 14px; font-style: normal;
}
.nk-article-credit .nk-ico { color: #64748b; flex-shrink: 0; }
.nk-byline-link { color: inherit; text-decoration: none; }
.nk-byline-link:hover strong { color: #FFCC00; }

/* ==========================================================================
   AÇÕES DO ARTIGO (dentro do cabeçalho azul): RESUMIR COM IA + COMPARTILHAR
   ========================================================================== */
.nk-actions {
  display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: center; justify-content: space-between;
  margin-top: 18px; padding-top: 16px; border-top: 1px solid #e2e8f0;
}
.nk-ai, .nk-share-box {
  display: flex; flex-direction: row; align-items: center; gap: 12px; flex-wrap: wrap;
}
.nk-ai__label, .nk-share-label {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  font-size: 12px; font-weight: 800; color: #1E50A2; text-transform: uppercase; letter-spacing: 0.06em;
}
.nk-ai__label .nk-ico, .nk-share-label .nk-ico { color: #1E50A2; }

/* Itens de IA: só ícone, botão compacto, com tooltip ao passar o mouse */
.nk-ai__items { display: flex; flex-wrap: wrap; gap: 8px; }
.nk-ai-item {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px; text-decoration: none;
  background: #fff; border: 1px solid #cbd5e1; color: #1E50A2;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}
.nk-ai-item svg { width: 20px; height: 20px; }
.nk-ai-item:hover { transform: translateY(-3px); background: #FFCC00; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.28); }
.nk-ai-item::after {
  content: attr(data-tip); position: absolute; bottom: calc(100% + 9px); left: 50%;
  transform: translateX(-50%) translateY(4px); background: #0a1424; color: #fff;
  font-size: 11.5px; font-weight: 700; white-space: nowrap; padding: 6px 10px; border-radius: 7px;
  opacity: 0; pointer-events: none; z-index: 6; box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
  transition: opacity 0.16s ease, transform 0.16s ease;
}
.nk-ai-item::before {
  content: ""; position: absolute; bottom: calc(100% + 4px); left: 50%; transform: translateX(-50%);
  border: 5px solid transparent; border-top-color: #0a1424; opacity: 0; z-index: 6; transition: opacity 0.16s ease;
}
.nk-ai-item:hover::after { opacity: 1; transform: translateX(-50%) translateY(0); }
.nk-ai-item:hover::before { opacity: 1; }

/* Compartilhar (botões redondos brancos: LinkedIn, e-mail, copiar, incorporar) */
.nk-share-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.nk-share-btn {
  width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.6); background: #fff; color: #1E50A2;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; text-decoration: none;
  transition: all 0.18s ease; padding: 0;
}
.nk-share-btn:hover { transform: translateY(-3px); color: #fff; box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22); }
.nk-sh--wa:hover { background: #25D366; border-color: #25D366; }
.nk-sh--fb:hover { background: #1877F2; border-color: #1877F2; }
.nk-sh--x:hover { background: #000; border-color: #000; }
.nk-sh--tg:hover { background: #229ED9; border-color: #229ED9; }
.nk-sh--in:hover { background: #0A66C2; border-color: #0A66C2; }
.nk-sh--mail:hover, .nk-sh--copy:hover, .nk-sh--embed:hover { background: #1E50A2; border-color: #1E50A2; }
.nk-share-btn.is-ok { background: #00A859; border-color: #00A859; color: #fff; }
.nk-sh--embed.is-active { background: #0a1424; border-color: #0a1424; color: #fff; }

/* Botões com rótulo (ícone + nome, cor sólida) — usados no topo e no fim da matéria */
.nk-share-btn--label { width: auto; height: 40px; padding: 0 14px; gap: 8px; border-radius: 8px; border: none; color: #fff; font-size: 13px; font-weight: 800; }
.nk-share-btn--label span { line-height: 1; }
.nk-share-btn--label:hover { color: #fff; filter: brightness(1.08); }
.nk-share-btn--label.nk-sh--wa { background: #25D366; }
.nk-share-btn--label.nk-sh--fb { background: #1877F2; }
.nk-share-btn--label.nk-sh--x { background: #000; }
.nk-share-btn--label.nk-sh--tg { background: #229ED9; }
.nk-share-btn--label.nk-sh--in { background: #0A66C2; }
.nk-share-btn--label.nk-sh--pin { background: #E60023; }
.nk-share-btn--label.nk-sh--rd { background: #FF4500; }
.nk-share-btn--label.nk-sh--mail { background: #334155; }

/* Caixa de incorporar */
.nk-embed-box { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 18px 20px; margin: -8px 0 26px; }
.nk-embed-head { display: flex; flex-direction: column; gap: 3px; margin-bottom: 12px; }
.nk-embed-head strong { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: #1E50A2; }
.nk-embed-head span { font-size: 12.5px; color: #64748b; }
.nk-embed-code {
  width: 100%; font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: 12.5px; line-height: 1.5;
  color: #1e293b; background: #fff; border: 1px solid #cbd5e1; border-radius: 8px; padding: 12px; resize: vertical; margin-bottom: 12px;
}
.nk-embed-copy { font-size: 13px; padding: 9px 16px; }

/* ==========================================================================
   COMPARTILHAR NO FIM DA MATÉRIA + NAVEGAÇÃO ENTRE POSTS
   ========================================================================== */
.nk-share-end {
  margin: 40px 0 0; padding-top: 26px; border-top: 1px solid #e2e8f0;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px;
}
.nk-share-end__label { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: #1e293b; }
.nk-share-end__label .nk-ico { color: #1E50A2; }
.nk-share-end__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.nk-shend {
  width: 42px; height: 42px; border-radius: 10px; color: #fff; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}
.nk-shend:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(0,0,0,0.18); filter: brightness(1.06); }
.nk-shend--fb { background: #1877F2; }
.nk-shend--x { background: #000; }
.nk-shend--pin { background: #E60023; }
.nk-shend--in { background: #0A66C2; }
.nk-shend--rd { background: #FF4500; }
.nk-shend--wa { background: #25D366; }
.nk-shend--tg { background: #229ED9; }
.nk-shend--mail { background: #334155; }
@media (max-width: 560px) { .nk-share-end { justify-content: flex-start; } }

.nk-postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 26px 0 0; }
.nk-postnav__item {
  display: flex; flex-direction: column; gap: 8px; padding: 18px 20px;
  border: 1px solid #e2e8f0; border-radius: 14px; background: #fff; text-decoration: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.nk-postnav__item:hover { border-color: #1E50A2; box-shadow: 0 10px 24px rgba(30, 80, 162, 0.1); transform: translateY(-2px); }
.nk-postnav__item--next { text-align: right; align-items: flex-end; }
.nk-postnav__label { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: #e74c5e; }
.nk-postnav__title { font-size: 15.5px; font-weight: 800; color: #1e293b; line-height: 1.3; }
.nk-postnav__item:hover .nk-postnav__title { color: #1E50A2; }
.nk-flip { display: inline-flex; transform: scaleX(-1); }
@media (max-width: 600px) {
  .nk-postnav { grid-template-columns: 1fr; }
  .nk-postnav__item--next { text-align: left; align-items: flex-start; }
}

/* ==========================================================================
   CAIXA DE BIO DO AUTOR
   ========================================================================== */
.nk-author-box {
  display: grid; grid-template-columns: 160px 1fr; gap: 28px; align-items: center;
  background: linear-gradient(135deg, #f8fafc 0%, #eef4fb 100%); border: 1px solid #d8e3f0;
  border-left: 6px solid #1E50A2; border-radius: 18px; padding: 30px; margin-top: 36px;
  box-shadow: 0 12px 30px rgba(30, 80, 162, 0.10);
}
.nk-author-photo {
  width: 160px; height: 160px; border-radius: 50%; object-fit: cover; object-position: center 20%;
  border: 0; outline: 0; box-shadow: 0 5px 14px rgba(15, 23, 42, 0.14);
  justify-self: center;
}
.nk-author-eyebrow { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; color: #1E50A2; }
.nk-author-name { font-size: 24px; font-weight: 800; color: #1E50A2; margin: 4px 0 2px; line-height: 1.1; }
.nk-author-role { font-size: 13px; font-weight: 700; color: #64748b; margin: 0 0 12px; }
.nk-author-bio { font-size: 14.5px; line-height: 1.6; color: #475569; margin: 0 0 16px; }
.nk-author-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.nk-author-social { display: flex; gap: 8px; }
.nk-author-social a {
  width: 34px; height: 34px; border-radius: 50%; background: #1E50A2; color: #fff;
  display: inline-flex; align-items: center; justify-content: center; transition: all 0.18s ease;
}
.nk-author-social a:hover { background: #FFCC00; color: #1E50A2; transform: translateY(-2px); }
.nk-author-more { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; color: #1E50A2; text-decoration: none; }
.nk-author-more:hover { gap: 9px; }

@media (max-width: 560px) {
  .nk-author-box { grid-template-columns: 1fr; gap: 22px; padding: 24px 20px; text-align: left; }
  .nk-author-photo { width: 140px; height: 140px; justify-self: center; }
}

/* ==========================================================================
   POSTS RELACIONADOS (matriz 3 x 2)
   ========================================================================== */
.nk-related { margin-top: 40px; padding-top: 30px; border-top: 1px solid #e2e8f0; }
.nk-related__title { font-size: 23px; font-weight: 900; color: #1e293b; margin: 0 0 22px; letter-spacing: -0.01em; }
.nk-related__title span { color: #e74c5e; }
.nk-related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .nk-related__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .nk-related__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   LISTAGEM /blog e /categorias — grade de materias
   ========================================================================== */
/* O body base é escuro com texto branco. Ao clarear o fundo é obrigatório
   trocar também a cor herdada, senão tabela, li, dt e h3 sem cor própria
   ficam brancos sobre claro. */
.nk-list-page { background: #f4f7fc; color: #1e293b; }
.nk-list-header { background: #1E50A2; color: #fff; padding: 40px 0; border-bottom: 4px solid #FFCC00; }
@media (max-width: 768px) { .nk-list-header { margin-top: 62px; } }
@media (min-width: 1200px) { .nk-list-header { margin-top: 78px; } }
.nk-list-header h1 { font-size: clamp(26px, 4vw, 36px); font-weight: 800; margin: 0; }
.nk-list-header p { color: #cbd5e1; margin: 8px 0 0; font-size: 15px; }
.nk-list-header .nk-cat-desc { color: #e8eef7; max-width: 760px; font-size: 16px; line-height: 1.6; margin-top: 12px; }
.nk-list-header .nk-cat-count { color: #9db4d8; font-size: 13px; margin-top: 10px; }

.nk-list-wrap { max-width: 1440px; margin: 0 auto; padding: 44px 24px 70px; }
.nk-cat-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.nk-cat-chip {
  display: inline-block; padding: 7px 16px; border-radius: 999px; background: #fff; border: 1px solid rgba(30, 80, 162, 0.2);
  color: #1E50A2; font-size: 13px; font-weight: 700; text-decoration: none; transition: all 0.2s;
}
.nk-cat-chip:hover, .nk-cat-chip[aria-current="page"] { background: #1E50A2; color: #fff; border-color: #1E50A2; }

.nk-post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .nk-post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .nk-post-grid { grid-template-columns: 1fr; } }

.nk-post-card {
  background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid rgba(30, 80, 162, 0.12);
  box-shadow: 0 6px 18px rgba(30, 80, 162, 0.05); display: flex; flex-direction: column;
  text-decoration: none; color: inherit; transition: all 0.25s ease;
}
.nk-post-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(30, 80, 162, 0.12); border-color: rgba(30, 80, 162, 0.3); }
.nk-post-card__img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #cbd5e1; }
.nk-post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.nk-post-card:hover .nk-post-card__img img { transform: scale(1.05); }
.nk-post-card__badge { position: absolute; top: 12px; left: 12px; z-index: 2; }
.nk-post-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.nk-post-card__title { font-size: 17px; font-weight: 800; color: #111827; line-height: 1.3; margin: 0 0 10px; }
.nk-post-card:hover .nk-post-card__title { color: #1E50A2; }
.nk-post-card__excerpt { font-size: 13.5px; line-height: 1.55; color: #64748b; margin: 0 0 14px; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nk-post-card__meta { font-size: 11.5px; font-weight: 600; color: #64748b; display: flex; align-items: center; gap: 8px; }

.nk-empty { text-align: center; color: #64748b; padding: 60px 0; font-size: 16px; }

/* ==========================================================================
   WIDGET DO TWITTER / X (SIDEBAR DO POST)
   ========================================================================== */
.nk-sidebar-tweets { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 22px; margin-bottom: 24px; box-shadow: 0 4px 14px rgba(0,0,0,0.04); }
.nk-tweets-container { margin: 12px 0 16px; max-height: 440px; overflow-y: auto; scrollbar-width: thin; }
.nk-tweets-fallback { display: flex; flex-direction: column; gap: 12px; }
.nk-tweet-item { display: block; padding: 12px 14px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px; text-decoration: none; color: inherit; transition: all 0.18s ease; }
.nk-tweet-item:hover { border-color: #000; background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,0.06); transform: translateY(-1px); }
.nk-tweet-meta { font-size: 11.5px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 4px; }
.nk-tweet-author { color: #0f172a; font-weight: 800; }
.nk-tweet-handle { color: #64748b; font-weight: 600; }
.nk-tweet-date { color: #64748b; }
.nk-tweet-text { font-size: 12.5px; line-height: 1.5; color: #334155; margin: 0; }
.nk-tweet-cta { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 10px; border-radius: 8px; background: #000; color: #fff; font-size: 13px; font-weight: 800; text-decoration: none; transition: background 0.18s ease; }
.nk-tweet-cta:hover { background: #1d9bf0; color: #fff; }

/* ==========================================================================
   ESTRUTURA DA PÁGINA DE POST — layout post.njk
   Classes usadas pelo template que não tinham CSS definido.
   ========================================================================== */

/* ---- Barra azul superior (somente breadcrumb) ---- */
.nk-page-header {
  background: var(--nk-blue);
  border-bottom: 4px solid var(--nk-yellow);
  padding: 16px 0;
}
.nk-page-header__inner {
  max-width: var(--nk-max);
  margin: 0 auto;
  padding: 0 24px;
}
.nk-page-header .nk-breadcrumb { margin-bottom: 0; }
.nk-breadcrumb-sep { color: rgba(255, 255, 255, 0.55); }
.nk-breadcrumb [aria-current="page"] {
  color: #fff;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 46ch;
}

/* ---- Wrapper e grade de duas colunas ---- */
.nk-layout-wrap {
  max-width: var(--nk-max);
  margin: 0 auto;
  padding: 32px 24px 72px;
}
.nk-layout-with-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 40px;
  align-items: start;
}
/* min-width:0 evita que conteúdo largo (tabela, código, iframe) estoure a coluna */
.nk-main-col { min-width: 0; }

.nk-sidebar-aside {
  min-width: 0;
  position: sticky;
  top: calc(var(--nk-header-h) + 20px);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* ---- Cabeçalho do artigo ---- */
.nk-article-lead-head { margin-bottom: 24px; }
.nk-article-lead-head .nk-article-badges { margin-bottom: 12px; }

.nk-article-main-title {
  font-size: clamp(24px, 3.8vw, 36px);
  font-weight: 900;
  color: var(--nk-blue);
  line-height: 1.22;
  margin: 0 0 16px;
  font-family: var(--nk-font);
  text-wrap: balance;
}

/* Sobrescreve a meta-bar antiga (feita para fundo azul) no card branco atual */
.nk-article-page .nk-article-meta-bar {
  background: #fff;
  padding: 14px 18px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  color: #475569;
  font-size: 13.5px;
}
.nk-article-page .nk-byline-link { color: var(--nk-blue); text-decoration: none; }
.nk-article-page .nk-byline-link:hover { text-decoration: underline; }
.nk-article-page .nk-article-yt-link { color: #c00; }
.nk-article-actions-wrap { margin-top: 14px; }

/* ---- Autor ---- */
.nk-author-info { min-width: 0; }

/* ---- Navegação anterior / próximo ---- */
.nk-postnav__item--prev { justify-content: flex-start; }

/* ---- Campos de cidade/UF do modal de leads ---- */
.nk-lead-field--cidade { flex: 1 1 60%; min-width: 0; }
.nk-lead-field--uf { flex: 0 0 90px; }

/* ==========================================================================
   SIDEBAR — widgets sem CSS
   ========================================================================== */
.nk-sidebar-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.nk-sidebar-cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #f8fafc;
  color: #334155;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.nk-sidebar-cat-chip:hover { background: #eef2f7; border-color: #cbd5e1; }
.nk-sidebar-cat-chip.is-active {
  background: var(--nk-blue);
  border-color: var(--nk-blue);
  color: #fff;
}
.nk-cat-badge-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--nk-yellow);
  color: #111;
  font-size: 11px;
  font-weight: 800;
}
.nk-sidebar-cat-chip.is-active .nk-cat-badge-count { background: #fff; }

/* ---- Botões de redes ---- */
.nk-sidebar-social {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(42px, 1fr));
  gap: 8px;
}
.nk-ss-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  transition: transform .16s ease, filter .16s ease;
}
.nk-ss-btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.nk-ss-btn--yt { background: #ff0000; }
.nk-ss-btn--ig { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); }
.nk-ss-btn--x  { background: #000; }
.nk-ss-btn--tk { background: #010101; }
.nk-ss-btn--fb { background: #1877f2; }
.nk-ss-btn--tg { background: #229ed9; }

/* ---- Card do gabinete / campanha ---- */
.nk-sidebar-gabinete { border-top: 3px solid var(--nk-yellow); }
.nk-sg-header {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  color: var(--nk-blue);
  font-size: 14.5px;
}
.nk-sg-mandato {
  display: inline-block;
  margin: 8px 0 12px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #eef2f7;
  color: #475569;
  font-size: 11.5px;
  font-weight: 700;
}
.nk-sg-list { margin: 0; display: flex; flex-direction: column; gap: 9px; }
.nk-sg-row {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 10px;
  font-size: 12.5px;
  align-items: baseline;
}
.nk-sg-row dt { color: #64748b; font-weight: 700; }
.nk-sg-row dd { margin: 0; color: #1e293b; font-weight: 600; overflow-wrap: anywhere; }
.nk-sg-row dd a { color: var(--nk-blue); text-decoration: none; }
.nk-sg-row dd a:hover { text-decoration: underline; }
.nk-sg-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  padding: 11px 14px;
  border-radius: 10px;
  background: var(--nk-blue);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}
.nk-sg-btn:hover { background: var(--nk-blue-dark); }

/* ==========================================================================
   RESPONSIVO — página de post
   ========================================================================== */
@media (max-width: 1100px) {
  .nk-layout-with-sidebar { grid-template-columns: 1fr; gap: 32px; }
  .nk-sidebar-aside { position: static; }
}
@media (max-width: 768px) {
  .nk-layout-wrap { padding: 22px 16px 56px; }
  .nk-page-header__inner { padding: 0 16px; }
  .nk-breadcrumb [aria-current="page"] { max-width: 22ch; }
  .nk-article-page .nk-article-content { padding: 24px 20px; border-radius: 12px; }
  .nk-article-page .nk-article-meta-bar { padding: 12px 14px; font-size: 12.5px; }
}

/* ---- Elementos de markdown sem estilo próprio (defensivo) ---- */
.nk-article-content h4 {
  font-size: 16.5px;
  font-weight: 700;
  color: #1e293b;
  margin: 24px 0 10px;
  scroll-margin-top: 96px;
}
.nk-article-content hr {
  border: 0;
  border-top: 1px solid #e2e8f0;
  margin: 32px 0;
}
/* tabela larga rola dentro do próprio bloco, sem estourar a coluna */
.nk-article-content .nk-table-scroll { overflow-x: auto; margin: 24px 0; }
.nk-article-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  margin: 24px 0;
}
.nk-article-content th,
.nk-article-content td {
  border: 1px solid #e2e8f0;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.nk-article-content th {
  background: #f1f5f9;
  color: var(--nk-blue);
  font-weight: 800;
}
.nk-article-content tbody tr:nth-child(even) { background: #f8fafc; }
.nk-article-content code {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  padding: 2px 6px;
  font-size: 13.5px;
  font-family: Consolas, Monaco, "Courier New", monospace;
}
.nk-article-content pre {
  background: #0f172a;
  color: #e2e8f0;
  padding: 16px 18px;
  border-radius: 10px;
  overflow-x: auto;
  margin: 24px 0;
}
.nk-article-content pre code { background: none; border: 0; padding: 0; color: inherit; }
.nk-article-content figure { margin: 24px 0; }
.nk-article-content figcaption {
  font-size: 12.5px;
  color: #64748b;
  margin-top: 8px;
  text-align: center;
}
/* listas aninhadas mantêm recuo legível */
.nk-article-content li > ul,
.nk-article-content li > ol { margin: 8px 0 8px 18px; }
/* palavras muito longas (URLs) não estouram o card */
.nk-article-content { overflow-wrap: break-word; }

/* Avatar de autor sem foto: iniciais no lugar da imagem quebrada */
.nk-author-photo--iniciais {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--nk-blue);
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: .04em;
}

/* ==========================================================================
   CABEÇALHO DE PÁGINA (.nk-page-intro)
   Usado por sobre-mim, propostas, agenda, contato, categorias e páginas legais.
   Estava sem CSS: o H1 e a linha de apoio ficavam sem hierarquia nenhuma.
   ========================================================================== */
.nk-page-intro {
  margin: 0 0 32px;
  padding-bottom: 22px;
  border-bottom: 1px solid #e2e8f0;
}
.nk-page-intro h1 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 900;
  color: var(--nk-blue);
  line-height: 1.18;
  margin: 0 0 12px;
  font-family: var(--nk-font);
  text-wrap: balance;
}
.nk-page-intro > p {
  font-size: clamp(15px, 1.6vw, 17.5px);
  line-height: 1.65;
  color: #475569;
  margin: 0;
  max-width: 70ch;
}
/* eyebrow opcional acima do H1 */
.nk-page-intro .nk-jaba-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #eef2f7;
  color: var(--nk-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* Coluna principal da agenda */
.nk-agenda-main { min-width: 0; }

@media (max-width: 768px) {
  .nk-page-intro { margin-bottom: 24px; padding-bottom: 18px; }
}

/* Linha de datas de publicação e atualização das páginas */
.nk-page-dates {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
  padding: 10px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  color: #64748b;
  font-size: 12.5px;
  font-weight: 600;
}
.nk-page-dates span { display: inline-flex; align-items: center; gap: 6px; }
.nk-page-dates__sep { color: #94a3b8; }

/* ==========================================================================
   BLOCOS DAS PÁGINAS DE CONTEÚDO (silos do topical map)
   ========================================================================== */

/* Nota editorial: avisos de escopo e status da informação */
.nk-editorial-notice {
  background: #eff6ff;
  border-left: 4px solid var(--nk-blue);
  border-radius: 10px;
  padding: 16px 18px;
  margin: 0 0 32px;
  color: #1e293b;
  font-size: 14.5px;
  line-height: 1.6;
}
.nk-editorial-notice p { margin: 0; }
.nk-editorial-notice p + p { margin-top: 10px; }

/* Bloco de assinatura do candidato (marca registrada da peça) */
.nk-signature-block,
.nk-author-quote {
  background: #f8fafc;
  border-left: 4px solid var(--nk-yellow);
  border-radius: 10px;
  padding: 22px 24px;
  margin: 36px 0;
  font-size: 16px;
  line-height: 1.7;
  color: #1e293b;
}
.nk-signature-block p,
.nk-author-quote p { margin: 0; }
.nk-signature-block p + p,
.nk-author-quote p + p { margin-top: 12px; }
.nk-signature-block strong:last-child,
.nk-author-quote strong:last-child {
  display: block;
  margin-top: 14px;
  color: var(--nk-blue);
  font-weight: 800;
}

/* Lista de links internos ao fim das páginas de silo */
.nk-internal-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.nk-internal-links li { margin: 0; }
.nk-internal-links a {
  display: block;
  padding: 14px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  color: var(--nk-blue);
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
  transition: border-color .18s ease, transform .18s ease;
}
.nk-internal-links a:hover {
  border-color: var(--nk-blue);
  transform: translateY(-2px);
}

/* Balão da categoria real do post: é link, os demais são apenas rótulos */
.nk-tag-balloon--cat {
  background: var(--nk-blue);
  /* a classe base usa color !important, então o chip precisa do mesmo peso,
     senão fica texto azul sobre fundo azul */
  color: #fff !important;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
}
.nk-tag-balloon--cat:hover { background: var(--nk-blue-dark); color: #fff !important; }

/* ==========================================================================
   RETRATO DE FELIPE NO BLOCO DE FALA
   O transform "falaDeFelipe" marca o blockquote que traz a assinatura.
   O retrato entra como camada de fundo, não como <img>, para não competir
   com o texto na ordem de leitura de quem usa leitor de tela.
   ========================================================================== */
.nk-article-content blockquote.nk-fala-felipe {
  position: relative;
  padding-right: 150px;
  min-height: 168px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.nk-article-content blockquote.nk-fala-felipe::after {
  content: "";
  position: absolute;
  right: 8px;
  bottom: 0;
  width: 132px;
  height: 176px;
  background: url("/assets/images/felipe-box.webp") right bottom / contain no-repeat;
  pointer-events: none;
}

/* Sem suporte a webp, cai no png */
@supports not (background-image: url("data:image/webp;base64,UklGRhoAAABXRUJQVlA4TA0AAAAvAAAAEAcQERGIiP4HAA==")) {
  .nk-article-content blockquote.nk-fala-felipe::after {
    background-image: url("/assets/images/felipe-box.png");
  }
}

@media (max-width: 620px) {
  /* No celular o retrato roubaria a largura do texto, então sai de cena */
  .nk-article-content blockquote.nk-fala-felipe {
    padding-right: 24px;
    min-height: 0;
  }
  .nk-article-content blockquote.nk-fala-felipe::after { display: none; }
}

/* Foto real de autor, quando existe em autores.json */
.nk-author-photo { object-fit: cover; }

/* ==========================================================================
   CTA DO CANAL OFICIAL NA SIDEBAR
   Com uma rede só, o grid de ícones estica o botão e ele fica sem sentido.
   Aqui o Instagram vira linha completa: ícone, rótulo, arroba e seta.
   ========================================================================== */
.nk-ig-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: #fff;
  /* Faixa rosa/roxa da marca do Instagram. O laranja original ficava em
     2.34:1 com texto branco, e é justamente onde o rótulo se apoia.
     Estas três paradas ficam entre 5.11:1 e 6.50:1. */
  background: linear-gradient(135deg, #c13584 0%, #a333c8 45%, #833ab4 100%);
  box-shadow: 0 6px 18px rgba(131, 58, 180, 0.26);
  transition: transform .16s ease, box-shadow .16s ease;
}
.nk-ig-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(131, 58, 180, 0.34);
}
.nk-ig-cta__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.18);
}
.nk-ig-cta__icon svg { width: 21px; height: 21px; }
.nk-ig-cta__txt {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1;
  min-width: 0;
}
.nk-ig-cta__txt strong { font-size: 14.5px; font-weight: 800; line-height: 1.2; }
.nk-ig-cta__txt span {
  font-size: 12.5px;
  color: #f1f5f9;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nk-ig-cta__seta { flex-shrink: 0; display: flex; transition: transform .16s ease; }
.nk-ig-cta:hover .nk-ig-cta__seta { transform: translateX(3px); }
.nk-ig-cta__nota {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.5;
  margin: 12px 0 0;
}

/* Quando existirem outras redes, a grade entra abaixo do CTA */
.nk-ig-cta + .nk-ig-cta__nota + .nk-sidebar-social,
.nk-ig-cta + .nk-sidebar-social { margin-top: 14px; }
