/* V1.2：客户展示端采用作品索引/编辑型版式。
   所有样式限定在 .ws-page 下，不改变内部管理后台。 */
.ws-page{--ws-bg:#fafaf8;--ws-ink:#171717;--ws-dim:#6b6b67;--ws-line:#d6d6d2;--ws-red:#b92829;background:var(--ws-bg);color:var(--ws-ink);min-height:100vh;font-family:"PingFang SC","Noto Sans CJK SC","Microsoft YaHei",sans-serif;font-size:15px;font-synthesis:none;-webkit-font-smoothing:antialiased}
.ws-page *{box-sizing:border-box}
.ws-page a{color:inherit;text-decoration:none}
.ws-page a:focus-visible,.ws-page button:focus-visible{outline:2px solid var(--ws-red);outline-offset:3px}
.ws-page button{cursor:pointer;font-family:inherit}
.ws-wrap{max-width:1720px;margin:0 auto;padding:0 clamp(22px,3.6vw,65px)}
.ws-demo-banner{background:#eee8dd;color:#554b3d;text-align:center;font-size:12px;line-height:1.6;padding:9px 18px}
.ws-top{height:89px;display:flex;justify-content:space-between;align-items:center;gap:25px;border-bottom:1px solid var(--ws-ink)}
.ws-brand{font-size:24px;white-space:nowrap;letter-spacing:-.065em;font-weight:800;line-height:1.1}
.ws-brand i{width:7px;height:7px;border-radius:50%;background:var(--ws-red);display:inline-block;margin-left:5px}
.ws-top nav{display:flex;gap:40px;align-items:center;font-size:14px;color:#333}
.ws-top nav a:hover{color:var(--ws-red)}
.ws-intro{display:flex;align-items:end;justify-content:space-between;gap:48px;margin:65px 0 45px}
.ws-intro h1{margin:0 0 7px -8px;font-size:clamp(69px,10vw,138px);line-height:1;font-weight:780;letter-spacing:-.095em}
.ws-intro h1 span{color:var(--ws-red)}
.ws-intro-aside{flex:0 0 clamp(245px,29%,395px);margin:0 0 7px;max-width:520px}
.ws-intro-aside strong{font-size:21px;font-weight:630;letter-spacing:-.04em;line-height:1.45;display:block;overflow-wrap:anywhere}
.ws-intro-aside p{margin:10px 0 0;color:#42423f;line-height:1.75;font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere}
.ws-filters{border-top:1px solid var(--ws-line);display:flex;flex-wrap:wrap;gap:10px 23px;align-items:center;padding:17px 0 24px}
.ws-filter-label{font-size:13px;color:var(--ws-dim);margin-right:11px}
.ws-filter{font-size:14px;background:none;border:0;padding:4px 0;color:var(--ws-dim);border-radius:0;line-height:1.6}
.ws-filter:hover{color:var(--ws-ink)}
.ws-filter.active{color:var(--ws-ink);border-bottom:1.5px solid var(--ws-ink);font-weight:650}
.ws-count{margin-left:auto;color:var(--ws-dim);font-size:13px;white-space:nowrap;font-variant-numeric:tabular-nums}
.ws-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:22px;row-gap:62px;padding:2px 0 96px;align-items:start}
.ws-work{min-width:0;grid-column:span 6;max-width:100%}
.ws-work[hidden]{display:none!important}
.ws-work.s8{grid-column:span 8}.ws-work.s4{grid-column:span 4}
.ws-work.s5{grid-column:span 5}.ws-work.s7{grid-column:span 7}
.ws-work.s6{grid-column:span 6}
.ws-cover{display:block;overflow:hidden;background:#ececea}
.ws-figure{width:100%;aspect-ratio:1.25;position:relative;overflow:hidden;background:#e7e7e3}
.ws-work.s8 .ws-figure{aspect-ratio:1.72}
.ws-work.s4 .ws-figure{aspect-ratio:1.06}
.ws-work.s5 .ws-figure{aspect-ratio:1.04}
.ws-work.s7 .ws-figure{aspect-ratio:1.63}
.ws-work.s6 .ws-figure{aspect-ratio:1.28}
.ws-figure img{width:100%;height:100%;display:block;object-fit:cover;filter:saturate(.92);transition:transform .7s cubic-bezier(.22,.61,.36,1)}
.ws-cover:hover .ws-figure img{transform:scale(1.025)}
.ws-no-photo{display:flex;flex-direction:column;justify-content:space-between;align-items:start;padding:clamp(15px,2vw,34px);background:#eaeae6;border:1px solid #e1e1db}
.ws-placeholder-note{font-size:12px;color:#6a6964}
.ws-placeholder-title{font-weight:630;line-height:1.27;font-size:clamp(26px,3.5vw,57px);letter-spacing:-.06em;max-width:95%;overflow-wrap:anywhere}
.ws-work-caption{display:flex;align-items:baseline;justify-content:space-between;gap:15px;padding-top:13px}
.ws-work-caption h2{font-size:clamp(18px,1.5vw,25px);font-weight:660;letter-spacing:-.045em;line-height:1.4;margin:0}
.ws-work-caption h2 a:hover{text-decoration:underline;text-underline-offset:4px}
.ws-work-caption small{font-size:12px;white-space:nowrap;color:var(--ws-dim)}
.ws-work-sub{color:var(--ws-dim);font-size:13px;margin:6px 0 0;line-height:1.6;max-width:650px}
.ws-demo-mark{font-size:11px;display:inline-block;line-height:1.6;color:#836b48;margin-top:7px}
.ws-no-results{padding:54px 0 85px;font-size:17px;color:var(--ws-dim)}
.ws-no-results[hidden]{display:none}
.ws-detail-container{display:none}
.ws-show-detail .ws-index{display:none}
.ws-show-detail .ws-detail-container,.ws-single .ws-detail-container{display:block}
.ws-detail-item{display:none}
.ws-detail-item.ws-active{display:block}
.ws-detail-nav{display:flex;justify-content:space-between;gap:25px;padding:22px 0 0;color:var(--ws-dim);font-size:13px}
.ws-detail-nav a:hover{text-decoration:underline}
.ws-detail-nav span{max-width:65%;text-align:right;overflow-wrap:anywhere}
.ws-detail-header{display:grid;grid-template-columns:minmax(0,8fr) minmax(230px,4fr);gap:32px;align-items:end;padding:42px 0 28px}
.ws-detail-position{font-size:12px;color:var(--ws-dim);display:block;margin-bottom:17px}
.ws-detail-header h1{font-weight:750;font-size:clamp(40px,6.2vw,92px);letter-spacing:-.07em;line-height:1.17;margin:0;max-width:970px;overflow-wrap:anywhere}
.ws-detail-summary{align-self:end;padding-bottom:6px;max-width:450px;margin-left:auto;width:100%}
.ws-detail-summary p{font-size:15px;line-height:1.85;color:#363633;margin:0 0 8px;white-space:pre-wrap}
.ws-detail-mainphoto{margin:0 0 43px;overflow:hidden;background:#e9e9e7}
.ws-detail-mainphoto img{display:block;width:100%;max-height:740px;object-fit:contain}
.ws-case-facts{display:grid;grid-template-columns:3fr 9fr;gap:25px;border-top:1px solid var(--ws-line);padding:24px 0 32px}
.ws-facts-kicker{font-size:11px;color:var(--ws-dim);letter-spacing:.07em}
.ws-case-facts dl{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 30px}
.ws-case-facts dl>div{display:grid;grid-template-columns:70px minmax(0,1fr);gap:10px;font-size:13px;line-height:1.7}
.ws-case-facts dt{color:#777}
.ws-case-facts dd{margin:0;color:#262626;overflow-wrap:anywhere}
.ws-contents{max-width:1250px;padding:4px 0 73px;margin-left:25%}
.ws-content-row{display:grid;grid-template-columns:minmax(105px,2fr) minmax(0,7fr);gap:23px;padding:26px 0;border-bottom:1px solid var(--ws-line)}
.ws-content-row h2{font-size:13px;color:#656565;letter-spacing:.02em;margin:4px 0 0;font-weight:600}
.ws-story-text{font-size:17px;line-height:1.95;color:#333;max-width:850px;overflow-wrap:anywhere}
.ws-detail-gallery{display:grid;grid-template-columns:5fr 7fr;gap:24px;align-items:start;padding-bottom:85px}
.ws-detail-gallery figure{margin:0;min-width:0}
.ws-detail-gallery figure:nth-child(2n){margin-top:92px}
.ws-detail-gallery img{display:block;width:100%;max-height:750px;aspect-ratio:1.2;object-fit:cover;background:#eaeae6}
.ws-detail-gallery figcaption{font-size:12px;margin-top:9px;color:var(--ws-dim)}
.ws-attachments{display:grid;grid-template-columns:3fr 9fr;gap:25px;border-top:1px solid var(--ws-line);padding:24px 0 60px}
.ws-attachments h2{margin:0;font-size:13px;font-weight:600}
.ws-attachments>div{display:flex;gap:12px 29px;flex-wrap:wrap}
.ws-attachments a{font-size:14px;text-decoration:underline;text-underline-offset:4px;color:#3b3b3b}
.ws-detail-next{border-top:1px solid var(--ws-ink);display:flex;align-items:center;justify-content:space-between;gap:20px;padding:30px 0 84px;font-size:22px}
.ws-detail-next span{font-size:13px;color:var(--ws-dim)}
.ws-detail-next a{text-align:right;max-width:80%;overflow-wrap:anywhere}
.ws-detail-next a:hover{text-decoration:underline;text-underline-offset:5px}
.ws-footer{border-top:1px solid var(--ws-ink);padding:25px 0 45px;display:flex;justify-content:space-between;align-items:start;gap:36px;color:#474747}
.ws-footer strong{font-size:14px;font-weight:700}
.ws-footer p{font-size:12px;line-height:1.7;color:var(--ws-dim);margin:0;max-width:590px}
@media(max-width:900px){
 .ws-intro{gap:30px;margin:48px 0 35px}.ws-intro h1{font-size:clamp(70px,10vw,92px)}
 .ws-grid{column-gap:16px;row-gap:46px}
 .ws-detail-header{grid-template-columns:1fr;gap:12px}
 .ws-detail-summary{margin:0;max-width:750px}
 .ws-contents{margin-left:12%}
}
@media(max-width:650px){
 .ws-wrap{padding:0 17px}
 .ws-top{height:67px}.ws-brand{font-size:19px}.ws-top nav{gap:18px;font-size:13px}
 .ws-demo-banner{font-size:10px;padding:8px 12px}
 .ws-intro{display:block;margin:38px 0 27px}
 .ws-intro h1{font-size:69px;margin-left:-4px}
 .ws-intro-aside{max-width:100%;margin:16px 0 0}
 .ws-intro-aside strong{font-size:18px}.ws-intro-aside p{font-size:13px;margin-top:7px}
 .ws-filters{gap:10px 19px;padding:13px 0 21px}
 .ws-filter-label{width:100%;font-size:11px;margin-right:0}
 .ws-filter{font-size:13px}.ws-count{font-size:11px}
 .ws-grid{display:block;padding:0 0 55px}
 .ws-work{margin:0 0 39px}
 .ws-figure,.ws-work.s8 .ws-figure,.ws-work.s4 .ws-figure,.ws-work.s5 .ws-figure,.ws-work.s7 .ws-figure,.ws-work.s6 .ws-figure{aspect-ratio:1.34}
 .ws-work:nth-child(2n) .ws-figure{aspect-ratio:1.04}
 .ws-work-caption{padding-top:10px}.ws-work-caption h2{font-size:20px}.ws-work-caption small{font-size:11px}.ws-work-sub{font-size:12px}
 .ws-placeholder-title{font-size:32px}
 .ws-detail-nav{padding-top:18px}
 .ws-detail-header{padding:29px 0 20px}
 .ws-detail-position{margin-bottom:12px}.ws-detail-header h1{font-size:clamp(35px,9.4vw,56px)}
 .ws-detail-summary p{font-size:14px}
 .ws-detail-mainphoto{margin-bottom:25px}.ws-detail-mainphoto img{max-height:75vh}
 .ws-case-facts{grid-template-columns:1fr;gap:12px;padding:20px 0 23px}
 .ws-case-facts dl{grid-template-columns:1fr;gap:6px}
 .ws-case-facts dl>div{grid-template-columns:68px 1fr}
 .ws-contents{padding:0 0 47px;margin-left:0}
 .ws-content-row{grid-template-columns:1fr;gap:7px;padding:18px 0}
 .ws-content-row h2{font-size:13px}.ws-story-text{font-size:15px;line-height:1.9}
 .ws-detail-gallery{display:block;padding-bottom:45px}
 .ws-detail-gallery figure,.ws-detail-gallery figure:nth-child(2n){margin:0 0 23px}
 .ws-detail-gallery img{aspect-ratio:1.25}
 .ws-attachments{grid-template-columns:1fr;gap:15px;padding:20px 0 45px}
 .ws-detail-next{font-size:18px;padding:23px 0 55px}
 .ws-footer{display:block;padding:23px 0 34px}
 .ws-footer p{margin:15px 0 0}
}
@media(prefers-reduced-motion:reduce){.ws-figure img{transition:none}}

/* V1.4 — selected published work. Keep the existing studio portfolio typography. */
.ws-resources{border-top:1px solid var(--ws-ink);padding:26px 0 65px}
.ws-resource-top{display:grid;grid-template-columns:3fr 9fr;gap:25px;align-items:start;margin-bottom:18px}
.ws-resource-top h2{font-size:14px;font-weight:700;margin:0;letter-spacing:-.01em}
.ws-resource-top p{font-size:13px;line-height:1.7;color:var(--ws-dim);margin:0}
.ws-resource-list{margin-left:25%;border-top:1px solid var(--ws-line)}
.ws-source-item{border-bottom:1px solid var(--ws-line);padding:18px 0 20px}
.ws-source-main{display:flex;gap:20px;align-items:flex-start}
.ws-source-thumbnail{flex:0 0 178px;width:178px;height:118px;object-fit:cover;background:#f1f1ee}
.ws-source-info{min-width:0;flex:1}
.ws-source-platform{color:#7a7a77;font-size:12px}
.ws-source-info h3{font-size:clamp(17px,1.65vw,23px);font-weight:700;line-height:1.42;letter-spacing:-.035em;margin:6px 0 7px;overflow-wrap:anywhere}
.ws-source-info p{margin:0 0 9px;color:#666;font-size:13px;line-height:1.7;overflow-wrap:anywhere}
.ws-source-actions{display:flex;gap:12px 24px;flex-wrap:wrap;align-items:center;margin-top:10px}
.ws-source-actions a,.ws-source-actions button{font-family:inherit;font-size:13px;font-weight:650;color:#282828;text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px;background:none;border:0;padding:0;cursor:pointer}
.ws-source-actions a:hover,.ws-source-actions button:hover{color:#a52b2d}
.ws-source-inline{margin:17px 0 0}
.ws-source-inline[hidden]{display:none}
.ws-source-inline iframe,.ws-source-inline video{width:100%;border:1px solid #ddd;display:block;aspect-ratio:16/9;background:#161616;min-height:260px}
.ws-source-inline p{background:#f0f0ed;margin:0;padding:10px 13px;color:#6a6a65;font-size:12px;line-height:1.6}
.ws-source-hint{font-size:12px;line-height:1.7;color:#858580;margin:15px 0 0 25%}
@media(max-width:700px){
 .ws-resources{padding:21px 0 39px}.ws-resource-top{grid-template-columns:1fr;gap:6px}
 .ws-resource-list{margin-left:0}.ws-source-main{gap:13px}
 .ws-source-thumbnail{width:112px;height:88px;flex-basis:112px}
 .ws-source-info h3{font-size:17px;margin:5px 0}
 .ws-source-inline iframe,.ws-source-inline video{min-height:180px}
 .ws-source-hint{margin-left:0}
}

.ws-source-image-button{border:0;padding:0;background:none;display:block;cursor:zoom-in;flex:0 0 178px}
.ws-source-image-button .ws-source-thumbnail{display:block;width:178px}
.ws-source-image-button:hover .ws-source-thumbnail{filter:brightness(.94)}
.ws-lightbox{position:fixed;inset:0;z-index:99999;background:rgba(15,15,15,.94);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;padding:22px;color:#fff}
.ws-lightbox button{position:absolute;top:17px;right:22px;border:1px solid #888;background:#222;color:#fff;padding:9px 15px;font:inherit;cursor:pointer}
.ws-lightbox img{max-width:96%;max-height:85vh;object-fit:contain}
.ws-lightbox span{font-size:12px;color:#bbb}.ws-lightbox a{text-decoration:underline;color:#fff}
@media(max-width:700px){.ws-source-image-button{flex-basis:112px}.ws-source-image-button .ws-source-thumbnail{width:112px}}

/* V1.5 official Chang'an Street News logos */
.ws-brand{display:flex;align-items:center;line-height:1;white-space:normal}
.ws-wordmark{width:185px;height:auto}
.ws-brand i{display:none}
.ws-footer{align-items:flex-start}
.ws-footer-square{width:72px;height:72px;flex:0 0 72px}
@media(max-width:650px){.ws-wordmark{width:153px}.ws-footer-square{width:62px;height:62px}}

/* V1.6 | Original-ratio images. The gallery follows the image, not a stock-card template. */
.ws-page .ws-figure{aspect-ratio:auto!important;min-height:0;overflow:visible}
.ws-page .ws-figure img{width:100%;height:auto!important;aspect-ratio:auto!important;object-fit:contain!important;max-height:none;display:block}
.ws-page .ws-cover{overflow:visible}
.ws-page .ws-no-photo{aspect-ratio:1.38!important;min-height:230px}
.ws-page .ws-detail-mainphoto{background:transparent;overflow:visible}
.ws-page .ws-detail-mainphoto img{width:100%;height:auto;max-height:none;object-fit:contain}
.ws-page .ws-detail-gallery img{width:100%;height:auto;max-height:none;aspect-ratio:auto;object-fit:contain;background:transparent}
.ws-page .ws-detail-gallery figure:nth-child(2n){margin-top:36px}
.ws-results-wall{border-top:1px solid var(--ws-ink);padding:28px 0 75px}
.ws-results-wall h2{font-size:14px;margin:0 0 24px;font-weight:700}
.ws-result-pictures{columns:3;column-gap:19px}
.ws-result-pictures figure{margin:0 0 19px;break-inside:avoid;display:block}
.ws-result-pictures img{display:block;width:100%;height:auto;object-fit:contain;background:#eaeae7}
.ws-page .ws-source-thumbnail{height:auto;aspect-ratio:auto;max-height:270px;object-fit:contain;background:#f4f3f0}
.ws-page .ws-source-image-button{background:#f4f3f0;min-height:93px;display:flex;align-items:center;justify-content:center}
.ws-page .ws-source-image-button .ws-source-thumbnail{width:178px;height:auto;max-height:270px;object-fit:contain}
@media(max-width:900px){.ws-result-pictures{columns:2}}
@media(max-width:650px){
 .ws-page .ws-work:nth-child(2n) .ws-figure,.ws-page .ws-work .ws-figure{aspect-ratio:auto!important}
 .ws-page .ws-detail-gallery figure:nth-child(2n){margin-top:0}
 .ws-results-wall{padding:22px 0 45px}
 .ws-result-pictures{columns:2;column-gap:8px}
 .ws-result-pictures figure{margin-bottom:8px}
 .ws-page .ws-source-image-button{width:112px;flex-basis:112px;min-height:86px}
 .ws-page .ws-source-image-button .ws-source-thumbnail{width:112px;max-height:170px}
}

/* V1.7 | Justified, densely packed gallery rows; complete originals open in lightbox. */
.ws-project-wall{padding:4px 0 62px}
.ws-page .ws-justified-gallery{display:flex;flex-wrap:wrap;align-content:start;gap:8px;align-items:stretch;width:100%;min-width:0}
.ws-page .ws-gallery-tile{margin:0;flex:0 0 auto;width:calc(25% - 6px);height:185px;min-width:0;overflow:hidden;background:#ededeb}
.ws-page .ws-gallery-open{display:block;width:100%;height:100%;border:0;padding:0;cursor:zoom-in;overflow:hidden;background:inherit}
.ws-page .ws-gallery-open img{display:block;width:100%;height:100%;max-height:none;object-fit:cover;object-position:center center;transition:transform .2s ease}
.ws-page .ws-gallery-open:hover img{transform:scale(1.015)}
.ws-page .ws-gallery-open:focus-visible{outline:3px solid #b72c2b;outline-offset:-3px}
.ws-page .ws-results-wall{padding:25px 0 54px}
.ws-page .ws-results-wall h2{margin-bottom:16px}
@media(max-width:650px){.ws-project-wall{padding-bottom:35px}.ws-page .ws-justified-gallery{gap:5px}.ws-page .ws-gallery-tile{width:calc(50% - 3px);height:115px}.ws-page .ws-results-wall{padding-bottom:36px}}
@media(prefers-reduced-motion:reduce){.ws-page .ws-gallery-open img{transition:none}}

/* V1.7 | Read very tall article screenshots comfortably in the image viewer. */
.ws-lightbox>.ws-lightbox-close{position:fixed;z-index:2;top:17px;right:22px}
.ws-lightbox>.ws-lightbox-zoom{position:fixed;z-index:2;top:17px;left:22px;right:auto}
.ws-lightbox.ws-zoomed{overflow:auto;justify-content:flex-start;align-items:center;padding-top:78px;padding-bottom:50px}
.ws-lightbox.ws-zoomed img{width:max(90vw,760px);height:auto;max-width:none;max-height:none;object-fit:contain;flex:none}
.ws-lightbox.ws-zoomed span{flex:none}
@media(max-width:650px){.ws-lightbox.ws-zoomed img{width:760px}}
