.page-layout--has-sidebar .karty {
  background-color: #fff;
}

.karty {
  padding: 3rem 0;
  background-color: #f9f9f9;
}
.karty__section-title {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.karty__section-title span {
  white-space: nowrap;
}
.karty__section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: #e5e7eb;
}
.karty__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 767px) {
  .karty__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 479px) {
  .karty__grid {
    grid-template-columns: 1fr;
  }
}
.karty__card {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 6px 6px rgba(0, 0, 0, 0.0784313725);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.karty__card:hover {
  transform: scale(1.025);
}
.karty__card-title {
  margin: 0 0 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #e5e7eb;
}
.karty__text {
  margin-bottom: 1.5rem;
}
.karty__text:last-child {
  margin-bottom: 0;
}
.karty__text .h4 {
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(18, 18, 18, 0.08);
}
.karty__text p {
  margin: 0;
}
.karty__text p + p {
  margin-top: 0.75rem;
}
.karty__cta {
  margin-top: auto;
}
.karty__cta .btn {
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.karty__cta .btn:hover, .karty__cta .btn:focus {
  transform: translateY(-3px);
}
