.hori-desktop-treatments {
  position: relative;
}

.hori-desktop-treatments > summary,
.hori-blog-treatment-menu > summary {
  cursor: pointer;
  list-style: none;
}

.hori-desktop-treatments > summary::-webkit-details-marker,
.hori-blog-treatment-menu > summary::-webkit-details-marker {
  display: none;
}

.hori-desktop-treatments[open] > summary {
  color: hsl(var(--primary));
}

.hori-desktop-treatment-links {
  position: absolute;
  top: calc(100% + 16px);
  right: -24px;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 12px;
  width: 440px;
  max-width: calc(100vw - 32px);
  padding: 12px;
  background: #fff;
  border: 1px solid hsl(var(--border));
  border-radius: 16px;
  box-shadow: 0 12px 28px rgb(0 0 0 / 9%);
}

.hori-desktop-treatment-links > a,
.hori-blog-treatment-menu .hori-menu-submenu > a {
  padding: 8px 12px;
  color: hsl(var(--foreground) / .8);
  font-size: 14px;
  border-radius: 8px;
}

.hori-desktop-treatment-links > a:hover,
.hori-desktop-treatment-links > a:focus-visible,
.hori-desktop-treatment-links > a[aria-current="page"] {
  background: hsl(var(--primary) / .06);
  color: hsl(var(--primary));
}

.hori-desktop-treatment-links > a,
.hori-menu-submenu > a:has(.hori-menu-treatment-badge) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
  gap: 4px 8px;
}

.hori-desktop-treatment-links > a:last-child {
  grid-column: 1 / -1;
  border-top: 1px solid hsl(var(--border));
  color: hsl(var(--primary));
  font-weight: 600;
}

.hori-menu-treatment-badge {
  padding: 2px 6px;
  border: 1px solid #d2e1ef;
  border-radius: 999px;
  background: #fff;
  color: #005c9f;
  font: 600 9px/1.4 Inter, Arial, sans-serif;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hori-blog-treatment-menu .hori-menu-submenu {
  display: grid;
}
