/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/

/* CABECERA */

/* === Franja full-width SOLO detrás del nav === */
#header-outer[data-format="centered-menu-under-logo"] #top nav{
  position: relative;
  z-index: 2;
  padding: 10px 0;              /* grosor de la franja: ajusta */
}
#header-outer[data-format="centered-menu-under-logo"] #top nav::before{
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0; bottom: 0;
  width: 100vw;                 /* ocupa todo el viewport */
  background: #7584d1;          /* color de la barrita */
  z-index: -1;
  pointer-events: none;
}

/* Texto del menú en blanco */
#header-outer #top nav .sf-menu > li > a{
  color:#fff !important;
}

/* Submenús a juego */
#header-outer #top nav .sf-menu li ul{ background:#7584d1; }
#header-outer #top nav .sf-menu li ul li a{ color:#fff; }

/* Color del subrayado animado (si lo usas) */
body #header-outer[data-lhe="animated_underline"] #top .sf-menu > li > a:after{
  background-color:#fff;
}

#header-outer .menu-item a{
    margin-bottom: 0px !important;
}



/* Evitar conflictos en móvil (hamburguesa) */
@media (max-width: 999px){
  #header-outer #top nav::before{ display:none; }
}


/* Quitar la “barrita” (underline) que Salient mete en el span.menu-title-text */
#header-outer #top .sf-menu > li > a .menu-title-text::after,
#header-outer #top .sf-menu li ul li > a .menu-title-text::after{
  content: none !important;   /* no generes el pseudo-elemento */
  display: none !important;   /* por si el theme fuerza content */
}

/* Por si algún estado vuelve a activarlo */
#header-outer #top .sf-menu > li:hover > a .menu-title-text::after,
#header-outer #top .sf-menu > li.sfHover > a .menu-title-text::after,
#header-outer #top .sf-menu > li.current-menu-item > a .menu-title-text::after,
#header-outer #top .sf-menu > li.current_page_item > a .menu-title-text::after{
  content: none !important;
  display: none !important;
}

/* (Opcional) si usas el efecto 'animated_underline', neutralízalo por atributo */
#header-outer[data-lhe="animated_underline"] #top .sf-menu > li > a .menu-title-text::after{
  content: none !important;
  display: none !important;
}


/* Overlay azul + borde sobre el fondo del slide, sin tocar el caption */
#nectar-slider-instance-1 .slide-bg-wrap .image-bg{
  position: relative; /* contexto para los pseudo-elementos */
}

/* Fondo (velo) azul con baja opacidad */
#nectar-slider-instance-1 .slider-down-arrow::before{

  background-color: #7584d1 !important; 

}

/* Borde azul encima del velo */
#nectar-slider-instance-1 .slider-down-arrow::after{

  border: 2px solid #7584d1 !important;   /* grosor ajustable */

}

/* Overlay blanco suave solo sobre la imagen de fondo del slide */
#nectar-slider-instance-1 .slide-bg-wrap .image-bg{
  position: relative;
}

#nectar-slider-instance-1 .slide-bg-wrap .image-bg::after{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.3); /* ajusta la opacidad */
  pointer-events: none;
}


/* FOOTER COPY */
/* Copyright: fondo azul #7584d1, texto negro, centrado y en negrita */
#footer-outer #copyright{
  background-color:#7584d1 !important;
  padding: 0px !important;
}

#footer-outer #copyright .container{
  display:flex;
  justify-content:center;
  align-items:center;
  text-align:center;
  padding:12px 0; /* opcional */
}

#footer-outer #copyright p{
  margin:0;
  color:#ffffff !important;
  font-weight:700;
}

/* Asegura enlaces/elementos en negro también */
#footer-outer #copyright a{
  color:#ffffff !important;
  font-weight:700;
}

/* Centrado pleno del bloque de texto */
#footer-outer #copyright .span_5,
#footer-outer #copyright .span_7{
  float:none;
  width:auto;
}

/* Si la lista social está vacía, ocultarla para no afectar al centrado */
#footer-outer #copyright .social{
  display:none;
}


.nectar-post-grid-item__read-more span {
  background-color: #343499;
    border-radius: 5px;
    color: white !important;
    padding: 5px !important;
}

.nectar-post-grid-item__read-more svg {
  display: none;
}