/* GrowthCode Social: botões de compartilhar e Voltar ao topo. Cores e medidas do tema GrowthCode Editorial, nos modos
   claro e escuro, pelas variáveis dele; os valores depois da vírgula valem para outros temas. */
.gcs [hidden], .gcs-top[hidden] { display: none !important; }
.gcs-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.gcs-list { list-style: none; margin: 0; padding: 0; }
.gcs-btn { font: inherit; color: var(--ink, #142332); text-decoration: none; cursor: pointer; }
.gcs-count { font-variant-numeric: tabular-nums; }

/* Coluna lateral "Leitura com foco": lista no mesmo desenho do "Copiar link" do tema. */
.gcs--aside { margin-top: 25px; }
.gcs-label { margin: 0; font-size: .6875rem; font-weight: 750; line-height: 1.5; letter-spacing: .14em; text-transform: uppercase; color: var(--muted, #526577); }
.gcs--aside .gcs-total { margin: 6px 0 0; font-size: .73rem; line-height: 1.5; color: var(--muted, #526577); }
.gcs--aside .gcs-list { margin-top: 10px; border-top: 1px solid var(--line, #dce4eb); }
.gcs--aside .gcs-btn { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 32px; padding: 5px 0; border: 0; border-bottom: 1px solid var(--line, #dce4eb); border-radius: 0; background: transparent; font-size: .72rem; line-height: 1.4; text-align: left; }
.gcs--aside .gcs-btn:hover { color: var(--blue, #0961c9); }
.gcs--aside .gcs-count { font-size: .6875rem; color: var(--muted, #526577); }

/* Fim do artigo: pílulas que quebram linha, em qualquer largura de tela. */
.gcs--end { clear: both; margin: 40px 0 0; padding-top: 24px; border-top: 1px solid var(--line, #dce4eb); }
.gcs--end .gcs-heading { margin: 0; font-size: 1.05rem; font-weight: 700; line-height: 1.3; letter-spacing: -.015em; scroll-margin-top: 30px; }
.gcs--end .gcs-total { margin: 4px 0 0; font-size: .8rem; line-height: 1.5; color: var(--muted, #526577); }
.gcs--end .gcs-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; }
.gcs--end .gcs-list li { margin: 0; padding: 0; }
.gcs--end .gcs-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 15px; border: 1px solid var(--control-line, #768a9c); border-radius: 999px; background: var(--paper, #fff); color: var(--ink, #142332); font-size: .8rem; font-weight: 600; line-height: 1.2; text-decoration: none; }
.gcs--end .gcs-btn:hover { border-color: var(--control-line-hover, #88b9d3); color: var(--ink, #142332); text-decoration: none; }
.gcs--end .gcs-count { padding: 1px 7px; border-radius: 999px; background: var(--wash, #f4f7fa); color: var(--muted, #526577); font-size: .72rem; }
/* Dentro do conteúdo do artigo, as regras de texto do tema (links sublinhados, listas com recuo, h2 grande) não valem aqui. */
.entry-content .gcs--end .gcs-heading { margin: 0; font-size: 1.05rem; }
.entry-content .gcs--end .gcs-list { margin: 14px 0 0; padding: 0; }
.entry-content .gcs--end .gcs-list li { margin: 0; }
.entry-content .gcs--end .gcs-btn { color: var(--ink, #142332); text-decoration: none; }

/* Ícones: o arquivo oficial de cada rede como veio do kit (sem filtro de cor, sem cantos arredondados, sem o fundo branco
   que o tema põe nas imagens do artigo no modo escuro) e os de traço do plugin. 24 px (o menor tamanho que os kits pedem é o
   do Reddit, 24 px), com 12 px livres até o nome (metade da largura, a regra do Facebook). */
.gcs-icon { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; width: 24px; height: 24px; margin-inline-end: 4px; }
.gcs-icon svg { display: block; width: 24px; height: 24px; }
.gcs .gcs-icon .gcs-icon-img { display: block; width: 24px; height: 24px; max-width: none; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; object-fit: contain; }
.gcs .gcs-icon .gcs-icon--light { display: var(--art-light-display, block); }
.gcs .gcs-icon .gcs-icon--dark { display: var(--art-dark-display, none); }
.gcs--aside .gcs-name { flex: 1; }
.gcs--end .gcs-icon--none { display: none; }
.gcs--end .gcs-icon--dark-only { display: var(--art-dark-display, none); }

/* Voltar ao topo: pequeno, parado, no canto inferior direito; com o aviso de cookies aberto, sobe a altura dele. */
.gcs-top { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + var(--gcc-banner-space, 0px) + env(safe-area-inset-bottom, 0px)); z-index: 60; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; margin: 0; padding: 10px 16px 10px 13px; border: 1px solid var(--button-bg, #142332); border-radius: 999px; background: var(--button-bg, #142332); color: var(--button-ink, #fff); font: inherit; font-size: .78rem; font-weight: 650; line-height: 1.2; cursor: pointer; box-shadow: 0 2px 10px rgba(20, 35, 50, .2); }
.gcs-top:hover { border-color: var(--button-hover, #0961c9); background: var(--button-hover, #0961c9); color: var(--button-hover-ink, #fff); }
.gcs-top-icon { width: 20px; height: 20px; flex-shrink: 0; }
/* Enquanto o botão aparece, o item focado pelo teclado para acima dele (WCAG 2.4.11), somando o aviso de cookies. */
html.gcs-top-on, html.gcc-reserve.gcs-top-on { scroll-padding-bottom: calc(var(--gcc-banner-space, 0px) + 76px); }
@media (max-width: 560px) {
  .gcs-top { width: 44px; height: 44px; padding: 0; }
  .gcs-top-label { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
}
@media (prefers-reduced-motion: no-preference) { .gcs-top { transition: background-color .18s, border-color .18s; } }
/* Alto contraste do Windows: bordas na cor do sistema, para os botões não sumirem. */
@media (forced-colors: active) {
  .gcs--end .gcs-btn, .gcs-top { border: 1px solid ButtonText; }
}
@media print { .gcs, .gcs-top { display: none !important; } }
