/* Wang CMS static adapter only. Original style.css remains unchanged. */
.wx-profile-title .cms-profile-name{font-size:29px;font-weight:700;line-height:1.12;color:#fff;text-align:right;margin:0}.wx-profile-title .cms-profile-name a{color:inherit}.cms-post-title{display:block;font-size:inherit;font-weight:600;margin:0 0 .42em}.wx-text.markdown-content{white-space:normal}.wx-text.markdown-content img{max-width:100%;height:auto}.wx-text.markdown-content table{max-width:100%;display:block;overflow:auto}.cms-footer-nav{display:flex;justify-content:center;flex-wrap:wrap;gap:4px 12px;margin-top:6px}.cms-pagination{display:flex;gap:12px;justify-content:center;align-items:center}.cms-pagination a,.cms-pagination span{padding:4px 9px}.cms-pagination span{font-weight:700}.wx-feed .chips{display:flex;flex-wrap:wrap;gap:12px;padding:16px}.wx-feed .search-box{padding:16px}.wx-feed .empty{padding:16px}.wx-feed .post-grid{min-width:0}.wx-load-more{text-decoration:none}.wx-feed .page-head{padding:16px}.wx-feed .wx-meta a{color:#576b95}.wx-feed .wx-text a{overflow-wrap:anywhere}@media(max-width:680px){.wx-profile-title .cms-profile-name{font-size:21px}}

.wx-feed .search-box input{width:100%;padding:10px 12px;border:1px solid #ddd;border-radius:5px}.wx-feed #results a{display:block;padding:9px 0;border-bottom:1px solid #ededed}.wx-feed #results{margin-top:12px}.wx-feed .not-found{padding:16px}.wx-feed .wx-text pre{overflow:auto}.wx-feed .wx-text img{max-width:100%;height:auto}

/* v1.5.0: full-bleed cover, centered original feed, safe profile flow. */
body.cms-moments {margin:0!important;padding:0!important;width:100%!important;max-width:none!important;}
.cms-moments .wx-cover {width:100%!important;max-width:none!important;margin:0!important;border-radius:0!important;}
.cms-moments .wx-cover-img {position:absolute;inset:0;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;object-position:center!important;}
.cms-moments .wx-profile-title {white-space:normal!important;top:auto!important;bottom:12px!important;}
.cms-moments .wx-profile-title h1,.cms-moments .wx-profile-title .cms-profile-name {white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.16!important;}
.cms-moments .wx-profile-title h1 a {white-space:normal!important;}
.cms-moments .cms-profile-summary {width:min(760px,100%);margin:0 auto;min-height:49px;padding:42px 16px 0;text-align:right;}
.cms-moments .cms-profile-summary .wx-profile-desc {margin:0 0 0 auto!important;max-width:min(100%,520px)!important;width:auto!important;white-space:normal!important;text-align:right!important;overflow-wrap:anywhere!important;color:#747474!important;line-height:1.5!important;}
.cms-moments .wx-feed {margin-top:14px!important;min-width:0;}
.cms-moments .wx-post,.cms-moments .wx-body,.cms-moments .wx-text {min-width:0;overflow-wrap:anywhere;}
.cms-moments .cms-avatar-placeholder {display:grid;width:100%;height:100%;place-items:center;background:#e4e8ed;color:#526276;font-size:1.15rem;font-weight:600;}
.cms-moments .wx-profile-avatar .cms-avatar-placeholder {font-size:2rem;}
.cms-moments a:focus-visible,.cms-moments button:focus-visible {outline:2px solid #576b95;outline-offset:3px;}
.cms-moments .cms-image-dialog {padding:0;border:0;background:transparent;max-width:96vw;max-height:94vh;overflow:visible;}
.cms-moments .cms-image-dialog::backdrop {background:rgba(0,0,0,.87);}
.cms-moments .cms-image-dialog img {display:block;max-width:92vw;max-height:85vh;object-fit:contain;}
.cms-moments .cms-image-dialog button {position:absolute;right:0;top:0;transform:translateY(-100%);border:0;background:#fff;color:#222;font-size:22px;line-height:36px;width:36px;border-radius:50%;cursor:pointer;}
@media(max-width:680px){.cms-moments .cms-profile-summary{min-height:42px;padding:34px 12px 0;}.cms-moments .wx-feed{margin-top:12px!important;}.cms-moments .wx-profile-title{bottom:9px!important;}.cms-moments .wx-profile-title .cms-profile-name{font-size:22px!important;}}
.cms-moments .wx-images,.cms-moments .wx-images a {min-width:0;max-width:100%!important;}
.cms-moments .wx-images img {max-width:100%!important;height:auto;}
/* Keep original single-photo footprint, but fit the actual post column on narrow screens. */
.cms-moments .wx-images.wx-images-1 {max-width:min(340px,100%)!important;}
@media(max-width:680px){.cms-moments .wx-images.wx-images-1{max-width:min(300px,100%)!important;}}
.cms-moments .wx-cover.cms-custom-cover{height:var(--cms-cover-height,420px)!important}.cms-moments .cms-custom-cover .wx-cover-img{object-position:var(--cms-cover-focus,center)!important}.cms-gallery-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;max-width:min(340px,100%)!important}.cms-gallery-grid a{display:block;aspect-ratio:1;overflow:hidden}.cms-gallery-grid img{display:block;width:100%!important;height:100%!important;object-fit:cover}.cms-moments-contact{margin:0 auto 12px;display:flex;gap:8px 14px;flex-wrap:wrap;justify-content:center;align-items:center}.cms-moments-contact img{object-fit:contain}.cms-image-dialog .cms-prev,.cms-image-dialog .cms-next{top:50%;transform:translateY(-50%);left:4px;right:auto}.cms-image-dialog .cms-next{left:auto;right:4px}.cms-image-dialog button[hidden]{display:none!important}@media(max-width:680px){.cms-moments .wx-cover.cms-custom-cover{height:var(--cms-mobile-height,240px)!important}}
