/* Cabeçalho */
/* ============================
   HEADER BASE
   ============================ */

/* Header sticky com traço inferior */
.custom-header {
  background: #fff;
  border-bottom: 1px solid #dcdcdc;
  z-index: 1030;
}

/* Linha principal do header */
.header-inner {
  padding: 0 8px;
  display: flex;
  justify-content: space-between;
  align-items: stretch !important; /* permite que o logo defina a altura */
  height: auto !important;
  min-height: unset !important;
}
/* ============================
   OFFCANVAS E PLACEHOLDER
   ============================ */

/* Botão offcanvas alinhado ao centro */
.t4-nav-toggle {
  display: flex;
  align-items: center;
  height: auto !important;
  min-height: 65px; /* igual ao logo */
}

/* Placeholder para equilibrar o layout */
.placeholder {
  width: 40px; /* igual à largura aproximada do botão */
}

/* ============================
   BREAKPOINTS
   ============================ */

@media (max-width: 768px) {

  /* Container do logo */
  .site-logo {
    min-height: 45px;
  }

  /* Logo reduzido */
  .site-logo img {
    max-height: none !important;
  }

  /* Header adapta-se ao logo */
  .header-inner {
    min-height: unset !important;
    height: auto !important;
  }

  /* Botão offcanvas */
  .t4-nav-toggle {
    min-height: 45px;
  }
}


/* MENU */
/* Controla a altura real do menu */
.navbar-nav > li > a,
.nav-link {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  line-height: 25px !important; /* ajusta a altura do menu */
  height: 25px !important;
  display: flex;
  align-items: center;
}

.menu-separator {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}
/* Centrar menu */
/* 1. O container continua flex e centrado */
.menu-separator {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

/* 2. O NAV deixa de ocupar 100% e passa a ser inline-block */
.menu-separator > nav.navbar {
    width: auto !important;
    display: inline-block !important;
    float: none !important;
    margin: 0 auto !important;
    padding: 0 !important;
}



/* REDES SOCIAIS */
/* Redes Sociais e endereços */
.contact-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 10px 0;
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 14px;
}

.contact-info a {
  color: #333;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: 0.3s ease;
}

.contact-info a:hover {
  color: #007bff;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons a {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  transition: 0.3s ease;
}

/* Cores individuais */
.facebook { background: #1877f2; }
.whatsapp { background: #25d366; }
.twitter { background: #000; }
.telegram { background: #0088cc; }
.youtube { background: #ff0000; }

/* Hover */
.social-icons a:hover {
  transform: translateY(-3px);
  opacity: 0.85;
}

/* retirar o logo do menu OffCanvas */
.t4-offcanvas img {
    display: none !important;
}

/* Menu com redes sociais */
.menu-separator {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.menu-area {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    white-space: nowrap;
}

.social-icons {
    white-space: nowrap;
}

/* ICONES NA BASE DOS ARTIGOS */
/* Contêiner centrado */
.social-share {
    margin-top: 30px;
    display: flex;
    justify-content: center; /* centra horizontalmente */
    gap: 12px;
    flex-wrap: wrap;
}

/* Estilo base dos ícones */
.social-share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px; /* alterar o tamanho do icon */
    height: 30px; /* alterar o tamanho do icon */
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    transition: 0.3s;
}

/* Cores oficiais */
.social-share a.print {
    background: #444; /* cinza escuro elegante */
}
.social-share a.email {
    background: #6c757d; /* cinza */
}

.social-share a.facebook {
    background: #1877f2; /* azul Facebook */
}

.social-share a.twitter {
    background: #1DA1F2; /* azul Twitter */
}

.social-share a.whatsapp {
    background: #25d366; /* verde WhatsApp */
}

.social-share a.telegram {
    background: #0088cc; /* azul Telegram */
}

.social-share a.instagram {
    background: radial-gradient(circle at 30% 30%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.social-share a.linkedin {
    background: #0a66c2; /* azul LinkedIn */
}

/* Efeito hover */
.social-share a:hover {
    transform: scale(1.12);
    opacity: 0.85;
}



/* ARTIGOS SEMELHANTES */
.related-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #444;
}

.related-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-item {
    position: relative;
    padding-left: 1.2rem;
    margin: 0.3rem 0;
}

.related-item::before {
    content: "➤"; /* podes trocar por "•", "→", "›", etc. */
    position: absolute;
    left: 0;
    top: 0;
    color: #005c99;
    font-size: 0.9rem;
}

.related-item a {
    text-decoration: none;
    color: #005c99;
}

.related-item a:hover {
    text-decoration: underline;
}