/* xgqn-ct5-gallery-mobile-p18.css */
/* XGQN P18 – one shared CT5 gallery behavior for Money, Supporting Listing, News.
 * P18 modifies ONLY frontend presentation. No Admin fields, price or booking logic.
 * At mobile widths, keep both neighboring preview images, instead of hiding
 * them and leaving empty gutters around the central picture. */

/* NEWS desktop: one balanced Gallery/Form pair without a white empty box.
   The central image and the two side previews fill the available gallery
   surface; the form is not duplicated or artificially clipped. */
@media (min-width:851px){
  .trn11-news .tct6-wrap .trn13-top-frame > .tct5-layout{
    align-items:stretch!important;
  }
  .trn11-news .tct6-wrap .trn13-top-frame > .tct5-layout > .tct5-primary{
    display:flex!important;flex-direction:column!important;align-self:stretch!important;
    height:auto!important;min-height:0!important;
  }
  .trn11-news .tct6-wrap .trn13-top-frame .tct5-primary > .tct5-gallery{
    flex:1 1 auto!important;min-height:340px!important;aspect-ratio:auto!important;
    height:auto!important;
  }
  .trn11-news .tct6-wrap .trn13-top-frame .tct5-primary > .tct5-thumbs{
    flex:0 0 auto!important;
  }
  .trn11-news .tct6-wrap .trn13-top-frame > .tct5-layout > .tct5-provider{
    display:flex!important;flex-direction:column!important;align-self:stretch!important;
    height:auto!important;min-height:0!important;
  }
  .trn11-news .tct6-wrap .trn13-top-frame .tct5-provider > .tct78-book-card{
    flex:1 1 auto;display:flex;flex-direction:column;
  }
  .trn11-news .tct6-wrap .trn13-top-frame .tct78-book-card .vinfast-lead-form-body{
    flex:1 1 auto;
  }
}
@media (max-width:850px){
  /* Stacked panels must size naturally rather than preserve an artificial desktop height. */
  .trn11-news .tct6-wrap .trn13-top-frame > .tct5-layout{
    align-items:start!important;
  }
  .trn11-news .tct6-wrap .trn13-top-frame > .tct5-layout > .tct5-primary,
  .trn11-news .tct6-wrap .trn13-top-frame > .tct5-layout > .tct5-provider{
    display:block!important;height:auto!important;min-height:0!important;
  }
}

/* Supporting Listing desktop retains its previously approved one-image layout.
   CT5 now supplies side-preview elements for the mobile layout, so hide those
   new elements above the mobile breakpoint instead of allowing them to expand. */
@media (min-width:641px){
  .trsp73 .tct6-wrap .tct5-gallery.tm84-has-peeks > .tm84-gallery-peek{
    display:none!important;
  }
}

@media (max-width:640px){
  /* All three CT5 kinds share this markup. More specific rules override the
     old per-page @media clauses setting display:block and hiding preview photos. */
  body.transport-native.transport-money-p72 .tct6-wrap .tct78-top-frame .tct5-gallery.tm84-has-peeks,
  .trn11-news .tct6-wrap .trn13-top-frame .tct5-gallery.tm84-has-peeks,
  .trsp73 .tct6-wrap .tct5-gallery.tm84-has-peeks{
    display:flex!important;align-items:stretch!important;justify-content:center!important;
    gap:4px!important;width:100%!important;max-width:100%!important;
    aspect-ratio:1.55/1!important;height:auto!important;min-height:0!important;
    padding:0!important;margin:0!important;border-radius:11px!important;
    background:var(--xgp38-h-E9F3FB,#e9f3fb)!important;overflow:hidden!important;
  }
  body.transport-native.transport-money-p72 .tct6-wrap .tct78-top-frame .tct5-gallery.tm84-has-peeks > .tm84-gallery-peek,
  .trn11-news .tct6-wrap .trn13-top-frame .tct5-gallery.tm84-has-peeks > .tm84-gallery-peek,
  .trsp73 .tct6-wrap .tct5-gallery.tm84-has-peeks > .tm84-gallery-peek{
    box-sizing:border-box!important;position:relative!important;
    display:block!important;order:initial!important;flex:0 0 10.5%!important;
    width:10.5%!important;min-width:0!important;height:100%!important;
    margin:0!important;padding:0!important;border:0!important;
    border-radius:7px!important;opacity:.66!important;
    overflow:hidden!important;background:var(--xgp38-h-E5EFF9,#e5eff9)!important;
  }
  body.transport-native.transport-money-p72 .tct6-wrap .tct78-top-frame .tct5-gallery.tm84-has-peeks > .tm84-gallery-peek-prev,
  .trn11-news .tct6-wrap .trn13-top-frame .tct5-gallery.tm84-has-peeks > .tm84-gallery-peek-prev,
  .trsp73 .tct6-wrap .tct5-gallery.tm84-has-peeks > .tm84-gallery-peek-prev{order:-1!important}
  body.transport-native.transport-money-p72 .tct6-wrap .tct78-top-frame .tct5-gallery.tm84-has-peeks > .tm84-gallery-peek-next,
  .trn11-news .tct6-wrap .trn13-top-frame .tct5-gallery.tm84-has-peeks > .tm84-gallery-peek-next,
  .trsp73 .tct6-wrap .tct5-gallery.tm84-has-peeks > .tm84-gallery-peek-next{order:1!important}
  .tct6-wrap .tct5-gallery.tm84-has-peeks .tm84-gallery-peek img{
    display:block;width:100%!important;height:100%!important;object-fit:cover!important;
  }
  body.transport-native.transport-money-p72 .tct6-wrap .tct78-top-frame .tct5-gallery.tm84-has-peeks > .tct5-photo-link,
  .trn11-news .tct6-wrap .trn13-top-frame .tct5-gallery.tm84-has-peeks > .tct5-photo-link,
  .trsp73 .tct6-wrap .tct5-gallery.tm84-has-peeks > .tct5-photo-link{
    box-sizing:border-box!important;position:relative!important;z-index:2!important;
    display:block!important;order:0!important;flex:1 1 0!important;
    width:auto!important;min-width:0!important;height:100%!important;
    aspect-ratio:auto!important;border-radius:7px!important;overflow:hidden!important;
  }
  .tct6-wrap .tct5-gallery.tm84-has-peeks > .tct5-photo-link img{
    display:block!important;width:100%!important;height:100%!important;
    object-fit:contain!important;object-position:center!important;
  }
  /* Visible, finger-sized arrows centered over the boundary with each preview.
     Existing data-tct5-step handlers continue to operate; no duplicate JS. */
  body.transport-native.transport-money-p72 .tct6-wrap .tct78-top-frame .tct5-gallery.tm84-has-peeks > .tct5-prev,
  body.transport-native.transport-money-p72 .tct6-wrap .tct78-top-frame .tct5-gallery.tm84-has-peeks > .tct5-next,
  .trn11-news .tct6-wrap .trn13-top-frame .tct5-gallery.tm84-has-peeks > .tct5-prev,
  .trn11-news .tct6-wrap .trn13-top-frame .tct5-gallery.tm84-has-peeks > .tct5-next,
  .trsp73 .tct6-wrap .tct5-gallery.tm84-has-peeks > .tct5-prev,
  .trsp73 .tct6-wrap .tct5-gallery.tm84-has-peeks > .tct5-next{
    box-sizing:border-box!important;display:grid!important;place-items:center!important;
    z-index:12!important;position:absolute!important;top:50%!important;
    width:31px!important;height:31px!important;min-width:31px!important;
    padding:0!important;margin:0!important;border:1px solid var(--xgp38-h-D8E7F4,#d8e7f4)!important;
    border-radius:50%!important;background:rgba(255,255,255,.96)!important;
    color:var(--xgp38-h-17669D,#17669d)!important;font-family:Arial,sans-serif!important;font-size:23px!important;
    line-height:1!important;transform:translateY(-50%)!important;
    box-shadow:0 2px 10px rgba(var(--xgp38-r-093152,9,49,82),.15)!important;
  }
  body.transport-native.transport-money-p72 .tct6-wrap .tct78-top-frame .tct5-gallery.tm84-has-peeks > .tct5-prev,
  .trn11-news .tct6-wrap .trn13-top-frame .tct5-gallery.tm84-has-peeks > .tct5-prev,
  .trsp73 .tct6-wrap .tct5-gallery.tm84-has-peeks > .tct5-prev{left:calc(10.5% - 9px)!important;right:auto!important}
  body.transport-native.transport-money-p72 .tct6-wrap .tct78-top-frame .tct5-gallery.tm84-has-peeks > .tct5-next,
  .trn11-news .tct6-wrap .trn13-top-frame .tct5-gallery.tm84-has-peeks > .tct5-next,
  .trsp73 .tct6-wrap .tct5-gallery.tm84-has-peeks > .tct5-next{right:calc(10.5% - 9px)!important;left:auto!important}
  .tct6-wrap .tct5-gallery.tm84-has-peeks > .tct5-count{z-index:13!important;bottom:7px!important;left:calc(10.5% + 7px)!important}
}


/* xgqn-og-gallery-aspect-p02.css */
/* XGQN OG-GALLERY-P02 (2026-11-05): ratio-aware CT5 hero for Money pages.
   Portrait and square OG images must remain whole. The adjacent preview cards
   expand into the unused horizontal space. Landscape photos keep P18/P84 UI.
   The fixed 16:9 outer canvas and the booking column stay unchanged. */
body.transport-native.transport-money-p72 .tmvf-money .tct6-wrap .tct78-top-frame
.tct5-gallery.tm84-has-peeks.xgog-adapted {
  display:flex!important;
  align-items:stretch!important;
  justify-content:center!important;
  gap:4px!important;
  width:100%!important;
  max-width:100%!important;
  aspect-ratio:16/9!important;
  height:auto!important;
  padding:0!important;
  overflow:hidden!important;
  background:var(--xgp38-h-E8F3FB,#e8f3fb)!important;
}
body.transport-native.transport-money-p72 .tmvf-money .tct6-wrap .tct78-top-frame
.tct5-gallery.tm84-has-peeks.xgog-adapted > .tct5-photo-link {
  box-sizing:border-box!important;
  position:relative!important;
  z-index:2!important;
  display:block!important;
  order:0!important;
  flex:0 0 var(--xgog-main-px)!important;
  width:var(--xgog-main-px)!important;
  max-width:var(--xgog-main-px)!important;
  min-width:0!important;
  height:100%!important;
  aspect-ratio:auto!important;
  margin:0!important;
  background:var(--xgp38-h-E9F4FC,#e9f4fc)!important;
  border-radius:8px!important;
  overflow:hidden!important;
}
body.transport-native.transport-money-p72 .tmvf-money .tct6-wrap .tct78-top-frame
.tct5-gallery.tm84-has-peeks.xgog-adapted > .tct5-photo-link > img {
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  object-fit:contain!important;
  object-position:center!important;
}
body.transport-native.transport-money-p72 .tmvf-money .tct6-wrap .tct78-top-frame
.tct5-gallery.tm84-has-peeks.xgog-adapted > .tm84-gallery-peek {
  box-sizing:border-box!important;
  display:block!important;
  position:relative!important;
  flex:1 1 0!important;
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  height:100%!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:8px!important;
  overflow:hidden!important;
  background:var(--xgp38-h-DBEAF5,#dbeaf5)!important;
  opacity:.73!important;
}
body.transport-native.transport-money-p72 .tmvf-money .tct6-wrap .tct78-top-frame
.tct5-gallery.tm84-has-peeks.xgog-adapted > .tm84-gallery-peek-prev{order:-1!important}
body.transport-native.transport-money-p72 .tmvf-money .tct6-wrap .tct78-top-frame
.tct5-gallery.tm84-has-peeks.xgog-adapted > .tm84-gallery-peek-next{order:1!important}
body.transport-native.transport-money-p72 .tmvf-money .tct6-wrap .tct78-top-frame
.tct5-gallery.tm84-has-peeks.xgog-adapted > .tm84-gallery-peek > img {
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center!important;
}
body.transport-native.transport-money-p72 .tmvf-money .tct6-wrap .tct78-top-frame
.tct5-gallery.tm84-has-peeks.xgog-adapted > .tm84-gallery-peek:hover,
body.transport-native.transport-money-p72 .tmvf-money .tct6-wrap .tct78-top-frame
.tct5-gallery.tm84-has-peeks.xgog-adapted > .tm84-gallery-peek:focus-visible{opacity:.95!important}
/* Arrow centers sit at the edge of the focused image (not at an old 10.5% offset). */
body.transport-native.transport-money-p72 .tmvf-money .tct6-wrap .tct78-top-frame
.tct5-gallery.tm84-has-peeks.xgog-adapted > .tct5-prev {
  left:calc((100% - var(--xgog-main-px)) / 2 - 17px)!important;
  right:auto!important;
  z-index:12!important;
}
body.transport-native.transport-money-p72 .tmvf-money .tct6-wrap .tct78-top-frame
.tct5-gallery.tm84-has-peeks.xgog-adapted > .tct5-next {
  right:calc((100% - var(--xgog-main-px)) / 2 - 17px)!important;
  left:auto!important;
  z-index:12!important;
}
body.transport-native.transport-money-p72 .tmvf-money .tct6-wrap .tct78-top-frame
.tct5-gallery.tm84-has-peeks.xgog-adapted > .tct5-count {
  left:calc((100% - var(--xgog-main-px)) / 2 + 9px)!important;
  z-index:12!important;
}
/* Retain P18 preview behavior on phones; only the focus width is adaptive. */
@media (max-width:640px){
 body.transport-native.transport-money-p72 .tmvf-money .tct6-wrap .tct78-top-frame
 .tct5-gallery.tm84-has-peeks.xgog-adapted {aspect-ratio:1.55/1!important;gap:3px!important;}
 body.transport-native.transport-money-p72 .tmvf-money .tct6-wrap .tct78-top-frame
 .tct5-gallery.tm84-has-peeks.xgog-adapted > .tct5-prev {
   left:calc((100% - var(--xgog-main-px)) / 2 - 15px)!important;
 }
 body.transport-native.transport-money-p72 .tmvf-money .tct6-wrap .tct78-top-frame
 .tct5-gallery.tm84-has-peeks.xgog-adapted > .tct5-next {
   right:calc((100% - var(--xgog-main-px)) / 2 - 15px)!important;
 }
}


/* xgqn-supporting-editorial-p19.css */
/* XGQN P19: editorial-first supporting page, same 1280px Money Page design system. */
[data-p19-supporting] { width:100%; min-width:0; }
.p19-editorial-inner { max-width:1280px; width:calc(100% - 40px); margin:18px auto 52px; }
.p19-editorial-paper { background:#fff; border:1px solid var(--xgp38-h-DBE8F4,#dbe8f4); border-radius:18px; padding:clamp(20px,3vw,38px); box-shadow:0 5px 20px rgba(var(--xgp38-r-143A5B,20,58,91),.045); color:var(--xgp38-h-153853,#153853); }
.p19-editorial-kicker { color:var(--xgp38-h-136DAD,#136dad); text-transform:uppercase; letter-spacing:.08em; font-size:.76rem; font-weight:750; }
.p19-editorial-summary { border-bottom:1px solid var(--xgp38-h-DBE8F4,#dbe8f4); margin-bottom:24px; padding-bottom:18px; }
.p19-editorial-summary h2 { font-size:clamp(1.35rem,2.2vw,1.9rem); line-height:1.3; margin:8px 0 12px; color:var(--xgp38-h-103A5C,#103a5c); }
.p19-editorial-summary p { font-size:1.02rem; line-height:1.85; margin:0; }
.p19-editorial-content { overflow-wrap:anywhere; line-height:1.85; font-size:1rem; }
.p19-editorial-content h2 { font-size:clamp(1.25rem,2vw,1.65rem); line-height:1.35; color:var(--xgp38-h-105A91,#105a91); margin:30px 0 12px; padding-top:4px; }
.p19-editorial-content h3 { font-size:1.12rem; line-height:1.4; color:var(--xgp38-h-163E5E,#163e5e); margin:20px 0 8px; }
.p19-editorial-content p,.p19-editorial-content li { margin:0 0 13px; }
.p19-editorial-content ul,.p19-editorial-content ol { padding-left:23px; margin:12px 0 18px; }
.p19-editorial-content a { color:var(--xgp38-h-126CAA,#126caa); text-decoration:underline; text-underline-offset:3px; }
.p19-editorial-content img { max-width:100%; height:auto; border-radius:12px; }
.p19-editorial-content table { display:block; width:100%; overflow-x:auto; }
.p19-editorial-parent { border:1px solid var(--xgp38-h-B8D8F0,#b8d8f0); background:var(--xgp38-h-F0F8FF,#f0f8ff); border-radius:14px; padding:21px; margin-top:31px; display:flex; align-items:center; gap:20px; justify-content:space-between; }
.p19-editorial-parent h2 { margin:6px 0 7px; font-size:1.24rem; color:var(--xgp38-h-0E537E,#0e537e); }
.p19-editorial-parent p { margin:0; line-height:1.7; color:var(--xgp38-h-42637D,#42637d); }
.p19-editorial-parent>a { display:inline-block; flex-shrink:0; background:var(--xgp38-h-116FA8,#116fa8); border-radius:10px; padding:12px 16px; color:#fff; font-weight:700; text-decoration:none; }
.p19-editorial-related { margin-top:26px; }
.p19-editorial-related h2 { font-size:1.2rem; margin:0 0 12px; }
.p19-editorial-links { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.p19-editorial-links a { color:var(--xgp38-h-165E91,#165e91); border:1px solid var(--xgp38-h-DCE9F4,#dce9f4); border-radius:10px; padding:12px; font-weight:600; text-decoration:none; overflow-wrap:anywhere; }
body.transport-money-p72 [data-p19-supporting] .p19-editorial-content .tm89-prose { max-width:100%; }
@media(max-width:680px){.p19-editorial-inner{width:calc(100% - 28px)}.p19-editorial-paper{padding:18px;border-radius:14px}.p19-editorial-parent{display:block}.p19-editorial-parent>a{margin-top:14px}.p19-editorial-links{grid-template-columns:1fr}}

