/* Figma 2266:7436 / 2266:7502 — service-page cases carousel. */
.k58-service-test .k58-service-cases {
  padding: 56px 20px;
  background: #f0f5f6;
  color: #333;
  font-family: inherit;
}
.k58-service-cases__inner {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}
.k58-service-cases__heading-row {
  position: relative;
  display: flex;
  min-height: 0;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 30px;
}
.k58-service-cases__heading { width: 100%; max-width: 820px; min-width: 0; margin: 0 auto; text-align: center; }
.k58-service-test .k58-service-cases__heading h2 {
  margin: 0;
  color: #173b75;
  font-size: clamp(28px, 2.5vw, 38px);
  font-weight: 700;
  line-height: 1.17;
  text-align: center;
  text-transform: uppercase;
}
.k58-service-test .k58-service-cases__heading p {
  margin: 12px auto 0;
  color: #70839c;
  font-size: 14px;
  line-height: 1.55;
  text-align: center;
}
.k58-service-cases__navigation {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.k58-service-cases__navigation--desktop { position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
.k58-service-cases__counter {
  min-width: 70px;
  color: #666;
  font-size: 14px;
  line-height: 20px;
  white-space: nowrap;
}
.k58-service-cases__arrow {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid #dae3f1;
  border-radius: 0;
  background: #4062ba;
  color: #fff;
  font: inherit;
  font-size: 23px;
  line-height: 26px;
  cursor: pointer;
}
.k58-service-cases__arrow--prev { background: #fff; color: #4062ba; }
.k58-service-cases__arrow:focus-visible,
.k58-service-cases__read:focus-visible,
.k58-service-cases__all:focus-visible { outline: 2px solid #0d399b; outline-offset: 3px; }
.k58-service-cases__arrow:disabled { cursor: default; }
.k58-service-cases__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  scroll-behavior: smooth;
}
.k58-service-cases__viewport::-webkit-scrollbar { display: none; }
.k58-service-cases__track {
  display: flex;
  gap: 20px;
  align-items: stretch;
}
.k58-service-cases__card {
  position: relative;
  display: flex;
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: 0;
  height: 344px;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  padding: 28px;
  border-top: 2px solid #4062ba;
  background: #fff;
  box-shadow: 0 6px 10px rgba(13, 57, 155, .06);
  scroll-snap-align: start;
}
.k58-service-cases__meta {
  display: flex;
  min-height: 20px;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 11px;
  line-height: 20px;
  white-space: nowrap;
}
.k58-service-cases__meta strong {
  flex: 0 0 auto;
  color: #4062ba;
  font-weight: 700;
}
.k58-service-cases__meta span {
  flex: 0 0 auto;
  color: #666;
  text-align: right;
}
.k58-service-test .k58-service-cases__card h3 {
  display: -webkit-box;
  height: 84px;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  color: #0d399b;
  font-size: 24px;
  font-weight: 700;
  line-height: 28px;
  text-transform: none;
}
.k58-service-cases__card h3 a { color: inherit; text-decoration: none; }
.k58-service-cases__card h3 a:hover { text-decoration: underline; }
.k58-service-test .k58-service-cases__card p {
  display: -webkit-box;
  height: 72px;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  color: #666;
  font-size: 16px;
  line-height: 24px;
}
.k58-service-cases__read {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding: 12px 20px;
  background: #4062ba;
  color: #fff;
  font-size: 16px;
  line-height: 20px;
  text-decoration: none;
}
.k58-service-cases__read:hover { background: #3054ae; color: #fff; }
.k58-service-cases__read img { display: block; flex: none; }
.k58-service-cases__all {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 24px auto 0;
  color: #4062ba;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  text-align: center;
  text-decoration: none;
}
.k58-service-cases__all:hover { text-decoration: underline; }
.k58-service-cases__navigation--mobile { display: none; }

@media (min-width: 768px) and (max-width: 1100px) {
  .k58-service-cases__heading-row { flex-direction: column; }
  .k58-service-cases__navigation--desktop { position: static; transform: none; }
  .k58-service-cases__card { flex-basis: calc((100% - 20px) / 2); }
}

@media (max-width: 767px) {
  .k58-service-test .k58-service-cases { padding: 32px 20px; }
  .k58-service-cases__heading-row { min-height: 0; margin-bottom: 20px; }
  .k58-service-test .k58-service-cases__heading h2 { font-size: 28px; line-height: 1.17; }
  .k58-service-test .k58-service-cases__heading p { margin-top: 12px; font-size: 14px; line-height: 1.55; }
  .k58-service-cases__navigation--desktop { display: none; }
  .k58-service-cases__track { gap: 16px; }
  .k58-service-cases__card { flex-basis: 100%; height: 308px; gap: 14px; padding: 20px; }
  .k58-service-cases__meta { min-height: 18px; margin-inline: -6px; font-size: clamp(8.5px, 2.7vw, 11px); line-height: 18px; }
  .k58-service-test .k58-service-cases__card h3 { height: 72px; font-size: 20px; line-height: 24px; }
  .k58-service-test .k58-service-cases__card p { height: 72px; font-size: 16px; line-height: 24px; }
  .k58-service-cases__navigation--mobile { display: flex; justify-content: space-between; margin-top: 20px; }
  .k58-service-cases__mobile-arrows { display: flex; gap: 8px; }
  .k58-service-cases__all { margin-top: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .k58-service-cases__viewport { scroll-behavior: auto; }
}
