/* P84: money-detail gallery side previews, 4 journey facts and supplied contact icons.
   Scoped to Money Pages only; all route/service data remains sourced from controllers. */

/* Gallery: the two softly faded neighbouring photos fill the side gutters without cropping the main image. */
body.transport-native.transport-money-p72 .tct6-wrap .tct78-top-frame .tct5-gallery.tm84-has-peeks{
  display:flex!important;align-items:stretch!important;justify-content:center;
  width:100%;height:auto!important;aspect-ratio:16/9!important;
  gap:5px;background:#f0f6fb!important;overflow:hidden!important;
}
body.transport-native.transport-money-p72 .tct6-wrap .tct78-top-frame .tm84-has-peeks .tct5-photo-link{
  position:relative;z-index:2;order:0;display:block!important;flex:1 1 0;
  width:auto!important;min-width:0;height:100%!important;aspect-ratio:auto!important;
  border-radius:9px!important;background:#f4f9fd!important;
}
body.transport-native.transport-money-p72 .tct6-wrap .tct78-top-frame .tm84-has-peeks .tct5-photo-link img{
  width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;
}
body.transport-native.transport-money-p72 .tct6-wrap .tct78-top-frame .tm84-gallery-peek{
  position:relative;z-index:1;display:block;flex:0 0 11.5%;width:11.5%;height:100%;min-width:0;
  padding:0;margin:0;border:0;border-radius:9px;background:#eaf2fa;
  overflow:hidden;cursor:pointer;opacity:.63;transition:opacity .18s ease,filter .18s ease;
}
body.transport-native.transport-money-p72 .tct6-wrap .tct78-top-frame .tm84-gallery-peek:after{
  content:"";position:absolute;inset:0;background:rgba(255,255,255,.25);pointer-events:none;
}
body.transport-native.transport-money-p72 .tct6-wrap .tct78-top-frame .tm84-gallery-peek img{
  display:block;width:100%;height:100%;object-fit:cover;object-position:center;
  filter:saturate(.72) contrast(.95);transition:filter .18s ease;
}
body.transport-native.transport-money-p72 .tct6-wrap .tct78-top-frame .tm84-gallery-peek-prev{order:-1;}
body.transport-native.transport-money-p72 .tct6-wrap .tct78-top-frame .tm84-gallery-peek-next{order:1;}
body.transport-native.transport-money-p72 .tct6-wrap .tct78-top-frame .tm84-gallery-peek:hover,
body.transport-native.transport-money-p72 .tct6-wrap .tct78-top-frame .tm84-gallery-peek:focus-visible{opacity:.95;}
body.transport-native.transport-money-p72 .tct6-wrap .tct78-top-frame .tm84-gallery-peek:focus-visible{outline:3px solid #0876cb;outline-offset:-3px;}
body.transport-native.transport-money-p72 .tct6-wrap .tct78-top-frame .tm84-has-peeks .tct5-prev,
body.transport-native.transport-money-p72 .tct6-wrap .tct78-top-frame .tm84-has-peeks .tct5-next{
  z-index:4;width:37px;height:37px;font-size:26px;
}
body.transport-native.transport-money-p72 .tct6-wrap .tct78-top-frame .tm84-has-peeks .tct5-prev{left:calc(11.5% + 9px);}
body.transport-native.transport-money-p72 .tct6-wrap .tct78-top-frame .tm84-has-peeks .tct5-next{right:calc(11.5% + 9px);}
body.transport-native.transport-money-p72 .tct6-wrap .tct78-top-frame .tm84-has-peeks .tct5-count{z-index:4;left:calc(11.5% + 13px);}

/* The heading repeats the exact Money Page title; fare moves out of the facts grid. */
body.transport-native.transport-money-p72 .tct6-wrap .tct78-top-frame .tm83-facts-heading{
  gap:10px;min-height:74px;padding:10px 14px!important;
}
body.transport-native.transport-money-p72 .tct6-wrap .tct78-top-frame .tm84-facts-title-group{
  display:flex;flex:1 1 auto;flex-direction:column;gap:3px;min-width:0;
}
body.transport-native.transport-money-p72 .tct6-wrap .tct78-top-frame .tm84-facts-kicker{
  color:#547a9d;font-size:10.5px;font-weight:850;letter-spacing:.075em;line-height:1.25;
}
body.transport-native.transport-money-p72 .tct6-wrap .tct78-top-frame .tm83-facts-heading .tm84-facts-title-group h2{
  flex:initial;margin:0!important;color:#123c65!important;font-size:17px!important;
  line-height:1.25!important;letter-spacing:-.25px!important;font-weight:850!important;
}
body.transport-native.transport-money-p72 .tct6-wrap .tct78-top-frame .tm84-fare-badge{
  box-sizing:border-box;display:flex;flex:0 0 auto;flex-direction:column;align-items:flex-end;
  justify-content:center;gap:2px;max-width:45%;padding:5px 11px;
  border:1px solid #f3d3c9;border-radius:10px;background:#fff8f5;text-align:right;
}
body.transport-native.transport-money-p72 .tct6-wrap .tct78-top-frame .tm84-fare-label{
  color:#935644;font-size:10.5px;font-weight:750;line-height:1.2;
}
body.transport-native.transport-money-p72 .tct6-wrap .tct78-top-frame .tm84-fare-value{
  color:#d42f1c!important;font-size:19px;font-weight:900;line-height:1.2;
  letter-spacing:-.35px;overflow-wrap:anywhere;
}
body.transport-native.transport-money-p72 .tct6-wrap .tct78-top-frame .tm84-fare-badge small{
  color:#8c695e;font-size:10px;font-weight:650;line-height:1.2;
}
body.transport-native.transport-money-p72 .tct6-wrap .tct78-top-frame .tm83-facts-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;padding:11px 4px!important;
}
body.transport-native.transport-money-p72 .tct6-wrap .tct78-top-frame .tm83-facts-grid>.tm80-hero-fact{
  grid-column:auto!important;min-height:73px;border-top:0!important;
}
body.transport-native.transport-money-p72 .tct6-wrap .tct78-top-frame .tm83-facts-grid>.tm80-hero-fact:last-child{border-right:0!important;}

/* Use the existing transparent PNG icons from /public/upload/icon/contact. A white
   medallion is essential: blue Facebook/Zalo and green phone icons must not blend into buttons. */
body.transport-native.transport-money-p72 .tct6-wrap .tct78-top-frame .tm83-contact-panel .tm84-contact-mark{
  box-sizing:border-box;display:flex;flex:0 0 37px;width:37px;height:37px;
  align-items:center;justify-content:center;padding:3px;border-radius:50%;
  background:#fff!important;box-shadow:0 1px 4px rgba(3,35,72,.16);
}
body.transport-native.transport-money-p72 .tct6-wrap .tct78-top-frame .tm83-contact-panel .tm84-contact-icon{
  display:block;width:31px;height:31px;max-width:100%;max-height:100%;object-fit:contain;
}
body.transport-native.transport-money-p72 .tct6-wrap .tct78-top-frame .tm83-contact-panel .tm80-contact{
  gap:8px;padding:7px 10px;min-height:58px;
}
body.transport-native.transport-money-p72 .tct6-wrap .tct78-top-frame .tm83-contact-panel .tm80-contact strong,
body.transport-native.transport-money-p72 .tct6-wrap .tct78-top-frame .tm83-contact-panel .tm80-contact small{
  color:#fff!important;
}

@media(max-width:1150px) and (min-width:851px){
  body.transport-native.transport-money-p72 .tct6-wrap .tct78-top-frame .tm83-facts-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;padding:9px 3px!important;
  }
  body.transport-native.transport-money-p72 .tct6-wrap .tct78-top-frame .tm83-facts-grid>.tm80-hero-fact{
    grid-column:auto!important;border-top:0!important;
  }
}
@media(max-width:850px){
  body.transport-native.transport-money-p72 .tct6-wrap .tct78-top-frame .tm83-facts-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  body.transport-native.transport-money-p72 .tct6-wrap .tct78-top-frame .tm83-facts-grid>.tm80-hero-fact{
    grid-column:auto!important;border-top:1px solid #e2ebf4!important;
  }
  body.transport-native.transport-money-p72 .tct6-wrap .tct78-top-frame .tm83-facts-grid>.tm80-hero-fact:nth-child(-n+2){border-top:0!important;}
  body.transport-native.transport-money-p72 .tct6-wrap .tct78-top-frame .tm83-facts-grid>.tm80-hero-fact:nth-child(2n){border-right:0!important;}
  body.transport-native.transport-money-p72 .tct6-wrap .tct78-top-frame .tm83-facts-grid>.tm80-hero-fact:nth-child(3){border-right:1px solid #e2ebf4!important;}
}
@media(max-width:640px){
  body.transport-native.transport-money-p72 .tct6-wrap .tct78-top-frame .tct5-gallery.tm84-has-peeks{display:block!important;}
  body.transport-native.transport-money-p72 .tct6-wrap .tct78-top-frame .tm84-gallery-peek{display:none!important;}
  body.transport-native.transport-money-p72 .tct6-wrap .tct78-top-frame .tm84-has-peeks .tct5-photo-link{
    width:100%!important;height:100%!important;aspect-ratio:auto!important;
  }
  body.transport-native.transport-money-p72 .tct6-wrap .tct78-top-frame .tm84-has-peeks .tct5-prev{left:9px;}
  body.transport-native.transport-money-p72 .tct6-wrap .tct78-top-frame .tm84-has-peeks .tct5-next{right:9px;}
  body.transport-native.transport-money-p72 .tct6-wrap .tct78-top-frame .tm84-has-peeks .tct5-count{left:10px;}
  body.transport-native.transport-money-p72 .tct6-wrap .tct78-top-frame .tm83-facts-heading{flex-wrap:wrap;gap:8px;}
  body.transport-native.transport-money-p72 .tct6-wrap .tct78-top-frame .tm84-facts-title-group{flex-basis:calc(100% - 38px);}
  body.transport-native.transport-money-p72 .tct6-wrap .tct78-top-frame .tm84-fare-badge{
    flex:1 1 100%;max-width:100%;align-items:flex-start;text-align:left;padding:7px 9px;
  }
  body.transport-native.transport-money-p72 .tct6-wrap .tct78-top-frame .tm84-fare-value{font-size:18px;}
  body.transport-native.transport-money-p72 .tct6-wrap .tct78-top-frame .tm83-contact-panel .tm84-contact-mark{
    flex-basis:32px;width:32px;height:32px;padding:2px;
  }
  body.transport-native.transport-money-p72 .tct6-wrap .tct78-top-frame .tm83-contact-panel .tm84-contact-icon{width:28px;height:28px;}
}
@media(prefers-reduced-motion:reduce){
  body.transport-native.transport-money-p72 .tct6-wrap .tct78-top-frame .tm84-gallery-peek{transition:none!important;}
}
