/* Neutral guide navigation and disclosure controls. */
.nav .guide-link,
.info-guide nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #514735;
  border-radius: 12px;
  color: #e9dfcc;
  background: #1b1921;
  box-shadow: inset 0 1px 0 #ffffff06;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease;
}

.nav .guide-link:hover,
.info-guide nav a:hover {
  color: #fff0c2;
  border-color: #9b824b;
  background: #29241d;
}

.info-guide nav a[aria-current="page"] {
  color: #ffe7a3;
  border-color: #b79a59;
  background: #30281b;
}

.nav .guide-link:focus-visible,
.info-guide nav a:focus-visible,
.info-guide summary:focus-visible {
  outline: 3px solid #a8f3cb;
  outline-offset: 3px;
}

.info-guide header {
  gap: 24px;
  padding-block: 18px;
}

.info-guide .brand {
  flex-shrink: 0;
  white-space: nowrap;
}

.info-guide nav {
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

.info-guide details {
  padding: 0;
  border-color: #514735;
  border-radius: 12px;
}

.info-guide summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 52px;
  padding: 14px 18px;
  list-style: none;
  border-radius: 12px;
  color: #e9dfcc;
  line-height: 1.6;
}

.info-guide summary::-webkit-details-marker {
  display: none;
}

.info-guide summary::after {
  content: "";
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  margin-right: 4px;
  border-right: 2px solid #ffd56a;
  border-bottom: 2px solid #ffd56a;
  transform: rotate(45deg);
}

.info-guide details[open] > summary::after {
  transform: rotate(225deg);
}

.info-guide details > p {
  margin: 0;
  padding: 0 18px 18px;
}

@media (max-width: 1080px) {
  .nav .guide-link {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .info-guide header {
    gap: 14px;
  }

  .info-guide nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .info-guide nav a {
    padding: 10px 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav .guide-link,
  .info-guide nav a {
    transition: none;
  }
}
