/*
 SOVED v88 — Equal case grid; v87 single case styles retained.
 Editorial design system shared with /services/ v86.
 Scoped: homepage, docs and global footer are unaffected.
*/

/* Project index */
.soved-inner.soved-cases-v87{background:#f7f9fd;min-height:0}
.soved-cases-v87 .cases-v87-intro{
  padding:66px 0 37px;
  background:
    radial-gradient(ellipse at 85% 3%,rgba(36,107,254,.11),transparent 43%),
    linear-gradient(140deg,#fff,#f5f8ff);
}
.soved-cases-v87 .cases-v87-intro h1{
  max-width:950px;
  margin:15px 0 16px;
  color:#111827;
  font-size:clamp(46px,5.2vw,70px);
  font-weight:750;
  line-height:1.07;
  letter-spacing:-.055em;
}
.soved-cases-v87 .cases-v87-intro p{
  max-width:710px;
  margin:0;
  color:#536279;
  font-size:clamp(16px,1.9vw,19px);
  line-height:1.6;
}
/* v88: no featured project; every case uses the same card. */
.soved-cases-v87 .cases-v88-catalog{
  padding:0 0 37px;
  background:linear-gradient(180deg,#f5f8ff,#f7f9fd 200px);
}
.soved-cases-v87 .cases-v88-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:start;
  gap:26px;
}
.soved-cases-v87 .cases-v88-project{
  display:block;
  min-width:0;
  overflow:hidden;
  background:#fff;
  border:1px solid #dce5ef;
  border-radius:20px;
  color:inherit;
  text-decoration:none;
  transition:border-color .18s ease;
}
.soved-cases-v87 .cases-v88-project:hover{
  color:inherit;
  text-decoration:none;
  border-color:rgba(36,107,254,.38);
}
.soved-cases-v87 .cases-v88-cover{
  aspect-ratio:16/9;
  overflow:hidden;
  background:#e9eef7;
}
.soved-cases-v87 .cases-v88-cover img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}
.soved-cases-v87 .cases-v88-copy{
  padding:24px 26px 25px;
}
.soved-cases-v87 .cases-v88-meta{
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  gap:5px 12px;
}
.soved-cases-v87 .cases-v87-label{
  color:var(--si-blue);
  font-size:11px;
  line-height:1.5;
  font-weight:800;
  letter-spacing:.085em;
  text-transform:uppercase;
}
.soved-cases-v87 .cases-v88-since{
  color:#65768c;
  font-size:12px;
  font-weight:650;
  line-height:1.45;
}
.soved-cases-v87 .cases-v88-copy h2{
  margin:10px 0 12px;
  color:var(--si-ink);
  font-size:clamp(23px,2.4vw,31px);
  font-weight:750;
  line-height:1.19;
  letter-spacing:-.04em;
}
.soved-cases-v87 .cases-v88-copy p{
  margin:0;
  color:var(--si-text);
  font-size:15px;
  line-height:1.6;
}
.soved-cases-v87 .cases-v88-link{
  display:inline-flex;
  align-items:center;
  gap:9px;
  margin-top:17px;
  color:var(--si-blue);
  font-size:14px;
  font-weight:760;
  line-height:1.5;
}
.soved-cases-v87 .cases-v88-link span{font-size:18px}
.soved-cases-v87 .cases-v88-project:hover .cases-v88-link{text-decoration:underline}
@media(max-width:680px){
  .soved-cases-v87 .cases-v88-catalog{padding-bottom:27px}
  .soved-cases-v87 .cases-v88-grid{grid-template-columns:minmax(0,1fr);gap:18px}
  .soved-cases-v87 .cases-v88-project{border-radius:17px}
  .soved-cases-v87 .cases-v88-copy{padding:20px 20px 21px}
  .soved-cases-v87 .cases-v88-copy h2{font-size:24px;margin:9px 0 10px}
  .soved-cases-v87 .cases-v88-copy p{font-size:14px;line-height:1.56}
  .soved-cases-v87 .cases-v88-link{margin-top:15px}
}
.soved-cases-v87 .cases-v87-empty{color:#697a90}
.soved-cases-v87 .cases-v87-footnote{padding:1px 0 41px}
.soved-cases-v87 .cases-v87-footnote p{
  max-width:730px;
  margin:0;
  color:#718096;
  font-size:13px;
  line-height:1.55;
}
.soved-cases-v87 .cases-v87-cta{padding:0 0 75px}
.soved-cases-v87 .cases-v87-cta-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:30px;
  padding:31px 36px;
  border:1px solid #dbe6fc;
  border-radius:22px;
  background:#eef4ff;
}
.soved-cases-v87 .cases-v87-cta-inner h2{
  margin:8px 0 7px;
  color:#17233a;
  font-size:clamp(27px,3vw,39px);
  font-weight:750;
  line-height:1.16;
  letter-spacing:-.04em;
}
.soved-cases-v87 .cases-v87-cta-inner p{
  margin:0;
  max-width:550px;
  color:#5b697e;
  font-size:15px;
  line-height:1.55;
}
.soved-cases-v87 .cases-v87-cta-inner>.si-button{flex-shrink:0}

/* Single case — same editorial rhythm as /services/ details. */
.soved-inner.soved-case-single-v87{
  background:#f7f9fd;
  color:#111827;
}
.soved-case-single-v87 .case-wrap{
  width:min(1120px,calc(100% - 48px));
}
.soved-case-single-v87 .case-hero{
  padding:58px 0 39px;
  background:
    radial-gradient(ellipse at 87% 4%,rgba(36,107,254,.11),transparent 48%),
    linear-gradient(135deg,#fff,#f5f8ff);
}
.soved-case-single-v87 .case-back{
  margin-bottom:25px;
  font-size:13px;
  line-height:1.5;
  font-weight:750;
  color:#536680;
}
.soved-case-single-v87 .case-hero-grid{
  grid-template-columns:minmax(0,1fr) minmax(260px,380px);
  gap:42px;
  align-items:center;
}
.soved-case-single-v87 .case-kicker{
  color:#246bfe;
  font-size:11px;
  line-height:1.5;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-weight:800;
}
.soved-case-single-v87 .case-title{
  font-size:clamp(38px,4.55vw,59px);
  line-height:1.08;
  letter-spacing:-.05em;
  font-weight:750;
}
.soved-case-single-v87 .case-lead{
  margin-top:16px;
  color:#536279;
  font-size:clamp(16px,1.8vw,19px);
  line-height:1.6;
}
.soved-case-single-v87 .case-cover{
  max-width:none;
  border-radius:18px;
  border:1px solid #d9e2ee;
}
.soved-case-single-v87 .case-cover img{aspect-ratio:4/3;object-fit:cover}
.soved-case-single-v87 .case-tags{margin-top:18px;gap:6px}
.soved-case-single-v87 .case-tags span{
  min-height:0;
  padding:6px 9px;
  border-radius:8px;
  color:#47688d;
  background:#eaf1fc;
  font-size:11px;
  line-height:1.3;
}
.soved-case-single-v87 .case-summary{
  padding:0 0 9px;
  background:#fff;
  border-bottom:1px solid #e1e8f1;
}
.soved-case-single-v87 .case-summary-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:0 28px!important;
  margin:0 auto!important;
  align-items:start!important;
}
.soved-case-single-v87 .case-summary-card{
  min-height:0!important;
  width:auto!important;
  margin:0!important;
  padding:16px 0!important;
  border:0!important;
  border-bottom:1px solid #e7edf4!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.soved-case-single-v87 .case-summary-card small{
  margin-bottom:5px;
  font-size:10px;
  line-height:1.4;
  letter-spacing:.095em;
  color:#76869b;
}
.soved-case-single-v87 .case-summary-card b{
  color:#1d2d42;
  font-size:15px!important;
  line-height:1.45!important;
  font-weight:710;
  letter-spacing:-.01em;
  white-space:normal;
}
.soved-case-single-v87 .case-body-shell{
  grid-template-columns:minmax(0,1fr) minmax(220px,265px);
  gap:68px;
  padding:46px 0 82px;
}
.soved-case-single-v87 .case-content-card{
  color:#4e5e72;
  background:transparent;
}
.soved-case-single-v87 .case-content-card :where(h2,h3){
  color:#111827;
  line-height:1.2;
  letter-spacing:-.035em;
}
.soved-case-single-v87 .case-content-card h2{
  margin:32px 0 13px;
  font-size:clamp(25px,2.7vw,33px);
}
.soved-case-single-v87 .case-content-card h3{
  margin:25px 0 10px;
  font-size:21px;
}
.soved-case-single-v87 .case-content-card :where(p,li){
  color:#4e5e72;
  font-size:16px;
  line-height:1.76;
}
.soved-case-single-v87 .case-content-card img{border-radius:15px}
.soved-case-single-v87 .case-aside{
  position:relative;
  top:auto;
  padding:22px 0 22px 21px;
  border:0;
  border-left:1px solid #dce5ef;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
.soved-case-single-v87 .case-aside h3{
  color:#18283e;
  font-size:19px;
  font-weight:745;
}
.soved-case-single-v87 .case-aside p{color:#607087;font-size:14px}
.soved-case-single-v87 .case-aside-note{
  margin-top:15px;
  padding-top:15px;
  border-color:#dde5ef;
}
.soved-case-single-v87 .case-cta{gap:8px;margin-top:21px}
.soved-case-single-v87 .case-cta a{
  min-height:43px;
  padding:9px 13px;
  border-radius:11px;
  font-size:13px;
  line-height:1.35;
}
.soved-case-single-v87 .case-cta .primary{color:#fff;background:#246bfe}
.soved-case-single-v87 .case-cta .secondary{color:#345173;background:#e9f0f8}
.soved-case-single-v87 .soved-v77-case-services{
  margin:18px 0;
  padding-top:16px;
  border-color:#dde6ef;
}

@media(max-width:850px){
  .soved-case-single-v87 .case-hero-grid{grid-template-columns:1fr}
  .soved-case-single-v87 .case-cover{max-width:620px}
  .soved-case-single-v87 .case-body-shell{grid-template-columns:1fr;gap:35px}
  .soved-case-single-v87 .case-aside{border-left:0;border-top:1px solid #dce5ef;padding:22px 0 0}
}
@media(max-width:630px){
  .soved-cases-v87 .cases-v87-intro{padding:38px 0 26px}
  .soved-cases-v87 .cases-v87-intro h1{
    margin:11px 0 13px;
    font-size:clamp(36px,9.2vw,46px);
    letter-spacing:-.048em;
  }
  .soved-cases-v87 .cases-v87-intro p{font-size:15px;line-height:1.55}
  .soved-cases-v87 .cases-v87-footnote{padding-bottom:24px}
  .soved-cases-v87 .cases-v87-cta{padding-bottom:47px}
  .soved-cases-v87 .cases-v87-cta-inner{
    flex-direction:column;
    align-items:flex-start;
    gap:20px;
    padding:25px 22px;
    border-radius:18px;
  }
  .soved-cases-v87 .cases-v87-cta-inner h2{font-size:29px}
  .soved-cases-v87 .cases-v87-cta-inner p{font-size:14px}

  .soved-case-single-v87 .case-wrap{width:calc(100% - 36px)}
  .soved-case-single-v87 .case-hero{padding:30px 0 31px}
  .soved-case-single-v87 .case-back{margin-bottom:20px}
  .soved-case-single-v87 .case-title{font-size:clamp(33px,8.7vw,42px)!important;line-height:1.1}
  .soved-case-single-v87 .case-lead{font-size:15px;line-height:1.58}
  .soved-case-single-v87 .case-cover{border-radius:14px}
  .soved-case-single-v87 .case-summary-grid{grid-template-columns:1fr!important;gap:0!important}
  .soved-case-single-v87 .case-summary-card{padding:12px 0!important}
  .soved-case-single-v87 .case-body-shell{padding:32px 0 56px;gap:29px}
  .soved-case-single-v87 .case-content-card h2{font-size:25px}
  .soved-case-single-v87 .case-content-card :where(p,li){font-size:15px;line-height:1.72}
}
@media(prefers-reduced-motion:reduce){
  .soved-cases-v87 .cases-v88-project{transition:none}
}
