.case-card.case-card-potok { background:#e5f0ff; color:#0d2858 }
.case-card.case-card-potok .case-card-shade { background:linear-gradient(90deg,#eaf4ff 9%,rgba(234,244,255,.92) 31%,rgba(234,244,255,0) 53%); opacity:1 }
.case-card.case-card-potok .case-card-content :is(h2,.case-summary,.case-category) { color:#102a59; text-shadow:none }
.case-card.case-card-potok .case-card-content { max-width: min(44%,520px) }
.case-card.case-card-potok .case-arrow { color:#0f52c6; background:#fff }
.case-card.case-card-potok picture { position:absolute; inset:0 }
.case-card.case-card-potok picture img { width:100%;height:100%;object-fit:cover }
@media(max-width:850px) {
  .case-card.case-card-potok {
    display:grid !important; grid-template-rows:54% minmax(0,1fr); min-height:335px;
  }
  .case-card.case-card-potok picture { position:relative; inset:auto; height:100%; overflow:hidden }
  .case-card.case-card-potok picture img { object-position:center; object-fit:contain }
  .case-card.case-card-potok .case-card-shade { display:none }
  .case-card.case-card-potok .case-card-content {
    position:relative !important; inset:auto; width:100% !important; max-width:none !important;
    height:auto !important; min-height:0; padding:12px 16px 14px !important; justify-content:flex-start;
  }
  .case-card.case-card-potok .case-card-content h2 { font-size:clamp(25px,3.2vw,32px) }
  .case-card.case-card-potok .case-card-content .case-summary { max-width:calc(100% - 43px) }
  .case-card.case-card-potok .case-arrow { position:absolute; right:13px; bottom:12px; margin:0 }
}
@media(max-width:600px) {
  .case-card.case-card-potok { min-height:375px; grid-template-rows:58% minmax(0,1fr) }
}
.potok-case .detail-hero-grid { align-items:center }
.potok-case .detail-title#detail-title { font-size:clamp(29px,3.3vw,55px); max-width: 16ch; line-height:1.07; overflow-wrap:normal }
.potok-case .detail-visual-stage,.potok-case .detail-hero-copy,.potok-case .potok-decision > * { min-width:0 }
.potok-case .potok-cover { background:#eff6ff }
.potok-case .potok-cover picture, .potok-case .potok-screen picture { display:block }
.potok-case .potok-cover img, .potok-case .potok-screen img { display:block; width:100%; height:auto; aspect-ratio:auto; object-fit:contain }
.potok-case .potok-screen { margin:0; background:white }
.potok-case .potok-screen figcaption { padding:13px 17px 15px; color:#334d72; font-size:14px; line-height:1.45 }
.potok-case .detail-screens .screen-composition { display:grid; gap:clamp(16px,2.5vw,34px); min-height:0 }
.potok-case .detail-screens .screen-primary { width:100% }
.potok-case .potok-decision { display:grid; grid-template-columns:minmax(0,1.94fr) minmax(0,1fr); gap:clamp(13px,2vw,28px); align-items:start }
.potok-case .potok-devices { max-width:1050px; margin-inline:auto }
.potok-case .potok-full-links { display:flex; gap:10px 20px; flex-wrap:wrap; justify-content:center; margin:22px 0 0 }
.potok-case .potok-full-links a { border:0; background:none; color:#135cdf; font:inherit; font-weight:650; cursor:pointer; padding:8px 6px; text-align:left; text-decoration:none }
.potok-case .potok-full-links a:hover { text-decoration:underline }
.potok-case .potok-full-links a:focus-visible, .potok-case a:focus-visible { outline:2px solid #145ef1; outline-offset:3px }
.potok-case :is(.detail-card, .detail-task, .detail-section-note, .detail-result-copy) p a { color:#135cdf; font-weight:600; text-decoration:none; text-underline-offset:3px }
.potok-case :is(.detail-card, .detail-task, .detail-section-note, .detail-result-copy) p a:is(:hover,:focus-visible) { color:#0b48b7; text-decoration:underline }
@media(max-width:900px) {
 .potok-case .detail-title#detail-title { max-width:21ch }
}
@media(max-width:680px) {
 .potok-case .potok-decision { grid-template-columns:minmax(0,1fr) }
 .potok-case .potok-form { width:min(100%,430px); justify-self:center }
 .potok-case .detail-hero-grid { row-gap:14px }
 .potok-case .detail-hero-copy { display:contents }
 .potok-case .detail-title#detail-title { margin:0 }
 .potok-case .detail-visual-stage { margin:5px 0 0; order:1 }
 .potok-case .detail-meta { margin-top:6px; order:2 }
 .potok-case .potok-screen figcaption { padding:11px 13px; font-size:13px }
}
