/* assets/css/header-overrides.css */
/* ==============================================================================  
   HEADER OVERRIDES (otimizado e responsivo)  
   ============================================================================== */

/* 1. Variáveis específicas do header */
:root {
  /* Tamanhos fluídos */
  --toggle-size:           clamp(2.5rem, 8vw, 4rem);
  --toggle-icon-w:         clamp(1.5rem, 5vw, 2rem);
  --toggle-icon-h:         0.125rem;     /* 2px */

  /* Espaçamento fluído do header */
  --header-padding-v:      clamp(0.5rem, 2vw, 1rem);
  --header-padding-h:      clamp(1rem, 5vw, 2rem);

  /* Outras variáveis */
  --menu-offset-y:         0.2rem;
  --header-bg:             #fff;
  --header-border:         #e0e0e0;
  --header-shadow:         rgba(0,0,0,0.05);
  --menu-bg:               #fafafa;
  --menu-item-hover:       rgba(0,0,0,0.05);
  --separator:             rgba(0,0,0,0.1);

  /* Para o estilo “custom” */
  --header-custom-bg:      #ffffff;
}

/* 2. Box-sizing global para o header */
.site-header,
.site-header * {
  box-sizing: border-box;
}

/* 3. Ícone “hambúrguer” */
.menu-toggle {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  width: var(--toggle-size);
  height: var(--toggle-size);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1100;
  transition: transform .3s ease, width .3s ease, height .3s ease;
}
.menu-toggle .icon-menu {
  width: var(--toggle-icon-w);
  height: var(--toggle-icon-h);
  background-color: var(--color-text);
  position: relative;
  transition: width .3s ease;
}
.menu-toggle .icon-menu::before,
.menu-toggle .icon-menu::after {
  content: "";
  position: absolute;
  left: 0; width: 100%; height: 100%;
  background-color: inherit;
}
.menu-toggle .icon-menu::before { transform: translateY(-7px); }
.menu-toggle .icon-menu::after  { transform: translateY(7px); }
.menu-toggle[aria-expanded="true"] .icon-menu,
.menu-toggle[aria-expanded="true"] .icon-menu::before,
.menu-toggle[aria-expanded="true"] .icon-menu::after {
  visibility: hidden;
}
.menu-toggle[aria-expanded="true"]::after {
  content: "×";
  font-size: clamp(1.25rem, 5vw, 2rem);
  color: var(--color-text);
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

/* 4. Base do header — full-width, altura “casada” com o cartão interno */
.site-header {
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 0;
  position: relative;
  z-index: 1000;
  transition: none;
}

/* O cartão (.header-inner) continua com seu padding e bordas */
.header-inner {
  background: #fff;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--header-padding-v) var(--header-padding-h);
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  border-radius: 20px;      /* aqui */
  overflow: visible;        /* opcional, para evitar “vazamento” de elementos filhos */
  transition: none;
}

/* Logo e botões sempre no mesmo tamanho */
.branding-wrapper img { width:150px; height:80px; }
.menu-toggle,
.header-search .search-toggle {
  width: calc(var(--toggle-size) * .6);
  height: calc(var(--toggle-size) * .6);
  transition: transform .3s ease;
}

/* Centraliza o logo */
.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.branding-wrapper {
  position: absolute;
  left: 50%;
  transform: translateX(-50%, -50%);
  max-width: 200px;
  z-index: 1000;
}

/* Controles à direita: primeiro login/perfil, depois search */
.header-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.header-controls > #google-login-btn,
.header-controls > .g_id_signin,
.header-controls > .user-profile-dropdown {
  order: 1;
}
.header-controls > .header-search {
  order: 2;
}

/* Remove margens antigas */
.user-profile-dropdown {
  margin-left: 0;
}


/* ==============================================================================  
   MENU PRINCIPAL (limpo, organizado e responsivo)  
   ============================================================================== */

/* reset de listas */
.primary-menu,
.primary-menu ul,
.primary-menu li {
  margin: 0;
  padding: 0;
  list-style: none;
}
.primary-menu {
  display: none;
}
/* menu fechado por padrão, abre com .toggled-on.open */
.primary-menu.toggled-on {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.5rem;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--separator);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  position: absolute;
  top: calc(100% + var(--menu-offset-y));
  left: 0; right: 0;
  margin: 0 auto;
  max-width: 1200px;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}
.primary-menu.toggled-on.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
/* itens de primeiro nível */
.primary-menu > ul > li > a {
  display: block;
  text-align: center;
  padding: .75rem 1rem;
  font-family: var(--font-serif);
  font-size: .95rem;
  text-transform: uppercase;
  color: var(--color-text);
  border-radius: 4px;
  transition: background .2s, color .2s;
}
.primary-menu.toggled-on > ul > li + li > a {
  border-left: 1px solid var(--separator);
}
.primary-menu > ul > li:hover > a,
.primary-menu > ul > li > a.current-menu-item {
  background: var(--menu-item-hover);
  color: var(--color-link);
}
/* indicador de submenu */
.primary-menu li.menu-item-has-children > a::after {
  content: "▾";
  margin-left: .25rem;
  font-size: .6rem;
  transition: transform .2s ease;
}
/* SUBMENU CONTROLADO POR CLASSE */
.primary-menu .sub-menu {
  display: none !important;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--separator);
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: .5rem 0;
  min-width: 180px;
  z-index: 1101;
}
.primary-menu li.menu-item-has-children.open > .sub-menu {
  display: block !important;
}
.primary-menu li.menu-item-has-children.open > a::after {
  transform: rotate(180deg);
}
/* itens do submenu */
.primary-menu .sub-menu li a {
  display: block;
  padding: .5rem 1rem;
  font-size: .9rem;
  color: var(--color-text);
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.primary-menu .sub-menu li:hover > a {
  background: var(--menu-item-hover);
  color: var(--color-link);
}

/* MOBILE: full-screen e coluna */
@media (max-width: 768px) {
  .primary-menu.toggled-on {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    height: calc(100vh - var(--admin-bar-height, 0));
    overflow-y: auto;
    padding: 2rem 1rem;
  }
  .primary-menu.toggled-on > ul {
    display: flex !important;
    flex-direction: column;
    gap: .25rem;
  }
  .primary-menu > ul > li > a {
    padding: 1rem;
    font-size: 1.1rem;
  }
  .primary-menu .sub-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding: 0;
    margin-left: 1rem;
  }
}

/* DESKTOP: layout horizontal */
@media (min-width: 769px) {
  .primary-menu.toggled-on {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    padding: .5rem 1rem;
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: all !important;
  }
  .primary-menu.toggled-on > ul {
    display: flex !important;
    flex-direction: row;
    gap: 1rem;
    width: 100%;
  }
  .primary-menu > ul > li > a {
    margin: 0 .5rem;
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   HEADER STICKY SEM EMPURRAR O CONTEÚDO
───────────────────────────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: var(--admin-bar-height, 0); /* reserva o espaço do admin bar, se houver */
  z-index: 1000;
}

/* ==============================================================================  
   Ajuste mobile para formulário de busca  
   ============================================================================== */
@media (max-width: 480px) {
  /* torna .header-inner o contêiner do dropdown */
  .header-inner {
    position: relative;
  }
  /* garante que o logo fique sempre centralizado */
  .branding-wrapper {
    position: absolute;
    top: 50%;            /* se quiser alinhamento vertical, ajuste este valor */
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1200;       /* acima dos controles */
  }
}
/* Logo */
.branding-wrapper img,
img.custom-logo {
  max-height: calc(var(--toggle-size) * 1.0);
  /* opcional: limite a largura para não “estourar” o card */
  max-width: 209px;
  width: auto;
  height: auto;
}

  /* posiciona o wrapper de busca full-width dentro de .header-inner */
  .header-search .search-form-wrapper {
    position: absolute !important;
    top: calc(100% + var(--menu-offset-y)) !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: var(--header-padding-v) var(--header-padding-h) !important;
    background: var(--header-bg) !important;
    border: 1px solid var(--separator) !important;
    border-radius: 4px !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1) !important;
    display: block !important;
    z-index: 1200 !important;
  }

  /* faz o input preencher todo o wrapper */
  .header-search .search-form-wrapper input.search-field {
    width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box;
  }
}

/* ==============================================================================  
   TÍTULO FIXO NO STICKY  
   ============================================================================== */
.header-scroll-title {
  display: none;
}
@media (min-width: 769px) {
  .site-header.fixed .header-scroll-title {
    display: block;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-text);
    margin-left: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 200px);
  }
}

/* ==============================================================================  
   OPÇÕES DE ESTILO DO HEADER (via body_class)  
   ============================================================================== */
body.header-style--solid .site-header {
  background: #fff;
  border-bottom: 1px solid var(--header-border);
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  padding: var(--header-padding-v) var(--header-padding-h);
}
body.header-style--transparent .site-header {
  background: transparent;
  border: none;
  box-shadow: none;
  position: absolute;
  width: 100%;
  top: 0;
  transition: background .3s ease, box-shadow .3s ease;
}
body.header-style--transparent .site-header.fixed {
  background: #fff;
  border-bottom: 1px solid var(--header-border);
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}
body.header-style--custom .site-header {
  background: var(--header-custom-bg);
  border-bottom: 1px solid var(--header-border);
  box-shadow: 0 2px 4px var(--header-shadow);
  padding: calc(var(--header-padding-v)/2) calc(var(--header-padding-h)/2);
}
body.header-style--custom .site-header.fixed {
  background: var(--header-custom-bg);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
body.header-style--minimal .site-header {
  background: none;
  border-bottom: none;
  box-shadow: none;
  padding: var(--header-padding-v) var(--header-padding-h);
}

/* ==============================================================================  
   LAYOUTS ESPECÍFICOS DE HEADER  
   ============================================================================== */

/* 8. Ícone de pesquisa */
.header-search {
  position: relative;
  display: flex;
  align-items: center;
  margin-left: 1rem;
}
.header-search .search-toggle {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  width: var(--toggle-size);
  height: var(--toggle-size);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s ease;
}
.icon-search {
  font-size: 1.25rem;
  color: var(--color-text);
  transition: color .3s;
}
.search-form-wrapper {
  display: none;
  position: absolute;
  top: calc(100% + var(--menu-offset-y));
  right: 0;
  background: var(--header-bg);
  border: 1px solid var(--separator);
  border-radius: 4px;
  padding: 0.5rem 1rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 1200;
  width: 280px;
}
.header-search.open .search-form-wrapper {
  display: block;
}

/* --------------------------------------------------------------------  
   Reserva espaço fixo para logo, menu-toggle e busca e evita CLS  
--------------------------------------------------------------------- */

/* Header sempre com altura mínima igual ao estado “solid” */
.site-header {
  min-height: calc(var(--toggle-size) + (var(--header-padding-v) * 2));
}

/* Logo */
.branding-wrapper img,
img.custom-logo {
  max-height: calc(var(--toggle-size) * 1.0);
  /* opcional: limite a largura para não “estourar” o card */
  max-width: 209px;
  width: auto;
  height: auto;
}

/* Botão hamburguer */
.menu-toggle {
  width: var(--toggle-size);
  height: var(--toggle-size);
  flex-shrink: 0;
}

/* Ícone de busca */
.header-search .search-toggle {
  width: var(--toggle-size);
  height: var(--toggle-size);
  flex-shrink: 0;
}

/* Reserva espaço para o wrapper de busca (mesmo fechado) */
.search-form-wrapper {
  min-height: 0;
  min-width: 280px;
  visibility: hidden;
  pointer-events: none;
}
.header-search.open .search-form-wrapper {
  visibility: visible;
  pointer-events: all;
}

/* --------------------------------------------------------------------  
   Login Google
--------------------------------------------------------------------- */

/* Container principal */
.user-profile-dropdown {
  position: relative;
  display: inline-block;
  margin-left: 0.5rem; /* ajuste conforme seu layout */
}

/* Botão do avatar */
.user-profile-dropdown .user-toggle {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  outline: none;
}
.user-profile-dropdown .avatar-google {
  border-radius: 50%;
  display: block;
  width: 32px;
  height: 32px;
  object-fit: cover;
}

/* Dropdown: escondido por padrão */
.user-profile-dropdown .user-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.25rem);
  right: 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  min-width: 160px;
  overflow: hidden;
  z-index: 1000;
  flex-direction: column;
}

/* Links do menu */
.user-profile-dropdown .user-menu a {
  display: block;
  width: 100%;
  text-align: center;
  border-top: 1px solid #ececec; /* mantém só se desejar */
}

.user-profile-dropdown .user-menu a:hover {
  background-color: #f1f3f4;
}

/* Quando aberto */
.user-profile-dropdown.open .user-menu {
  display: flex;
}

/* ─────────────────────────────────────────────────────────────────────────────
   2) Search, perfil e menu principal fiquem acima do cartão
   ───────────────────────────────────────────────────────────────────────────── */
/* Search dropdown */
.header-search .search-form-wrapper {
  z-index: 1500; /* acima do header-inner */
}

/* Perfil dropdown */
.user-profile-dropdown .user-menu {
  z-index: 1500;
}

/* Menu principal (mobile e desktop) */
.primary-menu.toggled-on {
  z-index: 1400;
  /* para que abra abaixo do header e não seja cortado */
  position: absolute;
  top: 100%;
}

/* Estilização elegante para o dropdown de perfil */
.user-profile-dropdown .user-menu {
  min-width: 220px;
  border-radius: 12px;
  overflow: hidden;
}

/* Cabeçalho refinado */
.user-info--styled {
  background-color: #f9fafb;    /* tom suave */
  padding: 1rem;
  text-align: center;
  border-bottom: 1px solid #ececec;
}

/* Badges mais sutis, com cor de destaque */
.user-info--styled .user-badges-dropdown .badge {
  display: inline-block;
  margin: 0 4px 6px;
  padding: 4px 10px;
  font-size: 0.7rem;
  font-weight: 500;
  background-color: var(--color-link);
  color: #fff;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* Contagem de leituras com hierarquia visual */
.user-info--styled .user-read-count {
  margin-top: 6px;
}
.user-info--styled .user-read-count strong {
  display: block;
  font-size: 1.1rem;
  color: #333;
  font-weight: 600;
}

/* Link “Sair” destacado no rodapé */
.user-profile-dropdown .user-menu a {
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: #d32f2f;
  border-top: 1px solid #ececec;
  transition: background-color .2s;
}
.user-profile-dropdown .user-menu a:hover {
  background-color: rgba(211, 47, 47, 0.1);
}

/* Pequena sombra interna para separar */
.user-profile-dropdown .user-menu {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* ==============================================================================  
   MENU SECUNDÁRIO (limpo, organizado e responsivo)  
   ============================================================================== */

/* reset de listas */
.header-secondary .menu-secondary,
.header-secondary .menu-secondary ul,
.header-secondary .menu-secondary li {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* menu fechado por padrão */
.header-secondary .menu-secondary {
  display: none;
}

/* abre com .toggled-on.open */
.header-secondary .menu-secondary.toggled-on {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.5rem;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--separator);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  position: absolute;
  top: calc(100% + var(--menu-offset-y));
  left: 0; right: 0;
  margin: 0 auto;
  max-width: 1200px;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}
.header-secondary .menu-secondary.toggled-on.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

/* itens de primeiro nível */
.header-secondary .menu-secondary > li > a {
  display: block;
  text-align: center;
  padding: .75rem 1rem;
  font-family: var(--font-serif);
  font-size: .95rem;
  text-transform: uppercase;
  color: var(--color-text);
  border-radius: 4px;
  transition: background .2s, color .2s;
}
/* separador entre itens */
.header-secondary .menu-secondary > li + li > a {
  border-left: 1px solid var(--separator);
}
/* hover e ativo */
.header-secondary .menu-secondary > li:hover > a,
.header-secondary .menu-secondary > li > a.current-menu-item {
  background: var(--menu-item-hover);
  color: var(--color-link);
}

/* indicador de submenu */
.header-secondary .menu-secondary li.menu-item-has-children > a::after {
  content: "▾";
  margin-left: .25rem;
  font-size: .6rem;
  transition: transform .2s ease;
}

/* SUBMENU controlado por JS (.open) */
.header-secondary .menu-secondary .sub-menu {
  display: none !important;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--separator);
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: .5rem 0;
  min-width: 180px;
  z-index: 1101;
}
.header-secondary .menu-secondary li.menu-item-has-children.open > .sub-menu {
  display: block !important;
}
.header-secondary .menu-secondary li.menu-item-has-children.open > a::after {
  transform: rotate(180deg);
}

/* itens do submenu */
.header-secondary .menu-secondary .sub-menu li a {
  display: block;
  padding: .5rem 1rem;
  font-size: .9rem;
  color: var(--color-text);
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.header-secondary .menu-secondary .sub-menu li:hover > a {
  background: var(--menu-item-hover);
  color: var(--color-link);
}

/* -------------------------------
   MOBILE: full-screen e coluna
   ------------------------------- */
@media (max-width: 768px) {
  .header-secondary .menu-secondary.toggled-on {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    height: calc(100vh - var(--admin-bar-height, 0));
    overflow-y: auto;
    padding: 2rem 1rem;
  }
  .header-secondary .menu-secondary.toggled-on > li {
    margin-bottom: .5rem;
  }
  .header-secondary .menu-secondary > li > a {
    padding: 1rem;
    font-size: 1.1rem;
  }
  .header-secondary .menu-secondary .sub-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding: 0;
    margin-left: 1rem;
  }
}

/* -------------------------------
   DESKTOP: layout horizontal
   ------------------------------- */
@media (min-width: 769px) {
  .header-secondary .menu-secondary.toggled-on {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    padding: .5rem 1rem;
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: all !important;
  }
  .header-secondary .menu-secondary.toggled-on > li {
    margin: 0 .5rem;
  }
}

/* ===================================================================
   Sininho de Notificações (novo)
   =================================================================== */

/* 1) Container dentro de .header-controls */
.header-controls .push-wrapper {
  position: relative;
  display: inline-block;
  margin-left: 0.5rem;      /* mais folga entre o botão de menu e o sininho */
  flex-shrink: 0;
  z-index: 1200;          /* abaixo do botão, acima do logo/link */
}

/* estiliza o botão do sininho */
#n10-push-bell {
  background-color: #0073aa;   /* fundo azul */
  color: #fff;                 /* faz o SVG herdar branco */
  display: inline-flex;        /* centraliza o svg */
  align-items: center;
  justify-content: center;
  width: var(--toggle-size);   /* mesma variável do toggle */
  height: var(--toggle-size);
  padding: 0;                  /* sem espaçamento extra */
  border: none;
  border-radius: 50%;          /* círculo perfeito */
  cursor: pointer;
}

/* mantém o SVG branco e no tamanho correto */
#n10-push-bell svg {
  width: 1.2em;
  height: 1.2em;
  fill: currentColor;          /* herdará #fff do botão */
  display: block;
}


/* 3) Modal posicionado abaixo do sininho */
#n10-push-modal {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%) scale(0.9);
  width: 280px;
  max-width: 90vw;
  max-height: calc(100vh - 6rem);
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  padding: 1rem;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: transform .2s ease, opacity .2s ease;
  z-index: 1600;
}
#n10-push-modal.open {
  transform: translateX(-40%) scale(1);
  opacity: 1;
  pointer-events: auto;
}

/* 4) Botões dentro do modal com mesmo padrão */
#n10-push-subscribe,
#n10-push-unsubscribe {
  display: block;
  width: 100%;
  padding: 0.6rem;
  margin-top: 0.5rem;
  border: none;
  border-radius: 4px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background .2s ease;
}

/* Salvar (primário) */
#n10-push-subscribe {
  background: #0073aa;
  color: #fff;
}
#n10-push-subscribe:hover {
  background: #006799;
}

/* Cancelar (secundário) */
#n10-push-unsubscribe {
  background: #6c757d;
  color: #fff;
}
#n10-push-unsubscribe:hover {
  background: #5a6268;
}

/* dentro do seu CSS do modal */
.n10-push-cats {
  display: grid;
  /* duas colunas — ajuste para 3 colunas em desktop, se quiser */
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.5rem;
  max-height: 240px;       /* altura fixa antes de rolar */
  overflow-y: auto;
  padding: 0.5rem 0;
  margin-bottom: 1rem;
  border-bottom: 1px solid #eee;
}
.n10-push-cats label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}
/* 1) Use a cor principal do site para o fundo do sininho */
#n10-push-bell {
  background-color: var(--color-link); /* antes era #0073aa */
}

/* 2) Keyframes para o badge “piscante” */
@keyframes n10-badge-blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0; }
}

/* 3) Aplica animação de piscar ao badge */
#n10-push-bell.has-unread::after {
  content: "";
  position: absolute;
  top: 8px; right: 8px;
  width: 8px; height: 8px;
  background: #ff3b30;        /* vermelho de notificação */
  border-radius: 50%;
  box-shadow: 0 0 0 2px #fff; /* contorno branco */
  animation: n10-badge-blink 5s infinite;
}
