/* 首页标题字号 */
.bm-page { --bm-title-hero:clamp(26px,3.45vw,48px); --bm-title-section:clamp(22px,2.2vw,32px); --bm-title-column:clamp(18px,1.6vw,22px); }
/* 保姆大本营页面外壳 */
.bm-page { margin:0; min-height:100vh; background:#f6f8fd; color:#14254c; font-family:"PingFang SC","Microsoft YaHei",sans-serif; }
.bm-content,.bm-header > nav,.bm-home-brand,.bm-home-header > nav > ul,.bm-footer > div { width:91%; max-width:1320px; margin-inline:auto; }
/* 顶部品牌与主导航 */
html:has(> .bm-page) { scroll-padding-top:99px; }
.bm-header { position:sticky; top:0; z-index:10; background:#fff; box-shadow:0 3px 14px rgb(38 111 216 / 14%); }
.bm-header > nav { display:flex; align-items:center; justify-content:space-between; min-height:74px; }
.bm-header > nav > a > img { display:block; max-width:100%; height:auto; }
.bm-header > nav > button,.bm-header > nav > ul > .bm-mobile-home { display:none; }
.bm-header > nav > ul { display:flex; align-self:stretch; gap:clamp(16px,2.6vw,38px); padding:0; margin:0; list-style:none; }
.bm-header > nav > ul > li >:is(a,span) { display:flex; height:100%; padding-inline:14px; align-items:center; justify-content:center; color:inherit; font-size:22px; font-weight:500; white-space:nowrap; text-decoration:none; }
.bm-header > nav > ul > li > a:hover,.bm-header > nav > ul > li > a:focus-visible { color:#076bff; }
/* 首页家政服务轮播 */
.bm-banner { margin:clamp(16px,2vw,28px) 0 0; }
.bm-banner > ul { overflow:hidden; margin:0; padding:0; background:#e3eefc; list-style:none; }
.bm-banner > ul > li > a { display:block; }
.bm-banner > ul > li > a:focus-visible { outline:2px solid #076bff; outline-offset:-3px; }
.bm-banner > ul > li > img,.bm-banner > ul > li > a > img { display:block; width:100%; height:auto; aspect-ratio:3 / 1; object-fit:contain; }
.bm-banner > div { display:flex; justify-content:center; margin-top:4px; }
.bm-banner > div > button { display:grid; place-items:center; width:26px; height:28px; padding:0; border:0; background:transparent; cursor:pointer; }
.bm-banner > div > button::before { content:""; box-sizing:border-box; width:10px; height:10px; border:1px solid #fff; border-radius:50%; background:#8799b2; }
.bm-banner > div > button[aria-current="true"]::before { background:#076bff; }
.bm-banner > div > button:focus-visible { outline:2px solid #0759bf; outline-offset:-2px; }
@media (max-width:700px) {
  .bm-banner > ul { border-radius:16px; }
}
/* 首页热门城市 */
.bm-hot-cities { container-type:inline-size; margin-top:32px; color:#102452; }
.bm-hot-cities > h2 { display:flex; justify-content:center; align-items:center; gap:clamp(14px,4cqw,60px); margin:0; color:#102f7b; font-size:var(--bm-title-section); line-height:1.3; }
.bm-hot-cities > h2::before,.bm-hot-cities > h2::after { content:""; width:9%; height:3px; background:linear-gradient(90deg,transparent,#287cf5); }
.bm-hot-cities > h2::after { transform:rotate(180deg); }
.bm-hot-cities > p { margin:6px 0 20px; text-align:center; color:#536984; font-size:clamp(14px,1.3cqw,16px); line-height:1.55; }
.bm-hot-cities > ul { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:clamp(12px,1.6cqw,22px); margin:0; padding:clamp(16px,2.1cqw,28px); border:1px solid #d2e3f9; border-radius:18px; background:#f1f7ff; list-style:none; }
.bm-hot-cities > ul > li { display:grid; min-width:0; }
.bm-hot-cities > ul > li > a { display:grid; color:inherit; text-decoration:none; grid-template-columns:auto minmax(0,1fr); align-content:center; font-size:clamp(12px,1.15cqw,16px); gap:3px clamp(10px,1.25cqw,18px); padding:clamp(15px,1.8cqw,24px); border:1px solid #dce9fa; border-radius:14px; background:#fff; box-shadow:0 3px 7px rgb(42 100 172 / 8%); }
.bm-hot-cities > ul > li > a::before,.bm-hot-cities > ul > li > a::after { content:""; grid-area:1 / 1 / 3 / 2; place-self:center; }
.bm-hot-cities > ul > li > a::before { width:clamp(34px,3.7cqw,50px); aspect-ratio:1; border-radius:40%; background:#e8f2ff; }
.bm-hot-cities > ul > li > a::after { width:clamp(16px,1.6cqw,22px); aspect-ratio:1; border-radius:50% 50% 50% 0; background:radial-gradient(circle,#fff 0 29%,transparent 32%),linear-gradient(135deg,#55afff,#1679f7); transform:translateY(-8%) rotate(-45deg); }
.bm-hot-cities > ul > li > a > strong { grid-column:2; color:#102452; font-size:1.18em; line-height:1.5; }
.bm-hot-cities > ul > li > a > span { grid-column:2; color:#586e89; line-height:1.5; }
.bm-hot-cities > ul > li > a:focus-visible { outline:2px solid #076bff; outline-offset:2px; }
@container (max-width:840px) {
  .bm-hot-cities > ul { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@container (max-width:480px) {
  .bm-hot-cities > ul { gap:9px; padding:10px; }
  .bm-hot-cities > ul > li > a { gap:3px 7px; padding:12px 8px; }
  .bm-hot-cities > ul > li > a::before { width:28px; }
}
/* 首页热门保姆推荐 */
.bm-featured-nannies { container-type:inline-size; box-sizing:border-box; margin-top:32px; color:#102452; }
.bm-featured-nannies > h2 { display:flex; justify-content:center; align-items:center; gap:clamp(14px,4cqw,60px); margin:0; color:#102f7b; font-size:var(--bm-title-section); line-height:1.3; }
.bm-featured-nannies > h2::before,.bm-featured-nannies > h2::after { content:""; width:9%; height:3px; background:linear-gradient(90deg,transparent,#2668fa); }
.bm-featured-nannies > h2::after { transform:rotate(180deg); }
.bm-featured-nannies > p { margin:6px 0 20px; text-align:center; font-size:clamp(14px,1.3cqw,16px); line-height:1.55; }
.bm-featured-nannies > ul { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:24px clamp(12px,1.4cqw,20px); margin:0; padding:0; list-style:none; }
.bm-featured-nannies > ul > li { display:grid; min-width:0; }
.bm-featured-nannies > ul > li > a { display:grid; grid-template-columns:7% repeat(3,minmax(0,1fr)) 7%; align-content:start; align-items:center; padding-bottom:6px; border-radius:0 0 12px 12px; background:#fff; color:inherit; text-decoration:none; }
.bm-featured-nannies > ul > li > a:focus-visible { outline:2px solid #246fdc; outline-offset:2px; }
.bm-featured-nannies > ul > li > a > img { grid-column:1 / -1; display:block; box-sizing:border-box; width:100%; height:auto; aspect-ratio:7 / 8; border:1px solid #d6e2ee; background:#e3e5ea; object-fit:cover; object-position:center top; }
.bm-featured-nannies > ul > li:is(:nth-child(2),:nth-child(6),:nth-child(10)) > a > img { object-fit:contain; object-position:center; }
.bm-featured-nannies > ul > li > a > strong { grid-area:2 / 2 / 3 / 5; justify-self:start; padding-block:.55em; font-size:clamp(15px,1.6cqw,22px); }
.bm-featured-nannies > ul > li > a > span { grid-area:2 / 2 / 3 / 5; justify-self:end; padding:.14em .7em; border-radius:1em; background:#d6e9ff; color:#1263bf; font-size:clamp(12px,1.12cqw,15px); white-space:nowrap; }
.bm-featured-nannies > ul > li > a > p { margin:0; }
.bm-featured-nannies > ul > li > a > p:not(:last-child) { grid-column:2; grid-row:3; justify-self:start; padding:.4em 0 .8em; color:#68768e; font-size:clamp(12px,1.12cqw,15px); font-weight:400; line-height:1.4; white-space:nowrap; }
.bm-featured-nannies > ul > li > a > p:nth-of-type(2) { grid-column:3; justify-self:center; text-align:center; }
.bm-featured-nannies > ul > li > a > p:nth-of-type(3) { grid-column:4; justify-self:end; text-align:right; }
.bm-featured-nannies > ul > li > a > p:not(:last-child) > strong { display:block; margin-top:3px; color:#102452; font-size:14px; }
.bm-featured-nannies > ul > li > a > p:last-child { grid-column:2 / 5; display:flex; align-items:baseline; gap:.12em; padding-top:6px; border-top:1px solid #e0eaf4; color:#e85b00; font-size:clamp(13px,1.25cqw,17px); font-weight:600; }
.bm-featured-nannies > ul > li > a > p:last-child > strong { font-size:1.5em; line-height:1.3; }
@container (max-width:900px) {
  .bm-featured-nannies > ul { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@container (max-width:580px) {
  .bm-featured-nannies > p { max-width:24em; margin-inline:auto; padding-inline:8px; }
  .bm-featured-nannies > ul { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@container (max-width:320px) {
  .bm-featured-nannies > ul > li > a { grid-template-columns:4% repeat(3,minmax(0,1fr)) 4%; }
  .bm-featured-nannies > ul > li > a > p:not(:last-child) > strong { font-size:14px; }
}
@media (max-width:640px) {
  .bm-featured-nannies { margin-top:24px; }
  .bm-featured-nannies > ul { gap:16px 10px; }
  .bm-featured-nannies > ul > li > a > span { padding-inline:.45em; }
}
/* 首页联系我们 */
.bm-contact { container-type:inline-size; margin-top:clamp(32px,4vw,56px); color:#112951; }
.bm-contact > h2 { display:flex; justify-content:center; align-items:center; gap:clamp(18px,3.5cqw,48px); margin:0; color:#102f73; font-size:var(--bm-title-section); line-height:1.3; }
.bm-contact > h2::before,.bm-contact > h2::after { content:""; width:6%; height:3px; background:linear-gradient(90deg,transparent,#287cf5); }
.bm-contact > h2::after { transform:rotate(180deg); }
.bm-contact > p { margin:8px auto clamp(20px,2.3cqw,32px); text-align:center; font-size:clamp(14px,1.45cqw,19px); line-height:1.6; }
.bm-contact > div { display:grid; grid-template-columns:37.5% 37.5% 25%; padding:clamp(20px,2.7cqw,36px); border-radius:16px; background:white; box-shadow:0 6px 20px rgb(39 103 182 / 8%); }
.bm-contact > div svg { width:1.5em; height:1.5em; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.bm-contact > div > address { display:grid; align-content:space-between; padding-right:8%; font-size:clamp(14px,1.24cqw,17px); line-height:1.5; font-style:normal; }
.bm-contact > div > address > p { display:grid; grid-template-columns:auto minmax(0,1fr); align-items:center; column-gap:1em; margin:0; }
.bm-contact > div > address > p > svg { grid-row:span 2; box-sizing:content-box; padding:.5em; border-radius:8px; background:#eef5ff; color:#176de6; }
.bm-contact > div > address > p:first-child { margin-bottom:1em; }
.bm-contact > div > address > p:first-child > svg { width:2em; height:2em; padding:.65em; color:white; background:linear-gradient(145deg,#83baff,#0875fc); fill:currentColor; }
.bm-contact > div > address > p > a { color:#104eb5; font-size:clamp(24px,3.25cqw,43px); font-weight:700; line-height:1.15; text-decoration:none; white-space:nowrap; }
.bm-contact > div > address > p:last-child { margin-top:.7em; padding-top:.7em; border-top:1px solid #e3ebf4; }
.bm-contact > div > ul { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-content:center; gap:7%; margin:0; padding:0 7%; border-inline:1px solid #dee7f3; list-style:none; }
.bm-contact > div > ul > li { display:grid; justify-items:center; align-content:start; gap:8px; text-align:center; }
.bm-contact > div > ul > li > img { display:block; box-sizing:border-box; width:100%; max-width:156px; aspect-ratio:1; padding:5px; object-fit:contain; border:1px solid #cadcf5; border-radius:10px; background:white; }
.bm-contact > div > ul > li > strong { padding:2px .85em; border-radius:1em; background:#e4efff; color:#174488; font-size:clamp(14px,1.2cqw,17px); }
.bm-contact > div > ul > li > span { font-size:clamp(12px,1.12cqw,15px); }
.bm-contact > div > nav { display:grid; align-content:space-between; gap:14px; padding-left:12%; }
.bm-contact > div > nav > h3 { margin:0; padding-left:.55em; border-left:4px solid #247ffa; font-size:var(--bm-title-column); line-height:1.3; }
.bm-contact > div > nav > ul { display:grid; gap:10px; margin:0; padding:0; list-style:none; }
.bm-contact > div > nav > ul > li > :is(a,span) { display:flex; align-items:center; gap:.85em; padding:.65em 1em; border-radius:2em; background:#f0f6fd; color:inherit; font-size:clamp(14px,1.36cqw,18px); font-weight:600; text-decoration:none; }
.bm-contact > div > nav > ul > li > :is(a,span) > svg { flex:none; color:#147bf4; }
.bm-contact > div > nav > ul > li > a::after { content:""; width:.4em; height:.4em; margin-left:auto; border:solid currentColor; border-width:1.5px 1.5px 0 0; transform:rotate(45deg); }
.bm-contact > div > nav > ul > li > a:is(:hover,:focus-visible) { background:#deedff; color:#1058b8; }
@container (max-width:900px) {
  .bm-contact > div { grid-template-columns:1fr 1fr; row-gap:22px; }
  .bm-contact > div > ul { border-right:0; padding-right:0; }
  .bm-contact > div > nav { grid-column:1 / -1; padding:18px 0 0; border-top:1px solid #dee7f3; }
  .bm-contact > div > nav > ul { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@container (max-width:600px) {
  .bm-contact > div { grid-template-columns:1fr; padding:18px 14px; }
  .bm-contact > div > address { padding:0; }
  .bm-contact > div > ul { border:0; border-top:1px solid #dee7f3; padding:18px 0 0; }
  .bm-contact > div > nav > ul { grid-template-columns:1fr; }
}

/* 保姆大本营首页外壳 */
.bm-home { display:flex; flex-direction:column; min-height:100vh; margin:0; background:#f6f8fd; color:#14254c; font-family:"PingFang SC","Microsoft YaHei",sans-serif; }
.bm-home > .bm-content { flex:1; padding-block:clamp(20px,3vw,40px); }
.bm-home > .bm-content:has(> bm-service-banner:first-child) { padding-top:0; }
.bm-home { --bm-title-section:clamp(22px,2.2vw,32px); --bm-title-column:clamp(18px,1.6vw,22px); }

/* 城市模板家政服务横幅 */
.bm-city-service-banner { display:block; margin-top:clamp(8px,1vw,14px); margin-bottom:clamp(20px,3vw,40px); }
.bm-city-service-banner > ul { margin:0; padding:0; list-style:none; }
.bm-city-service-banner > ul > li > a { display:block; }
.bm-city-service-banner > ul > li > a > img { display:block; width:100%; height:auto; aspect-ratio:10 / 3; object-fit:cover; object-position:center 25%; }

/* 城市首页家政服务动态 */
.bm-city-services { display:grid; grid-template-columns:minmax(0,2fr) minmax(0,1fr); gap:0 clamp(12px,1.3vw,20px); color:#102d63; }
.bm-city-services > h1,.bm-city-services > p { grid-column:1 / -1; text-align:center; }
.bm-city-services > h1 { display:flex; align-items:center; justify-content:center; gap:20px; margin:0; font-size:var(--bm-title-section); }
.bm-city-services > h1::before,.bm-city-services > h1::after { content:""; width:9%; height:3px; background:linear-gradient(90deg,transparent,#1779ff); }
.bm-city-services > h1::after { transform:rotate(180deg); }
.bm-city-services > p { margin:10px 0 clamp(24px,3vw,42px); color:#586984; line-height:1.6; }
.bm-city-services > section { overflow:hidden; border:1px solid #d4e4fa; border-radius:14px; background:white; box-shadow:0 4px 14px rgb(64 117 190 / 10%); }
.bm-city-services > section > header { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:clamp(14px,1.6vw,24px); background:linear-gradient(#fafcff,#eef5fe); }
.bm-city-services > section > header > h2 { display:flex; align-items:center; gap:.65em; margin:0; font-size:var(--bm-title-column); }
.bm-city-services > section > header svg { box-sizing:content-box; flex:none; width:1em; height:1em; padding:.38em; border-radius:.4em; background:linear-gradient(140deg,#91cbff,#2585ff); fill:white; }
.bm-city-services > section > header > a { color:#0869cb; font-size:14px; text-decoration:none; white-space:nowrap; }
.bm-city-services > section > ul { margin:0; padding:clamp(12px,1.7vw,25px); list-style:none; }
.bm-city-services > section:first-of-type > ul { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:clamp(8px,1.1vw,18px); }
.bm-city-services > section:first-of-type > ul > li > a { display:grid; justify-items:center; gap:5px; padding:2px 2px 10px; border:1px solid #e0e8f3; border-radius:9px; color:#162747; text-align:center; text-decoration:none; box-shadow:0 2px 7px rgb(42 72 116 / 10%); }
.bm-city-services > section:first-of-type img { display:block; width:100%; aspect-ratio:1.1; object-fit:cover; object-position:center 26%; border-radius:7px; }
.bm-city-services > section:first-of-type > ul > li > a > p { margin:0; color:#62728a; font-size:13px; }
.bm-city-services > section:first-of-type > ul > li > a > p:first-of-type { padding:2px 7px; border-radius:12px; background:#e9f3ff; color:#1269c9; font-size:12px; }
.bm-city-services > section:last-of-type > ul { padding-block:0; }
.bm-city-services > section:last-of-type li { border-bottom:1px solid #e3eaf4; }
.bm-city-services > section:last-of-type li > a { display:flex; align-items:baseline; gap:10px; padding:clamp(9px,.9vw,14px) 0; color:#23334d; text-decoration:none; }
.bm-city-services > section:last-of-type li > a::before { content:""; flex:none; align-self:center; width:6px; height:6px; border-radius:50%; background:#4698ff; }
.bm-city-services > section:last-of-type > ul > li > a > p { margin:0; }
.bm-city-services > section:last-of-type > ul > li > a > p:last-child { margin-left:auto; color:#66758c; font-variant-numeric:tabular-nums; white-space:nowrap; }
.bm-city-services a:is(:hover,:focus-visible) { text-decoration:underline; }
@media (min-width:901px) {
  .bm-city-services > section { display:grid; grid-template-rows:auto 1fr; }
  .bm-city-services > section:first-of-type > ul > li { display:grid; }
  .bm-city-services > section:last-of-type > ul { display:grid; grid-auto-rows:1fr; padding-block:clamp(12px,1.7vw,25px); }
  .bm-city-services > section:last-of-type > ul > li { display:grid; }
  .bm-city-services > section:last-of-type > ul > li > a { align-items:center; padding-block:4px; }
}
@media (max-width:900px) {
  .bm-city-services { grid-template-columns:minmax(0,1fr); }
  .bm-city-services > section + section { margin-top:16px; }
}
@media (max-width:620px) {
  .bm-city-services > section:first-of-type > ul { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

/* 城市首页最近更新家政服务员资料卡片 */
.bm-city-services > section:first-of-type > ul:has(> li > a > span) { grid-template-columns:repeat(auto-fill,minmax(min(100%,max(170px,18%)),1fr)); align-content:start; gap:16px 12px; padding:clamp(10px,1.2vw,18px); background:#f5f8fc; }
.bm-city-services > section:first-of-type > ul > li:has(> a > span) { min-width:0; container-type:inline-size; }
.bm-city-services > section:first-of-type > ul > li > a:has(> span) { display:grid; grid-template-columns:6% repeat(3,minmax(0,1fr)) 6%; align-content:start; align-items:center; justify-items:stretch; gap:0; padding:0 0 8px; border:0; border-radius:0 0 10px 10px; background:white; box-shadow:none; color:#102452; text-align:left; text-decoration:none; }
.bm-city-services > section:first-of-type > ul > li > a:has(> span) > img { grid-column:1 / -1; box-sizing:border-box; width:100%; height:auto; aspect-ratio:7 / 8; border:1px solid #d6e2ee; border-radius:0; background:#e3e5ea; object-fit:fill; }
.bm-city-services > section:first-of-type > ul > li > a:has(> span) > strong { grid-area:2 / 2 / 3 / 4; padding-block:.6em; font-size:clamp(14px,8.5cqw,20px); }
.bm-city-services > section:first-of-type > ul > li > a > span { grid-area:2 / 3 / 3 / 5; justify-self:end; padding:2px 6px; border-radius:1em; background:#d6e9ff; color:#1263bf; font-size:clamp(10px,6cqw,13px); }
.bm-city-services > section:first-of-type > ul > li > a:has(> span) > p { grid-row:3; margin:0; padding:0 0 8px; border-radius:0; background:transparent; color:#62728a; font-size:clamp(10px,6cqw,13px); }
.bm-city-services > section:first-of-type > ul > li > a:has(> span) > p:first-of-type { grid-column:2; padding:0 0 8px; border-radius:0; background:transparent; color:#62728a; font-size:clamp(10px,6cqw,13px); }
.bm-city-services > section:first-of-type > ul > li > a:has(> span) > p:nth-of-type(2) { grid-column:3; text-align:center; }
.bm-city-services > section:first-of-type > ul > li > a:has(> span) > p:nth-of-type(3) { grid-column:4; text-align:right; }
.bm-city-services > section:first-of-type > ul > li > a:has(> span) > p:not(:last-child) > strong { display:block; margin-top:2px; color:#102452; white-space:nowrap; }
.bm-city-services > section:first-of-type > ul > li > a:has(> span) > p:last-child { grid-area:4 / 2 / 5 / 5; padding:6px 0 0; border-top:1px solid #dce7f3; color:#e85b00; font-weight:600; }
.bm-city-services > section:first-of-type > ul > li > a:has(> span) > p:last-child > strong { font-size:clamp(14px,10cqw,24px); line-height:1.2; }
@media (max-width:480px) {
  .bm-city-services > section:first-of-type > ul:has(> li > a > span) { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px 8px; }
}

/* 城市首页优秀管家推荐 */
.bm-city-managers { container-type:inline-size; margin-top:clamp(28px,3vw,44px); color:#182c48; }
.bm-city-managers > h2 { display:flex; align-items:center; justify-content:center; gap:18px; margin:0; font-size:var(--bm-title-section); }
.bm-city-managers > h2::before,.bm-city-managers > h2::after { content:""; width:6%; height:2px; background:linear-gradient(90deg,transparent,#287bdf); }
.bm-city-managers > h2::after { transform:rotate(180deg); }
.bm-city-managers > p { margin:8px 0 24px; text-align:center; color:#586984; line-height:1.6; }
.bm-city-managers > ul { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin:0; padding:0; list-style:none; }
.bm-city-managers > ul > li { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); align-items:center; gap:6px 4px; padding:clamp(10px,1cqw,16px); border:1px solid #dbe5ef; border-radius:8px; background:#fff; }
.bm-city-managers > ul > li > img { grid-column:1; grid-row:1 / 4; align-self:start; display:block; width:100%; aspect-ratio:1; object-fit:cover; object-position:center 20%; border-radius:6px; }
.bm-city-managers > ul > li > p { grid-column:2 / -1; display:flex; align-items:center; gap:5px; margin:0; font-size:13px; line-height:1.5; }
.bm-city-managers > ul > li > strong { grid-column:2; grid-row:1; font-size:18px; color:#142438; }
.bm-city-managers > ul > li > span { grid-column:3; grid-row:1; justify-self:start; padding:1px 6px; background:#e7f1ff; color:#175baa; border-radius:4px; font-size:12px; }
.bm-city-managers > ul > li > p:first-of-type::before,.bm-city-managers > ul > li > p:nth-of-type(2)::before,.bm-city-managers > ul > li > a::before { content:""; flex:none; width:15px; height:15px; background-position:center; background-size:contain; background-repeat:no-repeat; }
.bm-city-managers > ul > li > p:first-of-type::before { background-image:url("data:image/svg+xml,%3Csvg%20viewBox=%220%200%2024%2024%22%20xmlns=%22http%3A//www.w3.org/2000/svg%22%20fill=%22none%22%20stroke=%22%232579dc%22%20stroke-width=%221.7%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M19%2010c0%205-7%2011-7%2011S5%2015%205%2010a7%207%200%201%201%2014%200Z%22/%3E%3Ccircle%20cx=%2212%22%20cy=%2210%22%20r=%222%22/%3E%3C/svg%3E"); }
.bm-city-managers > ul > li > p:nth-of-type(2)::before { background-image:url("data:image/svg+xml,%3Csvg%20viewBox=%220%200%2024%2024%22%20xmlns=%22http%3A//www.w3.org/2000/svg%22%20fill=%22none%22%20stroke=%22%232579dc%22%20stroke-width=%221.7%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Crect%20x=%223%22%20y=%227%22%20width=%2218%22%20height=%2214%22%20rx=%222%22/%3E%3Cpath%20d=%22M8%207V4h8v3M3%2012c5%203%2013%203%2018%200%22/%3E%3C/svg%3E"); }
.bm-city-managers > ul > li > a:nth-of-type(1)::before { background-image:url("data:image/svg+xml,%3Csvg%20viewBox=%220%200%2024%2024%22%20xmlns=%22http%3A//www.w3.org/2000/svg%22%20fill=%22none%22%20stroke=%22%232579dc%22%20stroke-width=%221.7%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M20%2011a8%208%200%200%201-11%207l-5%202%201-5a8%208%200%201%201%2015-4Z%22/%3E%3Cpath%20d=%22M8%2010h.1m4%200h.1m4%200h.1%22/%3E%3C/svg%3E"); }
.bm-city-managers > ul > li > a:nth-of-type(2)::before { background-image:url("data:image/svg+xml,%3Csvg%20viewBox=%220%200%2024%2024%22%20xmlns=%22http%3A//www.w3.org/2000/svg%22%20fill=%22none%22%20stroke=%22%232579dc%22%20stroke-width=%221.7%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22m3%2010%2018-7-5%2018-5-7-8-4Zm8%204L21%203%22/%3E%3C/svg%3E"); }
.bm-city-managers > ul > li > a:nth-of-type(3)::before { background-image:url("data:image/svg+xml,%3Csvg%20viewBox=%220%200%2024%2024%22%20xmlns=%22http%3A//www.w3.org/2000/svg%22%20fill=%22none%22%20stroke=%22%232579dc%22%20stroke-width=%221.7%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22m5%203%204%204-2%203a16%2016%200%200%200%207%207l3-2%204%204-2%202C11%2023%201%2013%202%206Z%22/%3E%3C/svg%3E"); }
.bm-city-managers > ul > li > p:last-of-type { grid-column:1 / -1; display:flex; align-items:center; gap:7px; margin:4px 0; padding:8px 10px; border-radius:5px; background:#edf4fe; font-size:15px; }
.bm-city-managers > ul > li > p:last-of-type::before { content:"“"; color:#398bf1; font:bold 23px/1 Georgia,serif; }
.bm-city-managers > ul > li > a { display:flex; align-items:center; justify-content:center; gap:3px; padding:8px 0; border:1px solid #dbe4ef; border-radius:5px; color:inherit; font-size:12px; text-decoration:none; }
.bm-city-managers > ul > li > a:is(:hover,:focus-visible) { border-color:#3883d9; color:#125ca9; }
/* 首页管家企业微信二维码弹窗 */
.bm-city-managers > dialog { box-sizing:border-box; width:min(320px,90vw); max-height:90dvh; padding:18px; border:0; border-radius:10px; background:#fff; color:#182c48; text-align:center; }
.bm-city-managers > dialog::backdrop { background:rgb(0 0 0 / 65%); }
.bm-city-managers > dialog > img { display:block; width:100%; max-height:58dvh; margin:12px auto; object-fit:contain; }
.bm-city-managers > dialog > form > button { min-height:40px; padding:0 24px; border:0; border-radius:5px; background:#175baa; color:#fff; font:inherit; cursor:pointer; }
@container (max-width:1050px) {
  .bm-city-managers > ul { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@container (max-width:550px) {
  .bm-city-managers > ul { grid-template-columns:minmax(0,1fr); }
  .bm-city-managers > ul > li > a { min-height:42px; box-sizing:border-box; }
}

/* 首页品牌和导航 */
.bm-home-header { background:#fff; color:#112c4b; }
.bm-home-header a { color:inherit; text-decoration:none; }
.bm-home-header a:focus-visible { outline:2px solid #135bbf; outline-offset:2px; }
.bm-home-bar { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:clamp(38px,3.3vw,48px); padding-inline:max(4.5%,calc((100% - 1320px) / 2)); background:#f2f4f7; }
.bm-home-bar > a { display:inline-flex; align-items:center; gap:8px; min-height:36px; color:#086bcf; font-size:clamp(16px,1.55vw,22px); font-weight:650; }
.bm-home-bar > a > svg { width:1em; height:1em; flex:none; }
.bm-home-bar > a > span { color:#465873; font-size:clamp(13px,1.25vw,17px); font-weight:500; }
.bm-home-brand { display:grid; grid-template-columns:minmax(160px,1.05fr) minmax(0,2fr) auto; align-items:center; gap:clamp(14px,2vw,32px); padding-block:clamp(20px,2.3vw,34px); }
.bm-home-brand > a:first-child { justify-self:start; }
.bm-home-brand > a:first-child > img { display:block; width:clamp(160px,19vw,260px); max-width:100%; height:auto; }
.bm-home-brand > div { text-align:center; border-inline:1px solid #d1d9e2; }
.bm-home-brand > div > strong { display:block; font-size:clamp(20px,2.15vw,30px); line-height:1.35; }
.bm-home-brand > div > ul { display:flex; justify-content:center; flex-wrap:wrap; gap:6px 0; padding:0; margin:10px 0 0; list-style:none; }
.bm-home-brand > div > ul > li { display:flex; align-items:center; gap:.4em; color:#4d607a; font-size:clamp(13px,1.2vw,17px); }
.bm-home-brand > div > ul > li + li { margin-left:.9em; padding-left:.9em; border-left:1px solid #d4dfec; }
.bm-home-brand > div > ul > li > svg { width:1.35em; height:1.35em; fill:none; stroke:#1680ed; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.bm-home-brand > a:last-child { display:flex; align-items:center; gap:12px; }
.bm-home-brand > a:last-child > img { display:block; width:86px; height:86px; object-fit:contain; }
.bm-home-brand > a:last-child > span { color:#4e617c; font-size:15px; }
.bm-home-header > nav > a,.bm-home-header > nav > button { display:none; }
.bm-home-header > nav { background:linear-gradient(100deg,#1685d0,#006bc3 28%,#006bc3); }
.bm-home-header > nav > ul { display:flex; flex-wrap:wrap; list-style:none; padding:0; margin-block:0; }
.bm-home-header > nav > ul > li { flex:1 1 0; min-width:max-content; }
.bm-home-header > nav > ul > li > a { display:grid; place-items:center; min-height:clamp(44px,4.3vw,60px); color:#fff; font-size:clamp(16px,1.7vw,24px); font-weight:600; }
.bm-home-header > nav > ul > li > a:hover { background:#005da9; }
.bm-home-header > nav > ul > li > a[aria-current="page"] { color:#0069b9; background:#cee8fa; }
.bm-home-header > nav > ul > li > a:focus-visible { outline:2px solid #102e50; outline-offset:-3px; }
@media (max-width:960px) {
  .bm-home-brand { grid-template-columns:auto 1fr; }
  .bm-home-brand > div { border-right:0; }
  .bm-home-brand > a:last-child { display:none; }
}
@media (max-width:620px) {
  .bm-home-bar { min-height:36px; gap:8px; }
  .bm-home-bar > a { gap:5px; font-size:15px; }
  .bm-home-bar > a > span { font-size:13px; }
  .bm-home-brand { grid-template-columns:minmax(0,1fr); gap:10px; padding-block:12px; }
  .bm-home-brand > a:first-child > img { width:140px; }
  .bm-home-brand > div { text-align:left; border:0; }
  .bm-home-brand > div > strong { font-size:19px; }
  .bm-home-brand > div > ul { justify-content:flex-start; margin-top:7px; }
  .bm-home-brand > div > ul > li { gap:4px; font-size:12px; }
  .bm-home-brand > div > ul > li + li { margin-left:7px; padding-left:7px; }
  .bm-home-header > nav > ul > li { min-width:4.5em; }
  .bm-home-header > nav > ul > li > a { min-height:44px; font-size:15px; }
}

/* 首页和服务列表的手机折叠导航 */
@media (max-width:960px) {
  .bm-home-header:has(> nav > button) > .bm-home-brand { display:none; }
  .bm-home-bar > a[href^="tel:"] { flex-wrap:wrap; justify-content:flex-end; }
  .bm-home-bar > a[href^="tel:"] > strong { white-space:nowrap; }
  .bm-home-header > nav > a { display:block; }
  html:has(> .bm-page) { scroll-padding-top:68px; }
  :is(.bm-header,.bm-home-header:has(> nav > button)) { position:sticky; top:0; z-index:10; border-bottom:1px solid #e9edf3; box-shadow:none; }
  :is(.bm-header,.bm-home-header:has(> nav > button)) > nav { display:flex; align-items:center; justify-content:space-between; width:auto; min-height:57px; background:#fff; padding:0 12px; }
  :is(.bm-header,.bm-home-header:has(> nav > button)) > nav > a > img { display:block; width:140px; height:auto; }
  :is(.bm-header,.bm-home-header:has(> nav > button)) > nav > button { position:relative; display:grid; place-items:center; width:36px; height:36px; border:0; border-radius:7px; background:#f0f3f8; color:#303749; cursor:pointer; }
  :is(.bm-header,.bm-home-header:has(> nav > button)) > nav > button > span,:is(.bm-header,.bm-home-header:has(> nav > button)) > nav > button::before,:is(.bm-header,.bm-home-header:has(> nav > button)) > nav > button::after { width:18px; height:2px; background:currentColor; }
  :is(.bm-header,.bm-home-header:has(> nav > button)) > nav > button::before,:is(.bm-header,.bm-home-header:has(> nav > button)) > nav > button::after { content:""; position:absolute; transform:translateY(-6px); }
  :is(.bm-header,.bm-home-header:has(> nav > button)) > nav > button::after { transform:translateY(6px); }
  :is(.bm-header,.bm-home-header:has(> nav > button)) > nav > button[aria-expanded="true"] > span { visibility:hidden; }
  :is(.bm-header,.bm-home-header:has(> nav > button)) > nav > button[aria-expanded="true"]::before { transform:rotate(45deg); }
  :is(.bm-header,.bm-home-header:has(> nav > button)) > nav > button[aria-expanded="true"]::after { transform:rotate(-45deg); }
  :is(.bm-header,.bm-home-header:has(> nav > button)) > nav > ul { position:absolute; inset:100% 0 auto; display:none; width:auto; margin:0; box-sizing:border-box; max-height:calc(100dvh - 58px); overflow:auto; padding:15px 22px; background:rgb(255 255 255 / 97%); box-shadow:0 6px 14px rgb(28 48 78 / 7%); }
  :is(.bm-header,.bm-home-header:has(> nav > button)) > nav > button[aria-expanded="true"] ~ ul { display:grid; gap:4px; }
  :is(.bm-header,.bm-home-header:has(> nav > button)) > nav > ul > .bm-mobile-home { display:block; }
  :is(.bm-header,.bm-home-header:has(> nav > button)) > nav > ul > li > a { display:flex; align-items:center; min-height:0; height:45px; justify-content:flex-start; padding:0 15px; color:#303749; font-size:15px; font-weight:500; }
  :is(.bm-header,.bm-home-header:has(> nav > button)) > nav > ul > li > a:hover,:is(.bm-header,.bm-home-header:has(> nav > button)) > nav > ul > li > a[aria-current],:is(.bm-header,.bm-home-header:has(> nav > button)) > nav > ul > li > a:focus-visible { border-radius:8px; background:#edf1fc; color:#536cfc; }
}

/* 阿姨档案首屏 */
.bm-profile { display:grid; grid-template-columns:minmax(150px,.68fr) minmax(0,1.55fr) minmax(235px,1fr); align-items:center; gap:clamp(20px,3vw,44px); padding:clamp(18px,3vw,40px); background:#fff; border-block:1px solid #dae4ef; }
.bm-profile > a { display:block; justify-self:start; width:100%; max-width:230px; }
.bm-profile > a > img { display:block; width:100%; height:auto; }
.bm-profile > header > small { display:block; color:#63758a; font-size:13px; font-variant-numeric:tabular-nums; }
.bm-profile > header > h1 { margin:6px 0; color:#102c4a; font-size:clamp(32px,3.5vw,50px); line-height:1.2; }
.bm-profile > header > p { margin:0; color:#354f69; font-size:clamp(16px,1.45vw,21px); }
.bm-profile > header > ul { display:flex; flex-wrap:wrap; gap:7px 14px; margin:16px 0; padding:0; list-style:none; }
.bm-profile > header > ul > li { color:#246959; font-size:13px; white-space:nowrap; }
.bm-profile > header > ul > li::before { content:"✓"; margin-right:4px; font-weight:700; }
.bm-profile > header > dl { display:grid; grid-template-columns:max-content 1fr; align-items:baseline; gap:6px 14px; margin:0 0 20px; padding-top:16px; border-top:1px solid #e0e8ef; font-size:14px; }
.bm-profile > header > dl > dt { color:#5d7084; }
.bm-profile > header > dl > dd { margin:0; }
.bm-profile > header > dl > dd:first-of-type { color:#ad4d28; }
.bm-profile > header > dl > dd > strong { font-size:clamp(22px,2.1vw,30px); line-height:1.2; }
.bm-profile > header > a { display:inline-block; padding:11px 28px; border-radius:5px; background:#164f82; color:#fff; font-weight:600; text-decoration:none; }
.bm-profile > header > a:hover { background:#103f6a; }
.bm-profile > header > small:last-child { margin-top:10px; }
.bm-profile > aside { align-self:stretch; align-content:center; padding-left:clamp(18px,2.4vw,34px); border-left:1px solid #dae4ef; }
.bm-profile > aside > h2 { margin:0 0 12px; color:#536981; font-size:15px; }
.bm-profile > aside > strong { display:block; margin-bottom:3px; font-size:22px; }
.bm-profile > aside > a { color:#164f82; font-size:21px; font-weight:650; text-decoration:none; }
.bm-profile > aside > p { margin:5px 0; color:#4e657a; font-size:14px; line-height:1.6; }
.bm-profile > aside > figure { display:flex; align-items:center; gap:12px; margin:12px 0; color:#39536a; font-size:14px; }
.bm-profile > aside > figure > img { display:block; width:80px; height:80px; object-fit:contain; }
.bm-profile > aside > nav { display:flex; flex-wrap:wrap; gap:6px 12px; }
.bm-profile > aside > nav > a { color:#245887; font-size:13px; text-underline-offset:3px; }
.bm-profile-note { margin:10px 0 24px; color:#586b80; font-size:13px; line-height:1.6; }
@media (max-width:900px) {
  .bm-profile { grid-template-columns:minmax(135px,.65fr) minmax(0,1.4fr); }
  .bm-profile > aside { grid-column:1 / -1; padding:18px 0 0; border-left:0; border-top:1px solid #dae4ef; }
}
@media (max-width:580px) {
  .bm-profile { grid-template-columns:minmax(78px,29%) minmax(0,1fr); align-items:start; gap:14px; padding:14px; }
  .bm-profile > header > h1 { font-size:28px; }
  .bm-profile > header > ul { gap:4px 8px; margin:10px 0; }
  .bm-profile > header > dl { grid-template-columns:1fr; gap:2px; padding-top:10px; margin-bottom:12px; }
  .bm-profile > header > dl > dt:not(:first-child) { margin-top:6px; }
  .bm-profile > header > a { padding:10px 18px; }
}

/* 档案详情与工作经历 */
.bm-profile-body { display:grid; grid-template-columns:minmax(0,2fr) minmax(270px,.85fr); align-items:start; gap:clamp(16px,2vw,28px); }
.bm-profile-details,.bm-related { padding:clamp(16px,2.2vw,30px); background:#fff; }
.bm-profile-details > h2,.bm-related > header > h2 { margin:0; color:#163954; font-size:clamp(20px,1.7vw,25px); line-height:1.4; }
.bm-profile-details > dl { display:grid; grid-template-columns:auto minmax(0,1fr) auto minmax(0,1fr); gap:0 14px; margin:16px 0 28px; border-top:1px solid #dce5ec; }
.bm-profile-details > dl > dt,.bm-profile-details > dl > dd { margin:0; padding:10px 0; border-bottom:1px solid #e7edf2; font-size:15px; line-height:1.7; }
.bm-profile-details > dl > dt { color:#576d82; }
.bm-profile-details > dl:last-child { grid-template-columns:auto minmax(0,1fr); margin-bottom:0; }
.bm-profile-details > dl:last-child > dt { color:#20415d; font-weight:600; }
@media (max-width:800px) {
  .bm-profile-body { grid-template-columns:minmax(0,1fr); }
}
@media (max-width:580px) {
  .bm-profile-details > dl { grid-template-columns:auto minmax(0,1fr); }
}

/* 相关保姆列表 */
.bm-related > header { display:flex; align-items:baseline; justify-content:space-between; }
.bm-related > header > a { color:#245887; font-size:14px; text-decoration:none; }
.bm-related > ul { margin:14px 0 0; padding:0; list-style:none; }
.bm-related > ul > li { border-top:1px solid #e1e9ef; }
.bm-related > ul > li > a { display:grid; grid-template-columns:68px 1fr; align-content:center; gap:2px 14px; padding:12px 0; color:inherit; text-decoration:none; }
.bm-related > ul > li > a > img { grid-row:span 4; display:block; width:68px; height:88px; object-fit:cover; object-position:center 25%; }
.bm-related > ul > li > a > span,.bm-related > ul > li > a > time { color:#5b7084; font-size:13px; }
.bm-related > ul > li > a > b { color:#a54926; font-size:15px; }
.bm-related > ul > li > a:hover > strong { color:#165b94; text-decoration:underline; }

/* 服务列表：后台直接输出筛选行，本地月嫂预览通过组件输出。 */
main:has(> .bm-menu-list) { width:91%; max-width:1320px; margin-inline:auto; padding-block:clamp(16px,2vw,28px); }
:is(bm-yuesao-list,bm-baomu-list,bm-guzhu-list,main:has(> .bm-menu-list)) { display:block; container-type:inline-size; --list-accent:#df203d; --list-tint:#fff1f3; }
main:has(> .bm-menu-list a[href*="guzhu?"]),main:has(> table.table),bm-guzhu-list:has(> table.table) { --list-accent:#008acb; --list-tint:#ecf7ff; }

/* 服务列表筛选 */
:is(bm-yuesao-list,bm-baomu-list,bm-guzhu-list,main:has(> .bm-menu-list)) > .bm-menu-list { display:flex; align-items:baseline; gap:8px; padding:10px; border:1px solid #ddd; border-block-width:0; background:#fff; font-size:15px; line-height:1.5; }
:is(bm-yuesao-list,bm-baomu-list,bm-guzhu-list,main:has(> .bm-menu-list)) > .bm-menu-list:first-child { padding-top:16px; border-top-width:1px; }
:is(bm-yuesao-list,bm-baomu-list,bm-guzhu-list,main:has(> .bm-menu-list)) > .bm-menu-list + .bm-menu-list { border-top:1px dashed #ddd; }
:is(bm-yuesao-list,bm-baomu-list,bm-guzhu-list,main:has(> .bm-menu-list)) > .bm-menu-list:not(:has(+ .bm-menu-list)) { padding-bottom:16px; border-bottom:4px solid #ddd; }
:is(bm-yuesao-list,bm-baomu-list,bm-guzhu-list,main:has(> .bm-menu-list)) > .bm-menu-list > .name { flex:none; width:auto; padding:0; color:var(--list-accent); font-weight:700; white-space:nowrap; }
:is(bm-yuesao-list,bm-baomu-list,bm-guzhu-list,main:has(> .bm-menu-list)) > .bm-menu-list > .item { display:flex; flex:1; flex-wrap:wrap; gap:4px 2px; min-width:0; width:auto; }
:is(bm-yuesao-list,bm-baomu-list,bm-guzhu-list,main:has(> .bm-menu-list)) > .bm-menu-list > .item > a { margin:0; padding:4px 6px; border-radius:4px; color:#24354a; text-decoration:none; white-space:nowrap; }
:is(bm-yuesao-list,bm-baomu-list,bm-guzhu-list,main:has(> .bm-menu-list)) > .bm-menu-list > .item > a:is(:hover,:focus-visible) { color:var(--list-accent); background:var(--list-tint); }
:is(bm-yuesao-list,bm-baomu-list,bm-guzhu-list,main:has(> .bm-menu-list)) > .bm-menu-list > .item > a.active { color:#fff; background:var(--list-accent); }

/* 保姆与月嫂资料卡片 */
:is(bm-yuesao-list,bm-baomu-list,bm-guzhu-list,main:has(> .bm-menu-list)) > .row { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; margin:12px 0 0; padding:9px 8px; border:1px solid #ddd; border-top:5px solid var(--list-accent); background:#fff; }
:is(bm-yuesao-list,bm-baomu-list,bm-guzhu-list,main:has(> .bm-menu-list)) > .row > .col-xs-3 { display:grid; min-width:0; }
:is(bm-yuesao-list,bm-baomu-list,bm-guzhu-list,main:has(> .bm-menu-list)) > .row:empty::before { content:"暂无符合当前筛选条件的人员"; grid-column:1 / -1; padding:20px; color:#556477; text-align:center; }
:is(bm-yuesao-list,bm-baomu-list,bm-guzhu-list,main:has(> .bm-menu-list)) > .row > .col-xs-3 > .bm-border { display:grid; grid-template-columns:clamp(88px,10cqw,110px) minmax(0,1fr); align-items:start; gap:10px; padding:4px; border:1px dashed #d5d5d5; }
:is(bm-yuesao-list,bm-baomu-list,bm-guzhu-list,main:has(> .bm-menu-list)) .bmhead > a,:is(bm-yuesao-list,bm-baomu-list,bm-guzhu-list,main:has(> .bm-menu-list)) .bmhead > a > img { display:block; }
:is(bm-yuesao-list,bm-baomu-list,bm-guzhu-list,main:has(> .bm-menu-list)) .bmhead > a > img { width:100%; aspect-ratio:104 / 121; object-fit:cover; }
:is(bm-yuesao-list,bm-baomu-list,bm-guzhu-list,main:has(> .bm-menu-list)) .bminfo > h5 { margin:3px 0 8px; font-size:15px; line-height:1.5; font-weight:500; }
:is(bm-yuesao-list,bm-baomu-list,bm-guzhu-list,main:has(> .bm-menu-list)) .bminfo > h5 > a { color:var(--list-accent); text-decoration:none; }
:is(bm-yuesao-list,bm-baomu-list,bm-guzhu-list,main:has(> .bm-menu-list)) .bminfo > h5 > a:is(:hover,:focus-visible) { text-decoration:underline; }
:is(bm-yuesao-list,bm-baomu-list,bm-guzhu-list,main:has(> .bm-menu-list)) .bminfo > p { margin:0; color:#556477; font-size:13px; line-height:1.65; overflow-wrap:anywhere; }
:is(bm-yuesao-list,bm-baomu-list,bm-guzhu-list,main:has(> .bm-menu-list)) .bminfo > .tag2 { color:#0775b7; }
:is(bm-yuesao-list,bm-baomu-list,bm-guzhu-list,main:has(> .bm-menu-list)) .bminfo > .tag2:empty { display:none; }
@container (max-width:1000px) {
  :is(bm-yuesao-list,bm-baomu-list,bm-guzhu-list,main:has(> .bm-menu-list)) > .row { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@container (max-width:750px) {
  :is(bm-yuesao-list,bm-baomu-list,bm-guzhu-list,main:has(> .bm-menu-list)) > .row { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@container (max-width:495px) {
  :is(bm-yuesao-list,bm-baomu-list,bm-guzhu-list,main:has(> .bm-menu-list)) > .bm-menu-list { align-items:flex-start; gap:4px; padding-inline:8px; font-size:14px; }
  :is(bm-yuesao-list,bm-baomu-list,bm-guzhu-list,main:has(> .bm-menu-list)) > .bm-menu-list > .name { line-height:32px; }
  :is(bm-yuesao-list,bm-baomu-list,bm-guzhu-list,main:has(> .bm-menu-list)) > .bm-menu-list > .item { gap:2px; }
  :is(bm-yuesao-list,bm-baomu-list,bm-guzhu-list,main:has(> .bm-menu-list)) > .bm-menu-list > .item > a { padding:5px; line-height:22px; }
  :is(bm-yuesao-list,bm-baomu-list,bm-guzhu-list,main:has(> .bm-menu-list)) > .row { grid-template-columns:minmax(0,1fr); }
  :is(bm-yuesao-list,bm-baomu-list,bm-guzhu-list,main:has(> .bm-menu-list)) > .row > .col-xs-3 > .bm-border { grid-template-columns:96px 1fr; }
}

/* 找工作招聘表：窄屏在表格内部横向滚动 */
:is(bm-guzhu-list,main:has(> .bm-menu-list)) > table.table { width:100%; margin-top:12px; border-collapse:collapse; background:#fff; color:#27394d; font-size:15px; line-height:1.5; }
:is(bm-guzhu-list,main:has(> .bm-menu-list)) > .table > thead > tr > th { padding:10px; border:1px solid #c8dfed; background:var(--list-accent); color:#fff; text-align:left; white-space:nowrap; }
:is(bm-guzhu-list,main:has(> .bm-menu-list)) > .table > tbody > tr > td { padding:9px 10px; border:1px solid #ddd; }
:is(bm-guzhu-list,main:has(> .bm-menu-list)) > .table > tbody > tr:hover { background:#f2f8fc; }
:is(bm-guzhu-list,main:has(> .bm-menu-list)) > .table > tbody > tr > td > a { color:#176597; text-underline-offset:3px; }
@container (max-width:750px) {
  :is(bm-guzhu-list,main:has(> .bm-menu-list)) > table.table { display:block; max-width:100%; overflow-x:auto; overscroll-behavior-x:contain; }
  :is(bm-guzhu-list,main:has(> .bm-menu-list)) > .table > tbody > tr > td { white-space:nowrap; }
}
@container (max-width:495px) {
  :is(bm-guzhu-list,main:has(> .bm-menu-list)) > table.table { font-size:14px; }
  :is(bm-guzhu-list,main:has(> .bm-menu-list)) > .table > thead > tr > th,:is(bm-guzhu-list,main:has(> .bm-menu-list)) > .table > tbody > tr > td { padding:9px 8px; }
}

/* 服务列表分页 */
:is(bm-yuesao-list,bm-baomu-list,bm-guzhu-list,main:has(> .bm-menu-list)) > .page > .pagination { display:flex; flex-wrap:wrap; justify-content:center; align-items:center; margin-top:22px; color:#354157; font-size:14px; }
:is(bm-yuesao-list,bm-baomu-list,bm-guzhu-list,main:has(> .bm-menu-list)) .pagination > label { margin-right:20px; }
:is(bm-yuesao-list,bm-baomu-list,bm-guzhu-list,main:has(> .bm-menu-list)) .pagination > :is(a,span,b) { padding:8px 12px; margin-left:-1px; border:1px solid #ddd; background:white; font-weight:400; }
:is(bm-yuesao-list,bm-baomu-list,bm-guzhu-list,main:has(> .bm-menu-list)) .pagination > a { color:#315779; text-decoration:none; }
:is(bm-yuesao-list,bm-baomu-list,bm-guzhu-list,main:has(> .bm-menu-list)) .pagination > a:is(:hover,:focus-visible) { background:#eff6fc; }
:is(bm-yuesao-list,bm-baomu-list,bm-guzhu-list,main:has(> .bm-menu-list)) .pagination > span { color:#6d7580; }
:is(bm-yuesao-list,bm-baomu-list,bm-guzhu-list,main:has(> .bm-menu-list)) .pagination > b { color:white; border-color:#337ab7; background:#337ab7; }
@container (max-width:495px) {
  :is(bm-yuesao-list,bm-baomu-list,bm-guzhu-list,main:has(> .bm-menu-list)) .pagination > label { flex-basis:100%; margin:0 0 8px; text-align:center; }
  :is(bm-yuesao-list,bm-baomu-list,bm-guzhu-list,main:has(> .bm-menu-list)) .pagination > :is(a,span,b) { padding:7px 9px; }
}

/* 网站公共页脚 */
.bm-footer { position:relative; margin-top:clamp(32px,4vw,72px); padding:3.58em 0 4.58em; background:#fff; color:#354157; font-family:"Microsoft YaHei","PingFang SC",sans-serif; font-size:clamp(14px,1.27vw,18.5px); line-height:1.42; }
.bm-footer > div:first-child { display:grid; grid-template-columns:34.3% 19.2% 19.7% 26.8%; padding-bottom:3em; }
.bm-footer > div:first-child > * { min-width:0; }
.bm-footer > div:first-child >:not(:first-child) { padding-left:clamp(20px,3.3vw,48px); border-left:1px solid #d5dce6; }
.bm-footer > div:first-child > section:last-child { padding-left:clamp(20px,3vw,44px); }
.bm-footer h2 { display:flex; align-items:center; gap:.45em; margin:0 0 .96em; color:#10254f; font-size:var(--bm-title-column); line-height:1.3; }
.bm-footer > div:first-child >:not(:first-child) > h2::before { content:""; flex:none; width:.21em; height:.94em; border-radius:2px; background:#1680ff; }
.bm-footer ul { padding:0; margin:0; list-style:none; }
.bm-footer a { color:inherit; text-decoration:none; }
.bm-footer > div:first-child > section:first-child { padding-right:1.3em; }
.bm-footer > div:first-child > section:first-child > h2 { margin:.12em 0 .46em; color:#0b2d6b; font-size:var(--bm-title-section); line-height:1.3; }
.bm-footer > div:first-child > section:first-child > p { margin:0 0 1.52em; font-size:1.12em; line-height:1.65; }
.bm-footer > div:first-child > section:first-child > p > strong { color:#172f59; }
.bm-footer > div:first-child > section:first-child > ul { display:flex; flex-wrap:wrap; gap:.55em; }
.bm-footer > div:first-child > section:first-child > ul > li { display:flex; align-items:center; gap:.6em; padding:.54em .9em; border-radius:2em; background:#eaf3ff; color:#152e55; font-size:.88em; font-weight:600; white-space:nowrap; }
.bm-footer > div:first-child > section:first-child > ul > li > svg { width:1.53em; height:1.53em; fill:none; stroke:#147ef2; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.bm-footer > div:first-child > nav > ul { display:grid; width:6.72em; margin-left:.58em; gap:.54em; }
.bm-footer > div:first-child > nav > ul > li { display:flex; align-items:center; justify-content:space-between; }
.bm-footer > div:first-child > nav > ul > li::after { content:""; display:inline-block; width:.33em; height:.33em; border:solid #45526a; border-width:2px 2px 0 0; transform:rotate(45deg); }
.bm-footer > div:first-child > section:nth-child(3) > ul { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); row-gap:1.38em; margin:.15em 0 0 .52em; }
.bm-footer > div:first-child > section > address { display:grid; gap:1.16em; font-style:normal; }
.bm-footer > div:first-child > section > address > p { display:flex; align-items:flex-start; gap:.95em; margin:0; }
.bm-footer > div:first-child > section > address > p > svg { flex:none; width:1.48em; height:1.48em; fill:none; stroke:#137cf4; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
.bm-footer > div:first-child > section > address > p:first-child > svg { fill:#137cf4; }
.bm-footer > div:first-child > section > address > p > strong { color:#0b2e70; font-size:1.5em; line-height:1.15; }
.bm-footer > div:nth-child(2) { display:flex; align-items:center; justify-content:space-between; gap:1em; padding-top:1.58em; border-top:1px solid #d3dbe5; color:#455167; font-size:.92em; }
.bm-footer > div:nth-child(2) > small { font-size:inherit; }
.bm-footer > div:nth-child(2) > ul { display:flex; flex-wrap:wrap; }
.bm-footer > div:nth-child(2) > ul > li + li::before { content:""; display:inline-block; width:1px; height:1.1em; margin:0 1.15em; background:#8c99ad; vertical-align:-.17em; }
.bm-footer > .bm-footer-waves { position:absolute; inset:auto 0 0; width:100%; height:3.2em; pointer-events:none; }
.bm-footer a:hover,.bm-footer a:focus-visible { color:#076bff; text-decoration:underline; }
@media (max-width:1000px) {
  .bm-footer { font-size:16px; }
  .bm-footer > div:first-child { grid-template-columns:repeat(2,minmax(0,1fr)); gap:30px 0; }
  .bm-footer > div:first-child >:nth-child(3) { padding-left:0; border-left:0; }
  .bm-footer > div:first-child > section:first-child > p > br { display:none; }
}
@media (max-width:640px) {
  .bm-footer { padding:32px 0 58px; font-size:15px; }
  .bm-footer > div:first-child { grid-template-columns:1fr 1fr; gap:26px 12px; padding-bottom:26px; }
  .bm-footer > div:first-child > section:first-child,.bm-footer > div:first-child > section:last-child { grid-column:1 / -1; }
  .bm-footer > div:first-child >:not(:first-child) { padding:0; border:0; }
  .bm-footer > div:first-child > section:first-child { padding:0; }
  .bm-footer > div:first-child > section:first-child > p { margin-bottom:14px; }
  .bm-footer > div:nth-child(2) { flex-direction:column; align-items:flex-start; gap:8px; }
  .bm-footer > .bm-footer-waves { height:30px; }
}

/* 保姆详情与专属管家 */
.bm-baomu-detail { display:grid; grid-template-columns:minmax(0,2.04fr) minmax(0,1fr); gap:10px 1.5%; margin-top:32px; padding:6px 3px 3px; background:linear-gradient(120deg,#eff5fc,#eaf3fe); color:#263249; font-size:clamp(12px,1.22vw,16px); }
.bm-baomu-detail a { color:inherit; text-decoration:none; }
.bm-baomu-detail > nav { grid-column:1 / -1; display:flex; align-items:center; flex-wrap:wrap; gap:6px; padding-inline:6px; font-size:.92em; }
.bm-baomu-detail > nav > strong { font-weight:500; }
.bm-baomu-detail > article,.bm-baomu-detail > aside { border-radius:10px; background:#fff; box-shadow:0 2px 9px rgb(36 80 147 / 9%); }
.bm-baomu-detail > article { display:grid; grid-template-columns:30% minmax(0,1fr); align-items:center; gap:8px 2%; padding:clamp(10px,1.2vw,16px); }
.bm-baomu-detail > article > figure { position:relative; grid-row:1 / 5; align-self:stretch; overflow:hidden; min-height:clamp(216px,25vw,325px); margin:0; border-radius:8px; background:#eae9e7; }
.bm-baomu-detail > article > figure > img { position:absolute; inset:0; width:100%; height:100%; object-fit:fill; }
.bm-baomu-detail > article > header { display:flex; flex-wrap:wrap; align-items:center; gap:4px 16px; padding-inline:2%; }
.bm-baomu-detail > article > header > h2 { margin:0; color:#0669bd; font-size:clamp(24px,2.9vw,38px); line-height:1.25; }
.bm-baomu-detail > article ul { padding:0; margin:0; list-style:none; }
.bm-baomu-detail > article > header > ul { display:flex; flex-wrap:wrap; width:100%; row-gap:5px; }
.bm-baomu-detail > article > header > ul > li { display:flex; align-items:center; gap:4px; line-height:1.15; }
.bm-baomu-detail > article > header > ul > li + li { margin-left:2.6%; padding-left:2.6%; border-left:1px solid #d7dfe8; }
.bm-baomu-detail > article > header > ul > li::before { content:"✓"; display:grid; place-items:center; width:1em; height:1em; border:1px solid currentColor; border-radius:50%; color:#20a34b; font-size:.85em; }
/* 保姆服务条件：字段过长时在各自卡片内换行 */
.bm-baomu-detail > article > ul { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,.95fr) minmax(0,1.38fr); gap:6px; }
.bm-baomu-detail > article > ul > li { display:grid; align-content:center; gap:4px; padding:8px 4px 8px 11%; min-height:clamp(46px,5.5vw,74px); border-radius:6px; background:linear-gradient(125deg,#eff5fd,#e7f1fd); }
.bm-baomu-detail > article > ul > li > strong { color:#000; font-size:clamp(17px,2.15vw,29px); line-height:1.28; overflow-wrap:anywhere; }
/* 月嫂和保姆详情的期望薪资均在服务条件末项 */
.bm-baomu-detail > article > ul > li:last-child > strong { color:#d92323; }
.bm-baomu-detail > article > p { display:flex; align-items:center; flex-wrap:wrap; row-gap:5px; margin:0 2%; }
.bm-baomu-detail > article > p > span + span { margin-left:4%; padding-left:4%; border-left:1px solid #d7dfe8; }
.bm-baomu-detail > article > footer { display:flex; gap:12px; }
.bm-baomu-detail > article > footer { margin-inline:2%; }
.bm-baomu-detail > article > footer > a { display:flex; flex:1; justify-content:center; align-items:center; gap:8px; min-height:clamp(36px,3.8vw,49px); border-radius:5px; background:linear-gradient(135deg,#2096eb,#0564df); color:white; font-size:1.3em; font-weight:700; }
.bm-baomu-detail > article > footer > a:last-child { border:1px solid #0776f6; color:#0875e8; background:white; }
.bm-baomu-detail > article > footer > a > svg { width:1.35em; height:1.35em; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.bm-baomu-detail > aside { display:grid; grid-template-rows:auto 1fr auto auto; align-items:center; overflow:hidden; padding-bottom:clamp(14px,1.6vw,24px); color:#132c49; }
.bm-baomu-detail > aside > h3 { display:flex; align-items:center; gap:.5em; margin:0; padding:.45em 5%; background:#e3effd; font-size:1.45em; }
.bm-baomu-detail > aside > h3::before { content:""; width:4px; height:.9em; border-radius:2px; background:#0879ef; }
.bm-baomu-detail > aside > div { display:grid; grid-template-columns:minmax(40px,22fr) minmax(max-content,40fr) minmax(56px,30fr); align-items:center; gap:3%; padding:clamp(12px,1.7vw,22px) 5%; }
.bm-baomu-detail > aside > div > img { width:100%; aspect-ratio:1; border-radius:50%; object-fit:cover; object-position:center top; }
.bm-baomu-detail > aside > div > p { display:grid; gap:4px; margin:0; }
.bm-baomu-detail > aside > div > p > strong { font-size:1.35em; }
.bm-baomu-detail > aside > div > p > a { display:flex; align-items:center; gap:4px; color:#0066cf; font-weight:700; white-space:nowrap; }
.bm-baomu-detail > aside > div > p > a > svg { width:1em; height:1em; fill:currentColor; }
.bm-baomu-detail > aside > div > a { display:grid; justify-items:center; gap:3px; padding-left:10%; border-left:1px solid #dbe4ef; font-size:.93em; }
.bm-baomu-detail > aside > div > a > img { display:block; width:100%; max-width:96px; height:auto; }
.bm-baomu-detail > aside > dl { display:grid; grid-template-columns:max-content minmax(0,1fr); gap:4px; padding:12px 2%; margin:0 3.5%; border-top:1px solid #dbe4ef; line-height:1.55; }
.bm-baomu-detail > aside > dl > dt { display:flex; align-items:baseline; gap:6px; }
.bm-baomu-detail > aside > dl > dt > svg,.bm-baomu-detail > aside > nav > a > svg { width:1.2em; height:1.2em; fill:none; stroke:#0879ef; stroke-width:1.65; stroke-linecap:round; stroke-linejoin:round; }
.bm-baomu-detail > aside > dl > dt > svg { align-self:start; margin-top:.15em; }
.bm-baomu-detail > aside > dl > dd { margin:0; }
.bm-baomu-detail > aside > dl > dd:first-of-type { font-weight:700; }
.bm-baomu-detail > aside > nav { display:flex; gap:3%; margin:0 3.5%; }
.bm-baomu-detail > aside > nav > a { display:flex; align-items:center; justify-content:center; flex:1; gap:.45em; min-height:clamp(36px,4vw,52px); border-radius:7px; background:#e3effd; color:#0066cf; font-size:1.06em; font-weight:700; }
.bm-baomu-detail a:hover { text-decoration:underline; }
@media (max-width:850px) {
  .bm-baomu-detail { grid-template-columns:minmax(0,1fr); font-size:14px; }
  .bm-baomu-detail > aside > div { grid-template-columns:min(22%,88px) minmax(max-content,1fr) min(25%,100px); }
}
@media (max-width:600px) {
  .bm-baomu-detail > article { grid-template-columns:25% minmax(0,1fr); gap:12px 10px; }
  .bm-baomu-detail > article > figure { grid-row:1; min-height:112px; }
  .bm-baomu-detail > article > header { gap:8px; padding:0; }
  .bm-baomu-detail > article > header > ul { display:grid; grid-template-columns:repeat(2,max-content); gap:7px; font-size:12px; }
  .bm-baomu-detail > article > header > ul > li + li { padding:0; margin:0; border:0; }
  .bm-baomu-detail > article > :is(ul,p,footer) { grid-column:1 / -1; }
  .bm-baomu-detail > article > ul { gap:4px; }
  .bm-baomu-detail > article > ul > li { padding-inline:6px; font-size:12px; }
  .bm-baomu-detail > article > ul > li > strong { font-size:clamp(14px,4vw,21px); }
  .bm-baomu-detail > article > p { margin:0; font-size:12px; }
  .bm-baomu-detail > article > p > span + span { padding-left:5px; margin-left:5px; }
  .bm-baomu-detail > article > footer { margin:0; }
}

/* 保姆详情下方的工作资料 */
.bm-baomu-work { display:grid; grid-template-columns:minmax(0,1fr); gap:12px; margin-top:12px; color:#263249; }
.bm-baomu-work > section { background:#fff; }
.bm-baomu-work > section > h3 { display:flex; align-items:center; gap:10px; padding:10px 16px; margin:0; background:linear-gradient(105deg,#f0f6fc,#e7f1fc); color:#153a65; font-size:clamp(16px,1.6vw,21px); line-height:1.3; }
.bm-baomu-work > section > h3 > svg { width:1.2em; height:1.2em; fill:none; stroke:#0879e6; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.bm-baomu-work > section > dl { display:grid; grid-template-columns:repeat(2,5.5em minmax(0,1fr)); margin:4px 20px 10px; font-size:clamp(14px,1.2vw,16px); line-height:1.55; }
.bm-baomu-work > section > dl > :is(dt,dd) { margin:0; padding:10px 0; }
.bm-baomu-work > section > dl > dt { color:#52677f; }
.bm-baomu-work > section > dl > dd { padding-right:12px; color:#19334e; font-weight:500; }
.bm-baomu-work > section > dl > :nth-child(n+5) { border-top:1px solid #e8eef4; }
/* 工作介绍兼容后台返回的列表和连续段落 */
.bm-baomu-work > section:nth-child(2) > p { display:list-item; list-style:disc outside; margin:6px 16px 6px 32px; font-size:clamp(13px,1.2vw,16px); line-height:1.6; overflow-wrap:anywhere; }
.bm-baomu-work > section:nth-child(2) > p:first-of-type { margin-top:12px; }
.bm-baomu-work > section:nth-child(2) > p:last-of-type { margin-bottom:12px; }
.bm-baomu-work > section:nth-child(2) > p::marker,.bm-baomu-work > section:nth-child(2) > ul > li::marker { color:#0879e6; }
.bm-baomu-work > section:nth-child(2) > ul { display:grid; gap:6px; padding:0 16px 0 32px; margin:12px 0; font-size:clamp(13px,1.2vw,16px); line-height:1.6; }
/* 线上月嫂工作介绍：正文分段显示蓝点，隐藏末尾空段落 */
.bm-baomu-work > section:nth-child(2) > ul > p { display:list-item; list-style:disc outside; margin:0; overflow-wrap:anywhere; }
.bm-baomu-work > section:nth-child(2) > ul > p::marker { color:#0879e6; }
.bm-baomu-work > section:nth-child(2) > ul > p:empty { display:none; }
/* 工作照片按可用宽度自动分列 */
.bm-baomu-work > section:last-child > div { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,112px),1fr)); gap:clamp(14px,2vw,24px); padding:32px 16px; }
.bm-baomu-work > section:last-child > div > button { min-width:0; padding:0; border:0; border-radius:7px; background:transparent; cursor:zoom-in; }
.bm-baomu-work > section:last-child > div img { display:block; width:100%; aspect-ratio:4 / 5; border-radius:7px; object-fit:cover; }
.bm-baomu-work > section:last-child > div > img:last-child,.bm-baomu-work > section:last-child > div > button > img[src$="/service6.png"] { object-position:right; }
/* 工作照片大图预览 */
.bm-baomu-work > section > dialog { max-width:94vw; max-height:94dvh; padding:0; border:0; background:transparent; }
.bm-baomu-work > section > dialog::backdrop { background:rgb(0 0 0 / 82%); }
.bm-baomu-work > section > dialog > button { display:block; width:44px; height:44px; margin:0 0 4px auto; border:0; border-radius:50%; background:#263249; color:#fff; font:28px/1 sans-serif; cursor:pointer; }
.bm-baomu-work > section > dialog > img { display:block; max-width:94vw; max-height:calc(94dvh - 48px); width:auto; height:auto; border-radius:7px; }
/* 工作照片大图左右切换按钮固定在屏幕两侧中央 */
.bm-baomu-work > section > dialog > button[data-step] { position:fixed; top:50%; transform:translateY(-50%); display:grid; place-items:center; padding:0; margin:0; background:rgb(21 35 55 / 78%); font:36px/1 sans-serif; }
.bm-baomu-work > section > dialog > button[data-step="-1"] { left:8px; }
.bm-baomu-work > section > dialog > button[data-step="1"] { right:8px; }
.bm-baomu-work > section > dialog > button[data-step]:is(:hover,:focus-visible) { background:#153a65; }
@media (max-width:600px) {
  .bm-baomu-work { gap:10px; margin-top:10px; }
  .bm-baomu-work > section > h3 { gap:6px; padding-inline:8px; }
  .bm-baomu-work > section > dl { grid-template-columns:5.5em minmax(0,1fr); margin-inline:12px; }
  .bm-baomu-work > section > dl > :is(dt,dd) { padding-block:8px; }
  .bm-baomu-work > section > dl > :nth-child(n+3) { border-top:1px solid #e8eef4; }
  .bm-baomu-work > section:nth-child(2) > ul { padding-inline:22px 8px; }
  .bm-baomu-work > section:nth-child(2) > p { margin-inline:22px 8px; }
}

/* 雇主招聘详情 */
.bm-guzhu-detail { display:grid; grid-template-columns:minmax(0,1.33fr) minmax(0,1fr); gap:20px; margin-top:28px; color:#252e38; font-size:clamp(14px,1.45vw,17px); line-height:1.55; }
.bm-guzhu-detail > header,.bm-guzhu-detail > section,.bm-guzhu-detail > aside { overflow:hidden; border:1px solid #d8e4f2; border-radius:10px; background:#fff; }
.bm-guzhu-detail a { color:#0666ca; text-decoration:none; }
.bm-guzhu-detail > header { grid-column:1 / -1; display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:12px 22px; padding:20px; background:linear-gradient(160deg,#fbfdff,#edf5fd); }
.bm-guzhu-detail > header > h2 { margin:0; font-size:clamp(23px,2.9vw,36px); line-height:1.25; }
.bm-guzhu-detail > header > strong { padding-left:22px; border-left:1px solid #afc4de; color:#d92323; font-size:clamp(21px,2.5vw,32px); line-height:1.1; }
.bm-guzhu-detail > header > strong > b { font-size:1.25em; }
.bm-guzhu-detail > header > p { grid-column:1 / 3; display:flex; flex-wrap:wrap; gap:6px 0; margin:0; color:#546271; font-size:.92em; }
.bm-guzhu-detail > header > p > span + span { margin-left:14px; padding-left:14px; border-left:1px solid #bbc9d9; }
.bm-guzhu-detail > header > a { grid-column:3; grid-row:1 / 3; padding:10px clamp(22px,4vw,46px); border-radius:6px; background:linear-gradient(#087fe6,#0560c7); color:#fff; font-size:1.25em; font-weight:700; }
.bm-guzhu-detail > section { grid-column:1; }
.bm-guzhu-detail > :is(section,aside) > h3 { display:flex; align-items:center; gap:10px; margin:0; padding:13px 18px; background:linear-gradient(115deg,#f3f8fe,#e7f2fc); color:#152b4d; font-size:1.2em; }
.bm-guzhu-detail > :is(section,aside) > h3::before { content:""; width:5px; height:1.05em; border-radius:2px; background:#0672da; }
.bm-guzhu-detail > section > dl { display:grid; grid-template-columns:max-content minmax(0,1fr); margin:5px 18px 12px; }
.bm-guzhu-detail > section > dl > :is(dt,dd) { margin:0; padding:9px 4px; }
.bm-guzhu-detail > section > dl > :nth-child(n+3) { border-top:1px solid #dce5ef; }
.bm-guzhu-detail > section:nth-of-type(2) > dl > dt { padding-inline:12px; background:linear-gradient(#f0f4f8,#edf2f7) center / 100% 76% no-repeat; }
.bm-guzhu-detail > section:nth-of-type(2) > dl > dd { padding-left:16px; }
.bm-guzhu-detail > aside { grid-column:2; grid-row:2 / 4; display:grid; grid-template-rows:auto auto auto 1fr; align-content:start; }
.bm-guzhu-detail > aside > dl { grid-row:2; grid-column:1; display:grid; grid-template-columns:max-content minmax(0,1fr) 34%; align-items:baseline; gap:12px 4px; margin:16px 18px; }
.bm-guzhu-detail > aside > dl > dt { grid-column:1; color:#505c69; }
.bm-guzhu-detail > aside > dl > dd { margin:0; }
.bm-guzhu-detail > aside > dl > dd:last-child { grid-column:2 / -1; }
.bm-guzhu-detail > aside > dl > dd > span { display:inline-block; border:1px solid #9be6ac; border-radius:5px; padding:1px 9px; background:#eafaea; color:#167431; }
.bm-guzhu-detail > aside > dl > dd > a { font-size:1.18em; font-weight:700; }
.bm-guzhu-detail > aside > a { grid-area:2 / 1; align-self:start; justify-self:end; width:30%; max-width:140px; margin:16px 18px 0 0; }
.bm-guzhu-detail > aside > a > img { display:block; width:100%; height:auto; }
.bm-guzhu-detail > aside > p { margin:4px 18px; padding:16px 0; border-top:1px solid #dce5ef; color:#c52b25; font-size:.93em; }
.bm-guzhu-detail > aside > nav { display:flex; align-self:center; gap:8px; margin:12px 16px 24px; }
.bm-guzhu-detail > aside > nav > a { flex:1; padding:9px 2px; border:1px solid #1075d6; border-radius:5px; text-align:center; font-size:.9em; }
.bm-guzhu-detail > aside > nav > a:first-child { background:#086fd2; color:#fff; }
.bm-guzhu-detail a:hover { text-decoration:underline; }
@media (max-width:860px) {
  .bm-guzhu-detail { grid-template-columns:minmax(0,1fr); gap:14px; }
  .bm-guzhu-detail > aside { grid-column:1; grid-row:auto; }
}
@media (max-width:600px) {
  .bm-guzhu-detail > header { grid-template-columns:minmax(0,1fr); gap:10px; padding:16px; }
  .bm-guzhu-detail > header > strong { padding:0; border:0; }
  .bm-guzhu-detail > header > p { grid-column:1; flex-direction:column; }
  .bm-guzhu-detail > header > p > span + span { margin:0; padding:0; border:0; }
  .bm-guzhu-detail > header > a { grid-area:auto; text-align:center; }
  .bm-guzhu-detail > aside > dl { grid-template-columns:max-content minmax(0,1fr) 25%; margin-inline:12px; }
  .bm-guzhu-detail > aside > a { width:23%; margin-right:12px; }
  .bm-guzhu-detail > aside > nav { gap:5px; margin-inline:12px; }
}