.site-navigation {
  display: flex;
  align-items: stretch;
  gap: clamp(.35rem, 1.5vw, 1.4rem);
  overflow: visible;
  color: var(--ink);
  font-size: 13px;
}
.site-navigation > a:nth-child(n), .site-navigation .site-help > summary {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .35rem .45rem;
  position: relative;
}
.site-navigation > a[aria-current], .site-navigation .site-help[open] > summary, .site-navigation .site-help[data-current] > summary {
  color: var(--wine);
  font-weight: 700;
}
.site-navigation > a[aria-current]::after, .site-navigation .site-help[data-current] > summary::after {
  content: "";
  position: absolute;
  inset: auto .45rem 0;
  height: 2px;
  width: auto;
  background: var(--wine);
}
.site-navigation :is(a, summary):focus-visible, .site-footer--organized a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -2px;
  border-radius: 6px;
}
.site-navigation .site-help { position: relative; align-self: stretch; min-width: 0; }
.site-navigation .site-help > summary { cursor: pointer; list-style: none; gap: .4rem; }
.site-navigation .site-help > summary::-webkit-details-marker { display: none; }
.site-navigation .site-help > summary::before {
  content: "";
  width: .42rem;
  height: .42rem;
  border-inline-end: 1.5px solid currentColor;
  border-block-end: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  order: 1;
}
.site-navigation .site-help-list {
  position: absolute;
  z-index: 25;
  inset-block-start: calc(100% + .25rem);
  inset-inline-end: 0;
  width: min(252px, calc(100vw - 32px));
  padding: .45rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 28px #21091129;
}
.site-navigation .site-help-list > a:nth-child(n) {
  display: flex;
  align-items: center;
  white-space: normal;
  min-height: 44px;
  padding: .45rem .65rem;
  border-radius: 7px;
}
.site-navigation .site-help-list > a:is(:hover,[aria-current]) { background: var(--cream); color: var(--wine); }
.site-navigation .site-help-list > a::after { display: none; }
.site-footer--organized .footer-link-groups {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  border-block-start: 1px solid #fff3;
  padding-block-start: 1rem;
  gap: 1rem;
}
.site-footer--organized .footer-link-groups > div { display: grid; align-content: start; gap: .45rem; }
.site-footer--organized .footer-link-groups h2 { font-family: var(--sans); font-size: 13px; color: inherit; margin: 0; }
.site-footer--organized .footer-link-groups a { width: fit-content; font-size: 13px; color: inherit; line-height: 1.55; }
.site-footer--organized .footer-link-groups a:hover { text-decoration: underline; text-underline-offset: .2em; }
.site-footer--organized .footer-link-groups + .footer-socials { grid-column: 1/-1; }
:root:not([data-theme="dark"]) .site-footer--organized { background: #f4e3e6; color: #442233; }
:root:not([data-theme="dark"]) .site-footer--organized :is(p,.copyright,.footer-socials,.footer-socials a) { color: #603547; }
:root:not([data-theme="dark"]) .site-footer--organized :is(.footer-link-groups,.footer-link-groups + .footer-socials) { border-color: #cdaeb9; }
:root:not([data-theme="dark"]) .site-footer--organized .footer-socials a { border-color: #c199aa; background: #fff8fa; }
:root:not([data-theme="dark"]) .site-footer--organized .footer-socials a svg { color: #7e3353; }

@media (max-width: 760px) {
  .site-navigation { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: .05rem; padding-block-end: .28rem; }
  .site-navigation > a:nth-child(n), .site-navigation .site-help > summary {
    font-size: clamp(10px,3vw,13px);
    line-height: 1.25;
    text-align: center;
    white-space: normal;
    padding-inline: .15rem;
    width: 100%;
  }
  .site-navigation .site-help-list { inset-inline-end: 0; font-size: 13px; }
  .site-navigation .site-help > summary { gap: .22rem; }
  .site-footer.site-footer--organized {
    display: grid;
    grid-template-columns: minmax(0,1fr);
    align-items: start;
    gap: 1rem;
    padding: 1.5rem clamp(1rem,5vw,1.75rem);
  }
  .site-footer--organized > :is(.footer-brand,p,.footer-link-groups,.footer-socials,.copyright) {
    grid-column: 1;
    grid-row: auto;
    text-align: start;
  }
  .site-footer--organized .footer-link-groups {
    justify-self: stretch;
    width: 100%;
    column-gap: clamp(1rem,6vw,2rem);
  }
  .site-footer--organized .footer-link-groups h2 { font-size: 15px; }
  .site-footer--organized .footer-link-groups a {
    display: flex;
    align-items: center;
    min-height: 36px;
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .site-footer--organized .footer-link-groups + .footer-socials {
    grid-column: 1;
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: flex-start;
    gap: .6rem;
    border-block-start: 1px solid #fff3;
    padding-block-start: 1rem;
  }
  .site-footer--organized .footer-socials > span { flex: 0 0 100%; font-size: 12px; }
  .site-footer--organized .footer-socials > a:not(.footer-whatsapp) { width: 44px; height: 44px; box-sizing: border-box; }
  .site-footer--organized .footer-socials > .footer-whatsapp { min-height: 44px; box-sizing: border-box; }
}
@media (min-width: 761px) {
  .site-footer--organized .footer-link-groups { grid-template-columns: repeat(2,minmax(150px,240px)); }
}
