/* CHODAT INVEST Capital Solutions 1.4 — scoped media experience.
   Compatible with 1.3 / Menu R6 / existing CRM and does not import external fonts. */
body.cs14{--cs14-ivory:#fbf9f5;--cs14-ink:#24313c;--cs14-gold:#e8c778;--cs14-metal:#a87b2b}
body.cs14 :is(.cs14-desktop-gallery,.cs14-flow){font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;letter-spacing:normal}
body.cs14 .cs14-mobile-gallery{display:none}
body.cs14 .cs14-desktop-gallery{background:linear-gradient(180deg,#faf8f3 0%,#fffdf9 100%);padding:70px 0 82px;color:var(--cs14-ink)}
body.cs14 .cs14-gallery-heading,body.cs14 .cs14-flow-head{display:grid;grid-template-columns:1.15fr 1fr;gap:35px;align-items:end;margin-bottom:24px}
body.cs14 .cs14-gallery-heading h2,body.cs14 .cs14-flow-head h2{font:750 clamp(27px,3.1vw,43px)/1.19 system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color:var(--cs14-ink);letter-spacing:-.018em;text-wrap:pretty}
body.cs14 .cs14-gallery-heading>p,body.cs14 .cs14-flow-head>p{color:#4f5d66;font-size:15px;line-height:1.75;margin:0;max-width:580px}
body.cs14 .cs14-gallery-heading .cs-eyebrow,body.cs14 .cs14-flow-head .cs-eyebrow{color:#86601f;font-size:12px;letter-spacing:.065em;font-weight:750;margin-bottom:10px!important}
body.cs14 .cs14-desktop-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
body.cs14 .cs14-editorial-card{margin:0;min-width:0;overflow:hidden;background:#fff;border:1px solid #dfd7c8;border-radius:17px;box-shadow:0 18px 38px rgba(31,42,51,.075)}
body.cs14 .cs14-editorial-card img{width:100%;height:320px;object-fit:cover;object-position:center 48%;display:block}
body.cs14 .cs14-editorial-card figcaption{display:flex;align-items:center;gap:13px;padding:18px 21px 20px;font-size:15px;font-weight:680;color:#24313c;line-height:1.5}
body.cs14 .cs14-editorial-card figcaption span{font-size:12px;color:#946c2a;letter-spacing:.07em}
body.cs14 #cs-main .cs14-flow{background:#fffcf7;padding:clamp(60px,6.5vw,100px) 0}
body.cs14 .cs14-flow-images{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
body.cs14 .cs14-flow-figure{margin:0;overflow:hidden;border:1px solid #e0d7c3;border-radius:15px;background:#f3e9d3;box-shadow:0 17px 36px rgba(27,37,46,.065)}
body.cs14 .cs14-flow-figure img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
body.cs14 .cs14-flow-figure figcaption{padding:12px 16px;color:#384750;font-size:13px;font-weight:650;background:#fffdf8}
body.cs14 .cs14-flow-bottom{display:grid;grid-template-columns:1.45fr 1fr;gap:34px;align-items:center;margin-top:25px}
body.cs14 .cs14-flow-bottom ol{list-style:none;margin:0;padding:0;display:grid;gap:12px}
body.cs14 .cs14-flow-bottom li{display:flex;gap:12px;align-items:flex-start;color:#34434c;font-size:14px;line-height:1.65}
body.cs14 .cs14-flow-bottom li>span{width:31px;height:31px;flex-shrink:0;display:grid;place-items:center;border-radius:50%;color:#242f3a;background:#f0d798;font-weight:800;font-size:11px}
body.cs14 .cs14-flow-bottom li p{margin:3px 0 0}
body.cs14 .cs14-flow-action{display:grid;gap:10px;justify-items:start}
body.cs14 .cs14-flow-action .cs-btn{min-height:51px;max-width:100%;text-align:center;background:#e8c778;border:1px solid #d2ac5a;color:#202b34!important;font-size:14px;font-weight:750;border-radius:9px;white-space:normal}
body.cs14 .cs14-flow-action p{max-width:430px;color:#606c72;font-size:11px;line-height:1.8;margin:0}
body.cs14 .cs14-flow a:focus-visible,body.cs14 .cs14-mobile-gallery button:focus-visible{outline:3px solid #ac7c24;outline-offset:3px}
body.cs14 .cs14-flow img,body.cs14 .cs14-editorial-card img{color:transparent}
@media(max-width:900px){body.cs14 .cs14-gallery-heading,body.cs14 .cs14-flow-head{grid-template-columns:1fr;gap:15px}body.cs14 .cs14-editorial-card img{height:260px}body.cs14 .cs14-flow-bottom{grid-template-columns:1fr;gap:22px}}
@media(max-width:640px){
 body.cs14 .cs14-desktop-gallery{display:none}
 body.cs14 #cs-main .cs14-flow{padding:57px 0 59px}
 body.cs14 .cs14-flow-images{grid-template-columns:1fr;gap:15px}
 body.cs14 .cs14-flow-figure img{height:auto;aspect-ratio:16/9;object-fit:contain}
 body.cs14 .cs14-flow-bottom{margin-top:20px}
 body.cs14 .cs14-flow-bottom li{font-size:13px}
 body.cs14 .cs14-flow-action .cs-btn{width:100%;justify-content:center}
 body.cs14 #cs-main .cs-hero-content{padding-top:32px;padding-bottom:38px}
 body.cs14 #cs-main .cs-hero h1{font-size:clamp(30px,7.8vw,39px);line-height:1.18}
 body.cs14 .cs14-mobile-gallery{display:block;width:100%;min-width:0;margin:21px 0 22px;padding:0;position:relative;color:#fff}
 body.cs14 .cs14-mobile-gallery-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;min-width:0}
 body.cs14 .cs14-mobile-gallery-top strong{color:#f5deb1;font-size:11px;letter-spacing:.03em;line-height:1.45;max-width:57%}
 body.cs14 .cs14-mobile-gallery-controls{display:flex;align-items:center;gap:8px;white-space:nowrap}
 body.cs14 .cs14-mobile-gallery-controls button{background:#182432;border:1px solid #dcc18c;color:#fff8e9;border-radius:7px;min-width:37px;height:37px;font-size:25px;line-height:1;cursor:pointer}
 body.cs14 .cs14-mobile-gallery-controls button:disabled{opacity:.4;cursor:default}
 body.cs14 .cs14-mobile-gallery-controls span{color:#fff;font-size:11px;font-variant-numeric:tabular-nums}
 body.cs14 .cs14-gallery-track{display:flex;overflow-x:auto;gap:11px;scroll-snap-type:x mandatory;scroll-padding-inline:2px;overscroll-behavior-x:contain;touch-action:pan-x pan-y;padding:1px 1px 13px;scrollbar-width:thin;scrollbar-color:#b89a61 transparent;border-radius:10px}
 body.cs14 .cs14-gallery-item{position:relative;flex:0 0 min(72vw,282px);width:min(72vw,282px);min-width:0;margin:0;scroll-snap-align:start;border-radius:11px;overflow:hidden;background:#15202b;border:1px solid rgba(239,210,155,.48)}
 body.cs14 .cs14-gallery-item img{display:block;width:100%;height:230px;object-fit:cover;object-position:center 52%}
 body.cs14 .cs14-gallery-item:nth-child(4) img,body.cs14 .cs14-gallery-item:nth-child(5) img{object-fit:contain;background:#f8f1e2}
 body.cs14 .cs14-gallery-item figcaption{font-size:12px;font-weight:650;color:#fff5df;min-height:43px;padding:10px 13px;line-height:1.4;background:#14202b}
 body.cs14 .cs14-swipe-hint{font-size:11px;color:#f2d8a3;margin:1px 0 0!important}
 body.cs14 .cs14-gallery-heading h2,body.cs14 .cs14-flow-head h2{font-size:clamp(26px,7.1vw,36px)}
}
@media(max-width:359px){body.cs14 .cs14-mobile-gallery-top strong{font-size:10px}body.cs14 .cs14-gallery-item img{height:202px}body.cs14 .cs14-gallery-item{flex-basis:78vw;width:78vw}}
@media(prefers-reduced-motion:reduce){body.cs14 .cs14-gallery-track{scroll-behavior:auto}}
/* Admin 1.4 media mapping: same style vocabulary as 1.3. */
body.cs13-admin .cs14-admin-gallery{border:1px solid #6f6250;border-radius:10px;margin:17px 0;padding:16px}
body.cs13-admin .cs14-admin-gallery legend{color:#f5dda9;font-weight:750;padding:0 8px}
body.cs13-admin .cs14-admin-gallery p{color:#c0c8cd;font-size:13px;line-height:1.7}
body.cs13-admin .cs14-admin-gallery h4{font-size:14px;color:#f2d99c;margin:17px 0 5px}
