.nav-properties {
  position: relative;
}

.nav-properties summary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 8px 12px;
  color: #69736c;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  list-style: none;
  font-size: 12px;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.nav-properties summary::-webkit-details-marker {
  display: none;
}

.nav-properties summary::after {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .2s ease;
  content: '';
}

.nav-properties summary:hover,
.nav-properties[open] summary,
.nav-properties.is-current summary {
  color: var(--green);
  background: rgba(23, 79, 47, .07);
  border-color: rgba(23, 79, 47, .1);
}

.nav-properties[open] summary::after {
  transform: translateY(2px) rotate(225deg);
}

.property-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  z-index: 25;
  display: grid;
  width: max-content;
  min-width: 254px;
  gap: 3px;
  padding: 8px;
  background: rgba(255, 255, 255, .98);
  border: 1px solid #e3e8dc;
  border-radius: 18px;
  box-shadow: 0 20px 48px rgba(35, 61, 52, .14), 0 3px 10px rgba(35, 61, 52, .05);
  transform: translateX(-50%);
  animation: dropdown-in .18s ease-out both;
}

.property-dropdown::before {
  position: absolute;
  top: -6px;
  left: calc(50% - 6px);
  width: 11px;
  height: 11px;
  background: #fff;
  border-top: 1px solid #e3e8dc;
  border-left: 1px solid #e3e8dc;
  transform: rotate(45deg);
  content: '';
}

.site-nav .property-dropdown a {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 10px 12px 10px 14px;
  color: #435449;
  border: 0;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 600;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.site-nav .property-dropdown a::after {
  display: block;
  margin-left: 24px;
  color: #8a9a8a;
  content: '↗';
  font-size: 12px;
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity .2s ease, transform .2s ease;
}

.site-nav .property-dropdown a:hover,
.site-nav .property-dropdown a[aria-current] {
  color: var(--green);
  background: #eef2e9;
  transform: translateX(2px);
}

.site-nav .property-dropdown a:hover::after,
.site-nav .property-dropdown a[aria-current]::after {
  opacity: 1;
  transform: translate(0, 0);
}

.site-nav .mobile-publish {
  display: none;
}

.site-header .header-cta {
  white-space: nowrap;
}

.site-nav {
  gap: 25px;
}

@keyframes dropdown-in {
  from {
    opacity: 0;
    transform: translate(-50%, -6px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@media (max-width: 760px) {
  .site-nav {
    max-height: calc(100dvh - 80px);
    overflow-y: auto;
  }

  .nav-properties summary {
    display: flex;
    justify-content: space-between;
    width: 100%;
    min-height: 44px;
    padding: 12px;
    font-size: 16px;
  }

  .property-dropdown {
    position: static;
    width: auto;
    min-width: 0;
    margin: 0 12px 10px;
    padding: 5px;
    background: #eff2e9;
    border: 0;
    border-radius: 12px;
    box-shadow: none;
    transform: none;
    animation: none;
  }

  .property-dropdown::before {
    display: none;
  }

  .site-nav .property-dropdown a {
    min-height: 42px;
    padding: 12px;
    font-size: 14px;
  }

  .site-nav .mobile-publish {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    color: white;
    background: var(--green);
    border-radius: 30px;
  }

  .site-nav .mobile-publish:hover {
    color: white;
    background: #173e2b;
  }
}
