/* ==========================================================================
   LMW Travel — CSS Reset & Base Normalization
   ========================================================================== */

/* Mobile: extra closed-state paint before nav-overlay.css (flash was only noticeable on small viewports) */
@media (max-width: 1023px) {
  #nav-overlay:not(.nav-overlay--open) {
    position: fixed;
    inset: 0;
    z-index: 105;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  touch-action: pan-x pan-y;
}

body {
  min-height: 100svh;
  line-height: 1.6;
  overflow-x: hidden;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
  overflow-wrap: break-word;
}

p {
  overflow-wrap: break-word;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 1px solid var(--color-cream);
  outline-offset: 3px;
}

:focus:not(:focus-visible) {
  outline: none;
}

