/* Approved photos. Titles remain left aligned and vertically centered. */
html body section[data-yfg-service]{position:relative!important;isolation:isolate;display:flex!important;align-items:center!important;height:clamp(420px,34vw,560px)!important;min-height:0!important;padding:0!important;overflow:hidden;container-type:inline-size}
html body section[data-yfg-service]>.yfg-asi-picture{position:absolute!important;inset:0!important;display:block!important;z-index:-2!important;width:100%!important;height:100%!important}
html body section[data-yfg-service]>.yfg-asi-picture>img{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;object-position:var(--yfg-photo-position,50% 50%)!important}
html body [data-yfg-service="insurance-a"]{--yfg-shade:8,30,49;--yfg-photo-position:50% 18%}
html body [data-yfg-service="trust-a"]{--yfg-shade:46,34,28;--yfg-photo-position:50% 50%}
html body [data-yfg-service="family-a"]{--yfg-shade:17,34,39;--yfg-photo-position:50% 18%}
html body [data-yfg-service="family-b"]{--yfg-shade:61,43,19;--yfg-photo-position:62% 50%}
html body [data-yfg-service="education-a"]{--yfg-shade:40,36,27;--yfg-photo-position:47% 50%}
html body [data-yfg-service="migration-a"]{--yfg-shade:22,42,57;--yfg-photo-position:40% 50%}
html body [data-yfg-service][data-yfg-region="SG"]{--yfg-shade:8,43,54;--yfg-photo-position:50% 50%}
html body section[data-yfg-service]::after{content:"";position:absolute!important;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(var(--yfg-shade),.72),rgba(var(--yfg-shade),.33) 53%,rgba(var(--yfg-shade),.06))!important;pointer-events:none}
html body section[data-yfg-service]::before{display:none!important}
html body section[data-yfg-service]>div{position:relative!important;width:min(1200px,calc(100% - 112px))!important;max-width:none!important;margin:0 auto!important;padding:0!important;display:block!important}
html body section[data-yfg-service]>div>div{max-width:none!important}
html body section[data-yfg-service] h1{color:white!important;margin:0!important;padding:0!important;max-width:900px!important;text-align:left!important;font-size:clamp(38px,3.5vw,60px)!important;line-height:1.35!important;letter-spacing:.015em!important;text-shadow:0 2px 12px rgba(0,0,0,.1)}
html body section[data-yfg-service] h1 span{display:inline-block;white-space:nowrap}
html body section[data-yfg-service="trust-a"][data-yfg-locale="en"] h1 span+span{margin-left:.25em}
html body section[data-yfg-service="trust-a"] h1{max-width:58%!important}
:is(#yfg-borderless-scope,body.yfg-borderless) .bde-section-24-325 .bde-advancedslide .bde-div.yfg-asi-card{position:relative!important;isolation:isolate;overflow:hidden;border-radius:10px!important;background:#172436!important}
:is(#yfg-borderless-scope,body.yfg-borderless) .bde-section-24-325 .bde-advancedslide .bde-div.yfg-asi-card>.yfg-asi-picture{display:block;position:absolute;inset:0;z-index:-2}
:is(#yfg-borderless-scope,body.yfg-borderless) .bde-section-24-325 .bde-advancedslide .bde-div.yfg-asi-card>.yfg-asi-picture>img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:var(--yfg-photo-position)!important;max-width:none!important}
:is(#yfg-borderless-scope,body.yfg-borderless) .bde-section-24-325 .bde-advancedslide .bde-div.yfg-asi-card::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(var(--yfg-shade),.25),rgba(var(--yfg-shade),.8) 70%);pointer-events:none}
:is(#yfg-borderless-scope,body.yfg-borderless) .bde-section-24-325 .bde-advancedslide .bde-div.yfg-asi-card>img.yfg-service-emblem{filter:brightness(0) invert(1);opacity:.9}
:is(#yfg-borderless-scope,body.yfg-borderless) .bde-section-24-325 .bde-advancedslide .bde-div.yfg-asi-card :is(h3,.bde-text,a){color:#fff!important}
:is(#yfg-borderless-scope,body.yfg-borderless) .bde-section-24-325 .bde-advancedslide .bde-div.yfg-asi-card a:hover{text-decoration:underline}
@media(max-width:767px){
 html body section[data-yfg-service]{height:340px!important}
 html body section[data-yfg-service]>div{width:calc(100% - 40px)!important}
 html body section[data-yfg-service] h1{font-size:clamp(27px,7.7vw,34px)!important;max-width:100%!important;line-height:1.45!important}
 html body section[data-yfg-service="insurance-a"]{--yfg-photo-position:64% 47%}
 html body section[data-yfg-service="insurance-a"] h1 span{display:block!important}
 html body section[data-yfg-service="trust-a"]{--yfg-photo-position:100% 50%}
 html body section[data-yfg-service="trust-a"] h1{font-size:clamp(18px,7cqw,27px)!important;max-width:58%!important}
 html body section[data-yfg-service="trust-a"] h1 span{display:block!important;white-space:nowrap;margin-left:0!important}
 html body section[data-yfg-service="trust-a"][data-yfg-locale="en"] h1{font-size:clamp(16px,4.7cqw,22px)!important}
 html body section[data-yfg-service="trust-a"]::after{background:linear-gradient(90deg,rgba(46,34,28,.28),rgba(46,34,28,.08) 58%,transparent)!important}
 :is(#yfg-borderless-scope,body.yfg-borderless) .bde-section-24-325 .bde-advancedslide .bde-div.yfg-asi-card[data-yfg-service="family-a"]{--yfg-photo-position:62% 45%}
}

html body section[data-yfg-service] .edu-region{display:none!important}

:is(#yfg-borderless-scope,body.yfg-borderless) .bde-section-24-325 .bde-advancedslide .bde-div.yfg-asi-card{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border:0!important;box-shadow:none!important;background:#172436!important}
:is(#yfg-borderless-scope,body.yfg-borderless) .bde-section-24-325 .bde-advancedslide .bde-div.yfg-asi-card>picture{z-index:0!important}
:is(#yfg-borderless-scope,body.yfg-borderless) .bde-section-24-325 .bde-advancedslide .bde-div.yfg-asi-card::after{display:block!important;content:""!important;z-index:1!important}
:is(#yfg-borderless-scope,body.yfg-borderless) .bde-section-24-325 .bde-advancedslide .bde-div.yfg-asi-card>:not(picture){position:relative;z-index:2}
:is(#yfg-borderless-scope,body.yfg-borderless) .bde-section-24-325 .bde-advancedslide .bde-div.yfg-asi-card>img.yfg-service-emblem{filter:brightness(0) invert(1)!important}

:is(#yfg-borderless-scope,body.yfg-borderless) .bde-section-24-325 .bde-advancedslide .bde-div.yfg-asi-card::after{width:100%!important;height:100%!important;border:0!important;border-radius:inherit!important;transform:none!important;box-shadow:none!important}
