/* NOW JOURNEY MOBILE UX BUILD: 2026-08-06T12:59 */
/* Mobile conversion and accessibility enhancements for Italy's Great Cities. */
.nj-hero__route {
  max-width: 760px;
  margin: -8px 0 22px;
  color: rgba(255,255,255,.88);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
}

.nj-hero__reassurance {
  margin: 13px 0 0;
  color: rgba(255,255,255,.82);
  font-size: 14px;
  font-weight: 600;
}

.nj-decision-trust {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 1px;
  overflow: hidden;
  margin: 32px 0 0;
  border: 1px solid rgba(23,63,73,.12);
  border-radius: 18px;
  background: rgba(23,63,73,.12);
}

.nj-decision-trust span {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background: #fffdf8;
  color: var(--nj-deep);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.nj-complete-transition__inner {
  grid-template-columns: minmax(0,1fr) 280px;
  gap: clamp(64px,8vw,112px);
  align-items: center;
}

.nj-complete-transition__copy {
  width: 100%;
  max-width: 940px;
}

.nj-complete-transition__download {
  width: 280px;
  max-width: 100%;
  justify-self: end;
  padding: 20px;
  border: 1px solid rgba(23,63,73,.1);
  border-radius: 18px;
  background: rgba(255,255,255,.38);
}

.nj-complete-transition__download p {
  margin: 0 0 16px;
  color: #6e7c7f;
  font-size: 13px;
  line-height: 1.55;
}

.nj-complete-transition__download .nj-button {
  width: 100%;
  min-height: 46px;
  padding: 10px 13px;
  font-size: 11px;
  letter-spacing: .04em;
  text-align: center;
}

@media (max-width: 1000px) {
  .nj-complete-transition__inner { grid-template-columns: 1fr; gap: 26px; }
  .nj-complete-transition__download { width: min(100%,520px); justify-self: start; }
}

.nj-mobile-edition-toggle,
.nj-itinerary-mobile-controls,
.nj-chapter-toggle,
.nj-route-progress,
.nj-year-tabs,
.nj-season-toggle { display: none; }

.nj-mobile-chapter-nights { display: none; }

.nj-bookbar__mobile-actions { display: none !important; }

@media (max-width: 767px) {
  :root {
    --nj-page-nav-height: 56px;
    --nj-anchor-clearance: 76px;
  }

  .nj-tour {
    padding-bottom: calc(86px + env(safe-area-inset-bottom));
    overflow-x: hidden;
    overflow-x: clip;
  }

  .nj-tour p,
  .nj-tour li { font-size: max(16px,1rem); }

  .nj-page-anchor,
  .nj-itinerary-chapter,
  #overview,
  #why,
  #complete-journey,
  #hotels,
  #dates,
  #faq,
  #proposal { scroll-margin-top: var(--nj-anchor-clearance); }

  .nj-hero {
    min-height: 0;
    height: auto;
    align-items: stretch;
    background-image: url('/images/italy-cinematic-pause.png');
    background-position: 56% center;
  }

  .nj-hero::after {
    background: linear-gradient(0deg,rgba(5,30,38,.96) 0%,rgba(5,30,38,.86) 64%,rgba(5,30,38,.42) 100%);
  }

  .nj-hero__content {
    padding: 64px 0 34px;
  }

  .nj-hero__inner { max-width: none; }

  .nj-hero .nj-eyebrow {
    margin-bottom: 10px;
    font-size: 11px;
    line-height: 1.35;
  }

  .nj-hero h1 {
    max-width: 350px;
    margin-bottom: 12px;
    font-size: clamp(46px,14vw,60px);
    letter-spacing: -.05em;
    line-height: .92;
    text-wrap: balance;
  }

  .nj-hero__subhead {
    margin-bottom: 9px;
    font-size: clamp(18px,5vw,21px);
    line-height: 1.35;
  }

  .nj-hero__route {
    margin: 0 0 18px;
    font-size: 15px;
    line-height: 1.45;
  }

  .nj-hero .nj-trust {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 7px;
    margin: 0 0 18px;
  }

  .nj-hero .nj-trust li {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: flex-start;
    padding: 8px 10px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 12px;
    font-size: 11px;
    letter-spacing: .035em;
    line-height: 1.3;
    text-align: left;
  }

  .nj-hero .nj-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .nj-hero .nj-button {
    min-height: 50px;
    padding: 12px 15px;
    font-size: 12px;
    line-height: 1.25;
    white-space: normal;
  }

  .nj-hero__reassurance {
    margin-top: 11px;
    font-size: 13px;
    text-align: center;
  }

  .nj-glance__grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .nj-glance__item {
    min-height: 86px;
    padding: 17px 10px;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
    text-align: left;
  }

  .nj-glance strong {
    font-size: 14px;
    line-height: 1.3;
  }

  .nj-glance span {
    display: block;
    margin-top: 4px;
    font-size: 10px;
    line-height: 1.35;
  }

  .nj-journey-selector.is-mobile-edition-enhanced {
    padding: 24px 0;
  }

  .nj-mobile-edition-toggle {
    display: grid;
    width: 100%;
    min-height: 64px;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 13px 15px;
    border: 1px solid rgba(23,63,73,.18);
    border-radius: 16px;
    background: #fff;
    color: var(--nj-deep);
    font: 700 15px/1.35 "DM Sans",Arial,sans-serif;
    text-align: left;
    cursor: pointer;
  }

  .nj-mobile-edition-toggle small {
    display: block;
    margin-top: 3px;
    color: #8b5b12;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
  }

  .nj-mobile-edition-toggle::after {
    content: "+";
    font-size: 24px;
    font-weight: 400;
  }

  .nj-mobile-edition-toggle[aria-expanded="true"]::after { content: "−"; }

  .nj-mobile-edition-toggle:focus-visible,
  .nj-chapter-toggle:focus-visible,
  .nj-itinerary-mobile-controls button:focus-visible,
  .nj-route-progress button:focus-visible,
  .nj-year-tabs button:focus-visible,
  .nj-season-toggle:focus-visible {
    outline: 3px solid var(--nj-gold);
    outline-offset: 3px;
  }

  .is-mobile-edition-enhanced .nj-journey-selector__head,
  .is-mobile-edition-enhanced .nj-journey-grid { display: none; }

  .is-mobile-edition-enhanced.is-open .nj-journey-selector__head,
  .is-mobile-edition-enhanced.is-open .nj-journey-grid { display: grid; }

  .is-mobile-edition-enhanced.is-open .nj-journey-selector__head { margin: 24px 0 18px; }
  .is-mobile-edition-enhanced.is-open .nj-journey-selector__head h2 { font-size: 34px; }
  .is-mobile-edition-enhanced.is-open .nj-journey-selector__head p { font-size: 16px; }
  .is-mobile-edition-enhanced.is-open .nj-journey-grid { grid-template-columns: 1fr; }

  .nj-anchorbar { top: 0; }

  .nj-anchorbar::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 34px;
    background: linear-gradient(90deg,transparent,rgba(255,253,248,.98));
    content: "";
    pointer-events: none;
  }

  .nj-anchorbar__inner {
    min-height: 56px;
    gap: 5px;
    padding: 0 38px 0 12px;
    scroll-padding-inline: 12px;
    scroll-snap-type: x proximity;
  }

  .nj-anchorbar__link {
    min-height: 48px;
    padding: 0 9px;
    font-size: 11px;
    letter-spacing: .045em;
    scroll-snap-align: start;
  }

  .nj-anchorbar__link[href="#dates"] {
    color: #754807 !important;
    font-weight: 800;
  }

  .nj-section { padding-top: 58px; padding-bottom: 58px; }
  .nj-section-head { gap: 20px; margin-bottom: 34px; }
  .nj-display { font-size: clamp(37px,11vw,48px); text-wrap: balance; }
  .nj-lede { font-size: 17px; line-height: 1.65; }

  .nj-complete-transition__download {
    width: 100%;
    padding: 20px;
    border: 1px solid rgba(23,63,73,.1);
    border-radius: 18px;
    background: rgba(255,255,255,.48);
  }

  .nj-complete-transition__download p {
    margin-bottom: 15px;
    font-size: 16px;
  }

  .nj-journey-map__stops {
    scroll-padding-inline: 0;
    touch-action: pan-x pan-y;
  }

  html:not(.nj-mobile-ux-ready) .nj-journey-map__rail { height: auto; }

  html:not(.nj-mobile-ux-ready) .nj-journey-map__stops {
    display: grid;
    height: auto;
    overflow: visible;
    padding: 0;
  }

  html:not(.nj-mobile-ux-ready) .nj-journey-map__stop,
  html:not(.nj-mobile-ux-ready) .nj-journey-map__stop--01,
  html:not(.nj-mobile-ux-ready) .nj-journey-map__stop--02,
  html:not(.nj-mobile-ux-ready) .nj-journey-map__stop--03,
  html:not(.nj-mobile-ux-ready) .nj-journey-map__stop--04,
  html:not(.nj-mobile-ux-ready) .nj-journey-map__stop--05 {
    width: 100%;
    height: auto;
    min-height: 180px;
    margin: 0;
  }

  html:not(.nj-mobile-ux-ready) .nj-year-details > .nj-year-details__content {
    display: block !important;
  }

  .nj-journey-map__stop,
  .nj-journey-map__stop--01,
  .nj-journey-map__stop--02,
  .nj-journey-map__stop--03,
  .nj-journey-map__stop--04,
  .nj-journey-map__stop--05 {
    flex-basis: 88%;
    margin-right: 16px;
  }

  .nj-route-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 10px 0 0;
  }

  .nj-route-progress button {
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .nj-route-progress button::before {
    display: block;
    width: 8px;
    height: 8px;
    margin: auto;
    border-radius: 50%;
    background: rgba(23,63,73,.28);
    content: "";
  }

  .nj-route-progress button[aria-current="step"]::before {
    width: 22px;
    border-radius: 999px;
    background: var(--nj-gold);
  }

  .nj-itinerary-mobile-controls {
    display: flex;
    gap: 10px;
    padding: 16px 15px;
    border-bottom: 1px solid var(--nj-line);
    background: #fffdf8;
  }

  .nj-itinerary-mobile-controls button {
    min-height: 44px;
    flex: 1 1 0;
    padding: 9px 12px;
    border: 1px solid rgba(23,63,73,.2);
    border-radius: 999px;
    background: #fff;
    color: var(--nj-deep);
    font: 700 12px/1.2 "DM Sans",Arial,sans-serif;
    cursor: pointer;
  }

  .nj-tour .nj-itinerary-cover {
    min-height: 330px;
  }

  .nj-tour .nj-itinerary-cover__inner { padding: 46px 0 34px; }

  .nj-tour .nj-itinerary-cover h2 {
    max-width: 330px;
    font-size: clamp(48px,15vw,64px);
    line-height: .92;
    text-wrap: balance;
  }

  .nj-tour .nj-itinerary-cover__lede {
    max-width: 36ch;
    font-size: 17px;
    line-height: 1.55;
  }

  .nj-chapter-toggle {
    display: inline-flex;
    min-width: 160px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
    padding: 10px 18px;
    border: 2px solid rgba(255,255,255,.82);
    border-radius: 999px;
    background: rgba(5,30,38,.32);
    color: #fff;
    font: 700 12px/1.2 "DM Sans",Arial,sans-serif;
    letter-spacing: .05em;
    text-transform: uppercase;
    cursor: pointer;
  }

  .nj-chapter-toggle::after { content: "+"; font-size: 20px; }
  .nj-chapter-toggle[aria-expanded="true"]::after { content: "−"; }
  .nj-mobile-chapter-nights { display: inline; }
  .nj-itinerary-body[hidden] { display: none !important; }
  .nj-tour .nj-itinerary-body { padding: 54px 0; }
  .nj-tour .nj-itinerary-day { border-radius: 20px; }

  .nj-year-tabs {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 6px;
    margin: 0 0 22px;
    padding: 5px;
    border: 1px solid rgba(23,63,73,.14);
    border-radius: 14px;
    background: rgba(255,255,255,.58);
  }

  .nj-year-tabs button {
    min-height: 46px;
    padding: 9px 14px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--nj-deep);
    font: 800 14px/1.2 "DM Sans",Arial,sans-serif;
    cursor: pointer;
  }

  .nj-year-tabs button[aria-selected="true"] {
    background: var(--nj-deep);
    color: #fff;
  }

  .nj-year-details.is-tab-panel { border-radius: 20px; }
  .nj-year-details.is-tab-panel > summary { display: none; }
  .nj-year-details.is-tab-panel[hidden] { display: none !important; }
  .nj-year-details.is-tab-panel .nj-year-details__content { padding: 18px; }

  .nj-season.is-mobile-season {
    overflow: hidden;
    border: 1px solid rgba(23,63,73,.12);
    border-radius: 16px;
    background: #fff;
  }

  .nj-season.is-mobile-season > h3 { display: none; }

  .nj-season-toggle {
    display: grid;
    width: 100%;
    min-height: 56px;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 13px 15px;
    border: 0;
    background: #fff;
    color: var(--nj-deep);
    font: 700 17px/1.25 "DM Sans",Arial,sans-serif;
    text-align: left;
    cursor: pointer;
  }

  .nj-season-toggle::after { content: "+"; font-size: 22px; font-weight: 400; }
  .nj-season-toggle[aria-expanded="true"]::after { content: "−"; }
  .nj-season-body { padding: 0 14px 16px; }
  .nj-season-body[hidden] { display: none !important; }
  .nj-season__note { font-size: 15px !important; }

  .nj-date-grid { grid-template-columns: 1fr; }

  .nj-date-card {
    padding: 22px;
    border-radius: 18px;
  }

  .nj-date-card__date { font-size: 23px; line-height: 1.2; }

  .nj-date-card__price {
    display: grid;
    gap: 5px;
    margin: 12px 0;
    font-size: 16px;
    line-height: 1.5;
  }

  .nj-date-card .nj-small-link {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    margin-top: 5px;
    padding: 11px 14px;
    border: 2px solid var(--nj-deep);
    border-radius: 999px;
    background: var(--nj-deep);
    color: #fff !important;
    font-size: 13px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
  }

  .nj-decision-trust {
    grid-template-columns: repeat(2,minmax(0,1fr));
    margin-top: 26px;
  }

  .nj-decision-trust span {
    min-height: 72px;
    padding: 12px;
    font-size: 12px;
  }

  .nj-final { text-align: left; }
  .nj-final .nj-lede { margin-right: 0; margin-left: 0; }
  .nj-final .nj-actions { align-items: stretch; }
  .nj-final__trust { text-align: left; }

  .nj-bookbar {
    right: 8px;
    bottom: calc(8px + env(safe-area-inset-bottom));
    left: 8px;
    min-height: 64px;
    gap: 8px;
    padding: 8px;
    border-radius: 18px;
  }

  .nj-bookbar__facts {
    display: flex;
    min-width: 90px;
    flex: 0 0 auto;
    gap: 0;
    padding-left: 7px;
  }

  .nj-bookbar__facts strong { font-size: 13px; line-height: 1.2; }
  .nj-bookbar__facts span { display: none; }

  .nj-bookbar .nj-actions {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: row;
    gap: 7px;
    align-items: center;
  }

  .nj-bookbar__desktop-actions { display: none !important; }
  .nj-bookbar__mobile-actions { display: flex !important; }

  .nj-bookbar .nj-button {
    width: auto;
    min-width: 0;
    min-height: 48px;
    padding: 8px 11px;
    font-size: 10px;
    letter-spacing: .025em;
    line-height: 1.2;
    white-space: normal;
  }

  .nj-bookbar .nj-button--gold { flex: 1 1 auto; }
  .nj-bookbar .nj-button--light { flex: 0 1 auto; }
  .nj-bookbar__chat { display: none !important; }

  .nj-tour a,
  .nj-tour button,
  .nj-bookbar a,
  .nj-bookbar button { touch-action: manipulation; }
}

@media (max-width: 359.98px) {
  .nj-shell { width: min(100% - 24px,1180px); }
  .nj-hero__content { padding-top: 48px; }
  .nj-hero h1 { font-size: 45px; }
  .nj-hero .nj-trust { grid-template-columns: 1fr; }
  .nj-glance__grid { grid-template-columns: 1fr; }
  .nj-glance__item { min-height: 70px; border-right: 0; }
  .nj-bookbar__facts { min-width: 82px; }
  .nj-bookbar .nj-button { font-size: 11px; }
  .nj-decision-trust { grid-template-columns: 1fr; }
}

@media (min-width: 768px) {
  .nj-hero .nj-actions [href="#dates"] { order: 2; }
  .nj-hero .nj-actions [data-tour-proposal] { order: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .nj-anchorbar__inner,
  .nj-journey-map__stops { scroll-behavior: auto; }
}

@media print {
  .nj-mobile-edition-toggle,
  .nj-itinerary-mobile-controls,
  .nj-chapter-toggle,
  .nj-route-progress,
  .nj-year-tabs,
  .nj-bookbar { display: none !important; }

  .nj-itinerary-body[hidden],
  .nj-year-details[hidden],
  .nj-season-body[hidden] { display: block !important; }
}
