/* Presentation-only refinement. Shared tokens and application behavior are retained. */
.travel-eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.16em;
  line-height: 1.7;
  color: var(--brand-2);
  margin-bottom: 18px;
}
.hero {
  padding: 38px 0 48px;
  background: linear-gradient(120deg, #faf9f1, #f1f8ed);
}
.hero:before,
.hero:after {
  opacity: 0.4;
}
.hero-grid {
  gap: 64px;
}
.hero-copy {
  padding: 18px 0;
}
.hero h1 {
  font-size: clamp(2.8rem, 4.7vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
  font-weight: 650;
}
.hero h1 em {
  font-family: var(--font);
  font-style: italic;
  font-weight: 400;
  color: #278946;
}
.hero-lead {
  font-size: 16px;
  line-height: 1.8;
  max-width: 440px;
}
.hero-checks {
  font-size: 12px;
  gap: 12px 20px;
}
.hero-checks svg {
  width: 15px;
  height: 15px;
  color: var(--brand-2);
}
.hero-travel-photo {
  height: 520px;
  position: relative;
  border-radius: 22px;
  margin: 0;
  isolation: isolate;
  background: #254333;
  box-shadow: 0 18px 55px -35px #23453080;
}
.hero-travel-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.hero-travel-photo:after {
  content: "";
  position: absolute;
  inset: 30% 0 0;
  background: linear-gradient(transparent, #112b25b8);
  border-radius: inherit;
  z-index: 0;
  pointer-events: none;
}
.hero-travel-photo figcaption {
  position: absolute;
  bottom: 86px;
  left: 28px;
  color: white;
  z-index: 1;
}
.hero-travel-photo figcaption > span,
.install-travel-photo figcaption > span {
  font-size: 10px;
  letter-spacing: 0.17em;
}
.hero-travel-photo figcaption strong {
  font-size: 31px;
  line-height: 1.1;
  letter-spacing: -0.035em;
  display: block;
  margin: 12px 0;
}
.hero-travel-photo figcaption a {
  color: #dce8d8;
  font-size: 10px;
  text-underline-offset: 3px;
  text-decoration: underline;
}
.hero-travel-photo .float-dest {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  top: auto;
  transform: none;
  z-index: 2;
  width: auto;
  min-width: 0;
  max-width: none;
  display: flex;
  gap: 12px;
  padding: 12px 16px;
  box-shadow: 0 8px 24px #102c2522;
  background: #fffcf2;
  border-radius: 12px;
}
.hero-travel-photo .float-dest > div {
  flex: 1;
}
.hero-travel-photo .float-dest small {
  display: block;
  font-size: 11px;
}
.device-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.section-title h2,
.title-xl {
  letter-spacing: -0.045em;
}
.travel-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 35px;
  margin-bottom: 30px;
}
.travel-section-head > p {
  max-width: 340px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}
.travel-section-head .title-xl em {
  color: var(--brand);
  font-style: normal;
}
.travel-story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.travel-story {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  isolation: isolate;
  border-radius: 18px;
  color: white;
  background: #234333;
  display: flex;
  align-items: end;
  padding: 26px;
}
.travel-story > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.4s;
}
.travel-story:after {
  content: "";
  position: absolute;
  inset: 20% 0 0;
  background: linear-gradient(transparent, #10251ee8);
  z-index: -1;
}
.travel-story:hover {
  color: white;
}
.travel-story:hover > img {
  transform: scale(1.04);
}
.travel-story span {
  font-size: 10px;
  letter-spacing: 0.15em;
}
.travel-story h3 {
  color: #fff; /* the global heading colour would otherwise turn the headline dark on the photo */
  font-size: 27px;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 14px 0 28px;
}
.travel-story b {
  font-size: 12px;
  font-weight: 600;
}
.travel-photo-credit {
  font-size: 10px;
  color: var(--muted);
  margin-top: 14px;
}
.travel-photo-credit a {
  text-decoration: underline;
}
.install-panel {
  overflow: hidden;
}
.install-travel-photo {
  position: relative;
  margin: 0;
  min-height: 460px;
  isolation: isolate;
}
.install-travel-photo > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.install-travel-photo:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent, #183b2ba6);
  z-index: -1;
}
.install-travel-photo figcaption {
  position: absolute;
  bottom: 32px;
  left: 32px;
  color: white;
}
.install-travel-photo strong {
  font-size: 32px;
  letter-spacing: -0.04em;
  line-height: 1.1;
  display: block;
  margin-top: 15px;
}
.fcard {
  border: 1px solid var(--line);
  box-shadow: 0 5px 20px -15px #203d3633;
}
.dest-card {
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    border-color 0.2s;
}
.dest-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px -15px #29473355;
  border-color: #90b89a;
}
.cta-band {
  background: #e8f3e4;
  border-color: #d6e6cf;
}
.faq details {
  transition: background 0.2s;
}
.faq details[open] {
  background: #f4f8f1;
  border-radius: 12px;
}
/* Dashboard: navigation rail, photograph-led welcome, cleaner stats and eSIM cards. */
.dash {
  gap: 30px;
  padding-top: 36px;
}
.dash-nav {
  padding: 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
}
.dash-nav-eyebrow {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.17em;
  padding: 8px 12px 18px;
  color: var(--muted);
}
.dash-nav a[aria-current="page"] {
  border-color: transparent;
  background: #eaf4e5;
  color: #247d39;
  font-weight: 650;
}
.dash-nav a[aria-current="page"] svg {
  color: #247d39;
}
.dash-nav .nav-cta {
  justify-content: center;
  background: var(--cta);
  border-color: var(--cta);
  font-weight: 650;
}
.dash-nav a.dash-sidebar-photo {
  display: block;
  position: relative;
  height: 210px;
  padding: 0;
  margin-top: 20px;
  overflow: hidden;
  border-radius: 12px;
  color: white;
  isolation: isolate;
}
.dash-sidebar-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  z-index: -2;
}
.dash-sidebar-photo:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent, #173727d9);
  z-index: -1;
}
.dash-sidebar-photo > span {
  position: absolute;
  left: 15px;
  bottom: 17px;
  font-size: 12px;
}
.dash-sidebar-photo b {
  display: block;
  font-size: 16px;
  font-weight: 550;
  margin-top: 6px;
}
.dash-welcome {
  position: relative;
  min-height: 260px;
  border-radius: 20px;
  background: #214433;
  isolation: isolate;
  overflow: hidden;
  padding: 32px 34px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  color: white;
}
.dash-welcome > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  z-index: -2;
}
.dash-welcome:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #102e25ed, #173e2db3 50%, #183f2d10);
  z-index: -1;
}
.dash-welcome .travel-eyebrow {
  color: #d2e9c4;
  font-size: 9px;
  margin-bottom: 12px;
}
.dash-welcome h1 {
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  font-weight: 550;
  letter-spacing: -0.05em;
  line-height: 1.1;
  max-width: 500px;
}
.dash-welcome p {
  font-size: 13px;
  color: #e2ebdf;
  margin: 12px 0 20px;
}
.dash-welcome .btn {
  font-size: 12px;
  min-height: 38px;
}
.dash-welcome-caption {
  position: absolute;
  right: 20px;
  bottom: 18px;
  font-size: 8px;
  letter-spacing: 0.12em;
  color: #edf5e5;
}
.stats {
  gap: 15px;
}
.stat {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 22px;
}
.stat .label {
  font-size: 11px;
  color: var(--muted);
}
.stat .label svg {
  color: #34834a;
}
.stat .value {
  font-size: 31px;
  letter-spacing: -0.055em;
  margin-top: 12px;
}
.dash .empty-state {
  border-style: dashed;
  background: #fff;
  min-height: 250px;
}
.dash .table-wrap {
  border-radius: 16px;
}
.dash .table th {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.dash .settings .card {
  border-radius: 18px;
}
.dash [data-root] {
  min-width: 0;
}
.travel-story:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 5px;
}
@media (max-width: 1000px) {
  .hero-grid {
    gap: 30px;
  }
  .hero h1 {
    font-size: 46px;
  }
  .hero-travel-photo {
    height: 460px;
  }
  .dash-nav {
    display: flex;
    padding: 10px;
    border-radius: 12px;
  }
  .dash-nav-eyebrow,
  .dash-nav .dash-sidebar-photo {
    display: none !important;
  }
  .dash-welcome {
    min-height: 240px;
  }
  .travel-story-grid {
    gap: 16px;
  }
  .travel-story {
    min-height: 330px;
    padding: 20px;
  }
  .travel-story h3 {
    font-size: 24px;
  }
}
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero h1 {
    font-size: 42px;
  }
  .hero-travel-photo {
    height: 450px;
  }
  .hero-search .search-box {
    padding-left: 12px;
  }
  .hero-search .btn {
    padding: 0 16px;
  }
  .hero-lead {
    font-size: 14px;
  }
  .hero-checks {
    font-size: 11px;
    gap: 10px;
  }
  .travel-section-head {
    align-items: start;
  }
  .install-travel-photo {
    min-height: 350px;
  }
}
@media (max-width: 650px) {
  .hero {
    padding: 28px 0 35px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .hero-copy {
    padding: 0;
  }
  .hero h1 {
    font-size: clamp(2.7rem, 10vw, 3.5rem);
  }
  .hero-travel-photo {
    height: 360px;
  }
  .hero-travel-photo figcaption strong {
    font-size: 27px;
  }
  .hero-lead {
    font-size: 15px;
  }
  .hero-checks {
    margin-top: 18px;
  }
  .travel-eyebrow {
    font-size: 9px;
  }
  .travel-story-grid {
    grid-template-columns: 1fr;
  }
  .travel-story {
    min-height: 320px;
  }
  .travel-section-head {
    display: block;
  }
  .travel-section-head > p {
    margin-top: 20px;
  }
  .travel-inspiration {
    padding-top: 20px;
  }
  .install-travel-photo {
    min-height: 330px;
  }
  .dash-welcome {
    padding: 26px 22px;
    min-height: 255px;
  }
  .dash-welcome h1 {
    font-size: 31px;
    max-width: 310px;
  }
  .dash-welcome-caption {
    display: none;
  }
  .dash-welcome:after {
    background: linear-gradient(90deg, #102e25ed, #173e2d70);
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 16px;
  }
  .stat .value {
    font-size: 27px;
  }
  .dash-nav a {
    font-size: 12px;
    padding: 9px 12px;
  }
  .hero-travel-photo .float-dest {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .travel-story > img,
  .dest-card {
    transition: none;
  }
  .travel-story:hover > img,
  .dest-card:hover {
    transform: none;
  }
}
.dash-welcome h1 {
  color: #fff;
}
.hero-travel-photo img,
.dash-welcome img {
  color: transparent;
}
.install-travel-photo {
  border-radius: 16px;
  overflow: hidden;
}
.install-travel-photo strong {
  color: #fff;
}
/* Phones: leave out the "Works on every eSIM-ready phone" strip and the "Hayesim: always connected" line. */
@media (max-width: 640px) {
  .device-strip,
  .statement {
    display: none;
  }
}

/* Home page: the black "Keep your eSIM" line sits between the hero and the device strip, not at the very top. */
.announce--inline {
  margin: 0;
  padding: 14px 16px;
  font-size: 0.9rem;
}

/* Home page: "How much data do you need?" */
.usage-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}
.usage-card {
  display: flex;
  flex-direction: column;
  padding: 22px 20px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}
.usage-ico {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #e7f3e6;
  color: #247d39;
}
.usage-ico svg {
  width: 20px;
  height: 20px;
}
.usage-card:nth-child(4n + 2) .usage-ico { background: #fbf3cf; color: #8a6a00; }
.usage-card:nth-child(4n + 3) .usage-ico { background: #e6edf6; color: #3a5d8f; }
.usage-card:nth-child(4n + 4) .usage-ico { background: #f3e8f0; color: #8a3a74; }
.usage-card h3 {
  margin-top: 16px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
}
.usage-amount-line {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.usage-amount-line b {
  font-size: 1.55rem;
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1.15;
}
.usage-amount-line span {
  font-size: 0.78rem;
  color: var(--muted);
}
.usage-card p {
  margin: auto 0 0;
  padding-top: 14px;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--ink-2);
}
.usage-card p i {
  font-style: normal; /* "1 GB gives you" reads as part of the same sentence */
}
.usage-note {
  max-width: 680px;
  margin: 22px auto 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}
@media (max-width: 1000px) {
  .usage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 460px) {
  .usage-grid { gap: 10px; }
  .usage-card { padding: 16px 14px 16px; border-radius: 16px; }
  .usage-amount-line b { font-size: 1.3rem; }
}

/* Brand logos in the usage cards sit on a plain white circle. */
.usage-card .usage-ico--logo {
  background: #fff;
  border: 1px solid var(--line);
}
.usage-ico img {
  display: block;
  width: 22px;
  height: 22px;
}

/* Home page: trip planner */
.trip-card {
  position: relative;
  padding: 34px 36px 32px;
  border: 1px solid #dbe8d8;
  border-radius: 26px;
  background: linear-gradient(135deg, #f4faf1 0%, #ffffff 55%, #fffbe8 100%);
  box-shadow: 0 30px 60px -42px rgb(30 70 40 / 40%);
}
.trip-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.trip-head p { margin-top: 8px; color: var(--ink-2); font-size: 0.95rem; }
.trip-form {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr) auto;
  gap: 14px;
  align-items: end;
  margin-top: 24px;
  padding: 16px;
  border: 1px solid #e2ebe0;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 26px -22px rgb(30 70 40 / 35%);
}
.trip-form label, .trip-field { display: grid; gap: 6px; font-size: 0.74rem; font-weight: 500; letter-spacing: 0.04em; color: var(--muted); }
.trip-form .input { width: 100%; min-width: 0; min-height: 50px; border-radius: 14px; font-weight: 400; color: var(--ink); }
.trip-form .btn { min-height: 50px; padding: 0 26px; border-radius: 14px; }
.trip-error { margin: 14px 0 0; padding: 10px 14px; border-radius: 12px; background: #fdecea; color: #8a2b22; font-size: 0.88rem; }
.trip-result { margin-top: 30px; }
.trip-summary { display: flex; align-items: center; gap: 14px; }
.trip-summary h3 { font-size: 1.25rem; font-weight: 500; letter-spacing: -0.02em; }
.trip-summary p { margin: 2px 0 0; font-size: 0.85rem; color: var(--muted); }
.trip-picks { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 20px; }
.trip-pick {
  --tone: #247d39;
  --tone-bg: #e4f2e0;
  display: flex;
  flex-direction: column;
  padding: 22px 22px 20px;
  border: 1px solid #e3ece1;
  border-radius: 20px;
  background: linear-gradient(170deg, var(--tone-bg) 0%, #fff 46%);
  color: inherit;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.trip-pick--regular { --tone: #8a6a00; --tone-bg: #fbf1c6; }
.trip-pick--heavy { --tone: #3a5d8f; --tone-bg: #dfe9f6; }
.trip-pick--unlimited { --tone: #7a3a8f; --tone-bg: #efe2f5; }
.trip-pick--longest { --tone: #247d39; --tone-bg: #e4f2e0; }
.trip-pick:hover { transform: translateY(-3px); border-color: var(--tone); box-shadow: 0 22px 36px -26px color-mix(in srgb, var(--tone) 60%, transparent); }
.trip-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--tone); box-shadow: 0 6px 14px -8px color-mix(in srgb, var(--tone) 70%, transparent); }
.trip-ico svg { width: 21px; height: 21px; }
.trip-tier { margin-top: 16px; font-size: 1.3rem; font-weight: 400; letter-spacing: -0.02em; line-height: 1.2; color: var(--ink); }
.trip-blurb { margin-top: 4px; min-height: 2.7em; font-size: 0.82rem; font-weight: 400; line-height: 1.4; color: var(--ink-2); }
.trip-data { display: flex; flex-direction: column; gap: 2px; margin-top: 16px; padding-top: 16px; border-top: 1px dashed color-mix(in srgb, var(--tone) 30%, #dfe6dc); }
.trip-data b { font-size: 1.9rem; font-weight: 500; letter-spacing: -0.04em; line-height: 1.1; }
.trip-data small { font-size: 0.8rem; color: var(--ink-2); }
.trip-foot { display: flex; flex-direction: column; gap: 1px; margin-top: 14px; }
.trip-price { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.02em; }
.trip-foot small { font-size: 0.74rem; color: var(--muted); }
.trip-cta { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 18px; min-height: 44px; border-radius: 999px; background: #fff; border: 1px solid color-mix(in srgb, var(--tone) 35%, #dfe6dc); color: var(--tone); font-size: 0.88rem; font-weight: 600; transition: background 0.18s, color 0.18s; }
.trip-cta svg { width: 16px; height: 16px; }
.trip-pick:hover .trip-cta { background: var(--tone); border-color: var(--tone); color: #fff; }
.trip-note { margin: 18px 0 0; font-size: 0.8rem; line-height: 1.55; color: var(--muted); }
.trip-note a { text-decoration: underline; }
@media (max-width: 900px) {
  .trip-card { padding: 24px 16px 22px; border-radius: 22px; }
  .trip-form { grid-template-columns: 1fr; padding: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .trip-pick, .trip-cta { transition: none; }
  .trip-pick:hover { transform: none; }
}

/* Space between the device strip and the trip planner */
.trip-planner { padding-top: 64px; padding-bottom: 8px; }
@media (max-width: 700px) { .trip-planner { padding-top: 40px; } }

/* Date field and range calendar */
.trip-dates-field { position: relative; }
.trip-dates-btn { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; cursor: pointer; color: var(--muted); font-size: 0.95rem; }
.trip-dates-btn svg { width: 18px; height: 18px; flex: none; color: #247d39; }
.trip-dates-btn.has-value { color: var(--ink); }
.trip-dates-btn[aria-expanded="true"] { border-color: #247d39; box-shadow: 0 0 0 3px rgb(36 125 57 / 14%); }
.cal {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 30;
  width: max-content;
  max-width: calc(100vw - 24px);
  padding: 18px 20px 14px;
  border: 1px solid #dfe8dc;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 28px 60px -22px rgb(20 50 30 / 38%);
  color: var(--ink);
  letter-spacing: 0;
  font-size: 0.9rem;
  font-weight: 400;
}
.cal[hidden] { display: none; }
.cal-nav { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; pointer-events: none; }
.cal-nav button { pointer-events: auto; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #e3ece1; border-radius: 50%; background: #fff; color: var(--ink-2); cursor: pointer; }
.cal-nav button:hover:not(:disabled) { background: #eaf4e5; color: #247d39; }
.cal-nav button:disabled { opacity: 0.35; cursor: default; }
.cal-nav svg { width: 16px; height: 16px; }
.cal-months { display: flex; gap: 28px; }
.cal-month { width: 266px; }
.cal-title { height: 34px; display: grid; place-items: center; font-size: 0.95rem; font-weight: 500; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 38px); row-gap: 2px; margin-top: 8px; justify-content: center; }
.cal-dow { height: 30px; display: grid; place-items: center; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.04em; color: var(--muted); }
.cal-day { position: relative; width: 38px; height: 38px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); font: inherit; font-size: 0.88rem; cursor: pointer; }
.cal-day:hover:not(:disabled):not(.is-start):not(.is-end) { background: #eaf4e5; }
.cal-day.is-today { box-shadow: inset 0 0 0 1.5px #b9d3b4; }
.cal-day.is-past { color: #c2c9c0; cursor: default; }
.cal-day.in-range { background: #e4f2e0; border-radius: 0; }
.cal-day.is-start, .cal-day.is-end { background: #247d39; color: #fff; box-shadow: none; font-weight: 500; }
.cal-day.is-edge.is-start { border-radius: 50% 0 0 50%; }
.cal-day.is-edge.is-end { border-radius: 0 50% 50% 0; }
.cal-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding-top: 10px; border-top: 1px solid #edf1ec; font-size: 0.82rem; color: var(--ink-2); }
.cal-clear { border: 0; background: none; color: #247d39; font: inherit; font-size: 0.82rem; font-weight: 500; text-decoration: underline; cursor: pointer; }
@media (max-width: 759px) {
  .cal { left: 0 !important; right: 0; width: auto; padding: 16px 14px 12px; }
  .cal-month { width: 100%; }
  .cal-grid { grid-template-columns: repeat(7, 1fr); }
  .cal-day { width: 100%; max-width: 44px; margin: 0 auto; }
  .cal-day.in-range { max-width: none; }
}

/* Hero: the search and the trip planner are one bar under the headline */
.hero { overflow-x: clip; overflow-y: visible; }
.hero-copy { padding-bottom: 28px; }
.hero-plan-wrap { position: relative; z-index: 6; margin-top: 28px; padding-bottom: 52px; }
.hero-plan { margin-top: 0; padding: 14px; border-radius: 22px; box-shadow: 0 26px 50px -30px rgb(30 70 40 / 45%); }
.hero-plan .hp-where { position: relative; min-width: 0; }
.hero-plan .hp-where label { display: grid; gap: 6px; }
.hero-plan .search-results { top: calc(100% + 8px); }
.trip-results { padding: 0 0 56px; }
.trip-results .trip-card { padding: 28px 32px; }
.trip-results .trip-result { margin-top: 0; }
@media (max-width: 900px) {
  .hero-plan-wrap { padding-bottom: 32px; }
  .trip-results .trip-card { padding: 22px 16px; }
}
/* Phones: headline, then the search bar, then the photo (the bar must not sit below a tall picture) */
@media (max-width: 900px) {
  .hero { display: flex; flex-direction: column; }
  .hero-grid { display: contents; }
  .hero-copy { order: 1; width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter) 22px; }
  .hero-plan-wrap { order: 2; width: 100%; margin-top: 0; padding-bottom: 28px; }
  .hero-travel-photo { order: 3; width: calc(100% - var(--gutter) * 2); margin: 0 auto 40px; }
}

/* Hero without a photo: headline, lead and the search bar, centred */
.hero-grid { grid-template-columns: 1fr; text-align: center; }
.hero-copy { max-width: 820px; margin: 0 auto; }
.hero-lead { margin-left: auto; margin-right: auto; }
.hero-checks { justify-content: center; }
.hero { padding-top: 72px; }
@media (max-width: 900px) {
  .hero { padding-top: 40px; }
  .hero-copy { text-align: left; }
  .hero-checks { justify-content: flex-start; }
  .hero-lead { margin-left: 0; margin-right: 0; }
}

/* Hero background photo: a wide one on computers, a tall one on phones, under a dark veil so the text stays readable */
.hero {
  isolation: isolate;
  min-height: 640px;
  color: #fff;
  background:
    linear-gradient(180deg, rgb(8 24 40 / 62%) 0%, rgb(8 24 40 / 58%) 48%, rgb(8 24 40 / 66%) 100%),
    url("../img/hero/hero-desktop-3.webp") center 32% / cover no-repeat,
    #0e2233;
}
.hero:before, .hero:after { display: none; }
.hero h1 { color: #fff; text-shadow: 0 2px 28px rgb(0 0 0 / 28%); }
.hero h1 em { color: #fbe43a; }
.hero-lead { color: #fff; font-weight: 500; text-shadow: 0 1px 2px rgb(0 0 0 / 55%), 0 2px 18px rgb(0 0 0 / 40%); }
.hero-checks { color: #fff; font-weight: 500; text-shadow: 0 1px 2px rgb(0 0 0 / 55%), 0 2px 14px rgb(0 0 0 / 35%); }
.hero-checks svg { color: #fff; }
@media (max-width: 760px) {
  .hero {
    min-height: 0;
    background:
      linear-gradient(180deg, rgb(20 12 40 / 58%) 0%, rgb(20 12 40 / 48%) 50%, rgb(20 12 40 / 62%) 100%),
      url("../img/hero/hero-mobile-3.webp") center 32% / cover no-repeat,
      #2a1c44;
  }
}
