/* 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:#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:#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:#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;
 }
}
