/* Global Styles */

/* Universal box-sizing and base reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Prevent horizontal scrolling */
html {
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  margin: 0;
  padding: 0;
  padding-top: 6px;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #f4f6f9;
  overflow-x: hidden;
  max-width: 100vw;
}

/* Common utility - Full width constraint */
.full-width {
  width: 100%;
  max-width: 100%;
}

/* Accessibility helper for screen readers */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}


/* Common button base styles */
button,
input[type="submit"],
.btn {
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
}

button:disabled,
input[type="submit"]:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

/* Common input base styles */
input,
select,
textarea {
  font-family: inherit;
  border: 1px solid #d0d7de;
  border-radius: 6px;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #007bff;
}

/* Remove underline from links */
a {
  text-decoration: none;
  color: #007bff;
}

a:hover {
  color: #0050c8;
  text-decoration: none;
}

/* Container - Base styles */
.container {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 8px;
  box-sizing: border-box;
}

/* Breadcrumb */

.site-breadcrumb {
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 5px 0;
  flex-wrap: wrap;
  gap: 0;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: #888;
  white-space: nowrap;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: #ccc;
  margin: 0 7px;
}

.breadcrumb-link {
  color: #555;
  text-decoration: none;
  transition: color 0.15s;
}

.breadcrumb-link:hover {
  color: #007bff;
}

.breadcrumb-current {
  color: #111;
  font-weight: 500;
}

/* Site Header - thin blue ribbon */
.site-header {
  background-color: #007bff;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 6px;
  z-index: 9999;
}

/* Site Footer Styles */

.site-footer {
  background: white;
  margin-top: 48px;
  border-top: 1px solid #e0e7f0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* Remove gap when footer follows legal pages */
.legal-page + .site-footer {
  margin-top: 0 !important;
  border-top: none;
  position: relative;
  z-index: 2;
}



/* Footer Links Section */
.footer-links-section {
  background: white;
  padding: 18px 20px 14px 20px;
  width: 100%;
}

.footer-links-wrapper {
  max-width: 868px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

.footer-links-column h3 {
  font-size: 13px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 10px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links-column li {
  margin-bottom: 6px;
}

.footer-links-column a {
  display: block;
  padding: 4px 0;
  color: #007bff;
  text-decoration: none;
  font-size: 14px;
}

.footer-links-column a:hover {
  color: #0050c8;
  text-decoration: none;
}

/* Footer Bottom Bar */
.footer-bottom {
  background: #ffffff;
  border-top: 1px solid #e0e7f0;
  padding: 16px 20px;
  width: 100%;
}

.footer-bottom-wrapper {
  max-width: 868px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

.footer-copyright,
.footer-address {
  font-size: 13px;
  color: #6b6b6b;
  margin: 0;
}

/* Responsive Design */

@media (max-width: 1024px) {
  .footer-links-wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 768px) {
  /* Footer mobile styles */
  .site-footer {
    margin-top: 36px;
  }

  .footer-links-section {
    padding: 20px 16px 12px 16px;
    margin-left: -16px;
    margin-right: -16px;
    width: calc(100% + 32px);
  }

  .footer-links-wrapper {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-links-column h3 {
    margin-bottom: 8px;
  }

  .footer-bottom-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
  }

  .footer-links-column a {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  /* Footer mobile styles */

  .footer-links-section {
    padding: 16px 12px 8px 12px;
    margin-left: -12px;
    margin-right: -12px;
    width: calc(100% + 24px);
  }

  .footer-bottom {
    padding: 12px 16px;
  }
}


/* Footer Legal Disclaimers — grid item spanning all columns */
.footer-legal-wrapper {
  grid-column: 1 / -1;
  border-top: 1px solid #e8e8e8;
  padding-top: 12px;
}

.footer-legal-wrapper p {
  font-size: 13px;
  line-height: 1.6;
  color: #6b6b6b;
  margin: 0 0 12px 0;
}

.footer-legal-wrapper p:last-child {
  margin-bottom: 0;
}

.footer-legal-wrapper a {
  color: #007bff;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer-legal-wrapper {
    padding-left: 20px;
    padding-right: 20px;
  }

  .footer-legal-wrapper p {
    font-size: 12px;
  }
}

/* Autocomplete listbox & bullet reset across all pages */
#destination-listbox,
#destination-listbox ul,
#destination-listbox li {
  list-style: none !important;
  list-style-type: none !important;
}

#destination-listbox {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  box-shadow: 0 12px 32px -4px rgba(0, 0, 0, 0.12), 0 4px 12px -2px rgba(0, 0, 0, 0.06);
  z-index: 1000;
  max-height: 320px;
  overflow-y: auto;
  padding: 6px 8px !important;
}

#destination-listbox ul {
  margin: 0 !important;
  padding: 0 !important;
}

/* Custom scrollbar for listbox */
#destination-listbox::-webkit-scrollbar {
  width: 6px;
}

#destination-listbox::-webkit-scrollbar-track {
  background: transparent;
}

#destination-listbox::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

/* Section header in listbox */
.suggestion-section-header {
  display: flex;
  align-items: center;
  padding: 10px 16px 4px !important;
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: default;
  user-select: none;
  list-style: none !important;
  margin: 0 !important;
}

/* Suggestion item container - Inset pill layout */
.suggestion-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 36px;
  padding: 6px 12px !important;
  margin: 1px 6px !important;
  border-radius: 8px !important;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
  list-style: none !important;
}

/* Hover & Keyboard Navigation focus states */
.suggestion-item:hover,
.suggestion-item.highlighted {
  background-color: #f1f5f9;
}

/* Destination Name & Location */
.suggestion-name {
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.3;
}



.suggestion-item:hover .suggestion-name,
.suggestion-item.highlighted .suggestion-name {
  color: #007bff;
}

.suggestion-location {
  font-size: 13px;
  font-weight: 400;
  color: #64748b;
  margin-top: 2px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}




