/* YB-1117-inner-hero-release: one shared hierarchy; height grows with content. */
#yb-inner-hero{--yb-art-opacity:.68;box-sizing:border-box;position:relative;isolation:isolate;display:flex;align-items:flex-start;min-height:380px;width:100%;height:auto;max-height:none;margin:0;padding:40px 0 32px;background:#f4f0e4;border-bottom:1px solid #d5dccd;color:#183f32;overflow:visible}
#yb-inner-hero::before,#yb-inner-hero::after{content:"";position:absolute;inset:0;pointer-events:none}
#yb-inner-hero::before{z-index:0;background-image:var(--yb-route-art);background-size:cover;background-position:right 54%;opacity:var(--yb-art-opacity)}
#yb-inner-hero::after{z-index:1;background:linear-gradient(90deg,rgba(248,245,236,.98) 0%,rgba(248,245,236,.93) 30%,rgba(248,245,236,.67) 59%,rgba(248,245,236,.23) 100%)}
#yb-inner-hero.yb-inner-hero--community{--yb-route-art:url('/assets/minsheng-apartments-watercolor-1536.webp')}
#yb-inner-hero.yb-inner-hero--village{--yb-route-art:url('/songshan-development/nanjing-east-streetscape.webp')}
#yb-inner-hero.yb-inner-hero--school{--yb-route-art:url('/assets/taipei-school-watercolor.webp')}
#yb-inner-hero.yb-inner-hero--development::before{display:none}
#yb-inner-hero .streetscape-art{position:absolute;inset:0;z-index:0;overflow:hidden;display:block}
#yb-inner-hero .streetscape-art img{display:block;width:100%;height:100%;object-fit:cover;object-position:right 54%;opacity:var(--yb-art-opacity);mask-image:none}
#yb-inner-hero .yb-inner-hero-shell{box-sizing:border-box;width:min(1160px,calc(100% - 56px));margin:0 auto;padding:0;position:relative;z-index:2}
#yb-inner-hero header,#yb-inner-hero .flow-heading,#yb-inner-hero .home-guide-heading{display:block;position:static;min-height:0;width:100%;max-width:none;margin:0!important;padding:0!important;border:0;background:none!important;box-shadow:none}
#yb-inner-hero .heading-row,#yb-inner-hero .home-guide-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:24px}
#yb-inner-hero .heading-row{margin:0!important;padding:0!important;border:0}
#yb-inner-hero .hero-grid{display:block}
#yb-inner-hero .hero-grid>div,#yb-inner-hero .heading-row>div:first-child,#yb-inner-hero .home-guide-heading>div,#yb-inner-hero .flow-heading{max-width:650px;min-width:0}
#yb-inner-hero h1{margin:15px 0!important;color:#173f32!important;font:700 clamp(36px,4.2vw,57px)/1.2 'Microsoft JhengHei','Noto Sans TC',sans-serif!important;letter-spacing:.01em!important;text-align:left;overflow-wrap:anywhere}
#yb-inner-hero .eyebrow{margin:0!important;color:#526a56!important;font:600 13px/1.5 'Microsoft JhengHei','Noto Sans TC',sans-serif!important;letter-spacing:.06em;text-align:left;text-transform:none}
#yb-inner-hero .atlas-page-lead{max-width:650px;margin:0!important;color:#3c5645!important;font:400 18px/1.7 'Microsoft JhengHei','Noto Sans TC',sans-serif!important;text-align:left}
#yb-inner-hero .edition{flex:none;min-height:0;margin:4px 0 0;padding:0!important;border:0;background:transparent;font:400 14px/1.6 'Microsoft JhengHei','Noto Sans TC',sans-serif!important;color:#39513e!important}
#yb-inner-hero .home-map-north{flex:none;background:rgba(250,249,240,.8);color:#31513e;border:1px solid #b7c6ae;padding:5px 10px;border-radius:6px}
#yb-inner-hero .hero-counts{margin-top:24px}
#yb-inner-hero .hero.shell{pointer-events:none}
#yb-inner-hero .hero-counts a{pointer-events:auto}
@media(max-width:700px){
 #yb-inner-hero{--yb-art-opacity:.58;min-height:350px;padding:28px 0 24px}
 #yb-inner-hero::before,#yb-inner-hero .streetscape-art img{background-position:72% center;object-position:72% center}
 #yb-inner-hero::after{background:linear-gradient(90deg,rgba(248,245,236,.97) 0%,rgba(248,245,236,.89) 40%,rgba(248,245,236,.47) 100%)}
 #yb-inner-hero .yb-inner-hero-shell{width:calc(100% - 36px);padding:0}
 #yb-inner-hero .heading-row{display:block}
 #yb-inner-hero h1{font-size:clamp(28px,7.5vw,36px)!important;margin:12px 0!important}
 #yb-inner-hero .eyebrow{font-size:12px!important;letter-spacing:.025em}
 #yb-inner-hero .atlas-page-lead{font-size:16px!important;line-height:1.65!important}
 #yb-inner-hero .edition{margin-top:10px;font-size:12px!important}
 #yb-inner-hero .home-guide-heading{gap:12px}
 #yb-inner-hero .home-map-north{font-size:13px;padding:4px 7px}
 #yb-inner-hero .hero-counts{margin-top:16px}
}

@media(max-width:360px){#yb-inner-hero{min-height:380px}}
