/* Page basics for the standalone site (Cloudflare Pages). Squarespace's theme used to supply these; the local
   preview shells set the same values. Widget styles stay inside each widget; site-wide tokens and motion stay in
   global/ota-global.css. This file is not pasted into Squarespace. */

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

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

body {
  margin: 0;
  font-family: var(--ota-font-sans);
  color: var(--ota-color-ink);
  background: var(--ota-color-bg);
  -webkit-font-smoothing: antialiased;
}

/* The blog index starts on a light background, under the fixed header. */
.ota-page[data-ota-page="travel-inspiration"] {
  padding-top: calc(var(--ota-header-h, 74px) + clamp(2rem, 5vw, 4rem));
  min-height: 70vh;
}

/* Page not found (site/404.html). */
.ota-notfound {
  min-height: 78vh;
  display: grid;
  place-items: center;
  padding: calc(var(--ota-header-h, 74px) + 3rem) clamp(1rem, 4vw, 2rem) 5rem;
  text-align: center;
  font-family: var(--ota-font-sans, sans-serif);
  color: var(--ota-color-ink, #1c1b19);
}
.ota-notfound__inner {
  max-width: 38rem;
}
.ota-notfound__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ota-color-accent, #7a5c3e);
}
.ota-notfound__title {
  margin: 0;
  font-family: var(--ota-font-display, Georgia, serif);
  font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.05;
}
.ota-notfound__text {
  margin: 1rem 0 0;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.55;
  color: var(--ota-color-muted, #6b665e);
}
.ota-notfound__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}
.ota-notfound__link {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 1px solid var(--ota-color-ink, #1c1b19);
  color: var(--ota-color-ink, #1c1b19);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: background 0.25s ease, color 0.25s ease;
}
.ota-notfound__link--primary,
.ota-notfound__link:hover,
.ota-notfound__link:focus-visible {
  background: var(--ota-color-ink, #1c1b19);
  color: #fff;
}
.ota-notfound__link--primary:hover,
.ota-notfound__link--primary:focus-visible {
  background: var(--ota-color-accent, #7a5c3e);
  border-color: var(--ota-color-accent, #7a5c3e);
}

/* ---- Trip landing page (scripts/build-landing.mjs): one trip, no menu and no footer ---------------------------- */

/* The logo, as a plain picture over the top of the hero. It is not a link: nothing on this page leads away from it
   except the booking button. */
.ota-landing__brand {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
  padding: 0.75rem clamp(1.25rem, 4vw, 2.5rem);
  pointer-events: none;
}
.ota-landing__logo {
  display: block;
  height: 56px;
  width: auto;
}
@media (max-width: 600px) {
  .ota-landing__logo { height: 46px; }
}

/* The breadcrumbs used to sit under the menu; without them the trip's first line starts below the logo. */
.ota-landing__brand ~ main [data-ota-widget="trip-detail"] .ota-tripd__hero-content {
  padding-top: 104px;
}
@media (max-width: 600px) {
  .ota-landing__brand ~ main [data-ota-widget="trip-detail"] .ota-tripd__hero-content {
    padding-top: 88px;
  }
}

/* Booking is not open and the email signup is off: the buttons read as a notice, not as something to press. */
.ota-tripd__btn[data-ota-soon] {
  cursor: default;
  pointer-events: none;
  opacity: 0.92;
}

/* The page ends with the trip. Leave room so the phone's fixed book bar never covers the last lines. */
.ota-landing__end {
  padding: 1.5rem clamp(1.25rem, 4vw, 2.5rem) 2rem;
  text-align: center;
  font-family: var(--ota-font-sans, sans-serif);
  font-size: 0.85rem;
  color: var(--ota-color-muted, #6b665e);
}
@media (max-width: 900px) {
  .ota-landing__end { padding-bottom: 6.5rem; }
}
