/* Lecheng hospital cards, directory and hero image (2026-11-03).
   Scoped to new classes only; style.css is unchanged. */
.sec-head.sec-wide { max-width: none; }
.hosp-card { display: flex; flex-direction: column; }
.hosp-card > .btn { margin-top: auto; align-self: flex-start; }
.hosp-card > .chips:last-child { margin-bottom: 0; }
.hosp-img {
  aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden;
  margin: 0 0 18px; background: var(--surface-2);
}
.hosp-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hosp-meta { display: grid; gap: 8px; margin: 0 0 4px; font-size: 14px; color: var(--ink-2); }
.hosp-meta > div b { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink-3); letter-spacing: .02em; }
.hosp-meta a { color: var(--teal); word-break: break-all; }
.lc-hero {
  margin: 0 0 30px; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 21 / 9; background: var(--surface-2); box-shadow: var(--shadow-sm);
}
.lc-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.more-row { margin-top: 18px; }
@media (max-width: 820px) {
  .hosp-img { border-radius: 14px; margin-bottom: 14px; }
  .lc-hero { border-radius: 24px; margin-bottom: 22px; }
}
html.force-mobile .hosp-img { border-radius: 14px; margin-bottom: 14px; }
html.force-mobile .lc-hero { border-radius: 18px; margin-bottom: 22px; }
html.force-mobile .hosp-card > .btn { align-self: stretch; }
/* Home intent cards (Task 11, 2026-11-03): they are <button>s, and buttons
   centre their content vertically, so a card with shorter text sat lower.
   Stack from the top and pin the "→" pill to the bottom of every card. */
.card.intent { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; }
.card.intent > .go { margin-top: auto; align-self: flex-start; }

/* Hospital / doctor detail pages + clickable hospital names (2026-11-10, staging sample).
   Scoped new classes; links inherit card colours so cards look unchanged. */
a.lc-hlink { color: inherit; text-decoration: none; }
a.lc-hlink:hover, a.lc-hlink:focus-visible { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.hosp-img > a { display: block; width: 100%; height: 100%; }
.lc-crumb { font-size: 14px; color: var(--ink-3); margin: 0 0 14px; }
.lc-crumb a { color: var(--teal); text-decoration: none; }
.lc-detail-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.lc-detail-top .hosp-img { margin: 0; }
.lc-detail-top h1 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.25; margin: 0 0 12px; }
.lc-lead { font-size: 17px; line-height: 1.75; color: var(--ink-2); margin: 0 0 14px; }
.lc-doc-photo { aspect-ratio: 4 / 5; max-width: 320px; }
.lc-src { font-size: 12.5px; color: var(--ink-3); }
.lc-src a, .lc-sources a { color: var(--teal); word-break: break-all; }
.lc-sources { font-size: 14px; line-height: 1.7; color: var(--ink-2); padding-left: 20px; margin: 0; }
.lc-sources li { margin: 0 0 6px; }
@media (max-width: 820px) {
  .lc-detail-top { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .lc-doc-photo { max-width: 240px; }
}
html.force-mobile .lc-detail-top { grid-template-columns: minmax(0, 1fr); gap: 18px; }
/* ===== hospital/doctor detail (designer style, scoped .lc-hd) 2026-11-10 ===== */
.lc-hd{--bg:#e9f3ef;--bg-soft:#f3f9f6;--surface:#fff;--surface-2:#e6f1ec;--surface-3:#dcebe4;--ink:#132420;--ink-2:#435f57;--ink-3:#7d968d;--line:#d5e6de;--teal:#3e7c74;--teal-bright:#5fa8a0;--teal-deep:#2b5a52;--grad-teal:linear-gradient(135deg,#7fb8ac 0%,#4d938a 55%,#3e7c74 100%);--grad-panel:linear-gradient(160deg,#eef7f3 0%,#ddefe6 100%);--warn-bg:#fdf3e3;--warn-line:#ecd9ae;--warn-ink:#6d5518;--shadow:0 20px 45px rgba(43,90,82,.10);--shadow-sm:0 8px 22px rgba(43,90,82,.08);--radius:28px;--radius-lg:36px;--font-disp:"Poppins","Noto Sans SC","Noto Sans CJK SC","PingFang SC","Microsoft YaHei",sans-serif;--font-body:"Noto Sans SC","Noto Sans CJK SC","PingFang SC","Microsoft YaHei",-apple-system,"Segoe UI",sans-serif;color:var(--ink);font-family:var(--font-body);line-height:1.7}
.lc-hd *{box-sizing:border-box}.lc-hd img{max-width:100%;display:block}.lc-hd a{color:var(--teal-deep)}.lc-hd h1,.lc-hd h2,.lc-hd h3{font-family:var(--font-disp);letter-spacing:-.01em;color:var(--ink)}
.lc-hd .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:15px;font-weight:700;line-height:1.3;padding:14px 28px;border-radius:999px;text-decoration:none;border:0;cursor:pointer}
.lc-hd .btn-primary{background:var(--teal);color:#fff;box-shadow:0 10px 24px rgba(62,124,116,.28)}
.lc-hd .btn-ghost{background:var(--surface);color:var(--teal-deep);box-shadow:inset 0 0 0 1.5px var(--line)}
.lc-hd .btn-sm{padding:10px 18px;font-size:14px}
.lc-hd .chip{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:var(--teal-deep);background:var(--surface-2);border-radius:999px;padding:6px 13px}
.lc-hd .chips{display:flex;flex-wrap:wrap;gap:8px}
.lc-hd .badge{display:inline-block;font-size:12px;font-weight:700;color:var(--warn-ink);background:var(--warn-bg);border:1px solid var(--warn-line);border-radius:999px;padding:1px 9px;line-height:1.6;white-space:nowrap}
.lc-hd .tag-tx{background:#2b5a52;color:#fff}
.lc-hd .tag-first{background:#fff;color:var(--teal-deep);box-shadow:inset 0 0 0 1.5px var(--teal-bright)}
.lc-hd .card{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow-sm);padding:28px}
.lc-hd sup.fn{font-size:10.5px;font-weight:700;margin-left:1px}
.lc-hd sup.fn a{text-decoration:none;color:var(--teal);background:var(--surface-2);border-radius:6px;padding:0 4px}
.lc-hd .crumb{font-size:13.5px;color:var(--ink-3);margin:26px 0 14px}
.lc-hd .crumb a{color:var(--ink-2);text-decoration:none}
.lc-hd section.block{margin:22px 0}
.lc-hd .sec-title{display:flex;align-items:baseline;gap:12px;margin:0 0 16px}
.lc-hd .sec-title h2{font-size:26px;font-weight:800;margin:0;line-height:1.3}
.lc-hd .sec-title .n{font-family:var(--font-disp);font-weight:800;font-size:14px;color:var(--teal);background:var(--surface);border-radius:10px;padding:2px 9px}
.lc-hd .sec-title p{margin:0;color:var(--ink-3);font-size:13.5px}
.lc-hd .hero{display:grid;grid-template-columns:1.05fr 1fr;gap:0;overflow:hidden;padding:0}
.lc-hd .hero .img{position:relative;min-height:340px;background:#cfe2da}
.lc-hd .hero .img img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
.lc-hd .hero .img .cap{position:absolute;left:14px;bottom:12px;font-size:11.5px;background:rgba(19,36,32,.62);color:#fff;border-radius:999px;padding:3px 10px}
.lc-hd .hero .txt{padding:36px 38px}
.lc-hd .hero .alias{font-size:13.5px;color:var(--ink-3);margin:0 0 6px}
.lc-hd .hero h1{font-size:30px;line-height:1.35;margin:0 0 12px;font-weight:800}
.lc-hd .hero .lead{font-size:16px;color:var(--ink-2);margin:0 0 18px}
.lc-hd .hero .meta{display:grid;grid-template-columns:auto 1fr;gap:6px 14px;font-size:14px;margin:18px 0 22px;color:var(--ink-2)}
.lc-hd .hero .meta dt{color:var(--ink-3)}
.lc-hd .hero .meta dd{margin:0}
.lc-hd .hero .cta{display:flex;gap:10px;flex-wrap:wrap}
.lc-hd .stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:18px 0}
.lc-hd .stat{background:#fff;border-radius:20px;padding:20px 20px 18px;border-left:4px solid var(--teal);box-shadow:var(--shadow-sm)}
.lc-hd .stat .num{font-family:var(--font-disp);font-weight:800;font-size:34px;color:var(--ink);line-height:1}
.lc-hd .stat .num small{font-size:14px;font-weight:700;margin-left:3px;color:var(--teal)}
.lc-hd .stat .lb{font-size:14px;font-weight:700;margin-top:10px}
.lc-hd .stat .sr{font-size:11.5px;color:var(--ink-3);margin-top:6px}
.lc-hd .facts{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.lc-hd .fact{background:var(--bg-soft);border-radius:20px;padding:18px}
.lc-hd .fact .k{font-size:12.5px;color:var(--ink-3);font-weight:600}
.lc-hd .fact .v{font-size:15px;font-weight:600;margin-top:4px;line-height:1.55}
.lc-hd .prose{color:var(--ink-2);font-size:15px;margin:18px 0 0}
.lc-hd .prog{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.lc-hd .pgroup{background:var(--bg-soft);border-radius:22px;padding:20px}
.lc-hd .pgroup h3{margin:0 0 4px;font-size:17px}
.lc-hd .pgroup .sub{font-size:12.5px;color:var(--ink-3);margin-bottom:10px}
.lc-hd .pgroup ul{margin:0;padding:0;list-style:none}
.lc-hd .pgroup li{font-size:14px;padding:8px 0;border-top:1px solid var(--line);color:var(--ink-2)}
.lc-hd .pgroup li b{color:var(--ink);font-weight:600}
.lc-hd .pgroup.pri{background:var(--grad-panel);box-shadow:inset 0 0 0 1.5px var(--line)}
.lc-hd .feats{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start}
.lc-hd details.feat{background:var(--surface);border-radius:24px;box-shadow:var(--shadow-sm);overflow:hidden;border:1.5px solid transparent}
.lc-hd details.feat[open]{border-color:var(--line)}
.lc-hd details.feat summary{list-style:none;cursor:pointer;padding:22px 24px 18px;position:relative}
.lc-hd details.feat summary::-webkit-details-marker{display:none}
.lc-hd .feat .top{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:10px}
.lc-hd .feat h3{margin:0 0 6px;font-size:19px;line-height:1.4;padding-right:40px}
.lc-hd .feat .one{margin:0;color:var(--ink-2);font-size:14.5px}
.lc-hd .feat .tog{position:absolute;right:20px;top:20px;width:32px;height:32px;border-radius:50%;background:var(--surface-2);color:var(--teal-deep);display:flex;align-items:center;justify-content:center;font-weight:800;font-size:18px}
.lc-hd details.feat[open] .tog{transform:rotate(45deg)}
.lc-hd .feat .more{font-size:13px;font-weight:700;color:var(--teal);margin-top:10px}
.lc-hd details.feat[open] .more{display:none}
.lc-hd .feat dl{margin:0;padding:4px 24px 22px;display:grid;grid-template-columns:118px 1fr;gap:0}
.lc-hd .feat dt,.lc-hd .feat dd{padding:10px 0;border-top:1px solid var(--line);font-size:14px}
.lc-hd .feat dt{color:var(--ink-3);font-weight:600}
.lc-hd .feat dd{margin:0;color:var(--ink-2)}
.lc-hd .feat dd a.doc{font-weight:700}
.lc-hd table.eq{width:100%;border-collapse:collapse;font-size:14.5px}
.lc-hd table.eq th{text-align:left;font-size:12.5px;color:var(--ink-3);font-weight:600;padding:0 12px 10px}
.lc-hd table.eq td{padding:13px 12px;border-top:1px solid var(--line);vertical-align:top;color:var(--ink-2)}
.lc-hd table.eq td:first-child{color:var(--ink);font-weight:600;width:38%}
.lc-hd .docs{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.lc-hd a.doc-card{display:flex;gap:14px;text-decoration:none;color:inherit;background:var(--bg-soft);border-radius:22px;padding:18px;border:1.5px solid transparent;transition:.15s}
.lc-hd a.doc-card:hover,.lc-hd a.doc-card.hover{background:#fff;border-color:var(--teal-bright);box-shadow:var(--shadow-sm)}
.lc-hd .ph{flex:none;width:64px;height:76px;border-radius:16px;background:repeating-linear-gradient(45deg,#e1ede8 0 8px,#d7e7e0 8px 16px);display:flex;align-items:center;justify-content:center;text-align:center;font-size:10.5px;color:var(--ink-3);font-weight:700;line-height:1.3}
.lc-hd .doc-card .nm{font-weight:800;font-size:16.5px;font-family:var(--font-disp)}
.lc-hd .doc-card .ttl{font-size:13px;color:var(--ink-2);margin:2px 0 6px;line-height:1.5}
.lc-hd .doc-card .gd{font-size:12.5px;color:var(--ink-3);line-height:1.5}
.lc-hd .doc-card .go{font-size:12.5px;color:var(--teal);font-weight:700;margin-top:6px}
.lc-hd details.qa{border-top:1px solid var(--line)}
.lc-hd details.qa:first-of-type{border-top:0}
.lc-hd details.qa summary{list-style:none;cursor:pointer;padding:16px 36px 16px 0;font-weight:700;font-size:15.5px;position:relative}
.lc-hd details.qa summary::-webkit-details-marker{display:none}
.lc-hd details.qa summary::after{content:"+";position:absolute;right:4px;top:12px;font-size:22px;color:var(--teal)}
.lc-hd details.qa[open] summary::after{content:"–"}
.lc-hd details.qa p{margin:0 0 16px;color:var(--ink-2);font-size:14.5px}
.lc-hd .src ol{margin:0;padding-left:22px;font-size:13px;color:var(--ink-2);columns:2;column-gap:36px}
.lc-hd .src li{margin:0 0 8px;break-inside:avoid;word-break:break-all}
.lc-hd .src li a{color:var(--teal-deep)}
.lc-hd .updated{display:flex;flex-wrap:wrap;gap:10px 18px;font-size:13px;color:var(--ink-3);margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}
.lc-hd .cta-band{background:var(--grad-teal);color:#fff;border-radius:var(--radius-lg);padding:34px 38px;display:flex;align-items:center;gap:24px;justify-content:space-between}
.lc-hd .cta-band h2{margin:0 0 6px;font-size:24px}
.lc-hd .cta-band p{margin:0;opacity:.92;font-size:14.5px}
.lc-hd .cta-band .btn{background:#fff;color:var(--teal-deep);flex:none}
.lc-hd .disc{font-size:12.5px;color:var(--ink-3);margin:18px 0 0}
.lc-hd .dhero{display:grid;grid-template-columns:220px 1fr;gap:30px;align-items:start}
.lc-hd .dhero .ph{width:220px;height:264px;border-radius:24px;font-size:14px}
.lc-hd .dhero h1{font-size:32px;margin:0 0 4px;font-weight:800}
.lc-hd .dhero .role{font-size:16px;color:var(--ink-2);margin:0 0 14px}
.lc-hd .kv{display:grid;grid-template-columns:110px 1fr;font-size:14.5px}
.lc-hd .kv div{padding:10px 0;border-top:1px solid var(--line)}
.lc-hd .kv .k{color:var(--ink-3);font-weight:600}
.lc-hd .cv{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.lc-hd .cv .fact ul{margin:6px 0 0;padding-left:18px;font-size:14px;color:var(--ink-2)}
.lc-hd a.projlink{display:flex;justify-content:space-between;align-items:center;gap:14px;text-decoration:none;color:inherit;background:var(--bg-soft);border-radius:20px;padding:16px 18px;margin-bottom:10px}
.lc-hd a.projlink b{font-size:15.5px}
.lc-hd a.projlink span.s{display:block;font-size:13px;color:var(--ink-2)}
.lc-hd a.projlink .arr{color:var(--teal);font-weight:800;flex:none}
@media(max-width:700px){.lc-hd .stats{grid-template-columns:1fr 1fr;gap:10px}.lc-hd .stat .num{font-size:28px}}
@media (max-width:820px){
.lc-hd .wrap{padding:0 14px}
.lc-hd .hero{grid-template-columns:1fr}
.lc-hd .hero .img{min-height:200px;aspect-ratio:16/9}
.lc-hd .hero .txt{padding:22px 20px}
.lc-hd .hero h1{font-size:23px}
.lc-hd .hero .lead{font-size:15px}
.lc-hd .hero .cta .btn{flex:1}
.lc-hd .card{padding:20px;border-radius:24px}
.lc-hd .facts{grid-template-columns:1fr 1fr;gap:10px}
.lc-hd .fact{padding:14px}
.lc-hd .prog,.lc-hd .feats,.lc-hd .docs,.lc-hd .cv,.lc-hd .demo-grid{grid-template-columns:1fr}
.lc-hd .sec-title{flex-wrap:wrap;gap:6px 10px}
.lc-hd .sec-title h2{font-size:21px}
.lc-hd .sec-title p{flex-basis:100%}
.lc-hd .feat dl{grid-template-columns:1fr;padding:2px 18px 18px}
.lc-hd .feat dt{padding-bottom:0}
.lc-hd .feat dd{border-top:0;padding-top:2px}
.lc-hd details.feat summary{padding:18px 18px 14px}
.lc-hd table.eq thead{display:none}
.lc-hd table.eq tr{display:block;border-top:1px solid var(--line);padding:10px 0}
.lc-hd table.eq td{display:block;border:0;padding:2px 0;width:auto!important}
.lc-hd .src ol{columns:1}
.lc-hd .cta-band{flex-direction:column;align-items:stretch;padding:24px 20px;text-align:left}
.lc-hd .dhero{grid-template-columns:1fr;gap:16px}
.lc-hd .dhero .ph{width:132px;height:158px}
.lc-hd .dhero h1{font-size:26px}
.lc-hd .kv{grid-template-columns:88px 1fr}
}
/* theme force-mobile preview */
html.force-mobile .lc-hd .wrap{padding:0 14px}
html.force-mobile .lc-hd .hero{grid-template-columns:1fr}
html.force-mobile .lc-hd .hero .img{min-height:200px;aspect-ratio:16/9}
html.force-mobile .lc-hd .hero .txt{padding:22px 20px}
html.force-mobile .lc-hd .hero h1{font-size:23px}
html.force-mobile .lc-hd .hero .lead{font-size:15px}
html.force-mobile .lc-hd .hero .cta .btn{flex:1}
html.force-mobile .lc-hd .card{padding:20px;border-radius:24px}
html.force-mobile .lc-hd .facts{grid-template-columns:1fr 1fr;gap:10px}
html.force-mobile .lc-hd .fact{padding:14px}
html.force-mobile .lc-hd .prog,html.force-mobile .lc-hd .feats,html.force-mobile .lc-hd .docs,html.force-mobile .lc-hd .cv,html.force-mobile .lc-hd .demo-grid{grid-template-columns:1fr}
html.force-mobile .lc-hd .sec-title{flex-wrap:wrap;gap:6px 10px}
html.force-mobile .lc-hd .sec-title h2{font-size:21px}
html.force-mobile .lc-hd .sec-title p{flex-basis:100%}
html.force-mobile .lc-hd .feat dl{grid-template-columns:1fr;padding:2px 18px 18px}
html.force-mobile .lc-hd .feat dt{padding-bottom:0}
html.force-mobile .lc-hd .feat dd{border-top:0;padding-top:2px}
html.force-mobile .lc-hd details.feat summary{padding:18px 18px 14px}
html.force-mobile .lc-hd table.eq thead{display:none}
html.force-mobile .lc-hd table.eq tr{display:block;border-top:1px solid var(--line);padding:10px 0}
html.force-mobile .lc-hd table.eq td{display:block;border:0;padding:2px 0;width:auto!important}
html.force-mobile .lc-hd .src ol{columns:1}
html.force-mobile .lc-hd .cta-band{flex-direction:column;align-items:stretch;padding:24px 20px;text-align:left}
html.force-mobile .lc-hd .dhero{grid-template-columns:1fr;gap:16px}
html.force-mobile .lc-hd .dhero .ph{width:132px;height:158px}
html.force-mobile .lc-hd .dhero h1{font-size:26px}
html.force-mobile .lc-hd .kv{grid-template-columns:88px 1fr}
/* additions for the live page (photos in avatar slots, non-link cards, theme overrides) */
.lc-hd .ph.has-img{background:#dfece6;overflow:hidden;padding:0}
.lc-hd .ph.has-img img{width:100%;height:100%;object-fit:cover;object-position:center top}
.lc-hd div.doc-card{display:flex;gap:14px;background:var(--bg-soft);border-radius:22px;padding:18px;border:1.5px solid transparent}
.lc-hd .tag-rj{display:inline-block;padding:2px 8px;border-radius:999px;background:#e3f3ef;color:#0f6b5c;font-weight:700;font-size:12px;line-height:1.6}
.lc-hd button.btn{font-family:inherit}
.lc-hd .cta-band .btn{background:#fff;color:var(--teal-deep);box-shadow:none}
.lc-hd .crumb a:hover,.lc-hd a.doc-card .nm:hover{text-decoration:underline}
.lc-hd .hero .img a{position:absolute;inset:0;display:block}
.lc-hd section.block:first-child{margin-top:0}
.lc-hd .feat dd ul{margin:0;padding-left:18px}
.lc-hd .src ol li::marker{color:var(--ink-3)}
.lc-hd .backlink{margin:14px 0 0}
.lc-hd sup.fn + sup.fn{margin-left:0}
.lc-hd sup.fn + sup.fn::before{content:",";color:var(--ink-3);margin-right:1px}
.lc-hd .cta-band h2{color:#fff}
