/* Traveler page — Figma layout (page-local) */

html[lang="zh-Hans"] *,
body.lang-sc * {
  font-family: 'Roboto', 'Noto Sans SC', 'Microsoft YaHei', 'PingFang SC', sans-serif;
}

.page-travel {
  color: #333;
  background: #fff;
}

.page-travel .main-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== Hero / Banner slider
 * Match inMotion homepage KV (revamp_202509.css):
 * asset 1140×330 (@2x 2280×660), img max-width 1920px, width 100%, height auto
 */
.page-travel .travel-hero {
  position: relative;
  width: 100%;
  background: #fff;
}

.page-travel .travel-hero-swiper {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
}

/*
 * Bank main.css (@media max-width:991px) forces:
 *   .swiper-wrapper .swiper-slide { flex-direction: column-reverse !important; }
 * That puts our caption above the image. Override for travel hero only.
 */
@media (max-width: 991px) {
  .page-travel .swiper-wrapper.travel-hero-track > .swiper-slide.travel-hero-slide {
    display: flex !important;
    flex-direction: column !important; /* image (media) then caption */
    align-items: stretch !important;
  }
  /* Stacked caption: first line orange bold; rest black regular */
  .page-travel .travel-hero-caption h1 {
    color: #000;
    font-weight: 400;
    text-shadow: none;
  }
  .page-travel .travel-hero-caption .hero-title-top {
    color: #ff5800;
    font-weight: 400;
  }
  .page-travel .travel-hero-caption .hero-title-sub {
    color: #000;
    font-weight: 400;
  }
}

.page-travel .travel-hero-track {
  /* swiper-wrapper */
  box-sizing: border-box;
}

.page-travel .travel-hero-slide {
  display: block;
  position: relative;
  width: 100%;
  /* inMotion top-banner_1140x330 */
  aspect-ratio: 1140 / 330;
  min-height: 0;
  height: auto;
  background-color: #fff;
  box-sizing: border-box;
}

/* Desktop: media fills slide; caption overlays */
.page-travel .travel-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #fff;
  background-image: var(--hero-d);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100% 100%;
  pointer-events: none;
}

/* Banner art already includes white→photo fade — no extra overlay */
.page-travel .travel-hero-slide::before,
.page-travel .travel-hero-slide::after {
  content: none;
  display: none;
}

.page-travel .travel-hero-caption {
  /* Same left edge as .main-content / icons (offers-style site-container) */
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  transform: none;
}

/* Artwork slide: text baked into image — hide HTML caption (all breakpoints) */
.page-travel .travel-hero-slide--art .travel-hero-caption {
  display: none;
}

.page-travel .travel-hero-caption h1 {
  margin: 0;
  font-size: 32px;
  line-height: 1.25;
  font-weight: 400;
  color: #000;
  letter-spacing: 0;
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.5);
}

.page-travel .travel-hero-caption .hero-title-top {
  color: #ff5800;
  font-size: 50px;
  line-height: 1.2;
  font-weight: 400;
}

.page-travel .travel-hero-caption .hero-title-sub {
  color: #000;
  font-size: 32px;
  line-height: 1.25;
  font-weight: 400;
}

.page-travel .travel-hero-caption .hero-title-tnc {
  display: inline-block;
  margin-top: 4px;
  color: #000;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 400;
}

/* Debit-card banner: force-stretch art to fill frame */
.page-travel .travel-hero-slide--stretch .travel-hero-media {
  background-size: 100% 100%;
  background-position: center center;
}

/* Figma shadow strip sits under caption / above dots (mobile); desktop keeps light gap */
.page-travel .travel-hero-shadow {
  display: none;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  height: 0;
  pointer-events: none;
}

/* Dots sit outside / below the banner image (not overlaid) — Swiper pagination */
.page-travel .travel-hero-pagination {
  position: relative !important;
  bottom: auto !important;
  left: auto !important;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 14px 0 4px;
  transform: none !important;
  background: #fff;
  max-width: 1920px;
  margin-left: auto;
  margin-right: auto;
}

.page-travel .travel-hero-pagination .swiper-pagination-bullet {
  width: 9px;
  height: 9px;
  margin: 0 !important;
  border-radius: 50%;
  background: #d0d0d0;
  opacity: 1;
}

.page-travel .travel-hero-pagination .swiper-pagination-bullet-active {
  background: #ff5800;
  opacity: 1;
}

/* ========== Intro ========== */
.page-travel .travel-intro {
  padding: 48px 0 28px;
  text-align: center;
}

.page-travel .travel-intro h2 {
  margin: 0 0 14px;
  font-size: 30px;
  font-weight: 700;
  color: #ff5800;
  line-height: 1.35;
}

.page-travel .travel-intro p {
  margin: 0 auto;
  max-width: 760px;
  font-size: 16px;
  line-height: 1.7;
  color: #555;
}

.page-travel .travel-intro em {
  color: #ff5800;
  font-style: normal;
  font-weight: 700;
}

.page-travel .travel-intro-br {
  display: none;
}

.page-travel .travel-nowrap {
  white-space: nowrap;
}

/* ========== Journey tabs (Figma: unified bar + caret) ========== */
.page-travel .travel-tabs-section {
  padding: 8px 0 0;
}

.page-travel .travel-tab-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  align-items: stretch;
  background: #fff;
  border: 1px solid #d9d9d9;
  border-bottom: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  overflow: visible;
}

.page-travel .travel-tab {
  position: relative;
  background: #fafafa;
  border: 0;
  border-top: 4px solid transparent;
  border-right: 1px solid #e5e5e5;
  border-radius: 0;
  padding: 28px 28px 26px;
  text-align: left;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  overflow: visible;
}

.page-travel .travel-tab:last-child {
  border-right: 0;
}

.page-travel .travel-tab.is-active {
  background: #fff;
  border-top-color: #ff5800;
}

/* Active tab caret: hangs below the 4px orange line on detail panel */
.page-travel .travel-tab.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  bottom: auto;
  margin-top: 4px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-top: 12px solid #ff5800;
  z-index: 3;
}

.page-travel .travel-tab-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  min-height: 64px;
}

.page-travel .travel-tab-icon {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  margin: 0;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.page-travel .travel-tab-icon img {
  width: 64px;
  height: 64px;
  display: block;
  object-fit: contain;
  object-position: center center;
}

.page-travel .travel-tab h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  color: #333;
}

.page-travel .travel-tab.is-active h3 {
  color: #ff5800;
}

.page-travel .travel-tab ul {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  text-align: left;
  flex: 1;
}

.page-travel .travel-tab li {
  position: relative;
  margin: 0 0 8px;
  padding-left: 14px;
  font-size: 14px;
  line-height: 1.5;
  color: #444;
}

.page-travel .travel-tab li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #333;
}

.page-travel .travel-tab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-width: 120px;
  min-height: 38px;
  margin: 0;
  padding: 8px 18px;
  border-radius: 20px;
  border: 1.5px solid #ff5800;
  background: #fff;
  color: #ff5800;
  font-size: 15px;
  font-weight: 600;
  pointer-events: none;
}

.page-travel .travel-tab.is-active .travel-tab-btn {
  background: #ff5800;
  color: #fff;
}

/* ========== Detail panel (switched by tabs) ========== */
/* Grey bg matches travel-tab-grid width (same main-content content box), not full bleed */
.page-travel .travel-detail {
  padding: 0 0 40px;
  background: transparent;
}

.page-travel .travel-detail-panel {
  display: none;
  background: #f4f4f4;
  border-top: 4px solid #ff5800;
  padding: 40px 36px 40px;
}

.page-travel .travel-detail-panel.is-active {
  display: block;
}

/* Figma: hero icon left column; title + cards + CTAs share right column */
.page-travel .travel-detail-layout {
  display: flex;
  align-items: flex-start;
  gap: 36px;
}

.page-travel .travel-detail-hero-icon {
  width: 156px;
  height: 156px;
  flex: 0 0 156px;
  object-fit: contain;
  margin-top: 0;
}

.page-travel .travel-detail-main {
  flex: 1;
  min-width: 0;
}

.page-travel .travel-detail-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.page-travel .travel-detail-titles {
  min-width: 0;
  flex: 1;
}

.page-travel .travel-detail-titles h3 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 700;
  color: #ff5800;
  line-height: 1.2;
}

.page-travel .travel-detail-lead {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: #333;
}

.page-travel .travel-expand-all {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 2px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #ff5800;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.page-travel .travel-expand-all .expand-chev {
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
  border: 0;
  margin: 0;
  background: center / 12px 12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.2 4.2L6 8l3.8-3.8' stroke='%23FF5800' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  transform: rotate(0deg);
  transition: transform 0.2s ease;
}

.page-travel .travel-expand-all.is-expanded .expand-chev {
  transform: rotate(180deg);
}

.page-travel .travel-acc {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-travel .travel-acc-card,
.page-travel .travel-acc-item {
  --acc-pad-x: 20px;
  --acc-icon-size: 19.2px;
  --acc-icon-gap: 14px;
  /* content column starts where title starts: pad + icon + gap */
  --acc-content-inset: calc(var(--acc-pad-x) + var(--acc-icon-size) + var(--acc-icon-gap));
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
  overflow: hidden;
}

.page-travel .travel-acc-card-head {
  display: flex;
  align-items: center;
  gap: var(--acc-icon-gap);
  padding: 20px var(--acc-pad-x) 8px;
}

.page-travel .travel-acc-card-head h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #222;
  line-height: 1.3;
}

.page-travel .acc-icon {
  flex: 0 0 var(--acc-icon-size);
  width: var(--acc-icon-size);
  height: var(--acc-icon-size);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.page-travel .acc-icon img {
  width: var(--acc-icon-size);
  height: var(--acc-icon-size);
  display: block;
  object-fit: contain;
}

/* Body / nested list align with title (not under icon) */
.page-travel .travel-acc-card-body {
  padding: 0 var(--acc-pad-x) 16px var(--acc-content-inset);
}

/* Intro + subacc in same card: tighten gap before first sub-item */
.page-travel .travel-acc-card-body:has(+ .travel-subacc) {
  padding-bottom: 0;
}
.page-travel .travel-acc-card-body:has(+ .travel-subacc) > :last-child {
  margin-bottom: 0;
}
.page-travel .travel-acc-card-body + .travel-subacc > .travel-subacc-item:first-child > .travel-subacc-toggle {
  padding-top: 8px;
}

.page-travel .travel-acc-card-body ul,
.page-travel .travel-acc-body ul,
.page-travel .note-box ul {
  margin: 0 0 10px;
  padding-left: 1.2em;
  list-style: disc;
  list-style-type: disc;
}

.page-travel .travel-acc-card-body li::marker,
.page-travel .travel-acc-body li::marker,
.page-travel .note-box li::marker {
  color: #888;
  font-size: 0.85em;
}

.page-travel .travel-acc-card-body li,
.page-travel .travel-acc-card-body p,
.page-travel .travel-acc-body li,
.page-travel .travel-acc-body p,
.page-travel .travel-subacc-body li,
.page-travel .travel-subacc-body p {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

.page-travel .travel-acc-card-body em,
.page-travel .travel-subacc em,
.page-travel .travel-acc-body em {
  color: #ff5800;
  font-style: normal;
  font-weight: 700;
}

.page-travel sup {
  font-size: 0.65em;
  line-height: 0;
  vertical-align: baseline;
  position: relative;
  top: -0.48em;
}

.page-travel i {
  font-style: italic;
  font-weight: inherit;
  color: inherit;
}

.page-travel .travel-acc-toggle {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: var(--acc-icon-gap);
  padding: 16px var(--acc-pad-x);
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.page-travel .travel-acc-toggle .acc-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-travel .travel-acc-toggle .acc-title-row,
.page-travel .travel-acc-toggle .acc-summary-row {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  max-width: 100%;
}

.page-travel .travel-acc-toggle .acc-title {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #222;
  line-height: 1.3;
}

.page-travel .travel-acc-toggle .acc-title-row > .acc-chev {
  display: none;
}

.page-travel .travel-acc-item.is-open .acc-title-row > .acc-chev {
  display: inline-block;
}

.page-travel .travel-acc-toggle .acc-summary {
  flex: 0 1 auto;
  min-width: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #666;
}

.page-travel .travel-acc-item.is-open .acc-summary-row {
  display: none;
}

.page-travel .acc-chev {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  margin-top: 2px;
  border: 0;
  background: center / 14px 14px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.2 4.2L6 8l3.8-3.8' stroke='%23FF5800' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  transform: rotate(0deg);
  transition: transform 0.2s ease;
  align-self: flex-start;
}

.page-travel .travel-acc-item.is-open > .travel-acc-toggle .acc-chev,
.page-travel .travel-subacc-item.is-open > .travel-subacc-toggle .acc-chev {
  transform: rotate(180deg);
  margin-top: 2px;
}

.page-travel .travel-acc-body {
  display: none;
  padding: 0 var(--acc-pad-x) 16px var(--acc-content-inset);
}

.page-travel .travel-acc-item.is-open .travel-acc-body {
  display: block;
}

/* Nested offers: same left edge as card title */
.page-travel .travel-subacc {
  padding: 0 var(--acc-pad-x) 12px var(--acc-content-inset);
}

.page-travel .travel-subacc-item {
  border-top: 1px solid #eee;
}

.page-travel .travel-subacc-item:first-child {
  border-top: 0;
}

.page-travel .travel-subacc-toggle {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.page-travel .sub-dot {
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  margin-top: 7px;
  border-radius: 50%;
  background: #ff5800;
}

.page-travel .sub-copy {
  flex: 1;
  min-width: 0;
  /* inline title + chevron so arrow stays after last chars when title wraps */
  display: block;
}

.page-travel .sub-title {
  display: inline;
  font-size: 14px;
  font-weight: 700;
  color: #222;
  margin: 0;
  line-height: 1.35;
}

.page-travel .sub-copy > .acc-chev {
  display: inline-block;
  vertical-align: -0.15em;
  margin: 0 0 0 8px;
  flex: none;
}

.page-travel .sub-teaser {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.55;
  color: #555;
}

.page-travel .sub-teaser-list {
  display: block;
  margin: 4px 0 0;
  padding-left: 1.15em;
  list-style: disc;
}

.page-travel .travel-acc-toggle .acc-summary .sub-teaser-list {
  margin: 0;
}

.page-travel .sub-teaser-list li {
  margin: 0 0 4px;
  font-size: 13px;
  line-height: 1.55;
  color: #555;
}

.page-travel .travel-legal {
  padding: 8px 0 28px;
}

.page-travel .travel-legal p,
.page-travel .travel-legal li {
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.55;
  color: #666;
}

.page-travel .travel-legal a {
  color: #ff5800;
  text-decoration: underline;
}

.page-travel .travel-legal ol,
.page-travel .travel-legal ul {
  margin: 0 0 6px;
  padding-left: 1.3em;
}

.page-travel .travel-legal ul {
  list-style: disc;
}

.page-travel .travel-legal .travel-legal-notes {
  margin-top: 1.55em; /* one extra blank line after base legal lines */
}

.page-travel .travel-legal .travel-legal-heading {
  margin-top: 12px;
  font-weight: 700;
}

.page-travel .travel-subacc-body {
  display: none;
  /* note box aligns with sub-title text (after bullet) */
  padding: 0 0 12px 16px;
}

.page-travel .travel-subacc-item.is-open .travel-subacc-body {
  display: block;
}

.page-travel .note-box {
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fff5ef;
  font-size: 13px;
  line-height: 1.6;
  color: #555;
}

.page-travel .note-box .travel-offer-link {
  display: block;
  margin-top: 8px;
}

.page-travel .note-box ul {
  margin: 0 0 8px;
}

.page-travel .note-box li,
.page-travel .note-box p {
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.6;
  color: #555;
}

.page-travel .travel-offer-link {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-top: 8px;
  color: #ff5800 !important;
  font-weight: 700;
  text-decoration: none !important;
  font-size: 14px;
}

.page-travel .travel-detail-cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 28px 0 4px;
}

.page-travel .travel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  min-width: 180px;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none !important;
  border: 1.5px solid #ff5800;
  cursor: pointer;
}

.page-travel .travel-btn-primary {
  background: #ff5800;
  color: #fff !important;
}

.page-travel .travel-btn-primary:hover,
.page-travel .travel-btn-primary:focus,
.page-travel .travel-btn-primary:active,
.page-travel .travel-btn-primary:visited {
  background: #e64e00;
  border-color: #e64e00;
  color: #fff !important;
}

/* Keep CTA white — global a:focus { color: inherit !important } turns text black after click */
.nav .downloadnow,
.nav .downloadnow:link,
.nav .downloadnow:visited,
.nav .downloadnow:hover,
.nav .downloadnow:focus,
.nav .downloadnow:active,
a.downloadnow,
a.downloadnow:link,
a.downloadnow:visited,
a.downloadnow:hover,
a.downloadnow:focus,
a.downloadnow:active {
  color: #fff !important;
}

.page-travel .travel-btn-secondary {
  background: #fff;
  color: #ff5800 !important;
}

.page-travel .travel-btn-secondary:hover {
  background: #fff4ec;
}

/* ========== App / 3-step section ========== */
.page-travel .travel-app {
  background: #f5f5f5;
  padding: 48px 0;
}

.page-travel .travel-app-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 36px;
  align-items: center;
}

.page-travel .travel-app-phones img {
  width: 100%;
  max-width: 420px;
  display: block;
  margin: 0 auto;
}

.page-travel .travel-app-copy h2 {
  margin: 0 0 12px;
  font-size: 26px;
  font-weight: 700;
  color: #222;
  line-height: 1.35;
}

.page-travel .travel-app-copy .app-sub {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.6;
  color: #555;
}

.page-travel .travel-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.page-travel .travel-step {
  text-align: center;
}

.page-travel .travel-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: #ff5800;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.page-travel .travel-step img {
  width: 64px;
  height: 64px;
  display: block;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: #111;
  object-fit: cover;
}

.page-travel .travel-step p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #444;
}

.page-travel .travel-app-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Flush download section into footer — no white gap line */
.page-travel .download-section.page-section {
  margin-bottom: 0;
  padding-bottom: 3vh;
}
.page-travel {
  padding-bottom: 0;
  margin-bottom: 0;
}
.site-container.nav-padding {
  padding-bottom: 0;
  margin-bottom: 0;
}
.site-container.nav-padding > .page-travel:last-child .download-section {
  margin-bottom: 0;
}

/* Match live FX download popup width + layout */
#modal_dl.modal,
#myModal.modal {
  position: fixed;
  z-index: 2000;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}
#modal_dl .modal-dialog,
#myModal .modal-dialog {
  padding: 0;
  position: relative;
  width: auto !important;
  max-width: none !important;
  margin: 0 auto !important;
}

/* Third-party leave-site disclaimer */
#travelExtDisclaimer.modal {
  position: fixed;
  z-index: 2100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 24px;
  display: none;
  align-items: center;
  justify-content: center;
}
#travelExtDisclaimer.modal.show {
  display: flex !important;
}
#travelExtDisclaimer .modal-dialog,
#travelExtDisclaimer .travel-ext-disclaimer-dialog {
  padding: 0;
  position: relative;
  width: 70% !important;
  max-width: 720px !important;
  margin: 0 auto !important;
  flex: 0 1 auto;
}
#travelExtDisclaimer .travel-ext-disclaimer-content {
  background: #fff;
  border: 0;
  border-radius: 20px;
  box-shadow: none;
  padding: 24px 28px 28px;
  position: relative;
  width: 100% !important;
}
#travelExtDisclaimer .travel-ext-disclaimer-close {
  position: absolute;
  right: 20px;
  top: 20px;
  z-index: 2;
  font-size: 28px;
  line-height: 1;
  color: #777;
  text-decoration: none !important;
  opacity: 1;
}
#travelExtDisclaimer .travel-ext-disclaimer-header {
  min-height: 72px;
  display: flex;
  align-items: center;
  padding: 0 24px 0 0;
}
#travelExtDisclaimer .travel-ext-disclaimer-logo img {
  width: 191px;
  max-width: 100%;
  height: auto;
  display: block;
}
#travelExtDisclaimer .travel-ext-disclaimer-body {
  padding: 0;
  text-align: justify;
  color: #333;
  font-size: 14px;
  line-height: 1.6;
}
#travelExtDisclaimer .travel-ext-disclaimer-body p {
  margin: 0 0 12px;
}
#travelExtDisclaimer .travel-ext-disclaimer-btns {
  margin: 30px auto 0;
  width: 100%;
  text-align: center;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
#travelExtDisclaimer .travel-ext-disclaimer-btns button {
  border: 0;
  background: #ff5700;
  color: #fff;
  font-size: 18px;
  padding: 8px 18px;
  border-radius: 8px;
  margin: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1.2;
}
#travelExtDisclaimer .travel-ext-disclaimer-btns .travel-ext-btn-icon {
  display: block;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
}
#travelExtDisclaimer .travel-ext-disclaimer-btns button:hover,
#travelExtDisclaimer .travel-ext-disclaimer-btns button:focus {
  background: #ff5700;
  color: #fff;
  outline: none;
}
@media (min-width: 768px) {
  #travelExtDisclaimer .travel-ext-disclaimer-logo img {
    width: 251px;
  }
}
@media (max-width: 767px) {
  #travelExtDisclaimer .travel-ext-disclaimer-dialog {
    width: 92% !important;
  }
  #travelExtDisclaimer .travel-ext-disclaimer-content {
    padding: 20px 18px 22px;
  }
}
#modal_dl .modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  border-radius: 6px;
  box-shadow: none;
  box-sizing: border-box;
  position: relative;
  width: 60% !important;
  max-width: none !important;
}
@media screen and (max-width: 1024px) {
  #modal_dl .modal-content {
    width: 95% !important;
  }
}

#modal_dl .modal-dialog.new-download-popup {
  font-size: 14px;
}
#modal_dl .modal-dialog.new-download-popup .close {
  width: 29px;
  height: 29px;
  display: block;
  position: absolute;
  right: 20px;
  top: 20px;
  z-index: 2;
  text-decoration: none !important;
  cursor: pointer;
  opacity: 1;
}
#modal_dl .modal-dialog.new-download-popup .close .close-icon-svg {
  display: block;
  width: 100%;
  height: 100%;
}
#modal_dl .modal-dialog.new-download-popup a {
  color: #333;
  text-decoration: underline;
}
#modal_dl .modal-dialog.new-download-popup .modal-content {
  border-radius: 20px;
  padding: 30px 50px;
  position: relative;
  background: rgba(255, 255, 255, 0.95) !important;
  border: 0;
}
#modal_dl .modal-dialog.new-download-popup .qrcode-row {
  display: flex;
  align-items: center;
  margin: 50px 0 30px;
}
#modal_dl .modal-dialog.new-download-popup .qrcode-row .qrcode-inner {
  display: flex;
}
#modal_dl .modal-dialog.new-download-popup .qrcode-row .qrcode-inner img {
  width: 108px;
}
#modal_dl .modal-dialog.new-download-popup .qrcode-row .qrcode-col {
  margin: 0 10px;
}
#modal_dl .modal-dialog.new-download-popup .qrcode-row .qrcode-col.download-remark {
  flex: 1;
}
#modal_dl .modal-dialog.new-download-popup .social-media-row {
  display: flex;
}
#modal_dl .modal-dialog.new-download-popup .social-media-row .img-col {
  margin: 0 5px;
}
#modal_dl .modal-dialog.new-download-popup .social-media-row .img-col img {
  height: 36px;
  width: auto;
  max-width: none;
}
#modal_dl .modal-dialog .download-popup-remark {
  margin: 30px 0;
  font-size: 12px;
  line-height: 1.5;
  color: #666;
}
@media only screen and (max-width: 767px) {
  #modal_dl .modal-dialog.new-download-popup .modal-content {
    padding: 20px 30px;
  }
  #modal_dl .modal-dialog.new-download-popup .close {
    width: 20px;
    height: 20px;
    right: 10px;
    top: 10px;
  }
  #modal_dl .modal-dialog.new-download-popup .qrcode-row {
    flex-direction: column-reverse;
    margin: 40px 0 20px;
  }
  #modal_dl .modal-dialog.new-download-popup .qrcode-row .download-remark {
    margin-bottom: 20px;
    text-align: center;
  }
  #modal_dl .modal-dialog.new-download-popup .social-media-row {
    justify-content: center;
  }
  #modal_dl .modal-dialog.new-download-popup .social-media-row .img-col img {
    height: 27px;
  }
  #modal_dl .modal-dialog.new-download-popup .download-popup-remark {
    margin: 20px 0;
  }
}

@media (max-width: 991px) {
  .page-travel .main-content {
    padding: 0 16px;
  }
  .page-travel .travel-hero-caption {
    padding: 0 16px;
  }
  .page-travel .travel-hero-caption h1 {
    font-size: 18px;
    line-height: 1.35;
  }
  .page-travel .travel-hero-caption .hero-title-top {
    font-size: 32px;
    line-height: 1.25;
  }
  .page-travel .travel-hero-caption .hero-title-sub {
    font-size: 18px;
    line-height: 1.35;
  }
  /* Keep 3-column journey tabs (Figma mobile); only compact */
  .page-travel .travel-tab-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-travel .travel-tab {
    padding: 20px 14px 18px;
  }
  .page-travel .travel-tab-head {
    min-height: 0;
    margin-bottom: 10px;
    gap: 10px;
  }
  .page-travel .travel-tab-icon,
  .page-travel .travel-tab-icon img {
    width: 52px;
    height: 52px;
  }
  .page-travel .travel-tab-icon {
    flex-basis: 52px;
  }
  .page-travel .travel-tab h3 {
    font-size: 17px;
  }
  .page-travel .travel-tab li {
    font-size: 13px;
  }
  .page-travel .travel-tab-btn {
    min-width: 0;
    min-height: 34px;
    padding: 6px 14px;
    font-size: 13px;
  }
  .page-travel .travel-app-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .page-travel .travel-app-cta {
    justify-content: center;
  }
  .page-travel .travel-detail-panel {
    padding: 32px 22px 32px;
  }
  .page-travel .travel-detail-layout {
    gap: 24px;
  }
  .page-travel .travel-detail-hero-icon {
    width: 140px;
    height: 140px;
    flex-basis: 140px;
  }
  .page-travel .travel-acc-card,
  .page-travel .travel-acc-item {
    --acc-pad-x: 16px;
    --acc-icon-size: 16.8px;
    --acc-icon-gap: 12px;
  }
}

/* Figma: Mobile 375 – 出遊準備 (Tab 1 active) */
@media (max-width: 767px) {
  .page-travel .main-content {
    padding: 0 16px;
  }

  /*
   * Figma Travel Mobile (480) top banner — nodes 172:2157 / 172:2145 / 172:2166 / 202:3475
   * [image 480×284] → [23px] → [caption 30 Bold #3f3f3f, inset 29] → [shadow asset] → [dots pt 24]
   * Image = same desktop art (hero-desktop.jpg), not hero-m / slide-2 crop
   */
  .page-travel .swiper-wrapper.travel-hero-track > .swiper-slide.travel-hero-slide {
    aspect-ratio: auto !important;
    height: auto !important;
    min-height: 0 !important;
    background-color: #fff !important;
    background-image: none !important;
    display: flex !important;
    flex-direction: column !important; /* beat main.css column-reverse */
    align-items: stretch !important;
  }
  /* Image first in DOM → appears above caption */
  .page-travel .travel-hero-media {
    display: block !important;
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    z-index: 0;
    order: 0 !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    height: auto !important;
    /* inMotion mobile KV asset size 480×282 */
    aspect-ratio: 480 / 282;
    background-image: var(--hero-m, var(--hero-d)) !important;
    background-position: right center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #929292;
    pointer-events: none;
  }
  .page-travel .travel-hero-slide--art .travel-hero-media {
    /* slider2 mobile 960×564 */
    aspect-ratio: 960 / 564;
    background-position: center center;
    background-size: 100% 100%;
  }
  .page-travel .travel-hero-slide--stretch .travel-hero-media {
    aspect-ratio: 960 / 564;
    background-size: 100% 100% !important;
    background-position: center center !important;
  }
  .page-travel .travel-hero-slide::before,
  .page-travel .travel-hero-slide::after {
    content: none !important;
    display: none !important;
  }
  .page-travel .travel-hero-caption {
    display: block !important;
    position: static !important;
    left: auto !important;
    top: auto !important;
    bottom: auto !important;
    right: auto !important;
    transform: none !important;
    max-width: none !important;
    width: 100% !important;
    order: 1 !important;
    flex: 0 0 auto !important;
    /* Figma: 23px under image, 29px inset; room to shadow (y 396→467) */
    padding: 23px 29px 48px !important;
    box-sizing: border-box;
  }
  .page-travel .travel-hero-caption h1 {
    margin: 0;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 400;
    color: #000;
    text-align: left;
    text-shadow: none;
    letter-spacing: 0;
  }
  .page-travel .travel-hero-caption .hero-title-top {
    color: #ff5800;
    font-size: 32px;
    line-height: 1.25;
    font-weight: 400;
  }
  .page-travel .travel-hero-caption .hero-title-sub {
    color: #000;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 400;
  }
  /* Figma image 55 — soft shadow strip above dots
   * PNG has a 1px vertical edge on L/R; bleed + clip so it doesn't show */
  .page-travel .travel-hero-shadow {
    display: block;
    width: 100%;
    height: 41px;
    margin-top: -41px;
    overflow: hidden;
    background: url("../images/hero-shadow.png") -4px top / calc(100% + 8px) 41px no-repeat;
    position: relative;
    z-index: 2;
    pointer-events: none;
  }
  .page-travel .travel-hero-pagination {
    padding: 24px 4px 16px;
    gap: 8px;
    box-shadow: none;
  }
  .page-travel .travel-hero-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #999;
    opacity: 0.5;
  }
  .page-travel .travel-hero-pagination .swiper-pagination-bullet-active {
    width: 8.8px;
    height: 8.8px;
    background: #ff5800;
    opacity: 1;
  }

  /* Lead-in above tabs */
  .page-travel .travel-intro {
    padding: 40px 0 32px;
  }
  .page-travel .travel-intro-br {
    display: inline;
  }
  .page-travel .travel-intro h2 {
    font-size: 26px;
    font-weight: 900;
    line-height: 1.45;
    margin-bottom: 12px;
    word-break: keep-all;
    overflow-wrap: normal;
  }
  .page-travel .travel-intro p {
    font-size: 17px;
    line-height: 1.85;
    color: #666;
    max-width: none;
  }

  /* Full-bleed sticky-style journey tabs */
  .page-travel .travel-tabs-section {
    padding: 0;
  }
  .page-travel .travel-tabs-section .main-content {
    padding: 0;
    max-width: none;
  }
  .page-travel .travel-tab-grid {
    grid-template-columns: repeat(3, 1fr);
    border: 0;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    border-radius: 0;
    box-shadow: none;
    background: #fff;
  }
  .page-travel .travel-tab {
    padding: 0 0 12px;
    text-align: center;
    align-items: center;
    background: #fff;
    border: 0;
    border-top: 3px solid transparent;
    border-right: 0;
    border-bottom: 0;
  }
  .page-travel .travel-tab:last-child {
    border-right: 0;
    border-bottom: 0;
  }
  .page-travel .travel-tab.is-active {
    background: #fff;
    border-top-color: #ff5800;
  }
  .page-travel .travel-tab-head {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    margin: 6px 0 0;
    min-height: 0;
  }
  .page-travel .travel-tab-icon,
  .page-travel .travel-tab-icon img {
    width: 52px;
    height: 52px;
  }
  .page-travel .travel-tab-icon {
    flex: 0 0 52px;
    justify-content: center;
  }
  .page-travel .travel-tab:not(.is-active) .travel-tab-icon {
    opacity: 0.6;
  }
  .page-travel .travel-tab h3 {
    font-size: 14px;
    line-height: 1.2;
    font-weight: 900;
    color: #333;
  }
  .page-travel .travel-tab.is-active h3 {
    color: #ff5800;
  }
  .page-travel .travel-tab ul,
  .page-travel .travel-tab-btn {
    display: none !important;
  }
  .page-travel .travel-tab.is-active::after {
    /* Sit just under detail panel's 3px orange line (same as desktop margin-top logic) */
    top: 100%;
    bottom: auto;
    margin-top: 3px;
    border-left-width: 10px;
    border-right-width: 10px;
    border-top-width: 10px;
  }

  /* Detail panel full-bleed grey */
  .page-travel .travel-detail {
    padding: 0 0 28px;
  }
  .page-travel .travel-detail .main-content {
    padding: 0;
    max-width: none;
  }
  .page-travel .travel-detail-panel {
    padding: 32px 16px 40px;
    background: #f5f5f5;
    border-top: 3px solid #ff5800;
  }
  .page-travel .travel-detail-layout {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }
  .page-travel .travel-detail-hero-icon {
    width: 188px;
    height: 149px;
    flex: 0 0 auto;
    align-self: center;
    margin: 8px auto 0;
    object-fit: contain;
  }
  .page-travel .travel-detail-main {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .page-travel .travel-detail-top {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-bottom: 0;
  }
  .page-travel .travel-detail-titles h3 {
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 8px;
  }
  .page-travel .travel-detail-lead {
    font-size: 18px;
    line-height: 1.8;
  }
  .page-travel .travel-expand-all {
    align-self: flex-end;
    font-size: 13.5px;
    margin: 0;
  }

  .page-travel .travel-acc {
    gap: 14px;
  }
  .page-travel .travel-acc-card,
  .page-travel .travel-acc-item {
    --acc-pad-x: 16px;
    --acc-icon-size: 22px;
    --acc-icon-gap: 12px;
    border-radius: 14px;
    box-shadow: none;
  }
  .page-travel .travel-acc-card-head {
    padding: 16px var(--acc-pad-x) 0;
  }
  .page-travel .travel-acc-card-head h4 {
    font-size: 17px;
    font-weight: 900;
  }
  .page-travel .travel-acc-toggle .acc-title,
  .page-travel .sub-title {
    font-size: 16px;
  }
  .page-travel .sub-teaser,
  .page-travel .sub-teaser-list li,
  .page-travel .travel-acc-card-body li,
  .page-travel .travel-acc-card-body p,
  .page-travel .travel-acc-body li,
  .page-travel .travel-acc-body p {
    font-size: 15px;
    line-height: 1.75;
  }
  .page-travel .note-box {
    margin: 8px 0 0;
    padding: 14px 16px;
    font-size: 14.5px;
    line-height: 1.75;
    border-radius: 10px;
    background: #fff5ef;
  }
  .page-travel .travel-offer-link {
    font-size: 14.5px;
  }

  .page-travel .travel-detail-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 8px 0 0;
    border-top: 1px solid #ddd;
    margin-top: 8px;
    padding-top: 24px;
  }
  .page-travel .travel-detail-cta .travel-btn {
    min-width: 0;
    width: 100%;
    flex: none;
    font-size: 17px;
    font-weight: 700;
    min-height: 52px;
    border-width: 2px;
  }

  .page-travel .travel-steps {
    grid-template-columns: 1fr;
  }
  .page-travel .travel-app {
    padding: 36px 0;
  }
  .page-travel .travel-app-copy h2 {
    font-size: 22px;
  }
  .page-travel .travel-legal {
    padding: 4px 0 20px;
  }
  .page-travel .travel-legal p {
    font-size: 12px;
  }
}

/* Footer scoped (from collection; live shared CSS untouched) */
footer.footer-container {
  background: #F1F1F1;
  padding-bottom: 30px;
  font-size: 14px;
}
footer.footer-container .footer_grid {
  width: 100%;
  max-width: 1100px;
  padding: 0 10px;
  margin: 0 auto;
  font-size: 14px;
}
footer.footer-container .linkage h4 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.1;
  margin-top: 0;
  margin-bottom: 10px;
}
footer.footer-container .linkage a,
footer.footer-container .linkage .mail_props,
footer.footer-container .linkage .tel_props,
footer.footer-container .linkage .inmo_props,
footer.footer-container .linkage .network_props,
footer.footer-container .linkage .branch {
  font-size: 14px;
  line-height: 20px;
  color: #000;
}
footer.footer-container .linkage .network_props {
  padding-left: 37px;
  position: relative;
}
footer.footer-container .linkage .network_props:before {
  content: '';
  position: absolute;
  left: 0;
  top: -6px;
  width: 29px;
  height: 29px;
  background-size: 100%;
  background-image: url("/personal/e-banking/inmotion/assets/images/202509/footer/network.png");
}
footer.footer-container .contact-us-remark {
  font-size: 12px;
  line-height: 1.43;
  margin-top: 20px;
}
footer.footer-container .linkage-app_dis {
  display: flex;
}
footer.footer-container .linkage-app_dis .linkage {
  flex: 1;
}
footer.footer-container .linkage-app_dis .app_dis {
  width: 340px;
}
footer.footer-container .app_dis a {
  color: #333;
  text-decoration: underline;
}
footer.footer-container .app_dis .app-top {
  display: flex;
  width: 100%;
  align-items: center;
  margin-bottom: 10px;
}
footer.footer-container .app_dis .app-top .app-spacing {
  margin-left: 5px;
}
footer.footer-container .app_dis .app-top .download-desc {
  font-size: 12px;
  flex: 1;
}
footer.footer-container .app_dis .redirect-qrcode {
  max-width: 96px;
  background: #fff;
}
footer.footer-container .app_dis .redirect-qrcode canvas {
  width: 96px;
  height: 96px;
}
footer.footer-container .app_dis .redirect-qrcode img {
  transform: scale(0.9);
  max-width: 96px;
}
footer.footer-container .footer-app-links {
  display: flex;
  justify-content: center;
}
footer.footer-container .footer-app-links a {
  margin: 0 5px;
}
footer.footer-container .footer-app-links a img {
  height: 32px;
}
footer.footer-container small {
  font-size: 11.2px;
  line-height: 16px;
}
footer.footer-container .rights {
  border: 0;
  display: flex;
  align-items: end;
  font-size: 14px;
  font-weight: 500;
}
footer.footer-container .rights .caring_company {
  margin-bottom: 20px;
}
footer.footer-container .footer_grid .soci .caring_company {
  display: none;
}
@media screen and (max-width: 992px) {
  footer.footer-container .footer_grid .soci .caring_company {
    display: block;
    margin: 0 auto 20px;
  }
  footer.footer-container .footer_grid.rights .linkage {
    text-align: left;
  }
  footer.footer-container .footer_grid.rights .linkage .caring_company {
    display: none;
  }
  footer.footer-container .linkage {
    display: flex;
    flex-wrap: wrap;
  }
  footer.footer-container .divie[aria-hidden="true"] {
    display: none !important;
    width: 0 !important;
    flex: 0 0 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  footer.footer-container .divie {
    width: 100%;
    flex: 1 1 100%;
    margin-right: 0;
  }
  footer.footer-container .divie:nth-child(2) {
    width: 100%;
    flex: 1 1 100%;
    text-align: left;
  }
  footer.footer-container .divie:nth-child(2) a {
    display: table;
    min-width: 0;
    padding-right: 0;
  }
  footer.footer-container .linkage-app_dis {
    flex-direction: column;
  }
}
@media only screen and (max-width: 767px) {
  footer.footer-container .footer_grid {
    padding: 0 5px;
  }
  footer.footer-container .app_dis .app-top .download-desc {
    margin-left: 5px;
    text-align: left;
  }
}
@media screen and (max-width: 600px) {
  footer.footer-container .app_dis table td {
    width: 100%;
  }
  footer.footer-container .app_dis table a {
    margin: 0 5px;
  }
  footer.footer-container .app_dis table td img {
    max-width: 96px;
  }
}

/* Temporarily hide Nov offers (Agoda / Stay3 / car) */
.page-travel .travel-nov-hide {
  display: none !important;
}
