@media screen and (min-width: 769px) {
  /* width */
  ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
  }

  /* Track */
  ::-webkit-scrollbar-track {
    background: var(--neutro-600); 
  }
  
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background:  var(--neutro-400); 
    border-radius: var(--border-radius-sm);
  }

  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: var(--neutro-400);  
  }
}

.button-ico {
  width: 42px;
  height: 42px;
  display: inline-block;
  border-radius: var( --border-radius-max);
}

.button-ico:hover {
  background-color: var(--neutro-600);
}

.menu {
    width: 100%;
}

@media screen and (max-width: 992px) {
  .menu{
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
  }
}

.menu ul{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  gap: var(--spacers-2);
  align-items: center;
}

@media screen and (max-width: 992px) {
  .menu ul{
    list-style: none;
    margin: var(--spacers-4) 0;
    padding: 0;
    display: block;
  }
}

.menu ul li.page_item, .menu ul li.menu-item {
  position: relative;
}

@media screen and (max-width: 992px) {
  .menu ul li.page_item, .menu ul li.menu-item {
    text-align: center;
    border-bottom: solid 1px var(--neutro-400);
  }
  .menu ul li.page_item:last-child, .menu ul li.menu-item:last-child {
    border-bottom: none;
  }
}

.menu ul li.page_item a, .menu ul li.menu-item a {
  padding: var(--spacers-2) var(--spacers-3);
  border-radius: var(--border-radius-sm);
  color: var(--bs-nav-link-color);
  text-decoration: none;
  background: none;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
    display: inline-block;
}

@media screen and (max-width: 992px) {
  .menu > ul > li.page_item a, .menu > ul > li.menu-item a {
    margin-top: var(--spacers-2);
    margin-bottom: var(--spacers-2);
  }
}

/* Hover en enlaces dentro de li.page_item o li.menu-item */
.menu ul li.page_item a:hover,
.menu ul li.menu-item a:hover {
  color: var(--bs-secondary);
  background: rgb(230 12 86 / 10%);
}

/* Estado actual en li.page_item o li.menu-item con clase current_page_item */
.menu ul li.page_item.current_page_item,
.menu ul li.menu-item.current_page_item {
  color: var(--bs-primary);
}

/* Hover en enlaces cuando el li tiene current_page_item */
.menu ul li.page_item.current_page_item a:hover,
.menu ul li.menu-item.current_page_item a:hover {
  color: var(--bs-primary);
}

/* Estilos para li.page_item_has_children y sus hijos (menús desplegables) */
.menu ul .page_item_has_children > .children {
  position: absolute;
  top: 120%;
  border-radius: var(--border-radius-sm);
  padding: var(--spacers-3);
  background: var(--white);
  box-shadow: var(--box-shadow-lg);
  border: var(--neutro-400) solid 1px;
  min-width: 250px;
  opacity: 0;
  visibility: hidden;
  transform: translate(0,20px);
  transition: all .15s ease-in-out;
}

/* Estilos en pantallas menores a 992px para los hijos */
@media screen and (max-width: 992px) {
  .menu ul .page_item_has_children > .children {
    position: inherit;
    top: inherit;
    height: 0;
    padding: 0;
    margin: 0;
    box-shadow: none;
    border: none;
    background-color: var(--neutro-600);
  }
}

/* Enlaces en los hijos del menú con padding y fondo transparente */
.menu ul .page_item_has_children > .children > li.page_item a,
.menu ul .page_item_has_children > .children > li.menu-item a {
  padding: var(--spacers-0);
  background-color: transparent;
}

/* En pantallas menores a 992px para los enlaces de hijos */
@media screen and (max-width: 992px) {
  .menu ul .page_item_has_children > .children > li.page_item a,
  .menu ul .page_item_has_children > .children > li.menu-item a {
    padding: var(--spacers-2) var(--spacers-3);
  }
}

/* Hover en enlaces de hijos del menú */
.menu ul .page_item_has_children > .children > li.page_item a:hover,
.menu ul .page_item_has_children > .children > li.menu-item a:hover {
  background: transparent;
  color: var(--bs-primary);
  text-decoration: underline;
}

/* Mostrar los hijos al hacer hover en el li padre */
.menu ul li.page_item:hover > .children,
.menu ul li.menu-item:hover > .children {
  opacity: 1;
  visibility: visible;
  transform: translate(0,0);
}

/* En pantallas menores a 992px para los hijos visibles */
@media screen and (max-width: 992px) {
  .menu ul li.page_item:hover > .children,
  .menu ul li.menu-item:hover > .children {
    height: auto;
    border-radius: 0;
  }
}


.link {
  color: var(--secondary-color);
}
.link:hover {
  color: var(--primary-color);
}

.fs-big { font-size: 1.125rem; }
.fs-small { font-size: 0.875rem; }
.fs-super-small { font-size: 0.75rem; }
.bg-size-cover { background-size: cover; }
.bg-size-contain { background-size: contain; }

.bg-content {
  background: linear-gradient(var(--background-color), var(--white));
}

.bg-moutains {
  background: url(../img/fondo-montanas.svg) top center no-repeat;
  background-size: 60%;
}

.align-middle {
  vertical-align: middle;
}

.list-style-none {
  list-style: none;
  padding: 0;
  margin: 0;
}

.linear-gradient-gray {
  background: linear-gradient(var(--neutro-600), var(--white));
}

.empty-state {
  max-width: 500px;
  width: 80%;
  margin: 0 auto;
}

.empty-state--image {
  max-width: 200px;
  width: 70%;
}