/* P6J44 verified locally stored AI landmark images. Only pages opted in by body[data-twf-ai-hero] are modified. */
body[data-twf-ai-hero="p6j44"] #detailHeroVisual{
  display:block!important;width:100%!important;min-width:0!important;height:auto!important;
  min-height:0!important;max-height:none!important;aspect-ratio:16 / 9!important;
  border:0!important;overflow:hidden!important;background:#e8f0f7!important;
}
body[data-twf-ai-hero="p6j44"] #detailHeroVisual img.twf-p23-aihero{
  display:block!important;width:100%!important;height:100%!important;
  max-height:none!important;min-height:0!important;aspect-ratio:16 / 9!important;
  object-fit:cover!important;object-position:center center!important;
}
body[data-twf-ai-hero="p6j44"] .twf-ai-master-note{font-family:inherit!important;line-height:1.5!important;font-size:11px!important;color:#64748b!important}
@media(max-width:600px){
 body[data-twf-ai-hero="p6j44"] #detailHeroVisual{margin-top:0!important;}
 body[data-twf-ai-hero="p6j44"] .detail-hero-grid{display:block!important}
 /* Milan's text-only affiliate CTA must not overflow the narrow card. The link and tracking stay unchanged. */
 body[data-twf-ai-hero="p6j44"] .twf-master-air-card{grid-template-columns:minmax(0,.43fr) minmax(0,.57fr)!important;gap:8px!important;padding:11px!important}
 body[data-twf-ai-hero="p6j44"] .twf-master-air-card .twf-master-flight-tiptitle{font-size:15px!important;line-height:1.34!important;word-break:keep-all}
 body[data-twf-ai-hero="p6j44"] .twf-master-air-card .twf-master-flight-tip{font-size:11px!important;line-height:1.45!important;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;word-break:keep-all}
 body[data-twf-ai-hero="p6j44"] a.twf-master-flight-banner{padding:10px!important;min-height:160px!important;gap:7px!important;justify-content:space-around!important}
 body[data-twf-ai-hero="p6j44"] a.twf-master-flight-banner .twf-master-flight-brand{font-size:9px!important;line-height:1.2!important}
 body[data-twf-ai-hero="p6j44"] a.twf-master-flight-banner .twf-master-flight-main{font-size:16px!important;line-height:1.3!important;overflow-wrap:anywhere!important}
 body[data-twf-ai-hero="p6j44"] a.twf-master-flight-banner .twf-master-flight-cta{font-size:10px!important;line-height:1.35!important;border-radius:10px!important;padding:7px 4px!important;overflow-wrap:anywhere!important}
}
/* High-specificity compatibility with older #twfStableTravelScore rules that turn banner text into overlapping inline spans. */
html[lang="ko"] body[data-twf-ai-hero="p6j44"] #twfStableTravelScore a.twf-master-flight-banner{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  line-height:1.35!important;height:auto!important;aspect-ratio:auto!important;
  white-space:normal!important;
}
html[lang="ko"] body[data-twf-ai-hero="p6j44"] #twfStableTravelScore a.twf-master-flight-banner > span{
  display:block!important;flex:0 0 auto!important;line-height:1.35!important;white-space:normal!important;
  max-width:100%!important;min-width:0!important;word-break:keep-all!important;
}
