/* Bao'an neighbourhood guides. Scoped to preserve the shared site header. */
main.bap{--bap-blue:#0069ff;--bap-navy:#071c61;--bap-line:#dbe7f7;--bap-soft:#f4f9ff;display:block;width:100%;max-width:none;margin:0;padding:0 0 2rem;background:#fff;color:#17283e;font:16px/1.65 Arial,Helvetica,sans-serif;color-scheme:light}
.bap *{box-sizing:border-box;min-width:0}.bap :is(h1,h2,h3,p,ul,ol,figure){margin:0}.bap :is(h1,h2,h3){font-family:Arial,Helvetica,sans-serif;line-height:1.18;color:var(--bap-navy);letter-spacing:-.025em}.bap a{color:#0058e5;text-underline-offset:3px}.bap a:hover{text-decoration:underline}.bap :is(a,button,input):focus-visible{outline:3px solid #eea500;outline-offset:4px}.bap [id]{scroll-margin-top:110px}.bap-wrap{width:min(1350px,calc(100% - 48px));margin:auto}.bap-icon{display:inline-block;width:24px;height:24px;flex:0 0 24px;vertical-align:-5px;fill:none;stroke:#0075ff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.bap-hero{position:relative;isolation:isolate;overflow:hidden;background:#edf6ff;border-bottom:1px solid var(--bap-line)}.bap-hero:before{content:"";position:absolute;inset:0 0 0 33%;z-index:-2;background:url('/assets/baoan/baoan-oh-bay-hero-1600.webp') center 45%/cover no-repeat}.bap-hero:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#fff 0%,#fffffff5 32%,#ffffffb8 52%,#ffffff12 80%)}.bap-hero-inner{padding:20px 0 30px;min-height:350px}.bap-crumb{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:14px;line-height:1.6;margin-bottom:22px}.bap-crumb a{text-decoration:none}.bap-eyebrow{color:#0063eb;font-weight:700;font-size:14px;letter-spacing:.1em;text-transform:uppercase;margin-bottom:8px!important}.bap-hero h1{font-size:clamp(2.25rem,4vw,3.5rem);max-width:860px;font-weight:800}.bap-cn{font-weight:700;color:#20365b;margin:9px 0 12px!important}.bap-intro{max-width:730px;font-size:18px;line-height:1.55}.bap-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.bap-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:10px 20px;border:1px solid var(--bap-blue);border-radius:7px;background:#fff;color:#0056e8!important;text-decoration:none;font:700 15px/1.4 Arial,Helvetica,sans-serif;text-align:center}.bap a.bap-button:hover{background:#eaf3ff;text-decoration:none}.bap-primary{color:#fff!important;background:linear-gradient(135deg,#00a8ff,#0058ff);border-color:transparent}.bap a.bap-primary:hover{background:#0058e8}.bap-network{display:flex;flex-wrap:wrap;gap:7px;padding:17px 0;border-bottom:1px solid var(--bap-line)}.bap-network a{display:inline-flex;align-items:center;min-height:43px;padding:8px 12px;background:#f6faff;border:1px solid var(--bap-line);border-radius:6px;font-size:14px;font-weight:700;line-height:1.4;text-decoration:none}.bap-network a[aria-current=page]{background:var(--bap-blue);border-color:var(--bap-blue);color:#fff}.bap-summary{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;margin:19px 0 22px}.bap-summary>div{display:flex;gap:11px;padding:17px;border:1px solid var(--bap-line);border-radius:10px;background:linear-gradient(#fff,#f2f8ff)}.bap-summary strong{display:block;font-size:15px;color:#052d87;margin-bottom:5px}.bap-summary p{font-size:15px;line-height:1.5}.bap-grid{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:20px;align-items:start}.bap-reading{display:grid;gap:17px}.bap-section{padding:22px;border:1px solid var(--bap-line);border-radius:12px;background:linear-gradient(125deg,#fff 70%,#f7fbff)}.bap-section h2{font-size:25px;margin-bottom:14px}.bap-section h2 .bap-icon{margin-right:8px}.bap-section p+p{margin-top:12px}.bap-section ul{padding-left:23px;margin-top:12px}.bap-section li+li{margin-top:8px}.bap-first-visit{background:#f0f8ff}.bap-first-visit ol{padding-left:23px;margin:4px 0 18px}.bap-first-visit li+li{margin-top:8px}.bap-side{display:grid;gap:15px}.bap-side-card{padding:19px;border:1px solid var(--bap-line);border-radius:12px;background:linear-gradient(#fff,#f5f9ff)}.bap-side-card h2{display:flex;gap:9px;align-items:center;font-size:21px;margin-bottom:13px}.bap-side-card p{font-size:15px;line-height:1.5}.bap-side-card .bap-button{width:100%;margin-top:13px}.bap-toc{list-style:none;padding:0}.bap-toc li+li{border-top:1px solid var(--bap-line)}.bap-toc a{display:block;min-height:44px;padding:10px 0;font-size:15px;line-height:1.45;text-decoration:none}.bap-checks{display:grid;gap:12px}.bap-checks label{display:flex;align-items:flex-start;gap:10px;font-size:15px;line-height:1.45;cursor:pointer}.bap-checks input{accent-color:var(--bap-blue);width:18px;height:18px;flex:0 0 18px;margin:3px 0 0}.bap-checks label:has(input:checked){color:#557391}.bap-note{margin-top:13px!important;font-size:14px!important;color:#546b84}.bap-sources{list-style:none;padding:0!important;margin:0!important}.bap-sources a{display:block;padding:11px 0;border-bottom:1px solid var(--bap-line);font-size:15px;line-height:1.45}.bap-related{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.bap-related a{display:block;padding:17px;border:1px solid var(--bap-line);border-radius:9px;background:#f5faff;text-decoration:none}.bap-related h3{font-size:19px;color:#0740b7;margin-bottom:8px}.bap-related p{font-size:14px;line-height:1.55;color:#425b77}.bap-related span{display:block;color:#0058e5;margin-top:10px;font-size:14px;font-weight:700}.bap-photo{border:1px solid var(--bap-line);border-radius:10px;overflow:hidden;background:var(--bap-soft)}.bap-photo img{display:block;width:100%;height:300px;object-fit:cover}.bap-photo figcaption{font-size:13px;color:#516881;padding:10px 15px}.bap-credits{border:1px solid var(--bap-line);border-radius:8px;padding:0 18px;font-size:14px;color:#516881}.bap-credits summary{font-weight:700;color:#0752cb;min-height:46px;padding:10px 0;cursor:pointer}.bap-credits p{padding:0 0 15px}.bap-banner{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:22px;padding:22px 25px;border-radius:12px;background:linear-gradient(105deg,#009cfc,#0046d8);color:#fff}.bap-banner p{font-size:22px;font-weight:700;line-height:1.3}.bap-banner .bap-button{flex-shrink:0}.bap-muted{font-size:14px;color:#516881;margin-top:14px!important}
@media(max-width:1050px){.bap-grid{grid-template-columns:minmax(0,1fr) 265px}.bap-intro{max-width:650px}.bap-summary{gap:9px}.bap-summary>div{padding:14px;gap:8px}.bap-hero:after{background:linear-gradient(90deg,#fff 0%,#fffffff2 40%,#ffffff50 95%)}}
@media(max-width:800px){.bap-wrap{width:calc(100% - 32px)}.bap-grid{grid-template-columns:1fr}.bap-side{grid-template-columns:repeat(2,minmax(0,1fr))}.bap-summary{grid-template-columns:1fr}.bap-summary>div{padding:15px}.bap-hero-inner{min-height:0;padding-bottom:24px}.bap-section{padding:19px}.bap-banner{align-items:flex-start}.bap-banner p{font-size:21px}}
@media(max-width:540px){.bap-wrap{width:calc(100% - 24px)}.bap-hero:before{inset:0;opacity:.38}.bap-hero:after{background:linear-gradient(90deg,#fffffff7,#ffffffb8)}.bap-hero h1{font-size:35px}.bap-intro{font-size:17px}.bap-crumb{font-size:13px;margin-bottom:18px}.bap-actions .bap-button{flex:1 1 160px}.bap-network{gap:6px}.bap-network a{font-size:14px;padding:8px 10px}.bap-summary{margin:15px 0}.bap-side{grid-template-columns:1fr}.bap-related{grid-template-columns:1fr}.bap-section h2{font-size:23px}.bap-photo img{height:230px}.bap-banner{flex-direction:column;padding:20px}.bap-banner .bap-button{width:100%}}
@media print{.bap-hero:before,.bap-hero:after,.bap-network,.bap-side,.bap-actions,.bap-banner{display:none!important}.bap-grid{display:block}.bap-wrap{width:100%}.bap-section{border:0;padding:15px 0;break-inside:avoid}.bap-hero-inner{min-height:0;padding:0 0 20px}.bap-hero{background:#fff}.bap-summary p,.bap-summary strong{font-size:11pt}.bap{font-size:11pt!important}.bap-photo img{height:190px}}

.bap-checks input[type=checkbox]{appearance:auto!important;-webkit-appearance:auto!important;display:inline-block!important;opacity:1!important;visibility:visible!important;position:static!important;clip:auto!important;clip-path:none!important;transform:none!important;width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important}.bap-first-visit ol{list-style:decimal}.bap-section ul{list-style:disc}
