.hotel-directory-nav {
  box-sizing: border-box;
  width: calc(100% - 48px);
  max-width: 1400px;
  margin: 32px auto 24px;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: flex-end;
}

.hotel-directory-nav--inline {
  width: 100%;
  margin: 24px 0 0;
}

.hotel-directory-nav .hotel-directory-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  max-width: 100%;
  padding: 0 4px;
  color: #475569;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 150ms ease;
}

.hotel-directory-nav .hotel-directory-link:hover {
  color: #2563eb;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hotel-directory-nav .hotel-directory-link:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 4px;
  border-radius: 3px;
}

.hotel-directory-link-arrow {
  flex: 0 0 auto;
  color: #64748b;
}

/* Count only visible destinations so region filters keep each column tidy. */
@media (min-width: 1025px) {
  .seo-destinations-section .recommendations-item:nth-last-child(-n + 6 of :not([style*="display: none"])) {
    border-bottom: none;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .seo-destinations-section .recommendations-item:nth-last-child(-n + 3 of :not([style*="display: none"])) {
    border-bottom: none;
  }
}

@media (max-width: 768px) {
  .seo-destinations-section .recommendations-item:nth-last-child(-n + 2 of :not([style*="display: none"])) {
    border-bottom: none;
  }
}

@media (max-width: 767px) {
  .hotel-directory-nav {
    width: calc(100% - 32px);
    margin-top: 24px;
    justify-content: flex-start;
  }

  .hotel-directory-nav--inline {
    width: 100%;
    margin-bottom: 0;
  }
}
