.theme-onyx {
  background-color: rgb(24 33 41);
  color: #c4cfde;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/*
.theme-onyx::before {
  content: "";
  position: absolute;
  inset: -35%;
  background:
    radial-gradient(circle at 12% 18%, rgba(47, 128, 255, 0.12), transparent 28%),
    radial-gradient(circle at 85% 75%, rgba(59, 248, 251, 0.07), transparent 35%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.025), transparent 45%),
    radial-gradient(circle at 35% 85%, rgba(124, 58, 237, 0.05), transparent 32%);
  opacity: 0.95;
  pointer-events: none;
  z-index: 0;
}


.theme-onyx::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.02) 0%,
      transparent 25%,
      transparent 75%,
      rgba(0, 0, 0, 0.08) 100%
    );
  pointer-events: none;
  z-index: 0;
}
*/

.theme-onyx > * {
  position: relative;
  z-index: 1;
}

.theme-onyx p {
  font-weight: 300;
  line-height: 1.7;
  color: rgba(196, 207, 222, 0.88);
}

.theme-onyx .card-onyx-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  align-items: stretch;
  position: relative;
  z-index: 2;
}

.theme-onyx .card-onyx {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(85, 140, 220, 0.14);
  border-radius: 16px;
  padding: 24px;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  transition: all 0.35s ease;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(14px);
}

.theme-onyx .card-onyx::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(
      800px circle at 0 0,
      rgba(59, 248, 251, 0.08),
      transparent 45%
    );
  opacity: 0;
  transition: opacity 0.35s ease;
}

.theme-onyx .card-onyx:hover {
  transform: translateY(-8px);
  border-color: rgba(85, 140, 220, 0.55);
  background: rgba(255, 255, 255, 0.045);
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.35),
    0 0 25px rgba(47, 128, 255, 0.06);
}

.theme-onyx .card-onyx:hover::before {
  opacity: 1;
}

.theme-onyx .card-onyx h3,
.theme-onyx .card-onyx h4 {
  margin: 10px 0;
  font-size: 18px;
  line-height: 1.35;
  color: #ffffff;
}

.theme-onyx .onyx-feature-cards .card-onyx {
  width: 100%;
  min-height: 160px;
}

.onyx-feature-cards-footer {
  position: relative;
  text-align: center;
  margin-top: 70px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
}

.onyx-feature-cards-footer::before {
  content: "";
  display: block;
  width: 120px;
  height: 2px;
  margin: 0 auto 22px;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(85, 140, 220, 0.9),
      transparent
    );
}

.theme-onyx .services-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 60px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.theme-onyx .card-onyx-layout {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
}

.theme-onyx .card-onyx-icon {
  flex: 0 0 90px;
}

.theme-onyx .card-onyx-icon .wp-block-shortcode {
  width: 90px;
  height: 90px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(
      145deg,
      rgba(85, 140, 220, 0.12),
      rgba(85, 140, 220, 0.03)
    );
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow:
    inset 0 0 14px rgba(255, 255, 255, 0.025),
    0 0 20px rgba(85, 140, 220, 0.08);
  transition: all 0.35s ease;
}

.theme-onyx .card-onyx:hover .wp-block-shortcode {
  transform: scale(1.08) rotate(4deg);
}

.theme-onyx .card-onyx-icon img,
.theme-onyx .card-onyx-icon svg,
.theme-onyx .card-onyx-icon i {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.theme-onyx .card-onyx-content {
  flex: 1;
  min-width: 0;
}

.theme-onyx .card-onyx-content h3,
.theme-onyx .card-onyx-content h4 {
  margin: 0 0 14px;
  line-height: 1.35;
  color: #fff;
}

.theme-onyx .onyx-btn {
  min-width: 58px;
  justify-content: center;
  height: 58px;
  border: 1px solid rgba(85, 140, 220, 0.9);
  background: linear-gradient(
    145deg,
    rgba(85, 140, 220, 1),
    rgba(58, 108, 198, 1)
  );
  box-shadow:
    0 10px 25px rgba(85, 140, 220, 0.28);
}

.onyx-item {
  position: relative;
  z-index: 2;
}

.onyx-btn-circle {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 5;
}

.onyx-btn-circle::before {
  content: "";
  position: absolute;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(42, 48, 54, 0.95);
  z-index: 1;
}

.onyx-btn-circle .kt-button,
.onyx-btn-circle .wp-block-button__link {
  position: relative;
  z-index: 2;
  width: 64px !important;
  height: 64px !important;
  min-width: 64px !important;
  min-height: 64px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  border: 1px solid rgba(85, 140, 220, 0.35);
  background: rgba(255, 255, 255, 0.025) !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: all 0.35s ease !important;
  box-shadow:
    0 0 0 6px rgba(85, 140, 220, 0.05),
    0 0 25px rgba(85, 140, 220, 0.12);
}

.onyx-btn-circle .kt-button:hover,
.onyx-btn-circle .wp-block-button__link:hover {
  transform: translateY(-6px) scale(1.05);
  background: rgba(85, 140, 220, 0.12) !important;
  border: 1px solid rgba(85, 140, 220, 0.9);
  box-shadow:
    0 0 0 8px rgba(85, 140, 220, 0.08),
    0 0 35px rgba(85, 140, 220, 0.22);
}

@media (max-width: 1200px) {
  .theme-onyx .card-onyx-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .theme-onyx .services-header {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 40px;
    gap: 20px;
  }

  .theme-onyx .services-button {
    width: 100%;
  }

  .theme-onyx .services-button .kt-button {
    width: 100%;
    min-width: unset;
  }

  .theme-onyx .card-onyx {
    padding: 22px;
    min-height: auto;
  }

  .theme-onyx .card-onyx-layout {
    gap: 18px;
    align-items: flex-start;
  }

  .theme-onyx .card-onyx-icon {
    flex: 0 0 70px;
  }

  .theme-onyx .card-onyx-icon .wp-block-shortcode {
    width: 70px;
    height: 70px;
    border-radius: 18px;
  }

  .onyx-item {
    padding-bottom: 50px;
  }

  .onyx-btn-circle {
    justify-content: flex-start;
  }

  .onyx-btn-circle .kt-button,
  .onyx-btn-circle .wp-block-button__link {
    width: 58px !important;
    height: 58px !important;
    min-width: 58px !important;
    min-height: 58px !important;
  }
}