.wpb-js-composer .vc_tta.vc_tta-style-outline .vc_tta-tab>a {
    border-width: 1.3px !important;
}
.wpb-js-composer .vc_tta-color-blue.vc_tta-style-outline .vc_tta-tab.vc_active>a {
    border-color: #1E69B8 !important;
    background-color: #1E69B8 !important;
    color: #ffffff !important;
}
.wpb-js-composer .vc_tta-color-blue.vc_tta-style-outline .vc_tta-tab>a {
    border-color: #1E69B8 !important;
    background-color: transparent !important;
    color: #1E69B8 !important;
}

.services-grid {
  display: grid;
  grid-template-areas:
    "a b b c"
    "d b b c"
    "e f g h";
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
/*  background-color: #1c2026;
  padding: 20px; */
  border-radius: 12px;
}

/* Общие стили карточек */
.service-card,
.center-block {
/*  background-color: #25292f; */
  background-color: #f6f6f6;
  padding: 20px;
  border-radius: 8px;
/*  border: 1px solid #25292f; */
  position: relative;
  overflow: hidden;
  text-align: left; /* ← КЛЮЧЕВОЕ ИЗМЕНЕНИЕ: выравнивание по левому краю ВЕЗДЕ */
}

.service-card h3,
.center-block h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.1px;
/*  color: white; */
  margin: 0 0 8px 0;
}

.service-card .description,
.center-block .description {
  font-size: 15px;
/*  color: #aeafb2; */
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.service-card .price,
.center-block .price {
  font-size: 15px;
  color: #e10218;
/* color: #aeafb2; */
  line-height: 1.3;
  margin: 0;
}

/* Расположение по grid-template-areas */
.card-a { grid-area: a; }
.card-b { grid-area: b; }
.card-c { grid-area: c; }
.card-d { grid-area: d; }
.card-e { grid-area: e; }
.card-f { grid-area: f; }
.card-g { grid-area: g; }
.card-h { grid-area: h; }

/* Изображения — внизу справа, без паддингов */
.center-block img,
.card-c img {
  position: absolute;
  bottom: 0;
  right: 0;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 50%;
  object-fit: cover;
  z-index: 1;
}

/* Обёртка для текста — остаётся поверх изображения */
.center-block .text-content,
.card-c .text-content {
  position: relative;
  z-index: 2;
}

/* Адаптивность */
@media (max-width: 768px) {
  .services-grid {
    grid-template-areas:
      "a"
      "b"
      "c"
      "d"
      "e"
      "f"
      "g"
      "h";
    gap: 12px;
  }

  .center-block img,
  .card-c img {
    max-height: 30%;
  }

  .center-block .text-content,
  .card-c .text-content {
    padding: 15px;
  }
}