:root {
    --bg-page: #ffffff;
    --bg-header: #ffffff;
    --bg-sidebar-card: #f5f7fb;
    --bg-tag: #e6eeff;
    --border-soft: #e2e4ea;
    --text-main: #111111;
    --text-muted: #6b6f7b;
    --accent: #2554d9;
    --accent-dark: #163488;
    --shadow-soft: 0 1px 3px rgba(15, 23, 42, 0.08);
    --radius-card: 12px;
    --header-height: 56px;
  }

  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
      sans-serif;
    background: var(--bg-page);
    color: var(--text-main);
    line-height: 1.6;
  }

  .color-red{
    color: #C10000;
  }

  a {
    color: var(--accent);
    text-decoration: none;
  }

  a:hover {
    text-decoration: underline;
  }

  /* ============ HEADER DESKTOP ============ */

  .site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--bg-header);
    border-bottom: 1px solid var(--border-soft);
  }

  .header-inner {
    max-width: 1120px;
    margin: 0 auto;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0 1.25rem;
  }

  .logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.9rem;
  }

  .logo-circle {
    width: 92px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    margin-right: 0.5rem;
  }

  .logo span {
    font-weight: 400;
    margin-left: 0.15rem;
  }

  .primary-nav {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    font-size: 0.9rem;
  }

  .primary-nav a {
    color: var(--text-main);
    font-weight: 500;
    white-space: nowrap;
  }

  .primary-nav a:hover {
    color: var(--accent);
  }

  .header-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

  .icon-btn {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: none;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
  }

  .stream-btn {
    border-radius: 999px;
    border: none;
    padding: 0.45rem 0.9rem;
    font-size: 0.85rem;
    font-weight: 600;
    background: #004b63;
    color: #ffffff;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    white-space: nowrap;
    display: flex;
    align-items: center;   /* Alinha verticalmente */
    gap: 6px; 
  }

  .stream-btn span {
    opacity: 0.8;
    font-weight: 400;
    font-size: 0.78rem;
    margin-left: 0.35rem;
  }

  .stream-btn:hover {
    background: #003445;
  }

  /* Hamburger (aparece no mobile) */
  .nav-toggle {
    display: none;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0.25rem;
    margin-right: 0.25rem;
  }

  .nav-toggle-bars {
    width: 20px;
    height: 2px;
    background: #000;
    position: relative;
    border-radius: 2px;
  }

  .nav-toggle-bars::before,
  .nav-toggle-bars::after {
    content: "";
    position: absolute;
    left: 0;
    width: 20px;
    height: 2px;
    background: #000;
    border-radius: 2px;
  }

  .nav-toggle-bars::before {
    top: -6px;
  }

  .nav-toggle-bars::after {
    top: 6px;
  }

  /* ============ PAGE LAYOUT (DESKTOP) ============ */

  main.page {
    max-width: 1120px;
    margin: 1.75rem auto 2.5rem;
    padding: 0 1.25rem;
    display: grid;
    grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.3fr);
    gap: 2.5rem;
  }

  .adv,
.btn,
.footer,
.text-center {
    text-align: center
}

.adv,
.footer {
    padding: 10px;
    font-size: 13px;
    font-weight: 300;
    color: #98999a
}

  .article {
    min-width: 0;
  }

  .article-kicker {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.35rem;
  }

  .article-title {
    font-size: clamp(1.9rem, 2.3vw + 1rem, 2.4rem);
    line-height: 1.1;
    margin-bottom: 0.6rem;
    font-weight: 700;
  }

  .article-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
  }

  .article-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 0.8rem;
  }

  .article-meta a {
    font-weight: 600;
  }

  .article-share {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    margin-left: auto;  /* ocupa o espaço vazio até a borda direita */
  }

  .share-btn {
    width: 40px;          /* antes 46px */
  height: 40px;         /* antes 46px */
  border-radius: 50%;
  border: 1.5px solid #dbe4ff;  /* borda mais fina */
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.1s ease;
  color: #000;          /* controla o currentColor dos SVGs */
  }

  /* Ícones (tamanho + espessura parecida com a ABC) */
.share-btn i {
  font-size: 20px;
  line-height: 1;
  font-style: normal;
  color: #000;
}

.share-btn:hover {
  background: #f4f7ff;
  transform: translateY(-1px);
}

.share-icon {
  width: 24px;
  height: 24px;
}

/* cor do ícone (círculo + f) */
.share-btn.fb {
  color: #000;   /* controla o fill="currentColor" do path */
}

  .article-hero {
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-soft);
    margin-bottom: 1rem;
  }

  .hero-media {
    background: radial-gradient(circle at 0 0, #1d4ed8, #020617);
    min-height: 220px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 1.25rem;
    color: #ffffff;
    position: relative;
  }

  .hero-anchor {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
  }

  .hero-overlay {
    position: absolute;
    right: 1.25rem;
    top: 1.25rem;
    padding: 0.35rem 0.55rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.8);
    font-size: 0.75rem;
  }

  .hero-caption {
    font-size: 0.8rem;
    color: var(--text-muted);
    padding: 0.65rem 0.85rem 0.8rem;
    background: #ffffff;
  }

  .article-body {
    font-size: 0.98rem;
    color: #111827;
    margin-top: 1.25rem;
  }

  .article-body p + p {
    margin-top: 1rem;
  }

  .article-body p a {
    font-weight: 500;
  }

  .article-body .inline-link {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-thickness: 1px;
  }

  /* ============ SIDEBAR ============ */

  .sidebar {
    min-width: 0;
  }

  .sidebar-section + .sidebar-section {
    margin-top: 2rem;
  }

  .sidebar-title {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    margin-bottom: 0.75rem;
  }

  .sidebar-card {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: var(--radius-card);
    background: var(--bg-sidebar-card);
    margin-bottom: 0.6rem;
    cursor: pointer;
    border: 1px solid transparent;
  }

  .sidebar-card:hover {
    border-color: var(--border-soft);
    background: #eef2ff;
  }

  .sidebar-image {
    width: 96px;          /* mesmo tamanho dos cards da screenshot */
    height: 96px;
    border-radius: 20px;
    overflow: hidden;     /* importante para cortar bordas arredondadas */
    flex-shrink: 0;
    background: #d0d5e0;  /* fallback caso a imagem não carregue */
  }

  /* IMAGEM */
.sidebar-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;    /* preenche sem distorcer */
  display: block;
}

  .sidebar-text {
    font-size: 0.82rem;
    color: #111827;
  }

  .sidebar-meta {
    margin-top: 0.35rem;
    font-size: 0.75rem;
    color: var(--text-muted);
  }

  /* ============ RELATED TOPICS + FOOTER ============ */

  .related-topics {
    max-width: 1120px;
    margin: 0 auto 2.5rem;
    padding: 0 1.25rem;
    border-top: 1px solid var(--border-soft);
    padding-top: 1.5rem;
  }

  .related-topics h2 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }

  .topic-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
  }

  .topic-tag {
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: var(--bg-tag);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent-dark);
  }

  .site-footer {
    border-top: 1px solid var(--border-soft);
    padding: 1.75rem 1.25rem 2rem;
  }

  .footer-inner {
    max-width: 640px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .footer-line {
    flex: 1;
    height: 1px;
    background: var(--border-soft);
  }

  .footer-logo {
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.9rem;
  }

  .footer-logo img.footer-logo-img {
    height: 26px;          /* ajuste conforme necessário */
    display: block;
    object-fit: contain;
  }
  

  /* ============ MOBILE (<= 768px) ============ */

  @media (max-width: 767px) {
    .header-inner {
      padding-inline: 0.85rem;
    }

    .nav-toggle {
      display: inline-flex;
    }

    .primary-nav {
      position: absolute;
      top: var(--header-height);
      left: 0;
      right: 0;
      background: #ffffff;
      border-bottom: 1px solid var(--border-soft);
      padding: 0.75rem 1rem 0.9rem;
      display: none;
      gap: 0.9rem;
      font-size: 0.9rem;
    }

    body.nav-open .primary-nav {
      display: flex;
      overflow-x: auto;
    }

    .primary-nav a {
      font-weight: 600;
    }

    .header-actions {
      gap: 0.25rem;
    }

    .stream-btn {
      padding-inline: 0.7rem;
    }

    main.page {
      grid-template-columns: minmax(0, 1fr);
      gap: 1.75rem;
      margin-top: 1.25rem;
    }

    .article-title {
      font-size: 1.6rem;
    }

    .article-hero {
      margin-left: -1rem;
      margin-right: -1rem;
      border-radius: 0;
      border-left: none;
      border-right: none;
    }

    .hero-media {
      min-height: 200px;
    }

    .sidebar {
      border-top: 1px solid var(--border-soft);
      padding-top: 1.25rem;
    }

    .sidebar-card {
      grid-template-columns: 90px minmax(0, 1fr);
    }

    .related-topics {
      margin-bottom: 1.75rem;
    }

    .footer-inner {
      justify-content: center;
    }

    .article-share {
      display: flex;
      gap: 0.5rem;
      margin-bottom: 1.25rem;
      margin-left: 0;  /* ocupa o espaço vazio até a borda direita */
    }
  }

  /* ============ VERY SMALL SCREENS ============ */

  @media (max-width: 480px) {
    .article-share {
      justify-content: flex-start;
      margin-left: 0;  /* ocupa o espaço vazio até a borda direita */
    }

    .hero-caption {
      font-size: 0.78rem;
    }
  }