/* ==========================================================================
   RIO MKT NEWS — PORTAL EDITORIAL CLEAN (ESTILO G1 + PADRÃO RIO MKT)
   Inspirado na escaneabilidade, leveza e hierarquia jornalística do G1,
   com a assinatura visual e identidade executiva da Rio Marketing 360°
   ========================================================================== */

:root {
  /* Fundo & Superfícies Light Editorial */
  --rmk-news-bg: #ffffff;
  --rmk-news-surface: #f8fafc;
  --rmk-news-surface-hover: #f1f5f9;
  --rmk-news-surface-subtle: #f8fafc;
  --rmk-news-card: #ffffff;
  --rmk-news-card-border: #e2e8f0;

  /* Acento de Marca: Verde Esmeralda Rio MKT (calibrado para WCAG AAA em fundo claro) */
  --rmk-news-accent: #009966;
  --rmk-news-accent-hover: #007a52;
  --rmk-news-accent-light: rgba(0, 153, 102, 0.08);
  --rmk-news-accent-glow: rgba(0, 153, 102, 0.16);
  --rmk-news-accent-border: rgba(0, 153, 102, 0.25);

  /* Acentos de Apoio Editorial */
  --rmk-news-blue: #0284c7;
  --rmk-news-amber: #d97706;
  --rmk-news-red: #dc2626;

  /* Bordas e Linhas de Divisão Hairline */
  --rmk-news-border: #e2e8f0;
  --rmk-news-border-strong: #cbd5e1;
  --rmk-news-border-light: #f1f5f9;

  /* Tipografia & Textos com Alto Contraste */
  --rmk-news-text-title: #0f172a;       /* Preto profundo slate */
  --rmk-news-text-body: #334155;        /* Cinza carvão para leitura longa */
  --rmk-news-text-muted: #64748b;       /* Linhas-finas e metadados */
  --rmk-news-text-subtle: #94a3b8;      /* Legendas e marcas d'água */

  /* Tipografia Clássica G1 (Open Sans & Public Sans) */
  --font-display: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-ui: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-editorial: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Formas & Transições */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-pill: 9999px;
  --transition-smooth: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Universal Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Browser Surfaces (Rio Art Director / Impeccable) */
::selection {
  background: rgba(0, 153, 102, 0.18);
  color: #0f172a;
}

::-moz-selection {
  background: rgba(0, 153, 102, 0.18);
  color: #0f172a;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f8fafc;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #009966;
}

:focus-visible {
  outline: 2px solid var(--rmk-news-accent);
  outline-offset: 3px;
}

/* Base Body */
body.news-portal {
  background-color: var(--rmk-news-bg);
  color: var(--rmk-news-text-body);
  font-family: var(--font-body);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.news-container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ==========================================================================
   TOP BAR: RADAR 24H & ATALHOS INSTITUCIONAIS
   ========================================================================== */
.news-header-top {
  background: #0f172a;
  color: #94a3b8;
  font-size: 0.76rem;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.news-header-top__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.news-ticker-live {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  white-space: nowrap;
}

.news-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 153, 102, 0.2);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.35);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.news-live-tag__dot {
  width: 6px;
  height: 6px;
  background-color: #34d399;
  border-radius: 50%;
  animation: liveDot 1.4s infinite;
}

@keyframes liveDot {
  0% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.2); }
  100% { opacity: 0.4; transform: scale(0.9); }
}

.news-top-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.news-top-link {
  color: #94a3b8;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.news-top-link:hover {
  color: #34d399;
}

/* ==========================================================================
   MAIN NAVBAR (LIGHT EDITORIAL HEADER ESTILO G1)
   ========================================================================== */
.news-navbar {
  background: #ffffff;
  border-bottom: 1px solid var(--rmk-news-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.news-navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}

.news-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.news-brand__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.55rem;
  color: #0f172a;
  letter-spacing: -0.03em;
  line-height: 1;
}

.news-brand__badge {
  background: var(--rmk-news-accent);
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.news-nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-nav-item a {
  display: inline-block;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-ui);
  font-size: 0.92rem;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.news-nav-item a:hover {
  color: var(--rmk-news-accent);
  background: var(--rmk-news-surface);
}

.news-nav-item a.active {
  color: var(--rmk-news-accent);
  font-weight: 700;
  background: var(--rmk-news-accent-light);
}

.news-btn-diag {
  background: var(--rmk-news-accent);
  color: #ffffff;
  border: 1px solid var(--rmk-news-accent);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 8px var(--rmk-news-accent-glow);
}

.news-btn-diag:hover {
  background: var(--rmk-news-accent-hover);
  transform: translateY(-1px);
}

/* ==========================================================================
   SUB-HEADER CATEGORY BAR (CHIPS EM ALTA)
   ========================================================================== */
.news-catbar {
  background: var(--rmk-news-surface);
  border-bottom: 1px solid var(--rmk-news-border);
  padding: 9px 0;
}

.news-catbar__list {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.news-catbar__list::-webkit-scrollbar {
  display: none;
}

.news-cat-pill {
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: #ffffff;
  border: 1px solid var(--rmk-news-border);
  color: #475569;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: var(--transition-smooth);
}

.news-cat-pill:hover, .news-cat-pill.active {
  color: var(--rmk-news-accent);
  border-color: var(--rmk-news-accent);
  background: var(--rmk-news-accent-light);
}

/* ==========================================================================
   CHAPÉU JORNALÍSTICO (ESTILO G1)
   ========================================================================== */
.news-chapeu {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--rmk-news-accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.news-chapeu--tag {
  background: var(--rmk-news-accent-light);
  padding: 3px 8px;
  border-radius: 4px;
}

/* ==========================================================================
   HERO EDITORIAL: MANCHETE PRINCIPAL + RADAR EM TEMPO REAL
   ========================================================================== */
.news-hero-wrap {
  padding: 32px 0 28px;
  border-bottom: 1px solid var(--rmk-news-border);
}

.news-hero-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 992px) {
  .news-hero-layout {
    grid-template-columns: 1.85fr 1.15fr;
  }
}

/* Lead Feature Card (Manchete G1) */
.news-lead-feature {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: #ffffff;
  transition: var(--transition-smooth);
}

.news-lead-feature__cover {
  width: 100%;
  height: 380px;
  overflow: hidden;
  border-radius: var(--radius-md);
  position: relative;
  background: #f1f5f9;
  margin-bottom: 20px;
}

.news-lead-feature__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-lead-feature:hover .news-lead-feature__img {
  transform: scale(1.02);
}

.news-lead-feature__body {
  display: flex;
  flex-direction: column;
}

.news-lead-feature__title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--rmk-news-text-title);
  margin: 0 0 12px;
  transition: var(--transition-smooth);
}

.news-lead-feature:hover .news-lead-feature__title {
  color: var(--rmk-news-accent);
}

.news-lead-feature__excerpt {
  font-size: 1.05rem;
  color: var(--rmk-news-text-muted);
  line-height: 1.55;
  margin: 0 0 14px;
}

.news-meta-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--rmk-news-text-subtle);
  font-weight: 500;
}

/* Sidebar Editorial: Radar em Tempo Real (Estilo G1) */
.news-sidebar-panel {
  background: var(--rmk-news-surface);
  border: 1px solid var(--rmk-news-border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.news-sidebar-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 2px solid #0f172a;
  margin-bottom: 16px;
}

.news-sidebar-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.news-trending-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.news-trending-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rmk-news-border);
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

.news-trending-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.news-trending-item:hover .news-trending-title {
  color: var(--rmk-news-accent);
}

.news-trending-rank {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: #cbd5e1;
  line-height: 1;
  min-width: 24px;
}

.news-trending-content {
  flex: 1;
}

.news-trending-meta {
  font-size: 0.72rem;
  color: var(--rmk-news-text-subtle);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.news-trending-title {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  color: #0f172a;
  margin: 0;
  transition: var(--transition-smooth);
}

/* ==========================================================================
   DESTAQUES SECUNDÁRIOS (HORIZONTAL EDITORIAL CARDS)
   ========================================================================== */
.news-secondary-section {
  padding: 32px 0;
  border-bottom: 1px solid var(--rmk-news-border);
}

.news-secondary-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .news-secondary-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.news-card-horizontal {
  display: flex;
  gap: 18px;
  text-decoration: none;
  color: inherit;
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--rmk-news-border);
  background: #ffffff;
  transition: var(--transition-smooth);
}

.news-card-horizontal:hover {
  border-color: var(--rmk-news-accent);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.news-card-horizontal__thumb {
  width: 140px;
  height: 95px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: #f1f5f9;
}

.news-card-horizontal__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card-horizontal__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-card-horizontal__title {
  font-family: var(--font-ui);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.35;
  color: #0f172a;
  margin: 4px 0 6px;
  transition: var(--transition-smooth);
}

.news-card-horizontal:hover .news-card-horizontal__title {
  color: var(--rmk-news-accent);
}

/* ==========================================================================
   NEWSLETTER DIGEST BOX (LIGHT & CLEAN)
   ========================================================================== */
.news-newsletter-box {
  background: var(--rmk-news-surface);
  border: 1px solid var(--rmk-news-border);
  border-radius: var(--radius-md);
  padding: 32px 36px;
  margin: 36px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.news-newsletter-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
  margin: 4px 0 6px;
}

.news-newsletter-sub {
  font-size: 0.92rem;
  color: var(--rmk-news-text-muted);
  max-width: 480px;
  margin: 0;
}

.news-newsletter-form {
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: 420px;
}

.news-newsletter-input {
  flex: 1;
  background: #ffffff;
  border: 1px solid var(--rmk-news-border-strong);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.9rem;
  color: #0f172a;
  outline: none;
  font-family: var(--font-ui);
  transition: var(--transition-smooth);
}

.news-newsletter-input:focus {
  border-color: var(--rmk-news-accent);
  box-shadow: 0 0 0 3px var(--rmk-news-accent-light);
}

.news-newsletter-btn {
  background: var(--rmk-news-accent);
  color: #ffffff;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-smooth);
}

.news-newsletter-btn:hover {
  background: var(--rmk-news-accent-hover);
}

/* ==========================================================================
   FEED GERAL (GRADE 3 COLUNAS ESTILO G1)
   ========================================================================== */
.news-feed-section {
  padding: 40px 0 60px;
}

.news-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #0f172a;
  padding-bottom: 12px;
  margin-bottom: 28px;
}

.news-section-title-main {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.news-grid-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 640px) {
  .news-grid-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .news-grid-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.news-post-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: #ffffff;
  border: 1px solid var(--rmk-news-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.news-post-card:hover {
  border-color: var(--rmk-news-accent);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.news-post-card__thumb {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #f1f5f9;
}

.news-post-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-post-card:hover .news-post-card__img {
  transform: scale(1.03);
}

.news-post-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-post-card__title {
  font-family: var(--font-ui);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  color: #0f172a;
  margin: 6px 0 10px;
  transition: var(--transition-smooth);
}

.news-post-card:hover .news-post-card__title {
  color: var(--rmk-news-accent);
}

.news-post-card__desc {
  font-size: 0.9rem;
  color: var(--rmk-news-text-muted);
  line-height: 1.55;
  margin: 0 0 16px;
  flex: 1;
}

.news-post-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--rmk-news-text-subtle);
  border-top: 1px solid var(--rmk-news-border-light);
  padding-top: 12px;
}

/* ==========================================================================
   PÁGINA DO ARTIGO (POST.HBS // G1 CLEAN LONG-FORM)
   ========================================================================== */
.gh-content {
  font-size: 1.125rem;
  line-height: 1.85;
  color: var(--rmk-news-text-body);
}

.gh-content h2 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin: 48px 0 18px;
  line-height: 1.25;
  position: relative;
  padding-bottom: 12px;
}

.gh-content h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 3px;
  background: var(--rmk-news-accent);
  border-radius: 2px;
}

.gh-content h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #1e293b;
  margin: 36px 0 14px;
  line-height: 1.35;
}

.gh-content p {
  margin-bottom: 24px;
  color: var(--rmk-news-text-body);
  font-size: 1.125rem;
  line-height: 1.85;
}

.gh-content strong {
  color: #0f172a;
  font-weight: 700;
}

.gh-content blockquote {
  position: relative;
  background: var(--rmk-news-surface);
  border: 1px solid var(--rmk-news-border);
  border-radius: var(--radius-md);
  padding: 28px 32px 28px 40px;
  margin: 36px 0;
  font-family: var(--font-editorial);
  font-style: italic;
  color: #1e293b;
  font-size: 1.25rem;
  line-height: 1.6;
}

.gh-content blockquote::before {
  content: '“';
  position: absolute;
  top: -12px;
  left: 16px;
  font-family: var(--font-editorial);
  font-size: 3.4rem;
  line-height: 1;
  color: var(--rmk-news-accent);
  background: #ffffff;
  padding: 0 4px;
}

.gh-content ul, .gh-content ol {
  margin: 20px 0 28px 24px;
  color: var(--rmk-news-text-body);
  line-height: 1.8;
}

.gh-content li {
  margin-bottom: 8px;
}

/* GEO / AI Brief Box */
.news-brief-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin: 28px 0 36px;
}

.news-brief-box__title {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 800;
  color: #166534;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.05em;
}

/* GEO / FAQ Box */
.news-faq-box {
  background: var(--rmk-news-surface);
  border: 1px solid var(--rmk-news-border);
  border-radius: var(--radius-md);
  padding: 28px;
  margin: 40px 0;
}

.news-faq-box__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--rmk-news-border);
  padding-bottom: 12px;
}

.news-faq-item {
  margin-bottom: 18px;
}

.news-faq-item:last-child {
  margin-bottom: 0;
}

.news-faq-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}

.news-faq-item p {
  font-size: 0.95rem;
  color: var(--rmk-news-text-muted);
  margin: 0;
  line-height: 1.6;
}

/* ==========================================================================
   EDITORIAL TABLES & DATA GRIDS
   ========================================================================== */
.gh-content table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 36px 0;
  font-size: 0.94rem;
  background: #ffffff;
  border: 1px solid var(--rmk-news-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
}

.gh-content th {
  background: var(--rmk-news-surface);
  color: #0f172a;
  font-family: var(--font-ui);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--rmk-news-border-strong);
}

.gh-content td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--rmk-news-border);
  color: var(--rmk-news-text-body);
  line-height: 1.55;
}

.gh-content tr:last-child td {
  border-bottom: none;
}

.gh-content tr:hover td {
  background: var(--rmk-news-surface);
}

.gh-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.88em;
  background: var(--rmk-news-surface);
  border: 1px solid var(--rmk-news-border);
  padding: 2px 6px;
  border-radius: 4px;
  color: #0284c7;
}

.gh-content pre {
  background: #0f172a;
  border-radius: var(--radius-md);
  padding: 20px 24px;
  overflow-x: auto;
  margin: 32px 0;
}

.gh-content pre code {
  background: transparent;
  border: none;
  padding: 0;
  color: #f8fafc;
}

/* ==========================================================================
   EDITORIAL FOOTER (DARK SLATE CORPORATIVO ESTILO GLOBO / G1)
   ========================================================================== */
.footer {
  background: #0c1017;
  color: #94a3b8;
  margin-top: 80px;
  padding: 70px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 48px;
  margin-bottom: 48px;
}

@media (max-width: 992px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 576px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.footer__logo-img {
  height: 34px;
  width: auto;
  object-fit: contain;
}

.footer__brand p {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.65;
  margin-top: 14px;
}

.footer__socials {
  display: flex;
  gap: 14px;
  margin-top: 20px;
}

.footer__socials a {
  color: #94a3b8;
  font-size: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer__socials a:hover {
  color: #000;
  background: var(--rmk-news-accent);
  border-color: var(--rmk-news-accent);
  transform: translateY(-2px);
}

.footer__col h4 {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #ffffff;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.footer__col a {
  display: block;
  color: #94a3b8;
  font-size: 0.88rem;
  text-decoration: none;
  margin-bottom: 12px;
  transition: var(--transition-smooth);
}

.footer__col a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

/* ==========================================================================
   PAGINATION & CONTAINERS
   ========================================================================== */
.rmk-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin: 50px 0 20px;
  font-family: var(--font-ui);
}

.rmk-pagination a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: #ffffff;
  border: 1px solid var(--rmk-news-border);
  color: var(--rmk-news-text-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.rmk-pagination a:hover {
  color: var(--rmk-news-accent);
  border-color: var(--rmk-news-accent);
  background: var(--rmk-news-surface);
}

.rmk-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.rmk-container--sm {
  max-width: 860px;
}

.rmk-h1 {
  font-family: var(--font-display);
  font-weight: 800;
  color: #0f172a;
}
