/* Shared article detail layout. Synced from the current reviewed ZTE
   proposal on 2026-11-04. Only body[data-case-article] pages opt in.
   Page-specific content, logos and existing 832x520 artwork stay independent. */
html body.wy-responsive[data-case-article] .case-banner { position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center; }
/* ZTE Banner v6 · approved preview synced 2026-11-04.
   Source: scheme 04 centred title + three enclosing translucent arcs.
   The middle arc is emphasised. Mobile has no separate artwork reserve.
   Existing title scales, auto height and native responsive layout are retained. */
html body.wy-responsive[data-case-article] #top.case-banner--center .case-banner__background{background:radial-gradient(ellipse at 8% 20%,rgba(212,205,249,.48),transparent 55%),radial-gradient(ellipse at 96% 20%,rgba(182,210,251,.54),transparent 58%),linear-gradient(110deg,#ECEAFC 0%,#F2F6FE 53%,#DBE9FC 100%)}
html body.wy-responsive[data-case-article] #top.case-banner--center .case-banner__background::after{background:linear-gradient(180deg,transparent 44%,rgba(255,255,255,.4) 75%,#fff 100%)}
@media(max-width:767px){html body.wy-responsive[data-case-article] #top.case-banner--center .case-banner__background::after{background:linear-gradient(180deg,transparent 58%,#fff 100%)}}
html body.wy-responsive[data-case-article] #top.case-banner--center{
 --case-center-title:72px;display:flex;align-items:center;height:auto!important;
 min-height:clamp(560px,calc(100svh - 320px),760px)!important;
 padding:var(--wy-layout-header,56px) 0 0!important;
}
html body.wy-responsive[data-case-article] #top.case-banner--center > .container{
 padding-block:48px!important;
}
html body.wy-responsive[data-case-article] #top.case-banner--center .case-banner__background{height:100%;}
html body.wy-responsive[data-case-article] #top.case-banner--center .case-banner__copy{
 display:flex;flex-direction:column;align-items:center;justify-content:center;
 max-width:1320px;width:100%;min-height:0;margin-inline:auto;text-align:center;
}
html body.wy-responsive[data-case-article] #top.case-banner--center .case-banner__identity{
 justify-content:center;margin:0 0 var(--wy-s6);
}
html body.wy-responsive[data-case-article] #top.case-banner--center .case-detail__brand{object-position:center;}
html body.wy-responsive[data-case-article] #top.case-banner--center :is(.case-detail__title,.case-banner__subtitle){
 width:100%;max-width:100%;margin:0!important;font-size:var(--case-center-title)!important;
 line-height:var(--wy-lh-head)!important;font-weight:500!important;
 letter-spacing:var(--wy-ls-title)!important;color:var(--wy-ink)!important;text-align:center;
 text-wrap:balance;white-space:normal!important;
}
html body.wy-responsive[data-case-article] #top.case-banner--center .case-banner__subtitle > span{display:block;}
@media(min-width:768px) and (max-width:1023px){
 html body.wy-responsive[data-case-article] #top.case-banner--center{--case-center-title:54px;}
}
@media(max-width:767px){
 html body.wy-responsive[data-case-article] #top.case-banner--center{--case-center-title:36px;}
 html body.wy-responsive[data-case-article] #top.case-banner--center .case-banner__identity{margin-bottom:var(--wy-s5);}
}

/* Native full-width decorative background, hidden from assistive technology. */
html body.wy-responsive[data-case-article] #top.case-banner--center .case-banner__spotlight-field{
 position:absolute;inset:0;display:block;width:100%;height:100%;
 pointer-events:none;overflow:hidden;
}

/* ZTE article revision: retain the current formal Banner and twelve-column
   frame. Each chapter owns its left sticky heading and right reading column.
   Native sticky pins/releases within its chapter, including without JS.
   UI internals keep the original 832x520 CSS fit owner. */
html { scroll-padding-block-start:96px; }
.case-article { --article-section-gap:var(--wy-s9); }
.case-article__body { padding-block:var(--wy-s7) var(--wy-s9); }
.case-article__content { min-width:0; }
.article-section { display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--wy-layout-gutter);align-items:start; }
.article-section + .article-section { margin-block-start:var(--article-section-gap); }
.article-section__heading { grid-column:1 / 4;align-self:stretch;min-width:0; }
html body.wy-responsive[data-case-article] .case-article .article-section__sticky { position:sticky;top:calc(var(--wy-layout-header,56px) + var(--wy-s7));margin:0; }
.article-section__content { grid-column:4 / 12;min-width:0;max-width:832px; }
.case-article__prose { max-width:40em; }
.case-article__prose > p { margin:0;color:var(--wy-g700);font-size:var(--wy-fs-body);line-height:var(--wy-lh-body); }
.case-article__prose > p + p { margin-block-start:var(--wy-s5); }
html body.wy-responsive[data-case-article] .case-article .article-question { font-size:var(--wy-fs-h2);line-height:var(--wy-lh-head);font-weight:500;color:var(--wy-ink); }
html body.wy-responsive[data-case-article] .case-article .article-pain-points { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--wy-s4);margin-block-start:var(--wy-s6); }
html body.wy-responsive[data-case-article] .case-article .article-pain-points > div { display:flex;flex-direction:column;align-items:flex-start;gap:var(--wy-s4);min-width:0;padding:var(--wy-s5);background:var(--wy-g25,#F7F7F9);border-radius:var(--wy-r-2xl);min-height:0; }
html body.wy-responsive[data-case-article] .case-article .article-pain-points span { font-size:var(--wy-fs-body);font-weight:400;color:var(--wy-g700); }
.case-article .article-feature + .article-feature { margin-block-start:var(--wy-s8); }
.case-article .article-feature-copy h3 { margin:0 0 var(--wy-s5); }
html body.wy-responsive[data-case-article] .case-article .case-detail__artwork { display:block;width:100%;max-width:832px;margin:var(--wy-s6) 0 0; }
/* Challenge cards keep all three original icons/labels in one desktop row.
   Text wraps at its original size; mobile uses full-width rows. */
/* Compact result cards: 250px minimum capacity. 832px fits three; below
   782px use two, below 516px use one. Text never scales or clips to fit. */
.article-results .article-section__content { container:article-results / inline-size; }
.case-article .article-result-list { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--wy-s4); }
html body.wy-responsive[data-case-article] .case-article .case-detail__result { display:flex;flex-direction:column;align-items:stretch;gap:var(--wy-s5);min-width:0;padding:var(--wy-s5);background:var(--wy-g25,#F7F7F9);border-radius:var(--wy-r-2xl); }
html body.wy-responsive[data-case-article] .case-article .case-detail__result-visual { flex:none;min-height:56px; }
html body.wy-responsive[data-case-article] .case-article .case-detail__metric { transform:none;font-size:var(--wy-fs-h1); }
html body.wy-responsive[data-case-article] .case-article .case-detail__result > p { max-width:40em; }
html body.wy-responsive[data-case-article] .case-article .case-detail__brands { width:100%; }
@container article-results (max-width:781px) { .case-article .article-result-list { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@container article-results (max-width:515px) { .case-article .article-result-list { grid-template-columns:minmax(0,1fr); } }
html body.wy-responsive[data-case-article] .case-article #cases { border-top:1px solid var(--wy-g200); }
.case-article :is(h2,h3,figure[id]) { scroll-margin-block-start:24px; }
@media (min-width:768px) and (max-width:1023px) {
 .article-section__content { grid-column:4 / 13; }
 html body.wy-responsive[data-case-article] .case-article .article-pain-points > div { padding:var(--wy-s4); }
}
@media (max-width:767px) {
 .case-article { --article-section-gap:var(--wy-s8); }
 .case-article__body { padding-block:var(--wy-s6) var(--wy-s8); }
 .article-section { display:block; }
 /* A compact top-left chapter heading replaces the desktop left column.
    Its containing section releases it before the next section takes over. */
 .article-section__heading { position:sticky;top:var(--wy-layout-header,64px);z-index:2;margin-block-end:var(--wy-s5);padding-block:var(--wy-s3);background:#FFF; }
 html body.wy-responsive[data-case-article] .case-article .article-section__sticky { position:static; }
 html body.wy-responsive[data-case-article] .case-article .article-question { font-size:var(--wy-fs-h3); }
 html body.wy-responsive[data-case-article] .case-article .article-pain-points { grid-template-columns:minmax(0,1fr);gap:var(--wy-s4);margin-block-start:var(--wy-s5); }
 html body.wy-responsive[data-case-article] .case-article .article-pain-points > div { flex-direction:row;align-items:center;gap:var(--wy-s4);min-height:32px; }
 .case-article .article-feature + .article-feature { margin-block-start:var(--wy-s7); }
 .case-article .article-feature-copy h3 { margin-block-end:var(--wy-s4); }
 html body.wy-responsive[data-case-article] .case-article .case-detail__artwork { margin-block-start:var(--wy-s5); }
 html body.wy-responsive[data-case-article] .case-article .case-detail__result-visual { min-height:48px; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto!important; } }

/* Editorial alignment v4: section labels and titles form one sticky group.
   The Chinese section title uses the right-hand h2 tier. Labels retain the
   shared small uppercase tier. Prose and media share the 40em reading measure;
   only challenge cards use the wider existing 832px grid area. */
html body.wy-responsive[data-case-article] .case-article .article-section__sticky > h2 {
 margin:0;font-size:var(--wy-fs-h2)!important;line-height:var(--wy-lh-head)!important;letter-spacing:normal!important;
}
.case-article .article-section__sticky > .sec-label { margin:0 0 var(--wy-s4); }
.case-article .article-section__content { padding-block-start:36px; }
.case-article .article-feature { width:100%;max-width:var(--wy-measure); }
.case-article .article-feature-copy { width:100%;max-width:100%; }
.case-article .article-result-list { width:100%;max-width:var(--wy-measure); }
.case-article__prose > p:not(.article-question) { text-align:justify;text-align-last:start; }
html body.wy-responsive[data-case-article] .case-article .case-detail__artwork {
 max-width:100%;border-radius:var(--wy-r-2xl);background:var(--wy-g25,#F7F7F9);
}
html body.wy-responsive[data-case-article] .case-article #cases .fill-cases__head h2 {
 font-size:var(--wy-fs-h2)!important;line-height:var(--wy-lh-head)!important;
}
/* Keep the original Banner field and source-logo silhouette. The original-colour mark,
   heading and subtitle align with the shared container's leading edge. */
html body.wy-responsive[data-case-article] #top.case-banner--center { --case-center-title:56px; }
html body.wy-responsive[data-case-article] #top.case-banner--center .case-banner__copy {
 align-items:flex-start;max-width:100%;margin-inline:0;text-align:start;
}
html body.wy-responsive[data-case-article] #top.case-banner--center .case-banner__identity {
 justify-content:flex-start;
}
html body.wy-responsive[data-case-article] #top.case-banner--center .case-detail__brand {
 object-position:left center;
}
html body.wy-responsive[data-case-article] #top.case-banner--center :is(.case-detail__title,.case-banner__subtitle) {
 text-align:start;text-wrap:pretty;
}
@media (max-width:767px) {
 .case-article .article-section__content { padding-block-start:0; }
 html body.wy-responsive[data-case-article] .case-article .article-question { font-size:var(--wy-fs-h2); }
}
/* Compact desktop shares the existing 32px h2 semantic tier, even where
   the legacy root token still holds its tablet value below 1200px. */
@media (min-width:1024px) {
 html body.wy-responsive[data-case-article] .case-article .article-section__sticky > h2,
 html body.wy-responsive[data-case-article] .case-article #cases .fill-cases__head h2 { font-size:32px!important; }
}

/* Scale review v5. Banner now uses the existing 56 / 44 / 36px tiers; left alignment stays. */
@media (min-width:768px) and (max-width:1023px) {
 html body.wy-responsive[data-case-article] #top.case-banner--center { --case-center-title:44px; }
}
@media (max-width:767px) {
 html body.wy-responsive[data-case-article] #top.case-banner--center { --case-center-title:36px; }
}
/* Keep the complete original icon slot in flow so card heights and text
   positions stay unchanged; only the visible SVG becomes 70% of its size. */
html body.wy-responsive[data-case-article] .case-article .article-pain-points .case-detail__icon {
 transform:scale(.7);transform-origin:left center;
}
/* The outer grid supplies the available trailing space. Increase each full
   figure to 140% of its reading width, capped by the last grid column.
   Existing ss-fit is still the only stage scaling owner. */
.case-article__body { container-type:inline-size; }
html body.wy-responsive[data-case-article] .case-article .case-detail__artwork {
 width:min(140%,calc(75cqw - var(--wy-layout-gutter) / 4));max-width:none;
}
/* Restore the earlier 832px result row (three ~267x248px cards at 1920).
   Existing capacity rules retain readable narrow-width layouts. */
.case-article .article-result-list { max-width:832px; }
/* A faint rule shares the content frame, instead of spanning the viewport. */
html body.wy-responsive[data-case-article] .case-article #cases { border-top:0; }
.case-article__divider::after { content:"";display:block;height:1px;background:rgba(22,22,27,.045); }
@media (max-width:767px) {
 html body.wy-responsive[data-case-article] .case-article .case-detail__artwork { width:100%; }
}
/* Let the challenge question use the available trailing grid space instead
   of inheriting the paragraph's 680px reading limit. Compact widths reflow
   naturally at the shared frame edge; body text retains its reading measure. */
html body.wy-responsive[data-case-article] .case-article .article-question {
 width:max-content;max-width:calc(75cqw - var(--wy-layout-gutter) / 4);
}
@media (max-width:767px) {
 html body.wy-responsive[data-case-article] .case-article .article-question { width:100%;max-width:100%; }
}

/* A two-result story keeps the same compact card width as the three-result
   ZTE row. Preserve the source count rather than inventing a third result. */
.case-article .article-result-list[data-result-count="2"] {
 grid-template-columns:repeat(2,minmax(0,1fr));
 max-width:calc((832px - 2 * var(--wy-s4)) / 3 * 2 + var(--wy-s4));
}
@container article-results (max-width:515px) {
 .case-article .article-result-list[data-result-count="2"] { grid-template-columns:minmax(0,1fr); }
}

/* Current common edge: the original 680px reading width enlarged to 140%.
   Make the right column itself 952px (or the available nine grid columns),
   so text, both card rows and the unchanged complete figures share its edge.
   The figure's ss-fit remains its only scale owner. */
.case-article .article-section__content { grid-column:4 / 13;max-width:952px; }
.case-article .case-article__prose,
.case-article .article-feature,
.case-article .article-feature-copy,
.case-article .article-result-list,
.case-article .article-result-list[data-result-count="2"] { width:100%;max-width:none; }
html body.wy-responsive[data-case-article] .case-article .article-question { width:100%;max-width:none; }
html body.wy-responsive[data-case-article] .case-article .case-detail__artwork { width:100%;max-width:none; }
@media (min-width:1024px) {
 html body.wy-responsive[data-case-article] .case-article .case-detail__result { min-height:248px; }
}
@media (max-width:767px) {
 .case-article .article-section__content { max-width:none; }
}
/* Article Banners: quiet ZTE tags and original-colour client marks. Desktop keeps the mark
   on title line one; mobile follows the native tags / title / logo order. */
html body.wy-responsive:is([data-responsive-page="case-zte"],[data-responsive-page="case-cfmoto"],[data-responsive-page="case-sunseeker"],[data-case-anonymous])[data-case-article] #top .case-banner__tags {
 display:flex;flex-wrap:wrap;gap:var(--wy-s2);margin:0 0 var(--wy-s5);padding:0;list-style:none;
}
html body.wy-responsive:is([data-responsive-page="case-zte"],[data-responsive-page="case-cfmoto"],[data-responsive-page="case-sunseeker"],[data-case-anonymous])[data-case-article] #top .case-banner__tags li {
 border:1px solid transparent;border-radius:var(--wy-r-sm);padding:var(--wy-s1) var(--wy-s2);
 font-size:var(--wy-fs-micro);line-height:var(--wy-lh-label);
 background:rgba(255,255,255,.4);color:var(--wy-primary);
}
html body.wy-responsive:is([data-responsive-page="case-zte"],[data-responsive-page="case-cfmoto"],[data-responsive-page="case-sunseeker"],[data-case-anonymous])[data-case-article] #top .case-banner__title-row {
 display:flex;align-items:flex-start;justify-content:space-between;gap:var(--wy-s6);width:100%;
}
html body.wy-responsive:is([data-responsive-page="case-zte"],[data-responsive-page="case-cfmoto"],[data-responsive-page="case-sunseeker"],[data-case-anonymous])[data-case-article] #top .case-banner__title-row > h1 {
 flex:1;min-width:0;
}
html body.wy-responsive:is([data-responsive-page="case-zte"],[data-responsive-page="case-cfmoto"],[data-responsive-page="case-sunseeker"],[data-case-anonymous])[data-case-article] #top .case-banner__identity {
 flex:none;margin:6px 0 0!important;
}
html body.wy-responsive:is([data-responsive-page="case-zte"],[data-responsive-page="case-cfmoto"],[data-responsive-page="case-sunseeker"],[data-case-anonymous])[data-case-article] #top .case-detail__brand {
 width:auto;height:var(--case-center-title);object-position:right center;
}
/* A single native logo follows the complete title in DOM order. The desktop
   grid places it beside line one, while mobile uses the same left edge for
   the tags, both title elements and logo without changing the type scale. */
html body.wy-responsive:is([data-responsive-page="case-zte"],[data-responsive-page="case-cfmoto"],[data-responsive-page="case-sunseeker"],[data-case-anonymous])[data-case-article] #top.case-banner--center .case-banner__copy {
 display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;
}
html body.wy-responsive:is([data-responsive-page="case-zte"],[data-responsive-page="case-cfmoto"],[data-responsive-page="case-sunseeker"],[data-case-anonymous])[data-case-article] #top .case-banner__tags { grid-column:1 / -1;grid-row:1; }
html body.wy-responsive:is([data-responsive-page="case-zte"],[data-responsive-page="case-cfmoto"],[data-responsive-page="case-sunseeker"],[data-case-anonymous])[data-case-article] #top .case-banner__title-row { grid-column:1;grid-row:2; }
html body.wy-responsive:is([data-responsive-page="case-zte"],[data-responsive-page="case-cfmoto"],[data-responsive-page="case-sunseeker"],[data-case-anonymous])[data-case-article] #top .case-banner__subtitle { grid-column:1 / -1;grid-row:3; }
html body.wy-responsive:is([data-responsive-page="case-zte"],[data-responsive-page="case-cfmoto"],[data-responsive-page="case-sunseeker"],[data-case-anonymous])[data-case-article] #top .case-banner__identity { grid-column:2;grid-row:2; }
@media (max-width:767px) {
 html body.wy-responsive:is([data-responsive-page="case-zte"],[data-responsive-page="case-cfmoto"],[data-responsive-page="case-sunseeker"],[data-case-anonymous])[data-case-article] #top.case-banner--center .case-banner__copy { display:flex;align-items:flex-start; }
 html body.wy-responsive:is([data-responsive-page="case-zte"],[data-responsive-page="case-cfmoto"],[data-responsive-page="case-sunseeker"],[data-case-anonymous])[data-case-article] #top .case-banner__identity { align-self:flex-start;margin:var(--wy-s5) 0 0!important; }
 html body.wy-responsive:is([data-responsive-page="case-zte"],[data-responsive-page="case-cfmoto"],[data-responsive-page="case-sunseeker"],[data-case-anonymous])[data-case-article] #top .case-detail__brand { object-position:left center; }
}


@media (min-width:768px) {
 html body.wy-responsive:is([data-responsive-page="case-cfmoto"],[data-responsive-page="case-sunseeker"])[data-case-article] #top.case-banner--center .case-banner__copy { column-gap:var(--wy-s6); }
}

/* Remove the inherited paragraph cap as well as the wrapper cap. */
.case-article .case-article__prose > p { width:100%;max-width:none; }
/* Restore the two semantic subtitle lines below the first title line.
   Each line can still wrap naturally when the viewport needs more height. */
html body.wy-responsive[data-responsive-page="case-zte"][data-case-article] #top .case-banner__subtitle > span { display:block; }

/* ZTE results use the challenge icons' same 48 / 32px slot and 70% visible
   size. Reduce each original-colour logo proportionally, keeping its optical
   width and the card's existing visual slot / paragraph alignment. */
html body.wy-responsive[data-responsive-page="case-zte"][data-case-article] .case-article .case-detail__result-visual > .case-detail__icon {
 width:48px;height:48px;transform:scale(.7);transform-origin:left center;
}
html body.wy-responsive[data-responsive-page="case-zte"][data-case-article] .case-article .case-detail__brands {
 --result-logo-unit:min(.7px,calc((100cqw - 24.64px) / 232));column-gap:12.32px;
}
@media (max-width:767px) {
 html body.wy-responsive[data-responsive-page="case-zte"][data-case-article] .case-article .case-detail__result-visual > .case-detail__icon { width:32px;height:32px; }
 html body.wy-responsive[data-responsive-page="case-zte"][data-case-article] .case-article .case-detail__brands {
  --result-logo-unit:min(.466666667px,calc((100cqw - 12.32px) / 232));column-gap:6.16px;
 }
}

/* Case chapter contract, 2026-11-04: left is only a fixed chapter label.
   Supplied business headings remain in the right content column. */
.case-article .article-solutions-intro {margin-block-end:var(--wy-s7);}
.case-article .article-solutions-intro > h3 {margin:0;}
