.wp-block-mjt-tour-page.mjt-tour-page {
  --mjt-navy: #13283e;
  --mjt-navy-deep: #0d1c2d;
  --mjt-blue: #160b78;
  --mjt-ink: #18222c;
  --mjt-ivory: #f5f1e8;
  --mjt-paper: #fffdf8;
  --mjt-stone: #e5e3dc;
  --mjt-gold: #c7a56a;
  --mjt-muted: #68717a;
  --mjt-serif: "Bodoni 72", Didot, "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  --mjt-sans: "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  max-width: 1180px;
  margin: 40px auto;
  overflow: hidden;
  background: var(--mjt-paper);
  color: var(--mjt-ink);
  font-family: var(--mjt-sans);
  font-size: 16px;
  line-height: 1.85;
  box-shadow: 0 24px 70px rgba(17, 29, 39, 0.12);
}

.wp-block-mjt-tour-page.mjt-tour-page.alignfull {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.mjt-tour-page *,
.mjt-tour-page *::before,
.mjt-tour-page *::after {
  box-sizing: border-box;
}

.mjt-tour-page h1,
.mjt-tour-page h2,
.mjt-tour-page h3,
.mjt-tour-page p,
.mjt-tour-page figure,
.mjt-tour-page ul {
  margin-top: 0;
}

.mjt-hero {
  position: relative;
  display: flex;
  min-height: clamp(520px, 68vw, 760px);
  align-items: flex-end;
  overflow: hidden;
  background-color: #87929a;
  background-image: var(--mjt-hero);
  background-position: center;
  background-size: cover;
  color: #fff;
}

.mjt-hero.is-placeholder {
  background:
    linear-gradient(125deg, rgba(18, 40, 62, 0.98), rgba(18, 40, 62, 0.68)),
    linear-gradient(25deg, #b8a784, #708088);
}

.mjt-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 14, 24, 0.05) 25%, rgba(5, 14, 24, 0.83) 100%);
}

.mjt-hero-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  letter-spacing: 0.16em;
}

.mjt-hero-placeholder .dashicons {
  width: 44px;
  height: 44px;
  font-size: 44px;
}

.mjt-hero-inner {
  position: relative;
  z-index: 1;
  width: min(88%, 980px);
  margin: 0 auto;
  padding: 86px 0 76px;
}

.mjt-eyebrow,
.mjt-section-kicker,
.mjt-section-heading > span {
  margin-bottom: 13px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.mjt-hero h1 {
  max-width: 850px;
  margin-bottom: 20px;
  color: inherit;
  font-family: var(--mjt-serif);
  font-size: clamp(48px, 7.4vw, 102px);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -0.045em;
}

.mjt-lead {
  max-width: 610px;
  margin-bottom: 18px;
  font-family: var(--mjt-serif);
  font-size: clamp(18px, 2.15vw, 27px);
  line-height: 1.55;
}

.mjt-date {
  display: inline-block;
  margin-bottom: 0;
  border-top: 1px solid rgba(255,255,255,.55);
  padding-top: 12px;
  font-size: 13px;
  letter-spacing: .12em;
}

.mjt-intro,
.mjt-main-grid,
.mjt-details,
.mjt-notes,
.mjt-cta {
  padding-left: clamp(26px, 6vw, 82px);
  padding-right: clamp(26px, 6vw, 82px);
}

.mjt-intro {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  gap: clamp(42px, 6vw, 86px);
  align-items: center;
  padding-top: clamp(66px, 8vw, 112px);
  padding-bottom: clamp(66px, 8vw, 112px);
  background: var(--mjt-ivory);
}

.mjt-section-kicker {
  color: var(--mjt-gold);
}

.mjt-intro-copy h2,
.mjt-section-heading h2,
.mjt-notes h2,
.mjt-cta h2 {
  font-family: var(--mjt-serif);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -.025em;
}

.mjt-intro-copy h2 {
  display: block;
  max-width: 100%;
  margin-bottom: 25px;
  background: transparent !important;
  padding: 0;
  color: var(--mjt-navy) !important;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.28;
}

.mjt-intro-copy > p:last-child {
  margin-bottom: 0;
  color: #4c565e;
}

.mjt-photo-mosaic {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 13px;
  min-height: 440px;
}

.mjt-photo-mosaic figure,
.mjt-point-image {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #d3d1ca;
}

.mjt-photo-mosaic img,
.mjt-point-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mjt-mosaic-main {
  grid-row: 1 / 3;
}

.mjt-photo-placeholder {
  display: grid;
  min-height: 180px;
  place-content: center;
  justify-items: center;
  gap: 7px;
  padding: 20px;
  color: #74746f;
  font-size: 12px;
  line-height: 1.55;
  text-align: center;
}

.mjt-photo-placeholder .dashicons {
  width: 31px;
  height: 31px;
  font-size: 31px;
  opacity: .58;
}

.mjt-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(330px, .88fr);
  gap: clamp(44px, 6vw, 80px);
  padding-top: clamp(72px, 9vw, 120px);
  padding-bottom: clamp(72px, 9vw, 120px);
}

.mjt-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 44px;
  border-bottom: 1px solid #bbc0c3;
  padding-bottom: 16px;
}

.mjt-section-heading > span {
  margin-bottom: 5px;
  color: var(--mjt-gold);
}

.mjt-section-heading h2 {
  margin-bottom: 0;
  background: var(--mjt-blue);
  padding: 9px 15px 10px;
  color: #fff !important;
  font-size: clamp(32px, 3.4vw, 46px);
}

.mjt-section-heading h2 small {
  margin-left: 6px;
  font-family: var(--mjt-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  color: inherit !important;
}

.mjt-day + .mjt-day {
  margin-top: 58px;
}

.mjt-day-head {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 25px;
}

.mjt-day-number {
  display: block;
  border-top: 2px solid var(--mjt-navy);
  padding-top: 7px;
  color: var(--mjt-navy);
  font-family: var(--mjt-serif);
  font-size: 28px;
  line-height: 1;
}

.mjt-day-head p {
  margin-bottom: 3px;
  color: var(--mjt-gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
}

.mjt-day-head h3 {
  margin-bottom: 0;
  color: var(--mjt-navy);
  font-family: var(--mjt-serif);
  font-size: 25px;
  font-weight: 600;
  line-height: 1.45;
}

.mjt-timeline {
  margin-left: 75px;
  border-left: 1px solid #c7cbcd;
  padding-left: 22px;
}

.mjt-timeline-row {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  padding: 0 0 15px;
}

.mjt-timeline-row time {
  color: var(--mjt-navy);
  font-family: var(--mjt-serif);
  font-size: 15px;
  font-weight: 700;
}

.mjt-timeline-row p {
  margin-bottom: 0;
  color: #414b53;
  font-size: 14px;
  line-height: 1.65;
}

.mjt-stay {
  margin: 7px 0 0 75px;
  background: var(--mjt-ivory);
  padding: 9px 15px;
  color: var(--mjt-navy);
  font-size: 12px;
  font-weight: 700;
}

.mjt-points {
  background: var(--mjt-stone);
  padding: 38px clamp(24px, 3vw, 42px) 42px;
}

.mjt-point-card {
  border-top: 1px solid rgba(19,40,62,.27);
  padding: 28px 0;
}

.mjt-point-card:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.mjt-point-copy {
  margin-bottom: 18px;
}

.mjt-point-number {
  color: var(--mjt-gold);
  font-family: var(--mjt-serif);
  font-size: 15px;
  font-style: italic;
}

.mjt-point-copy h3 {
  margin: 6px 0 9px;
  color: var(--mjt-navy);
  font-family: var(--mjt-serif);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.4;
}

.mjt-point-copy p {
  margin-bottom: 0;
  color: #4f575c;
  font-size: 13px;
  line-height: 1.75;
}

.mjt-point-image {
  height: 185px;
}

.mjt-pricing {
  background: var(--mjt-navy);
  padding: clamp(65px, 8vw, 100px) clamp(26px, 6vw, 82px);
  color: #fff;
}

.mjt-heading-light {
  border-bottom-color: rgba(255,255,255,.28);
}

.mjt-price-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.mjt-price-card {
  min-width: 0;
  border: 1px solid rgba(255,255,255,.35);
  padding: 25px 18px 22px;
}

.mjt-price-card.is-featured {
  position: relative;
  border-color: var(--mjt-gold);
  background: var(--mjt-gold);
  color: var(--mjt-navy-deep);
}

.mjt-price-badge {
  position: absolute;
  top: -11px;
  left: 18px;
  background: var(--mjt-paper);
  padding: 2px 8px;
  color: var(--mjt-navy);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
}

.mjt-price-label {
  margin-bottom: 13px;
  font-size: 13px;
  font-weight: 700;
}

.mjt-price-amount {
  margin-bottom: 0;
  font-family: var(--mjt-serif);
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.1;
  white-space: nowrap;
}

.mjt-booking-action {
  display: grid;
  justify-items: center;
  margin-top: clamp(34px, 5vw, 54px);
  text-align: center;
}

.mjt-booking-button {
  display: inline-flex;
  min-width: min(100%, 390px);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #dd1f1f;
  border: 2px solid #dd1f1f;
  padding: 17px 22px;
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none !important;
  touch-action: manipulation;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.mjt-booking-button:hover,
.mjt-booking-button:focus {
  background: #b51a1a;
  border-color: #b51a1a;
  color: #fff !important;
  transform: translateY(-1px);
}

.mjt-booking-button:focus-visible,
.mjt-cta-button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.mjt-booking-action p {
  max-width: 620px;
  margin: 13px 0 0;
  color: rgba(255,255,255,.78);
  font-size: 12px;
  line-height: 1.7;
}

.mjt-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--mjt-ivory);
  padding-top: clamp(62px, 7vw, 90px);
  padding-bottom: clamp(62px, 7vw, 90px);
}

.mjt-detail-card {
  padding: 0 clamp(0px, 3vw, 42px);
}

.mjt-detail-card + .mjt-detail-card {
  border-left: 1px solid #c9c7c0;
}

.mjt-detail-card h3 {
  margin-bottom: 22px;
  color: var(--mjt-navy);
  font-family: var(--mjt-serif);
  font-size: 25px;
  font-weight: 600;
}

.mjt-detail-card ul,
.mjt-notes ul {
  margin: 0;
  padding-left: 1.15em;
}

.mjt-detail-card li,
.mjt-notes li {
  margin-bottom: 7px;
  color: #465058;
  font-size: 13px;
}

.mjt-notes {
  padding-top: 60px;
  padding-bottom: 60px;
}

.mjt-notes h2 {
  margin-bottom: 22px;
  color: var(--mjt-navy);
  font-size: 28px;
}

.mjt-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  background: var(--mjt-navy-deep);
  padding-top: 62px;
  padding-bottom: 62px;
  color: #fff;
}

.mjt-cta h2 {
  margin-bottom: 9px;
  color: inherit;
  font-size: clamp(31px, 4vw, 49px);
}

.mjt-cta p:last-child {
  margin-bottom: 0;
  color: rgba(255,255,255,.72);
  font-size: 13px;
}

.mjt-cta-button {
  display: inline-flex;
  min-width: 310px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--mjt-gold);
  padding: 17px 20px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  touch-action: manipulation;
  transition: background-color .2s ease, color .2s ease;
}

.mjt-cta-button:hover,
.mjt-cta-button:focus {
  background: var(--mjt-gold);
  color: var(--mjt-navy-deep);
}

@media (max-width: 900px) {
  .wp-block-mjt-tour-page.mjt-tour-page {
    margin-top: 24px;
    margin-bottom: 24px;
  }

  .mjt-intro,
  .mjt-main-grid {
    grid-template-columns: 1fr;
  }

  .mjt-photo-mosaic {
    min-height: 380px;
  }

  .mjt-price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .wp-block-mjt-tour-page.mjt-tour-page {
    width: 100%;
    margin-top: 16px;
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.75;
    box-shadow: none;
  }

  .mjt-hero {
    min-height: 480px;
  }

  .mjt-hero-inner {
    width: calc(100% - 40px);
    padding: 64px 0 40px;
  }

  .mjt-hero h1 {
    margin-bottom: 16px;
    font-size: clamp(36px, 11.5vw, 50px);
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .mjt-lead {
    font-size: 18px;
    line-height: 1.55;
  }

  .mjt-intro,
  .mjt-main-grid,
  .mjt-details,
  .mjt-notes,
  .mjt-cta,
  .mjt-pricing {
    padding-left: 20px;
    padding-right: 20px;
  }

  .mjt-intro {
    gap: 34px;
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .mjt-intro-copy h2 {
    margin-bottom: 20px;
    padding: 0;
    font-size: clamp(32px, 10vw, 43px);
    line-height: 1.35;
  }

  .mjt-photo-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(170px, 1.25fr) minmax(130px, 1fr);
    min-height: 310px;
    gap: 8px;
  }

  .mjt-mosaic-main {
    grid-column: 1 / 3;
    grid-row: auto;
  }

  .mjt-main-grid {
    gap: 46px;
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .mjt-section-heading {
    gap: 10px;
    margin-bottom: 32px;
    padding-bottom: 12px;
  }

  .mjt-section-heading h2 {
    width: 100%;
    padding: 10px 13px;
    font-size: 30px;
    line-height: 1.3;
  }

  .mjt-day-head {
    grid-template-columns: 45px minmax(0, 1fr);
    gap: 12px;
  }

  .mjt-timeline,
  .mjt-stay {
    margin-left: 57px;
  }

  .mjt-timeline {
    padding-left: 14px;
  }

  .mjt-timeline-row {
    grid-template-columns: 45px 1fr;
    gap: 9px;
  }

  .mjt-timeline-row p {
    overflow-wrap: anywhere;
  }

  .mjt-price-grid,
  .mjt-details {
    grid-template-columns: 1fr;
  }

  .mjt-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .mjt-points {
    padding: 32px 20px 36px;
  }

  .mjt-pricing {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .mjt-price-grid {
    gap: 12px;
  }

  .mjt-price-card {
    padding: 24px 18px 22px;
  }

  .mjt-price-amount {
    font-size: 31px;
  }

  .mjt-booking-button {
    width: 100%;
    min-width: 0;
    min-height: 56px;
    padding: 16px 18px;
    font-size: 16px;
  }

  .mjt-detail-card {
    padding: 0;
  }

  .mjt-detail-card + .mjt-detail-card {
    margin-top: 38px;
    border-top: 1px solid #c9c7c0;
    border-left: 0;
    padding-top: 38px;
  }

  .mjt-cta {
    align-items: stretch;
    flex-direction: column;
    gap: 26px;
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .mjt-cta-button {
    width: 100%;
    min-width: 0;
    min-height: 56px;
    padding: 16px 18px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .mjt-timeline,
  .mjt-stay {
    margin-left: 0;
  }

  .mjt-timeline {
    border-left: 0;
    padding-left: 0;
  }

  .mjt-timeline-row {
    grid-template-columns: 55px minmax(0, 1fr);
    gap: 10px;
    border-bottom: 1px solid rgba(19, 40, 62, .12);
    padding: 10px 0;
  }

  .mjt-timeline-row:first-child {
    padding-top: 0;
  }

  .mjt-timeline-row:last-child {
    border-bottom: 0;
  }

  .mjt-stay {
    margin-top: 16px;
  }

  .mjt-photo-placeholder {
    min-height: 130px;
    padding: 12px;
  }
}
