.family-ribbon {
  position: relative;
  z-index: 25;
  background: #efe5db;
  color: #705b4f;
  border-bottom: 1px solid #e2d5c8;
  font-family: var(--bl-sans);
  font-size: 10px;
  letter-spacing: 0.3px;
}
.family-ribbon-inner {
  width: min(1236px, calc(100% - 64px));
  min-height: 38px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.family-ribbon p {
  margin: 0;
  font-size: 10px;
  color: inherit;
  line-height: 1.5;
}
.family-switcher {
  position: relative;
}
.family-switcher > summary {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  min-height: 38px;
  list-style: none;
  color: #4b3930;
}
.family-switcher > summary::-webkit-details-marker {
  display: none;
}
.family-switcher > summary:focus-visible {
  outline: 2px solid #9c4d45;
  outline-offset: 3px;
}
.family-switcher > summary span {
  font-size: 18px;
  font-weight: 400;
}
.family-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  width: 290px;
  padding: 8px;
  background: #faf7f0;
  border: 1px solid #deccbe;
  border-radius: 16px;
  box-shadow: 0 15px 40px #4e34221a;
  z-index: 30;
}
.family-menu a {
  display: grid;
  grid-template-columns: 35px 1fr;
  gap: 3px 10px;
  padding: 14px 12px;
  min-height: 66px;
  border-radius: 10px;
  text-decoration: none;
  color: #46362c;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
}
.family-menu a > span:first-child {
  grid-row: 1/3;
  font-size: 26px;
  align-self: center;
  color: #a66b60;
  font-family: var(--bl-serif);
}
.family-menu a small {
  font-size: 10px;
  font-weight: 400;
  color: #766358;
}
.family-menu a:hover,
.family-menu a:focus-visible {
  background: #f0e1d7;
}
.family-menu a[aria-current="page"] {
  background: #ecd8d0;
}
.family-menu a[aria-current="page"] small::after {
  content: " · You’re here";
  color: #8b5147;
  font-weight: 600;
}
@media (max-width: 700px) {
  .family-ribbon-inner {
    width: calc(100% - 44px);
    gap: 10px;
  }
  .family-ribbon p {
    font-size: 8px;
    max-width: 150px;
  }
  .family-switcher > summary {
    font-size: 10px;
    gap: 8px;
  }
  .family-menu {
    width: 270px;
  }
}
