/* Canvas ratios and typography are selected from the same operations templates. */
.visual-template-hero.ydm-page-hero{width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:var(--visual-ratio,1920/500)!important;box-sizing:border-box!important;display:flex!important;align-items:center!important;padding:28px 0 48px!important}
.visual-template-hero.ydm-page-hero h1{font-size:var(--visual-title,36px)!important;line-height:1.25!important;white-space:pre-line!important;margin:0!important;overflow-wrap:anywhere}
.visual-template-hero.ydm-page-hero [data-hero-subtitle]{font-size:var(--visual-subtitle,18px)!important;line-height:1.55!important;white-space:pre-line;margin:16px 0!important;max-width:900px!important;overflow-wrap:anywhere}
.visual-template-hero.ydm-page-hero [data-hero-subtitle][hidden]{display:none!important}
.visual-template-hero.hero .hero-inner{padding:0 32px!important;width:100%;box-sizing:border-box}
.visual-template-brand .brands-info h1{font-size:var(--visual-title,40px)!important;white-space:pre-line}
.visual-template-brand .brands-desc{font-size:var(--visual-subtitle,18px)!important;white-space:pre-line;line-height:1.7}
.visual-template-brand .brand-visual{height:auto!important;aspect-ratio:var(--visual-ratio,1600/1000);overflow:hidden}
.visual-template-brand .brand-original{height:100%;object-fit:cover}
.visual-template-brand .brand-device{height:58%;top:15%}
.visual-template-brand .brand-scene{height:64%;top:26%}
/* Only service support and the open platform share this centered search hero. */
body[data-page="help"] .ydm-page-hero,body[data-page="api"] .ydm-page-hero{aspect-ratio:1920/500!important;min-height:290px!important;padding:28px 0!important;text-align:center!important}
body[data-page="help"] .ydm-page-hero>.container,body[data-page="api"] .ydm-page-hero>.container{width:calc(100% - 64px)!important;max-width:1200px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:12px!important}
body[data-page="help"] .ydm-page-hero.help-hero h1,body[data-page="api"] .api-page .ydm-page-hero h1{font-size:36px!important;line-height:45px!important;margin:0!important;text-align:center!important}
body[data-page="help"] .ydm-page-hero>.container>p,body[data-page="api"] .ydm-page-hero>.container>p{font-size:16px!important;line-height:24px!important;margin:0!important;text-align:center!important;max-width:960px!important}
body[data-page="help"] .ydm-page-hero form,body[data-page="api"] .ydm-page-hero .api-search{height:54px!important;min-height:54px!important;max-width:960px!important;width:100%!important;border-radius:8px!important;margin:0!important;box-sizing:border-box!important}
body[data-page="help"] .ydm-page-hero input,body[data-page="api"] .ydm-page-hero input{font-size:14px!important}
