/* ============================================================
   BARRA DE REDES SOCIALES — ANCE
   Archivo independiente del footer
   AJUSTE: azul de marca #00049e fijo, sin acentos por industria
   ============================================================ */

.social-bar-wrapper {
  width: 100vw !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  position: relative !important;
  z-index: 3 !important;
}

/* Protege el contenedor padre para que no herede margin/padding
   de más por compartir clase .field--name-body con otros bloques
   (como el cuerpo de artículos de blog) */
.featured-bottom .field--name-body {
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
}

.field--name-body:has(> .social-bar-wrapper) {
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
}

.block-social-bar-ance {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
}

.social-bar-container {
  width: 100%;
  background: linear-gradient(to right, #00049e 0%, #0066cc 50%, #00b0f0 100%); /* ← degradado azul de marca para todos los microsites */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px 0;
  margin: 0;
  box-sizing: border-box;
  min-height: 60px;
  gap: 0;
  border: none !important;
  position: relative !important;
}

.social-bar-text {
  color: white;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 1.5px;
  padding: 0 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.social-section {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 auto;
  box-sizing: border-box;
  padding: 0 25px;
  position: relative;
  height: 60px;
}

.social-section::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 35px;
  background-color: rgba(255,255,255,0.3);
}

.social-section:first-of-type::before { display: none; }

.social-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.social-section:hover .social-icon { opacity: 1 !important; }
.social-section:hover ~ .social-section .social-icon { opacity: 0.7; }
.social-bar-container:hover .social-section:not(:hover) .social-icon { opacity: 0.7; }

@media (max-width: 1024px) {
  .social-bar-container { padding: 12px 0; min-height: 55px; }
  .social-bar-text { font-size: 10px; padding: 0 15px; }
  .social-section { padding: 0 20px; height: 55px; }
  .social-icon { width: 28px; height: 28px; }
}
@media (max-width: 768px) {
  .social-bar-container { padding: 12px 0; min-height: 50px; }
  .social-bar-text { font-size: 9px; padding: 0 10px; }
  .social-section { padding: 0 15px; height: 50px; }
  .social-icon { width: 25px; height: 25px; }
}
@media (max-width: 480px) {
  .social-bar-container { padding: 10px 0; min-height: 45px; }
  .social-bar-text { font-size: 8px; padding: 0 8px; }
  .social-section { padding: 0 12px; height: 45px; }
  .social-icon { width: 22px; height: 22px; }
}











