/* Standalone case studies presentation; no changes to theme styles. */
.ccsa-listing{padding:64px 0 76px;background:#f6f4f0;color:#2b2240}
.ccsa-listing__eyebrow{margin:0 0 14px}
.ccsa-listing__heading{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:32px}
.ccsa-listing__heading h2{margin:0;font-size:clamp(32px,3.6vw,52px);line-height:1.1;letter-spacing:-.03em}
.ccsa-listing__heading p{margin:0;max-width:370px;color:#625b68;line-height:1.6}
.ccsa-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.ccsa-card{display:flex;flex-direction:column;min-width:0;background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 9px 28px rgba(42,29,80,.07)}
.ccsa-card__media{display:block;aspect-ratio:16 / 10;overflow:hidden;background:#eae8e1}
.ccsa-card__image{display:block;width:100%;height:100%;object-fit:cover;transition:transform .2s ease}
.ccsa-card__media:hover .ccsa-card__image{transform:scale(1.025)}
.ccsa-card__body{display:flex;flex:1;flex-direction:column;padding:28px}
.ccsa-card h3{font-size:clamp(21px,1.9vw,27px);line-height:1.2;margin:0 0 14px}
.ccsa-card h3 a{color:inherit;text-decoration:none}
.ccsa-card h3 a:hover,.ccsa-card h3 a:focus-visible{text-decoration:underline}
.ccsa-card__body p{margin:0 0 22px;line-height:1.65;color:#625d68}
.ccsa-card__link{margin-top:auto;align-self:start;color:#45246a;font-weight:750;text-decoration:none;border-bottom:1px solid currentColor;padding-bottom:4px}
.ccsa-card__link:hover,.ccsa-card__link:focus-visible{color:#754b96}
.ccsa-empty{margin:18px 0;color:#625d68}
.ccsa-single{background:#fff;color:#2b2240;padding-bottom:76px}
.ccsa-single__top{background:#f6f4f0;padding:90px 0 60px}
.ccsa-single__intro{max-width:1200px}
.ccsa-single__intro h1{font-size:clamp(40px,5vw,74px);letter-spacing:-.035em;line-height:1.08;max-width:950px;margin:14px 0 24px}
.ccsa-single__summary{font-size:clamp(18px,1.8vw,24px);line-height:1.5;max-width:760px;color:#625b68}
.ccsa-single__back,.ccsa-single__footer a{font-weight:700;color:#45246a;text-decoration:none}
.ccsa-single__back:hover,.ccsa-single__footer a:hover{text-decoration:underline}
.ccsa-single__media{margin-top:42px!important;margin-bottom:44px!important}
.ccsa-single__image{width:100%;height:auto;max-height:560px;object-fit:cover;border-radius:12px;display:block}
.ccsa-single__content-wrap{max-width:1200px}
.ccsa-single__content{max-width:820px;font-size:18px;line-height:1.8;color:#37313d}
.ccsa-single__content h2,.ccsa-single__content h3{line-height:1.25;color:#2b2240;margin:1.5em 0 .6em}
.ccsa-single__content p{margin:0 0 1.3em}
.ccsa-single__content img{max-width:100%;height:auto}
.ccsa-single__content a{color:#45246a}
.ccsa-single__footer{margin-top:55px;border-top:1px solid #e3dfe5;padding-top:25px}
@media(max-width:1000px){.ccsa-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.ccsa-listing{padding:48px 0 60px}.ccsa-listing__heading{display:block}.ccsa-listing__heading p{margin-top:16px}.ccsa-cards{grid-template-columns:1fr}.ccsa-card__body{padding:24px}.ccsa-single__top{padding:65px 0 45px}.ccsa-single__content{font-size:17px}}
@media(prefers-reduced-motion:reduce){.ccsa-card__image{transition:none}}
/* Case study article details and responsive narrative layout. */
.ccsa-card__demo{display:block;padding:9px 20px 0;font-size:10px;letter-spacing:.12em;color:#64597a;font-weight:800}
.ccsa-breadcrumb{margin:0 0 42px;font-size:14px;color:#5e5770}
.ccsa-breadcrumb a{color:#48356d;text-decoration:underline;text-underline-offset:3px}
.ccsa-breadcrumb span{margin:0 5px}
.ccsa-single__layout{display:grid;grid-template-columns:minmax(0,1fr) 295px;gap:72px;align-items:start;padding-bottom:72px}
.ccsa-single__content{max-width:none}
.ccsa-single__facts{position:sticky;top:95px;background:#f4f1f5;border-radius:10px;padding:26px}
.ccsa-single__facts h2{font-size:23px;margin:0 0 15px}
.ccsa-fact{border-top:1px solid #dcd5e1;padding:16px 0 2px}
.ccsa-fact>span{font-size:11px;letter-spacing:.09em;text-transform:uppercase;font-weight:800;color:#654b7c}
.ccsa-fact p{line-height:1.5;margin:6px 0 14px;font-size:15px}
.ccsa-demo-notice{background:#f8f3e4;padding:15px 20px;border-left:4px solid #8d7733;font-size:15px;line-height:1.55}
.ccsa-single__next{background:#f7f5f1;padding:60px 0}
.ccsa-single__next h2{font-size:clamp(25px,3vw,38px);margin:0 0 26px}
.ccsa-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.ccsa-related{display:flex;flex-direction:column;overflow:hidden;border-radius:10px;background:#fff;color:#302245;text-decoration:none;font-weight:750;box-shadow:0 3px 17px rgba(42,29,80,.06)}
.ccsa-related img{aspect-ratio:16/9;object-fit:cover;width:100%;display:block}
.ccsa-related>span{padding:17px 20px}
.ccsa-single__bottom{margin-top:30px}
.ccsa-single__bottom a{color:#4c326c;font-weight:700}
.ccsa-single__cta{background:#31204f;color:#fff;padding:62px 0}
.ccsa-cta-inner{display:flex;justify-content:space-between;gap:40px;align-items:center}
.ccsa-cta-inner h2{color:#fff;font-size:clamp(28px,3.4vw,44px);line-height:1.15;max-width:740px;margin:10px 0 0}
.ccsa-cta-inner .cb-eyebrow{color:#c9d9b4;margin:0}
.ccsa-cta-inner>a{display:inline-block;white-space:nowrap;padding:16px 25px;border:1px solid #fff;border-radius:50px;color:#fff;text-decoration:none;font-weight:700}
@media(max-width:850px){.ccsa-single__layout{grid-template-columns:1fr;gap:28px}.ccsa-single__facts{position:static}.ccsa-cta-inner{display:block}.ccsa-cta-inner>a{margin-top:26px}.ccsa-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.ccsa-single__layout{padding-bottom:45px}.ccsa-related-grid{grid-template-columns:1fr}.ccsa-single__next{padding:40px 0}.ccsa-single__cta{padding:45px 0}.ccsa-breadcrumb{margin-bottom:26px}}

/* Split hero consistent with Coubari's main page introductions. */
.ccsa-single__top{background:#fff;padding:42px 0 58px}
.ccsa-single__hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:64px;align-items:center}
.ccsa-single__hero-grid--no-image{grid-template-columns:1fr}
.ccsa-single__intro{max-width:none;min-width:0}
.ccsa-single__intro h1{font-size:clamp(36px,4vw,60px);max-width:680px;line-height:1.07;margin:18px 0 18px}
.ccsa-single__summary{font-size:clamp(17px,1.25vw,21px);line-height:1.5;max-width:630px;margin:0;color:#332851}
.ccsa-single__hero-media{min-width:0;aspect-ratio:1.5;overflow:hidden;background:#f2f0e9}
.ccsa-single__hero-media .ccsa-single__image{display:block;width:100%;height:100%;max-height:none;object-fit:cover;border-radius:0}
.ccsa-single__top .ccsa-breadcrumb{margin-bottom:52px}
@media(max-width:850px){.ccsa-single__hero-grid{gap:28px;grid-template-columns:1fr}.ccsa-single__top{padding:30px 0 44px}.ccsa-single__top .ccsa-breadcrumb{margin-bottom:34px}.ccsa-single__hero-media{aspect-ratio:1.55}}

/* 1.3.0: single article ending sits flush against the shared footer. */
.ccsa-single {padding-bottom:0 !important;margin-bottom:0 !important;}
.ccsa-single__cta {background:#e5edda;color:#2e204c;padding:44px 0;margin:0;border:0;}
.ccsa-single__cta .ccsa-cta-inner h2 {color:#2e204c;}
.ccsa-single__cta .ccsa-cta-inner .cb-eyebrow {color:#4e3672;}
.ccsa-single__cta .ccsa-cta-inner>a {background:#32204f;color:#fff;border:1px solid #32204f;transition:background .2s ease,color .2s ease;}
.ccsa-single__cta .ccsa-cta-inner>a:hover,.ccsa-single__cta .ccsa-cta-inner>a:focus-visible {background:#fff;color:#32204f;}
.ccsa-single + .footer,.ccsa-single + footer {margin-top:0 !important;}
body.single-coubari_case .footer-v4 {margin-top:0 !important;}
@media(max-width:600px) {.ccsa-single__cta {padding:36px 0;}}

/* 1.3.1: Match the standard Coubari CTA spacing and component structure. */
body.single-coubari_case .ccsa-single__cta.cb-section {
  background:#e5edda;
  color:#2e204c;
  padding:clamp(72px,8vw,118px) 0;
  margin:0;
  border:0;
}
body.single-coubari_case .ccsa-single__cta .cb-light-cta-grid h2 {color:#2e204c;}
body.single-coubari_case .ccsa-single__cta .cb-light-cta-grid .cb-eyebrow {color:#4e3672;}
body.single-coubari_case .ccsa-single__cta .cb-light-cta-grid .cb-pill {
  background:#32204f;
  color:#fff;
  border:1px solid #32204f;
}
body.single-coubari_case .ccsa-single__cta .cb-light-cta-grid .cb-pill:hover,
body.single-coubari_case .ccsa-single__cta .cb-light-cta-grid .cb-pill:focus-visible {
  background:#fff;
  color:#32204f;
}
body.single-coubari_case .ccsa-single + footer,
body.single-coubari_case .ccsa-single + .footer,
body.single-coubari_case .footer {margin-top:0 !important;}

/* 1.3.2: fixed-size, consistent image panels, independent of source aspect ratio. */
.ccsa-card__media {position:relative;display:block;width:100%;height:auto;aspect-ratio:16 / 9;flex-shrink:0;overflow:hidden;}
.ccsa-card__media > img.ccsa-card__image {position:absolute;inset:0;width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;object-position:center;}
.ccsa-related > img {display:block;width:100%;height:auto;aspect-ratio:16 / 9;object-fit:cover;object-position:center;flex-shrink:0;}
