/* Published 1CMS case content: keep the approved campaign style and accommodate real content. */
.cms-cases main, .cms-case-detail main { overflow-wrap:anywhere; }
.cms-cases main { --max:1360px; }
.cms-case-detail main { --max:1320px; }
.cms-cases .inner-kicker, .cms-case-detail .inner-kicker { font-size:12px; line-height:1.7; }
.cms-cases .breadcrumb > span, .cms-case-detail .breadcrumb > span { min-width:0; }
.cms-cases .breadcrumb span span::after, .cms-case-detail .breadcrumb span span::after { display:none; }
.cms-cases .section-hero-copy, .cms-case-detail .section-hero-copy { width:68%; max-width:860px; }
.cms-cases .section-hero .inner-title, .cms-case-detail .section-hero .inner-title { max-width:840px; }
.cms-case-detail .section-hero .inner-title { margin-top:18px; font-size:clamp(40px,3.8vw,58px); }
.cms-case-category { min-height:44px; align-items:center; padding:8px 13px; }
.cms-cases .inner-copy, .cms-case-detail .inner-copy { font-size:18px; line-height:1.8; }
.cms-cases .section-intro-row > div, .cms-case-detail .section-intro-row > div { min-width:0; }
.cms-case-filters { display:flex; flex-wrap:wrap; gap:10px; margin:0 0 28px; }
.cms-case-filter { display:inline-flex; align-items:center; min-height:46px; padding:10px 18px; border:1px solid #c6dcd8; border-radius:5px; color:#365862; background:#fff; font-size:16px; font-weight:650; line-height:1.4; text-decoration:none; }
.cms-case-filter:hover { color:#006b68; border-color:#007d79; background:#eff8f6; }
.cms-case-filter.is-active, .cms-case-filter.is-active:hover { color:#fff; background:#00736f; border-color:#00736f; }
.cms-case-result-count { display:flex; flex-wrap:wrap; justify-content:space-between; gap:10px; margin:0 0 20px; color:#526c75; font-size:15px; line-height:1.6; }
.cms-case-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:26px; }
.cms-case-card { display:flex; flex-direction:column; min-width:0; overflow:hidden; border:1px solid #dce7e4; border-radius:8px; background:#fff; box-shadow:0 8px 30px rgb(20 61 69 / 4%); transition:border-color .2s,box-shadow .2s; }
.cms-case-card:hover { border-color:#87bcb4; box-shadow:0 12px 32px rgb(20 61 69 / 8%); }
.cms-case-card-media { display:block; position:relative; aspect-ratio:16/10; overflow:hidden; background:#eaf4f1; }
.cms-case-card-media img { display:block; width:100%; height:100%; object-fit:cover; transition:transform .3s; }
.cms-case-card:hover .cms-case-card-media img { transform:scale(1.025); }
.cms-case-card-copy { display:flex; flex:1; align-items:flex-start; flex-direction:column; padding:26px; }
.cms-case-card-copy .eyebrow-tag { max-width:100%; border-radius:4px; font-size:13px; line-height:1.5; }
.cms-case-card-copy h3 { margin:14px 0 0; color:#153d4b; font-size:26px; line-height:1.25; letter-spacing:-.025em; }
.cms-case-card-copy h3 a:hover { color:#007975; }
.cms-case-card-copy .cms-case-card-description { margin:16px 0 20px; color:#4b6570; font-size:17px; line-height:1.75; }
.cms-case-card-copy .inline-link { min-height:44px; margin-top:auto; padding-top:12px; white-space:normal; font-size:16px; line-height:1.5; }
.cms-case-card-copy .inline-link svg { flex-shrink:0; }
.cms-case-meta { display:flex; flex-wrap:wrap; gap:8px 18px; margin:15px 0 0; color:#52736f; font-size:14px; line-height:1.6; }
.cms-case-meta > span { display:inline-flex; align-items:center; gap:6px; min-width:0; }
.cms-case-meta svg { width:17px; height:17px; flex-shrink:0; }
.cms-cases .cms-case-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.cms-cases .cms-case-card:first-child { grid-column:1/-1; display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr); }
.cms-cases .cms-case-card:first-child .cms-case-card-media { min-height:360px; height:100%; aspect-ratio:auto; }
.cms-cases .cms-case-card:first-child .cms-case-card-copy { justify-content:center; padding:36px; background:#f3f8f6; }
.cms-cases .cms-case-card:first-child h3 { font-size:32px; }
.cms-cases .cms-case-card:first-child .inline-link { margin-top:4px; }
@media (min-width:801px) {
  .cms-cases .cms-case-card:first-child .cms-case-card-media { min-height:400px; }
  .cms-cases .cms-case-card:first-child .cms-case-card-media img { position:absolute; inset:0; }
}
.cms-case-image-placeholder { display:flex; width:100%; height:100%; min-height:180px; flex-direction:column; justify-content:center; align-items:center; gap:14px; padding:30px; color:#56776e; background:linear-gradient(135deg,#e6f3ef,#f4f9f7); font-size:16px; line-height:1.6; text-align:center; }
.cms-case-image-placeholder svg { width:44px; height:44px; }
.cms-case-empty { padding:52px 28px; border:1px solid #d5e7e1; border-radius:8px; background:#f4f9f7; text-align:center; }
.cms-case-empty > svg { width:48px; height:48px; color:#178780; margin:0 auto 18px; }
.cms-case-empty h3 { margin:0; color:#173f4c; font-size:30px; line-height:1.3; letter-spacing:-.03em; }
.cms-case-empty p { max-width:620px; margin:16px auto 28px; color:#4d6972; font-size:18px; line-height:1.75; }
.cms-case-pagination { display:flex; justify-content:center; flex-wrap:wrap; gap:8px; margin-top:36px; }
.cms-case-pagination > a, .cms-case-pagination > span { display:inline-flex; justify-content:center; align-items:center; min-width:46px; min-height:46px; padding:10px 15px; border:1px solid #c7ddd7; border-radius:4px; color:#315c60; font-size:16px; line-height:1.4; }
.cms-case-pagination > span { background:#00736f; color:#fff; border-color:#00736f; }
.cms-case-pagination > a:hover { background:#eaf6f2; border-color:#00736f; }
.cms-case-section-nav { position:sticky; z-index:20; top:var(--case-header-height,80px); background:#fff; border-bottom:1px solid #d9e7e4; box-shadow:0 3px 12px rgb(17 62 69 / 4%); }
.cms-case-section-nav .inner-container { display:flex; gap:30px; overflow-x:auto; scrollbar-width:thin; }
.cms-case-section-nav a { flex-shrink:0; min-height:52px; padding:17px 0; border-bottom:3px solid transparent; color:#345761; font-size:16px; font-weight:650; line-height:1.5; }
.cms-case-section-nav a:hover { color:#007572; border-color:#008582; }
.cms-cases section[id], .cms-case-detail section[id] { scroll-margin-top:calc(var(--case-header-height,80px) + 88px); }
.cms-case-overview { display:grid; grid-template-columns:minmax(0,1.6fr) minmax(280px,.8fr); align-items:start; gap:clamp(28px,4vw,64px); }
.cms-case-overview--single { grid-template-columns:minmax(0,1fr); }
.cms-case-overview-copy { min-width:0; max-width:820px; }
.cms-case-facts { min-width:0; padding:30px; border-top:3px solid #0b8379; border-radius:0 0 8px 8px; background:#edf6f3; }
.cms-case-facts h2 { margin:0 0 24px; color:#173f4c; font-size:24px; line-height:1.3; }
.cms-case-facts dl { display:grid; gap:0; margin:0; }
.cms-case-facts dl > div { padding:16px 0; border-top:1px solid #cfe2da; }
.cms-case-facts dt { margin:0 0 7px; color:#52736c; font-size:13px; font-weight:650; line-height:1.6; letter-spacing:.065em; text-transform:uppercase; }
.cms-case-facts dd { margin:0; color:#244b52; font-size:17px; font-weight:600; line-height:1.65; }
.cms-case-overview--single .cms-case-facts dl { grid-template-columns:repeat(3,minmax(0,1fr)); column-gap:32px; }
.cms-case-story { max-width:820px; }
.cms-case-richtext { max-width:100%; min-width:0; margin-top:28px; overflow-x:auto; color:#3e5a65; font-size:18px; line-height:1.85; }
.cms-case-richtext > :first-child { margin-top:0; }
.cms-case-richtext p, .cms-case-richtext ul, .cms-case-richtext ol { margin:0 0 22px; }
.cms-case-richtext ul, .cms-case-richtext ol { padding-left:26px; }
.cms-case-richtext li { margin-bottom:8px; }
.cms-case-richtext h2, .cms-case-richtext h3, .cms-case-richtext h4 { margin:32px 0 16px; color:#163d4b; font-size:28px; line-height:1.35; }
.cms-case-richtext h3 { font-size:24px; }.cms-case-richtext h4 { font-size:21px; }
.cms-case-richtext img { display:block; max-width:100%; height:auto; border-radius:4px; }
.cms-case-richtext a { color:#007674; text-decoration:underline; text-underline-offset:3px; }
.cms-case-richtext blockquote { margin:24px 0; padding:18px 24px; background:#edf6f4; border-left:3px solid #008581; }
.cms-case-richtext pre { max-width:100%; overflow-x:auto; padding:18px; background:#edf6f4; font-size:15px; }
.cms-case-richtext table { width:100%; border-collapse:collapse; color:#31545f; font-size:16px; line-height:1.7; }
.cms-case-richtext td, .cms-case-richtext th { padding:16px 20px; border:1px solid #d3e3df; text-align:left; vertical-align:top; }
.cms-case-richtext th { color:#173e4a; background:#edf6f4; font-weight:650; }
.cms-case-table-scroll { width:100%; max-width:100%; overflow-x:auto; margin:24px 0; }
.cms-case-table-scroll table { min-width:640px; }
.cms-case-gallery { max-width:1180px; margin:0 auto; }
.cms-case-gallery-main { position:relative; aspect-ratio:16/9; overflow:hidden; border:1px solid #d5e4df; border-radius:8px; background:#e6eeeb; }
.cms-case-gallery-main > img { display:block; width:100%; height:100%; object-fit:contain; }
.cms-case-gallery-index { position:absolute; right:18px; bottom:16px; padding:7px 12px; border-radius:4px; color:#fff; background:rgb(4 33 41 / 80%); font-size:14px; line-height:1.4; pointer-events:none; }
.cms-case-thumbs { display:flex; gap:12px; overflow-x:auto; margin:16px -4px -4px; padding:4px 4px 10px; scrollbar-width:thin; }
.cms-case-thumb { flex:0 0 112px; width:112px; height:80px; padding:3px; border:2px solid transparent; border-radius:5px; background:#e2eeea; cursor:pointer; overflow:hidden; }
.cms-case-thumb.is-active { border-color:#007c75; background:#fff; }
.cms-case-thumb img { display:block; width:100%; height:100%; object-fit:cover; border-radius:2px; }
.cms-case-detail-figure { max-width:1180px; margin:36px auto 0; }
.cms-case-detail-figure:first-child { margin-top:0; }
.cms-case-detail-image { overflow:hidden; border-radius:8px; background:#e9f1ee; }
.cms-case-detail-image img { display:block; max-height:620px; width:100%; object-fit:contain; }
.cms-case-detail-figure figcaption { padding:14px 0 0; color:#547069; font-size:15px; line-height:1.7; }
.cms-case-process { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:22px; margin:36px 0 0; padding:0; list-style:none; counter-reset:case-step; }
.cms-case-process li { min-width:0; padding:26px 24px; border:1px solid #d7e6df; border-top:3px solid #148c80; border-radius:0 0 6px 6px; background:#f5faf7; counter-increment:case-step; }
.cms-case-process li::before { display:block; margin-bottom:24px; color:#1a8c80; content:counter(case-step,decimal-leading-zero); font-size:30px; font-weight:750; line-height:1; }
.cms-case-process h3 { margin:0 0 12px; color:#254d57; font-size:21px; line-height:1.35; }
.cms-case-process p { margin:0; color:#4f6c72; font-size:17px; line-height:1.7; }
.cms-case-downloads { display:grid; gap:12px; margin-top:30px; }
.cms-case-downloads > a { display:flex; align-items:center; gap:18px; min-height:82px; padding:20px 24px; border:1px solid #c8ded8; border-radius:6px; background:#fff; color:#254f59; font-size:18px; line-height:1.6; }
.cms-case-downloads > a:hover { border-color:#008581; background:#f8fcfb; }
.cms-case-downloads svg { width:28px; height:28px; flex-shrink:0; color:#008581; }
.cms-case-downloads .cms-case-document-action { margin-left:auto; font-size:14px; color:#52716b; white-space:nowrap; }
.cms-case-not-found { min-height:55vh; display:flex; align-items:center; }
.cms-case-not-found p:not(.inner-kicker) { margin:20px 0 28px; font-size:18px; line-height:1.7; color:#526c75; }
.cms-cases a:focus-visible, .cms-case-detail a:focus-visible, .cms-case-detail button:focus-visible, .cms-case-table-scroll:focus-visible { outline:3px solid #f29336; outline-offset:4px; }
.cms-case-gallery [hidden], .cms-case-card [hidden], .cms-case-detail-image [hidden] { display:none; }
@media (min-width:1280px) {
  .cms-cases .cms-case-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .cms-cases .cms-case-grid--three { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:1100px) {
  .cms-cases .section-hero-copy, .cms-case-detail .section-hero-copy { width:80%; }
  .cms-case-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .cms-cases .cms-case-card:first-child { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
  .cms-cases .cms-case-card:first-child .cms-case-card-copy { padding:28px; }
  .cms-cases .cms-case-card:first-child h3 { font-size:29px; }
  .cms-case-process { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .cms-case-overview { grid-template-columns:minmax(0,1.3fr) minmax(240px,.8fr); gap:28px; }
  .cms-case-overview--single { grid-template-columns:minmax(0,1fr); }
}
@media (max-width:800px) {
  .cms-cases .cms-case-card:first-child { display:flex; }
  .cms-cases .cms-case-card:first-child .cms-case-card-media { min-height:0; height:auto; aspect-ratio:16/9; }
  .cms-case-overview { grid-template-columns:minmax(0,1fr); }
  .cms-case-facts dl, .cms-case-overview--single .cms-case-facts dl { grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 28px; }
}
@media (max-width:700px) {
  .cms-cases .section-hero-copy, .cms-case-detail .section-hero-copy { width:100%; }
  .cms-case-detail .section-hero .inner-title { font-size:clamp(31px,8.5vw,40px); }
  .cms-cases .section-hero .inner-lead, .cms-case-detail .section-hero .inner-lead { font-size:17px; }
  .cms-cases .section-hero .breadcrumb, .cms-case-detail .section-hero .breadcrumb { font-size:13px; }
  .cms-case-filters { flex-wrap:wrap; gap:8px; }
  .cms-case-filter { min-height:46px; padding:10px 14px; font-size:15px; }
  .cms-case-grid, .cms-cases .cms-case-grid { grid-template-columns:minmax(0,1fr); gap:20px; }
  .cms-cases .cms-case-card:first-child .cms-case-card-media { aspect-ratio:16/10; }
  .cms-case-card-copy, .cms-cases .cms-case-card:first-child .cms-case-card-copy { padding:24px; }
  .cms-case-card-copy h3, .cms-cases .cms-case-card:first-child h3 { font-size:26px; }
  .cms-case-empty { padding:36px 20px; }
  .cms-case-empty h3 { font-size:26px; }
  .cms-case-empty p { font-size:17px; }
  .cms-case-empty .button { width:100%; min-height:48px; padding-inline:14px; font-size:16px; }
  .cms-case-section-nav .inner-container { gap:24px; }
  .cms-case-section-nav a { padding:14px 0; font-size:15px; }
  .cms-case-facts { padding:24px; }
  .cms-case-facts dl, .cms-case-overview--single .cms-case-facts dl { grid-template-columns:minmax(0,1fr); }
  .cms-case-richtext { font-size:17px; line-height:1.85; }
  .cms-case-richtext td, .cms-case-richtext th { padding:12px 14px; font-size:15px; }
  .cms-case-gallery-main { aspect-ratio:4/3; }
  .cms-case-thumb { flex-basis:88px; width:88px; height:66px; }
  .cms-case-gallery-index { right:12px; bottom:12px; }
  .cms-case-detail-figure { margin-top:26px; }
  .cms-case-process { grid-template-columns:minmax(0,1fr); gap:16px; }
  .cms-case-process li { position:relative; padding:24px 22px 24px 76px; }
  .cms-case-process li::before { position:absolute; left:22px; top:27px; font-size:26px; }
  .cms-case-process h3 { font-size:21px; }
  .cms-case-downloads > a { flex-wrap:wrap; gap:12px; padding:20px; font-size:17px; }
  .cms-case-downloads > a > span:not(.cms-case-document-action) { flex:1; min-width:0; }
  .cms-case-downloads .cms-case-document-action { flex-basis:100%; padding-left:40px; margin:0; }
  .cms-cases .inner-cta .button, .cms-case-detail .inner-cta .button { min-height:48px; font-size:16px; }
}
@media (prefers-reduced-motion:reduce) {
  .cms-case-card, .cms-case-card-media img { transition:none; }
  .cms-case-card:hover .cms-case-card-media img { transform:none; }
}
