/* Cargado /resources/case-studies, direction D (Webflow embed package case-studies-d-port, 10/7/2026).
   Everything is scoped under .cg-csx (two embeds: .cg-csx-featured and .cg-csx-stories); inner classes use csx-.
   Headings follow the site: --f-head reads --_typography---font-styles--heading and h2/h3 set no font-weight,
   so the site's own h2/h3 rules supply it (Libre Franklin 600 after the font release; Space Grotesk 500 before). */

/* ---- English-only hides of the live content this replaces (CSS loads only on /resources/case-studies) ---- */
/* 1. The 12-card CMS grid ("Featured article list header", id blog-header-1). */
html[lang^="en"] header#blog-header-1.section_insights-blog_featured-article-list-header{display:none!important}
/* 2. The Gebrüder Weiss quote block (Testimonial component, white variant). */
html[lang^="en"] section.section_testimonial1[data-wf--testimonial--variant="white"]{display:none!important}

/* ---- Tokens and host resets ---- */
.cg-csx{--f-head:var(--_typography---font-styles--heading,"Libre Franklin","Helvetica Neue",Helvetica,Arial,sans-serif);--f-body:Inter,"Segoe UI","Helvetica Neue",Helvetica,Arial,sans-serif;--ink:#0F172A;--body:#475569;--cap:#64748B;--line:#E2E8F0;--alt:#F8FAFC;--card:#fff;--azul:#345ED1;--azul-50:#EEF2FB;--azul-100:#DEE5F7;--azul-200:#CDD7F4;--azul-800:#2648A6;--azul-900:#1E3A85;--azul-950:#0F204B;--on-b2:#BFD3FF;--link:#345ED1;--sh-card:0 1px 2px rgba(15,23,42,.05),0 16px 36px -18px rgba(20,38,92,.22);--sh-card-hi:0 2px 4px rgba(15,23,42,.06),0 24px 44px -18px rgba(20,38,92,.34);--sh-card-dk:0 28px 56px -28px rgba(4,10,30,.6);--max:calc(1280px + 10vw);--gut:max(16px,5vw);--sec-pad:clamp(64px,8vw,112px);--fs-h2:clamp(30px,3.3vw,46px);display:block;font-family:var(--f-body);font-size:16px;line-height:1.5;color:var(--ink);text-align:left;-webkit-font-smoothing:antialiased}
.cg-csx *,.cg-csx *::before,.cg-csx *::after{box-sizing:border-box}
.cg-csx h2,.cg-csx h3,.cg-csx p,.cg-csx figure,.cg-csx blockquote,.cg-csx figcaption{margin:0;padding:0}
.cg-csx h2,.cg-csx h3{font-family:var(--f-head);letter-spacing:-.03em;color:var(--ink);text-wrap:balance}
.cg-csx blockquote{border:0;font-size:inherit;line-height:inherit;letter-spacing:normal}
.cg-csx a{color:var(--link);text-decoration:none}
.cg-csx img,.cg-csx svg{display:block;max-width:100%}
.cg-csx button,.cg-csx select{font:inherit;letter-spacing:normal;margin:0}
.cg-csx label{margin:0;font-family:var(--f-body);font-size:13px;font-weight:600;line-height:1.5;letter-spacing:normal;text-transform:none}
.cg-csx [hidden]{display:none!important}
.cg-csx :focus-visible{outline:2px solid var(--azul);outline-offset:2px}
.cg-csx:not(.csx-ready) [data-csx-js]{display:none}
.cg-csx .csx-pad{max-width:var(--max);margin-inline:auto;padding-inline:var(--gut)}
.cg-csx .csx-in{max-width:none}
.cg-csx .csx-sec{padding-block:var(--sec-pad)}
.cg-csx-featured .csx-sec{padding-top:clamp(40px,5vw,64px)}
.cg-csx .csx-alt{background:var(--alt)}
.cg-csx .csx-arr{display:inline-block;transition:transform .18s ease}

/* ---- Featured tabs (REDESIGN-04 pattern) ---- */
.cg-csx .csx-head{margin:0 0 clamp(32px,4vw,48px);text-align:left}
.cg-csx .csx-head h2{font-size:var(--fs-h2);line-height:1.08;max-width:24ch}
.cg-csx .csx-set{display:grid;gap:20px}
.cg-csx .csx-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.cg-csx .csx-tabs button{cursor:pointer;display:grid;place-items:center;min-height:68px;padding:14px 12px;border-radius:12px;border:1px solid var(--line);background:#fff;color:var(--body);transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}
.cg-csx .csx-tabs button:hover{border-color:var(--azul-200);transform:translateY(-1px);box-shadow:var(--sh-card)}
.cg-csx .csx-tabs button[aria-selected="true"]{border-color:var(--azul);box-shadow:inset 0 0 0 1px var(--azul);transform:none}
.cg-csx .csx-t-bb{height:30px;width:auto}
.cg-csx .csx-t-st{height:19px;width:auto;aspect-ratio:171/24}
.cg-csx .csx-t-dc{height:24px;width:auto}
.cg-csx .csx-panels{display:grid}
.cg-csx .csx-panels>.csx-feat{grid-area:1/1;transition:opacity .2s ease}
.cg-csx .csx-panels>.csx-feat[hidden]{display:grid!important;visibility:hidden;opacity:0}
.cg-csx .csx-feat{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.5fr);border-radius:20px;overflow:hidden;background:var(--azul-900);color:#fff;box-shadow:var(--sh-card-dk)}
.cg-csx .csx-fig{padding:clamp(28px,3.4vw,48px);display:grid;grid-template-rows:auto auto;gap:14px;align-content:center;background:var(--azul-950)}
.cg-csx .csx-fig b{font-family:var(--f-body);font-weight:700;font-size:clamp(52px,5.4vw,76px);letter-spacing:-.04em;line-height:.95;color:#fff}
.cg-csx .csx-fig span{font-size:clamp(18px,1.6vw,21px);line-height:1.35;color:var(--on-b2);max-width:24ch}
.cg-csx .csx-body{padding:clamp(28px,3.4vw,48px);display:grid;align-content:center}
.cg-csx .csx-body blockquote{margin:0 0 28px;font-family:var(--f-head);font-weight:500;font-size:clamp(20px,2.1vw,27px);letter-spacing:-.01em;line-height:1.3;color:#fff}
.cg-csx figcaption{display:flex;gap:12px;align-items:center;font-size:14px;line-height:1.5;color:var(--body);text-align:left}
.cg-csx figcaption span{display:grid}
.cg-csx figcaption b{color:var(--ink);font-weight:600}
.cg-csx .csx-body figcaption{color:var(--on-b2)}
.cg-csx .csx-body figcaption b{color:#fff}
.cg-csx .csx-face{width:44px;height:44px;border-radius:50%;object-fit:cover;flex:none}
.cg-csx .csx-mono{display:grid;place-items:center;background:var(--azul);color:#fff;font-weight:600;font-size:15px}
.cg-csx .csx-read{display:inline-flex;align-items:center;gap:6px;min-height:44px;margin-top:12px;justify-self:start;color:#D6E3FF;font-weight:600;font-size:14.5px}
.cg-csx .csx-read:hover{color:#fff}
.cg-csx .csx-read:hover .csx-arr{transform:translateX(3px)}
.cg-csx .csx-read:focus-visible{outline-color:#fff}

/* ---- All stories: heading row, toolbar, filters ---- */
.cg-csx .csx-sh{display:flex;flex-wrap:wrap;align-items:end;justify-content:space-between;gap:12px 24px;margin-bottom:clamp(24px,3vw,36px)}
.cg-csx .csx-sh h2{font-size:var(--fs-h2);line-height:1.08}
.cg-csx .csx-count{font-size:14px;color:var(--cap)}
.cg-csx .csx-count b{color:var(--ink);font-weight:600}
.cg-csx .csx-tools{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}
.cg-csx .csx-views{display:inline-flex;gap:4px;padding:4px;border:1px solid var(--line);border-radius:999px;background:#fff}
.cg-csx .csx-views button{min-height:44px;font-size:14px;font-weight:600;line-height:1.2;padding:9px 18px;border:0;border-radius:999px;background:transparent;color:var(--body);cursor:pointer;transition:background-color .18s ease,color .18s ease}
.cg-csx .csx-views button:hover{color:var(--ink);background:var(--azul-50)}
.cg-csx .csx-views button[aria-selected="true"]{background:var(--azul);color:#fff}
.cg-csx .csx-grp{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.cg-csx .csx-chip{display:inline-flex;align-items:center;gap:6px;min-height:44px;font-size:14px;font-weight:500;line-height:1.2;cursor:pointer;padding:9px 16px;border-radius:999px;border:1px solid var(--line);background:#fff;color:var(--body);transition:border-color .15s ease,color .15s ease,background-color .15s ease}
.cg-csx .csx-chip:hover{border-color:var(--azul-200);color:var(--ink)}
.cg-csx .csx-chip[aria-pressed="true"]{background:var(--azul);border-color:var(--azul);color:#fff}
.cg-csx .csx-chip small{font-size:12px;opacity:.8}
.cg-csx .csx-fso{display:none}
.cg-csx .csx-fso small{background:var(--azul);color:#fff;border-radius:999px;padding:1px 7px;opacity:1;font-weight:600}
.cg-csx .csx-fso small:empty{display:none}
.cg-csx .csx-fp{display:grid;gap:14px;padding:20px 22px;margin-bottom:24px;border:1px solid var(--line);border-radius:20px;background:#fff}
.cg-csx .csx-fph,.cg-csx .csx-fpf,.cg-csx .csx-fsbg{display:none}
.cg-csx .csx-frow{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px}
.cg-csx .csx-flab{font-size:13px;font-weight:600;color:var(--cap);min-width:104px}
.cg-csx .csx-sizes{display:grid;gap:10px;flex:1 1 320px}
.cg-csx .csx-sub{font-size:13px;color:var(--cap);margin:0 4px 0 6px}
.cg-csx .csx-fhint{font-size:13px;color:var(--cap);max-width:70ch}
.cg-csx .csx-frow-size{align-items:flex-start}
.cg-csx .csx-frow-size>.csx-flab{padding-top:12px}
.cg-csx .csx-frow-sel{gap:12px 20px}
.cg-csx .csx-selw{display:inline-flex;align-items:center;gap:10px;font-size:13px;font-weight:600;color:var(--cap)}
.cg-csx .csx-selw+.csx-selw .csx-flab{min-width:0}
.cg-csx .csx-sel{min-height:44px;font-size:14px;font-weight:500;color:var(--ink);padding:9px 36px 9px 14px;border:1px solid var(--line);border-radius:999px;background:#fff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8"><path d="M1 1.5 6 6.5l5-5" fill="none" stroke="%23475569" stroke-width="1.6" stroke-linecap="round"/></svg>') no-repeat right 14px center;-webkit-appearance:none;appearance:none;cursor:pointer;max-width:100%}
.cg-csx .csx-sel:hover{border-color:var(--azul-200)}
.cg-csx .csx-reset{color:var(--cap)}
.cg-csx .csx-btn{display:inline-flex;align-items:center;justify-content:center;font-weight:600;font-size:15px;line-height:1.2;min-height:48px;padding:0 22px;border:0;border-radius:999px;background:var(--azul);color:#fff;cursor:pointer;width:100%}
.cg-csx .csx-btn:hover{background:var(--azul-800)}

/* ---- Views ---- */
@keyframes csx-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.cg-csx .csx-view.csx-anim{animation:csx-in .22s ease both}
.cg-csx .csx-np{margin-top:32px;padding-top:24px;border-top:1px dashed #CBD5E1}
.cg-csx .csx-nph{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;margin-bottom:16px}
.cg-csx .csx-npt{font-size:14px;font-weight:600;color:var(--ink)}
.cg-csx .csx-nph span{font-size:14px;color:var(--cap)}
.cg-csx .csx-empty{display:none}
.cg-csx .csx-empty.on{display:grid;justify-items:center;gap:14px;padding:32px 24px;margin-bottom:20px;border:1px dashed #CBD5E1;border-radius:20px;background:#fff;color:var(--body);text-align:center}
.cg-csx .csx-empty .csx-chip{color:var(--azul);border-color:var(--azul-200);font-weight:600}

/* Meatball tiles: the library renders sit on a soft gray backdrop, so they show inside a rounded tile of that gray */
.cg-csx .csx-mb{display:block;flex:none;overflow:hidden;border-radius:12px;background:linear-gradient(#F3F3F3,#E4E4E4)}
.cg-csx .csx-mb img{width:100%;height:100%;object-fit:cover;object-position:50% 0}
.cg-csx .csx-mb-map{width:96px;height:128px}
.cg-csx .csx-mb-empty{width:120px;height:160px}

/* Outcomes */
.cg-csx .csx-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.cg-csx .csx-oc{display:grid;grid-template-rows:auto 1fr auto auto;gap:18px;padding:clamp(22px,2.4vw,28px);border:1px solid var(--line);border-radius:20px;background:var(--card);box-shadow:var(--sh-card);color:inherit;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}
.cg-csx .csx-oc:hover,.cg-csx .csx-oc:focus-visible{border-color:var(--azul-200);box-shadow:var(--sh-card-hi);transform:translateY(-3px)}
.cg-csx .csx-oc:focus-visible{outline-offset:3px}
.cg-csx .csx-oc:hover .csx-arr,.cg-csx .csx-oc:focus-visible .csx-arr{transform:translateX(4px)}
.cg-csx .csx-top{display:flex;justify-content:space-between;gap:12px;font-size:13px;font-weight:600;color:var(--cap)}
.cg-csx .csx-tag{color:var(--azul);font-size:13px;font-weight:600}
.cg-csx .csx-num b{display:block;font-family:var(--f-body);font-weight:700;font-size:clamp(44px,4.4vw,60px);letter-spacing:-.04em;line-height:1;color:var(--azul)}
.cg-csx .csx-num span{display:block;margin-top:8px;font-size:16px;line-height:1.4;color:var(--body);max-width:28ch}
.cg-csx .csx-lead{margin:0;font-family:var(--f-head);font-weight:600;font-size:clamp(20px,1.8vw,23px);line-height:1.25;letter-spacing:-.02em;color:var(--ink)}
.cg-csx .csx-co h3{font-size:19px;line-height:1.25;letter-spacing:-.02em}
.cg-csx .csx-meta{margin-top:4px;font-size:14px;color:var(--cap)}
.cg-csx .csx-go{display:flex;justify-content:space-between;align-items:center;padding-top:16px;border-top:1px solid var(--line);font-weight:600;font-size:14.5px;color:var(--link)}

/* In their words */
.cg-csx .csx-wall{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(320px,100%),1fr));gap:20px;align-items:start}
.cg-csx .csx-qc{break-inside:avoid;display:grid;gap:18px;min-width:0;margin:0;padding:clamp(22px,2.4vw,28px);border:1px solid var(--line);border-radius:20px;background:var(--card);box-shadow:var(--sh-card);transition:border-color .18s ease,box-shadow .18s ease}
.cg-csx .csx-qc:hover,.cg-csx .csx-qc:focus-within{border-color:var(--azul-200);box-shadow:var(--sh-card-hi)}
.cg-csx .csx-qco{font-size:13px;font-weight:600;color:var(--cap)}
.cg-csx .csx-pill{justify-self:start;display:inline-flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;padding:6px 12px;border-radius:12px;background:var(--azul-50);color:var(--azul-900);font-size:13.5px;line-height:1.3}
.cg-csx .csx-pill b{font-weight:700;font-size:15px;white-space:nowrap}
.cg-csx .csx-qc blockquote{font-family:var(--f-head);font-weight:500;font-size:19px;line-height:1.38;letter-spacing:-.01em;color:var(--ink)}
.cg-csx .csx-qgo{justify-self:start;display:inline-flex;align-items:center;gap:6px;min-height:44px;margin:-10px 0 -8px;font-weight:600;font-size:14.5px;color:var(--link)}
.cg-csx .csx-qgo:hover{color:var(--azul-800)}
.cg-csx .csx-qgo:hover .csx-arr{transform:translateX(3px)}

/* Map: places panel and ledger */
.cg-csx .csx-mapbox{display:grid;gap:clamp(20px,2.6vw,28px);margin-bottom:20px;padding:clamp(20px,3vw,36px);border:1px solid var(--line);border-radius:20px;background:#fff}
.cg-csx .csx-maphead{display:flex;align-items:center;gap:20px}
.cg-csx .csx-maph{font-size:clamp(22px,2.4vw,28px);line-height:1.1}
.cg-csx .csx-hint{margin-top:6px;font-size:15px;color:var(--body)}
.cg-csx .csx-band{display:grid;gap:12px}
.cg-csx .csx-bandh{font-size:13px;font-weight:600;letter-spacing:.02em;color:var(--cap)}
.cg-csx .csx-stops{display:flex;flex-wrap:wrap;gap:10px}
.cg-csx .csx-b7{position:relative;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;padding-top:22px}
.cg-csx .csx-b7::before{content:"";position:absolute;left:4%;right:4%;top:8px;height:3px;border-radius:3px;background:linear-gradient(90deg,var(--azul-200),var(--azul),var(--azul-200))}
.cg-csx .csx-stop{position:relative;cursor:pointer;display:grid;gap:2px;justify-items:center;min-height:44px;padding:10px 8px;border-radius:12px;border:1px solid var(--line);background:#fff;color:var(--ink);text-align:center;transition:border-color .15s ease,background-color .15s ease,transform .15s ease}
.cg-csx .csx-stop b{font-size:14.5px;font-weight:600;line-height:1.25}
.cg-csx .csx-stop small{font-size:12.5px;color:var(--cap)}
.cg-csx .csx-b7 .csx-stop::before{content:"";position:absolute;top:-19px;left:50%;width:11px;height:11px;margin-left:-5.5px;border-radius:50%;background:#fff;border:3px solid var(--azul);transition:background-color .15s ease}
.cg-csx .csx-stop:hover{border-color:var(--azul-200);transform:translateY(-1px)}
.cg-csx .csx-stop[aria-pressed="true"]{background:var(--azul);border-color:var(--azul);color:#fff}
.cg-csx .csx-stop[aria-pressed="true"] small{color:var(--azul-100)}
.cg-csx .csx-stop[aria-pressed="true"]::before{background:var(--azul-950)}
.cg-csx .csx-stops:not(.csx-b7) .csx-stop{padding:10px 14px;justify-items:start;text-align:left}
.cg-csx .csx-mapbox>.csx-reset{justify-self:start}
.cg-csx .csx-ledger{display:grid;gap:12px}
.cg-csx .csx-row{border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:var(--sh-card);transition:border-color .18s ease,box-shadow .18s ease}
.cg-csx .csx-row:hover,.cg-csx .csx-row[open]{border-color:var(--azul-200);box-shadow:var(--sh-card-hi)}
.cg-csx .csx-row summary{list-style:none;cursor:pointer;display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2.4fr) minmax(0,3fr) auto;gap:20px;align-items:center;padding:20px 24px;border-radius:20px}
.cg-csx .csx-row summary::-webkit-details-marker{display:none}
.cg-csx .csx-who h3{font-size:19px;line-height:1.25;letter-spacing:-.02em}
.cg-csx .csx-who .csx-tag{font-size:12.5px}
.cg-csx .csx-who .csx-meta{margin-top:2px}
.cg-csx .csx-pr b{display:block;font-family:var(--f-body);font-weight:700;font-size:clamp(30px,2.8vw,38px);letter-spacing:-.035em;line-height:1;color:var(--azul)}
.cg-csx .csx-pr span{display:block;margin-top:4px;font-size:14px;color:var(--body)}
.cg-csx .csx-pr em{font-size:14px;font-style:normal;color:var(--cap)}
.cg-csx .csx-pl{display:flex;flex-wrap:wrap;gap:6px}
.cg-csx .csx-pl span{font-size:12.5px;font-weight:500;padding:4px 10px;border-radius:999px;background:var(--azul-50);color:var(--azul-900)}
.cg-csx .csx-pl .csx-none{background:none;color:var(--cap);padding-left:0}
.cg-csx .csx-tog{display:inline-flex;align-items:center;min-height:44px;font-size:14px;font-weight:600;color:var(--link);white-space:nowrap}
.cg-csx .csx-tog::after{content:"+";display:inline-grid;place-items:center;width:22px;height:22px;margin-left:8px;border-radius:50%;background:var(--azul-50);transition:transform .2s ease}
.cg-csx .csx-row[open] .csx-tog::after{content:"−"}
.cg-csx .csx-row .csx-feat{margin:0 16px 16px;box-shadow:none}
.cg-csx .csx-row[open] .csx-feat{animation:csx-in .22s ease both}
.cg-csx .csx-row .csx-fig b{font-size:clamp(40px,4vw,56px)}
.cg-csx .csx-row .csx-body blockquote{font-size:clamp(18px,1.8vw,23px)}
.cg-csx .csx-hl{font-family:var(--f-head);font-weight:600;font-size:clamp(20px,2vw,26px);line-height:1.2;letter-spacing:-.02em;color:#fff}

/* ---- Responsive ---- */
@media (max-width:980px){.cg-csx .csx-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:900px){.cg-csx .csx-row summary{grid-template-columns:minmax(0,1fr) auto;gap:12px 16px}.cg-csx .csx-pr,.cg-csx .csx-pl{grid-column:1/-1}.cg-csx .csx-tog{grid-row:1;grid-column:2}}
@media (max-width:820px){.cg-csx .csx-b7{grid-template-columns:repeat(4,minmax(0,1fr));padding-top:0}.cg-csx .csx-b7::before,.cg-csx .csx-b7 .csx-stop::before{display:none}}
@media (max-width:760px){
  .cg-csx .csx-feat{grid-template-columns:1fr}
  .cg-csx .csx-fso{display:inline-flex}
  .cg-csx .csx-fsbg{display:block;position:fixed;inset:0;background:rgba(15,23,42,.45);z-index:2147482000}
  .cg-csx .csx-fsbg[hidden]{display:none!important}
  .cg-csx .csx-fp{position:fixed;left:0;right:0;bottom:0;z-index:2147482001;max-height:88vh;overflow:auto;overscroll-behavior:contain;margin:0;border-radius:20px 20px 0 0;box-shadow:0 -12px 40px rgba(15,23,42,.25);transform:translateY(102%);visibility:hidden;transition:transform .25s ease,visibility 0s linear .25s;padding:16px 16px calc(16px + env(safe-area-inset-bottom))}
  .cg-csx .csx-fp.open{transform:none;visibility:visible;transition:transform .25s ease,visibility 0s}
  .cg-csx .csx-fph{display:flex;align-items:center;justify-content:space-between;position:sticky;top:-16px;z-index:2;margin:-16px -16px 4px;padding:12px 16px;background:#fff;border-bottom:1px solid var(--line);font-family:var(--f-head);font-weight:600;font-size:20px;letter-spacing:-.02em}
  .cg-csx .csx-fpx{font-size:24px;line-height:1;width:44px;height:44px;border:1px solid var(--line);border-radius:50%;background:#fff;color:var(--body);cursor:pointer}
  .cg-csx .csx-fpf{display:grid;grid-template-columns:auto 1fr;gap:12px;position:sticky;bottom:calc(-16px - env(safe-area-inset-bottom));z-index:2;margin:0 -16px calc(-16px - env(safe-area-inset-bottom));padding:12px 16px calc(16px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--line)}
  .cg-csx .csx-frow{flex-direction:column;align-items:stretch;gap:8px}
  .cg-csx .csx-flab{min-width:0}
  .cg-csx .csx-frow-size>.csx-flab{padding-top:0}
  .cg-csx .csx-frow-sel{gap:12px}
  .cg-csx .csx-selw{display:grid;gap:6px}
  .cg-csx .csx-sel{width:100%}
  .cg-csx .csx-frow-sel .csx-reset{display:none}
}
html.cg-csx-lock,html.cg-csx-lock body{overflow:hidden}
@media (max-width:700px){.cg-csx .csx-tabs{gap:8px}.cg-csx .csx-tabs button{min-height:56px;padding:14px 8px;border-radius:12px}.cg-csx .csx-t-bb{height:22px}.cg-csx .csx-t-st{height:12px}.cg-csx .csx-t-dc{height:16px}}
@media (max-width:640px){.cg-csx .csx-grid{grid-template-columns:1fr}.cg-csx .csx-maphead{align-items:flex-start;gap:14px}.cg-csx .csx-mb-map{width:72px;height:96px;border-radius:14px}}
@media (max-width:420px){.cg-csx .csx-views button{padding:9px 13px}.cg-csx .csx-b7{grid-template-columns:repeat(2,minmax(0,1fr))}.cg-csx .csx-row summary{padding:18px}}
@media (prefers-reduced-motion:reduce){.cg-csx *,.cg-csx *::before,.cg-csx *::after{transition:none!important;animation:none!important}.cg-csx .csx-oc:hover,.cg-csx .csx-oc:focus-visible,.cg-csx .csx-tabs button:hover,.cg-csx .csx-stop:hover{transform:none}.cg-csx .csx-arr{transform:none!important}}


/* ---- Review fixes 10/8 (review-2026-10-07/brokers-and-stories.md) ---- */
/* P2-6: no one-word last lines */
.cg-csx :is(p,li,dd,figcaption,blockquote),.cg-csx .csx-num span,.cg-csx .csx-fig span,.cg-csx .csx-pr span{text-wrap:pretty}
/* P3-3: the four card parts (tag, figure or headline, company, read row) line up across each grid row */
@media (min-width:641px){
  .cg-csx .csx-oc>.csx-top{grid-row:1}
  .cg-csx .csx-oc>.csx-num,.cg-csx .csx-oc>.csx-lead{grid-row:2}
  .cg-csx .csx-oc>.csx-co{grid-row:3}
  .cg-csx .csx-oc>.csx-go{grid-row:4}
}
@supports (grid-template-rows:subgrid){@media (min-width:641px){
  .cg-csx .csx-grid>.csx-oc{grid-row:span 4;grid-template-rows:subgrid;row-gap:18px}
}}
/* Size: "Any size" on its own row, then a labeled chip row per company type; hint on one line */
.cg-csx .csx-sizes{display:grid;gap:12px}
.cg-csx .csx-sgrp{display:grid;gap:8px}
.cg-csx .csx-sub{margin:0;font-family:var(--f-body);font-size:13px;font-weight:600;color:var(--cap)}
.cg-csx .csx-fhint{margin:0;font-size:13px}
.cg-csx .csx-fpr{min-height:48px;padding:0 20px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--ink);font-weight:600;font-size:15px;cursor:pointer}
.cg-csx .csx-fpr:hover{border-color:var(--azul-200)}
.cg-csx .csx-ptrig{display:none}
/* Location duplicates the Map view's own places panel */
.cg-csx-stories[data-vnow="map"] .csx-selw-place{display:none}
/* P2-11: desktop filters as one toolbar row; each filter opens a popover under it */
@media (min-width:761px){
  .cg-csx .csx-fp{position:relative;display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:0;border:0;border-radius:0;background:transparent;margin-bottom:28px}
  .cg-csx .csx-frow[data-pop]>.csx-flab{display:none}
  .cg-csx .csx-ptrig{display:inline-flex;align-items:center;gap:0;min-height:44px;padding:0 16px 0 18px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--ink);font-size:14px;font-weight:600;line-height:1.2;cursor:pointer;transition:border-color .15s ease,background-color .15s ease}
  .cg-csx .csx-ptrig::after{content:"";width:10px;height:10px;margin-left:8px;background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8"><path d="M1 1.5 6 6.5l5-5" fill="none" stroke="%23475569" stroke-width="1.6" stroke-linecap="round"/></svg>') no-repeat center/10px auto;transition:transform .15s ease}
  .cg-csx .csx-ptrig:hover{border-color:var(--azul-200)}
  .cg-csx .csx-ptrig.csx-on{border-color:var(--azul);background:var(--azul-50);color:var(--azul-900)}
  .cg-csx .csx-ptrig [data-pval]{font-weight:500;white-space:pre}
  .cg-csx .csx-frow.open .csx-ptrig::after{transform:rotate(180deg)}
  .cg-csx .csx-pbody{display:none;position:absolute;left:0;top:calc(100% + 8px);z-index:20;width:max-content;max-width:min(760px,100%);padding:18px 20px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:var(--sh-card-hi)}
  .cg-csx .csx-frow.open .csx-pbody{display:block}
  .cg-csx .csx-frow-sel{margin-left:auto;gap:10px 16px}
  .cg-csx .csx-frow-sel .csx-flab{min-width:0}
}
/* Phones and the sheet */
@media (max-width:760px){
  .cg-csx-featured{display:none!important} /* P2-13: the featured three open the grid right below; reversible, delete this rule */
  .cg-csx .csx-top-b,.cg-csx .csx-go{display:none} /* P2-15: the whole card is the link; keep only the "Carrier story" tag */
}
@media (max-width:640px){
  .cg-csx .csx-oc{grid-template-rows:none;gap:14px}
}
/* Review fixes 10/8, round 2 (staged-0100) */
/* P2-12: options that would give 0 stories with the other active filters are disabled (still 44px, skipped by Tab) */
.cg-csx .csx-chip:disabled,.cg-csx .csx-stop:disabled{opacity:.42;cursor:not-allowed;border-color:var(--line);background:#fff;color:var(--body);transform:none}
.cg-csx .csx-chip:disabled:hover,.cg-csx .csx-stop:disabled:hover{border-color:var(--line);color:var(--body);transform:none}
@media (min-width:761px){.cg-csx .csx-pbody{max-width:min(760px,calc(100% - 2px))}}
/* P3-11: "In their words" cards in a row share one height; the byline and link sit on the card's bottom edge */
.cg-csx .csx-wall{align-items:stretch}
.cg-csx .csx-qc{display:flex;flex-direction:column}
.cg-csx .csx-qc>.csx-pill,.cg-csx .csx-qgo{align-self:flex-start}
.cg-csx .csx-qc blockquote{margin-bottom:auto}
/* P3-15: the empty-state Meatball is a transparent cutout standing on the page, not a gray tile */
.cg-csx .csx-mb-empty{width:90px;height:160px;border-radius:0;background:none;overflow:visible}
.cg-csx .csx-mb-empty img{object-fit:contain;object-position:50% 100%}
