/*
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
*/


/* ================================================================
   AVRE EXPERTISES — CTA DE MENU / SALIENT
   Revision de AVRE_CTA_Menu_Degradado_Naranja.css (23/10/2026)

   Clase de WordPress: avre-menu-cta  (en el <li>, no en el <a>)
   Objetivo: naranja oscuro -> rojo oscuro permanente, sin animacion.
   Alcance: SOLO el CTA del header y su equivalente off-canvas.

   PRUEBA STAGING:
   Pegar al FINAL del CSS global cargado en staging o cargar este archivo
   despues de avre-global.css. Una vez validado, integrar en la unica
   fuente global AVRE y retirar el parche duplicado.
   ================================================================ */

/* Menu clasico de escritorio: la especificidad compite con Salient. */
#header-outer #top nav > ul > li.avre-menu-cta > a,
#header-outer #top nav > ul > li.avre-menu-cta > a:is(:link, :visited, :hover, :focus, :active),
/* Menu off-canvas de Salient en tablet y movil. */
#slide-out-widget-area .off-canvas-menu-container li.avre-menu-cta > a,
#slide-out-widget-area .off-canvas-menu-container li.avre-menu-cta > a:is(:link, :visited, :hover, :focus, :active),
/* Fallback para configuraciones con menu movil dentro del header. */
#header-outer #mobile-menu li.avre-menu-cta > a,
#header-outer #mobile-menu li.avre-menu-cta > a:is(:link, :visited, :hover, :focus, :active) {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  max-width: 100%;
  min-height: 48px !important;
  padding: 12px 20px !important;
  border: 1px solid transparent !important;
  border-radius: var(--avre-radius-button, 6px) !important;
  background-color: #B85600 !important;
  background-image: linear-gradient(120deg, #B85600 0%, #C62828 100%) !important;
  background-size: 100% 100% !important;
  background-position: center !important;
  color: #ffffff !important;
  font-family: var(--avre-font, 'Public Sans', sans-serif) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  text-decoration: none !important;
  white-space: normal !important;
  animation: none !important;
  opacity: 1 !important;
  box-shadow: none;
  transform: none;
  transition: transform .2s ease, box-shadow .2s ease !important;
}

/* Salient puede aplicar color/opacidad al span interior del enlace. */
#header-outer #top nav > ul > li.avre-menu-cta > a span,
#slide-out-widget-area .off-canvas-menu-container li.avre-menu-cta > a span,
#header-outer #mobile-menu li.avre-menu-cta > a span {
  color: inherit !important;
  opacity: 1 !important;
  text-decoration: none !important;
}

#header-outer #top nav > ul > li.avre-menu-cta > a:hover,
#slide-out-widget-area .off-canvas-menu-container li.avre-menu-cta > a:hover,
#header-outer #mobile-menu li.avre-menu-cta > a:hover {
  box-shadow: 0 7px 18px rgba(198, 40, 40, .20) !important;
  transform: translateY(-1px) !important;
}

#header-outer #top nav > ul > li.avre-menu-cta > a:focus-visible,
#slide-out-widget-area .off-canvas-menu-container li.avre-menu-cta > a:focus-visible,
#header-outer #mobile-menu li.avre-menu-cta > a:focus-visible {
  outline: 3px solid var(--avre-focus-color, #114266) !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 2px #ffffff !important;
}

@media (prefers-reduced-motion: reduce) {
  #header-outer #top nav > ul > li.avre-menu-cta > a,
  #slide-out-widget-area .off-canvas-menu-container li.avre-menu-cta > a,
  #header-outer #mobile-menu li.avre-menu-cta > a {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}