/* Grouped sections only: the original masthead, logo and search stay intact. */
body:not(.smag-compose-page):not(.page-template-page-redactar) #smag-navigation {
  position: relative;
  z-index: 60;
  overflow: visible;
}
body:not(.smag-compose-page):not(.page-template-page-redactar) #smag-navigation .smag-navigation-inner,
body:not(.smag-compose-page):not(.page-template-page-redactar) #smag-navigation .smag-primary-nav {
  overflow: visible;
}
body:not(.smag-compose-page):not(.page-template-page-redactar) #smag-navigation .smag-primary-nav {
  max-height: none;
}
body:not(.smag-compose-page):not(.page-template-page-redactar) #smag-navigation .smag-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
body:not(.smag-compose-page):not(.page-template-page-redactar) #smag-navigation .smag-nav-list > li {
  position: relative;
}
body:not(.smag-compose-page):not(.page-template-page-redactar) #smag-navigation .smag-nav-group > summary,
body:not(.smag-compose-page):not(.page-template-page-redactar) #smag-navigation .smag-nav-list > li > a {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 8px;
  border: 0;
  color: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 0;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}
body:not(.smag-compose-page):not(.page-template-page-redactar) #smag-navigation .smag-nav-group > summary {
  list-style: none;
}
body:not(.smag-compose-page):not(.page-template-page-redactar) #smag-navigation .smag-nav-group > summary::-webkit-details-marker {
  display: none;
}
body:not(.smag-compose-page):not(.page-template-page-redactar) #smag-navigation .smag-nav-group > summary::marker {
  content: '';
}
body:not(.smag-compose-page):not(.page-template-page-redactar) #smag-navigation .smag-nav-group > summary::after {
  content: '';
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: .7;
}
body:not(.smag-compose-page):not(.page-template-page-redactar) #smag-navigation .smag-nav-group[open] > summary::after {
  transform: translateY(1px) rotate(225deg);
}
body:not(.smag-compose-page):not(.page-template-page-redactar) #smag-navigation .smag-nav-group > summary:hover,
body:not(.smag-compose-page):not(.page-template-page-redactar) #smag-navigation .smag-nav-list > li > a:hover {
  color: #a4c6d5;
}
body:not(.smag-compose-page):not(.page-template-page-redactar) #smag-navigation .smag-nav-group > summary:focus-visible,
body:not(.smag-compose-page):not(.page-template-page-redactar) #smag-navigation .smag-nav-list > li > a:focus-visible {
  outline: 2px solid #a4c6d5;
  outline-offset: -3px;
  border-radius: 4px;
}
body:not(.smag-compose-page):not(.page-template-page-redactar) #smag-navigation .smag-nav-group:not([open]) > .smag-nav-submenu {
  display: none;
}
body:not(.smag-compose-page):not(.page-template-page-redactar) #smag-navigation .smag-nav-submenu {
  margin: 0;
  padding: 8px;
  list-style: none;
  width: 216px;
  max-width: calc(100vw - 32px);
  border: 1px solid var(--smag-line);
  border-radius: 8px;
  background: var(--smag-paper);
  color: var(--smag-ink);
  box-shadow: 0 8px 20px #102e3a14;
}
body:not(.smag-compose-page):not(.page-template-page-redactar) #smag-navigation .smag-nav-submenu a {
  display: flex;
  align-items: center;
  min-height: 40px;
  height: auto;
  padding: 8px 12px;
  border: 0;
  border-radius: 4px;
  color: var(--smag-ink);
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
  white-space: normal;
  overflow-wrap: anywhere;
}
body:not(.smag-compose-page):not(.page-template-page-redactar) #smag-navigation .smag-nav-submenu a:hover,
body:not(.smag-compose-page):not(.page-template-page-redactar) #smag-navigation .smag-nav-submenu a:focus-visible {
  color: var(--smag-ink);
  background: var(--smag-cream);
}
body:not(.smag-compose-page):not(.page-template-page-redactar) #smag-navigation .smag-nav-submenu a:focus-visible {
  outline: 2px solid var(--smag-ink);
  outline-offset: -2px;
}
@media (min-width: 861px) {
  body:not(.smag-compose-page):not(.page-template-page-redactar) #smag-navigation .smag-navigation-inner {
    height: 44px;
    min-height: 44px;
    flex-wrap: nowrap;
    align-items: center;
  }
  body:not(.smag-compose-page):not(.page-template-page-redactar) #smag-navigation .smag-nav-list {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    height: 44px;
    gap: 0 6px;
  }
  body:not(.smag-compose-page):not(.page-template-page-redactar) #smag-navigation .smag-nav-group > .smag-nav-submenu {
    position: absolute;
    z-index: 80;
    top: calc(100% + 4px);
    left: 0;
  }
  body:not(.smag-compose-page):not(.page-template-page-redactar) #smag-navigation .smag-nav-group--end > .smag-nav-submenu {
    left: auto;
    right: 0;
  }
}
@media (max-width: 860px) {
  body:not(.smag-compose-page):not(.page-template-page-redactar) #smag-navigation .smag-nav-list {
    display: block;
    width: 100%;
    height: auto;
  }
  body:not(.smag-compose-page):not(.page-template-page-redactar) #smag-navigation .smag-nav-list > li {
    border-bottom: 1px solid rgba(164,198,213,.16);
  }
  body:not(.smag-compose-page):not(.page-template-page-redactar) #smag-navigation .smag-nav-group > summary,
  body:not(.smag-compose-page):not(.page-template-page-redactar) #smag-navigation .smag-nav-list > li > a {
    justify-content: space-between;
    padding-inline: 4px;
    font-size: 13px;
    font-weight: 500;
  }
  body:not(.smag-compose-page):not(.page-template-page-redactar) #smag-navigation .smag-nav-group > .smag-nav-submenu {
    position: static;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 0 8px 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: inherit;
  }
  body:not(.smag-compose-page):not(.page-template-page-redactar) #smag-navigation .smag-nav-submenu a {
    min-height: 40px;
    padding: 8px 12px;
    border: 0;
    color: inherit;
    font-size: 13px;
    font-weight: 500;
    line-height: 20px;
  }
  body:not(.smag-compose-page):not(.page-template-page-redactar) #smag-navigation .smag-nav-submenu a:hover,
  body:not(.smag-compose-page):not(.page-template-page-redactar) #smag-navigation .smag-nav-submenu a:focus-visible {
    color: inherit;
    background: rgba(164,198,213,.08);
  }
  body:not(.smag-compose-page):not(.page-template-page-redactar) #smag-navigation .smag-nav-submenu a:focus-visible {
    outline-color: #a4c6d5;
  }
}
