/* v2 base: reset, type, links, container. Needs tokens.css. Not part of /stylesheets/all.css. */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-body-size);
  line-height: var(--text-body-line);
  color: var(--color-ink);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

[hidden] { display: none !important; }
img, svg, video { display: block; max-width: 100%; height: auto; }
input, button, select, textarea { font: inherit; color: inherit; }
p, ul, ol, figure, blockquote { margin: 0 0 var(--space-20); }

h1, h2, h3, h4, h5, h6 { margin: 0 0 var(--space-20); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; }
h1, h2 { text-transform: uppercase; }
h1 { font-size: var(--h1-size); line-height: var(--h1-line); }
h2 { font-size: var(--h2-size); line-height: var(--h2-line); }
h3 { font-size: var(--h3-size); line-height: var(--h3-line); }
h4 { font-size: var(--h4-size); line-height: var(--h4-line); font-weight: var(--h4-weight); }
h5 { font-size: var(--h5-size); line-height: var(--h5-line); font-weight: var(--h5-weight); }
h6 { font-size: var(--h6-size); line-height: var(--h6-line); font-weight: var(--h6-weight); }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .15s; }
a:hover { color: var(--link-hover-on-light); }
/* Link cards with white text over a photo: dark-background hover, not the light one above */
.dest-card:hover, .home-theme:hover, .itin-card:hover, .place-card:hover { color: var(--link-hover-on-dark); }

/* Focus style is ours, not in Figma (we own it; Pavlo, 2026-10-15) */
:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.eyebrow {
  font-size: var(--text-eyebrow-size);
  line-height: var(--text-eyebrow-line);
  letter-spacing: var(--text-eyebrow-tracking);
  text-transform: uppercase;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
