/* ===== CONTENEDOR BASE ===== */
body.path-seccion #block-portales-content div#area-menu-block {
  padding: inherit !important;
  background-color: #303030 !important;
}

#area-menu-block {
  height: 60px;
  background-color: #303030; /* Fondo principal */
}

#area-menu-block li {
  padding: 0em 1.5em 0em 0em;
  border-right: 1px solid #FFF;
}
#area-menu-block li:last-child {
  border-right: 0;
}

#area-menu-block ul {
  max-width: 1200px;
  width: 100%;
  margin: auto;
    margin-top: auto;
  margin-top: 1em;
}

/* Enlaces activos y nivel 1 */
.menu-area ul.menu a.is-active,
.menu-area .menu .menu__link {
  color: #fff !important;
  font-family: OpenSansSemibold;
  font-size: 1.2em;
  line-height: 1.3em;
}

/* Nivel 1 horizontal */
.menu-area ul.menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-area > .block__inner > .block__content > ul.menu-level-1 {
  display: flex;
  gap: 2rem;
}

/* Items principales */
.menu-area .menu-level-1 > .menu__item {
  position: relative;
}

/* Enlaces y spans nivel 1 */
.menu-area .menu__link {
  display: block;
  padding: 0.8rem 1rem;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  color: #ffffff; /* Texto claro sobre fondo oscuro */
}

/* ===== SUBMENU ===== */
.menu-area .menu-level-2 {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  min-width: 220px;
  background: #20232a; /* Fondo oscuro igual que nivel 1 */
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
  padding: 0.5rem 0;
  z-index: 999;
}

/* Mostrar submenu al hover del padre */
.menu-area .menu__item--expanded:hover > .menu-level-2 {
  display: block;
}

/* Items submenu */
.menu-area .menu-level-2 .menu__item {
  width: 100%;
}

/* Links submenu */
.menu-area .menu-level-2 .menu__link {
  padding: 0.6rem 1rem;
  font-weight: normal;
  color: #ffffff; /* Texto blanco */
}

/* Hover submenu */
.menu-area .menu-level-2 .menu__item:hover > .menu__link {
  background: #2c2f3a; /* Hover ligeramente más claro */
}

/* Flecha para padres */
.menu-area .menu__item--expanded > .menu__link::after {
  content: " ▾";
  font-size: 0.8rem;
  margin-left: 0.3rem;
  color: #ffffff;
}

